	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function list_nodes
_list_nodes:                            ## @list_nodes
	.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, %r12
	movq	%rdi, %r13
	movq	_GRUB_FSHELP_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%rdi), %edi
	callq	_grub_be_to_cpu16
	movl	%eax, %r15d
	movl	(%r13), %edi
	callq	_grub_be_to_cpu16
	movl	%eax, %ebx
	movl	16(%r13), %edi
	callq	_grub_be_to_cpu32
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	16(%r12), %rcx
	movl	$1, %r12d
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.1:
	movslq	%r15d, %rax
	leaq	(%rax,%r13), %r12
	addq	$2, %r12
	movl	%ebx, %eax
	shrl	$31, %eax
	addl	%ebx, %eax
	andl	$-2, %eax
	subl	%eax, %ebx
	movslq	%ebx, %r15
	movl	(%r12,%r15), %edi
	callq	_grub_be_to_cpu16
	movq	_GRUB_HFSPLUS_FILETYPE_REG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	jne	LBB0_6
## %bb.2:
	movl	4(%r12,%r15), %edi
	callq	_grub_be_to_cpu16
	movq	_GRUB_HFSPLUS_FILEMODE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_GRUB_HFSPLUS_FILEMODE_REG@GOTPCREL(%rip), %rdx
	movq	_GRUB_HFSPLUS_FILEMODE_SYMLINK@GOTPCREL(%rip), %rsi
	movq	_GRUB_FSHELP_UNKNOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %r14d
	cmpl	(%rsi), %eax
	jne	LBB0_4
## %bb.3:
	movq	_GRUB_FSHELP_SYMLINK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r14d
LBB0_4:
	cmpl	(%rdx), %eax
	jne	LBB0_9
## %bb.5:
	movq	_GRUB_FSHELP_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_9
LBB0_6:
	movl	(%r12,%r15), %edi
	callq	_grub_be_to_cpu16
	movq	_GRUB_HFSPLUS_FILETYPE_DIR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.7:
	movq	_GRUB_FSHELP_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_8:
	movq	_GRUB_FSHELP_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_9:
	xorl	%r12d, %r12d
	cmpl	%ecx, %r14d
	je	LBB0_29
## %bb.10:
	movl	4(%r13), %edi
	callq	_grub_be_to_cpu16
	testl	%eax, %eax
	jle	LBB0_15
