	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function exynos_render_msg
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_exynos_render_msg:                     ## @exynos_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, %rbx
	movq	%rdi, %r15
	movq	16(%rdi), %r14
	movq	8(%r14), %rax
	movq	_EXYNOS_IMAGE_FONT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_config_get_ptr
	cmpl	$0, 4(%r15)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%r15)
	je	LBB0_3
## %bb.2:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi), %r13d
	imull	(%rax), %r13d
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	subss	4(%rax), %xmm0
	mulss	4(%rsi), %xmm0
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movl	(%r14), %edi
	callq	_exynos_clear_buffer
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movl	$-1, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rax
	movl	4(%r15), %edi
	callq	*8(%rax)
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_14
## %bb.5:
	movl	%r13d, %r14d
	cvttss2si	-44(%rbp), %ecx         ## 4-byte Folded Reload
	incq	%rbx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	movl	%r12d, %ecx
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	je	LBB0_14
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %r12d
	movq	8(%r15), %rcx
	movl	4(%r15), %edi
	movsbl	%al, %esi
	callq	*(%rcx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %r13
	movslq	(%rax), %rax
	movslq	%r14d, %rsi
	addq	%rax, %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r11d
	subl	%esi, %r11d
	jle	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	4(%r13), %eax
	addl	%r12d, %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movss	4(%rdx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	subss	%xmm1, %xmm0
	cvttss2si	%xmm0, %r10d
	testl	%r10d, %r10d
	jle	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movslq	16(%r13), %rcx
	shlq	$2, %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	addq	8(%rdx), %rcx
	movslq	20(%r13), %r8
	movslq	(%rdx), %r9
	imulq	%r9, %r8
	movq	%rsi, %rdi
	negq	%rdi
	movl	%r9d, %edx
	imull	%eax, %edx
	movslq	%edx, %rdx
	negq	%rdx
	testl	%eax, %eax
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	$0, %r14d
	cmovnsq	%r14, %rdx
	leaq	(%rcx,%r8,4), %rcx
	movl	$0, %r8d
	cmovsl	%eax, %r8d
	cmovlel	%r14d, %eax
	addl	12(%r13), %r8d
	testl	%esi, %esi
	cmovnsq	%r14, %rdi
	leaq	(%rcx,%rdi,4), %rdi
	movl	$0, %ecx
	cmovsl	%esi, %ecx
	movl	$0, %r14d
	cmovgl	%esi, %r14d
	addl	8(%r13), %ecx
	leaq	(%rdi,%rdx,4), %rsi
	cmpl	%r11d, %ecx
	cmovgel	%r11d, %ecx
	cmpl	%r10d, %r8d
	cmovgel	%r10d, %r8d
	movl	(%r15), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	%rax
	pushq	%r14
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	callq	_exynos_put_glyph_rgba4444
	movl	%r12d, %ecx
	addq	$16, %rsp
	addl	32(%r13), %r14d
	addl	24(%r13), %ecx
	jmp	LBB0_7
LBB0_14:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_exynos_blend_font              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EXYNOS_IMAGE_FONT,8,3          ## @EXYNOS_IMAGE_FONT
	.no_dead_strip	_exynos_render_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_render_msg
_exynos_render_msg:                     ; @exynos_render_msg
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -88
	.cfi_offset b9, -96
	mov	x23, x1
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _EXYNOS_IMAGE_FONT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EXYNOS_IMAGE_FONT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x21, [x8, x9, lsl #3]
	bl	_config_get_ptr
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w24, [x0]
	ldr	w25, [x21]
	ldr	s8, [x0, #4]
	ldr	s9, [x21, #4]
	ldr	w0, [x19]
	mov	x1, x21
	bl	_exynos_clear_buffer
	cbz	x0, LBB0_4
LBB0_3:
	mov	w0, #-1
	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	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	ldr	w0, [x20, #4]
	blr	x8
	ldrb	w8, [x23]
	cbz	w8, LBB0_11
; %bb.5:
	mov	x22, x0
	mul	w24, w25, w24
	fmov	s0, #1.00000000
	fsub	s0, s0, s8
	fmul	s0, s0, s9
	fcvtzs	w25, s0
	add	x26, x23, #1
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x26], #1
	cbz	w8, LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldr	x9, [x9]
	ldr	w0, [x20, #4]
	sxtb	w1, w8
	blr	x9
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x23, x0
	ldrsw	x8, [x0]
	add	x8, x8, w24, sxtw
	ldr	w9, [x21]
	sub	w9, w9, w8
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w10, [x23, #4]
	add	w11, w10, w25
	ldr	s0, [x21, #4]
	scvtf	s1, w11
	fsub	s0, s0, s1
	fcvtzs	w10, s0
	cmp	w10, #1
	b.lt	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x12, [x22, #8]
	ldp	w13, w14, [x23, #16]
                                        ; kill: def $w13 killed $w13 def $x13
	sxtw	x13, w13
	add	x12, x12, x13, lsl #2
	ldr	w5, [x22]
	mul	w13, w5, w14
	add	x12, x12, w13, sxtw #2
	mul	w13, w5, w11
	sxtw	x13, w13
	cmp	w11, #0
	csel	w14, w11, wzr, lt
	csneg	x13, xzr, x13, ge
	csel	w7, w11, wzr, gt
	cmp	w8, #0
	csel	w11, w8, wzr, lt
	csneg	x15, xzr, x8, ge
	add	x12, x12, x15, lsl #2
	add	x1, x12, x13, lsl #2
	ldp	w13, w12, [x23, #8]
	csel	w6, w8, wzr, gt
	add	w8, w13, w11
	cmp	w8, w9
	csel	w3, w8, w9, lt
	add	w8, w12, w14
	cmp	w8, w10
	csel	w4, w8, w10, lt
	ldr	w2, [x20]
	mov	x0, x19
	bl	_exynos_put_glyph_rgba4444
	ldr	w8, [x23, #32]
	add	w24, w24, w8
	ldr	w8, [x23, #24]
	add	w25, w25, w8
	b	LBB0_6
LBB0_11:
	mov	x0, x19
	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	d9, d8, [sp], #96               ; 16-byte Folded Reload
	b	_exynos_blend_font
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EXYNOS_IMAGE_FONT,8,3          ; @EXYNOS_IMAGE_FONT
	.no_dead_strip	_exynos_render_msg
.subsections_via_symbols
