	format	MS COFF
	extrn	___bb_blitz_blitz
	extrn	___bb_stdc_stdc
	extrn	_bbArrayNew1D
	extrn	_bbArraySlice
	extrn	_bbEmptyString
	extrn	_bbExThrow
	extrn	_bbGCFree
	extrn	_bbIntMin
	extrn	_bbMemFree
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDowncast
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbStringClass
	extrn	_bbStringCompare
	extrn	_bbStringConcat
	extrn	_bbStringFind
	extrn	_bbStringFromBytes
	extrn	_bbStringReplace
	extrn	_bbStringSlice
	extrn	_bbStringToCString
	extrn	_bbStringToLower
	extrn	_brl_blitz_NullMethodError
	extrn	_brl_blitz_RuntimeError
	extrn	_closedir_
	extrn	_fclose
	extrn	_fflush
	extrn	_fopen_
	extrn	_fread
	extrn	_fseek
	extrn	_ftell
	extrn	_fwrite
	extrn	_opendir_
	extrn	_readdir_
	extrn	_stat_
	public	___bb_stream_stream
	public	__brl_stream_TCStream_Close
	public	__brl_stream_TCStream_CreateWithCStream
	public	__brl_stream_TCStream_Delete
	public	__brl_stream_TCStream_Flush
	public	__brl_stream_TCStream_New
	public	__brl_stream_TCStream_OpenFile
	public	__brl_stream_TCStream_Pos
	public	__brl_stream_TCStream_Read
	public	__brl_stream_TCStream_Seek
	public	__brl_stream_TCStream_Size
	public	__brl_stream_TCStream_Write
	public	__brl_stream_TIO_Close
	public	__brl_stream_TIO_Delete
	public	__brl_stream_TIO_Eof
	public	__brl_stream_TIO_Flush
	public	__brl_stream_TIO_New
	public	__brl_stream_TIO_Pos
	public	__brl_stream_TIO_Read
	public	__brl_stream_TIO_Seek
	public	__brl_stream_TIO_Size
	public	__brl_stream_TIO_Write
	public	__brl_stream_TStreamException_Delete
	public	__brl_stream_TStreamException_New
	public	__brl_stream_TStreamFactory_Delete
	public	__brl_stream_TStreamFactory_New
	public	__brl_stream_TStreamReadException_Delete
	public	__brl_stream_TStreamReadException_New
	public	__brl_stream_TStreamReadException_ToString
	public	__brl_stream_TStreamStream_Close
	public	__brl_stream_TStreamStream_Create
	public	__brl_stream_TStreamStream_Delete
	public	__brl_stream_TStreamStream_New
	public	__brl_stream_TStreamWrapper_Close
	public	__brl_stream_TStreamWrapper_Delete
	public	__brl_stream_TStreamWrapper_Eof
	public	__brl_stream_TStreamWrapper_Flush
	public	__brl_stream_TStreamWrapper_New
	public	__brl_stream_TStreamWrapper_Pos
	public	__brl_stream_TStreamWrapper_Read
	public	__brl_stream_TStreamWrapper_ReadByte
	public	__brl_stream_TStreamWrapper_ReadDouble
	public	__brl_stream_TStreamWrapper_ReadFloat
	public	__brl_stream_TStreamWrapper_ReadInt
	public	__brl_stream_TStreamWrapper_ReadLine
	public	__brl_stream_TStreamWrapper_ReadObject
	public	__brl_stream_TStreamWrapper_ReadShort
	public	__brl_stream_TStreamWrapper_ReadString
	public	__brl_stream_TStreamWrapper_Seek
	public	__brl_stream_TStreamWrapper_SetStream
	public	__brl_stream_TStreamWrapper_Size
	public	__brl_stream_TStreamWrapper_Write
	public	__brl_stream_TStreamWrapper_WriteByte
	public	__brl_stream_TStreamWrapper_WriteDouble
	public	__brl_stream_TStreamWrapper_WriteFloat
	public	__brl_stream_TStreamWrapper_WriteInt
	public	__brl_stream_TStreamWrapper_WriteLine
	public	__brl_stream_TStreamWrapper_WriteObject
	public	__brl_stream_TStreamWrapper_WriteShort
	public	__brl_stream_TStreamWrapper_WriteString
	public	__brl_stream_TStreamWriteException_Delete
	public	__brl_stream_TStreamWriteException_New
	public	__brl_stream_TStreamWriteException_ToString
	public	__brl_stream_TStream_Delete
	public	__brl_stream_TStream_New
	public	__brl_stream_TStream_ReadByte
	public	__brl_stream_TStream_ReadBytes
	public	__brl_stream_TStream_ReadDouble
	public	__brl_stream_TStream_ReadFloat
	public	__brl_stream_TStream_ReadInt
	public	__brl_stream_TStream_ReadLine
	public	__brl_stream_TStream_ReadLong
	public	__brl_stream_TStream_ReadObject
	public	__brl_stream_TStream_ReadShort
	public	__brl_stream_TStream_ReadString
	public	__brl_stream_TStream_SkipBytes
	public	__brl_stream_TStream_WriteByte
	public	__brl_stream_TStream_WriteBytes
	public	__brl_stream_TStream_WriteDouble
	public	__brl_stream_TStream_WriteFloat
	public	__brl_stream_TStream_WriteInt
	public	__brl_stream_TStream_WriteLine
	public	__brl_stream_TStream_WriteLong
	public	__brl_stream_TStream_WriteObject
	public	__brl_stream_TStream_WriteShort
	public	__brl_stream_TStream_WriteString
	public	_brl_stream_CasedFileName
	public	_brl_stream_CloseStream
	public	_brl_stream_CopyBytes
	public	_brl_stream_CopyStream
	public	_brl_stream_Eof
	public	_brl_stream_FlushStream
	public	_brl_stream_LoadByteArray
	public	_brl_stream_LoadObject
	public	_brl_stream_LoadString
	public	_brl_stream_OpenStream
	public	_brl_stream_ReadByte
	public	_brl_stream_ReadDouble
	public	_brl_stream_ReadFloat
	public	_brl_stream_ReadInt
	public	_brl_stream_ReadLine
	public	_brl_stream_ReadLong
	public	_brl_stream_ReadShort
	public	_brl_stream_ReadStream
	public	_brl_stream_ReadString
	public	_brl_stream_SaveByteArray
	public	_brl_stream_SaveObject
	public	_brl_stream_SaveString
	public	_brl_stream_SeekStream
	public	_brl_stream_StreamPos
	public	_brl_stream_StreamSize
	public	_brl_stream_TCStream
	public	_brl_stream_TIO
	public	_brl_stream_TStream
	public	_brl_stream_TStreamException
	public	_brl_stream_TStreamFactory
	public	_brl_stream_TStreamReadException
	public	_brl_stream_TStreamStream
	public	_brl_stream_TStreamWrapper
	public	_brl_stream_TStreamWriteException
	public	_brl_stream_WriteByte
	public	_brl_stream_WriteDouble
	public	_brl_stream_WriteFloat
	public	_brl_stream_WriteInt
	public	_brl_stream_WriteLine
	public	_brl_stream_WriteLong
	public	_brl_stream_WriteShort
	public	_brl_stream_WriteStream
	public	_brl_stream_WriteString
	section	"code" code
