	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function exynos_put_glyph_rgba4444
LCPI0_0:
	.long	61440                           ## 0xf000
	.long	61440                           ## 0xf000
	.long	61440                           ## 0xf000
	.long	61440                           ## 0xf000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_exynos_put_glyph_rgba4444:             ## @exynos_put_glyph_rgba4444
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%r8d, %r8d
	je	LBB0_14
## %bb.1:
	movq	_defaults@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EXYNOS_IMAGE_FONT@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rbx
	movl	(%rax,%rbx,4), %r10d
	movq	(%rdi), %rax
	movq	8(%rdi), %rdi
	movq	(%rax,%r10,8), %rax
	movq	(%rdi,%rbx,8), %rdi
	movl	(%rdi), %r10d
	movl	24(%rbp), %edi
	imull	%r10d, %edi
	shlq	$2, %rdi
	addq	(%rax), %rdi
	movl	16(%rbp), %eax
	leaq	(%rdi,%rax,4), %rdi
	movl	%r9d, %r9d
	movl	%ecx, %r11d
	movl	%r11d, %r14d
	andl	$-8, %r14d
	leaq	-8(%r14), %r12
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	shrq	$3, %r12
	incq	%r12
	movd	%edx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movq	%r12, %rax
	andq	$-2, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	shlq	$2, %r9
	shlq	$2, %r10
	xorl	%r13d, %r13d
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [61440,61440,61440,61440]
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	addq	%r9, %rsi
	addq	%r10, %rdi
	cmpl	%r8d, %r13d
	je	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
	testl	%ecx, %ecx
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$8, %ecx
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	(%rsi,%rbx,4), %xmm2
	movdqu	16(%rsi,%rbx,4), %xmm3
	pslld	$8, %xmm2
	pslld	$8, %xmm3
	pand	%xmm1, %xmm2
	pand	%xmm1, %xmm3
	por	%xmm0, %xmm2
	por	%xmm0, %xmm3
	movdqu	%xmm2, (%rdi,%rbx,4)
	movdqu	%xmm3, 16(%rdi,%rbx,4)
	movdqu	32(%rsi,%rbx,4), %xmm2
	movdqu	48(%rsi,%rbx,4), %xmm3
	pslld	$8, %xmm2
	pslld	$8, %xmm3
	pand	%xmm1, %xmm2
	pand	%xmm1, %xmm3
	por	%xmm0, %xmm2
	por	%xmm0, %xmm3
	movdqu	%xmm2, 32(%rdi,%rbx,4)
	movdqu	%xmm3, 48(%rdi,%rbx,4)
	addq	$16, %rbx
	addq	$-2, %r15
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r12b
	je	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movdqu	(%rsi,%rbx,4), %xmm2
	movdqu	16(%rsi,%rbx,4), %xmm3
	pslld	$8, %xmm2
	pslld	$8, %xmm3
	pand	%xmm1, %xmm2
	pand	%xmm1, %xmm3
	por	%xmm0, %xmm2
	por	%xmm0, %xmm3
	movdqu	%xmm2, (%rdi,%rbx,4)
	movdqu	%xmm3, 16(%rdi,%rbx,4)
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rbx
	cmpq	%r11, %r14
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rsi,%rbx,4), %eax
	shll	$8, %eax
	andl	$61440, %eax                    ## imm = 0xF000
	orl	%edx, %eax
	movl	%eax, (%rdi,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r11
	jne	LBB0_12
	jmp	LBB0_13
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	testb	$1, %r12b
	jne	LBB0_10
	jmp	LBB0_11
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_defaults,8,3                   ## @defaults
	.comm	_EXYNOS_IMAGE_FONT,8,3          ## @EXYNOS_IMAGE_FONT
	.no_dead_strip	_exynos_put_glyph_rgba4444
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_put_glyph_rgba4444
_exynos_put_glyph_rgba4444:             ; @exynos_put_glyph_rgba4444
	.cfi_startproc
; %bb.0:
	cbz	w4, LBB0_10
; %bb.1:
	mov	w8, #0
Lloh0:
	adrp	x9, _defaults@GOTPAGE
Lloh1:
	ldr	x9, [x9, _defaults@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _EXYNOS_IMAGE_FONT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _EXYNOS_IMAGE_FONT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	w9, [x9, x10, lsl #2]
	ldp	x11, x12, [x0]
	ldr	x9, [x11, x9, lsl #3]
	ldr	x9, [x9]
	ldr	x10, [x12, x10, lsl #3]
	ldr	w13, [x10]
	mul	w10, w13, w7
	add	x9, x9, w10, uxtw #2
	add	x9, x9, w6, uxtw #2
	mov	w14, w5
	mov	w10, w3
	dup.4s	v0, w2
	and	x11, x10, #0xfffffff0
	lsl	x12, x10, #2
	and	x12, x12, #0x3ffffffc0
	lsl	x13, x13, #2
	lsl	x14, x14, #2
	movi.4s	v1, #240, lsl #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w8, #1
	add	x9, x9, x13
	add	x1, x1, x14
	cmp	w8, w4
	b.eq	LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	cbz	w3, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w3, #16
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x15, #0
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x15, #0
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x16, x1, x15
	ldp	q2, q3, [x16]
	ldp	q4, q5, [x16, #32]
	shl.4s	v2, v2, #8
	shl.4s	v3, v3, #8
	shl.4s	v4, v4, #8
	shl.4s	v5, v5, #8
	and.16b	v2, v2, v1
	and.16b	v3, v3, v1
	and.16b	v4, v4, v1
	and.16b	v5, v5, v1
	orr.16b	v2, v2, v0
	orr.16b	v3, v3, v0
	orr.16b	v4, v4, v0
	orr.16b	v5, v5, v0
	add	x16, x9, x15
	stp	q2, q3, [x16]
	stp	q4, q5, [x16, #32]
	add	x15, x15, #64
	cmp	x12, x15
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x15, x11
	cmp	x11, x10
	b.eq	LBB0_2
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x16, x15, #2
	ldr	w17, [x1, x16]
	lsl	w17, w17, #8
	and	w17, w17, #0xf000
	orr	w17, w17, w2
	str	w17, [x9, x16]
	add	x15, x15, #1
	cmp	x10, x15
	b.ne	LBB0_9
	b	LBB0_2
LBB0_10:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_defaults,8,3                   ; @defaults
	.comm	_EXYNOS_IMAGE_FONT,8,3          ; @EXYNOS_IMAGE_FONT
	.no_dead_strip	_exynos_put_glyph_rgba4444
.subsections_via_symbols
