	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d3d9_initialize_symbols        ## -- Begin function d3d9_initialize_symbols
	.p2align	4, 0x90
_d3d9_initialize_symbols:               ## @d3d9_initialize_symbols
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_d3d9_SDKVersion@GOTPCREL(%rip), %rax
	movl	$31, (%rax)
	movq	_Direct3DCreate9@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_D3D9Create@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_d3d9_deinitialize_symbols
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_d3d9_SDKVersion,4,2            ## @d3d9_SDKVersion
	.comm	_Direct3DCreate9,8,3            ## @Direct3DCreate9
	.comm	_D3D9Create,8,3                 ## @D3D9Create
	.comm	_D3D9CompileShader,8,3          ## @D3D9CompileShader
	.comm	_D3D9CompileShaderFromFile,8,3  ## @D3D9CompileShaderFromFile
	.comm	_D3D9CreateFontIndirect,8,3     ## @D3D9CreateFontIndirect
	.comm	_D3D9CreateTextureFromFile,8,3  ## @D3D9CreateTextureFromFile
	.comm	_D3DXCompileShader,8,3          ## @D3DXCompileShader
	.comm	_D3DXCompileShaderFromFile,8,3  ## @D3DXCompileShaderFromFile
	.comm	_D3DXCreateFontIndirect,8,3     ## @D3DXCreateFontIndirect
	.comm	_D3DXCreateTextureFromFileExA,8,3 ## @D3DXCreateTextureFromFileExA
	.comm	_d3d9_dylib_initialized,4,2     ## @d3d9_dylib_initialized
	.comm	_g_d3d9_dll,8,3                 ## @g_d3d9_dll
	.comm	_g_d3d9x_dll,8,3                ## @g_d3d9x_dll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d3d9_initialize_symbols        ; -- Begin function d3d9_initialize_symbols
	.p2align	2
_d3d9_initialize_symbols:               ; @d3d9_initialize_symbols
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _d3d9_SDKVersion@GOTPAGE
Lloh1:
	ldr	x8, [x8, _d3d9_SDKVersion@GOTPAGEOFF]
	mov	w9, #31
Lloh2:
	str	w9, [x8]
Lloh3:
	adrp	x8, _Direct3DCreate9@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Direct3DCreate9@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _D3D9Create@GOTPAGE
Lloh7:
	ldr	x9, [x9, _D3D9Create@GOTPAGEOFF]
Lloh8:
	str	x8, [x9]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	_d3d9_deinitialize_symbols
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_d3d9_SDKVersion,4,2            ; @d3d9_SDKVersion
	.comm	_Direct3DCreate9,8,3            ; @Direct3DCreate9
	.comm	_D3D9Create,8,3                 ; @D3D9Create
	.comm	_D3D9CompileShader,8,3          ; @D3D9CompileShader
	.comm	_D3D9CompileShaderFromFile,8,3  ; @D3D9CompileShaderFromFile
	.comm	_D3D9CreateFontIndirect,8,3     ; @D3D9CreateFontIndirect
	.comm	_D3D9CreateTextureFromFile,8,3  ; @D3D9CreateTextureFromFile
	.comm	_D3DXCompileShader,8,3          ; @D3DXCompileShader
	.comm	_D3DXCompileShaderFromFile,8,3  ; @D3DXCompileShaderFromFile
	.comm	_D3DXCreateFontIndirect,8,3     ; @D3DXCreateFontIndirect
	.comm	_D3DXCreateTextureFromFileExA,8,3 ; @D3DXCreateTextureFromFileExA
	.comm	_d3d9_dylib_initialized,4,2     ; @d3d9_dylib_initialized
	.comm	_g_d3d9_dll,8,3                 ; @g_d3d9_dll
	.comm	_g_d3d9x_dll,8,3                ; @g_d3d9x_dll
.subsections_via_symbols
