	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function indir_visit
_indir_visit:                           ## @indir_visit
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_22
## %bb.1:
	movq	%rdx, %r12
	movl	%esi, %r14d
	movl	%esi, %edi
	callq	_lbn_level
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_err_suj
LBB0_3:
	movq	_VISIT_ROOT@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_7
## %bb.4:
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_blk_isindir
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	testl	%ebx, %ebx
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	jle	LBB0_8
## %bb.9:
	incl	%ebx
	movl	$1, %r15d
	movq	_fs@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	callq	_NINDIR
	imull	%eax, %r15d
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_10
	jmp	LBB0_11
LBB0_8:
	movl	$1, %r15d
LBB0_11:
	movq	_fs@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	16(%rax), %esi
	movq	%r12, %rdi
	callq	_dblk_read
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rdi
	callq	_NINDIR
	testl	%eax, %eax
	jle	LBB0_21
## %bb.12:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leal	1(%rax), %r13d
	movl	%eax, %r12d
	negl	%r12d
	xorl	%r14d, %r14d
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_indir_visit
LBB0_20:                                ##   in Loop: Header=BB0_13 Depth=1
	incl	%r14d
	movq	(%rbx), %rdi
	callq	_NINDIR
	subl	%r15d, %r13d
	addl	%r15d, %r12d
	cmpl	%eax, %r14d
	jge	LBB0_21
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movq	_FS_UFS1_MAGIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movslq	(%rcx), %rdx
	addq	$4, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	testq	%rdx, %rdx
	jne	LBB0_17
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rdx
	addq	$8, %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_20
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, -112(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%rax), %rcx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addl	%ecx, (%rax)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	jmp	LBB0_20
LBB0_5:
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%ebx, %r8d
	callq	_printf
LBB0_21:
	movq	_VISIT_INDIR@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_22
## %bb.23:
	movq	_fs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rcx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addl	%ecx, (%rax)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_22:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid level for lbn %jd\n"

	.comm	_VISIT_ROOT,4,2                 ## @VISIT_ROOT
	.comm	_debug,8,3                      ## @debug
L_.str.1:                               ## @.str.1
	.asciz	"blk %jd ino %ju lbn %jd(%d) is not indir.\n"

	.comm	_fs,8,3                         ## @fs
	.comm	_FS_UFS1_MAGIC,8,3              ## @FS_UFS1_MAGIC
	.comm	_VISIT_INDIR,4,2                ## @VISIT_INDIR
	.no_dead_strip	_indir_visit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function indir_visit
_indir_visit:                           ; @indir_visit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	w5, [sp, #12]                   ; 4-byte Folded Spill
	stp	x4, x0, [sp, #16]               ; 16-byte Folded Spill
	cbz	x2, LBB0_22
; %bb.1:
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x0, x1
	bl	_lbn_level
	mov	x24, x0
	cmn	w0, #1
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_err_suj
LBB0_3:
Lloh2:
	adrp	x8, _VISIT_ROOT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VISIT_ROOT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x28, _fs@GOTPAGE
Lloh6:
	ldr	x28, [x28, _fs@GOTPAGEOFF]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	tst	w8, w9
	str	x22, [sp]                       ; 8-byte Folded Spill
	str	w19, [sp, #8]                   ; 4-byte Folded Spill
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x22
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	mov	x2, x19
	bl	_blk_isindir
	cbz	x0, LBB0_18
LBB0_5:
	cmp	w24, #1
	b.lt	LBB0_8
; %bb.6:
	add	w20, w24, #1
	mov	w19, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x28]
	bl	_NINDIR
	mul	w19, w0, w19
	sub	w20, w20, #1
	cmp	w20, #1
	b.hi	LBB0_7
	b	LBB0_9
LBB0_8:
	mov	w19, #1
LBB0_9:
	ldr	x8, [x28]
	ldr	w1, [x8, #16]
	mov	x0, x22
	bl	_dblk_read
	mov	x22, x0
	ldr	x0, [x28]
	bl	_NINDIR
	cmp	w0, #1
	b.lt	LBB0_20
; %bb.10:
	mov	w20, #0
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	add	w26, w8, #1
	neg	w27, w8
Lloh7:
	adrp	x23, _FS_UFS1_MAGIC@GOTPAGE
Lloh8:
	ldr	x23, [x23, _FS_UFS1_MAGIC@GOTPAGEOFF]
	mov	x25, x22
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldp	x4, x0, [sp, #16]               ; 16-byte Folded Reload
	mov	x1, x26
	mov	x3, x21
	ldr	w5, [sp, #12]                   ; 4-byte Folded Reload
	bl	_indir_visit
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w20, w20, #1
	ldr	x0, [x28]
	bl	_NINDIR
	sub	w26, w26, w19
	add	w27, w27, w19
	cmp	w20, w0
	b.ge	LBB0_20
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	ldr	x9, [x8]
	ldr	x10, [x23]
	cmp	x9, x10
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldrsw	x2, [x25], #4
	cbnz	x2, LBB0_16
	b	LBB0_12
LBB0_15:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x2, [x22], #8
	cbz	x2, LBB0_12
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	cbnz	w24, LBB0_11
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x3, [x8, #8]
	ldr	w8, [x21]
	add	w8, w8, w3
	str	w8, [x21]
	ldp	x4, x0, [sp, #16]               ; 16-byte Folded Reload
	mov	x1, x27
	blr	x4
	b	LBB0_12
LBB0_18:
Lloh9:
	adrp	x8, _debug@GOTPAGE
Lloh10:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.19:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	ldr	w3, [sp, #8]                    ; 4-byte Folded Reload
	mov	x4, x24
	bl	_printf
LBB0_20:
Lloh14:
	adrp	x8, _VISIT_INDIR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VISIT_INDIR@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldp	w1, w9, [sp, #8]                ; 8-byte Folded Reload
	tst	w8, w9
	ldr	x2, [sp]                        ; 8-byte Folded Reload
	b.eq	LBB0_22
; %bb.21:
	ldr	x8, [x28]
	ldr	x3, [x8, #8]
	ldr	w8, [x21]
	add	w8, w8, w3
	str	w8, [x21]
	ldp	x4, x0, [sp, #16]               ; 16-byte Folded Reload
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	br	x4
LBB0_22:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid level for lbn %jd\n"

	.comm	_VISIT_ROOT,4,2                 ; @VISIT_ROOT
	.comm	_debug,8,3                      ; @debug
l_.str.1:                               ; @.str.1
	.asciz	"blk %jd ino %ju lbn %jd(%d) is not indir.\n"

	.comm	_fs,8,3                         ; @fs
	.comm	_FS_UFS1_MAGIC,8,3              ; @FS_UFS1_MAGIC
	.comm	_VISIT_INDIR,4,2                ; @VISIT_INDIR
	.no_dead_strip	_indir_visit
.subsections_via_symbols
