	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function omap_render_msg
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_omap_render_msg:                       ## @omap_render_msg
	.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
	movq	%rsi, %r12
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_config_get_ptr
	movl	28(%r14), %edi
	testl	%edi, %edi
	je	LBB0_12
## %bb.1:
	movsd	8(%rax), %xmm0                  ## xmm0 = mem[0],zero
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movsd	8(%r14), %xmm0                  ## xmm0 = mem[0],zero
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	movl	(%rax), %r15d
	movl	(%r14), %ebx
	movq	32(%r14), %rax
	callq	*8(%rax)
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movb	(%r12), %al
	testb	%al, %al
	je	LBB0_12
## %bb.2:
	imull	%r15d, %ebx
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	subsd	-56(%rbp), %xmm0                ## 8-byte Folded Reload
	mulsd	-64(%rbp), %xmm0                ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %r13d
	incq	%r12
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	pushq	%r11
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_omapfb_blend_glyph_argb8888
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %rsp
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	addl	32(%r15), %ebx
	addl	24(%r15), %r13d
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%r12), %eax
	incq	%r12
	testb	%al, %al
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rcx
	movl	28(%r14), %edi
	movsbl	%al, %esi
	callq	*(%rcx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r15
	movslq	(%rax), %rax
	movslq	%ebx, %rdx
	addq	%rax, %rdx
	movl	4(%r15), %ecx
	addl	%r13d, %ecx
	movq	%rdx, %rsi
	negq	%rsi
	testl	%edx, %edx
	movl	$0, %r9d
	cmovgl	%edx, %r9d
	movl	$0, %r8d
	cmovnsq	%r8, %rsi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
                                        ## kill: def $eax killed $eax killed $rax
	imull	%ecx, %eax
	movslq	%eax, %rdi
	negq	%rdi
	testl	%ecx, %ecx
	movl	$0, %r11d
	cmovgl	%ecx, %r11d
	movl	(%r14), %r10d
	cmovnsq	%r8, %rdi
	subl	%edx, %r10d
	jle	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movsd	8(%r14), %xmm0                  ## xmm0 = mem[0],zero
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ecx, %xmm1
	subsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %r13d
	testl	%r13d, %r13d
	jle	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movslq	16(%r15), %rbx
	shlq	$2, %rbx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	8(%rax), %rbx
	movslq	20(%r15), %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	movq	%r9, %rax
	imulq	%r8, %rax
	leaq	(%rbx,%rax,4), %rbx
	movl	%ecx, %r8d
	sarl	$31, %r8d
	andl	%ecx, %r8d
	addl	12(%r15), %r8d
	movl	%edx, %ecx
	sarl	$31, %ecx
	andl	%edx, %ecx
	addl	8(%r15), %ecx
	leaq	(%rbx,%rsi,4), %rdx
	cmpl	%r10d, %ecx
	cmovgel	%r10d, %ecx
	leaq	(%rdx,%rdi,4), %rsi
	cmpl	%r13d, %r8d
	cmovgel	%r13d, %r8d
	movl	20(%r14), %edx
	cmpl	$2, 16(%r14)
	movl	24(%r14), %edi
                                        ## kill: def $r9d killed $r9d killed $r9
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	pushq	%r11
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_omapfb_blend_glyph_rgb565
	jmp	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_11
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_omap_render_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_render_msg
_omap_render_msg:                       ; @omap_render_msg
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -72
	.cfi_offset b9, -80
	mov	x21, x1
	mov	x19, x0
	bl	_config_get_ptr
	mov	x8, x0
	ldr	w0, [x19, #28]
	cbz	w0, LBB0_11
; %bb.1:
	ldr	d8, [x8, #8]
	ldr	d9, [x19, #8]
	ldr	w22, [x8]
	ldr	w23, [x19]
	ldr	x8, [x19, #32]
	ldr	x8, [x8, #8]
	blr	x8
	ldrb	w8, [x21]
	cbz	w8, LBB0_11
; %bb.2:
	mov	x20, x0
	mul	w22, w23, w22
	fmov	d0, #1.00000000
	fsub	d0, d0, d8
	fmul	d0, d0, d9
	fcvtzs	w23, d0
	add	x24, x21, #1
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_omapfb_blend_glyph_argb8888
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21, #32]
	add	w22, w22, w8
	ldr	w8, [x21, #24]
	add	w23, w23, w8
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x24], #1
	cbz	w8, LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #32]
	ldr	x9, [x9]
	ldr	w0, [x19, #28]
	sxtb	w1, w8
	blr	x9
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x0
	ldp	w8, w10, [x0]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x9, x8, w22, sxtw
	add	w10, w10, w23
	ldr	w8, [x19]
	sub	w8, w8, w9
	ldr	w5, [x20]
	cmp	w9, #0
	csel	w6, w9, wzr, gt
	csneg	x12, xzr, x9, ge
	mul	w11, w5, w10
	sxtw	x11, w11
	cmp	w10, #0
	csel	w7, w10, wzr, gt
	csneg	x13, xzr, x11, ge
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	d0, [x19, #8]
	scvtf	d1, w10
	fsub	d0, d0, d1
	fcvtzs	w11, d0
	cmp	w11, #1
	b.lt	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x14, [x20, #8]
	ldp	w15, w16, [x21, #16]
                                        ; kill: def $w15 killed $w15 def $x15
	sxtw	x15, w15
	add	x14, x14, x15, lsl #2
	mul	w15, w5, w16
	add	x14, x14, w15, sxtw #2
	add	x12, x14, x12, lsl #2
	add	x1, x12, x13, lsl #2
	cmp	w10, #0
	csel	w10, w10, wzr, lt
	ldp	w13, w12, [x21, #8]
	cmp	w9, #0
	csel	w9, w9, wzr, lt
	add	w9, w13, w9
	cmp	w9, w8
	csel	w3, w9, w8, lt
	add	w8, w12, w10
	cmp	w8, w11
	csel	w4, w8, w11, lt
	ldp	w2, w0, [x19, #20]
	ldr	w8, [x19, #16]
	cmp	w8, #2
	b.ne	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_omapfb_blend_glyph_rgb565
	b	LBB0_4
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_omap_render_msg
.subsections_via_symbols
