	format	MS COFF
	extrn	_AdjustWindowRect@12
	extrn	_CreateWindowExW@48
	extrn	_DefWindowProcW@16
	extrn	_DestroyWindow@4
	extrn	_Dx11Max2D_EnumDisplaySettings
	extrn	_GetClientRect@8
	extrn	_GetDesktopWindow@0
	extrn	_GetModuleHandleW@4
	extrn	_GetProcAddress@8
	extrn	_GetWindowRect@8
	extrn	_LoadCursorW@8
	extrn	_LoadLibraryA@4
	extrn	_RegisterClassW@4
	extrn	___bb_blitz_blitz
	extrn	___bb_directx11_directx11
	extrn	___bb_graphics_graphics
	extrn	___bb_linkedlist_linkedlist
	extrn	___bb_retro_retro
	extrn	__brl_graphics_TGraphicsDriver_Delete
	extrn	__brl_graphics_TGraphicsDriver_New
	extrn	__brl_graphics_TGraphics_Delete
	extrn	__brl_graphics_TGraphics_New
	extrn	__brl_graphics_TGraphics__pad
	extrn	_bbAppTitle
	extrn	_bbArrayNew1D
	extrn	_bbArraySlice
	extrn	_bbEmptyArray
	extrn	_bbEmptyString
	extrn	_bbExThrow
	extrn	_bbGCFree
	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	_bbStringToCString
	extrn	_bbStringToWString
	extrn	_bbSystemEmitOSEvent
	extrn	_bbWriteStdout
	extrn	_brl_blitz_NullFunctionError
	extrn	_brl_graphics_GraphicsModes
	extrn	_brl_graphics_TGraphics
	extrn	_brl_graphics_TGraphicsDriver
	extrn	_brl_graphics_TGraphicsMode
	extrn	_brl_linkedlist_TList
	extrn	_pub_win32_WNDCLASSW
	extrn	_srs_directx11_D3D11CreateDevice
	extrn	_srs_directx11_D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS
	extrn	_srs_directx11_D3D11_FEATURE_DATA_DOUBLES
	extrn	_srs_directx11_D3D11_FEATURE_DATA_FORMAT_SUPPORT
	extrn	_srs_directx11_D3D11_FEATURE_DATA_THREADING
	extrn	_srs_directx11_D3D11_QUERY_DESC
	extrn	_srs_directx11_D3D11_VIEWPORT
	extrn	_srs_directx11_DXGI_SWAP_CHAIN_DESC
	extrn	_srs_directx11_IID_ID3D11Texture2D
	extrn	_srs_directx11_IID_IDXGIAdapter
	extrn	_srs_directx11_IID_IDXGIDevice
	extrn	_srs_directx11_IID_IDXGIFactory
	extrn	_srs_directx11__DXGI
	extrn	_srs_directx11__d3d11
	extrn	_srs_directx11__d3dcompiler
	public	___bb_d3d11graphics_d3d11graphics
	public	__srs_d3d11graphics_TD3D11GraphicsDriver_AttachGraphics
	public	__srs_d3d11graphics_TD3D11GraphicsDriver_Create
	public	__srs_d3d11graphics_TD3D11GraphicsDriver_CreateGraphics
	public	__srs_d3d11graphics_TD3D11GraphicsDriver_Delete
	public	__srs_d3d11graphics_TD3D11GraphicsDriver_Flip
	public	__srs_d3d11graphics_TD3D11GraphicsDriver_GraphicsModes
	public	__srs_d3d11graphics_TD3D11GraphicsDriver_New
	public	__srs_d3d11graphics_TD3D11GraphicsDriver_SetGraphics
	public	__srs_d3d11graphics_TD3D11Graphics_AddRelease
	public	__srs_d3d11graphics_TD3D11Graphics_Attach
	public	__srs_d3d11graphics_TD3D11Graphics_Close
	public	__srs_d3d11graphics_TD3D11Graphics_Create
	public	__srs_d3d11graphics_TD3D11Graphics_CreateSwapChain
	public	__srs_d3d11graphics_TD3D11Graphics_Delete
	public	__srs_d3d11graphics_TD3D11Graphics_Driver
	public	__srs_d3d11graphics_TD3D11Graphics_Flip
	public	__srs_d3d11graphics_TD3D11Graphics_GetDirect3DDevice
	public	__srs_d3d11graphics_TD3D11Graphics_GetDirect3DDeviceContext
	public	__srs_d3d11graphics_TD3D11Graphics_GetFeatureLevel
	public	__srs_d3d11graphics_TD3D11Graphics_GetRenderTarget
	public	__srs_d3d11graphics_TD3D11Graphics_GetSettings
	public	__srs_d3d11graphics_TD3D11Graphics_New
	public	__srs_d3d11graphics_TD3D11Release_Delete
	public	__srs_d3d11graphics_TD3D11Release_New
	public	_srs_d3d11graphics_D3D11GetFeatureLevel
	public	_srs_d3d11graphics_D3D11GraphicsDriver
	public	_srs_d3d11graphics_D3D11ShowAllSupportedFeatures
	public	_srs_d3d11graphics_TD3D11Graphics
	public	_srs_d3d11graphics_TD3D11GraphicsDriver
	section	"code" code
___bb_d3d11graphics_d3d11graphics:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	cmp	dword [_307],0
	je	_308
	mov	eax,0
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_308:
	mov	dword [_307],1
	call	___bb_blitz_blitz
	call	___bb_graphics_graphics
	call	___bb_linkedlist_linkedlist
	call	___bb_retro_retro
	call	___bb_directx11_directx11
	push	_15
	call	_bbObjectRegisterType
	add	esp,4
	push	_srs_d3d11graphics_TD3D11Graphics
	call	_bbObjectRegisterType
	add	esp,4
	push	_srs_d3d11graphics_TD3D11GraphicsDriver
	call	_bbObjectRegisterType
	add	esp,4
	mov	eax,dword [_284]
	and	eax,1
	cmp	eax,0
	jne	_285
	push	_12
	call	_bbStringToCString
	add	esp,4
	mov	ebx,eax
	push	ebx
	call	_LoadLibraryA@4
	mov	esi,eax
	push	ebx
	call	_bbMemFree
	add	esp,4
	mov	dword [_283],esi
	or	dword [_284],1
_285:
	cmp	dword [_283],0
	je	_287
	push	_13
	call	_bbStringToCString
	add	esp,4
	mov	esi,eax
	push	esi
	push	dword [_283]
	call	_GetProcAddress@8
	mov	ebx,eax
	push	esi
	call	_bbMemFree
	add	esp,4
	cmp	ebx,0
	jne	_291
	mov	ebx,_brl_blitz_NullFunctionError
_291:
	mov	dword [_286],ebx
_287:
	mov	eax,dword [_284]
	and	eax,2
	cmp	eax,0
	jne	_306
	push	1
	push	_303
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_304],eax
	or	dword [_284],2
_306:
	mov	eax,0
	jmp	_146
_146:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Release_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	_bbObjectCtor
	add	esp,4
	mov	dword [ebx],_15
	mov	dword [ebx+8],0
	mov	eax,0
	jmp	_149
_149:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Release_Delete:
	push	ebp
	mov	ebp,esp
_152:
	mov	eax,0
	jmp	_309
_309:
	mov	esp,ebp
	pop	ebp
	ret
_16:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edi,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	push	_bbNullObject
	push	dword [ebp+20]
	push	ebx
	push	esi
	push	edi
	call	_bbSystemEmitOSEvent
	add	esp,20
	mov	eax,esi
	cmp	eax,16
	je	_312
	cmp	eax,260
	je	_313
	cmp	eax,5
	je	_314
	jmp	_311
