	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_ratio
_print_ratio:                           ## @print_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	xorl	%ecx, %ecx
	movl	%esi, %eax
	orl	%edi, %eax
	je	LBB0_9
## %bb.1:
	movl	%esi, %edx
	shrl	$31, %edx
	addl	%esi, %edx
	sarl	%edx
	movl	%edi, %eax
	subl	%edx, %eax
	js	LBB0_2
## %bb.3:
	cmpl	$1048577, %edi                  ## imm = 0x100001
	jl	LBB0_4
## %bb.5:
	movl	%edi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	sarl	%eax
	shrl	%esi
	cmpl	$2097153, %edi                  ## imm = 0x200001
	movl	%esi, %edi
	ja	LBB0_6
## %bb.7:
	testl	%esi, %esi
	jne	LBB0_8
	jmp	LBB0_9
LBB0_2:
	movl	$-999, %ecx                     ## imm = 0xFC19
	jmp	LBB0_9
LBB0_4:
	movl	%edi, %esi
	testl	%esi, %esi
	je	LBB0_9
LBB0_8:
	imull	$2000, %eax, %eax               ## imm = 0x7D0
	cltd
	idivl	%esi
	movl	%eax, %ecx
	addl	$-1000, %ecx                    ## imm = 0xFC18
LBB0_9:
	leaq	L_.str(%rip), %rdx
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_snprintf
	cltq
	movb	-2(%rax,%rbx), %cl
	movb	%cl, -1(%rax,%rbx)
	movb	$46, -2(%rax,%rbx)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_fprintf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%2.2d."

L_.str.1:                               ## @.str.1
	.asciz	"%5s%%"

	.no_dead_strip	_print_ratio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_ratio
_print_ratio:                           ; @print_ratio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	orr	w8, w1, w0
	cbz	w8, LBB0_9
; %bb.1:
	cmp	w1, #0
	cinc	w8, w1, lt
	subs	w8, w0, w8, asr #1
	b.mi	LBB0_7
; %bb.2:
	cmp	w0, #256, lsl #12               ; =1048576
	b.le	LBB0_8
; %bb.3:
	mov	w10, #1
	movk	w10, #32, lsl #16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	asr	w8, w8, #1
	lsr	w9, w0, #1
	cmp	w0, w10
	mov	x0, x9
	b.hi	LBB0_4
; %bb.5:
	cbz	w9, LBB0_9
LBB0_6:
	mov	w10, #2000
	mul	w8, w8, w10
	sdiv	w8, w8, w9
	sub	w3, w8, #1000
	b	LBB0_10
LBB0_7:
	mov	w3, #-999
	b	LBB0_10
LBB0_8:
	mov	x9, x0
	cbnz	w9, LBB0_6
LBB0_9:
	mov	w3, #0
LBB0_10:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x20, sp
	mov	x0, sp
	mov	w1, #8
	bl	_snprintf
	add	x8, x20, w0, sxtw
	ldurb	w9, [x8, #-2]
	sturb	w9, [x8, #-1]
	mov	w9, #46
	sturb	w9, [x8, #-2]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, sp
	mov	x0, x19
	bl	_fprintf
	ldr	x8, [sp, #8]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%2.2d."

l_.str.1:                               ; @.str.1
	.asciz	"%5s%%"

	.no_dead_strip	_print_ratio
.subsections_via_symbols
