	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function render_ascii
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_render_ascii:                          ## @render_ascii
	.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
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_strlen
	movl	4(%rbx), %ecx
	addl	(%rbx), %ecx
	addl	8(%rbx), %ecx
	movslq	%ecx, %rcx
	imulq	$1431655766, %rcx, %rcx         ## imm = 0x55555556
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$32, %rcx
	addl	%edx, %ecx
	cvtsi2ss	%ecx, %xmm0
	movl	4(%r15), %edx
	addl	(%r15), %edx
	movl	%eax, %ecx
	addl	8(%r15), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rdx
	shrq	$63, %rdx
	shrq	$32, %rax
	addl	%edx, %eax
	cvtsi2ss	%eax, %xmm1
	addss	%xmm0, %xmm1
	mulss	LCPI0_0(%rip), %xmm1
	movl	$255, %eax
	xorl	%edx, %edx
	idivl	%ecx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	divss	%xmm0, %xmm1
	cvttss2si	%xmm1, %eax
	leal	-1(%rcx), %edx
	cmpl	%eax, %ecx
	cmovgl	%eax, %edx
	movslq	%edx, %rax
	movsbl	(%rax,%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" `.,-:+*%$#"

L_.str.1:                               ## @.str.1
	.asciz	"%c"

	.no_dead_strip	_render_ascii
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function render_ascii
_render_ascii:                          ; @render_ascii
	.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	x19, x2
	mov	x20, x1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strlen
	ldp	w8, w9, [x20]
	ldr	w10, [x20, #8]
	add	w8, w9, w8
	add	w8, w8, w10
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	smull	x8, w8, w9
	lsr	x10, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w10
	scvtf	s0, w8
	ldp	w8, w10, [x19]
	ldr	w11, [x19, #8]
	add	w8, w10, w8
	add	w8, w8, w11
	smull	x8, w8, w9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	scvtf	s1, w8
	fadd	s0, s0, s1
	fmov	s1, #0.50000000
	fmul	s0, s0, s1
	mov	w8, #255
	sdiv	w8, w8, w0
	scvtf	s1, w8
	fdiv	s0, s0, s1
	fcvtzs	w8, s0
	sub	w9, w0, #1
	cmp	w0, w8
	csel	w8, w8, w9, gt
	ldrsb	w1, [x21, w8, sxtw]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	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
	br	x2
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" `.,-:+*%$#"

l_.str.1:                               ; @.str.1
	.asciz	"%c"

	.no_dead_strip	_render_ascii
.subsections_via_symbols