_312:
	mov	eax,0
	jmp	_158
_313:
	cmp	ebx,115
	je	_315
	mov	eax,0
	jmp	_158
_315:
	jmp	_311
_314:
	jmp	_311
_311:
	push	dword [ebp+20]
	push	ebx
	push	esi
	push	edi
	call	_DefWindowProcW@16
	jmp	_158
_158:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret	16
_17:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	cmp	dword [_302],0
	je	_316
	add	dword [_302],1
	mov	eax,1
	jmp	_160
_316:
	mov	edx,1
	lea	eax,dword [_297]
	push	eax
	mov	eax,dword [_304]
	lea	eax,byte [eax+24]
	push	eax
	lea	eax,dword [_296]
	push	eax
	push	7
	push	0
	push	0
	push	edx
	push	0
	push	1
	push	0
	call	dword [_srs_directx11_D3D11CreateDevice]
	cmp	eax,0
	jge	_318
	push	_18
	call	_bbExThrow
	add	esp,4
_318:
	mov	eax,dword [_304]
	cmp	dword [eax+24],40960
	jge	_319
	push	_321
	call	_bbExThrow
	add	esp,4
_319:
	push	_srs_directx11_D3D11_QUERY_DESC
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	edx,dword [_296]
	lea	eax,dword [_298]
	push	eax
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+8]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+96]
	cmp	eax,0
	jge	_324
	push	_22
	call	_bbExThrow
	add	esp,4
_324:
	mov	eax,dword [_297]
	push	dword [_298]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+108]
	mov	eax,dword [_299]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_326
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_299]
	dec	dword [eax+4]
	jnz	_330
	push	eax
	call	_bbGCFree
	add	esp,4
_330:
	mov	dword [_299],ebx
_326:
	add	dword [_302],1
	mov	eax,1
	jmp	_160
_160:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_23:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	sub	dword [_302],1
	cmp	dword [_302],0
	je	_331
	mov	eax,0
	jmp	_162
_331:
	mov	esi,dword [_299]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_24
_26:
	push	_15
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	cmp	eax,_bbNullObject
	je	_24
	cmp	dword [eax+8],0
	je	_338
	mov	eax,dword [eax+8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+8]
_338:
_24:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_26
_25:
	mov	eax,dword [_299]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+52]
	add	esp,4
	mov	ebx,_bbNullObject
	inc	dword [ebx+4]
	mov	eax,dword [_299]
	dec	dword [eax+4]
	jnz	_344
	push	eax
	call	_bbGCFree
	add	esp,4
_344:
	mov	dword [_299],ebx
	cmp	dword [_298],0
	je	_345
	mov	eax,dword [_298]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+8]
_345:
	cmp	dword [_297],0
	je	_347
	mov	eax,dword [_297]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+440]
_347:
	cmp	dword [_297],0
	je	_349
	mov	eax,dword [_297]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+8]
_349:
	cmp	dword [_296],0
	je	_351
	mov	eax,dword [_296]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+8]
_351:
	mov	dword [_298],0
	mov	dword [_297],0
	mov	dword [_296],0
	mov	eax,0
	jmp	_162
_162:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_srs_d3d11graphics_D3D11GetFeatureLevel:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [_304]
	mov	eax,dword [eax+24]
	jmp	_164
_164:
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Graphics_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__brl_graphics_TGraphics_New
	add	esp,4
	mov	dword [ebx],_srs_d3d11graphics_TD3D11Graphics
	mov	dword [ebx+8],0
	mov	dword [ebx+12],0
	mov	dword [ebx+16],0
	mov	dword [ebx+20],0
	mov	dword [ebx+24],0
	mov	dword [ebx+28],0
	mov	dword [ebx+32],0
	mov	dword [ebx+36],0
	mov	eax,_bbNullObject
	inc	dword [eax+4]
	mov	dword [ebx+40],eax
	mov	dword [ebx+44],0
	mov	eax,0
	jmp	_167
_167:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Graphics_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_170:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_356
	push	eax
	call	_bbGCFree
	add	esp,4
_356:
	mov	dword [ebx],_brl_graphics_TGraphics
	push	ebx
	call	__brl_graphics_TGraphics_Delete
	add	esp,4
	mov	eax,0
	jmp	_354
_354:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Graphics_GetDirect3DDevice:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [_296]
	jmp	_173
_173:
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Graphics_GetDirect3DDeviceContext:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [_297]
	jmp	_176
_176:
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Graphics_Driver:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [_293]
	jmp	_179
_179:
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Graphics_GetSettings:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ecx,dword [ebp+8]
	mov	esi,dword [ebp+12]
	mov	edi,dword [ebp+20]
	mov	edx,dword [ebp+24]
	mov	eax,dword [ebp+28]
	mov	ebx,dword [ecx+8]
	mov	dword [esi],ebx
	mov	esi,dword [ecx+12]
	mov	ebx,dword [ebp+16]
	mov	dword [ebx],esi
	mov	ebx,dword [ecx+16]
	mov	dword [edi],ebx
	mov	ebx,dword [ecx+20]
	mov	dword [edx],ebx
	mov	edx,dword [ecx+24]
	mov	dword [eax],edx
	mov	eax,0
	jmp	_187
_187:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Graphics_Close:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	cmp	dword [ebx+28],0
	jne	_357
	mov	eax,0
	jmp	_190
_357:
	cmp	dword [ebx+36],0
	je	_358
	mov	eax,dword [ebx+36]
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+40]
_358:
	cmp	dword [ebx+44],0
	je	_360
	mov	eax,dword [ebx+44]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+8]
_360:
	cmp	dword [ebx+36],0
	je	_362
	mov	eax,dword [ebx+36]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+8]
_362:
	call	_23
	cmp	dword [ebx+32],0
	jne	_364
	push	dword [ebx+28]
	call	_DestroyWindow@4
_364:
	mov	dword [ebx+28],0
	mov	dword [_300],0
	mov	eax,0
	jmp	_190
_190:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Graphics_Attach:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+8]
	mov	ebx,dword [ebp+12]
	mov	edi,dword [ebp+16]
	push	4
	push	_365
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+24]
	push	eax
	push	ebx
	call	_GetClientRect@8
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+8+24]
	mov	eax,dword [ebp-4]
	sub	edx,dword [eax+24]
	mov	dword [ebp-12],edx
	mov	eax,dword [ebp-4]
	mov	edx,dword [eax+12+24]
	mov	eax,dword [ebp-4]
	sub	edx,dword [eax+4+24]
	mov	dword [ebp-8],edx
	call	_17
	mov	eax,esi
	push	edi
	push	0
	push	0
	push	dword [ebp-8]
	push	dword [ebp-12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,28
	mov	dword [esi+28],ebx
	mov	eax,dword [ebp-12]
	mov	dword [esi+8],eax
	mov	eax,dword [ebp-8]
	mov	dword [esi+12],eax
	mov	dword [esi+24],edi
	mov	dword [esi+32],1
	mov	eax,esi
	jmp	_195
_195:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Graphics_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	cmp	dword [eax+16],0
	je	_370
	mov	eax,_bbNullObject
	jmp	_203
_370:
	push	_pub_win32_WNDCLASSW
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-4],eax
	mov	ebx,dword [ebp-4]
	push	0
	call	_GetModuleHandleW@4
	mov	dword [ebx+24],eax
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],_16
	mov	ebx,dword [ebp-4]
	mov	eax,32512
	push	eax
	push	0
	call	_LoadCursorW@8
	mov	dword [ebx+32],eax
	mov	ebx,dword [ebp-4]
	push	dword [_294]
	call	_bbStringToWString
	add	esp,4
	mov	dword [ebx+44],eax
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+8]
	push	eax
	call	_RegisterClassW@4
	mov	eax,dword [ebp-4]
	push	dword [eax+44]
	call	_bbMemFree
	add	esp,4
	mov	edi,-1879048192
	push	4
	push	_373
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-12],eax
	cmp	dword [ebp+20],0
	jne	_375
	mov	edi,281673728
	push	4
	push	_376
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp-8]
	lea	eax,dword [eax+24]
	push	eax
	call	_GetDesktopWindow@0
	push	eax
	call	_GetWindowRect@8
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8+24]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	ecx,eax
	mov	eax,dword [ebp+12]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	sub	ecx,eax
	mov	dword [ebx+24],ecx
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+12+24]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	ecx,eax
	mov	eax,dword [ebp+16]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	sub	ecx,eax
	mov	dword [ebx+4+24],ecx
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+24]
	add	eax,dword [ebp+12]
	mov	dword [edx+8+24],eax
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+4+24]
	add	eax,dword [ebp+16]
	mov	dword [edx+12+24],eax
	push	0
	push	edi
	mov	eax,dword [ebp-12]
	lea	eax,dword [eax+24]
	push	eax
	call	_AdjustWindowRect@12
	mov	dword [_300],1
	jmp	_378
