	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function status_get_restore_percent
LCPI0_0:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_status_get_restore_percent
	.p2align	4, 0x90
_status_get_restore_percent:            ## @status_get_restore_percent
	.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, %rbx
	callq	_status_get_restore_point
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_status_get_restore_total
	testq	%rax, %rax
	jle	LBB0_1
## %bb.2:
	cvtsi2sd	%r14, %xmm0
	cvtsi2sd	%rax, %xmm1
	divsd	%xmm1, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	jmp	LBB0_3
LBB0_1:
	xorpd	%xmm0, %xmm0
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_status_get_restore_percent     ; -- Begin function status_get_restore_percent
	.p2align	2
_status_get_restore_percent:            ; @status_get_restore_percent
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_status_get_restore_point
	mov	x19, x0
	mov	x0, x20
	bl	_status_get_restore_total
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.1:
	scvtf	d0, x19
	scvtf	d1, x0
	fdiv	d0, d0, d1
	mov	x8, #4636737291354636288
	fmov	d1, x8
	fmul	d0, d0, d1
	b	LBB0_3
LBB0_2:
	movi	d0, #0000000000000000
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
