	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ufs1_blksout
_ufs1_blksout:                          ## @ufs1_blksout
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	_sblock@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	imull	(%rcx), %eax
	movq	_TP_BSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_howmany
	movq	(%r14), %rcx
	movl	4(%rcx), %r13d
	movq	_tp_bshift@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %r13d
	testl	%eax, %eax
	jle	LBB0_17
## %bb.1:
	movq	_TP_NINDIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	xorl	%r12d, %r12d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, 8(%rax)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_writeheader
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TS_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_spcl@GOTPCREL(%rip), %rcx
	movl	%eax, 12(%rcx)
	movq	_TP_NINDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	addl	%r14d, %r12d
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %r12d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jge	LBB0_17
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	addl	%r12d, %r14d
	cmpl	%eax, %r14d
	cmovgel	%eax, %r14d
	movl	$1, %edi
	callq	_assert
	movl	%r14d, %r15d
	subl	%r12d, %r15d
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	_spcl@GOTPCREL(%rip), %rax
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rsi
	movslq	%r12d, %r8
	movq	%r8, %rcx
	testb	$1, %r15b
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %eax
	cltd
	idivl	%r13d
	cltq
	xorl	%ecx, %ecx
	cmpq	$0, (%rbx,%rax,8)
	setne	%cl
	movl	%ecx, (%rsi)
	leaq	1(%r8), %rcx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r14d, %rdi
	movq	%r8, %rax
	notq	%rax
	addq	%rdi, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	shlq	$2, %r8
	subq	%r8, %rsi
	addq	$4, %rsi
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, %eax
	cltd
	idivl	%r13d
	cltq
	xorl	%edx, %edx
	cmpq	$0, (%rbx,%rax,8)
	setne	%dl
	movl	%edx, -4(%rsi,%rcx,4)
	leal	1(%rcx), %eax
	cltd
	idivl	%r13d
	cltq
	xorl	%edx, %edx
	cmpq	$0, (%rbx,%rax,8)
	setne	%dl
	movl	%edx, (%rsi,%rcx,4)
	addq	$2, %rcx
	cmpq	%rdi, %rcx
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_spcl@GOTPCREL(%rip), %rax
	movl	%r15d, 8(%rax)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_writeheader
	movl	%r12d, %eax
	cltd
	idivl	%r13d
	cltq
	movl	%r12d, %ecx
	leaq	(%rbx,%rax,8), %r12
	movl	%ecx, %ebx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	_TP_BSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	imull	%r15d, %esi
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=2
	callq	_dumpblock
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=2
	addq	$8, %r12
	subl	%r13d, %r15d
	cmpl	%ebx, %r14d
	jle	LBB0_16
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rdi
	addl	%r13d, %ebx
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpl	%r14d, %ebx
	jg	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	_sblock@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %esi
	jmp	LBB0_14
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sblock,8,3                     ## @sblock
	.comm	_TP_BSIZE,4,2                   ## @TP_BSIZE
	.comm	_tp_bshift,4,2                  ## @tp_bshift
	.comm	_TP_NINDIR,4,2                  ## @TP_NINDIR
	.comm	_spcl,16,3                      ## @spcl
	.comm	_TS_ADDR,4,2                    ## @TS_ADDR
	.no_dead_strip	_ufs1_blksout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ufs1_blksout
_ufs1_blksout:                          ; @ufs1_blksout
	.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
	str	w2, [sp, #12]                   ; 4-byte Folded Spill
	mov	x20, x0
Lloh0:
	adrp	x22, _sblock@GOTPAGE
Lloh1:
	ldr	x22, [x22, _sblock@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w8, [x8]
	mul	w0, w8, w1
Lloh2:
	adrp	x23, _TP_BSIZE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _TP_BSIZE@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_howmany
	cmp	w0, #1
	b.lt	LBB0_18
; %bb.1:
	mov	x21, x0
	mov	w24, #0
	ldr	x8, [x22]
	ldr	w8, [x8, #4]
Lloh4:
	adrp	x9, _tp_bshift@GOTPAGE
Lloh5:
	ldr	x9, [x9, _tp_bshift@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	adrp	x10, _TP_NINDIR@GOTPAGE
Lloh8:
	ldr	x10, [x10, _TP_NINDIR@GOTPAGEOFF]
	asr	w26, w8, w9
Lloh9:
	ldr	w8, [x10]
Lloh10:
	adrp	x19, _spcl@GOTPAGE
Lloh11:
	ldr	x19, [x19, _spcl@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w28, [x19, #8]
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	bl	_writeheader
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh12:
	adrp	x8, _TS_ADDR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TS_ADDR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x19, _spcl@GOTPAGE
Lloh16:
	ldr	x19, [x19, _spcl@GOTPAGEOFF]
	str	w8, [x19, #12]
Lloh17:
	adrp	x8, _TP_NINDIR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TP_NINDIR@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	add	w24, w8, w24
	cmp	w24, w21
	b.ge	LBB0_18
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	add	w8, w8, w24
	cmp	w8, w21
	csel	w25, w8, w21, lt
	mov	w0, #1
	bl	_assert
	subs	w28, w25, w24
	b.le	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x19]
	sxtw	x11, w24
	sxtw	x8, w25
	sub	x12, x8, x11
	mov	x9, x11
	cmp	x12, #4
	b.lo	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	and	x13, x12, #0xfffffffffffffffc
	add	x9, x13, x11
	add	x14, x10, #8
	mov	x15, x13
	mov	x16, x24
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w17, w16, #1
	add	w0, w16, #2
	add	w1, w16, #3
	sdiv	w2, w16, w26
	sdiv	w17, w17, w26
	sdiv	w0, w0, w26
	ldr	x2, [x20, w2, sxtw #3]
	ldr	x17, [x20, w17, sxtw #3]
	ldr	x0, [x20, w0, sxtw #3]
	sdiv	w1, w1, w26
	ldr	x1, [x20, w1, sxtw #3]
	cmp	x2, #0
	cset	w2, ne
	cmp	x17, #0
	cset	w17, ne
	cmp	x0, #0
	cset	w0, ne
	cmp	x1, #0
	stp	w2, w17, [x14, #-8]
	cset	w17, ne
	stp	w0, w17, [x14], #16
	add	w16, w16, #4
	subs	x15, x15, #4
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x12, x13
	b.eq	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x10, x10, x11, lsl #2
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sdiv	w11, w9, w26
	ldr	x11, [x20, w11, sxtw #3]
	cmp	x11, #0
	cset	w11, ne
	str	w11, [x10, x9, lsl #2]
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_10
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w28, [x19, #8]
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	bl	_writeheader
	sdiv	w8, w24, w26
	add	x19, x20, w8, sxtw #3
	mov	x27, x24
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	w8, [x23]
	mul	w1, w8, w28
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=2
	bl	_dumpblock
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x19, x19, #8
	sub	w28, w28, w26
	cmp	w25, w27
	b.le	LBB0_3
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x19]
	add	w27, w27, w26
	cbz	x0, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	w27, w25
	b.gt	LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	x8, [x22]
	ldr	w1, [x8, #4]
	b	LBB0_13
LBB0_18:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_sblock,8,3                     ; @sblock
	.comm	_TP_BSIZE,4,2                   ; @TP_BSIZE
	.comm	_tp_bshift,4,2                  ; @tp_bshift
	.comm	_TP_NINDIR,4,2                  ; @TP_NINDIR
	.comm	_spcl,16,3                      ; @spcl
	.comm	_TS_ADDR,4,2                    ; @TS_ADDR
	.no_dead_strip	_ufs1_blksout
.subsections_via_symbols
