	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grub_get_indir
_grub_get_indir:                        ## @grub_get_indir
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdx, %rax
	movl	%esi, %edx
	movl	%edi, %esi
	cmpl	$1, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	4(%rax), %edi
	movq	_GRUB_MINIX_LOG2_ZONESZ@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	shll	$2, %edx
	leaq	-8(%rbp), %r8
	movl	$4, %ecx
	callq	_grub_disk_read
	movl	-8(%rbp), %edi
	callq	_grub_le_to_cpu16
	jmp	LBB0_3
LBB0_2:
	movl	4(%rax), %edi
	movq	_GRUB_MINIX_LOG2_ZONESZ@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	shll	$2, %edx
	leaq	-4(%rbp), %r8
	movl	$4, %ecx
	callq	_grub_disk_read
	movl	-4(%rbp), %edi
	callq	_grub_le_to_cpu32
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GRUB_MINIX_LOG2_ZONESZ,4,2     ## @GRUB_MINIX_LOG2_ZONESZ
	.no_dead_strip	_grub_get_indir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grub_get_indir
_grub_get_indir:                        ; @grub_get_indir
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x2]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x2, #4]
Lloh0:
	adrp	x9, _GRUB_MINIX_LOG2_ZONESZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GRUB_MINIX_LOG2_ZONESZ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w9, w0, w9
	lsl	w2, w1, #2
	sub	x4, x29, #4
	mov	x0, x8
	mov	x1, x9
	mov	w3, #4
	bl	_grub_disk_read
	ldur	w0, [x29, #-4]
	bl	_grub_le_to_cpu16
	b	LBB0_3
LBB0_2:
	ldr	w8, [x2, #4]
Lloh3:
	adrp	x9, _GRUB_MINIX_LOG2_ZONESZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GRUB_MINIX_LOG2_ZONESZ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w9, w0, w9
	lsl	w2, w1, #2
	add	x4, sp, #8
	mov	x0, x8
	mov	x1, x9
	mov	w3, #4
	bl	_grub_disk_read
	ldr	w0, [sp, #8]
	bl	_grub_le_to_cpu32
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GRUB_MINIX_LOG2_ZONESZ,4,2     ; @GRUB_MINIX_LOG2_ZONESZ
	.no_dead_strip	_grub_get_indir
.subsections_via_symbols
