	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_ciffile
_load_ciffile:                          ## @load_ciffile
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	$0, -40(%rbp)
	movl	$24, %edi
	callq	_heap_alloc_zero
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	leaq	8(%rax), %r15
	movq	_ciffileVtbl@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movl	$1, (%rbx)
	leaq	20(%rbx), %rdi
	callq	_list_init
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_list_init
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	callq	_inf_load
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_process_inf
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_7
LBB0_3:
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_inf_free
LBB0_5:
	movq	%r15, %rdi
	callq	_ICifFile_Release
	jmp	LBB0_9
LBB0_6:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	%r15, (%r14)
	movq	_S_OK@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r12d
LBB0_9:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E_FAIL,4,2                     ## @E_FAIL
	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.comm	_ciffileVtbl,4,2                ## @ciffileVtbl
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_load_ciffile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_ciffile
_load_ciffile:                          ; @load_ciffile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x21, x0
	str	xzr, [sp, #8]
	mov	w0, #24
	bl	_heap_alloc_zero
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x8, _ciffileVtbl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ciffileVtbl@GOTPAGEOFF]
	mov	x20, x0
	str	x8, [x20, #8]!
	mov	w8, #1
	mov	x23, x0
	str	w8, [x23], #16
	add	x0, x0, #20
	bl	_list_init
	mov	x0, x23
	bl	_list_init
	add	x1, sp, #8
	mov	x0, x21
	bl	_inf_load
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x1, [sp, #8]
	mov	x0, x22
	bl	_process_inf
	mov	x21, x0
	bl	_FAILED
	cbz	x0, LBB0_7
LBB0_3:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_inf_free
LBB0_5:
	mov	x0, x20
	bl	_ICifFile_Release
	b	LBB0_9
LBB0_6:
Lloh2:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	str	x20, [x19]
Lloh4:
	adrp	x8, _S_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
LBB0_8:
	ldr	w21, [x8]
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_E_FAIL,4,2                     ; @E_FAIL
	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.comm	_ciffileVtbl,4,2                ; @ciffileVtbl
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_load_ciffile
.subsections_via_symbols
