	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function indir_trunc
_indir_trunc:                           ## @indir_trunc
	.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	%edi, -68(%rbp)                 ## 4-byte Spill
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.1:
	movl	%ecx, %ebx
	movq	%rdx, %r12
	movl	%esi, %r15d
	movl	%esi, %edi
	callq	_lbn_level
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$-1, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	je	LBB0_5
## %bb.2:
	testl	%eax, %eax
	jle	LBB0_6
## %bb.3:
	leal	1(%rax), %ebx
	movl	$1, %r13d
	movq	_fs@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	callq	_NINDIR
	imull	%eax, %r13d
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_4
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	callq	_err_suj
LBB0_6:
	movl	$1, %r13d
LBB0_7:
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movq	_fs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	12(%rax), %esi
	movq	%r12, %rdi
	callq	_dblk_read
	movq	%rax, %rbx
	movq	(%r14), %rdi
	callq	_NINDIR
	testl	%eax, %eax
	jle	LBB0_18
## %bb.8:
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	leal	1(%r15), %r12d
	negl	%r15d
	movl	-52(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	subl	%ecx, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	%ecx, %eax
	negl	%eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=1
	movl	8(%rdi), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_blk_free
	movq	_fs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	movq	_FS_UFS1_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmoveq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	movq	$0, -8(%rax)
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	%r14d
	callq	_NINDIR
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	addl	%ecx, %r15d
	subl	%ecx, %r12d
	cmpl	%eax, %r14d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jge	LBB0_16
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	_fs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	movq	_FS_UFS1_MAGIC@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	setne	%cl
	sete	%dl
	movq	%rbx, %rax
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	cmoveq	%rsi, %rax
	leaq	(%rsi,%rdx,8), %rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rcx,8), %rbx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r13
	testq	%r13, %r13
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	addl	%r15d, %eax
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%ebx, %eax
	jle	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_indir_trunc
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addl	%r15d, %eax
	movq	_fs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	cmpl	%ebx, %eax
	jge	LBB0_9
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpl	-48(%rbp), %r15d                ## 4-byte Folded Reload
	jl	LBB0_10
	jmp	LBB0_9
LBB0_16:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_18
## %bb.17:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dblk_dirty                     ## TAILCALL
LBB0_18:
	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	_fs,8,3                         ## @fs
	.comm	_FS_UFS1_MAGIC,8,3              ## @FS_UFS1_MAGIC
	.no_dead_strip	_indir_trunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function indir_trunc
_indir_trunc:                           ; @indir_trunc
	.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	w0, [sp, #20]                   ; 4-byte Folded Spill
	cbz	x2, LBB0_18
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x25, x1
	mov	x0, x1
	bl	_lbn_level
	mov	x23, x0
Lloh0:
	adrp	x26, _fs@GOTPAGE
Lloh1:
	ldr	x26, [x26, _fs@GOTPAGEOFF]
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.2:
	cmp	w23, #1
	b.lt	LBB0_6
; %bb.3:
	add	w19, w23, #1
	mov	w27, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x26]
	bl	_NINDIR
	mul	w27, w0, w27
	sub	w19, w19, #1
	cmp	w19, #1
	b.hi	LBB0_4
	b	LBB0_7
LBB0_5:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x25
	bl	_err_suj
LBB0_6:
	mov	w27, #1
LBB0_7:
	ldr	x8, [x26]
	ldr	w1, [x8, #12]
	mov	x0, x21
	bl	_dblk_read
	mov	x22, x0
	ldr	x0, [x26]
	bl	_NINDIR
	cmp	w0, #1
	b.lt	LBB0_18
; %bb.8:
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	mov	w28, #0
	add	w24, w25, #1
	neg	w19, w25
	sub	w8, w27, w23
	stp	wzr, w8, [sp, #24]              ; 8-byte Folded Spill
	mov	x21, x23
	neg	w8, w23
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
	mov	x23, x22
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	w2, [x0, #8]
	mov	x0, x25
	mov	w1, #0
	bl	_blk_free
	ldr	x0, [x26]
	ldr	x8, [x0]
Lloh4:
	adrp	x9, _FS_UFS1_MAGIC@GOTPAGE
Lloh5:
	ldr	x9, [x9, _FS_UFS1_MAGIC@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x8, x23, x22, eq
	stur	xzr, [x8, #-8]
	mov	w8, #1
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w28, w28, #1
	bl	_NINDIR
	add	w19, w19, w27
	sub	w24, w24, w27
	cmp	w28, w0
	b.ge	LBB0_16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x26]
	ldr	x8, [x0]
Lloh7:
	adrp	x9, _FS_UFS1_MAGIC@GOTPAGE
Lloh8:
	ldr	x9, [x9, _FS_UFS1_MAGIC@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x8, x23, x22, eq
	cset	w9, ne
	cset	w10, eq
	add	x23, x23, w10, uxtw #3
	add	x22, x22, w9, uxtw #3
	ldr	x25, [x8]
	cbz	x25, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cbz	w21, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	add	w8, w8, w19
	cmp	w8, w20
	b.le	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	mov	x1, x24
	mov	x2, x25
	mov	x3, x20
	bl	_indir_trunc
	ldr	x0, [x26]
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	add	w8, w8, w19
	cmp	w8, w20
	b.ge	LBB0_9
	b	LBB0_10
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	w19, w20
	b.lt	LBB0_10
	b	LBB0_9
LBB0_16:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_18
; %bb.17:
	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
	b	_dblk_dirty
LBB0_18:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid level for lbn %jd\n"

	.comm	_fs,8,3                         ; @fs
	.comm	_FS_UFS1_MAGIC,8,3              ; @FS_UFS1_MAGIC
	.no_dead_strip	_indir_trunc
.subsections_via_symbols
