	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inf_load                       ## -- Begin function inf_load
	.p2align	4, 0x90
_inf_load:                              ## @inf_load
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_E_FAIL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r15d
	movq	_GENERIC_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OPEN_EXISTING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_FILE_ATTRIBUTE_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	$0, (%rsp)
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_CreateFileA
	movq	%rax, %r13
	movq	_INVALID_HANDLE_VALUE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %r15d
	jmp	LBB0_11
LBB0_2:
	movl	$24, %edi
	callq	_heap_alloc_zero
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%rax, %r12
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_GetFileSizeEx
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	movl	-48(%rbp), %edi
	movl	%edi, (%r12)
	callq	_heap_alloc_zero
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%r12, %rdi
	addq	$16, %rdi
	callq	_list_init
	movq	8(%r12), %rsi
	movl	(%r12), %edx
	leaq	-52(%rbp), %rcx
	movq	%r13, %rdi
	xorl	%r8d, %r8d
	callq	_ReadFile
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movl	-52(%rbp), %eax
	cmpl	(%r12), %eax
	jne	LBB0_9
## %bb.7:
	movq	%r12, %rdi
	callq	_inf_process_content
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_8
LBB0_9:
	movq	%r12, %rdi
	callq	_inf_free
LBB0_10:
	movq	%r13, %rdi
	callq	_CloseHandle
LBB0_11:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r13, %rdi
	callq	_CloseHandle
	movq	%r12, (%r14)
	movq	_S_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_E_FAIL,4,2                     ## @E_FAIL
	.comm	_GENERIC_READ,4,2               ## @GENERIC_READ
	.comm	_OPEN_EXISTING,4,2              ## @OPEN_EXISTING
	.comm	_FILE_ATTRIBUTE_NORMAL,4,2      ## @FILE_ATTRIBUTE_NORMAL
	.comm	_INVALID_HANDLE_VALUE,8,3       ## @INVALID_HANDLE_VALUE
	.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	_inf_load                       ; -- Begin function inf_load
	.p2align	2
_inf_load:                              ; @inf_load
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
Lloh0:
	adrp	x22, _E_FAIL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _E_FAIL@GOTPAGEOFF]
	ldr	w19, [x22]
Lloh2:
	adrp	x8, _GENERIC_READ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GENERIC_READ@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _OPEN_EXISTING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OPEN_EXISTING@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
Lloh8:
	adrp	x8, _FILE_ATTRIBUTE_NORMAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FILE_ATTRIBUTE_NORMAL@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	mov	w2, #0
	mov	x3, #0
	mov	x6, #0
	bl	_CreateFileA
Lloh11:
	adrp	x8, _INVALID_HANDLE_VALUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INVALID_HANDLE_VALUE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w19, [x22]
	b	LBB0_10
LBB0_2:
	mov	x21, x0
	mov	w0, #24
	bl	_heap_alloc_zero
	cbz	x0, LBB0_9
; %bb.3:
	mov	x22, x0
	add	x1, sp, #8
	mov	x0, x21
	bl	_GetFileSizeEx
	cbz	w0, LBB0_8
; %bb.4:
	ldr	w0, [sp, #8]
	str	w0, [x22]
	bl	_heap_alloc_zero
	str	x0, [x22, #8]
	cbz	x0, LBB0_8
; %bb.5:
	add	x0, x22, #16
	bl	_list_init
	ldr	x1, [x22, #8]
	ldr	w2, [x22]
	add	x3, sp, #4
	mov	x0, x21
	mov	x4, #0
	bl	_ReadFile
	cbz	w0, LBB0_8
; %bb.6:
	ldr	w8, [sp, #4]
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x22
	bl	_inf_process_content
	mov	x19, x0
	bl	_FAILED
	cbz	x0, LBB0_11
LBB0_8:
	mov	x0, x22
	bl	_inf_free
LBB0_9:
	mov	x0, x21
	bl	_CloseHandle
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_11:
	mov	x0, x21
	bl	_CloseHandle
	str	x22, [x20]
Lloh14:
	adrp	x8, _S_OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh16:
	ldr	w19, [x8]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_E_FAIL,4,2                     ; @E_FAIL
	.comm	_GENERIC_READ,4,2               ; @GENERIC_READ
	.comm	_OPEN_EXISTING,4,2              ; @OPEN_EXISTING
	.comm	_FILE_ATTRIBUTE_NORMAL,4,2      ; @FILE_ATTRIBUTE_NORMAL
	.comm	_INVALID_HANDLE_VALUE,8,3       ; @INVALID_HANDLE_VALUE
	.comm	_S_OK,4,2                       ; @S_OK
.subsections_via_symbols