___bb_stream_stream:
	push	ebp
	mov	ebp,esp
	cmp	dword [_561],0
	je	_562
	mov	eax,0
	mov	esp,ebp
	pop	ebp
	ret
_562:
	mov	dword [_561],1
	call	___bb_blitz_blitz
	call	___bb_stdc_stdc
	push	_brl_stream_TStreamException
	call	_bbObjectRegisterType
	add	esp,4
	push	_brl_stream_TStreamReadException
	call	_bbObjectRegisterType
	add	esp,4
	push	_brl_stream_TStreamWriteException
	call	_bbObjectRegisterType
	add	esp,4
	push	_brl_stream_TIO
	call	_bbObjectRegisterType
	add	esp,4
	push	_brl_stream_TStream
	call	_bbObjectRegisterType
	add	esp,4
	push	_brl_stream_TStreamWrapper
	call	_bbObjectRegisterType
	add	esp,4
	push	_brl_stream_TStreamStream
	call	_bbObjectRegisterType
	add	esp,4
	push	_brl_stream_TCStream
	call	_bbObjectRegisterType
	add	esp,4
	push	_brl_stream_TStreamFactory
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,0
	jmp	_138
_138:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamException_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_brl_stream_TStreamException
	mov	eax,0
	jmp	_141
_141:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamException_Delete:
	push	ebp
	mov	ebp,esp
_144:
	mov	eax,0
	jmp	_563
_563:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamReadException_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__brl_stream_TStreamException_New
	add	esp,4
	mov	dword [ebx],_brl_stream_TStreamReadException
	mov	eax,0
	jmp	_147
_147:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamReadException_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_150:
	mov	dword [eax],_brl_stream_TStreamException
	push	eax
	call	__brl_stream_TStreamException_Delete
	add	esp,4
	mov	eax,0
	jmp	_564
_564:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamReadException_ToString:
	push	ebp
	mov	ebp,esp
	mov	eax,_1
	jmp	_153
_153:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWriteException_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__brl_stream_TStreamException_New
	add	esp,4
	mov	dword [ebx],_brl_stream_TStreamWriteException
	mov	eax,0
	jmp	_156
_156:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWriteException_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_159:
	mov	dword [eax],_brl_stream_TStreamException
	push	eax
	call	__brl_stream_TStreamException_Delete
	add	esp,4
	mov	eax,0
	jmp	_565
_565:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWriteException_ToString:
	push	ebp
	mov	ebp,esp
	mov	eax,_2
	jmp	_162
_162:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TIO_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_brl_stream_TIO
	mov	eax,0
	jmp	_165
_165:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TIO_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
_168:
	mov	eax,0
	jmp	_567
_567:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TIO_Eof:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	ebx,eax
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	esi,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	cmp	esi,eax
	sete	al
	movzx	eax,al
	jmp	_171
_171:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TIO_Pos:
	push	ebp
	mov	ebp,esp
	mov	eax,-1
	jmp	_174
_174:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TIO_Size:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_177
_177:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TIO_Seek:
	push	ebp
	mov	ebp,esp
	mov	eax,-1
	jmp	_181
_181:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TIO_Flush:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_184
_184:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TIO_Close:
	push	ebp
	mov	ebp,esp
	mov	eax,0
	jmp	_187
_187:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TIO_Read:
	push	ebp
	mov	ebp,esp
	push	_3
	call	_brl_blitz_RuntimeError
	add	esp,4
	mov	eax,0
	jmp	_192
_192:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TIO_Write:
	push	ebp
	mov	ebp,esp
	push	_4
	call	_brl_blitz_RuntimeError
	add	esp,4
	mov	eax,0
	jmp	_197
_197:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__brl_stream_TIO_New
	add	esp,4
	mov	dword [ebx],_brl_stream_TStream
	mov	eax,0
	jmp	_200
_200:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_203:
	mov	dword [eax],_brl_stream_TIO
	push	eax
	call	__brl_stream_TIO_Delete
	add	esp,4
	mov	eax,0
	jmp	_570
_570:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_ReadBytes:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	mov	esi,dword [ebp+16]
	mov	dword [ebp-4],esi
	jmp	_5
_7:
	mov	eax,dword [ebp+8]
	push	esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,0
	jne	_574
	push	_brl_stream_TStreamReadException
	call	_bbObjectNew
	add	esp,4
	push	eax
	call	_bbExThrow
	add	esp,4
_574:
	sub	esi,ebx
	add	edi,ebx
_5:
	cmp	esi,0
	jg	_7
_6:
	mov	eax,dword [ebp-4]
	jmp	_208
_208:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_WriteBytes:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+12]
	mov	esi,dword [ebp+16]
	mov	dword [ebp-4],esi
	jmp	_8
_10:
	mov	eax,dword [ebp+8]
	push	esi
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,0
	jne	_578
	push	_brl_stream_TStreamWriteException
	call	_bbObjectNew
	add	esp,4
	push	eax
	call	_bbExThrow
	add	esp,4
_578:
	sub	esi,ebx
	add	edi,ebx
_8:
	cmp	esi,0
	jg	_10
_9:
	mov	eax,dword [ebp-4]
	jmp	_213
_213:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_SkipBytes:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	dword [ebp-8],esi
	push	1024
	push	_580
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-4],eax
	jmp	_11
_13:
	mov	ebx,edi
	mov	eax,dword [ebp-4]
	push	dword [eax+20]
	push	esi
	call	_bbIntMin
	add	esp,8
	push	eax
	mov	eax,dword [ebp-4]
	lea	eax,byte [eax+24]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,0
	jne	_584
	push	_brl_stream_TStreamReadException
	call	_bbObjectNew
	add	esp,4
	push	eax
	call	_bbExThrow
	add	esp,4
_584:
	sub	esi,ebx
_11:
	cmp	esi,0
	jg	_13
_12:
	mov	eax,dword [ebp-8]
	jmp	_217
_217:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_ReadByte:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	byte [ebp-4],0
	push	1
	lea	edx,byte [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,12
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	jmp	_220
_220:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_WriteByte:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	1
	lea	eax,byte [ebp-4]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+84]
	add	esp,12
	mov	eax,0
	jmp	_224
_224:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_ReadShort:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	word [ebp-4],0
	push	2
	lea	edx,word [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,12
	movzx	eax,word [ebp-4]
	mov	eax,eax
	jmp	_227
_227:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_WriteShort:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebp-4],ax
	push	2
	lea	eax,word [ebp-4]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+84]
	add	esp,12
	mov	eax,0
	jmp	_231
