	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pblk_get_write_amp
_pblk_get_write_amp:                    ## @pblk_get_write_amp
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %r12d
	movl	%esi, %ebx
	movl	%edi, %r13d
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str(%rip), %rdx
	movq	%rcx, %rdi
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	movl	%r12d, %r9d
	xorl	%eax, %eax
	callq	_snprintf
	movl	%eax, %r14d
	testl	%r13d, %r13d
	je	LBB0_1
## %bb.2:
	addl	%r13d, %ebx
	addl	%r12d, %ebx
	imull	$100000, %ebx, %edi             ## imm = 0x186A0
	movl	%r13d, %esi
	callq	_div64_u64
	leaq	-44(%rbp), %rdx
	movl	%eax, %edi
	movl	$100000, %esi                   ## imm = 0x186A0
	callq	_div_u64_rem
	movslq	%r14d, %rcx
	addq	%rcx, %r15
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	subq	%rcx, %rsi
	movl	-44(%rbp), %r8d
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_3
LBB0_1:
	movslq	%r14d, %rax
	addq	%rax, %r15
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	subq	%rax, %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_snprintf
LBB0_3:
	addl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"user:%lld gc:%lld pad:%lld WA:"

L_.str.1:                               ## @.str.1
	.asciz	"NaN\n"

L_.str.2:                               ## @.str.2
	.asciz	"%llu.%05u\n"

	.no_dead_strip	_pblk_get_write_amp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pblk_get_write_amp
_pblk_get_write_amp:                    ; @pblk_get_write_amp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PAGE_SIZE@GOTPAGEOFF]
	ldr	x1, [x24]
	stp	x23, x22, [sp, #8]
	str	x21, [sp]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x3
	bl	_snprintf
	mov	x19, x0
	cbz	w21, LBB0_2
; %bb.1:
	add	w8, w23, w21
	add	w8, w8, w22
	mov	w9, #34464
	movk	w9, #1, lsl #16
	mul	w0, w8, w9
	mov	x1, x21
	bl	_div64_u64
	add	x2, sp, #28
	mov	w1, #34464
	movk	w1, #1, lsl #16
	bl	_div_u64_rem
                                        ; kill: def $w0 killed $w0 def $x0
	mov	x8, x19
	sxtw	x9, w8
	add	x8, x20, x9
	ldr	x10, [x24]
	sub	x1, x10, x9
	ldr	w9, [sp, #28]
	stp	x0, x9, [sp]
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x8
	b	LBB0_3
LBB0_2:
	sxtw	x8, w19
	add	x0, x20, x8
	ldr	x9, [x24]
	sub	x1, x9, x8
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_3:
	bl	_snprintf
	add	w0, w0, w19
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"user:%lld gc:%lld pad:%lld WA:"

l_.str.1:                               ; @.str.1
	.asciz	"NaN\n"

l_.str.2:                               ; @.str.2
	.asciz	"%llu.%05u\n"

	.no_dead_strip	_pblk_get_write_amp
.subsections_via_symbols
