	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_rate_str
_get_rate_str:                          ## @get_rate_str
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, %r15d
	testl	%esi, %esi
	je	LBB0_12
## %bb.1:
	movl	%esi, %r12d
	movl	%edi, %ebx
	cmpl	%esi, %edi
	jg	LBB0_12
## %bb.2:
	movq	%rdx, %r14
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.3:
	movq	_UINT64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%ebx
	xorl	%edi, %edi
	cmpl	$1000, %eax                     ## imm = 0x3E8
	setge	%dil
	callq	_assert
LBB0_4:
	imull	$1000, %ebx, %eax               ## imm = 0x3E8
	cltd
	idivl	%r12d
	cmpl	$9, %eax
	ja	LBB0_7
## %bb.5:
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_6
LBB0_7:
	cmpl	$99, %eax
	ja	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_6
LBB0_9:
	cmpl	$999, %eax                      ## imm = 0x3E7
	ja	LBB0_11
## %bb.10:
	leaq	L_.str.2(%rip), %rdx
LBB0_6:
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movl	$6, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_malloc_snprintf
LBB0_12:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.3(%rip), %rdx
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movl	$6, %esi
	xorl	%eax, %eax
	callq	_malloc_snprintf
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT64_MAX,4,2                 ## @UINT64_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0.00%u"

L_.str.1:                               ## @.str.1
	.asciz	"0.0%u"

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

L_.str.3:                               ## @.str.3
	.asciz	"1"

	.no_dead_strip	_get_rate_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_rate_str
_get_rate_str:                          ; @get_rate_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x0
	mov	w0, #1
	cbz	w1, LBB0_12
; %bb.1:
	mov	x20, x1
	cmp	w21, w1
	b.gt	LBB0_12
; %bb.2:
	mov	x19, x2
	cmp	w21, #1
	b.lt	LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _UINT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UINT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sdiv	w8, w8, w21
	cmp	w8, #999
	cset	w0, gt
	bl	_assert
LBB0_4:
	mov	w8, #1000
	mul	w8, w21, w8
	sdiv	w8, w8, w20
	cmp	w8, #9
	b.hi	LBB0_6
; %bb.5:
	str	x8, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_11
LBB0_6:
	cmp	w8, #99
	b.hi	LBB0_8
; %bb.7:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_8:
	cmp	w8, #999
	b.hi	LBB0_10
; %bb.9:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_11:
	mov	x0, x19
	mov	w1, #6
	bl	_malloc_snprintf
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT64_MAX,4,2                 ; @UINT64_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0.00%u"

l_.str.1:                               ; @.str.1
	.asciz	"0.0%u"

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

l_.str.3:                               ; @.str.3
	.asciz	"1"

	.no_dead_strip	_get_rate_str
.subsections_via_symbols
