	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sperc2
_sperc2:                                ## @sperc2
	.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	_SPBuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SPIndex@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rbx
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	movl	%edi, %eax
	subl	%esi, %eax
	imull	$100, %eax, %eax
	cltd
	idivl	%edi
	movsbl	%al, %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	jmp	LBB0_3
LBB0_2:
	movb	$0, 4(%rbx)
	movl	$757080096, (%rbx)              ## imm = 0x2D202020
LBB0_3:
	movl	(%r14), %eax
	incl	%eax
	andl	$63, %eax
	movq	%rax, (%r14)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPBuf,8,3                      ## @SPBuf
	.comm	_SPIndex,8,3                    ## @SPIndex
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%3d%%"

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

	.no_dead_strip	_sperc2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sperc2
_sperc2:                                ; @sperc2
	.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
Lloh0:
	adrp	x8, _SPBuf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPBuf@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x20, _SPIndex@GOTPAGE
Lloh4:
	ldr	x20, [x20, _SPIndex@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	x19, [x8, x9, lsl #3]
	cbz	w0, LBB0_2
; %bb.1:
	sub	w8, w0, w1
	mov	w9, #100
	mul	w8, w8, w9
	sdiv	w8, w8, w0
	sxtb	w8, w8
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	b	LBB0_3
LBB0_2:
	strb	wzr, [x19, #4]
	mov	w8, #8224
	movk	w8, #11552, lsl #16
	str	w8, [x19]
LBB0_3:
	ldr	w8, [x20]
	add	w8, w8, #1
	and	x8, x8, #0x3f
	str	x8, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SPBuf,8,3                      ; @SPBuf
	.comm	_SPIndex,8,3                    ; @SPIndex
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%3d%%"

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

	.no_dead_strip	_sperc2
.subsections_via_symbols
