	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_block_writeout                 ## -- Begin function block_writeout
	.p2align	4, 0x90
_block_writeout:                        ## @block_writeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, 8(%rsi)
	movl	24(%rsi), %edx
	movl	16(%rsi), %r8d
	movl	20(%rsi), %ecx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_DBG
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_block_writeout_hdr
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movl	(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.4:
	leaq	-24(%rbp), %rdi
	movq	%rdi, 8(%rbx)
	callq	_csum_init
LBB0_5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_block_writeout_data
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_block_writeout_csum
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"writing block, file=%s, file_size=%d, space=%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_block_writeout                 ; -- Begin function block_writeout
	.p2align	2
_block_writeout:                        ; @block_writeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x1, LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	str	xzr, [x1, #8]
	ldp	w3, w2, [x1, #20]
	ldr	w4, [x1, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_DBG
	mov	x0, x20
	mov	x1, x19
	bl	_block_writeout_hdr
	cbnz	w0, LBB0_7
; %bb.2:
	ldr	w1, [x19]
	cbz	w1, LBB0_4
; %bb.3:
	add	x8, sp, #8
	str	x8, [x19, #8]
	add	x0, sp, #8
	bl	_csum_init
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_block_writeout_data
	cbnz	w0, LBB0_7
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_block_writeout_csum
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"writing block, file=%s, file_size=%d, space=%d"

.subsections_via_symbols
