	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fxt1_decode_1CHROMA
_fxt1_decode_1CHROMA:                   ## @fxt1_decode_1CHROMA
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
                                        ## kill: def $esi killed $esi def $rsi
	leal	(%rsi,%rsi), %eax
	movl	%esi, %ecx
	andl	$16, %ecx
	movl	%ecx, %edx
	shrl	$4, %edx
	movl	%eax, %ebx
	andb	$30, %bl
	testl	%ecx, %ecx
	movl	(%rdi,%rdx,4), %edx
	movzbl	%bl, %ecx
	cmovel	%eax, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	andl	$3, %edx
	leal	(%rdx,%rdx,4), %eax
	leal	(%rax,%rax,2), %ecx
	movl	%ecx, %eax
	shrl	$3, %eax
	movl	32(%rdi,%rax,4), %ebx
	andb	$7, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
	movl	%ebx, %edi
	callq	_UP5
	movq	_BCOMP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%r14,%rcx,4)
	movl	%ebx, %edi
	sarl	$5, %edi
	callq	_UP5
	movq	_GCOMP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%r14,%rcx,4)
	sarl	$10, %ebx
	movl	%ebx, %edi
	callq	_UP5
	movq	_RCOMP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%r14,%rcx,4)
	movq	_ACOMP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$255, (%r14,%rax,4)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCOMP,8,3                      ## @BCOMP
	.comm	_GCOMP,8,3                      ## @GCOMP
	.comm	_RCOMP,8,3                      ## @RCOMP
	.comm	_ACOMP,8,3                      ## @ACOMP
	.no_dead_strip	_fxt1_decode_1CHROMA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fxt1_decode_1CHROMA
_fxt1_decode_1CHROMA:                   ; @fxt1_decode_1CHROMA
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ands	w8, w1, #0x10
	lsr	w8, w8, #4
	ldr	w8, [x0, w8, uxtw #2]
	lsl	w9, w1, #1
	and	w10, w9, #0x1e
	csel	w9, w9, w10, eq
	asr	w8, w8, w9
	and	w8, w8, #0x3
	lsl	w9, w8, #4
	sub	w8, w9, w8
	lsr	w9, w8, #3
	add	x9, x0, w9, uxtw #2
	ldr	w9, [x9, #32]
	and	w8, w8, #0x7
	asr	w20, w9, w8
	mov	x0, x20
	bl	_UP5
Lloh0:
	adrp	x8, _BCOMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BCOMP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	w0, [x19, x8, lsl #2]
	asr	w0, w20, #5
	bl	_UP5
Lloh3:
	adrp	x8, _GCOMP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GCOMP@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	w0, [x19, x8, lsl #2]
	asr	w0, w20, #10
	bl	_UP5
Lloh6:
	adrp	x8, _RCOMP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RCOMP@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	w0, [x19, x8, lsl #2]
Lloh9:
	adrp	x8, _ACOMP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ACOMP@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	mov	w9, #255
	str	w9, [x19, x8, lsl #2]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BCOMP,8,3                      ; @BCOMP
	.comm	_GCOMP,8,3                      ; @GCOMP
	.comm	_RCOMP,8,3                      ; @RCOMP
	.comm	_ACOMP,8,3                      ; @ACOMP
	.no_dead_strip	_fxt1_decode_1CHROMA
.subsections_via_symbols