_375:
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp+12]
	mov	dword [edx+8+24],eax
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp+16]
	mov	dword [edx+12+24],eax
	mov	dword [_300],0
_378:
	push	dword [_294]
	call	_bbStringToWString
	add	esp,4
	mov	esi,eax
	push	dword [_bbAppTitle]
	call	_bbStringToWString
	add	esp,4
	mov	ebx,eax
	push	0
	push	0
	call	_GetModuleHandleW@4
	push	eax
	push	0
	push	0
	mov	eax,dword [ebp-12]
	mov	edx,dword [eax+12+24]
	mov	eax,dword [ebp-12]
	sub	edx,dword [eax+4+24]
	push	edx
	mov	eax,dword [ebp-12]
	mov	edx,dword [eax+8+24]
	mov	eax,dword [ebp-12]
	sub	edx,dword [eax+24]
	push	edx
	mov	eax,dword [ebp-12]
	push	dword [eax+4+24]
	mov	eax,dword [ebp-12]
	push	dword [eax+24]
	push	edi
	push	ebx
	push	esi
	push	0
	call	_CreateWindowExW@48
	mov	edi,eax
	push	esi
	call	_bbMemFree
	add	esp,4
	push	ebx
	call	_bbMemFree
	add	esp,4
	mov	ebx,edi
	cmp	ebx,0
	jne	_383
	mov	eax,_bbNullObject
	jmp	_203
_383:
	call	_17
	cmp	eax,0
	jne	_384
	push	ebx
	call	_DestroyWindow@4
	mov	eax,_bbNullObject
	jmp	_203
_384:
	cmp	dword [ebp+20],0
	jne	_385
	mov	eax,dword [ebp-12]
	lea	eax,dword [eax+24]
	push	eax
	push	ebx
	call	_GetClientRect@8
	mov	eax,dword [ebp-12]
	mov	edx,dword [eax+8+24]
	mov	eax,dword [ebp-12]
	sub	edx,dword [eax+24]
	mov	dword [ebp+12],edx
	mov	eax,dword [ebp-12]
	mov	edx,dword [eax+12+24]
	mov	eax,dword [ebp-12]
	sub	edx,dword [eax+4+24]
	mov	dword [ebp+16],edx
_385:
	mov	eax,dword [ebp+8]
	cmp	dword [eax+16],0
	jne	_386
	mov	eax,dword [ebp+8]
	push	dword [ebp+28]
	push	dword [ebp+24]
	push	dword [ebp+20]
	push	dword [ebp+16]
	push	dword [ebp+12]
	push	ebx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,28
_386:
	mov	eax,dword [ebp+8]
	mov	dword [eax+28],ebx
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	mov	dword [edx+8],eax
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+16]
	mov	dword [edx+12],eax
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+20]
	mov	dword [edx+16],eax
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+24]
	mov	dword [edx+20],eax
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+28]
	mov	dword [edx+24],eax
	mov	eax,dword [ebp+8]
	jmp	_203
_203:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Graphics_CreateSwapChain:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-24],_bbNullObject
	cmp	dword [ebp+24],0
	je	_390
	mov	ebx,0
	call	_brl_graphics_GraphicsModes
	mov	edx,eax
	mov	eax,edx
	add	eax,24
	mov	ecx,eax
	add	ecx,dword [edx+16]
	mov	edi,ecx
	jmp	_27
_29:
	mov	ecx,dword [eax]
	add	eax,4
	cmp	ecx,_bbNullObject
	je	_27
	mov	esi,dword [ecx+8]
	cmp	dword [ebp+16],esi
	jne	_397
	mov	esi,dword [ecx+12]
	cmp	dword [ebp+20],esi
	jne	_398
	mov	esi,dword [ecx+16]
	cmp	dword [ebp+24],esi
	jne	_399
	mov	ecx,dword [ecx+20]
	cmp	dword [ebp+28],ecx
	jne	_400
	mov	eax,dword [_295]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [ebp-24],eax
	jmp	_28
_400:
_399:
_398:
_397:
	add	ebx,1
_27:
	cmp	eax,edi
	jne	_29
_28:
_390:
	push	_srs_directx11_DXGI_SWAP_CHAIN_DESC
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	dec	dword [eax+4]
	jnz	_404
	push	eax
	call	_bbGCFree
	add	esp,4
_404:
	mov	eax,dword [ebp+8]
	mov	dword [eax+40],ebx
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+48],1
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+40]
	mov	eax,dword [ebp+16]
	mov	dword [edx+8],eax
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+40]
	mov	eax,dword [ebp+20]
	mov	dword [edx+12],eax
	mov	eax,dword [ebp+24]
	cmp	eax,0
	je	_405
	mov	eax,dword [ebp-24]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
_405:
	cmp	eax,0
	je	_407
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+24],28
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+40]
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+20]
	mov	dword [edx+16],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+20],1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+32],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+28],0
	jmp	_408
_407:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+24],28
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+16],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+20],1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+32],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+28],0
_408:
	cmp	dword [ebp+24],0
	je	_409
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+56],0
	jmp	_410
_409:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+56],1
_410:
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+44],32
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+40]
	mov	eax,dword [ebp+12]
	mov	dword [edx+52],eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+60],0
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+64],2
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+36],1
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	mov	dword [eax+40],0
	mov	dword [ebp-12],0
	mov	dword [ebp-8],0
	mov	dword [ebp-4],0
	mov	edx,dword [_296]
	lea	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [_srs_directx11_IID_IDXGIDevice]
	lea	eax,byte [eax+24]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax]
	mov	edx,dword [ebp-4]
	lea	eax,dword [ebp-8]
	push	eax
	mov	eax,dword [_srs_directx11_IID_IDXGIAdapter]
	lea	eax,byte [eax+24]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+24]
	mov	edx,dword [ebp-8]
	lea	eax,dword [ebp-12]
	push	eax
	mov	eax,dword [_srs_directx11_IID_IDXGIFactory]
	lea	eax,byte [eax+24]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+24]
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp+8]
	lea	eax,dword [eax+36]
	push	eax
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+40]
	lea	eax,dword [eax+8]
	push	eax
	push	dword [_296]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+40]
	cmp	eax,0
	jge	_418
	push	_30
	call	_bbExThrow
	add	esp,4
