	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vita2d_font_render_message
_vita2d_font_render_message:            ## @vita2d_font_render_message
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movss	%xmm2, -56(%rbp)                ## 4-byte Spill
	movss	%xmm1, -52(%rbp)                ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.1:
	movq	%rdx, %rbx
	cmpb	$0, (%rdx)
	je	LBB0_8
## %bb.2:
	movq	%rsi, %r12
	movq	16(%rsi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movl	8(%r12), %edi
	callq	*%rax
	mulss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	movq	(%r12), %rax
	divss	(%rax), %xmm0
	movss	%xmm0, -64(%rbp)                ## 4-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %r14d
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r13d, %xmm0
	mulss	-64(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	-56(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movss	-52(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	callq	_vita2d_font_render_line
	incl	%r14d
	addq	%r14, %rbx
	incl	%r13d
	testq	%r15, %r15
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strchr
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %r14
	subq	%rbx, %r14
	jmp	LBB0_7
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rbx, %rdi
	callq	_strlen
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movss	-52(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-56(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vita2d_font_render_line        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vita2d_font_render_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vita2d_font_render_message
_vita2d_font_render_message:            ; @vita2d_font_render_message
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-112]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	.cfi_offset b10, -104
	.cfi_offset b11, -112
	cbz	x2, LBB0_8
; %bb.1:
	mov	x21, x2
	ldrb	w8, [x2]
	cbz	w8, LBB0_8
; %bb.2:
	mov	x19, x4
	fmov	s8, s2
	fmov	s9, s1
	mov	x20, x3
	fmov	s10, s0
	mov	x22, x1
	mov	x23, x0
	ldr	x8, [x1, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.3:
	ldr	w0, [x22, #8]
	blr	x8
	mov	w26, #0
	fmul	s0, s0, s10
	ldr	x8, [x22]
	ldr	s1, [x8]
	fdiv	s11, s0, s1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_strlen
	mov	w25, w0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	scvtf	s0, w26
	fmsub	s2, s0, s11, s8
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x25
	fmov	s0, s10
	mov	x4, x20
	fmov	s1, s9
	mov	x5, x19
	bl	_vita2d_font_render_line
	add	w8, w25, #1
	add	x21, x21, x8
	add	w26, w26, #1
	cbz	x24, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #10
	bl	_strchr
	mov	x24, x0
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x25, x24, x21
	b	LBB0_5
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #112            ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x21
	bl	_strlen
	mov	x3, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	fmov	s0, s10
	mov	x4, x20
	fmov	s1, s9
	fmov	s2, s8
	mov	x5, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #112            ; 16-byte Folded Reload
	b	_vita2d_font_render_line
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vita2d_font_render_message
.subsections_via_symbols