_231:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_ReadInt:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],0
	push	4
	lea	edx,dword [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,12
	mov	eax,dword [ebp-4]
	jmp	_234
_234:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_WriteInt:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	dword [ebp-4],edx
	push	4
	lea	edx,dword [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,12
	mov	eax,0
	jmp	_238
_238:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_ReadLong:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	mov	eax,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	dword [ebp-8],0
	mov	dword [ebp-4],0
	push	8
	lea	edx,dword [ebp-8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,12
	mov	eax,dword [ebp-8]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp-4]
	mov	dword [ebp-12],eax
	jmp	_241
_241:
	mov	eax,dword [ebp-16]
	mov	dword [ebx],eax
	mov	eax,dword [ebp-12]
	mov	dword [ebx+4],eax
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_WriteLong:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	dword [ebp-8],edx
	mov	edx,dword [ebp+16]
	mov	dword [ebp-4],edx
	mov	edx,dword [ebp-8]
	mov	dword [ebp-16],edx
	mov	edx,dword [ebp-4]
	mov	dword [ebp-12],edx
	push	8
	lea	edx,dword [ebp-16]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,12
	mov	eax,0
	jmp	_245
_245:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_ReadFloat:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	fldz
	fstp	dword [ebp-4]
	push	4
	lea	edx,dword [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,12
	fld	dword [ebp-4]
	jmp	_248
_248:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_WriteFloat:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	fstp	dword [ebp-4]
	push	4
	lea	edx,dword [ebp-4]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,12
	mov	eax,0
	jmp	_252
_252:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_ReadDouble:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	mov	eax,dword [ebp+8]
	fldz
	fstp	qword [ebp-8]
	push	8
	lea	edx,qword [ebp-8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,12
	fld	qword [ebp-8]
	jmp	_255
_255:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_WriteDouble:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	mov	eax,dword [ebp+8]
	fld	qword [ebp+12]
	fstp	qword [ebp-8]
	push	8
	lea	edx,qword [ebp-8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,12
	mov	eax,0
	jmp	_259
_259:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_ReadLine:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	push	1024
	push	_609
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	mov	esi,0
_16:
_14:
	mov	byte [ebp-4],0
	push	1
	lea	eax,byte [ebp-4]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,12
	cmp	eax,1
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_614
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,0
	sete	al
	movzx	eax,al
_614:
	cmp	eax,0
	jne	_616
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,10
	sete	al
	movzx	eax,al
_616:
	cmp	eax,0
	je	_618
	jmp	_15
_618:
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,13
	jne	_619
	jmp	_14
_619:
	mov	eax,dword [ebp-8]
	cmp	esi,dword [eax+20]
	jne	_620
	mov	eax,esi
	shl	eax,1
	push	eax
	push	0
	push	dword [ebp-8]
	push	_621
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebp-8],eax
_620:
	mov	edx,dword [ebp-8]
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	mov	byte [edx+esi+24],al
	add	esi,1
	jmp	_16
_15:
	push	esi
	mov	eax,dword [ebp-8]
	lea	eax,byte [eax+24]
	push	eax
	call	_bbStringFromBytes
	add	esp,8
	jmp	_262
_262:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_WriteLine:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	push	ebx
	call	_bbStringToCString
	add	esp,4
	mov	edi,eax
	mov	eax,esi
	push	dword [ebx+8]
	push	edi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,12
	cmp	eax,dword [ebx+8]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_627
	mov	ebx,esi
	push	2
	push	_621
	call	_bbArrayNew1D
	add	esp,8
	mov	byte [eax+24],13
	mov	byte [eax+25],10
	mov	dword [ebp-4],eax
	push	2
	mov	eax,dword [ebp-4]
	lea	eax,byte [eax+24]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,12
	cmp	eax,2
	sete	al
	movzx	eax,al
_627:
	mov	ebx,eax
	push	edi
	call	_bbMemFree
	add	esp,4
	jmp	_266
_266:
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_ReadString:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	push	esi
	push	_630
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-4],eax
	push	esi
	mov	eax,dword [ebp-4]
	lea	eax,byte [eax+24]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,12
	push	esi
	mov	eax,dword [ebp-4]
	lea	eax,byte [eax+24]
	push	eax
	call	_bbStringFromBytes
	add	esp,8
	jmp	_270
_270:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_WriteString:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	push	esi
	call	_bbStringToCString
	add	esp,4
	mov	ebx,eax
	mov	eax,edi
	push	dword [esi+8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,12
	push	ebx
	call	_bbMemFree
	add	esp,4
	mov	eax,0
	jmp	_274
_274:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_ReadObject:
	push	ebp
	mov	ebp,esp
	push	_18
	call	_bbExThrow
	add	esp,4
	mov	eax,_bbNullObject
	jmp	_277
_277:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStream_WriteObject:
	push	ebp
	mov	ebp,esp
	push	_19
	call	_bbExThrow
	add	esp,4
	mov	eax,0
	jmp	_281
_281:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__brl_stream_TStream_New
	add	esp,4
	mov	dword [ebx],_brl_stream_TStreamWrapper
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+8],eax
	mov	eax,0
	jmp	_284
_284:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_287:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_638
	push	eax
	call	_bbGCFree
	add	esp,4
_638:
	mov	dword [ebx],_brl_stream_TStream
	push	ebx
	call	__brl_stream_TStream_Delete
	add	esp,4
	mov	eax,0
	jmp	_636
_636:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_SetStream:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_642
	push	eax
	call	_bbGCFree
	add	esp,4
_642:
	mov	dword [esi+8],ebx
	mov	eax,0
	jmp	_291
_291:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_Eof:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	jmp	_294
_294:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_Pos:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	jmp	_297
_297:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_Size:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	jmp	_300
_300:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_Seek:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	jmp	_304
_304:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_Flush:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	mov	eax,0
	jmp	_307
_307:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_Close:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	eax,0
	jmp	_310
_310:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_Read:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	mov	eax,dword [eax+8]
	push	edx
	push	ecx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,12
	jmp	_315
_315:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_Write:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	ecx,dword [ebp+12]
	mov	edx,dword [ebp+16]
	mov	eax,dword [eax+8]
	push	edx
	push	ecx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,12
	jmp	_320
_320:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_ReadByte:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	jmp	_323
_323:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_WriteByte:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	mov	eax,0
	jmp	_327
_327:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_ReadShort:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	jmp	_330
_330:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_WriteShort:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,8
	mov	eax,0
	jmp	_334
_334:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_ReadInt:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	jmp	_337
_337:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_WriteInt:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	mov	eax,0
	jmp	_341
_341:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_ReadFloat:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	jmp	_344
_344:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_WriteFloat:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	mov	eax,dword [eax+8]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,8
	mov	eax,0
	jmp	_348
_348:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_ReadDouble:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,4
	jmp	_351
_351:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_WriteDouble:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	qword [ebp+12]
	mov	eax,dword [eax+8]
	sub	esp,8
	fstp	qword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,12
	mov	eax,0
	jmp	_355
_355:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_ReadLine:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	jmp	_358
_358:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_WriteLine:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	jmp	_362
_362:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_ReadString:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
	jmp	_366
_366:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_WriteString:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,8
	mov	eax,0
	jmp	_370
_370:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_ReadObject:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+156]
	add	esp,4
	jmp	_373
_373:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamWrapper_WriteObject:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [eax+8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+160]
	add	esp,8
	mov	eax,0
	jmp	_377
_377:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamStream_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__brl_stream_TStreamWrapper_New
	add	esp,4
	mov	dword [ebx],_brl_stream_TStreamStream
	mov	eax,0
	jmp	_380
_380:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamStream_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_383:
	mov	dword [eax],_brl_stream_TStreamWrapper
	push	eax
	call	__brl_stream_TStreamWrapper_Delete
	add	esp,4
	mov	eax,0
	jmp	_667
_667:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamStream_Close:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	_bbNullObject
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+164]
	add	esp,8
	mov	eax,0
	jmp	_386
_386:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamStream_Create:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	_brl_stream_TStreamStream
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+164]
	add	esp,8
	mov	eax,ebx
	jmp	_389