_418:
	mov	eax,dword [ebp-12]
	push	1
	push	dword [ebp+12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+32]
	mov	eax,dword [ebp-4]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+8]
	mov	eax,dword [ebp-8]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+8]
	mov	eax,dword [ebp-12]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+8]
	mov	dword [ebp-16],0
	mov	eax,dword [ebp+8]
	mov	edx,dword [eax+36]
	lea	eax,dword [ebp-16]
	push	eax
	mov	eax,dword [_srs_directx11_IID_ID3D11Texture2D]
	lea	eax,byte [eax+24]
	push	eax
	push	0
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+36]
	cmp	eax,0
	jge	_425
	push	_31
	call	_bbExThrow
	add	esp,4
_425:
	mov	edx,dword [_296]
	mov	eax,dword [ebp+8]
	lea	eax,dword [eax+44]
	push	eax
	push	0
	push	dword [ebp-16]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+36]
	cmp	eax,0
	jge	_427
	push	_32
	call	_bbExThrow
	add	esp,4
_427:
	cmp	dword [ebp-16],0
	je	_428
	mov	eax,dword [ebp-16]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+8]
_428:
	mov	dword [ebp-16],0
	mov	edx,dword [_297]
	push	0
	mov	eax,dword [ebp+8]
	lea	eax,dword [eax+44]
	push	eax
	push	1
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+132]
	push	_srs_directx11_D3D11_VIEWPORT
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-20],eax
	mov	edx,dword [ebp-20]
	mov	eax,dword [ebp+16]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	fstp	dword [edx+16]
	mov	edx,dword [ebp-20]
	mov	eax,dword [ebp+20]
	mov	dword [ebp+-28],eax
	fild	dword [ebp+-28]
	fstp	dword [edx+20]
	mov	eax,dword [ebp-20]
	fldz
	fstp	dword [eax+24]
	mov	eax,dword [ebp-20]
	fld1
	fstp	dword [eax+28]
	mov	eax,dword [ebp-20]
	fldz
	fstp	dword [eax+8]
	mov	eax,dword [ebp-20]
	fldz
	fstp	dword [eax+12]
	mov	edx,dword [_297]
	mov	eax,dword [ebp-20]
	lea	eax,dword [eax+8]
	push	eax
	push	1
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+176]
	mov	eax,0
	jmp	_212
_212:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Graphics_Flip:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	edx,dword [ebp+8]
	mov	eax,dword [ebp+12]
	cmp	eax,0
	je	_433
	mov	eax,dword [edx+36]
	push	0
	push	1
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+32]
	jmp	_435
_433:
	mov	eax,dword [edx+36]
	push	0
	push	0
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+32]
_435:
	mov	eax,0
	jmp	_216
_216:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Graphics_GetRenderTarget:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	mov	eax,dword [eax+44]
	jmp	_219
_219:
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Graphics_GetFeatureLevel:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [_304]
	mov	eax,dword [eax+24]
	jmp	_222
_222:
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11Graphics_AddRelease:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+12]
	push	_15
	call	_bbObjectNew
	add	esp,4
	mov	dword [eax+8],ebx
	mov	edx,dword [_299]
	push	eax
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+68]
	add	esp,8
	mov	eax,0
	jmp	_226
_226:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11GraphicsDriver_New:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	push	ebx
	call	__brl_graphics_TGraphicsDriver_New
	add	esp,4
	mov	dword [ebx],_srs_d3d11graphics_TD3D11GraphicsDriver
	mov	eax,0
	jmp	_229
_229:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11GraphicsDriver_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_232:
	mov	dword [eax],_brl_graphics_TGraphicsDriver
	push	eax
	call	__brl_graphics_TGraphicsDriver_Delete
	add	esp,4
	mov	eax,0
	jmp	_439
_439:
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11GraphicsDriver_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	dword [ebp-20],0
	mov	dword [ebp-4],_bbEmptyArray
	cmp	dword [_srs_directx11__d3d11],0
	jne	_445
	mov	eax,_bbNullObject
	jmp	_235
_445:
	cmp	dword [_srs_directx11__DXGI],0
	jne	_446
	mov	eax,_bbNullObject
	jmp	_235
_446:
	cmp	dword [_srs_directx11__d3dcompiler],0
	jne	_447
	mov	eax,_bbNullObject
	jmp	_235
_447:
	push	4
	push	_103
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [eax+24],45312
	mov	dword [eax+28],45056
	mov	dword [eax+32],41216
	mov	dword [eax+36],40960
	mov	dword [ebp-4],eax
	lea	eax,dword [_297]
	push	eax
	mov	eax,dword [_304]
	lea	eax,dword [eax+24]
	push	eax
	lea	eax,dword [_296]
	push	eax
	push	7
	push	4
	mov	eax,dword [ebp-4]
	lea	eax,byte [eax+24]
	push	eax
	push	1
	push	0
	push	1
	push	0
	call	dword [_srs_directx11_D3D11CreateDevice]
	cmp	eax,0
	jge	_449
	mov	eax,_bbNullObject
	jmp	_235
_449:
	push	4
	push	_450
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],0
	mov	dword [ebp-16],-1
	jmp	_33
_35:
	mov	edi,0
	mov	eax,dword [ebp-8]
	lea	eax,byte [eax+24]
	push	eax
	push	dword [ebp-12]
	call	_Dx11Max2D_EnumDisplaySettings
	add	esp,8
	mov	dword [ebp-16],eax
	mov	ebx,dword [_295]
	mov	eax,ebx
	add	eax,24
	mov	ecx,eax
	mov	eax,ecx
	add	eax,dword [ebx+16]
	mov	edx,eax
	jmp	_36
_38:
	mov	esi,dword [ecx]
	add	ecx,4
	cmp	esi,_bbNullObject
	je	_36
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+24]
	cmp	eax,dword [esi+8]
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_460
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+4+24]
	cmp	eax,dword [esi+12]
	sete	al
	movzx	eax,al
_460:
	cmp	eax,0
	je	_462
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8+24]
	cmp	eax,dword [esi+16]
	sete	al
	movzx	eax,al
_462:
	cmp	eax,0
	je	_464
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+12+24]
	cmp	eax,dword [esi+20]
	sete	al
	movzx	eax,al
_464:
	cmp	eax,0
	je	_466
	mov	edi,1
	add	dword [ebp-12],1
	jmp	_37
_466:
_36:
	cmp	ecx,edx
	jne	_38
_37:
	cmp	edi,0
	jne	_467
	mov	eax,dword [_295]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [_295]
	push	_468
	call	_bbArraySlice
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_295]
	dec	dword [eax+4]
	jnz	_472
	push	eax
	call	_bbGCFree
	add	esp,4
_472:
	mov	dword [_295],ebx
	push	_brl_graphics_TGraphicsMode
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	edx,dword [_295]
	mov	eax,dword [_295]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	eax,dword [edx+eax*4+24]
	dec	dword [eax+4]
	jnz	_476
	push	eax
	call	_bbGCFree
	add	esp,4
_476:
	mov	edx,dword [_295]
	mov	eax,dword [_295]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [edx+eax*4+24],ebx
	mov	edx,dword [_295]
	mov	eax,dword [_295]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edx,dword [edx+eax*4+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+24]
	mov	dword [edx+8],eax
	mov	edx,dword [_295]
	mov	eax,dword [_295]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edx,dword [edx+eax*4+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+4+24]
	mov	dword [edx+12],eax
	mov	edx,dword [_295]
	mov	eax,dword [_295]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edx,dword [edx+eax*4+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8+24]
	mov	dword [edx+16],eax
	mov	edx,dword [_295]
	mov	eax,dword [_295]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edx,dword [edx+eax*4+24]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+12+24]
	mov	dword [edx+20],eax
	add	dword [ebp-12],1
_467:
_33:
	cmp	dword [ebp-16],0
	jne	_35
