	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp20_program_shaper_lut
_dpp20_program_shaper_lut:              ## @dpp20_program_shaper_lut
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_TO_DCN20_DPP
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	addq	$40, %rbx
	movq	_CM_SHAPER_LUT_DATA@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-40(%rbx), %rcx
	movq	-32(%rbx), %r12
	movq	-24(%rbx), %r15
	movl	-16(%rbx), %edx
	movl	-8(%rbx), %esi
	movl	(%rbx), %eax
	shll	$14, %edx
	andl	$16760832, %edx                 ## imm = 0xFFC000
	andl	$16383, %ecx                    ## imm = 0x3FFF
	orq	%rdx, %rcx
	shll	$14, %esi
	andl	$16760832, %esi                 ## imm = 0xFFC000
	andl	$16383, %r12d                   ## imm = 0x3FFF
	orq	%rsi, %r12
	shll	$14, %eax
	andl	$16760832, %eax                 ## imm = 0xFFC000
	andl	$16383, %r15d                   ## imm = 0x3FFF
	orq	%rax, %r15
	movl	(%r13), %edi
	xorl	%esi, %esi
	movl	%edi, %edx
	callq	_REG_SET
	movl	(%r13), %edi
	xorl	%esi, %esi
	movl	%edi, %edx
	movq	%r12, %rcx
	callq	_REG_SET
	movl	(%r13), %edi
	xorl	%esi, %esi
	movl	%edi, %edx
	movq	%r15, %rcx
	callq	_REG_SET
	addq	$48, %rbx
	decq	%r14
	jne	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CM_SHAPER_LUT_DATA,4,2         ## @CM_SHAPER_LUT_DATA
	.no_dead_strip	_dpp20_program_shaper_lut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp20_program_shaper_lut
_dpp20_program_shaper_lut:              ; @dpp20_program_shaper_lut
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	bl	_TO_DCN20_DPP
	cbz	x19, LBB0_3
; %bb.1:
	add	x22, x20, #24
Lloh0:
	adrp	x23, _CM_SHAPER_LUT_DATA@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CM_SHAPER_LUT_DATA@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x22, #-24]
	ldur	x10, [x22, #-8]
	ldr	w11, [x22]
	ldr	w12, [x22, #8]
	ldr	w13, [x22, #16]
	lsl	w11, w11, #14
	and	x3, x11, #0xffc000
	bfxil	x3, x8, #0, #14
	lsl	w8, w12, #14
	and	x20, x8, #0xffc000
	bfxil	x20, x9, #0, #14
	lsl	w8, w13, #14
	and	x21, x8, #0xffc000
	bfxil	x21, x10, #0, #14
	ldr	w0, [x23]
	mov	w1, #0
	mov	x2, x0
	bl	_REG_SET
	ldr	w0, [x23]
	mov	w1, #0
	mov	x2, x0
	mov	x3, x20
	bl	_REG_SET
	ldr	w0, [x23]
	mov	w1, #0
	mov	x2, x0
	mov	x3, x21
	bl	_REG_SET
	add	x22, x22, #48
	subs	x19, x19, #1
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CM_SHAPER_LUT_DATA,4,2         ; @CM_SHAPER_LUT_DATA
	.no_dead_strip	_dpp20_program_shaper_lut
.subsections_via_symbols