_389:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TCStream_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__brl_stream_TStream_New
	add	esp,4
	mov	dword [ebx],_brl_stream_TCStream
	mov	dword [ebx+8],0
	mov	dword [ebx+12],0
	mov	dword [ebx+16],0
	mov	dword [ebx+20],0
	mov	eax,0
	jmp	_392
_392:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TCStream_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
_395:
	mov	dword [ebx],_brl_stream_TStream
	push	ebx
	call	__brl_stream_TStream_Delete
	add	esp,4
	mov	eax,0
	jmp	_672
_672:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TCStream_Pos:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+8]
	jmp	_398
_398:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TCStream_Size:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+12]
	jmp	_401
_401:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TCStream_Seek:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	0
	push	eax
	push	dword [ebx+16]
	call	_fseek
	add	esp,12
	push	dword [ebx+16]
	call	_ftell
	add	esp,4
	mov	dword [ebx+8],eax
	mov	eax,dword [ebx+8]
	jmp	_405
_405:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TCStream_Read:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	push	dword [ebx+16]
	push	eax
	push	1
	push	edx
	call	_fread
	add	esp,16
	add	dword [ebx+8],eax
	jmp	_410
_410:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TCStream_Write:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	push	dword [ebx+16]
	push	eax
	push	1
	push	edx
	call	_fwrite
	add	esp,16
	add	dword [ebx+8],eax
	mov	edx,dword [ebx+12]
	cmp	dword [ebx+8],edx
	jle	_673
	mov	edx,dword [ebx+8]
	mov	dword [ebx+12],edx
_673:
	jmp	_415
_415:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TCStream_Flush:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	cmp	dword [eax+16],0
	je	_674
	push	dword [eax+16]
	call	_fflush
	add	esp,4
_674:
	mov	eax,0
	jmp	_418
_418:
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TCStream_Close:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	cmp	dword [ebx+16],0
	jne	_675
	mov	eax,0
	jmp	_421
_675:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,4
	push	dword [ebx+16]
	call	_fclose
	add	esp,4
	mov	dword [ebx+8],0
	mov	dword [ebx+12],0
	mov	dword [ebx+16],0
	mov	eax,0
	jmp	_421
_421:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TCStream_OpenFile:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	ecx,dword [ebp+16]
	cmp	edx,0
	je	_679
	mov	edx,ecx
_679:
	cmp	edx,0
	je	_681
	mov	esi,_25
	mov	ebx,3
	jmp	_682
_681:
	cmp	ecx,0
	je	_683
	mov	esi,_26
	mov	ebx,2
	jmp	_684
_683:
	mov	esi,_27
	mov	ebx,1
_684:
_682:
	push	_29
	push	_28
	push	eax
	call	_bbStringReplace
	add	esp,12
	push	esi
	push	eax
	call	_fopen_
	add	esp,8
	cmp	eax,0
	je	_686
	push	ebx
	push	eax
	call	dword [_brl_stream_TCStream+168]
	add	esp,8
	jmp	_426
_686:
	mov	eax,_bbNullObject
	jmp	_426
_426:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TCStream_CreateWithCStream:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	edi,dword [ebp+12]
	push	_brl_stream_TCStream
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	mov	dword [ebx+16],esi
	push	esi
	call	_ftell
	add	esp,4
	mov	dword [ebx+8],eax
	push	2
	push	0
	push	esi
	call	_fseek
	add	esp,12
	push	esi
	call	_ftell
	add	esp,4
	mov	dword [ebx+12],eax
	push	0
	push	dword [ebx+8]
	push	esi
	call	_fseek
	add	esp,12
	mov	dword [ebx+20],edi
	mov	eax,ebx
	jmp	_430
_430:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamFactory_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	push	esi
	call	_bbObjectCtor
	add	esp,4
	mov	dword [esi],_brl_stream_TStreamFactory
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [esi+8],eax
	mov	ebx,dword [_560]
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_692
	push	eax
	call	_bbGCFree
	add	esp,4
_692:
	mov	dword [esi+8],ebx
	inc	dword [esi+4]
	mov	eax,dword [_560]
	dec	dword [eax+4]
	jnz	_696
	push	eax
	call	_bbGCFree
	add	esp,4
_696:
	mov	dword [_560],esi
	mov	eax,0
	jmp	_433
_433:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__brl_stream_TStreamFactory_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_436:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_699
	push	eax
	call	_bbGCFree
	add	esp,4
_699:
	mov	eax,0
	jmp	_697
_697:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_OpenStream:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	push	_brl_stream_TStream
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_701
	push	eax
	call	dword [_brl_stream_TStreamStream+168]
	add	esp,4
	jmp	_441
_701:
	push	_bbStringClass
	push	dword [ebp+8]
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	jne	_703
	mov	eax,_bbEmptyString
_703:
	mov	esi,eax
	mov	edi,_bbEmptyString
	mov	ebx,_bbEmptyString
	cmp	dword [esi+8],0
	je	_707
	push	0
	push	_30
	push	esi
	call	_bbStringFind
	add	esp,12
	mov	ebx,eax
	cmp	ebx,-1
	jne	_709
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	esi
	call	dword [_brl_stream_TCStream+164]
	add	esp,12
	jmp	_441
_709:
	push	ebx
	push	0
	push	esi
	call	_bbStringSlice
	add	esp,12
	push	eax
	call	_bbStringToLower
	add	esp,4
	mov	edi,eax
	push	dword [esi+8]
	mov	eax,ebx
	add	eax,2
	push	eax
	push	esi
	call	_bbStringSlice
	add	esp,12
	mov	ebx,eax
_707:
	mov	esi,dword [_560]
	jmp	_31
_33:
	mov	eax,esi
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	ebx
	push	edi
	push	dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,24
	cmp	eax,_bbNullObject
	je	_713
	jmp	_441
_713:
	mov	esi,dword [esi+8]
_31:
	cmp	esi,_bbNullObject
	jne	_33
_32:
	mov	eax,_bbNullObject
	jmp	_441
_441:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_ReadStream:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	0
	push	1
	push	eax
	call	_brl_stream_OpenStream
	add	esp,12
	jmp	_444
_444:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_WriteStream:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	1
	push	0
	push	eax
	call	_brl_stream_OpenStream
	add	esp,12
	jmp	_447
_447:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_Eof:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	jmp	_450
_450:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_StreamPos:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	jmp	_453
_453:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_StreamSize:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,4
	jmp	_456
_456:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_SeekStream:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+60]
	add	esp,8
	jmp	_460
_460:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_FlushStream:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+64]
	add	esp,4
	mov	eax,0
	jmp	_463
_463:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_CloseStream:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	eax,0
	jmp	_466
_466:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_ReadByte:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	jmp	_469
_469:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_ReadShort:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,4
	jmp	_472
_472:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_ReadInt:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,4
	jmp	_475
_475:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_ReadLong:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	lea	edx,dword [ebp-8]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+116]
	add	esp,8
	jmp	_478
_478:
	mov	eax,dword [ebp-8]
	mov	dword [ebx],eax
	mov	eax,dword [ebp-4]
	mov	dword [ebx+4],eax
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_ReadFloat:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,4
	jmp	_481
_481:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_ReadDouble:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+132]
	add	esp,4
	jmp	_484
