	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IDirectXFileImpl_Create        ## -- Begin function IDirectXFileImpl_Create
	.p2align	4, 0x90
_IDirectXFileImpl_Create:               ## @IDirectXFileImpl_Create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rsi
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rdx
	callq	_TRACE
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	$24, %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %r15
	addq	$8, %r15
	movq	_IDirectXFile_Vtbl@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movq	16(%rbx), %rax
	movl	16(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcpy
	movq	16(%rbx), %rax
	movl	$2, (%rax)
	movq	_TOKEN_DWORD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%rax), %rax
	movl	%ecx, 24(%rax)
	movl	$0, (%rax)
	movq	_TOKEN_FLOAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 56(%rax)
	movl	$1, 32(%rax)
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	48(%rax), %rdx
	movl	%ecx, (%rdx)
	movq	40(%rax), %rax
	movl	$4, (%rax)
	movq	%r15, (%r14)
	movq	_S_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_DXFILEERR_BADALLOC@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%p,%p)\n"

	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
	.comm	_DXFILEERR_BADALLOC,4,2         ## @DXFILEERR_BADALLOC
	.comm	_IDirectXFile_Vtbl,4,2          ## @IDirectXFile_Vtbl
L_.str.1:                               ## @.str.1
	.asciz	"indexColor"

	.comm	_TOKEN_DWORD,4,2                ## @TOKEN_DWORD
	.comm	_TOKEN_FLOAT,4,2                ## @TOKEN_FLOAT
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_S_OK,4,2                       ## @S_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IDirectXFileImpl_Create        ; -- Begin function IDirectXFileImpl_Create
	.p2align	2
_IDirectXFileImpl_Create:               ; @IDirectXFileImpl_Create
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_TRACE
	bl	_GetProcessHeap
Lloh2:
	adrp	x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #24
	bl	_HeapAlloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh5:
	adrp	x8, _IDirectXFile_Vtbl@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IDirectXFile_Vtbl@GOTPAGEOFF]
	mov	x21, x0
	str	x8, [x21, #8]!
	movi.2s	v0, #1
	str	d0, [x0]
	ldr	x8, [x0, #16]
	ldr	w0, [x8, #16]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcpy
	ldr	x8, [x20, #16]
	mov	w9, #2
	str	w9, [x8]
Lloh9:
	adrp	x9, _TOKEN_DWORD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TOKEN_DWORD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldr	x8, [x8, #8]
	str	w9, [x8, #24]
	str	wzr, [x8]
Lloh12:
	adrp	x9, _TOKEN_FLOAT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TOKEN_FLOAT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	str	w9, [x8, #56]
	mov	w9, #1
	str	w9, [x8, #32]
Lloh15:
	adrp	x9, _TRUE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	ldp	x8, x10, [x8, #40]
	str	w9, [x10]
	mov	w9, #4
	str	w9, [x8]
	str	x21, [x19]
Lloh18:
	adrp	x8, _S_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh20:
	adrp	x8, _DXFILEERR_BADALLOC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DXFILEERR_BADALLOC@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%p,%p)\n"

	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
	.comm	_DXFILEERR_BADALLOC,4,2         ; @DXFILEERR_BADALLOC
	.comm	_IDirectXFile_Vtbl,4,2          ; @IDirectXFile_Vtbl
l_.str.1:                               ; @.str.1
	.asciz	"indexColor"

	.comm	_TOKEN_DWORD,4,2                ; @TOKEN_DWORD
	.comm	_TOKEN_FLOAT,4,2                ; @TOKEN_FLOAT
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_S_OK,4,2                       ; @S_OK
.subsections_via_symbols
