	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function vulkan_raster_font_render_line
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_vulkan_raster_font_render_line:        ## @vulkan_raster_font_render_line
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movss	%xmm2, -44(%rbp)                ## 4-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rsi, -88(%rbp)
	movq	32(%rdi), %rbx
	mulss	(%rbx), %xmm1
	movaps	%xmm1, %xmm0
	callq	_roundf
	movl	%eax, %r15d
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	subss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	mulss	4(%rbx), %xmm0
	callq	_roundf
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm0
	divss	40(%r12), %xmm0
	movss	%xmm0, -80(%rbp)                ## 4-byte Spill
	movaps	%xmm1, %xmm0
	divss	44(%r12), %xmm0
	movss	%xmm0, -76(%rbp)                ## 4-byte Spill
	movq	32(%r12), %rcx
	movaps	%xmm1, %xmm0
	divss	(%rcx), %xmm0
	movss	%xmm0, -72(%rbp)                ## 4-byte Spill
	divss	4(%rcx), %xmm1
	movss	%xmm1, -44(%rbp)                ## 4-byte Spill
	movl	%eax, %ecx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movups	(%rax), %xmm0
	movaps	%xmm0, -112(%rbp)
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	cmpl	$129, %r13d
	je	LBB0_3
## %bb.1:
	cmpl	$128, %r13d
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_4
## %bb.2:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	%ecx, %r13d
	callq	_vulkan_get_message_width
	movl	%r13d, %ecx
	subl	%eax, %r15d
LBB0_4:
	testl	%ebx, %ebx
	jne	LBB0_5
	jmp	LBB0_10
LBB0_3:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%ecx, %r13d
	callq	_vulkan_get_message_width
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	subl	%ecx, %r15d
	movl	%r13d, %ecx
	testl	%ebx, %ebx
	je	LBB0_10