_484:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_WriteByte:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,8
	mov	eax,0
	jmp	_488
_488:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_WriteShort:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+104]
	add	esp,8
	mov	eax,0
	jmp	_492
_492:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_WriteInt:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,8
	mov	eax,0
	jmp	_496
_496:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_WriteLong:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	dword [ebp-8],edx
	mov	edx,dword [ebp+16]
	mov	dword [ebp-4],edx
	push	dword [ebp-4]
	push	dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,12
	mov	eax,0
	jmp	_500
_500:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_WriteFloat:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	dword [ebp+12]
	sub	esp,4
	fstp	dword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+128]
	add	esp,8
	mov	eax,0
	jmp	_504
_504:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_WriteDouble:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	fld	qword [ebp+12]
	sub	esp,8
	fstp	qword [esp]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+136]
	add	esp,12
	mov	eax,0
	jmp	_508
_508:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_ReadString:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+148]
	add	esp,8
	jmp	_512
_512:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_WriteString:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+152]
	add	esp,8
	mov	eax,0
	jmp	_516
_516:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_ReadLine:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+140]
	add	esp,4
	jmp	_519
_519:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_WriteLine:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	edx,dword [ebp+12]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+144]
	add	esp,8
	jmp	_523
_523:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_LoadString:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	eax,dword [ebp+8]
	push	eax
	call	_brl_stream_LoadByteArray
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	push	dword [eax+20]
	mov	eax,dword [ebp-4]
	lea	eax,byte [eax+24]
	push	eax
	call	_bbStringFromBytes
	add	esp,8
	jmp	_526
_526:
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_SaveString:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	call	_brl_stream_WriteStream
	add	esp,4
	mov	esi,eax
	cmp	esi,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_738
	push	_brl_stream_TStreamWriteException
	call	_bbObjectNew
	add	esp,4
	push	eax
	call	_bbExThrow
	add	esp,4
_738:
	push	edi
	call	_bbStringToCString
	add	esp,4
	mov	ebx,eax
	mov	eax,esi
	push	dword [edi+8]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,12
	push	ebx
	call	_bbMemFree
	add	esp,4
	mov	eax,esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	mov	eax,0
	jmp	_530
_530:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_LoadObject:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	push	eax
	call	_brl_stream_ReadStream
	add	esp,4
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_743
	push	_brl_stream_TStreamReadException
	call	_bbObjectNew
	add	esp,4
	push	eax
	call	_bbExThrow
	add	esp,4
_743:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+156]
	add	esp,4
	mov	esi,eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	mov	eax,esi
	jmp	_533
_533:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_SaveObject:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+8]
	mov	eax,dword [ebp+12]
	push	eax
	call	_brl_stream_WriteStream
	add	esp,4
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_748
	push	_brl_stream_TStreamWriteException
	call	_bbObjectNew
	add	esp,4
	push	eax
	call	_bbExThrow
	add	esp,4
_748:
	push	esi
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+160]
	add	esp,8
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	mov	eax,0
	jmp	_537
_537:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_LoadByteArray:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	push	eax
	call	_brl_stream_ReadStream
	add	esp,4
	mov	esi,eax
	cmp	esi,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_752
	push	_brl_stream_TStreamReadException
	call	_bbObjectNew
	add	esp,4
	push	eax
	call	_bbExThrow
	add	esp,4
_752:
	push	1024
	push	_753
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-4],eax
	mov	ebx,0
	jmp	_34
_36:
	mov	eax,dword [ebp-4]
	cmp	ebx,dword [eax+20]
	jne	_757
	mov	eax,ebx
	imul	eax,3
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	push	0
	push	dword [ebp-4]
	push	_621
	call	_bbArraySlice
	add	esp,16
	mov	dword [ebp-4],eax
_757:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+20]
	sub	eax,ebx
	push	eax
	mov	eax,dword [ebp-4]
	lea	eax,byte [eax+24]
	add	eax,ebx
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+72]
	add	esp,12
	add	ebx,eax
_34:
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	je	_36
_35:
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+68]
	add	esp,4
	push	ebx
	push	0
	push	dword [ebp-4]
	push	_621
	call	_bbArraySlice
	add	esp,16
	jmp	_540
_540:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_SaveByteArray:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	push	eax
	call	_brl_stream_WriteStream
	add	esp,4
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_761
	push	_brl_stream_TStreamWriteException
	call	_bbObjectNew
	add	esp,4
	push	eax
	call	_bbExThrow
	add	esp,4
_761:
	mov	eax,dword [ebp-4]
	push	dword [eax+20]
	mov	eax,dword [ebp-4]
	lea	eax,byte [eax+24]
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,12
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	mov	eax,0
	jmp	_544
_544:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_CopyStream:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	edi
	push	_764
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-4],eax
	jmp	_38
_40:
	mov	edx,ebx
	push	edi
	mov	eax,dword [ebp-4]
	lea	eax,byte [eax+24]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+72]
	add	esp,12
	push	eax
	mov	eax,dword [ebp-4]
	lea	eax,byte [eax+24]
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+84]
	add	esp,12
_38:
	mov	eax,ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	je	_40
_39:
	mov	eax,0
	jmp	_549
_549:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_CopyBytes:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+16]
	mov	edi,dword [ebp+20]
	push	edi
	push	_771
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-4],eax
	jmp	_41
_43:
	push	edi
	push	esi
	call	_bbIntMin
	add	esp,8
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	push	ebx
	mov	edx,dword [ebp-4]
	lea	edx,byte [edx+24]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,12
	mov	eax,dword [ebp+12]
	push	ebx
	mov	edx,dword [ebp-4]
	lea	edx,byte [edx+24]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,12
	sub	esi,ebx
_41:
	cmp	esi,0
	jne	_43
_42:
	mov	eax,0
	jmp	_555
_555:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_brl_stream_CasedFileName:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	dword [ebp-20],_bbEmptyString
	mov	dword [ebp-4],0
	mov	dword [ebp-8],0
	mov	dword [ebp-12],0
	mov	dword [ebp-16],0
	lea	eax,dword [ebp-16]
	push	eax
	lea	eax,dword [ebp-12]
	push	eax
	lea	eax,dword [ebp-8]
	push	eax
	lea	eax,dword [ebp-4]
	push	eax
	push	esi
	call	_stat_
	add	esp,20
	cmp	eax,0
	jne	_786
	and	dword [ebp-4],61440
	mov	eax,dword [ebp-4]
	cmp	eax,32768
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_787
	mov	eax,dword [ebp-4]
	cmp	eax,16384
	sete	al
	movzx	eax,al
_787:
	cmp	eax,0
	je	_789
	jmp	_558
_789:
_786:
	mov	ebx,_44
	mov	eax,dword [esi+8]
	sub	eax,2
	jmp	_790
_47:
	movzx	edx,word [esi+eax*2+12]
	mov	edx,edx
	cmp	edx,47
	jne	_791
	jmp	_46
_791:
_45:
	add	eax,-1
_790:
	cmp	eax,0
	jge	_47
_46:
	cmp	eax,0
	jle	_792
	push	eax
	push	0
	push	esi
	call	_bbStringSlice
	add	esp,12
	mov	dword [ebp-20],eax
	push	dword [ebp-20]
	call	_brl_stream_CasedFileName
	add	esp,4
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp-20]
	cmp	dword [eax+8],0
	jne	_793
	mov	esi,_bbEmptyString
	jmp	_558
