	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function indir_fill
_indir_fill:                            ## @indir_fill
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %r15d
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXBSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_bzero
	movq	_sblock@GOTPCREL(%rip), %rdi
	callq	_NINDIR
	testl	%eax, %eax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	movq	%r15, %rax
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	leal	-1(%r15), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	$-1, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	decl	(%r13)
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%r12d
	movq	_sblock@GOTPCREL(%rip), %rdi
	callq	_NINDIR
	cmpl	%eax, %r12d
	jge	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r13)
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_journal_balloc
	testq	%rax, %rax
	jle	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_sblock@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_FS_UFS1_MAGIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	addq	$4, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, (%rbx)
	addq	$8, %rbx
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r14d
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%r13, %rdx
	callq	_indir_fill
	testl	%eax, %eax
	jle	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	addl	%eax, %r14d
	jmp	LBB0_12
LBB0_1:
	xorl	%r14d, %r14d
LBB0_13:
	movq	_sblock@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_fsbtodb
	movl	8(%rbx), %ecx
	movq	_disk@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_bwrite
	movl	%r14d, %r15d
	testq	%rax, %rax
	jg	LBB0_15
## %bb.14:
	leaq	L_.str(%rip), %rdi
	callq	_warn
	movl	$-1, %r15d
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXBSIZE,4,2                   ## @MAXBSIZE
	.comm	_sblock,16,3                    ## @sblock
	.comm	_FS_UFS1_MAGIC,8,3              ## @FS_UFS1_MAGIC
	.comm	_disk,4,2                       ## @disk
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to write indirect"

	.no_dead_strip	_indir_fill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function indir_fill
_indir_fill:                            ; @indir_fill
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x22, x2
	mov	x23, x1
	stur	x0, [x29, #-96]                 ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXBSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXBSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x9, x1
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_bzero
Lloh8:
	adrp	x24, _sblock@GOTPAGE
Lloh9:
	ldr	x24, [x24, _sblock@GOTPAGEOFF]
	mov	x0, x24
	bl	_NINDIR
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.1:
	mov	w26, #0
	mov	w19, #0
	sub	w25, w23, #1
Lloh10:
	adrp	x27, _FS_UFS1_MAGIC@GOTPAGE
Lloh11:
	ldr	x27, [x27, _FS_UFS1_MAGIC@GOTPAGEOFF]
	mov	x28, x20
	mov	x21, x20
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
	sub	w8, w8, #1
	str	w8, [x22]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w26, #1
	mov	x0, x24
	bl	_NINDIR
	cmp	w26, w0
	b.ge	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cbz	w8, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_journal_balloc
	cmp	x0, #1
	b.lt	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w0, [x28], #4
	add	w19, w19, #1
	cbnz	w23, LBB0_9
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x0, [x21], #8
	add	w19, w19, #1
	cbz	w23, LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x25
	mov	x2, x22
	bl	_indir_fill
	cmp	w0, #1
	b.lt	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w19, w0, w19
	b	LBB0_3
LBB0_11:
	mov	w19, #0
LBB0_12:
	mov	x0, x24
	ldur	x1, [x29, #-96]                 ; 8-byte Folded Reload
	bl	_fsbtodb
	mov	x1, x0
	ldr	w3, [x24, #8]
Lloh12:
	adrp	x0, _disk@GOTPAGE
Lloh13:
	ldr	x0, [x0, _disk@GOTPAGEOFF]
	mov	x2, x20
	bl	_bwrite
	cmp	x0, #0
	b.gt	LBB0_15
; %bb.13:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
LBB0_14:
	mov	w19, #-1
LBB0_15:
	ldur	x8, [x29, #-88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x19
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXBSIZE,4,2                   ; @MAXBSIZE
	.comm	_sblock,16,3                    ; @sblock
	.comm	_FS_UFS1_MAGIC,8,3              ; @FS_UFS1_MAGIC
	.comm	_disk,4,2                       ; @disk
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to write indirect"

	.no_dead_strip	_indir_fill
.subsections_via_symbols
