	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gl_raster_font_render_line
_gl_raster_font_render_line:            ## @gl_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -64(%rbp)                 ## 4-byte Spill
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)
	movq	_MAX_MSG_LEN_CHUNK@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	shll	$2, %eax
	leal	(%rax,%rax,2), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	movl	(%r14), %r13d
	leal	(,%r13,4), %eax
	leal	(%rax,%rax,2), %r15d
	shlq	$2, %r15
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	shll	$3, %r13d
	leal	(%r13,%r13,2), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	32(%rbx), %r15
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	imull	(%r15), %edi
	callq	_roundf
	movl	4(%r15), %edi
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	imull	16(%rbp), %edi
	callq	_roundf
	andl	$-2, %r12d
	cmpl	$128, %r12d
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	callq	_gl_get_message_width
LBB0_2:
	testl	%r15d, %r15d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_16
## %bb.3:
	movl	%r15d, %r12d
	addq	%rax, %r12
	leaq	-56(%rbp), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	leaq	-160(%rbp), %rsi
	movq	32(%rbp), %rdx
	callq	_gl_raster_font_draw_vertices
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax
	cmpq	%r12, %rax
	jae	LBB0_16
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	cmpl	$0, (%r14)
	movl	$0, %r13d
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$0, %r13d
	cmpq	%r12, %rax
	jae	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_utf8_walk
	movq	24(%rbx), %rcx
	movl	16(%rbx), %edi
	movsbl	%al, %esi
	callq	*(%rcx)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	24(%rbx), %rax
	movl	16(%rbx), %edi
	movl	$63, %esi
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_gl_raster_font_emit
	movl	$1, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_gl_raster_font_emit
	movl	$2, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_gl_raster_font_emit
	movl	$3, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_gl_raster_font_emit
	movl	$4, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_gl_raster_font_emit
	movl	$5, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_gl_raster_font_emit
	incl	%r13d
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	cmpl	(%r14), %r13d
	jae	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=2
	cmpq	%r12, -56(%rbp)
	jb	LBB0_7
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -160(%rbp)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -152(%rbp)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -144(%rbp)
	addl	%r13d, %r13d
	leal	(%r13,%r13,2), %edx
	movl	%edx, -136(%rbp)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -128(%rbp)
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	-160(%rbp), %rsi
	callq	_video_coord_array_append
	jmp	LBB0_15
LBB0_16:
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MSG_LEN_CHUNK,4,2          ## @MAX_MSG_LEN_CHUNK
	.no_dead_strip	_gl_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 gl_raster_font_render_line
_gl_raster_font_render_line:            ; @gl_raster_font_render_line
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #80
	stp	w3, w7, [x29, #-152]            ; 8-byte Folded Spill
	mov	x24, x6
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	x8, sp
	stur	x8, [x29, #-144]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stur	x1, [x29, #-96]
Lloh3:
	adrp	x26, _MAX_MSG_LEN_CHUNK@GOTPAGE
Lloh4:
	ldr	x26, [x26, _MAX_MSG_LEN_CHUNK@GOTPAGEOFF]
	ldr	w8, [x26]
	add	w8, w8, w8, lsl #1
	lsl	w8, w8, #2
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x27, x9, x8
	mov	sp, x27
	ldr	w8, [x26]
	add	w12, w8, w8, lsl #1
	lsl	w8, w12, #2
	lsl	x8, x8, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x28, x9, x8
	mov	sp, x28
	lsl	w9, w12, #3
	lsl	x12, x9, #2
	mov	x9, x12
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x25, x9, x12
	mov	sp, x25
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x23, x9, x8
	mov	sp, x23
	ldr	x20, [x0, #32]
	ldr	w8, [x20]
	mul	w0, w8, w5
	bl	_roundf
	ldr	w8, [x20, #4]
	mul	w0, w8, w24
	bl	_roundf
	ldur	w8, [x29, #-148]                ; 4-byte Folded Reload
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	ldur	w3, [x29, #-152]                ; 4-byte Folded Reload
	bl	_gl_get_message_width
LBB0_2:
	cbz	w22, LBB0_15
; %bb.3:
	ldr	x20, [x29, #16]
	add	x22, x21, w22, uxtw
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	x1, x29, #136
	mov	x0, x19
	mov	x2, x20
	bl	_gl_raster_font_draw_vertices
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldur	x21, [x29, #-96]
	cmp	x21, x22
	b.hs	LBB0_15
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	w8, [x26]
	cmp	w8, #0
	ccmp	x21, x22, #2, ne
	b.lo	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w21, #0
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	stp	x27, x28, [x29, #-136]
	stur	x25, [x29, #-120]
	add	w8, w21, w21, lsl #1
	lsl	w2, w8, #1
	stur	w2, [x29, #-112]
	stur	x23, [x29, #-104]
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x1, x29, #136
	bl	_video_coord_array_append
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w21, #0
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	w0, #0
	mov	w1, #0
	mov	w2, #1
	bl	_gl_raster_font_emit
	mov	w0, #1
	mov	w1, #1
	mov	w2, #1
	bl	_gl_raster_font_emit
	mov	w0, #2
	mov	w1, #0
	mov	w2, #0
	bl	_gl_raster_font_emit
	mov	w0, #3
	mov	w1, #1
	mov	w2, #0
	bl	_gl_raster_font_emit
	mov	w0, #4
	mov	w1, #0
	mov	w2, #0
	bl	_gl_raster_font_emit
	mov	w0, #5
	mov	w1, #1
	mov	w2, #1
	bl	_gl_raster_font_emit
	add	w21, w21, #1
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	w8, [x26]
	ldur	x9, [x29, #-96]
	cmp	w21, w8
	ccmp	x9, x22, #2, lo
	b.hs	LBB0_8
LBB0_13:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x0, x29, #96
	bl	_utf8_walk
	ldr	x8, [x19, #24]
	ldr	x9, [x8]
	ldr	w8, [x19, #16]
	sxtb	w1, w0
	mov	x0, x8
	blr	x9
	cbnz	x0, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	w0, [x19, #16]
	mov	w1, #63
	blr	x8
	cbnz	x0, LBB0_11
	b	LBB0_12
LBB0_15:
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MSG_LEN_CHUNK,4,2          ; @MAX_MSG_LEN_CHUNK
	.no_dead_strip	_gl_raster_font_render_line
.subsections_via_symbols
