	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IDirectXFileEnumObjectImpl_Create
_IDirectXFileEnumObjectImpl_Create:     ## @IDirectXFileEnumObjectImpl_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TRACE
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	$16, %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_IDirectXFileEnumObject_Vtbl@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rax)
	movl	$1, (%rax)
	movq	%rax, (%rbx)
	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	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%p)\n"

	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
	.comm	_DXFILEERR_BADALLOC,4,2         ## @DXFILEERR_BADALLOC
	.comm	_IDirectXFileEnumObject_Vtbl,4,2 ## @IDirectXFileEnumObject_Vtbl
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_IDirectXFileEnumObjectImpl_Create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IDirectXFileEnumObjectImpl_Create
_IDirectXFileEnumObjectImpl_Create:     ; @IDirectXFileEnumObjectImpl_Create
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, 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, #16
	bl	_HeapAlloc
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _IDirectXFileEnumObject_Vtbl@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IDirectXFileEnumObject_Vtbl@GOTPAGEOFF]
	str	x8, [x0, #8]
	mov	w8, #1
	str	w8, [x0]
	str	x0, [x19]
Lloh7:
	adrp	x8, _S_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _DXFILEERR_BADALLOC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DXFILEERR_BADALLOC@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%p)\n"

	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
	.comm	_DXFILEERR_BADALLOC,4,2         ; @DXFILEERR_BADALLOC
	.comm	_IDirectXFileEnumObject_Vtbl,4,2 ; @IDirectXFileEnumObject_Vtbl
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_IDirectXFileEnumObjectImpl_Create
.subsections_via_symbols
