	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function susp_iterate_dir
_susp_iterate_dir:                      ## @susp_iterate_dir
	.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
	pushq	%rax
	.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, %rbx
	movq	(%rsi), %rax
	movq	(%rax), %r14
	movq	8(%rdi), %rsi
	leaq	L_.str(%rip), %rdi
	movl	$2, %edx
	callq	_grub_strncmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	movq	8(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$2, %edx
	callq	_grub_strncmp
	testq	%rax, %rax
	jne	LBB0_18
## %bb.10:
	movq	%rbx, %rdi
	callq	_ENTRY_DATA
	movl	4(%rax), %ecx
	shll	$8, %ecx
	addl	(%rax), %ecx
	movq	_GRUB_ISO9660_FSTYPE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	cmpl	$128, %ecx
	je	LBB0_15
## %bb.11:
	cmpl	$129, %ecx
	je	LBB0_14
## %bb.12:
	cmpl	$130, %ecx
	jne	LBB0_16
## %bb.13:
	movq	_GRUB_FSHELP_DIR@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_1:
	movq	%rbx, %rdi
	callq	_ENTRY_DATA
	movq	%rax, %r12
	movl	(%rax), %eax
	movq	_GRUB_ISO9660_RR_DOT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_18
LBB0_3:
	movq	_GRUB_ISO9660_RR_DOTDOT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_18
LBB0_15:
	movq	_GRUB_FSHELP_SYMLINK@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_14:
	movq	_GRUB_FSHELP_REG@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_16:
	movq	_GRUB_FSHELP_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
LBB0_18:
	movq	(%r15), %rax
	movq	%r14, (%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_grub_strlen
	movq	%rax, %r13
	incl	%r13d
	movq	%r14, %rdi
	callq	_grub_strlen
	movslq	(%rbx), %rsi
	addq	%rax, %rsi
	movq	%r14, %rdi
	callq	_grub_realloc
	jmp	LBB0_8
LBB0_7:
	movl	(%rbx), %edi
	leal	-5(%rdi), %r13d
	addl	$-4, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_grub_zalloc
	movq	%rax, %r14
LBB0_8:
	movl	$1, 8(%r15)
	incq	%r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_grub_strncpy
	movslq	%r13d, %rax
	movb	$0, (%r14,%rax)
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NM"

	.comm	_GRUB_ISO9660_RR_DOT,4,2        ## @GRUB_ISO9660_RR_DOT
L_.str.1:                               ## @.str.1
	.asciz	"."

	.comm	_GRUB_ISO9660_RR_DOTDOT,4,2     ## @GRUB_ISO9660_RR_DOTDOT
L_.str.2:                               ## @.str.2
	.asciz	".."

L_.str.3:                               ## @.str.3
	.asciz	"PX"

	.comm	_GRUB_ISO9660_FSTYPE_MASK,4,2   ## @GRUB_ISO9660_FSTYPE_MASK
	.comm	_GRUB_FSHELP_DIR,4,2            ## @GRUB_FSHELP_DIR
	.comm	_GRUB_FSHELP_REG,4,2            ## @GRUB_FSHELP_REG
	.comm	_GRUB_FSHELP_SYMLINK,4,2        ## @GRUB_FSHELP_SYMLINK
	.comm	_GRUB_FSHELP_UNKNOWN,4,2        ## @GRUB_FSHELP_UNKNOWN
	.no_dead_strip	_susp_iterate_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function susp_iterate_dir
_susp_iterate_dir:                      ; @susp_iterate_dir
	.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, x1
	mov	x21, x0
	ldr	x8, [x1]
	ldr	x20, [x8]
	ldr	x1, [x0, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #2
	bl	_grub_strncmp
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x0, [x21, #8]
Lloh2:
	adrp	x1, l_.str.3@PAGE
Lloh3:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #2
	bl	_grub_strncmp
	cbnz	x0, LBB0_14
; %bb.2:
	mov	x0, x21
	bl	_ENTRY_DATA
	ldp	w8, w9, [x0]
	add	w8, w8, w9, lsl #8
Lloh4:
	adrp	x9, _GRUB_ISO9660_FSTYPE_MASK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _GRUB_ISO9660_FSTYPE_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	and	w8, w8, w9
	cmp	w8, #128
	b.eq	LBB0_10
; %bb.3:
	cmp	w8, #129
	b.eq	LBB0_11
; %bb.4:
	cmp	w8, #130
	b.ne	LBB0_12
; %bb.5:
Lloh7:
	adrp	x8, _GRUB_FSHELP_DIR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GRUB_FSHELP_DIR@GOTPAGEOFF]
	b	LBB0_13
LBB0_6:
	mov	x0, x21
	bl	_ENTRY_DATA
	ldr	w8, [x0]
Lloh9:
	adrp	x9, _GRUB_ISO9660_RR_DOT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GRUB_ISO9660_RR_DOT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
Lloh12:
	adrp	x20, l_.str.1@PAGE
Lloh13:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_8:
Lloh14:
	adrp	x9, _GRUB_ISO9660_RR_DOTDOT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _GRUB_ISO9660_RR_DOTDOT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.9:
Lloh17:
	adrp	x20, l_.str.2@PAGE
Lloh18:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_10:
Lloh19:
	adrp	x8, _GRUB_FSHELP_SYMLINK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GRUB_FSHELP_SYMLINK@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh21:
	adrp	x8, _GRUB_FSHELP_REG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GRUB_FSHELP_REG@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh23:
	adrp	x8, _GRUB_FSHELP_UNKNOWN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GRUB_FSHELP_UNKNOWN@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	str	w8, [x19, #12]
LBB0_14:
	ldr	x8, [x19]
	str	x20, [x8]
	mov	w0, #0
	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
LBB0_15:
	mov	x22, x0
	cbz	x20, LBB0_17
; %bb.16:
	mov	x0, x20
	bl	_grub_strlen
	add	w23, w0, #1
	mov	x0, x20
	bl	_grub_strlen
	ldrsw	x8, [x21]
	add	x1, x0, x8
	mov	x0, x20
	bl	_grub_realloc
	b	LBB0_18
LBB0_17:
	ldr	w8, [x21]
	sub	w23, w8, #5
	sub	w0, w8, #4
	bl	_grub_zalloc
	mov	x20, x0
LBB0_18:
	mov	w8, #1
	str	w8, [x19, #8]
	add	x1, x22, #1
	mov	x0, x20
	mov	x2, x23
	bl	_grub_strncpy
	strb	wzr, [x20, w23, sxtw]
	b	LBB0_14
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NM"

	.comm	_GRUB_ISO9660_RR_DOT,4,2        ; @GRUB_ISO9660_RR_DOT
l_.str.1:                               ; @.str.1
	.asciz	"."

	.comm	_GRUB_ISO9660_RR_DOTDOT,4,2     ; @GRUB_ISO9660_RR_DOTDOT
l_.str.2:                               ; @.str.2
	.asciz	".."

l_.str.3:                               ; @.str.3
	.asciz	"PX"

	.comm	_GRUB_ISO9660_FSTYPE_MASK,4,2   ; @GRUB_ISO9660_FSTYPE_MASK
	.comm	_GRUB_FSHELP_DIR,4,2            ; @GRUB_FSHELP_DIR
	.comm	_GRUB_FSHELP_REG,4,2            ; @GRUB_FSHELP_REG
	.comm	_GRUB_FSHELP_SYMLINK,4,2        ; @GRUB_FSHELP_SYMLINK
	.comm	_GRUB_FSHELP_UNKNOWN,4,2        ; @GRUB_FSHELP_UNKNOWN
	.no_dead_strip	_susp_iterate_dir
.subsections_via_symbols