_34:
	cmp	dword [ebp-20],0
	je	_478
	mov	eax,dword [ebp-20]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+8]
_478:
	cmp	dword [_297],0
	je	_480
	mov	eax,dword [_297]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+8]
	mov	dword [_297],0
_480:
	cmp	dword [_296],0
	je	_482
	mov	eax,dword [_296]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+8]
	mov	dword [_296],0
_482:
	mov	eax,dword [ebp+8]
	jmp	_235
_235:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11GraphicsDriver_GraphicsModes:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [_295]
	jmp	_238
_238:
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11GraphicsDriver_AttachGraphics:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	push	_srs_d3d11graphics_TD3D11Graphics
	call	_bbObjectNew
	add	esp,4
	push	ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,12
	jmp	_243
_243:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11GraphicsDriver_CreateGraphics:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	mov	esi,dword [ebp+12]
	mov	ebx,dword [ebp+16]
	mov	edi,dword [ebp+20]
	push	_srs_d3d11graphics_TD3D11Graphics
	call	_bbObjectNew
	add	esp,4
	push	dword [ebp+28]
	push	dword [ebp+24]
	push	edi
	push	ebx
	push	esi
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,24
	jmp	_251
_251:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11GraphicsDriver_SetGraphics:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+12]
	push	_srs_d3d11graphics_TD3D11Graphics
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_292]
	dec	dword [eax+4]
	jnz	_489
	push	eax
	call	_bbGCFree
	add	esp,4
_489:
	mov	dword [_292],ebx
	cmp	dword [_292],_bbNullObject
	je	_490
	push	_srs_directx11_D3D11_VIEWPORT
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-4],eax
	mov	edx,dword [ebp-4]
	mov	eax,dword [_292]
	mov	eax,dword [eax+8]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	fstp	dword [edx+16]
	mov	edx,dword [ebp-4]
	mov	eax,dword [_292]
	mov	eax,dword [eax+12]
	mov	dword [ebp+-8],eax
	fild	dword [ebp+-8]
	fstp	dword [edx+20]
	mov	eax,dword [ebp-4]
	fldz
	fstp	dword [eax+24]
	mov	eax,dword [ebp-4]
	fld1
	fstp	dword [eax+28]
	mov	eax,dword [ebp-4]
	fldz
	fstp	dword [eax+8]
	mov	eax,dword [ebp-4]
	fldz
	fstp	dword [eax+12]
	mov	edx,dword [_297]
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+8]
	push	eax
	push	1
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+176]
	mov	edx,dword [_297]
	push	0
	mov	eax,dword [_292]
	lea	eax,dword [eax+44]
	push	eax
	push	1
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+132]
_490:
	mov	eax,0
	jmp	_255
_255:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__srs_d3d11graphics_TD3D11GraphicsDriver_Flip:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	edx,dword [ebp+12]
	mov	eax,dword [_292]
	push	edx
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,8
	cmp	dword [_300],0
	jne	_495
	mov	eax,dword [_297]
	push	dword [_298]
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+112]
	mov	dword [ebp-4],0
	jmp	_39
_41:
_39:
	mov	edx,dword [_297]
	push	0
	push	4
	lea	eax,dword [ebp-4]
	push	eax
	push	dword [_298]
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+116]
	cmp	eax,0
	jne	_41
_40:
_495:
	mov	eax,0
	jmp	_259
_259:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_srs_d3d11graphics_D3D11GraphicsDriver:
	push	ebp
	mov	ebp,esp
	push	ebx
	cmp	dword [_499],0
	jne	_500
	push	_srs_d3d11graphics_TD3D11GraphicsDriver
	call	_bbObjectNew
	add	esp,4
	push	eax
	mov	eax,dword [eax]
	call	dword [eax+68]
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_293]
	dec	dword [eax+4]
	jnz	_505
	push	eax
	call	_bbGCFree
	add	esp,4
_505:
	mov	dword [_293],ebx
	mov	dword [_499],1
_500:
	mov	eax,dword [_293]
	jmp	_261
_261:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_srs_d3d11graphics_D3D11ShowAllSupportedFeatures:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
	mov	eax,dword [_296]
	cmp	eax,0
	setne	al
	movzx	eax,al
	cmp	eax,0
	jne	_506
	push	_92
	call	_bbExThrow
	add	esp,4
_506:
	call	_45
	call	_52
	call	_56
	cmp	ebx,0
	je	_507
	push	ebx
	call	_60
	add	esp,4
_507:
	mov	eax,0
	jmp	_264
_264:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_42:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
	cmp	eax,0
	je	_508
	mov	eax,_43
	jmp	_267
_508:
	mov	eax,_44
	jmp	_267
_267:
	mov	esp,ebp
	pop	ebp
	ret
_45:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	push	_srs_directx11_D3D11_FEATURE_DATA_THREADING
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-4],eax
	mov	edx,dword [_296]
	push	8
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+8]
	push	eax
	push	0
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+132]
	cmp	eax,0
	jge	_511
	push	_46
	call	_bbWriteStdout
	add	esp,4
	mov	eax,0
	jmp	_269
_511:
	push	_47
	call	_bbWriteStdout
	add	esp,4
	push	_49
	mov	eax,dword [ebp-4]
	push	dword [eax+8]
	call	_42
	add	esp,4
	push	eax
	push	_48
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbWriteStdout
	add	esp,4
	push	_51
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	_42
	add	esp,4
	push	eax
	push	_50
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbWriteStdout
	add	esp,4
	mov	eax,0
	jmp	_269
_269:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_52:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	push	_srs_directx11_D3D11_FEATURE_DATA_DOUBLES
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-4],eax
	mov	edx,dword [_296]
	push	4
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+8]
	push	eax
	push	1
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+132]
	cmp	eax,0
	jge	_514
	push	_53
	call	_bbWriteStdout
	add	esp,4
	mov	eax,0
	jmp	_271
_514:
	push	_54
	call	_bbWriteStdout
	add	esp,4
	push	_51
	mov	eax,dword [ebp-4]
	push	dword [eax+8]
	call	_42
	add	esp,4
	push	eax
	push	_55
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbWriteStdout
	add	esp,4
	mov	eax,0
	jmp	_271
_271:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_56:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	push	_srs_directx11_D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-4],eax
	mov	edx,dword [_296]
	push	4
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+8]
	push	eax
	push	4
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+132]
	cmp	eax,0
	jge	_517
	push	_57
	call	_bbWriteStdout
	add	esp,4
	mov	eax,0
	jmp	_273
_517:
	push	_58
	call	_bbWriteStdout
	add	esp,4
	push	_51
	mov	eax,dword [ebp-4]
	push	dword [eax+8]
	call	_42
	add	esp,4
	push	eax
	push	_59
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbWriteStdout
	add	esp,4
	mov	eax,0
	jmp	_273
_273:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_60:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	push	edi
	mov	ebx,dword [ebp+8]
	push	_srs_directx11_D3D11_FEATURE_DATA_FORMAT_SUPPORT
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],ebx
	mov	edx,dword [_296]
	push	8
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+8]
	push	eax
	push	2
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+132]
	push	_61
	call	_bbWriteStdout
	add	esp,4
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	_63
	add	esp,4
	push	eax
	call	_bbWriteStdout
	add	esp,4
	mov	edx,dword [_296]
	push	8
	mov	eax,dword [ebp-4]
	lea	eax,dword [eax+8]
	push	eax
	push	3
	push	edx
	mov	eax,dword [edx]
	call	dword [eax+132]
	push	_62
	call	_bbWriteStdout
	add	esp,4
	mov	eax,dword [ebp-4]
	push	dword [eax+12]
	call	_63
	add	esp,4
	push	eax
	call	_bbWriteStdout
	add	esp,4
	mov	eax,0
	jmp	_276