_793:
	push	dword [esi+8]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+8]
	add	eax,1
	push	eax
	push	esi
	call	_bbStringSlice
	add	esp,12
	mov	esi,eax
	mov	ebx,dword [ebp-20]
_792:
	push	esi
	call	_bbStringToLower
	add	esp,4
	mov	esi,eax
	push	ebx
	call	_opendir_
	add	esp,4
	mov	edi,eax
	cmp	edi,0
	je	_794
	jmp	_48
_50:
	push	edi
	call	_readdir_
	add	esp,4
	mov	ebx,eax
	cmp	dword [ebx+8],0
	jne	_795
	jmp	_49
_795:
	push	ebx
	call	_bbStringToLower
	add	esp,4
	push	eax
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_796
	mov	eax,dword [ebp-20]
	cmp	dword [eax+8],0
	je	_797
	push	ebx
	push	_29
	push	dword [ebp-20]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
_797:
	push	edi
	call	_closedir_
	add	esp,4
	mov	esi,ebx
	jmp	_558
_796:
_48:
	mov	eax,1
	cmp	eax,0
	jne	_50
_49:
	push	edi
	call	_closedir_
	add	esp,4
_794:
	mov	esi,_bbEmptyString
	jmp	_558
_558:
	mov	eax,esi
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_561:
	dd	0
_52:
	db	"TStreamException",0
_53:
	db	"New",0
_54:
	db	"()i",0
_55:
	db	"Delete",0
	align	4
_51:
	dd	2
	dd	_52
	dd	6
	dd	_53
	dd	_54
	dd	16
	dd	6
	dd	_55
	dd	_54
	dd	20
	dd	0
	align	4
_brl_stream_TStreamException:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_51
	dd	8
	dd	__brl_stream_TStreamException_New
	dd	__brl_stream_TStreamException_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_57:
	db	"TStreamReadException",0
_58:
	db	"ToString",0
_59:
	db	"()$",0
	align	4
_56:
	dd	2
	dd	_57
	dd	6
	dd	_53
	dd	_54
	dd	16
	dd	6
	dd	_55
	dd	_54
	dd	20
	dd	6
	dd	_58
	dd	_59
	dd	24
	dd	0
	align	4
_brl_stream_TStreamReadException:
	dd	_brl_stream_TStreamException
	dd	_bbObjectFree
	dd	_56
	dd	8
	dd	__brl_stream_TStreamReadException_New
	dd	__brl_stream_TStreamReadException_Delete
	dd	__brl_stream_TStreamReadException_ToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_61:
	db	"TStreamWriteException",0
	align	4
_60:
	dd	2
	dd	_61
	dd	6
	dd	_53
	dd	_54
	dd	16
	dd	6
	dd	_55
	dd	_54
	dd	20
	dd	6
	dd	_58
	dd	_59
	dd	24
	dd	0
	align	4
_brl_stream_TStreamWriteException:
	dd	_brl_stream_TStreamException
	dd	_bbObjectFree
	dd	_60
	dd	8
	dd	__brl_stream_TStreamWriteException_New
	dd	__brl_stream_TStreamWriteException_Delete
	dd	__brl_stream_TStreamWriteException_ToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_63:
	db	"TIO",0
_64:
	db	"Eof",0
_65:
	db	"Pos",0
_66:
	db	"Size",0
_67:
	db	"Seek",0
_68:
	db	"(i)i",0
_69:
	db	"Flush",0
_70:
	db	"Close",0
_71:
	db	"Read",0
_72:
	db	"(*b,i)i",0
_73:
	db	"Write",0
	align	4
_62:
	dd	2
	dd	_63
	dd	6
	dd	_53
	dd	_54
	dd	16
	dd	6
	dd	_55
	dd	_54
	dd	20
	dd	6
	dd	_64
	dd	_54
	dd	48
	dd	6
	dd	_65
	dd	_54
	dd	52
	dd	6
	dd	_66
	dd	_54
	dd	56
	dd	6
	dd	_67
	dd	_68
	dd	60
	dd	6
	dd	_69
	dd	_54
	dd	64
	dd	6
	dd	_70
	dd	_54
	dd	68
	dd	6
	dd	_71
	dd	_72
	dd	72
	dd	6
	dd	_73
	dd	_72
	dd	76
	dd	0
	align	4
_brl_stream_TIO:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_62
	dd	8
	dd	__brl_stream_TIO_New
	dd	__brl_stream_TIO_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__brl_stream_TIO_Eof
	dd	__brl_stream_TIO_Pos
	dd	__brl_stream_TIO_Size
	dd	__brl_stream_TIO_Seek
	dd	__brl_stream_TIO_Flush
	dd	__brl_stream_TIO_Close
	dd	__brl_stream_TIO_Read
	dd	__brl_stream_TIO_Write
_75:
	db	"TStream",0
_76:
	db	"ReadBytes",0
_77:
	db	"WriteBytes",0
_78:
	db	"SkipBytes",0
_79:
	db	"ReadByte",0
_80:
	db	"WriteByte",0
_81:
	db	"ReadShort",0
_82:
	db	"WriteShort",0
_83:
	db	"ReadInt",0
_84:
	db	"WriteInt",0
_85:
	db	"ReadLong",0
_86:
	db	"()l",0
_87:
	db	"WriteLong",0
_88:
	db	"(l)i",0
_89:
	db	"ReadFloat",0
_90:
	db	"()f",0
_91:
	db	"WriteFloat",0
_92:
	db	"(f)i",0
_93:
	db	"ReadDouble",0
_94:
	db	"()d",0
_95:
	db	"WriteDouble",0
_96:
	db	"(d)i",0
_97:
	db	"ReadLine",0
_98:
	db	"WriteLine",0
_99:
	db	"($)i",0
_100:
	db	"ReadString",0
_101:
	db	"(i)$",0
_102:
	db	"WriteString",0
_103:
	db	"ReadObject",0
_104:
	db	"():Object",0
_105:
	db	"WriteObject",0
_106:
	db	"(:Object)i",0
	align	4
_74:
	dd	2
	dd	_75
	dd	6
	dd	_53
	dd	_54
	dd	16
	dd	6
	dd	_55
	dd	_54
	dd	20
	dd	6
	dd	_76
	dd	_72
	dd	80
	dd	6
	dd	_77
	dd	_72
	dd	84
	dd	6
	dd	_78
	dd	_68
	dd	88
	dd	6
	dd	_79
	dd	_54
	dd	92
	dd	6
	dd	_80
	dd	_68
	dd	96
	dd	6
	dd	_81
	dd	_54
	dd	100
	dd	6
	dd	_82
	dd	_68
	dd	104
	dd	6
	dd	_83
	dd	_54
	dd	108
	dd	6
	dd	_84
	dd	_68
	dd	112
	dd	6
	dd	_85
	dd	_86
	dd	116
	dd	6
	dd	_87
	dd	_88
	dd	120
	dd	6
	dd	_89
	dd	_90
	dd	124
	dd	6
	dd	_91
	dd	_92
	dd	128
	dd	6
	dd	_93
	dd	_94
	dd	132
	dd	6
	dd	_95
	dd	_96
	dd	136
	dd	6
	dd	_97
	dd	_59
	dd	140
	dd	6
	dd	_98
	dd	_99
	dd	144
	dd	6
	dd	_100
	dd	_101
	dd	148
	dd	6
	dd	_102
	dd	_99
	dd	152
	dd	6
	dd	_103
	dd	_104
	dd	156
	dd	6
	dd	_105
	dd	_106
	dd	160
	dd	0
	align	4
