	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function percent
_percent:                               ## @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
	subq	$176, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movsd	%xmm0, -184(%rbp)               ## 8-byte Spill
	movq	%rdi, %rcx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	xorl	%eax, %eax
	callq	_snprintf
	leaq	L_.str.1(%rip), %rdx
	leaq	-34(%rbp), %rdi
	movl	$10, %esi
	movsd	-184(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movb	$1, %al
	callq	_snprintf
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.1:
	cmpl	$0, (%r14)
	je	LBB0_2
## %bb.3:
	leaq	-176(%rbp), %rdi
	leaq	-34(%rbp), %rdx
	movl	$1, %esi
	callq	_xo_emit
	decl	(%r14)
	jmp	LBB0_6
LBB0_4:
	movl	%eax, %ebx
	leaq	-176(%rbp), %rdi
	leaq	-34(%rbp), %rdx
	movl	$2, %esi
	callq	_xo_emit
	cmpl	$3, %ebx
	jl	LBB0_6
## %bb.5:
	incl	(%r14)
	jmp	LBB0_6
LBB0_2:
	leaq	-176(%rbp), %rdi
	leaq	-34(%rbp), %rdx
	movl	$2, %esi
	callq	_xo_emit
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$176, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" {:%s/%%*s}"

L_.str.1:                               ## @.str.1
	.asciz	"%.0f"

	.no_dead_strip	_percent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function percent
_percent:                               ; @percent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	d9, d8, [sp, #160]              ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	mov	x19, x1
	fmov	d8, d0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	x0, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #14
	mov	w1, #128
	bl	_snprintf
	str	d8, [sp]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	sub	x0, x29, #50
	mov	w1, #10
	bl	_snprintf
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x19]
	cbz	w8, LBB0_6
; %bb.2:
	add	x0, sp, #14
	sub	x2, x29, #50
	mov	w1, #1
	bl	_xo_emit
	ldr	w8, [x19]
	sub	w8, w8, #1
	b	LBB0_5
LBB0_3:
	mov	x20, x0
	add	x0, sp, #14
	sub	x2, x29, #50
	mov	w1, #2
	bl	_xo_emit
	cmp	w20, #3
	b.lt	LBB0_7
; %bb.4:
	ldr	w8, [x19]
	add	w8, w8, #1
LBB0_5:
	str	w8, [x19]
	b	LBB0_7
LBB0_6:
	add	x0, sp, #14
	sub	x2, x29, #50
	mov	w1, #2
	bl	_xo_emit
LBB0_7:
	ldur	x8, [x29, #-40]
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_9
; %bb.8:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #160]              ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" {:%s/%%*s}"

l_.str.1:                               ; @.str.1
	.asciz	"%.0f"

	.no_dead_strip	_percent
.subsections_via_symbols