_276:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_63:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	mov	ebx,dword [ebp+8]
	mov	esi,_bbEmptyString
	mov	eax,ebx
	and	eax,1
	cmp	eax,0
	je	_522
	mov	esi,_64
_522:
	mov	eax,ebx
	and	eax,2
	cmp	eax,0
	je	_523
	push	_65
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_523:
	mov	eax,ebx
	and	eax,4
	cmp	eax,0
	je	_524
	push	_66
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_524:
	mov	eax,ebx
	and	eax,8
	cmp	eax,0
	je	_525
	push	_67
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_525:
	mov	eax,ebx
	and	eax,16
	cmp	eax,0
	je	_526
	push	_68
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_526:
	mov	eax,ebx
	and	eax,32
	cmp	eax,0
	je	_527
	push	_69
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_527:
	mov	eax,ebx
	and	eax,64
	cmp	eax,0
	je	_528
	push	_70
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_528:
	mov	eax,ebx
	and	eax,128
	cmp	eax,0
	je	_529
	push	_71
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_529:
	mov	eax,ebx
	and	eax,256
	cmp	eax,0
	je	_530
	push	_72
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_530:
	mov	eax,ebx
	and	eax,512
	cmp	eax,0
	je	_531
	push	_73
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_531:
	mov	eax,ebx
	and	eax,1024
	cmp	eax,0
	je	_532
	push	_74
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_532:
	mov	eax,ebx
	and	eax,2048
	cmp	eax,0
	je	_533
	push	_75
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_533:
	mov	eax,ebx
	and	eax,4096
	cmp	eax,0
	je	_534
	push	_76
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_534:
	mov	eax,ebx
	and	eax,8192
	cmp	eax,0
	je	_535
	push	_77
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_535:
	mov	eax,ebx
	and	eax,16384
	cmp	eax,0
	je	_536
	push	_78
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_536:
	mov	eax,ebx
	and	eax,32768
	cmp	eax,0
	je	_537
	push	_79
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_537:
	mov	eax,ebx
	and	eax,65536
	cmp	eax,0
	je	_538
	push	_80
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_538:
	mov	eax,ebx
	and	eax,131072
	cmp	eax,0
	je	_539
	push	_81
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_539:
	mov	eax,ebx
	and	eax,262144
	cmp	eax,0
	je	_540
	push	_82
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_540:
	mov	eax,ebx
	and	eax,524288
	cmp	eax,0
	je	_541
	push	_83
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_541:
	mov	eax,ebx
	and	eax,1048576
	cmp	eax,0
	je	_542
	push	_84
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_542:
	mov	eax,ebx
	and	eax,2097152
	cmp	eax,0
	je	_543
	push	_85
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_543:
	mov	eax,ebx
	and	eax,4194304
	cmp	eax,0
	je	_544
	push	_86
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_544:
	mov	eax,ebx
	and	eax,8388608
	cmp	eax,0
	je	_545
	push	_87
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_545:
	mov	eax,ebx
	and	eax,16777216
	cmp	eax,0
	je	_546
	push	_88
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_546:
	mov	eax,ebx
	and	eax,33554432
	cmp	eax,0
	je	_547
	push	_89
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_547:
	and	ebx,67108864
	cmp	ebx,0
	je	_548
	push	_90
	push	esi
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
_548:
	push	_1
	push	esi
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_549
	mov	esi,_91
_549:
	mov	eax,esi
	jmp	_279
_279:
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_307:
	dd	0
_94:
	db	"TD3D11Release",0
_95:
	db	"unk",0
_96:
	db	"?IUnknown",0
_97:
	db	"New",0
_98:
	db	"()i",0
_99:
	db	"Delete",0
	align	4
_93:
	dd	2
	dd	_94
	dd	3
	dd	_95
	dd	_96
	dd	8
	dd	6
	dd	_97
	dd	_98
	dd	16
	dd	6
	dd	_99
	dd	_98
	dd	20
	dd	0
	align	4
_15:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_93
	dd	12
	dd	__srs_d3d11graphics_TD3D11Release_New
	dd	__srs_d3d11graphics_TD3D11Release_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_101:
	db	"TD3D11Graphics",0
_102:
	db	"_width",0
_103:
	db	"i",0
_104:
	db	"_height",0
_105:
	db	"_depth",0
_106:
	db	"_hertz",0
_107:
	db	"_flags",0
_108:
	db	"_hwnd",0
_109:
	db	"_attached",0
_110:
	db	"_swapchain",0
_111:
	db	"?IDXGISwapChain",0
_112:
	db	"_sd",0
_113:
	db	":DXGI_SWAP_CHAIN_DESC",0
_114:
	db	"_rendertargetview",0
_115:
	db	"?ID3D11RenderTargetView",0
_116:
	db	"GetDirect3DDevice",0
_117:
	db	"():ID3D11Device",0
_118:
	db	"GetDirect3DDeviceContext",0
_119:
	db	"():ID3D11DeviceContext",0
_120:
	db	"Driver",0
_121:
	db	"():TD3D11GraphicsDriver",0
_122:
	db	"GetSettings",0
_123:
	db	"(*i,*i,*i,*i,*i)i",0
_124:
	db	"Close",0
_125:
	db	"Attach",0
_126:
	db	"(i,i):TD3D11Graphics",0
_127:
	db	"Create",0
_128:
	db	"(i,i,i,i,i):TD3D11Graphics",0
_129:
	db	"CreateSwapChain",0
_130:
	db	"(i,i,i,i,i,i)i",0
_131:
	db	"Flip",0
_132:
	db	"(i)i",0
_133:
	db	"GetRenderTarget",0
_134:
	db	"():ID3D11RenderTargetView",0
_135:
	db	"GetFeatureLevel",0
_136:
	db	"AddRelease",0
_137:
	db	"(:IUnknown)i",0
	align	4
_100:
	dd	2
	dd	_101
	dd	3
	dd	_102
	dd	_103
	dd	8
	dd	3
	dd	_104
	dd	_103
	dd	12
	dd	3
	dd	_105
	dd	_103
	dd	16
	dd	3
	dd	_106
	dd	_103
	dd	20
	dd	3
	dd	_107
	dd	_103
	dd	24
	dd	3
	dd	_108
	dd	_103
	dd	28
	dd	3
	dd	_109
	dd	_103
	dd	32
	dd	3
	dd	_110
	dd	_111
	dd	36
	dd	3
	dd	_112
	dd	_113
	dd	40
	dd	3
	dd	_114
	dd	_115
	dd	44
	dd	6
	dd	_97
	dd	_98
	dd	16
	dd	6
	dd	_99
	dd	_98
	dd	20
	dd	6
	dd	_116
	dd	_117
	dd	64
	dd	6
	dd	_118
	dd	_119
	dd	68
	dd	6
	dd	_120
	dd	_121
	dd	52
	dd	6
	dd	_122
	dd	_123
	dd	56
	dd	6
	dd	_124
	dd	_98
	dd	60
	dd	6
	dd	_125
	dd	_126
	dd	72
	dd	6
	dd	_127
	dd	_128
	dd	76
	dd	6
	dd	_129
	dd	_130
	dd	80
	dd	6
	dd	_131
	dd	_132
	dd	84
	dd	6
	dd	_133
	dd	_134
	dd	88
	dd	6
	dd	_135
	dd	_98
	dd	92
	dd	6
	dd	_136
	dd	_137
	dd	96
	dd	0
	align	4
