	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function get_ratio
LCPI0_0:
	.quad	0x4023ff7ced916873              ## double 9.9990000000000005
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_ratio:                             ## @get_ratio
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	L_.str(%rip), %rbx
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	cvtsi2sd	%rdi, %xmm0
	cvtsi2sd	%rsi, %xmm1
	divsd	%xmm1, %xmm0
	ucomisd	LCPI0_0(%rip), %xmm0
	ja	LBB0_3
## %bb.2:
	leaq	_get_ratio.buf(%rip), %rbx
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_snprintf
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"---"

.zerofill __DATA,__bss,_get_ratio.buf,16,4 ## @get_ratio.buf
L_.str.1:                               ## @.str.1
	.asciz	"%.3f"

	.no_dead_strip	_get_ratio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ratio
_get_ratio:                             ; @get_ratio
	.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
	cbz	x1, LBB0_2
; %bb.1:
	scvtf	d0, x0
	scvtf	d1, x1
	fdiv	d0, d0, d1
	mov	x8, #26739
	movk	x8, #60817, lsl #16
	movk	x8, #65404, lsl #32
	movk	x8, #16419, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	b.le	LBB0_3
LBB0_2:
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x19, _get_ratio.buf@PAGE
Lloh3:
	add	x19, x19, _get_ratio.buf@PAGEOFF
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #16
	bl	_snprintf
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"---"

.zerofill __DATA,__bss,_get_ratio.buf,16,0 ; @get_ratio.buf
l_.str.1:                               ; @.str.1
	.asciz	"%.3f"

	.no_dead_strip	_get_ratio
.subsections_via_symbols
