	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grub_ntfs_iterate_dir
_grub_ntfs_iterate_dir:                 ## @grub_ntfs_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r15
	cmpl	$0, 12(%rdi)
	je	LBB0_1
LBB0_2:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_init_attr
	movq	_AT_INDEX_ROOT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_find_attr
	leaq	L_.str(%rip), %r14
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movq	%rax, %rbx
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_find_attr
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_u32at
	cmpl	$1573888, %eax                  ## imm = 0x180400
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_u32at
	cmpl	$4784164, %eax                  ## imm = 0x490024
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	movl	$28, %esi
	callq	_u32at
	cmpl	$3145779, %eax                  ## imm = 0x300033
	jne	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	movl	$20, %esi
	callq	_u16at
	cltq
	cmpb	$48, (%rbx,%rax)
	jne	LBB0_11
## %bb.14:
	leaq	(%rbx,%rax), %r14
	leaq	(%rbx,%rax), %rdi
	addq	$16, %rdi
	xorl	%esi, %esi
	callq	_u16at
	cltq
	leaq	(%rax,%r14), %rsi
	addq	$16, %rsi
	movq	%r15, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_list_file
	testl	%eax, %eax
	je	LBB0_18
## %bb.15:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movl	%eax, %r12d
	jmp	LBB0_16
LBB0_12:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_5
LBB0_1:
	movl	8(%r15), %esi
	movq	%r15, %rdi
	callq	_init_file
	xorl	%r12d, %r12d
	testq	%rax, %rax
	jne	LBB0_17
	jmp	LBB0_2
LBB0_3:
	xorl	%r13d, %r13d
LBB0_4:
	xorl	%r12d, %r12d
LBB0_5:
	movq	_GRUB_ERR_BAD_FS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_grub_error
LBB0_6:
	xorl	%r14d, %r14d
LBB0_16:
	leaq	-48(%rbp), %rdi
	callq	_free_attr
	movq	%r14, %rdi
	callq	_grub_free
	movq	%r13, %rdi
	callq	_grub_free
LBB0_17:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_free_attr
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_init_attr
	movq	_AT_BITMAP@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_find_attr
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	movq	%rax, %rbx
	leaq	-48(%rbp), %r14
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_find_attr
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_32
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$4, 9(%rbx)
	jne	LBB0_31
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movzbl	10(%rbx), %r13d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_u32at
	cmpl	$4784164, %eax                  ## imm = 0x490024
	jne	LBB0_31
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	addl	$4, %r13d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_u32at
	cmpl	$3145779, %eax                  ## imm = 0x300033
	jne	LBB0_31
## %bb.24:
	cmpb	$0, 8(%rbx)
	movl	$0, %r12d
	movq	%rbx, %rdi
	je	LBB0_25
## %bb.27:
	movl	$40, %esi
	callq	_u32at
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_grub_malloc
	testq	%rax, %rax
	je	LBB0_26
## %bb.28:
	movq	%rax, %r13
	subq	$8, %rsp
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	movl	%r14d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_read_data
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_5
LBB0_32:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
LBB0_33:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_34
LBB0_19:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
LBB0_34:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_free_attr
	movq	_AT_INDEX_ALLOCATION@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_locate_attr
	testq	%rax, %rax
	je	LBB0_47
## %bb.35:
	movq	%rax, %rbx
	leaq	-48(%rbp), %r14
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_36 Depth=1
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_find_attr
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_47
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_u32at
	cmpl	$4195329, %eax                  ## imm = 0x400401
	jne	LBB0_46
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	%rbx, %rdi
	movl	$64, %esi
	callq	_u32at
	cmpl	$4784164, %eax                  ## imm = 0x490024
	jne	LBB0_46
## %bb.38:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	%rbx, %rdi
	movl	$68, %esi
	callq	_u32at
	cmpl	$3145779, %eax                  ## imm = 0x300033
	jne	LBB0_46
## %bb.39:
	testq	%r13, %r13
	je	LBB0_26
## %bb.40:
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	_BLK_SHR@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	callq	_grub_malloc
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_6
## %bb.41:
	movq	%rax, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testl	%eax, %eax
	jle	LBB0_16
