	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d3d8_initialize_symbols        ## -- Begin function d3d8_initialize_symbols
	.p2align	4, 0x90
_d3d8_initialize_symbols:               ## @d3d8_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	_SDKVersion@GOTPCREL(%rip), %rax
	movl	$220, (%rax)
	movq	_Direct3DCreate8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_D3DCreate@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_d3d8_deinitialize_symbols
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDKVersion,4,2                 ## @SDKVersion
	.comm	_Direct3DCreate8,8,3            ## @Direct3DCreate8
	.comm	_D3DCreate,8,3                  ## @D3DCreate
	.comm	_D3DCreateFontIndirect,8,3      ## @D3DCreateFontIndirect
	.comm	_D3DCreateTextureFromFile,8,3   ## @D3DCreateTextureFromFile
	.comm	_D3DXCreateFontIndirect,8,3     ## @D3DXCreateFontIndirect
	.comm	_D3DXCreateTextureFromFileExA,8,3 ## @D3DXCreateTextureFromFileExA
	.comm	_dylib_initialized,4,2          ## @dylib_initialized
	.comm	_g_d3d8_dll,8,3                 ## @g_d3d8_dll
	.comm	_g_d3d8x_dll,8,3                ## @g_d3d8x_dll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d3d8_initialize_symbols        ; -- Begin function d3d8_initialize_symbols
	.p2align	2
_d3d8_initialize_symbols:               ; @d3d8_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, _SDKVersion@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDKVersion@GOTPAGEOFF]
	mov	w9, #220
Lloh2:
	str	w9, [x8]
Lloh3:
	adrp	x8, _Direct3DCreate8@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Direct3DCreate8@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _D3DCreate@GOTPAGE
Lloh7:
	ldr	x9, [x9, _D3DCreate@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	_d3d8_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	_SDKVersion,4,2                 ; @SDKVersion
	.comm	_Direct3DCreate8,8,3            ; @Direct3DCreate8
	.comm	_D3DCreate,8,3                  ; @D3DCreate
	.comm	_D3DCreateFontIndirect,8,3      ; @D3DCreateFontIndirect
	.comm	_D3DCreateTextureFromFile,8,3   ; @D3DCreateTextureFromFile
	.comm	_D3DXCreateFontIndirect,8,3     ; @D3DXCreateFontIndirect
	.comm	_D3DXCreateTextureFromFileExA,8,3 ; @D3DXCreateTextureFromFileExA
	.comm	_dylib_initialized,4,2          ; @dylib_initialized
	.comm	_g_d3d8_dll,8,3                 ; @g_d3d8_dll
	.comm	_g_d3d8x_dll,8,3                ; @g_d3d8x_dll
.subsections_via_symbols
