	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grub_iso9660_open
_grub_iso9660_open:                     ## @grub_iso9660_open
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	_my_mod@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_grub_dl_ref
	movq	24(%r14), %rax
	movl	(%rax), %edi
	callq	_grub_iso9660_mount
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, -56(%rbp)
	movl	12(%rbx), %edi
	callq	_grub_le_to_cpu32
	movq	%rax, -64(%rbp)
	movl	8(%rbx), %edi
	callq	_grub_le_to_cpu32
	movq	%rax, -72(%rbp)
	movq	_grub_iso9660_iterate_dir@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_grub_iso9660_read_symlink@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_GRUB_FSHELP_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	-72(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%r8d, %r8d
	callq	_grub_fshelp_find_file
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movl	(%r13), %edi
	callq	_grub_dl_unref
	movq	%rbx, %rdi
	callq	_grub_free
	movq	_grub_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_4
LBB0_2:
	movq	-48(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, (%rbx)
	movq	%rbx, 16(%r14)
	movq	-48(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	$0, (%r14)
LBB0_4:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_my_mod,4,2                     ## @my_mod
	.comm	_grub_iso9660_iterate_dir,4,2   ## @grub_iso9660_iterate_dir
	.comm	_grub_iso9660_read_symlink,4,2  ## @grub_iso9660_read_symlink
	.comm	_GRUB_FSHELP_REG,4,2            ## @GRUB_FSHELP_REG
	.comm	_grub_errno,4,2                 ## @grub_errno
	.no_dead_strip	_grub_iso9660_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grub_iso9660_open
_grub_iso9660_open:                     ; @grub_iso9660_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _my_mod@GOTPAGE
Lloh1:
	ldr	x22, [x22, _my_mod@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_grub_dl_ref
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
	bl	_grub_iso9660_mount
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	str	x20, [sp, #24]
	ldr	w0, [x20, #12]
	bl	_grub_le_to_cpu32
	str	x0, [sp, #16]
	ldr	w0, [x20, #8]
	bl	_grub_le_to_cpu32
	str	x0, [sp, #8]
Lloh2:
	adrp	x8, _grub_iso9660_iterate_dir@GOTPAGE
Lloh3:
	ldr	x8, [x8, _grub_iso9660_iterate_dir@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
Lloh5:
	adrp	x8, _grub_iso9660_read_symlink@GOTPAGE
Lloh6:
	ldr	x8, [x8, _grub_iso9660_read_symlink@GOTPAGEOFF]
Lloh7:
	ldr	w5, [x8]
Lloh8:
	adrp	x8, _GRUB_FSHELP_REG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GRUB_FSHELP_REG@GOTPAGEOFF]
Lloh10:
	ldr	w6, [x8]
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x21
	mov	w4, #0
	bl	_grub_fshelp_find_file
	cbz	x0, LBB0_3
LBB0_2:
	ldr	w0, [x22]
	bl	_grub_dl_unref
	mov	x0, x20
	bl	_grub_free
Lloh11:
	adrp	x8, _grub_errno@GOTPAGE
Lloh12:
	ldr	x8, [x8, _grub_errno@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	b	LBB0_4
LBB0_3:
	ldr	x8, [sp]
	ldr	x8, [x8, #8]
	str	x8, [x20]
	str	x20, [x19, #16]
	ldr	x8, [sp]
	ldr	x8, [x8]
	stp	xzr, x8, [x19]
LBB0_4:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_my_mod,4,2                     ; @my_mod
	.comm	_grub_iso9660_iterate_dir,4,2   ; @grub_iso9660_iterate_dir
	.comm	_grub_iso9660_read_symlink,4,2  ; @grub_iso9660_read_symlink
	.comm	_GRUB_FSHELP_REG,4,2            ; @GRUB_FSHELP_REG
	.comm	_grub_errno,4,2                 ; @grub_errno
	.no_dead_strip	_grub_iso9660_open
.subsections_via_symbols