_brl_stream_TStream:
	dd	_brl_stream_TIO
	dd	_bbObjectFree
	dd	_74
	dd	8
	dd	__brl_stream_TStream_New
	dd	__brl_stream_TStream_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__brl_stream_TIO_Eof
	dd	__brl_stream_TIO_Pos
	dd	__brl_stream_TIO_Size
	dd	__brl_stream_TIO_Seek
	dd	__brl_stream_TIO_Flush
	dd	__brl_stream_TIO_Close
	dd	__brl_stream_TIO_Read
	dd	__brl_stream_TIO_Write
	dd	__brl_stream_TStream_ReadBytes
	dd	__brl_stream_TStream_WriteBytes
	dd	__brl_stream_TStream_SkipBytes
	dd	__brl_stream_TStream_ReadByte
	dd	__brl_stream_TStream_WriteByte
	dd	__brl_stream_TStream_ReadShort
	dd	__brl_stream_TStream_WriteShort
	dd	__brl_stream_TStream_ReadInt
	dd	__brl_stream_TStream_WriteInt
	dd	__brl_stream_TStream_ReadLong
	dd	__brl_stream_TStream_WriteLong
	dd	__brl_stream_TStream_ReadFloat
	dd	__brl_stream_TStream_WriteFloat
	dd	__brl_stream_TStream_ReadDouble
	dd	__brl_stream_TStream_WriteDouble
	dd	__brl_stream_TStream_ReadLine
	dd	__brl_stream_TStream_WriteLine
	dd	__brl_stream_TStream_ReadString
	dd	__brl_stream_TStream_WriteString
	dd	__brl_stream_TStream_ReadObject
	dd	__brl_stream_TStream_WriteObject
_108:
	db	"TStreamWrapper",0
_109:
	db	"_stream",0
_110:
	db	":TStream",0
_111:
	db	"SetStream",0
_112:
	db	"(:TStream)i",0
	align	4
_107:
	dd	2
	dd	_108
	dd	3
	dd	_109
	dd	_110
	dd	8
	dd	6
	dd	_53
	dd	_54
	dd	16
	dd	6
	dd	_55
	dd	_54
	dd	20
	dd	6
	dd	_111
	dd	_112
	dd	164
	dd	6
	dd	_64
	dd	_54
	dd	48
	dd	6
	dd	_65
	dd	_54
	dd	52
	dd	6
	dd	_66
	dd	_54
	dd	56
	dd	6
	dd	_67
	dd	_68
	dd	60
	dd	6
	dd	_69
	dd	_54
	dd	64
	dd	6
	dd	_70
	dd	_54
	dd	68
	dd	6
	dd	_71
	dd	_72
	dd	72
	dd	6
	dd	_73
	dd	_72
	dd	76
	dd	6
	dd	_79
	dd	_54
	dd	92
	dd	6
	dd	_80
	dd	_68
	dd	96
	dd	6
	dd	_81
	dd	_54
	dd	100
	dd	6
	dd	_82
	dd	_68
	dd	104
	dd	6
	dd	_83
	dd	_54
	dd	108
	dd	6
	dd	_84
	dd	_68
	dd	112
	dd	6
	dd	_89
	dd	_90
	dd	124
	dd	6
	dd	_91
	dd	_92
	dd	128
	dd	6
	dd	_93
	dd	_94
	dd	132
	dd	6
	dd	_95
	dd	_96
	dd	136
	dd	6
	dd	_97
	dd	_59
	dd	140
	dd	6
	dd	_98
	dd	_99
	dd	144
	dd	6
	dd	_100
	dd	_101
	dd	148
	dd	6
	dd	_102
	dd	_99
	dd	152
	dd	6
	dd	_103
	dd	_104
	dd	156
	dd	6
	dd	_105
	dd	_106
	dd	160
	dd	0
	align	4
_brl_stream_TStreamWrapper:
	dd	_brl_stream_TStream
	dd	_bbObjectFree
	dd	_107
	dd	12
	dd	__brl_stream_TStreamWrapper_New
	dd	__brl_stream_TStreamWrapper_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__brl_stream_TStreamWrapper_Eof
	dd	__brl_stream_TStreamWrapper_Pos
	dd	__brl_stream_TStreamWrapper_Size
	dd	__brl_stream_TStreamWrapper_Seek
	dd	__brl_stream_TStreamWrapper_Flush
	dd	__brl_stream_TStreamWrapper_Close
	dd	__brl_stream_TStreamWrapper_Read
	dd	__brl_stream_TStreamWrapper_Write
	dd	__brl_stream_TStream_ReadBytes
	dd	__brl_stream_TStream_WriteBytes
	dd	__brl_stream_TStream_SkipBytes
	dd	__brl_stream_TStreamWrapper_ReadByte
	dd	__brl_stream_TStreamWrapper_WriteByte
	dd	__brl_stream_TStreamWrapper_ReadShort
	dd	__brl_stream_TStreamWrapper_WriteShort
	dd	__brl_stream_TStreamWrapper_ReadInt
	dd	__brl_stream_TStreamWrapper_WriteInt
	dd	__brl_stream_TStream_ReadLong
	dd	__brl_stream_TStream_WriteLong
	dd	__brl_stream_TStreamWrapper_ReadFloat
	dd	__brl_stream_TStreamWrapper_WriteFloat
	dd	__brl_stream_TStreamWrapper_ReadDouble
	dd	__brl_stream_TStreamWrapper_WriteDouble
	dd	__brl_stream_TStreamWrapper_ReadLine
	dd	__brl_stream_TStreamWrapper_WriteLine
	dd	__brl_stream_TStreamWrapper_ReadString
	dd	__brl_stream_TStreamWrapper_WriteString
	dd	__brl_stream_TStreamWrapper_ReadObject
	dd	__brl_stream_TStreamWrapper_WriteObject
	dd	__brl_stream_TStreamWrapper_SetStream
_114:
	db	"TStreamStream",0
_115:
	db	"Create",0
_116:
	db	"(:TStream):TStreamStream",0
	align	4
_113:
	dd	2
	dd	_114
	dd	6
	dd	_53
	dd	_54
	dd	16
	dd	6
	dd	_55
	dd	_54
	dd	20
	dd	6
	dd	_70
	dd	_54
	dd	68
	dd	7
	dd	_115
	dd	_116
	dd	168
	dd	0
	align	4
