	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IsoMount                       ## -- Begin function IsoMount
	.p2align	4, 0x90
_IsoMount:                              ## @IsoMount
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%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
	movl	%ebx, %esi
	callq	_TRACE
	movq	$0, -56(%rbp)
	movl	(%r15), %eax
	shll	$4, %eax
	movl	%eax, -64(%rbp)
	movq	_SeekAbsolute@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rsi
	movl	%ebx, %edi
	callq	_ArcSeek
	movq	_ESUCCESS@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_6
## %bb.1:
	movl	(%r15), %edx
	leaq	-44(%rbp), %rcx
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_ArcRead
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	(%r12), %rcx
	jne	LBB0_7
## %bb.2:
	cmpl	$4, -44(%rbp)
	jb	LBB0_7
## %bb.3:
	cmpl	$1, (%r14)
	jne	LBB0_6
## %bb.4:
	movl	4(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$5, %edx
	callq	_RtlEqualMemory
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	callq	_TRACE
	movq	_Iso9660FuncTable@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_11
## %bb.8:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SECTORSIZE,4,2                 ## @SECTORSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter IsoMount(%lu)\n"

	.comm	_SeekAbsolute,4,2               ## @SeekAbsolute
	.comm	_ESUCCESS,8,3                   ## @ESUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"CD001"

L_.str.2:                               ## @.str.2
	.asciz	"IsoMount(%lu) success\n"

	.comm	_Iso9660FuncTable,4,2           ## @Iso9660FuncTable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IsoMount                       ; -- Begin function IsoMount
	.p2align	2
_IsoMount:                              ; @IsoMount
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x21, _SECTORSIZE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SECTORSIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	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	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_TRACE
	stur	xzr, [x29, #-48]
	ldr	w8, [x21]
	lsl	w8, w8, #4
	stur	w8, [x29, #-56]
Lloh9:
	adrp	x8, _SeekAbsolute@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SeekAbsolute@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	sub	x1, x29, #56
	mov	x0, x19
	bl	_ArcSeek
	mov	x8, x0
	mov	x0, #0
Lloh12:
	adrp	x22, _ESUCCESS@GOTPAGE
Lloh13:
	ldr	x22, [x22, _ESUCCESS@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	ldr	w2, [x21]
	sub	x3, x29, #60
	mov	x0, x19
	mov	x1, x20
	bl	_ArcRead
	ldr	x8, [x22]
	ldur	w9, [x29, #-60]
	cmp	x0, x8
	ccmp	w9, #4, #0, eq
	b.lo	LBB0_5
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.3:
	ldr	w0, [x20, #4]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #5
	bl	_RtlEqualMemory
	cbz	x0, LBB0_6
; %bb.4:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_TRACE
Lloh18:
	adrp	x0, _Iso9660FuncTable@GOTPAGE
Lloh19:
	ldr	x0, [x0, _Iso9660FuncTable@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	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 AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SECTORSIZE,4,2                 ; @SECTORSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter IsoMount(%lu)\n"

	.comm	_SeekAbsolute,4,2               ; @SeekAbsolute
	.comm	_ESUCCESS,8,3                   ; @ESUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"CD001"

l_.str.2:                               ; @.str.2
	.asciz	"IsoMount(%lu) success\n"

	.comm	_Iso9660FuncTable,4,2           ; @Iso9660FuncTable
.subsections_via_symbols