LBB0_5:
	movl	%ebx, %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r15d, %xmm0
	movss	%xmm0, -64(%rbp)                ## 4-byte Spill
	addq	%rax, %r14
	xorps	%xmm0, %xmm0
	cvtsi2ss	%ecx, %xmm0
	movss	%xmm0, -68(%rbp)                ## 4-byte Spill
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_vulkan_raster_font_update_glyph
	movq	(%r12), %rdi
	addq	8(%r12), %rdi
	movl	(%rbx), %eax
	addl	%r13d, %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	-48(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm3, %xmm0
	addss	-64(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	-72(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	cvttss2si	%xmm0, %esi
	movl	4(%rbx), %eax
	addl	%r15d, %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	mulss	%xmm3, %xmm0
	addss	-68(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	-44(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	mulss	%xmm4, %xmm0
	cvttss2si	%xmm0, %edx
	xorps	%xmm0, %xmm0
	cvtsi2ssl	16(%rbx), %xmm0
	movaps	%xmm0, %xmm1
	mulss	%xmm3, %xmm1
	mulss	%xmm2, %xmm1
	cvttss2si	%xmm1, %ecx
	xorps	%xmm1, %xmm1
	cvtsi2ssl	20(%rbx), %xmm1
	movaps	%xmm1, %xmm2
	mulss	%xmm3, %xmm2
	mulss	%xmm4, %xmm2
	cvttss2si	%xmm2, %r8d
	xorps	%xmm2, %xmm2
	cvtsi2ssl	8(%rbx), %xmm2
	movss	-80(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm3, %xmm2
	cvttss2si	%xmm2, %r9d
	xorps	%xmm2, %xmm2
	cvtsi2ssl	12(%rbx), %xmm2
	movss	-76(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	mulss	%xmm4, %xmm2
	cvttss2si	%xmm2, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	mulss	%xmm3, %xmm0
	cvttss2si	%xmm0, %r11d
	mulss	%xmm4, %xmm1
	cvttss2si	%xmm1, %r10d
	movq	%r12, %rax
	movl	%r15d, %r12d
	movl	%r13d, %r15d
	movq	%r14, %r13
	leaq	-112(%rbp), %r14
	pushq	%r14
	movq	%r13, %r14
	movl	%r15d, %r13d
	movl	%r12d, %r15d
	movq	%rax, %r12
	pushq	%r10
	pushq	%r11
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_vulkan_write_quad_vbo
	addq	$32, %rsp
	addq	$6, (%r12)
	addl	32(%rbx), %r13d
	addl	24(%rbx), %r15d
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r14, -88(%rbp)
	jae	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-88(%rbp), %rdi
	callq	_utf8_walk
	movq	24(%r12), %rcx
	movl	16(%r12), %edi
	movsbl	%al, %esi
	callq	*(%rcx)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	24(%r12), %rax
	movl	16(%r12), %edi
	movl	$63, %esi
	callq	*(%rax)
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_9
LBB0_10:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vulkan_raster_font_render_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vulkan_raster_font_render_line
_vulkan_raster_font_render_line:        ; @vulkan_raster_font_render_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	d15, d14, [sp, #48]             ; 16-byte Folded Spill
	stp	d13, d12, [sp, #64]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #80]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #96]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset b12, -120
	.cfi_offset b13, -128
	.cfi_offset b14, -136
	.cfi_offset b15, -144
	mov	x24, x4
	fmov	s9, s2
	mov	x25, x3
	fmov	s8, s0
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	str	x1, [sp, #40]
	ldr	x23, [x0, #32]
	ldr	s0, [x23]
	fmul	s0, s0, s1
	bl	_roundf
	mov	x22, x0
	fmov	s14, #1.00000000
	fsub	s0, s14, s9
	ldr	s1, [x23, #4]
	fmul	s0, s0, s1
	bl	_roundf
	mov	x23, x0
	ldp	s9, s10, [x19, #40]
	ldr	x8, [x19, #32]
	ldp	s11, s15, [x8]
	ldr	q0, [x25]
	str	q0, [sp, #16]
	cmp	w24, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w24, #128
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	fmov	s0, s8
	bl	_vulkan_get_message_width
	sub	w22, w22, w0
LBB0_3:
	cbnz	w20, LBB0_5
	b	LBB0_10
LBB0_4:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	fmov	s0, s8
	bl	_vulkan_get_message_width
	cmp	w0, #0
	cinc	w8, w0, lt
	sub	w22, w22, w8, asr #1
	cbz	w20, LBB0_10
LBB0_5:
	mov	w24, #0
	mov	w25, #0
	add	x21, x21, w20, uxtw
	fdiv	s9, s14, s9
	fdiv	s10, s14, s10
	fdiv	s11, s14, s11
	scvtf	s12, w22
	scvtf	s13, w23
	add	x22, sp, #16
	fdiv	s14, s14, s15
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_vulkan_raster_font_update_glyph
	ldp	w8, w9, [x20]
	add	w8, w8, w24
	scvtf	s0, w8
	fmadd	s0, s0, s8, s12
	fmul	s0, s11, s0
	fcvtzs	w1, s0
	add	w8, w9, w25
	scvtf	s0, w8
	fmadd	s0, s0, s8, s13
	fmul	s0, s14, s0
	fcvtzs	w2, s0
	ldp	s0, s1, [x20, #16]
	scvtf	s0, s0
	fmul	s2, s0, s8
	fmul	s2, s11, s2
	fcvtzs	w3, s2
	scvtf	s1, s1
	fmul	s2, s1, s8
	fmul	s2, s14, s2
	fcvtzs	w4, s2
	ldp	s2, s3, [x20, #8]
	scvtf	s2, s2
	fmul	s2, s9, s2
	fcvtzs	w5, s2
	ldp	x9, x8, [x19]
	add	x0, x9, x8
	scvtf	s2, s3
	fmul	s2, s10, s2
	fcvtzs	w6, s2
	fmul	s0, s9, s0
	fcvtzs	w7, s0
	fmul	s0, s10, s1
	fcvtzs	w8, s0
	str	x22, [sp, #8]
	str	w8, [sp]
	bl	_vulkan_write_quad_vbo
	ldr	x8, [x19]
	add	x8, x8, #6
	str	x8, [x19]
	ldr	w8, [x20, #32]
	add	w24, w24, w8
	ldr	w8, [x20, #24]
	add	w25, w25, w8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #40]
	cmp	x8, x21
	b.hs	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #40
	bl	_utf8_walk
	ldr	x8, [x19, #24]
	ldr	x9, [x8]
	ldr	w8, [x19, #16]
	sxtb	w1, w0
	mov	x0, x8
	blr	x9
	mov	x20, x0
	cbnz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	w0, [x19, #16]
	mov	w1, #63
	blr	x8
	mov	x20, x0
	cbnz	x0, LBB0_6
	b	LBB0_7
LBB0_10:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #96]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #80]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #64]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vulkan_raster_font_render_line
.subsections_via_symbols
