	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp20_get_shaper_current
_dpp20_get_shaper_current:              ## @dpp20_get_shaper_current
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	callq	_TO_DCN20_DPP
	movq	_CM_SHAPER_LUT_WRITE_EN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CM_SHAPER_CONFIG_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_REG_GET
	movl	-4(%rbp), %ecx
	cmpl	$1, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_LUT_RAM_A@GOTPCREL(%rip), %rax
	cmpl	$2, %ecx
	je	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_LUT_BYPASS@GOTPCREL(%rip), %rax
	cmpl	$2, %ecx
	jne	LBB0_5
LBB0_4:
	movq	_LUT_RAM_B@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CM_SHAPER_LUT_WRITE_EN_MASK,4,2 ## @CM_SHAPER_LUT_WRITE_EN_MASK
	.comm	_CM_SHAPER_CONFIG_STATUS,4,2    ## @CM_SHAPER_CONFIG_STATUS
	.comm	_LUT_BYPASS,4,2                 ## @LUT_BYPASS
	.comm	_LUT_RAM_A,4,2                  ## @LUT_RAM_A
	.comm	_LUT_RAM_B,4,2                  ## @LUT_RAM_B
	.no_dead_strip	_dpp20_get_shaper_current
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp20_get_shaper_current
_dpp20_get_shaper_current:              ; @dpp20_get_shaper_current
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	bl	_TO_DCN20_DPP
Lloh0:
	adrp	x8, _CM_SHAPER_LUT_WRITE_EN_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CM_SHAPER_LUT_WRITE_EN_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _CM_SHAPER_CONFIG_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CM_SHAPER_CONFIG_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_REG_GET
	ldur	w8, [x29, #-4]
Lloh6:
	adrp	x9, _LUT_RAM_B@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LUT_RAM_B@GOTPAGEOFF]
Lloh8:
	adrp	x10, _LUT_RAM_A@GOTPAGE
Lloh9:
	ldr	x10, [x10, _LUT_RAM_A@GOTPAGEOFF]
Lloh10:
	adrp	x11, _LUT_BYPASS@GOTPAGE
Lloh11:
	ldr	x11, [x11, _LUT_BYPASS@GOTPAGEOFF]
	cmp	w8, #1
	csel	x10, x10, x11, eq
	cmp	w8, #2
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CM_SHAPER_LUT_WRITE_EN_MASK,4,2 ; @CM_SHAPER_LUT_WRITE_EN_MASK
	.comm	_CM_SHAPER_CONFIG_STATUS,4,2    ; @CM_SHAPER_CONFIG_STATUS
	.comm	_LUT_BYPASS,4,2                 ; @LUT_BYPASS
	.comm	_LUT_RAM_A,4,2                  ; @LUT_RAM_A
	.comm	_LUT_RAM_B,4,2                  ; @LUT_RAM_B
	.no_dead_strip	_dpp20_get_shaper_current
.subsections_via_symbols