## %bb.11:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_grub_be_to_cpu16
	movq	8(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	movl	4(%r13), %edi
	callq	_grub_be_to_cpu16
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_13
LBB0_15:
	movl	4(%r13), %edi
	callq	_grub_be_to_cpu16
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	_grub_malloc
	testq	%rax, %rax
	je	LBB0_29
## %bb.16:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rbx
	movq	%rax, %r15
	movl	4(%r13), %edi
	callq	_grub_be_to_cpu16
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_grub_utf16_to_utf8
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:
	movl	4(%r13), %edi
	callq	_grub_be_to_cpu16
	cltq
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movb	$0, (%r15,%rax)
	movl	4(%r13), %edi
	callq	_grub_be_to_cpu16
	testl	%eax, %eax
	jle	LBB0_21
## %bb.19:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_grub_be_to_cpu16
	movq	8(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movl	4(%r13), %edi
	callq	_grub_be_to_cpu16
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_20
LBB0_21:
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	8(%rax), %rax
	xorl	%r12d, %r12d
	cmpl	$0, (%rax)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_23
## %bb.22:
	movq	_GRUB_FSHELP_CASE_INSENSITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_23:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_grub_strlen
	movl	%eax, %ebx
	movl	4(%r13), %edi
	callq	_grub_be_to_cpu16
	cmpl	%eax, %ebx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_28
## %bb.24:
	movl	$40, %edi
	callq	_grub_malloc
	movq	%rax, %r13
	movq	16(%r14), %rax
	movq	8(%rax), %rax
	movq	%rax, 32(%r13)
	movl	24(%r13), %edi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	16(%rbx,%r15), %esi
	movl	$4, %edx
	callq	_grub_memcpy
	movl	20(%rbx,%r15), %edi
	callq	_grub_be_to_cpu32
	addq	$-2082844800, %rax              ## imm = 0x83DA4F80
	movq	%rax, 16(%r13)
	movl	12(%rbx,%r15), %edi
	callq	_grub_be_to_cpu64
	movl	%eax, 8(%r13)
	movl	8(%rbx,%r15), %edi
	callq	_grub_be_to_cpu32
	movq	%rax, (%r13)
	movq	(%r14), %r8
	testq	%r8, %r8
	je	LBB0_25
## %bb.26:
	orl	-52(%rbp), %r12d                ## 4-byte Folded Reload
	movl	12(%r14), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movq	%r13, %rdx
	callq	*%r8
	jmp	LBB0_27
LBB0_14:
	xorl	%r12d, %r12d
	jmp	LBB0_29
LBB0_17:
	movq	%r15, %rdi
	callq	_grub_free
	jmp	LBB0_29
LBB0_25:
	xorl	%eax, %eax
LBB0_27:
	movl	%eax, 8(%r14)
LBB0_28:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_grub_free
	movl	8(%r14), %r12d
LBB0_29:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GRUB_FSHELP_UNKNOWN,4,2        ## @GRUB_FSHELP_UNKNOWN
	.comm	_GRUB_HFSPLUS_FILETYPE_REG,4,2  ## @GRUB_HFSPLUS_FILETYPE_REG
	.comm	_GRUB_HFSPLUS_FILEMODE_MASK,4,2 ## @GRUB_HFSPLUS_FILEMODE_MASK
	.comm	_GRUB_HFSPLUS_FILEMODE_REG,4,2  ## @GRUB_HFSPLUS_FILEMODE_REG
	.comm	_GRUB_FSHELP_REG,4,2            ## @GRUB_FSHELP_REG
	.comm	_GRUB_HFSPLUS_FILEMODE_SYMLINK,4,2 ## @GRUB_HFSPLUS_FILEMODE_SYMLINK
	.comm	_GRUB_FSHELP_SYMLINK,4,2        ## @GRUB_FSHELP_SYMLINK
	.comm	_GRUB_HFSPLUS_FILETYPE_DIR,4,2  ## @GRUB_HFSPLUS_FILETYPE_DIR
	.comm	_GRUB_FSHELP_DIR,4,2            ## @GRUB_FSHELP_DIR
	.comm	_GRUB_FSHELP_CASE_INSENSITIVE,4,2 ## @GRUB_FSHELP_CASE_INSENSITIVE
	.no_dead_strip	_list_nodes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function list_nodes
_list_nodes:                            ; @list_nodes
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _GRUB_FSHELP_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GRUB_FSHELP_UNKNOWN@GOTPAGEOFF]
	ldr	w24, [x22]
	ldr	w0, [x0]
	bl	_grub_be_to_cpu16
	mov	x21, x0
	ldr	w0, [x20]
	bl	_grub_be_to_cpu16
	and	w8, w0, #0x1
	cmp	w0, #0
	cneg	w23, w8, lt
	ldr	w0, [x20, #16]
	bl	_grub_be_to_cpu32
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.1:
	add	x8, x20, w21, sxtw
	add	x8, x8, w23, sxtw
	add	x23, x8, #2
	ldr	w0, [x23]
	bl	_grub_be_to_cpu16
Lloh2:
	adrp	x8, _GRUB_HFSPLUS_FILETYPE_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GRUB_HFSPLUS_FILETYPE_REG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.2:
	ldr	w0, [x23, #4]
	bl	_grub_be_to_cpu16
Lloh5:
	adrp	x8, _GRUB_HFSPLUS_FILEMODE_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GRUB_HFSPLUS_FILEMODE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w9, w8, w0
Lloh8:
	adrp	x8, _GRUB_HFSPLUS_FILEMODE_REG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GRUB_HFSPLUS_FILEMODE_REG@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x8]
Lloh11:
	adrp	x8, _GRUB_HFSPLUS_FILEMODE_SYMLINK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GRUB_HFSPLUS_FILEMODE_SYMLINK@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x8]
Lloh14:
	adrp	x8, _GRUB_FSHELP_REG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GRUB_FSHELP_REG@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x8]
Lloh17:
	adrp	x8, _GRUB_FSHELP_SYMLINK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GRUB_FSHELP_SYMLINK@GOTPAGEOFF]
Lloh19:
	ldr	w13, [x8]
	ldr	w8, [x22]
	cmp	w9, w11
	csel	w11, w13, w8, eq
	cmp	w9, w10
	csel	w24, w12, w11, eq
	cmp	w24, w8
	b.eq	LBB0_17
