	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function writecache_status
_writecache_status:                     ## @writecache_status
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %r14
	cmpl	$128, %esi
	je	LBB0_3
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_16
## %bb.2:
	movq	%r14, %rdi
	callq	_writecache_has_error
	movslq	(%r14), %rdx
	movq	96(%r14), %r8
	movq	104(%r14), %rcx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DMEMIT                         ## TAILCALL
LBB0_3:
	movq	%r14, %rdi
	callq	_WC_MODE_PMEM
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	leal	(%rcx,%rcx,2), %esi
	orl	$112, %esi
	movq	88(%r14), %rax
	movl	(%rax), %edx
	movq	80(%r14), %rax
	movl	(%rax), %ecx
	movl	72(%r14), %r8d
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
	xorl	%eax, %eax
	cmpq	$0, 64(%r14)
	setne	%al
	leal	(%rax,%rax), %ecx
	cmpl	$0, 60(%r14)
	leal	2(%rax,%rax), %eax
	cmovel	%ecx, %eax
	leal	2(%rax), %ecx
	cmpl	$0, 52(%r14)
	cmovel	%eax, %ecx
	leal	2(%rcx), %eax
	cmpl	$0, 44(%r14)
	cmovel	%ecx, %eax
	cmpl	$0, 40(%r14)
	leal	2(%rax), %ecx
	cmovel	%eax, %ecx
	leal	2(%rcx), %esi
	cmpl	$0, 36(%r14)
	cmovel	%ecx, %esi
	cmpl	$1, 28(%r14)
	sbbl	$-1, %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
	movq	64(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
LBB0_5:
	cmpl	$0, 60(%r14)
	je	LBB0_7
## %bb.6:
	imull	$100, 56(%r14), %eax
	movslq	(%r14), %rsi
	movl	%esi, %ebx
	shrl	$31, %ebx
	addl	%esi, %ebx
	sarl	%ebx
	addl	%eax, %ebx
	movl	%ebx, %edi
	callq	_do_div
	movl	$100, %esi
	subl	%ebx, %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
LBB0_7:
	cmpl	$0, 52(%r14)
	je	LBB0_9
## %bb.8:
	imull	$100, 48(%r14), %eax
	movslq	(%r14), %rsi
	movl	%esi, %ebx
	shrl	$31, %ebx
	addl	%esi, %ebx
	sarl	%ebx
	addl	%eax, %ebx
	movl	%ebx, %edi
	callq	_do_div
	movl	$100, %esi
	subl	%ebx, %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
LBB0_9:
	cmpl	$0, 44(%r14)
	je	LBB0_11
## %bb.10:
	movq	8(%r14), %rsi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
LBB0_11:
	cmpl	$0, 40(%r14)
	je	LBB0_13
## %bb.12:
	movq	16(%r14), %rsi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
LBB0_13:
	cmpl	$0, 36(%r14)
	je	LBB0_15
## %bb.14:
	movl	32(%r14), %edi
	callq	_jiffies_to_msecs
	leaq	L_.str.8(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_DMEMIT
LBB0_15:
	cmpl	$0, 28(%r14)
	je	LBB0_16
## %bb.17:
	cmpl	$0, 24(%r14)
	leaq	L_.str.11(%rip), %rax
	leaq	L_.str.10(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DMEMIT                         ## TAILCALL
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%ld %llu %llu %llu"

L_.str.1:                               ## @.str.1
	.asciz	"%c %s %s %u "

L_.str.2:                               ## @.str.2
	.asciz	"%u"

L_.str.3:                               ## @.str.3
	.asciz	" start_sector %llu"

L_.str.4:                               ## @.str.4
	.asciz	" high_watermark %u"

L_.str.5:                               ## @.str.5
	.asciz	" low_watermark %u"

L_.str.6:                               ## @.str.6
	.asciz	" writeback_jobs %u"

L_.str.7:                               ## @.str.7
	.asciz	" autocommit_blocks %u"

L_.str.8:                               ## @.str.8
	.asciz	" autocommit_time %u"

L_.str.9:                               ## @.str.9
	.asciz	" %sfua"

L_.str.10:                              ## @.str.10
	.space	1

L_.str.11:                              ## @.str.11
	.asciz	"no"

	.no_dead_strip	_writecache_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function writecache_status
_writecache_status:                     ; @writecache_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x19, [x0]
	cmp	w1, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_18
; %bb.2:
	mov	x0, x19
	bl	_writecache_has_error
                                        ; kill: def $w0 killed $w0 def $x0
	ldrsw	x8, [x19]
	ldp	x10, x9, [x19, #96]
	stp	x9, x10, [sp, #16]
	stp	x0, x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_17
LBB0_3:
	mov	x0, x19
	bl	_WC_MODE_PMEM
	ldp	x9, x8, [x19, #80]
	ldr	w8, [x8]
	ldr	w9, [x9]
	ldr	w10, [x19, #72]
	stp	x9, x10, [sp, #16]
	cmp	w0, #0
	mov	w9, #112
	mov	w10, #115
	csel	x9, x10, x9, eq
	stp	x9, x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DMEMIT
	ldr	x8, [x19, #64]
	cmp	x8, #0
	cset	w8, ne
	lsl	w8, w8, #1
	ldr	w9, [x19, #60]
	add	w10, w8, #2
	cmp	w9, #0
	csel	w8, w8, w10, eq
	ldr	w9, [x19, #52]
	add	w10, w8, #2
	cmp	w9, #0
	csel	w8, w8, w10, eq
	ldr	w9, [x19, #44]
	add	w10, w8, #2
	cmp	w9, #0
	csel	w8, w8, w10, eq
	add	w9, w8, #2
	ldp	w11, w10, [x19, #36]
	cmp	w10, #0
	csel	w8, w8, w9, eq
	add	w9, w8, #2
	cmp	w11, #0
	csel	w8, w8, w9, eq
	ldr	w9, [x19, #28]
	cmp	w9, #0
	cinc	w8, w8, ne
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DMEMIT
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_5
; %bb.4:
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DMEMIT
LBB0_5:
	ldr	w8, [x19, #60]
	cbz	w8, LBB0_7
; %bb.6:
	ldr	w8, [x19, #56]
	mov	w21, #100
	mul	w8, w8, w21
	ldrsw	x1, [x19]
	cmp	w1, #0
	cinc	w9, w1, lt
	add	w20, w8, w9, asr #1
	mov	x0, x20
	bl	_do_div
	sub	w8, w21, w20
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DMEMIT
LBB0_7:
	ldr	w8, [x19, #52]
	cbz	w8, LBB0_9
; %bb.8:
	ldr	w8, [x19, #48]
	mov	w21, #100
	mul	w8, w8, w21
	ldrsw	x1, [x19]
	cmp	w1, #0
	cinc	w9, w1, lt
	add	w20, w8, w9, asr #1
	mov	x0, x20
	bl	_do_div
	sub	w8, w21, w20
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DMEMIT
LBB0_9:
	ldr	w8, [x19, #44]
	cbz	w8, LBB0_11
; %bb.10:
	ldr	x8, [x19, #8]
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DMEMIT
LBB0_11:
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_13
; %bb.12:
	ldr	x8, [x19, #16]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.7@PAGE
Lloh15:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DMEMIT
LBB0_13:
	ldr	w8, [x19, #36]
	cbz	w8, LBB0_15
; %bb.14:
	ldr	w0, [x19, #32]
	bl	_jiffies_to_msecs
	str	x0, [sp]
Lloh16:
	adrp	x0, l_.str.8@PAGE
Lloh17:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_DMEMIT
LBB0_15:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_18
; %bb.16:
	ldr	w8, [x19, #24]
Lloh18:
	adrp	x9, l_.str.10@PAGE
Lloh19:
	add	x9, x9, l_.str.10@PAGEOFF
Lloh20:
	adrp	x10, l_.str.11@PAGE
Lloh21:
	add	x10, x10, l_.str.11@PAGEOFF
	cmp	w8, #0
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh22:
	adrp	x0, l_.str.9@PAGE
Lloh23:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_17:
	bl	_DMEMIT
LBB0_18:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%ld %llu %llu %llu"

l_.str.1:                               ; @.str.1
	.asciz	"%c %s %s %u "

l_.str.2:                               ; @.str.2
	.asciz	"%u"

l_.str.3:                               ; @.str.3
	.asciz	" start_sector %llu"

l_.str.4:                               ; @.str.4
	.asciz	" high_watermark %u"

l_.str.5:                               ; @.str.5
	.asciz	" low_watermark %u"

l_.str.6:                               ; @.str.6
	.asciz	" writeback_jobs %u"

l_.str.7:                               ; @.str.7
	.asciz	" autocommit_blocks %u"

l_.str.8:                               ; @.str.8
	.asciz	" autocommit_time %u"

l_.str.9:                               ; @.str.9
	.asciz	" %sfua"

l_.str.10:                              ; @.str.10
	.space	1

l_.str.11:                              ; @.str.11
	.asciz	"no"

	.no_dead_strip	_writecache_status
.subsections_via_symbols
