	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpc20_configure_ogam_lut
_mpc20_configure_ogam_lut:              ## @mpc20_configure_ogam_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	%edx, %r14d
	movl	%esi, %ebx
	callq	_TO_DCN20_MPC
	movq	_MPCC_OGAM_LUT_RAM_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rbx
	movl	(%rax,%rbx,4), %edi
	movq	_MPCC_OGAM_LUT_WRITE_EN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MPCC_OGAM_LUT_RAM_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r8d, %r8d
	cmpl	$1, %r14d
	setne	%r8b
	movl	$7, %edx
	callq	_REG_UPDATE_2
	movq	_MPCC_OGAM_LUT_INDEX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%rbx,4), %edi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_REG_SET                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MPCC_OGAM_LUT_RAM_CONTROL,8,3  ## @MPCC_OGAM_LUT_RAM_CONTROL
	.comm	_MPCC_OGAM_LUT_WRITE_EN_MASK,4,2 ## @MPCC_OGAM_LUT_WRITE_EN_MASK
	.comm	_MPCC_OGAM_LUT_RAM_SEL,4,2      ## @MPCC_OGAM_LUT_RAM_SEL
	.comm	_MPCC_OGAM_LUT_INDEX,8,3        ## @MPCC_OGAM_LUT_INDEX
	.no_dead_strip	_mpc20_configure_ogam_lut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpc20_configure_ogam_lut
_mpc20_configure_ogam_lut:              ; @mpc20_configure_ogam_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, x2
	mov	x20, x1
	bl	_TO_DCN20_MPC
Lloh0:
	adrp	x8, _MPCC_OGAM_LUT_RAM_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPCC_OGAM_LUT_RAM_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sbfiz	x20, x20, #2, #32
	ldr	w0, [x8, x20]
Lloh3:
	adrp	x8, _MPCC_OGAM_LUT_WRITE_EN_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPCC_OGAM_LUT_WRITE_EN_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _MPCC_OGAM_LUT_RAM_SEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MPCC_OGAM_LUT_RAM_SEL@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	cmp	w19, #1
	cset	w4, ne
	mov	w2, #7
	bl	_REG_UPDATE_2
Lloh9:
	adrp	x8, _MPCC_OGAM_LUT_INDEX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MPCC_OGAM_LUT_INDEX@GOTPAGEOFF]
Lloh11:
	ldr	x2, [x8]
	ldr	w0, [x2, x20]
	mov	w1, #0
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MPCC_OGAM_LUT_RAM_CONTROL,8,3  ; @MPCC_OGAM_LUT_RAM_CONTROL
	.comm	_MPCC_OGAM_LUT_WRITE_EN_MASK,4,2 ; @MPCC_OGAM_LUT_WRITE_EN_MASK
	.comm	_MPCC_OGAM_LUT_RAM_SEL,4,2      ; @MPCC_OGAM_LUT_RAM_SEL
	.comm	_MPCC_OGAM_LUT_INDEX,8,3        ; @MPCC_OGAM_LUT_INDEX
	.no_dead_strip	_mpc20_configure_ogam_lut
.subsections_via_symbols
