	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IsoLookupFile
_IsoLookupFile:                         ## @IsoLookupFile
	.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	$1128, %rsp                     ## imm = 0x468
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SECTORSIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TRACE
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_RtlZeroMemory
	leaq	-1120(%rbp), %rdi
	movl	$8, %esi
	callq	_RtlZeroMemory
	movq	$0, -1152(%rbp)
	movl	(%r15), %eax
	shll	$4, %eax
	movl	%eax, -1160(%rbp)
	movq	_SeekAbsolute@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-1160(%rbp), %rsi
	movl	%r13d, %edi
	callq	_ArcSeek
	movq	_ESUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.1:
	movl	(%r15), %edx
	leaq	-1132(%rbp), %rcx
	movl	%r13d, %edi
	movq	%r14, %rsi
	callq	_ArcRead
	movq	_ESUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	cmpl	$3, -1132(%rbp)
	jbe	LBB0_3
## %bb.4:
	movl	%r13d, -1128(%rbp)              ## 4-byte Spill
	movq	%r12, -1144(%rbp)               ## 8-byte Spill
	movl	(%r14), %eax
	movl	%eax, -1108(%rbp)               ## 4-byte Spill
	movl	4(%r14), %r13d
	movq	%rbx, %rdi
	callq	_FsGetNumPathParts
	movl	%eax, -1124(%rbp)               ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_16
## %bb.5:
	xorl	%r15d, %r15d
	leaq	-1104(%rbp), %r14
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %r14
	je	LBB0_16
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_FsGetFirstNameFromPath
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%rbx
	movzbl	-1(%rbx), %eax
	testb	%al, %al
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpb	$47, %al
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpb	$92, %al
	jne	LBB0_7
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-1128(%rbp), %edi               ## 4-byte Reload
	movl	-1108(%rbp), %esi               ## 4-byte Reload
	movl	%r13d, %edx
	leaq	-1112(%rbp), %rcx
	callq	_IsoBufferDirectory
	movq	_ESUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-1112(%rbp), %edi
	movl	%r13d, %esi
	movq	%r14, %r12
	movq	%r14, %rdx
	leaq	-1120(%rbp), %rcx
	callq	_IsoSearchDirectoryBufferForFile
	movl	%eax, %r14d
	movl	-1112(%rbp), %edi
	movq	_TAG_ISO_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FrLdrTempFree
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	incl	%r15d
	cmpl	-1124(%rbp), %r15d              ## 4-byte Folded Reload
	jge	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-1120(%rbp), %eax
	movl	%eax, -1108(%rbp)               ## 4-byte Spill
	movl	-1116(%rbp), %r13d
	jmp	LBB0_15
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_16:
	leaq	-1120(%rbp), %rsi
	movq	-1144(%rbp), %rdi               ## 8-byte Reload
	movl	$8, %edx
	callq	_RtlCopyMemory
	movq	_ESUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_12:
	movq	_ENOENT@GOTPCREL(%rip), %rax
LBB0_17:
	movq	(%rax), %rax
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_20
## %bb.19:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SECTORSIZE,4,2                 ## @SECTORSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IsoLookupFile() FileName = %s\n"

	.comm	_SeekAbsolute,4,2               ## @SeekAbsolute
	.comm	_ESUCCESS,8,3                   ## @ESUCCESS
	.comm	_EIO,8,3                        ## @EIO
	.comm	_TAG_ISO_BUFFER,4,2             ## @TAG_ISO_BUFFER
	.comm	_ENOENT,8,3                     ## @ENOENT
	.no_dead_strip	_IsoLookupFile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IsoLookupFile
_IsoLookupFile:                         ; @IsoLookupFile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #1104
	mov	x19, sp
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x23, _SECTORSIZE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SECTORSIZE@GOTPAGEOFF]
	ldr	w8, [x23]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x24, x9, x8
	mov	sp, x24
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_TRACE
	mov	x0, x20
	mov	w1, #8
	bl	_RtlZeroMemory
	add	x0, x19, #32
	mov	w1, #8
	bl	_RtlZeroMemory
	str	xzr, [x19, #24]
	ldr	w8, [x23]
	lsl	w8, w8, #4
	str	w8, [x19, #16]
Lloh9:
	adrp	x8, _SeekAbsolute@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SeekAbsolute@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x1, x19, #16
	mov	x0, x21
	bl	_ArcSeek
Lloh12:
	adrp	x27, _ESUCCESS@GOTPAGE
Lloh13:
	ldr	x27, [x27, _ESUCCESS@GOTPAGEOFF]
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.1:
	ldr	w2, [x23]
	add	x3, x19, #12
	mov	x0, x21
	mov	x1, x24
	bl	_ArcRead
	ldr	x8, [x27]
	ldr	w9, [x19, #12]
	cmp	x0, x8
	ccmp	w9, #3, #0, eq
	b.hi	LBB0_4
; %bb.2:
Lloh14:
	adrp	x8, _EIO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_3:
	ldr	x0, [x8]
	b	LBB0_14
LBB0_4:
	ldp	w23, w24, [x24]
	mov	x0, x22
	bl	_FsGetNumPathParts
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.5:
	mov	x25, x0
	mov	w28, #0
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	add	x0, x19, #44
	mov	x1, x22
	bl	_FsGetFirstNameFromPath
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x22, x22, #1
	ldurb	w8, [x22, #-1]
	cbz	w8, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	w8, #47
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	w8, #92
	b.ne	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x3, x19, #40
	mov	x0, x21
	mov	x1, x23
	mov	x2, x24
	bl	_IsoBufferDirectory
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19, #40]
	add	x2, x19, #44
	add	x3, x19, #32
	mov	x1, x24
	bl	_IsoSearchDirectoryBufferForFile
	mov	x26, x0
	ldr	w0, [x19, #40]
Lloh16:
	adrp	x8, _TAG_ISO_BUFFER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TAG_ISO_BUFFER@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_FrLdrTempFree
	cbz	w26, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	add	w28, w28, #1
	ldp	w8, w9, [x19, #32]
	cmp	w28, w25
	csel	w23, w8, w23, lt
	csel	w24, w9, w24, lt
	b.ne	LBB0_6
LBB0_13:
	add	x1, x19, #32
	mov	x0, x20
	mov	w2, #8
	bl	_RtlCopyMemory
	ldr	x0, [x27]
LBB0_14:
	ldur	x8, [x29, #-96]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.15:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh22:
	adrp	x8, _ENOENT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_3
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SECTORSIZE,4,2                 ; @SECTORSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IsoLookupFile() FileName = %s\n"

	.comm	_SeekAbsolute,4,2               ; @SeekAbsolute
	.comm	_ESUCCESS,8,3                   ; @ESUCCESS
	.comm	_EIO,8,3                        ; @EIO
	.comm	_TAG_ISO_BUFFER,4,2             ; @TAG_ISO_BUFFER
	.comm	_ENOENT,8,3                     ; @ENOENT
	.no_dead_strip	_IsoLookupFile
.subsections_via_symbols