_srs_d3d11graphics_TD3D11Graphics:
	dd	_brl_graphics_TGraphics
	dd	_bbObjectFree
	dd	_100
	dd	48
	dd	__srs_d3d11graphics_TD3D11Graphics_New
	dd	__srs_d3d11graphics_TD3D11Graphics_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__brl_graphics_TGraphics__pad
	dd	__srs_d3d11graphics_TD3D11Graphics_Driver
	dd	__srs_d3d11graphics_TD3D11Graphics_GetSettings
	dd	__srs_d3d11graphics_TD3D11Graphics_Close
	dd	__srs_d3d11graphics_TD3D11Graphics_GetDirect3DDevice
	dd	__srs_d3d11graphics_TD3D11Graphics_GetDirect3DDeviceContext
	dd	__srs_d3d11graphics_TD3D11Graphics_Attach
	dd	__srs_d3d11graphics_TD3D11Graphics_Create
	dd	__srs_d3d11graphics_TD3D11Graphics_CreateSwapChain
	dd	__srs_d3d11graphics_TD3D11Graphics_Flip
	dd	__srs_d3d11graphics_TD3D11Graphics_GetRenderTarget
	dd	__srs_d3d11graphics_TD3D11Graphics_GetFeatureLevel
	dd	__srs_d3d11graphics_TD3D11Graphics_AddRelease
_139:
	db	"TD3D11GraphicsDriver",0
_140:
	db	"GraphicsModes",0
_141:
	db	"()[]:TGraphicsMode",0
_142:
	db	"AttachGraphics",0
_143:
	db	"CreateGraphics",0
_144:
	db	"SetGraphics",0
_145:
	db	"(:TGraphics)i",0
	align	4
_138:
	dd	2
	dd	_139
	dd	6
	dd	_97
	dd	_98
	dd	16
	dd	6
	dd	_99
	dd	_98
	dd	20
	dd	6
	dd	_127
	dd	_121
	dd	68
	dd	6
	dd	_140
	dd	_141
	dd	48
	dd	6
	dd	_142
	dd	_126
	dd	52
	dd	6
	dd	_143
	dd	_128
	dd	56
	dd	6
	dd	_144
	dd	_145
	dd	60
	dd	6
	dd	_131
	dd	_132
	dd	64
	dd	0
	align	4
_srs_d3d11graphics_TD3D11GraphicsDriver:
	dd	_brl_graphics_TGraphicsDriver
	dd	_bbObjectFree
	dd	_138
	dd	8
	dd	__srs_d3d11graphics_TD3D11GraphicsDriver_New
	dd	__srs_d3d11graphics_TD3D11GraphicsDriver_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__srs_d3d11graphics_TD3D11GraphicsDriver_GraphicsModes
	dd	__srs_d3d11graphics_TD3D11GraphicsDriver_AttachGraphics
	dd	__srs_d3d11graphics_TD3D11GraphicsDriver_CreateGraphics
	dd	__srs_d3d11graphics_TD3D11GraphicsDriver_SetGraphics
	dd	__srs_d3d11graphics_TD3D11GraphicsDriver_Flip
	dd	__srs_d3d11graphics_TD3D11GraphicsDriver_Create
	align	4
_284:
	dd	0
	align	4
_12:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	100,119,109,97,112,105,46,100,108,108
	align	4
_283:
	dd	0
	align	4
_286:
	dd	_brl_blitz_NullFunctionError
	align	4
_13:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	68,119,109,70,108,117,115,104
	align	4
_292:
	dd	_bbNullObject
	align	4
_293:
	dd	_bbNullObject
	align	4
_14:
	dd	_bbStringClass
	dd	2147483647
	dd	25
	dw	66,66,68,88,49,49,68,101,118,105,99,101,32,87,105,110
	dw	100,111,119,32,67,108,97,115,115
	align	4
_294:
	dd	_14
	align	4
_295:
	dd	_bbEmptyArray
	align	4
_296:
	dd	0
	align	4
_297:
	dd	0
	align	4
_298:
	dd	0
	align	4
_299:
	dd	_bbNullObject
	align	4
_300:
	dd	0
	align	4
_301:
	dd	0
	align	4
_302:
	dd	0
_303:
	db	"i",0
	align	4
_304:
	dd	_bbEmptyArray
	align	4
_18:
	dd	_bbStringClass
	dd	2147483647
	dd	41
	dw	67,114,105,116,105,99,97,108,32,69,114,114,111,114,33,10
	dw	67,97,110,110,111,116,32,99,114,101,97,116,101,32,68,51
	dw	68,49,49,68,101,118,105,99,101
	align	4
_321:
	dd	_bbStringClass
	dd	2147483647
	dd	113
	dw	67,114,105,116,105,99,97,108,32,69,114,114,111,114,33,10
	dw	77,97,107,101,32,115,117,114,101,32,121,111,117,114,32,71
	dw	80,85,32,105,115,32,68,120,49,48,47,68,120,49,49,32
	dw	99,111,109,112,97,116,105,98,108,101,32,111,114,10,77,97
	dw	107,101,32,115,117,114,101,32,121,111,117,32,104,97,118,101
	dw	32,116,104,101,32,108,97,116,101,115,116,32,100,114,105,118
	dw	101,114,115,32,102,111,114,32,121,111,117,114,32,71,80,85
	dw	46
	align	4
_22:
	dd	_bbStringClass
	dd	2147483647
	dd	43
	dw	67,114,105,116,105,99,97,108,32,69,114,114,111,114,33,10
	dw	67,97,110,110,111,116,32,99,114,101,97,116,101,32,100,101
	dw	118,105,99,101,32,113,117,101,114,121,33
_365:
	db	"i",0
_373:
	db	"i",0
_376:
	db	"i",0
	align	4
_30:
	dd	_bbStringClass
	dd	2147483647
	dd	40
	dw	67,114,105,116,105,99,97,108,32,69,114,114,111,114,33,10
	dw	67,97,110,110,111,116,32,99,114,101,97,116,101,32,115,119
	dw	97,112,32,99,104,97,105,110
	align	4
_31:
	dd	_bbStringClass
	dd	2147483647
	dd	40
	dw	67,114,105,116,105,99,97,108,32,69,114,114,111,114,33,10
	dw	67,97,110,110,111,116,32,99,114,101,97,116,101,32,98,97
	dw	99,107,98,117,102,102,101,114
	align	4
_32:
	dd	_bbStringClass
	dd	2147483647
	dd	60
	dw	67,114,105,116,105,99,97,108,32,69,114,114,111,114,33,10
	dw	67,97,110,110,111,116,32,99,114,101,97,116,101,32,82,101
	dw	110,100,101,114,84,97,114,103,101,116,86,105,101,119,32,102
	dw	111,114,32,114,101,110,100,101,114,105,110,103
_450:
	db	"i",0
_468:
	db	":TGraphicsMode",0
	align	4
_499:
	dd	0
	align	4
_92:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	68,51,68,49,49,68,101,118,105,99,101,32,105,115,110,116
	dw	32,114,101,97,100,121,33
	align	4
_43:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	89,101,115
	align	4
_44:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	78,111
	align	4
_46:
	dd	_bbStringClass
	dd	2147483647
	dd	75
	dw	87,65,82,78,73,78,71,58,45,10,95,100,51,100,49,49
	dw	100,101,118,46,67,104,101,99,107,70,101,97,116,117,114,101
	dw	83,117,112,112,111,114,116,32,45,32,68,51,68,49,49,95
	dw	70,69,65,84,85,82,69,95,84,72,82,69,65,68,73,78
	dw	71,32,58,32,70,65,73,76,69,68,10
	align	4
_47:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	10,77,117,108,116,105,84,104,114,101,97,100,105,110,103,58
	dw	45,10
	align	4
_49:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	10
	align	4