## %bb.42:
	shll	$3, %eax
	cmpl	$2, %eax
	movl	$1, %ecx
	cmovll	%ecx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%r13, %r12
	movl	$1, %r13d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_43
LBB0_47:
	testq	%r13, %r13
	je	LBB0_26
## %bb.48:
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_4
LBB0_52:                                ##   in Loop: Header=BB0_43 Depth=1
	addl	%r13d, %r13d
	xorl	%eax, %eax
	cmpl	$256, %r13d                     ## imm = 0x100
	setge	%al
	movl	$1, %ecx
	cmovgel	%ecx, %r13d
	addq	%rax, %r12
	incl	%ebx
	cmpl	%ebx, -56(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_45
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12), %eax
	testl	%eax, %r13d
	je	LBB0_52
## %bb.44:                              ##   in Loop: Header=BB0_43 Depth=1
	movq	(%r15), %rax
	movl	(%rax), %eax
	movq	_BLK_SHR@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	shll	%cl, %eax
	movl	%eax, %edx
	imull	%ebx, %edx
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_read_attr
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_45
## %bb.49:                              ##   in Loop: Header=BB0_43 Depth=1
	movq	(%r15), %rdi
	movl	(%rdi), %edx
	movq	%r14, %rsi
	leaq	L_.str.3(%rip), %rcx
	callq	_fixup
	testq	%rax, %rax
	jne	LBB0_45
## %bb.50:                              ##   in Loop: Header=BB0_43 Depth=1
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_u16at
	cltq
	leaq	(%rax,%r14), %rsi
	addq	$24, %rsi
	movq	%r15, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_list_file
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	je	LBB0_52
## %bb.51:
	movq	%rax, %r12
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_25:
	movl	$16, %esi
	callq	_u32at
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_grub_malloc
	testq	%rax, %rax
	je	LBB0_26
## %bb.53:
	movq	%rax, %r13
	movq	%rbx, %rdi
	movl	$20, %esi
	callq	_u16at
	movslq	%eax, %rsi
	addq	%rbx, %rsi
	movq	%r13, %rdi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edx
	callq	_grub_memcpy
	jmp	LBB0_34
LBB0_26:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_16
LBB0_45:
	xorl	%r12d, %r12d
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_30:
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_u32at
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_AT_INDEX_ROOT,4,2              ## @AT_INDEX_ROOT
	.comm	_GRUB_ERR_BAD_FS,4,2            ## @GRUB_ERR_BAD_FS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no $INDEX_ROOT"

	.comm	_AT_BITMAP,4,2                  ## @AT_BITMAP
L_.str.1:                               ## @.str.1
	.asciz	"fails to read non-resident $BITMAP"

	.comm	_AT_INDEX_ALLOCATION,4,2        ## @AT_INDEX_ALLOCATION
L_.str.2:                               ## @.str.2
	.asciz	"$BITMAP without $INDEX_ALLOCATION"

	.comm	_BLK_SHR,4,2                    ## @BLK_SHR
L_.str.3:                               ## @.str.3
	.asciz	"INDX"

	.no_dead_strip	_grub_ntfs_iterate_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grub_ntfs_iterate_dir
_grub_ntfs_iterate_dir:                 ; @grub_ntfs_iterate_dir
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x0, #12]
	cbz	w8, LBB0_10
LBB0_1:
	add	x0, sp, #8
	mov	x1, x21
	bl	_init_attr
Lloh0:
	adrp	x24, _AT_INDEX_ROOT@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AT_INDEX_ROOT@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x0, sp, #8
	bl	_find_attr
	mov	x22, x0
	cbz	x0, LBB0_12
; %bb.2:
	mov	w26, #36
	movk	w26, #73, lsl #16
	mov	w27, #51
	movk	w27, #48, lsl #16
	mov	w25, #1024
	movk	w25, #24, lsl #16
Lloh2:
	adrp	x23, l_.str@PAGE
