	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iterate
_iterate:                               ## @iterate
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	_GRUB_FSHELP_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
LBB0_4:
	movl	%r14d, %edi
	callq	_grub_free
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	movq	%rcx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	24(%rcx), %edi
	movq	%r12, %rsi
	callq	_grub_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_GRUB_FSHELP_CASE_INSENSITIVE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movl	24(%r15), %edi
	movq	_GRUB_LONG_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_grub_strncasecmp
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	movq	_GRUB_FSHELP_CASE_INSENSITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ebx, %eax
	movq	(%r15), %rcx
	movl	%eax, (%rcx)
	movq	8(%r15), %rax
	movq	16(%r15), %rcx
	movl	(%rax), %edx
	movl	%edx, (%rcx)
	movl	%r14d, (%rax)
	movl	$1, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GRUB_FSHELP_UNKNOWN,4,2        ## @GRUB_FSHELP_UNKNOWN
	.comm	_GRUB_FSHELP_CASE_INSENSITIVE,4,2 ## @GRUB_FSHELP_CASE_INSENSITIVE
	.comm	_GRUB_LONG_MAX,4,2              ## @GRUB_LONG_MAX
	.no_dead_strip	_iterate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iterate
_iterate:                               ; @iterate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
Lloh0:
	adrp	x8, _GRUB_FSHELP_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GRUB_FSHELP_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
LBB0_1:
	mov	x0, x19
	bl	_grub_free
	mov	w0, #0
	b	LBB0_6
LBB0_2:
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	ldr	w0, [x3, #24]
	mov	x1, x22
	bl	_grub_strcmp
Lloh3:
	adrp	x23, _GRUB_FSHELP_CASE_INSENSITIVE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GRUB_FSHELP_CASE_INSENSITIVE@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w8, [x23]
	tst	w8, w21
	b.eq	LBB0_1
; %bb.4:
	ldr	w0, [x20, #24]
Lloh5:
	adrp	x8, _GRUB_LONG_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GRUB_LONG_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_grub_strncasecmp
	cbnz	x0, LBB0_1
LBB0_5:
	ldr	w8, [x23]
	bic	w8, w21, w8
	ldp	x9, x10, [x20]
	str	w8, [x9]
	ldr	w8, [x10]
	ldr	x9, [x20, #16]
	str	w8, [x9]
	str	w19, [x10]
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GRUB_FSHELP_UNKNOWN,4,2        ; @GRUB_FSHELP_UNKNOWN
	.comm	_GRUB_FSHELP_CASE_INSENSITIVE,4,2 ; @GRUB_FSHELP_CASE_INSENSITIVE
	.comm	_GRUB_LONG_MAX,4,2              ; @GRUB_LONG_MAX
	.no_dead_strip	_iterate
.subsections_via_symbols