_48:
	dd	_bbStringClass
	dd	2147483647
	dd	29
	dw	32,32,32,68,114,105,118,101,114,67,111,110,99,117,114,114
	dw	101,110,116,67,114,101,97,116,101,115,32,45,32
	align	4
_51:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	10,10
	align	4
_50:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	32,32,32,68,114,105,118,101,114,67,111,109,109,97,110,100
	dw	76,105,115,116,115,32,45,32
	align	4
_53:
	dd	_bbStringClass
	dd	2147483647
	dd	73
	dw	87,65,82,78,73,78,71,58,45,10,95,100,51,100,49,49
	dw	100,101,118,46,67,104,101,99,107,70,101,97,116,117,114,101
	dw	83,117,112,112,111,114,116,32,45,32,68,51,68,49,49,95
	dw	70,69,65,84,85,82,69,95,68,79,85,66,76,69,83,32
	dw	58,32,70,65,73,76,69,68,10
	align	4
_54:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	68,97,116,97,68,111,117,98,108,101,115,58,45,10
	align	4
_55:
	dd	_bbStringClass
	dd	2147483647
	dd	35
	dw	32,32,32,68,111,117,98,108,101,80,114,101,99,105,115,105
	dw	111,110,70,108,111,97,116,83,104,97,100,101,114,79,112,115
	dw	32,45,32
	align	4
_57:
	dd	_bbStringClass
	dd	2147483647
	dd	74
	dw	87,65,82,78,73,78,71,58,45,10,95,100,51,100,49,49
	dw	100,101,118,46,67,104,101,99,107,70,101,97,116,117,114,101
	dw	83,117,112,112,111,114,116,32,45,32,68,51,68,49,48,95
	dw	72,65,82,68,87,65,82,69,95,79,80,84,73,79,78,83
	dw	32,58,32,70,65,73,76,69,68,10
	align	4
_58:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	68,51,68,49,48,88,72,97,114,100,119,97,114,101,79,112
	dw	116,105,111,110,115,58,45,10
	align	4
_59:
	dd	_bbStringClass
	dd	2147483647
	dd	64
	dw	32,32,32,67,111,109,112,117,116,101,83,104,97,100,101,114
	dw	115,95,80,108,117,115,95,82,97,119,65,110,100,83,116,114
	dw	117,99,116,117,114,101,100,66,117,102,102,101,114,115,95,86
	dw	105,97,95,83,104,97,100,101,114,95,52,95,120,32,45,32
	align	4
_61:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	68,97,116,97,70,111,114,109,97,116,58,45,10
	align	4
_62:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	68,97,116,97,70,111,114,109,97,116,50,58,45,10
	align	4
_64:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,66,85,70,70,69,82,10
	align	4
_65:
	dd	_bbStringClass
	dd	2147483647
	dd	41
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,73,65,95,86,69,82,84,69
	dw	88,95,66,85,70,70,69,82,10
	align	4
_66:
	dd	_bbStringClass
	dd	2147483647
	dd	40
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,73,65,95,73,78,68,69,88
	dw	95,66,85,70,70,69,82,10
	align	4
_67:
	dd	_bbStringClass
	dd	2147483647
	dd	34
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,83,79,95,66,85,70,70,69
	dw	82,10
	align	4
_68:
	dd	_bbStringClass
	dd	2147483647
	dd	34
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,84,69,88,84,85,82,69,49
	dw	68,10
	align	4
_69:
	dd	_bbStringClass
	dd	2147483647
	dd	34
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,84,69,88,84,85,82,69,50
	dw	68,10
	align	4
_70:
	dd	_bbStringClass
	dd	2147483647
	dd	34
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,84,69,88,84,85,82,69,51
	dw	68,10
	align	4
_71:
	dd	_bbStringClass
	dd	2147483647
	dd	36
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,84,69,88,84,85,82,69,67
	dw	85,66,69,10
	align	4
_72:
	dd	_bbStringClass
	dd	2147483647
	dd	36
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,83,72,65,68,69,82,95,76
	dw	79,65,68,10
	align	4
_73:
	dd	_bbStringClass
	dd	2147483647
	dd	38
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,83,72,65,68,69,82,95,83
	dw	65,77,80,76,69,10
	align	4
_74:
	dd	_bbStringClass
	dd	2147483647
	dd	49
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,83,72,65,68,69,82,95,83
	dw	65,77,80,76,69,95,67,79,77,80,65,82,73,83,79,78
	dw	10
	align	4
_75:
	dd	_bbStringClass
	dd	2147483647
	dd	48
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,83,72,65,68,69,82,95,83
	dw	65,77,80,76,69,95,77,79,78,79,95,69,88,73,84,10
	align	4
_76:
	dd	_bbStringClass
	dd	2147483647
	dd	28
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,77,73,80,10
	align	4
_77:
	dd	_bbStringClass
	dd	2147483647
	dd	36
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,77,73,80,95,65,85,84,79
	dw	71,69,78,10
	align	4
_78:
	dd	_bbStringClass
	dd	2147483647
	dd	38
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,82,69,78,68,69,82,95,84
	dw	65,82,71,69,84,10
	align	4
_79:
	dd	_bbStringClass
	dd	2147483647
	dd	34
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,66,76,69,78,68,65,66,76
	dw	69,10
	align	4
_80:
	dd	_bbStringClass
	dd	2147483647
	dd	38
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,68,69,80,84,72,95,83,84
	dw	69,78,67,73,76,10
	align	4
_81:
	dd	_bbStringClass
	dd	2147483647
	dd	37
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,67,80,85,95,76,79,67,75
	dw	65,66,76,69,10
	align	4
_82:
	dd	_bbStringClass
	dd	2147483647
	dd	44
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,77,85,76,73,84,83,65,77
	dw	80,76,69,95,82,69,83,79,76,86,69,10
	align	4
_83:
	dd	_bbStringClass
	dd	2147483647
	dd	32
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,68,73,83,80,76,65,89,10
	align	4
_84:
	dd	_bbStringClass
	dd	2147483647
	dd	47
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,67,65,83,84,95,87,73,84
	dw	72,73,78,95,66,73,84,95,76,65,89,79,85,84,10
	align	4
_85:
	dd	_bbStringClass
	dd	2147483647
	dd	49
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,77,85,76,84,73,83,65,77
	dw	80,76,69,95,82,69,78,68,69,82,84,65,82,71,69,84
	dw	10
	align	4
_86:
	dd	_bbStringClass
	dd	2147483647
	dd	41
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,77,85,76,84,73,83,65,77
	dw	80,76,69,95,76,79,65,68,10
	align	4
_87:
	dd	_bbStringClass
	dd	2147483647
	dd	38
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,83,72,65,68,69,82,95,71
	dw	65,84,72,69,82,10
	align	4
_88:
	dd	_bbStringClass
	dd	2147483647
	dd	41
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,66,65,67,75,95,66,85,70
	dw	70,69,82,95,67,65,83,84,10
	align	4
_89:
	dd	_bbStringClass
	dd	2147483647
	dd	52
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,84,89,80,69,68,95,85,78
	dw	79,82,68,69,82,69,68,95,65,67,67,69,83,83,95,86
	dw	73,69,87,10
	align	4
_90:
	dd	_bbStringClass
	dd	2147483647
	dd	49
	dw	32,32,32,68,51,68,49,49,95,70,79,82,77,65,84,95
	dw	83,85,80,80,79,82,84,95,83,72,65,68,69,82,95,71
	dw	65,84,72,69,82,95,67,79,77,80,65,82,73,83,79,78
	dw	10
	align	4
_1:
	dd	_bbStringClass
	dd	2147483647
	dd	0
	align	4
_91:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	32,32,32,78,111,110,101
