	format	MS COFF
	extrn	_GetProcAddress@8
	extrn	_LoadLibraryA@4
	extrn	___bb_blitz_blitz
	extrn	___bb_directx11_d3dcommon
	extrn	___bb_system_system
	extrn	_bbMemFree
	extrn	_bbStringClass
	extrn	_bbStringToCString
	extrn	_brl_blitz_NullFunctionError
	public	___bb_directx11_d3dcompiler
	public	_srs_directx11_D3DCompile
	public	_srs_directx11_D3DCreateBlob
	public	_srs_directx11__d3dcompiler
	section	"code" code
___bb_directx11_d3dcompiler:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	push	edi
	cmp	dword [_31],0
	je	_32
	mov	eax,0
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_32:
	mov	dword [_31],1
	call	___bb_blitz_blitz
	call	___bb_system_system
	call	___bb_directx11_d3dcommon
	mov	eax,dword [_18]
	and	eax,1
	cmp	eax,0
	jne	_19
	push	_11
	call	_bbStringToCString
	add	esp,4
	mov	esi,eax
	push	esi
	call	_LoadLibraryA@4
	mov	ebx,eax
	push	esi
	call	_bbMemFree
	add	esp,4
	mov	dword [_srs_directx11__d3dcompiler],ebx
	or	dword [_18],1
_19:
	cmp	dword [_srs_directx11__d3dcompiler],0
	jne	_20
	mov	eax,0
	jmp	_14
_20:
	mov	eax,dword [_18]
	and	eax,2
	cmp	eax,0
	jne	_25
	push	_12
	call	_bbStringToCString
	add	esp,4
	mov	esi,eax
	push	esi
	push	dword [_srs_directx11__d3dcompiler]
	call	_GetProcAddress@8
	mov	ebx,eax
	push	esi
	call	_bbMemFree
	add	esp,4
	cmp	ebx,0
	jne	_24
	mov	ebx,_brl_blitz_NullFunctionError
_24:
	mov	dword [_srs_directx11_D3DCreateBlob],ebx
	or	dword [_18],2
_25:
	mov	eax,dword [_18]
	and	eax,4
	cmp	eax,0
	jne	_30
	push	_13
	call	_bbStringToCString
	add	esp,4
	mov	esi,eax
	push	esi
	push	dword [_srs_directx11__d3dcompiler]
	call	_GetProcAddress@8
	mov	ebx,eax
	push	esi
	call	_bbMemFree
	add	esp,4
	cmp	ebx,0
	jne	_29
	mov	ebx,_brl_blitz_NullFunctionError
_29:
	mov	dword [_srs_directx11_D3DCompile],ebx
	or	dword [_18],4
_30:
	mov	eax,0
	jmp	_14
_14:
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_31:
	dd	0
	align	4
_18:
	dd	0
	align	4
_11:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	100,51,100,99,111,109,112,105,108,101,114,95,52,51,46,100
	dw	108,108
	align	4
_srs_directx11__d3dcompiler:
	dd	0
	align	4
_12:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	68,51,68,67,114,101,97,116,101,66,108,111,98
	align	4
_srs_directx11_D3DCreateBlob:
	dd	_brl_blitz_NullFunctionError
	align	4
_13:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	68,51,68,67,111,109,112,105,108,101
	align	4
_srs_directx11_D3DCompile:
	dd	_brl_blitz_NullFunctionError