_brl_stream_TStreamStream:
	dd	_brl_stream_TStreamWrapper
	dd	_bbObjectFree
	dd	_113
	dd	12
	dd	__brl_stream_TStreamStream_New
	dd	__brl_stream_TStreamStream_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__brl_stream_TStreamWrapper_Eof
	dd	__brl_stream_TStreamWrapper_Pos
	dd	__brl_stream_TStreamWrapper_Size
	dd	__brl_stream_TStreamWrapper_Seek
	dd	__brl_stream_TStreamWrapper_Flush
	dd	__brl_stream_TStreamStream_Close
	dd	__brl_stream_TStreamWrapper_Read
	dd	__brl_stream_TStreamWrapper_Write
	dd	__brl_stream_TStream_ReadBytes
	dd	__brl_stream_TStream_WriteBytes
	dd	__brl_stream_TStream_SkipBytes
	dd	__brl_stream_TStreamWrapper_ReadByte
	dd	__brl_stream_TStreamWrapper_WriteByte
	dd	__brl_stream_TStreamWrapper_ReadShort
	dd	__brl_stream_TStreamWrapper_WriteShort
	dd	__brl_stream_TStreamWrapper_ReadInt
	dd	__brl_stream_TStreamWrapper_WriteInt
	dd	__brl_stream_TStream_ReadLong
	dd	__brl_stream_TStream_WriteLong
	dd	__brl_stream_TStreamWrapper_ReadFloat
	dd	__brl_stream_TStreamWrapper_WriteFloat
	dd	__brl_stream_TStreamWrapper_ReadDouble
	dd	__brl_stream_TStreamWrapper_WriteDouble
	dd	__brl_stream_TStreamWrapper_ReadLine
	dd	__brl_stream_TStreamWrapper_WriteLine
	dd	__brl_stream_TStreamWrapper_ReadString
	dd	__brl_stream_TStreamWrapper_WriteString
	dd	__brl_stream_TStreamWrapper_ReadObject
	dd	__brl_stream_TStreamWrapper_WriteObject
	dd	__brl_stream_TStreamWrapper_SetStream
	dd	__brl_stream_TStreamStream_Create
_118:
	db	"TCStream",0
_119:
	db	"MODE_READ",0
_120:
	db	"i",0
	align	4
_121:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	49
_122:
	db	"MODE_WRITE",0
	align	4
_123:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	50
_124:
	db	"_pos",0
_125:
	db	"_size",0
_126:
	db	"_cstream",0
_127:
	db	"_mode",0
_128:
	db	"OpenFile",0
_129:
	db	"($,i,i):TCStream",0
_130:
	db	"CreateWithCStream",0
_131:
	db	"(i,i):TCStream",0
	align	4
_117:
	dd	2
	dd	_118
	dd	1
	dd	_119
	dd	_120
	dd	_121
	dd	1
	dd	_122
	dd	_120
	dd	_123
	dd	3
	dd	_124
	dd	_120
	dd	8
	dd	3
	dd	_125
	dd	_120
	dd	12
	dd	3
	dd	_126
	dd	_120
	dd	16
	dd	3
	dd	_127
	dd	_120
	dd	20
	dd	6
	dd	_53
	dd	_54
	dd	16
	dd	6
	dd	_55
	dd	_54
	dd	20
	dd	6
	dd	_65
	dd	_54
	dd	52
	dd	6
	dd	_66
	dd	_54
	dd	56
	dd	6
	dd	_67
	dd	_68
	dd	60
	dd	6
	dd	_71
	dd	_72
	dd	72
	dd	6
	dd	_73
	dd	_72
	dd	76
	dd	6
	dd	_69
	dd	_54
	dd	64
	dd	6
	dd	_70
	dd	_54
	dd	68
	dd	7
	dd	_128
	dd	_129
	dd	164
	dd	7
	dd	_130
	dd	_131
	dd	168
	dd	0
	align	4
_brl_stream_TCStream:
	dd	_brl_stream_TStream
	dd	_bbObjectFree
	dd	_117
	dd	24
	dd	__brl_stream_TCStream_New
	dd	__brl_stream_TCStream_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__brl_stream_TIO_Eof
	dd	__brl_stream_TCStream_Pos
	dd	__brl_stream_TCStream_Size
	dd	__brl_stream_TCStream_Seek
	dd	__brl_stream_TCStream_Flush
	dd	__brl_stream_TCStream_Close
	dd	__brl_stream_TCStream_Read
	dd	__brl_stream_TCStream_Write
	dd	__brl_stream_TStream_ReadBytes
	dd	__brl_stream_TStream_WriteBytes
	dd	__brl_stream_TStream_SkipBytes
	dd	__brl_stream_TStream_ReadByte
	dd	__brl_stream_TStream_WriteByte
	dd	__brl_stream_TStream_ReadShort
	dd	__brl_stream_TStream_WriteShort
	dd	__brl_stream_TStream_ReadInt
	dd	__brl_stream_TStream_WriteInt
	dd	__brl_stream_TStream_ReadLong
	dd	__brl_stream_TStream_WriteLong
	dd	__brl_stream_TStream_ReadFloat
	dd	__brl_stream_TStream_WriteFloat
	dd	__brl_stream_TStream_ReadDouble
	dd	__brl_stream_TStream_WriteDouble
	dd	__brl_stream_TStream_ReadLine
	dd	__brl_stream_TStream_WriteLine
	dd	__brl_stream_TStream_ReadString
	dd	__brl_stream_TStream_WriteString
	dd	__brl_stream_TStream_ReadObject
	dd	__brl_stream_TStream_WriteObject
	dd	__brl_stream_TCStream_OpenFile
	dd	__brl_stream_TCStream_CreateWithCStream
_133:
	db	"TStreamFactory",0
_134:
	db	"_succ",0
_135:
	db	":TStreamFactory",0
_136:
	db	"CreateStream",0
_137:
	db	"(:Object,$,$,i,i):TStream",0
	align	4
_132:
	dd	2
	dd	_133
	dd	3
	dd	_134
	dd	_135
	dd	8
	dd	6
	dd	_53
	dd	_54
	dd	16
	dd	6
	dd	_55
	dd	_54
	dd	20
	dd	6
	dd	_136
	dd	_137
	dd	48
	dd	0
	align	4
_brl_stream_TStreamFactory:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_132
	dd	12
	dd	__brl_stream_TStreamFactory_New
	dd	__brl_stream_TStreamFactory_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_brl_blitz_NullMethodError
	align	4
_560:
	dd	_bbNullObject
	align	4
_1:
	dd	_bbStringClass
	dd	2147483647
	dd	25
	dw	69,114,114,111,114,32,114,101,97,100,105,110,103,32,102,114
	dw	111,109,32,115,116,114,101,97,109
	align	4
_2:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	69,114,114,111,114,32,119,114,105,116,105,110,103,32,116,111
	dw	32,115,116,114,101,97,109
	align	4
_3:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	83,116,114,101,97,109,32,105,115,32,110,111,116,32,114,101
	dw	97,100,97,98,108,101
	align	4
_4:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	83,116,114,101,97,109,32,105,115,32,110,111,116,32,119,114
	dw	105,116,101,97,98,108,101
_580:
	db	"b",0
_609:
	db	"b",0
_621:
	db	"b",0
_630:
	db	"b",0
	align	4
_18:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	85,110,97,98,108,101,32,116,111,32,114,101,97,100,32,111
	dw	98,106,101,99,116
	align	4
_19:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	85,110,97,98,108,101,32,116,111,32,119,114,105,116,101,32
	dw	111,98,106,101,99,116
	align	4
_25:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	114,43,98
	align	4
_26:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	119,98
	align	4
_27:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	114,98
	align	4
_29:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	47
	align	4
_28:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	92
	align	4
_30:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	58,58
_753:
	db	"b",0
_764:
	db	"b",0
_771:
	db	"b",0
	align	4
_44:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	46