LBB0_3:
	ldr	w0, [x20, #4]
	bl	_grub_be_to_cpu16
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	lsl	x22, x21, #2
	ldr	w0, [x8, x22]
	bl	_grub_be_to_cpu16
	ldr	x8, [x20, #8]
	str	w0, [x8, x22]
	cbz	w0, LBB0_22
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	ldr	w0, [x20, #4]
	bl	_grub_be_to_cpu16
	cmp	x21, w0, sxtw
	b.lt	LBB0_5
LBB0_7:
	ldr	w0, [x20, #4]
	bl	_grub_be_to_cpu16
	add	w0, w0, #1
	bl	_grub_malloc
	cbz	x0, LBB0_22
; %bb.8:
	mov	x21, x0
	ldr	x22, [x20, #8]
	ldr	w0, [x20, #4]
	bl	_grub_be_to_cpu16
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_grub_utf16_to_utf8
	cbz	w0, LBB0_18
; %bb.9:
	ldr	w0, [x20, #4]
	bl	_grub_be_to_cpu16
	strb	wzr, [x21, w0, sxtw]
	ldr	w0, [x20, #4]
	bl	_grub_be_to_cpu16
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x22, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	lsl	x25, x22, #2
	ldr	w0, [x8, x25]
	bl	_grub_be_to_cpu16
	ldr	x8, [x20, #8]
	str	w0, [x8, x25]
	add	x22, x22, #1
	ldr	w0, [x20, #4]
	bl	_grub_be_to_cpu16
	cmp	x22, w0, sxtw
	b.lt	LBB0_11
LBB0_12:
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _GRUB_FSHELP_CASE_INSENSITIVE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _GRUB_FSHELP_CASE_INSENSITIVE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w25, w9, wzr, eq
	mov	x0, x21
	bl	_grub_strlen
	mov	x22, x0
	ldr	w0, [x20, #4]
	bl	_grub_be_to_cpu16
	cmp	w22, w0
	b.ne	LBB0_21
; %bb.13:
	mov	w0, #40
	bl	_grub_malloc
	mov	x20, x0
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	str	x8, [x0, #32]
	ldr	w0, [x0, #24]
	ldr	w1, [x23, #16]
	mov	w2, #4
	bl	_grub_memcpy
	ldr	w0, [x23, #20]
	bl	_grub_be_to_cpu32
	mov	x8, #-45184
	movk	x8, #33754, lsl #16
	add	x8, x0, x8
	str	x8, [x20, #16]
	ldr	w0, [x23, #12]
	bl	_grub_be_to_cpu64
	str	w0, [x20, #8]
	ldr	w0, [x23, #8]
	bl	_grub_be_to_cpu32
	str	x0, [x20]
	ldr	x8, [x19]
	cbz	x8, LBB0_19
; %bb.14:
	orr	w1, w25, w24
	ldr	w3, [x19, #12]
	mov	x0, x21
	mov	x2, x20
	blr	x8
	b	LBB0_20
LBB0_15:
	mov	w0, #1
	b	LBB0_22
LBB0_16:
	ldr	w0, [x23]
	bl	_grub_be_to_cpu16
Lloh23:
	adrp	x8, _GRUB_HFSPLUS_FILETYPE_DIR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GRUB_HFSPLUS_FILETYPE_DIR@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _GRUB_FSHELP_DIR@GOTPAGE
Lloh27:
	ldr	x9, [x9, _GRUB_FSHELP_DIR@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	cmp	w0, w8
	csel	w24, w9, w24, eq
	ldr	w8, [x22]
	cmp	w24, w8
	b.ne	LBB0_3
LBB0_17:
	mov	w0, #0
	b	LBB0_22
LBB0_18:
	mov	x0, x21
	bl	_grub_free
	mov	w0, #0
	b	LBB0_22
LBB0_19:
	mov	w0, #0
LBB0_20:
	str	w0, [x19, #8]
LBB0_21:
	mov	x0, x21
	bl	_grub_free
	ldr	w0, [x19, #8]
LBB0_22:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_GRUB_FSHELP_UNKNOWN,4,2        ; @GRUB_FSHELP_UNKNOWN
	.comm	_GRUB_HFSPLUS_FILETYPE_REG,4,2  ; @GRUB_HFSPLUS_FILETYPE_REG
	.comm	_GRUB_HFSPLUS_FILEMODE_MASK,4,2 ; @GRUB_HFSPLUS_FILEMODE_MASK
	.comm	_GRUB_HFSPLUS_FILEMODE_REG,4,2  ; @GRUB_HFSPLUS_FILEMODE_REG
	.comm	_GRUB_FSHELP_REG,4,2            ; @GRUB_FSHELP_REG
	.comm	_GRUB_HFSPLUS_FILEMODE_SYMLINK,4,2 ; @GRUB_HFSPLUS_FILEMODE_SYMLINK
	.comm	_GRUB_FSHELP_SYMLINK,4,2        ; @GRUB_FSHELP_SYMLINK
	.comm	_GRUB_HFSPLUS_FILETYPE_DIR,4,2  ; @GRUB_HFSPLUS_FILETYPE_DIR
	.comm	_GRUB_FSHELP_DIR,4,2            ; @GRUB_FSHELP_DIR
	.comm	_GRUB_FSHELP_CASE_INSENSITIVE,4,2 ; @GRUB_FSHELP_CASE_INSENSITIVE
	.no_dead_strip	_list_nodes
.subsections_via_symbols