Lloh3:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x24]
	add	x0, sp, #8
	bl	_find_attr
	mov	x22, x0
	cbz	x0, LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	w1, #8
	bl	_u32at
	cmp	w0, w25
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	w1, #24
	bl	_u32at
	cmp	w0, w26
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	w1, #28
	bl	_u32at
	cmp	w0, w27
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	w1, #20
	bl	_u16at
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	ldrb	w9, [x22, x8]
	cmp	w9, #48
	b.ne	LBB0_3
; %bb.8:
	add	x8, x22, x8
	add	x22, x8, #16
	mov	x0, x22
	mov	w1, #0
	bl	_u16at
	add	x1, x22, w0, sxtw
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	bl	_list_file
	cbz	w0, LBB0_18
; %bb.9:
	mov	x25, x0
	mov	x23, #0
	mov	x22, #0
	b	LBB0_16
LBB0_10:
	ldr	w1, [x21, #8]
	mov	x0, x21
	bl	_init_file
	cbz	x0, LBB0_1
; %bb.11:
	mov	w25, #0
	b	LBB0_17
LBB0_12:
Lloh4:
	adrp	x23, l_.str@PAGE
Lloh5:
	add	x23, x23, l_.str@PAGEOFF
LBB0_13:
Lloh6:
	adrp	x8, _GRUB_ERR_BAD_FS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GRUB_ERR_BAD_FS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_grub_error
LBB0_14:
	mov	x23, #0
LBB0_15:
	mov	w25, #0
LBB0_16:
	add	x0, sp, #8
	bl	_free_attr
	mov	x0, x23
	bl	_grub_free
	mov	x0, x22
	bl	_grub_free
LBB0_17:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_18:
	add	x0, sp, #8
	bl	_free_attr
	add	x0, sp, #8
	mov	x1, x21
	bl	_init_attr
Lloh9:
	adrp	x24, _AT_BITMAP@GOTPAGE
Lloh10:
	ldr	x24, [x24, _AT_BITMAP@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x0, sp, #8
	bl	_find_attr
	cbz	x0, LBB0_28
; %bb.19:
	mov	x23, x0
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	w1, [x24]
	add	x0, sp, #8
	bl	_find_attr
	mov	x23, x0
	cbz	x0, LBB0_28
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x23, #9]
	cmp	w8, #4
	b.ne	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldrb	w22, [x23, #10]
	mov	x0, x23
	mov	x1, x22
	bl	_u32at
	cmp	w0, w26
	b.ne	LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	add	w1, w22, #4
	mov	x0, x23
	bl	_u32at
	cmp	w0, w27
	b.ne	LBB0_20
; %bb.24:
	ldrb	w8, [x23, #8]
	cbz	w8, LBB0_47
; %bb.25:
	mov	x0, x23
	mov	w1, #40
	bl	_u32at
	mov	x24, x0
	bl	_grub_malloc
	mov	x22, x0
	cbz	x0, LBB0_14
; %bb.26:
	str	wzr, [sp]
	add	x0, sp, #8
	mov	x1, x23
	mov	x2, x22
	mov	w3, #0
	mov	x4, x24
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_read_data
	cbz	x0, LBB0_49
; %bb.27:
Lloh11:
	adrp	x23, l_.str.1@PAGE
Lloh12:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_28:
	mov	x22, #0
	mov	w24, #0
LBB0_29:
	add	x0, sp, #8
	bl	_free_attr
Lloh13:
	adrp	x25, _AT_INDEX_ALLOCATION@GOTPAGE
Lloh14:
	ldr	x25, [x25, _AT_INDEX_ALLOCATION@GOTPAGEOFF]
	ldr	w2, [x25]
	add	x0, sp, #8
	mov	x1, x21
	bl	_locate_attr
	cbz	x0, LBB0_39
; %bb.30:
	mov	x23, x0
	mov	w28, #1025
	movk	w28, #64, lsl #16
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	w1, [x25]
	add	x0, sp, #8
	bl	_find_attr
	mov	x23, x0
	cbz	x0, LBB0_39
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	w1, #8
	bl	_u32at
	cmp	w0, w28
	b.ne	LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	mov	x0, x23
	mov	w1, #64
	bl	_u32at
	cmp	w0, w26
	b.ne	LBB0_31
; %bb.34:                               ;   in Loop: Header=BB0_32 Depth=1
	mov	x0, x23
	mov	w1, #68
	bl	_u32at
	cmp	w0, w27
	b.ne	LBB0_31
; %bb.35:
	cbz	x22, LBB0_14
; %bb.36:
	ldr	x8, [x21]
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _BLK_SHR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _BLK_SHR@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	lsl	w0, w8, w9
	bl	_grub_malloc
	mov	x23, x0
	cbz	x0, LBB0_15
; %bb.37:
	cmp	w24, #1
	b.lt	LBB0_15
; %bb.38:
	mov	w27, #0
	lsl	w8, w24, #3
	cmp	w8, #1
	csinc	w28, w8, wzr, gt
	mov	w24, #1
	mov	x26, x22
	b	LBB0_42
LBB0_39:
	cbz	x22, LBB0_14
; %bb.40:
Lloh18:
	adrp	x23, l_.str.2@PAGE
Lloh19:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_41:                                ;   in Loop: Header=BB0_42 Depth=1
	lsl	w8, w24, #1
	cmp	w8, #255
	cinc	x26, x26, gt
	csinc	w24, w8, wzr, le
	add	w27, w27, #1
	cmp	w28, w27
	b.eq	LBB0_15
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x26]
	tst	w24, w8
	b.eq	LBB0_41
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=1
	ldr	x8, [x21]
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _BLK_SHR@GOTPAGE
Lloh21:
	ldr	x9, [x9, _BLK_SHR@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	lsl	w3, w8, w9
	mul	w2, w3, w27
	add	x0, sp, #8
	mov	x1, x23
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_read_attr
	cbnz	x0, LBB0_15
; %bb.44:                               ;   in Loop: Header=BB0_42 Depth=1
	ldr	x0, [x21]
	ldr	w2, [x0]
	mov	x1, x23
Lloh23:
	adrp	x3, l_.str.3@PAGE
Lloh24:
	add	x3, x3, l_.str.3@PAGEOFF
	bl	_fixup
	cbnz	x0, LBB0_15
; %bb.45:                               ;   in Loop: Header=BB0_42 Depth=1
	mov	x0, x23
	mov	w1, #24
	bl	_u16at
	add	w8, w0, #24
	add	x1, x23, w8, sxtw
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	bl	_list_file
	cbz	w0, LBB0_41
; %bb.46:
	mov	x25, x0
	b	LBB0_16
LBB0_47:
	mov	x0, x23
	mov	w1, #16
	bl	_u32at
	mov	x24, x0
	bl	_grub_malloc
	mov	x22, x0
	cbz	x0, LBB0_14
; %bb.48:
	mov	x0, x23
	mov	w1, #20
	bl	_u16at
	add	x1, x23, w0, sxtw
	mov	x0, x22
	mov	x2, x24
	bl	_grub_memcpy
	b	LBB0_29
LBB0_49:
	mov	x0, x23
	mov	w1, #48
	bl	_u32at
	mov	x24, x0
	b	LBB0_29
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_AT_INDEX_ROOT,4,2              ; @AT_INDEX_ROOT
	.comm	_GRUB_ERR_BAD_FS,4,2            ; @GRUB_ERR_BAD_FS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no $INDEX_ROOT"

	.comm	_AT_BITMAP,4,2                  ; @AT_BITMAP
l_.str.1:                               ; @.str.1
	.asciz	"fails to read non-resident $BITMAP"

	.comm	_AT_INDEX_ALLOCATION,4,2        ; @AT_INDEX_ALLOCATION
l_.str.2:                               ; @.str.2
	.asciz	"$BITMAP without $INDEX_ALLOCATION"

	.comm	_BLK_SHR,4,2                    ; @BLK_SHR
l_.str.3:                               ; @.str.3
	.asciz	"INDX"

	.no_dead_strip	_grub_ntfs_iterate_dir
.subsections_via_symbols
