	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp20_configure_shaper_lut
_dpp20_configure_shaper_lut:            ## @dpp20_configure_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	callq	_TO_DCN20_DPP
	movq	_CM_SHAPER_LUT_WRITE_EN_MASK@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	%edi, %esi
	movl	$7, %edx
	callq	_REG_UPDATE
	movl	(%r14), %edi
	movq	_CM_SHAPER_LUT_WRITE_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpl	$1, %ebx
	setne	%dl
	callq	_REG_UPDATE
	movq	_CM_SHAPER_LUT_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	%edi, %edx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_REG_SET                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CM_SHAPER_LUT_WRITE_EN_MASK,4,2 ## @CM_SHAPER_LUT_WRITE_EN_MASK
	.comm	_CM_SHAPER_LUT_WRITE_SEL,4,2    ## @CM_SHAPER_LUT_WRITE_SEL
	.comm	_CM_SHAPER_LUT_INDEX,4,2        ## @CM_SHAPER_LUT_INDEX
	.no_dead_strip	_dpp20_configure_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_configure_shaper_lut
_dpp20_configure_shaper_lut:            ; @dpp20_configure_shaper_lut
	.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, x1
	bl	_TO_DCN20_DPP
Lloh0:
	adrp	x20, _CM_SHAPER_LUT_WRITE_EN_MASK@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CM_SHAPER_LUT_WRITE_EN_MASK@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x0
	mov	w2, #7
	bl	_REG_UPDATE
	ldr	w0, [x20]
Lloh2:
	adrp	x8, _CM_SHAPER_LUT_WRITE_SEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CM_SHAPER_LUT_WRITE_SEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	cmp	w19, #1
	cset	w2, ne
	bl	_REG_UPDATE
Lloh5:
	adrp	x8, _CM_SHAPER_LUT_INDEX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CM_SHAPER_LUT_INDEX@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	w1, #0
	mov	x2, x0
	mov	w3, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_SET
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CM_SHAPER_LUT_WRITE_EN_MASK,4,2 ; @CM_SHAPER_LUT_WRITE_EN_MASK
	.comm	_CM_SHAPER_LUT_WRITE_SEL,4,2    ; @CM_SHAPER_LUT_WRITE_SEL
	.comm	_CM_SHAPER_LUT_INDEX,4,2        ; @CM_SHAPER_LUT_INDEX
	.no_dead_strip	_dpp20_configure_shaper_lut
.subsections_via_symbols
