	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InfOpenFile                    ## -- Begin function InfOpenFile
	.p2align	4, 0x90
_InfOpenFile:                           ## @InfOpenFile
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %rax
	movq	%rdi, %r14
	movq	$0, (%rdi)
	movl	$-1, (%rdx)
	movq	_OpenReadOnly@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-44(%rbp), %rdx
	movl	%eax, %edi
	callq	_ArcOpen
	movq	_ESUCCESS@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_15
## %bb.1:
	movl	-44(%rbp), %edi
	leaq	-80(%rbp), %rsi
	callq	_ArcGetFileInformation
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.2:
	cmpq	$0, -80(%rbp)
	jne	LBB0_10
## %bb.3:
	movslq	-72(%rbp), %r12
	leal	1(%r12), %edi
	movq	_TAG_INF_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FrLdrTempAlloc
	movl	-44(%rbp), %edi
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	leaq	-64(%rbp), %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	movl	%r12d, %edx
	callq	_ArcRead
	movq	%rax, %r13
	movq	(%r15), %r15
	movl	-64(%rbp), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %edi
	callq	_ArcClose
	cmpq	%r15, %r13
	jne	LBB0_12
## %bb.5:
	cmpl	%r12d, -60(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_12
## %bb.6:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	$0, (%r15,%r12,8)
	movq	_TAG_INF_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_FrLdrTempAlloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	movq	%rax, %r13
	leaq	(%r15,%r12,8), %r12
	movq	%rax, %rdi
	movl	$4, %esi
	callq	_RtlZeroMemory
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_InfpParseBuffer
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	_TAG_INF_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_FrLdrTempFree
	xorl	%r13d, %r13d
LBB0_9:
	movq	_TAG_INF_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_FrLdrTempFree
	movq	%r13, (%r14)
	jmp	LBB0_16
LBB0_10:
	movl	-44(%rbp), %edi
LBB0_11:
	callq	_ArcClose
	jmp	LBB0_15
LBB0_12:
	movq	_TAG_INF_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_13:
	movq	_TAG_INF_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
LBB0_14:
	callq	_FrLdrTempFree
LBB0_15:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OpenReadOnly,4,2               ## @OpenReadOnly
	.comm	_ESUCCESS,8,3                   ## @ESUCCESS
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TAG_INF_FILE,4,2               ## @TAG_INF_FILE
	.comm	_TAG_INF_CACHE,4,2              ## @TAG_INF_CACHE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InfOpenFile                    ; -- Begin function InfOpenFile
	.p2align	2
_InfOpenFile:                           ; @InfOpenFile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x8, x1
	mov	x19, x0
	str	xzr, [x0]
	mov	w9, #-1
	str	w9, [x2]
Lloh0:
	adrp	x9, _OpenReadOnly@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OpenReadOnly@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x8
	bl	_ArcOpen
Lloh3:
	adrp	x25, _ESUCCESS@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ESUCCESS@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.1:
	ldr	w0, [sp, #12]
	add	x1, sp, #16
	bl	_ArcGetFileInformation
	ldr	x8, [x25]
	ldr	x9, [sp, #16]
	cmp	x0, x8
	ccmp	x9, #0, #0, eq
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [sp, #12]
	b	LBB0_9
LBB0_3:
	ldrsw	x22, [sp, #24]
	add	w0, w22, #1
Lloh5:
	adrp	x24, _TAG_INF_FILE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _TAG_INF_FILE@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_FrLdrTempAlloc
	mov	x21, x0
	ldr	w0, [sp, #12]
	cbz	x21, LBB0_9
; %bb.4:
	add	x3, sp, #8
	mov	x1, x21
	mov	x2, x22
	bl	_ArcRead
	mov	x23, x0
	ldr	x25, [x25]
	ldp	w26, w0, [sp, #8]
	bl	_ArcClose
	cmp	x23, x25
	ccmp	w26, w22, #0, eq
	b.ne	LBB0_10
; %bb.5:
	add	x23, x21, x22, lsl #3
	str	xzr, [x23]
Lloh7:
	adrp	x25, _TAG_INF_CACHE@GOTPAGE
Lloh8:
	ldr	x25, [x25, _TAG_INF_CACHE@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	w0, #4
	bl	_FrLdrTempAlloc
	cbz	x0, LBB0_10
; %bb.6:
	mov	x22, x0
	mov	w1, #4
	bl	_RtlZeroMemory
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x3, x20
	bl	_InfpParseBuffer
	mov	x20, x0
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	w1, [x25]
	mov	x0, x22
	bl	_FrLdrTempFree
	mov	x22, #0
LBB0_8:
	ldr	w1, [x24]
	mov	x0, x21
	bl	_FrLdrTempFree
	str	x22, [x19]
	b	LBB0_12
LBB0_9:
	bl	_ArcClose
	b	LBB0_11
LBB0_10:
	ldr	w1, [x24]
	mov	x0, x21
	bl	_FrLdrTempFree
LBB0_11:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_OpenReadOnly,4,2               ; @OpenReadOnly
	.comm	_ESUCCESS,8,3                   ; @ESUCCESS
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TAG_INF_FILE,4,2               ; @TAG_INF_FILE
	.comm	_TAG_INF_CACHE,4,2              ; @TAG_INF_CACHE
.subsections_via_symbols
