	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function writecache_disk_flush
_writecache_disk_flush:                 ## @writecache_disk_flush
	.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	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rsi), %eax
	movl	%eax, -64(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	_REQ_OP_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_REQ_PREFLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_DM_IO_KMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	$0, -40(%rbp)
	movl	(%rdi), %eax
	movl	%eax, -48(%rbp)
	movq	$0, -56(%rbp)
	leaq	-56(%rbp), %rdi
	leaq	-80(%rbp), %rdx
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	_dm_io
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%ebx, %ecx
	callq	_writecache_error
LBB0_2:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REQ_OP_WRITE,4,2               ## @REQ_OP_WRITE
	.comm	_REQ_PREFLUSH,4,2               ## @REQ_PREFLUSH
	.comm	_DM_IO_KMEM,4,2                 ## @DM_IO_KMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error flushing metadata: %d"

	.no_dead_strip	_writecache_disk_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function writecache_disk_flush
_writecache_disk_flush:                 ; @writecache_disk_flush
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	ldr	w8, [x1]
	str	w8, [sp, #56]
	stp	xzr, xzr, [sp, #40]
Lloh0:
	adrp	x8, _REQ_OP_WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REQ_OP_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #36]
Lloh3:
	adrp	x8, _REQ_PREFLUSH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REQ_PREFLUSH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _DM_IO_KMEM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DM_IO_KMEM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w8, [sp, #32]
	str	w9, [sp, #24]
	str	xzr, [sp, #16]
	ldr	w8, [x0]
	str	w8, [sp, #8]
	str	xzr, [sp]
	mov	x0, sp
	add	x2, sp, #40
	mov	w1, #1
	mov	x3, #0
	bl	_dm_io
	mov	x20, x0
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x3, x20
	bl	_writecache_error
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_REQ_OP_WRITE,4,2               ; @REQ_OP_WRITE
	.comm	_REQ_PREFLUSH,4,2               ; @REQ_PREFLUSH
	.comm	_DM_IO_KMEM,4,2                 ; @DM_IO_KMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error flushing metadata: %d"

	.no_dead_strip	_writecache_disk_flush
.subsections_via_symbols
