	.file	"160995.c"
	.intel_syntax noprefix
	.text
	.globl	ALLOW_OVERFLOW
	.bss
	.align 4
	.type	ALLOW_OVERFLOW, @object
	.size	ALLOW_OVERFLOW, 4
ALLOW_OVERFLOW:
	.zero	4
	.globl	CG_CAC_REGION_1_WEIGHT_0
	.align 4
	.type	CG_CAC_REGION_1_WEIGHT_0, @object
	.size	CG_CAC_REGION_1_WEIGHT_0, 4
CG_CAC_REGION_1_WEIGHT_0:
	.zero	4
	.globl	CG_CAC_REGION_1_WEIGHT_1
	.align 4
	.type	CG_CAC_REGION_1_WEIGHT_1, @object
	.size	CG_CAC_REGION_1_WEIGHT_1, 4
CG_CAC_REGION_1_WEIGHT_1:
	.zero	4
	.globl	CG_CAC_REGION_2_WEIGHT_0
	.align 4
	.type	CG_CAC_REGION_2_WEIGHT_0, @object
	.size	CG_CAC_REGION_2_WEIGHT_0, 4
CG_CAC_REGION_2_WEIGHT_0:
	.zero	4
	.globl	CG_CAC_REGION_2_WEIGHT_1
	.align 4
	.type	CG_CAC_REGION_2_WEIGHT_1, @object
	.size	CG_CAC_REGION_2_WEIGHT_1, 4
CG_CAC_REGION_2_WEIGHT_1:
	.zero	4
	.globl	CG_CAC_REGION_2_WEIGHT_2
	.align 4
	.type	CG_CAC_REGION_2_WEIGHT_2, @object
	.size	CG_CAC_REGION_2_WEIGHT_2, 4
CG_CAC_REGION_2_WEIGHT_2:
	.zero	4
	.globl	CG_CAC_REGION_3_WEIGHT_0
	.align 4
	.type	CG_CAC_REGION_3_WEIGHT_0, @object
	.size	CG_CAC_REGION_3_WEIGHT_0, 4
CG_CAC_REGION_3_WEIGHT_0:
	.zero	4
	.globl	CG_CAC_REGION_3_WEIGHT_1
	.align 4
	.type	CG_CAC_REGION_3_WEIGHT_1, @object
	.size	CG_CAC_REGION_3_WEIGHT_1, 4
CG_CAC_REGION_3_WEIGHT_1:
	.zero	4
	.globl	CG_CAC_REGION_4_OVERRIDE_4
	.align 4
	.type	CG_CAC_REGION_4_OVERRIDE_4, @object
	.size	CG_CAC_REGION_4_OVERRIDE_4, 4
CG_CAC_REGION_4_OVERRIDE_4:
	.zero	4
	.globl	CG_CAC_REGION_4_WEIGHT_0
	.align 4
	.type	CG_CAC_REGION_4_WEIGHT_0, @object
	.size	CG_CAC_REGION_4_WEIGHT_0, 4
CG_CAC_REGION_4_WEIGHT_0:
	.zero	4
	.globl	CG_CAC_REGION_4_WEIGHT_1
	.align 4
	.type	CG_CAC_REGION_4_WEIGHT_1, @object
	.size	CG_CAC_REGION_4_WEIGHT_1, 4
CG_CAC_REGION_4_WEIGHT_1:
	.zero	4
	.globl	CG_CAC_REGION_4_WEIGHT_2
	.align 4
	.type	CG_CAC_REGION_4_WEIGHT_2, @object
	.size	CG_CAC_REGION_4_WEIGHT_2, 4
CG_CAC_REGION_4_WEIGHT_2:
	.zero	4
	.globl	CG_CAC_REGION_4_WEIGHT_3
	.align 4
	.type	CG_CAC_REGION_4_WEIGHT_3, @object
	.size	CG_CAC_REGION_4_WEIGHT_3, 4
CG_CAC_REGION_4_WEIGHT_3:
	.zero	4
	.globl	CG_CAC_REGION_5_WEIGHT_0
	.align 4
	.type	CG_CAC_REGION_5_WEIGHT_0, @object
	.size	CG_CAC_REGION_5_WEIGHT_0, 4
CG_CAC_REGION_5_WEIGHT_0:
	.zero	4
	.globl	CG_CAC_REGION_5_WEIGHT_1
	.align 4
	.type	CG_CAC_REGION_5_WEIGHT_1, @object
	.size	CG_CAC_REGION_5_WEIGHT_1, 4
CG_CAC_REGION_5_WEIGHT_1:
	.zero	4
	.globl	EINVAL
	.align 4
	.type	EINVAL, @object
	.size	EINVAL, 4
EINVAL:
	.zero	4
	.globl	GPR_MASK
	.align 4
	.type	GPR_MASK, @object
	.size	GPR_MASK, 4
GPR_MASK:
	.zero	4
	.globl	MCDW_WR_ENABLE
	.align 4
	.type	MCDW_WR_ENABLE, @object
	.size	MCDW_WR_ENABLE, 4
MCDW_WR_ENABLE:
	.zero	4
	.globl	MCDX_WR_ENABLE
	.align 4
	.type	MCDX_WR_ENABLE, @object
	.size	MCDX_WR_ENABLE, 4
MCDX_WR_ENABLE:
	.zero	4
	.globl	MCDY_WR_ENABLE
	.align 4
	.type	MCDY_WR_ENABLE, @object
	.size	MCDY_WR_ENABLE, 4
MCDY_WR_ENABLE:
	.zero	4
	.globl	MCDZ_WR_ENABLE
	.align 4
	.type	MCDZ_WR_ENABLE, @object
	.size	MCDZ_WR_ENABLE, 4
MCDZ_WR_ENABLE:
	.zero	4
	.globl	MC_CG_CONFIG
	.align 4
	.type	MC_CG_CONFIG, @object
	.size	MC_CG_CONFIG, 4
MC_CG_CONFIG:
	.zero	4
	.globl	MC_CG_DATAPORT
	.align 4
	.type	MC_CG_DATAPORT, @object
	.size	MC_CG_DATAPORT, 4
MC_CG_DATAPORT:
	.zero	4
	.globl	OVR_MODE_SPARE_0_MASK
	.align 4
	.type	OVR_MODE_SPARE_0_MASK, @object
	.size	OVR_MODE_SPARE_0_MASK, 4
OVR_MODE_SPARE_0_MASK:
	.zero	4
	.globl	OVR_MODE_SPARE_1_MASK
	.align 4
	.type	OVR_MODE_SPARE_1_MASK, @object
	.size	OVR_MODE_SPARE_1_MASK, 4
OVR_MODE_SPARE_1_MASK:
	.zero	4
	.globl	OVR_VAL_SPARE_0_MASK
	.align 4
	.type	OVR_VAL_SPARE_0_MASK, @object
	.size	OVR_VAL_SPARE_0_MASK, 4
OVR_VAL_SPARE_0_MASK:
	.zero	4
	.globl	OVR_VAL_SPARE_1_MASK
	.align 4
	.type	OVR_VAL_SPARE_1_MASK, @object
	.size	OVR_VAL_SPARE_1_MASK, 4
OVR_VAL_SPARE_1_MASK:
	.zero	4
	.globl	SQ_CAC_THRESHOLD
	.align 4
	.type	SQ_CAC_THRESHOLD, @object
	.size	SQ_CAC_THRESHOLD, 4
SQ_CAC_THRESHOLD:
	.zero	4
	.globl	VSP0_MASK
	.align 4
	.type	VSP0_MASK, @object
	.size	VSP0_MASK, 4
VSP0_MASK:
	.zero	4
	.globl	VSP_MASK
	.align 4
	.type	VSP_MASK, @object
	.size	VSP_MASK, 4
VSP_MASK:
	.zero	4
	.globl	WEIGHT_BIF_MASK
	.align 4
	.type	WEIGHT_BIF_MASK, @object
	.size	WEIGHT_BIF_MASK, 4
WEIGHT_BIF_MASK:
	.zero	4
	.globl	WEIGHT_CB_EN0_MASK
	.align 4
	.type	WEIGHT_CB_EN0_MASK, @object
	.size	WEIGHT_CB_EN0_MASK, 4
WEIGHT_CB_EN0_MASK:
	.zero	4
	.globl	WEIGHT_CB_EN1_MASK
	.align 4
	.type	WEIGHT_CB_EN1_MASK, @object
	.size	WEIGHT_CB_EN1_MASK, 4
WEIGHT_CB_EN1_MASK:
	.zero	4
	.globl	WEIGHT_CB_EN2_MASK
	.align 4
	.type	WEIGHT_CB_EN2_MASK, @object
	.size	WEIGHT_CB_EN2_MASK, 4
WEIGHT_CB_EN2_MASK:
	.zero	4
	.globl	WEIGHT_CB_EN3_MASK
	.align 4
	.type	WEIGHT_CB_EN3_MASK, @object
	.size	WEIGHT_CB_EN3_MASK, 4
WEIGHT_CB_EN3_MASK:
	.zero	4
	.globl	WEIGHT_CP_MASK
	.align 4
	.type	WEIGHT_CP_MASK, @object
	.size	WEIGHT_CP_MASK, 4
WEIGHT_CP_MASK:
	.zero	4
	.globl	WEIGHT_DB_SIG0_MASK
	.align 4
	.type	WEIGHT_DB_SIG0_MASK, @object
	.size	WEIGHT_DB_SIG0_MASK, 4
WEIGHT_DB_SIG0_MASK:
	.zero	4
	.globl	WEIGHT_DB_SIG1_MASK
	.align 4
	.type	WEIGHT_DB_SIG1_MASK, @object
	.size	WEIGHT_DB_SIG1_MASK, 4
WEIGHT_DB_SIG1_MASK:
	.zero	4
	.globl	WEIGHT_DB_SIG2_MASK
	.align 4
	.type	WEIGHT_DB_SIG2_MASK, @object
	.size	WEIGHT_DB_SIG2_MASK, 4
WEIGHT_DB_SIG2_MASK:
	.zero	4
	.globl	WEIGHT_DB_SIG3_MASK
	.align 4
	.type	WEIGHT_DB_SIG3_MASK, @object
	.size	WEIGHT_DB_SIG3_MASK, 4
WEIGHT_DB_SIG3_MASK:
	.zero	4
	.globl	WEIGHT_DC_SIG0_MASK
	.align 4
	.type	WEIGHT_DC_SIG0_MASK, @object
	.size	WEIGHT_DC_SIG0_MASK, 4
WEIGHT_DC_SIG0_MASK:
	.zero	4
	.globl	WEIGHT_DC_SIG1_MASK
	.align 4
	.type	WEIGHT_DC_SIG1_MASK, @object
	.size	WEIGHT_DC_SIG1_MASK, 4
WEIGHT_DC_SIG1_MASK:
	.zero	4
	.globl	WEIGHT_DC_SIG2_MASK
	.align 4
	.type	WEIGHT_DC_SIG2_MASK, @object
	.size	WEIGHT_DC_SIG2_MASK, 4
WEIGHT_DC_SIG2_MASK:
	.zero	4
	.globl	WEIGHT_DC_SIG3_MASK
	.align 4
	.type	WEIGHT_DC_SIG3_MASK, @object
	.size	WEIGHT_DC_SIG3_MASK, 4
WEIGHT_DC_SIG3_MASK:
	.zero	4
	.globl	WEIGHT_LDS_SIG0_MASK
	.align 4
	.type	WEIGHT_LDS_SIG0_MASK, @object
	.size	WEIGHT_LDS_SIG0_MASK, 4
WEIGHT_LDS_SIG0_MASK:
	.zero	4
	.globl	WEIGHT_LDS_SIG1_MASK
	.align 4
	.type	WEIGHT_LDS_SIG1_MASK, @object
	.size	WEIGHT_LDS_SIG1_MASK, 4
WEIGHT_LDS_SIG1_MASK:
	.zero	4
	.globl	WEIGHT_PA_SIG0_MASK
	.align 4
	.type	WEIGHT_PA_SIG0_MASK, @object
	.size	WEIGHT_PA_SIG0_MASK, 4
WEIGHT_PA_SIG0_MASK:
	.zero	4
	.globl	WEIGHT_PA_SIG1_MASK
	.align 4
	.type	WEIGHT_PA_SIG1_MASK, @object
	.size	WEIGHT_PA_SIG1_MASK, 4
WEIGHT_PA_SIG1_MASK:
	.zero	4
	.globl	WEIGHT_SC_MASK
	.align 4
	.type	WEIGHT_SC_MASK, @object
	.size	WEIGHT_SC_MASK, 4
WEIGHT_SC_MASK:
	.zero	4
	.globl	WEIGHT_SPARE0_MASK
	.align 4
	.type	WEIGHT_SPARE0_MASK, @object
	.size	WEIGHT_SPARE0_MASK, 4
WEIGHT_SPARE0_MASK:
	.zero	4
	.globl	WEIGHT_SPARE1_MASK
	.align 4
	.type	WEIGHT_SPARE1_MASK, @object
	.size	WEIGHT_SPARE1_MASK, 4
WEIGHT_SPARE1_MASK:
	.zero	4
	.globl	WEIGHT_SPI_SIG0_MASK
	.align 4
	.type	WEIGHT_SPI_SIG0_MASK, @object
	.size	WEIGHT_SPI_SIG0_MASK, 4
WEIGHT_SPI_SIG0_MASK:
	.zero	4
	.globl	WEIGHT_SPI_SIG1_MASK
	.align 4
	.type	WEIGHT_SPI_SIG1_MASK, @object
	.size	WEIGHT_SPI_SIG1_MASK, 4
WEIGHT_SPI_SIG1_MASK:
	.zero	4
	.globl	WEIGHT_SPI_SIG2_MASK
	.align 4
	.type	WEIGHT_SPI_SIG2_MASK, @object
	.size	WEIGHT_SPI_SIG2_MASK, 4
WEIGHT_SPI_SIG2_MASK:
	.zero	4
	.globl	WEIGHT_SPI_SIG3_MASK
	.align 4
	.type	WEIGHT_SPI_SIG3_MASK, @object
	.size	WEIGHT_SPI_SIG3_MASK, 4
WEIGHT_SPI_SIG3_MASK:
	.zero	4
	.globl	WEIGHT_SPI_SIG4_MASK
	.align 4
	.type	WEIGHT_SPI_SIG4_MASK, @object
	.size	WEIGHT_SPI_SIG4_MASK, 4
WEIGHT_SPI_SIG4_MASK:
	.zero	4
	.globl	WEIGHT_SPI_SIG5_MASK
	.align 4
	.type	WEIGHT_SPI_SIG5_MASK, @object
	.size	WEIGHT_SPI_SIG5_MASK, 4
WEIGHT_SPI_SIG5_MASK:
	.zero	4
	.globl	WEIGHT_SQ_GPR_MASK
	.align 4
	.type	WEIGHT_SQ_GPR_MASK, @object
	.size	WEIGHT_SQ_GPR_MASK, 4
WEIGHT_SQ_GPR_MASK:
	.zero	4
	.globl	WEIGHT_SQ_VSP0_MASK
	.align 4
	.type	WEIGHT_SQ_VSP0_MASK, @object
	.size	WEIGHT_SQ_VSP0_MASK, 4
WEIGHT_SQ_VSP0_MASK:
	.zero	4
	.globl	WEIGHT_SQ_VSP_MASK
	.align 4
	.type	WEIGHT_SQ_VSP_MASK, @object
	.size	WEIGHT_SQ_VSP_MASK, 4
WEIGHT_SQ_VSP_MASK:
	.zero	4
	.globl	WEIGHT_SXM_SIG0_MASK
	.align 4
	.type	WEIGHT_SXM_SIG0_MASK, @object
	.size	WEIGHT_SXM_SIG0_MASK, 4
WEIGHT_SXM_SIG0_MASK:
	.zero	4
	.globl	WEIGHT_SXM_SIG1_MASK
	.align 4
	.type	WEIGHT_SXM_SIG1_MASK, @object
	.size	WEIGHT_SXM_SIG1_MASK, 4
WEIGHT_SXM_SIG1_MASK:
	.zero	4
	.globl	WEIGHT_SXM_SIG2_MASK
	.align 4
	.type	WEIGHT_SXM_SIG2_MASK, @object
	.size	WEIGHT_SXM_SIG2_MASK, 4
WEIGHT_SXM_SIG2_MASK:
	.zero	4
	.globl	WEIGHT_SXS_SIG0_MASK
	.align 4
	.type	WEIGHT_SXS_SIG0_MASK, @object
	.size	WEIGHT_SXS_SIG0_MASK, 4
WEIGHT_SXS_SIG0_MASK:
	.zero	4
	.globl	WEIGHT_SXS_SIG1_MASK
	.align 4
	.type	WEIGHT_SXS_SIG1_MASK, @object
	.size	WEIGHT_SXS_SIG1_MASK, 4
WEIGHT_SXS_SIG1_MASK:
	.zero	4
	.globl	WEIGHT_TA_SIG_MASK
	.align 4
	.type	WEIGHT_TA_SIG_MASK, @object
	.size	WEIGHT_TA_SIG_MASK, 4
WEIGHT_TA_SIG_MASK:
	.zero	4
	.globl	WEIGHT_TCC_EN0_MASK
	.align 4
	.type	WEIGHT_TCC_EN0_MASK, @object
	.size	WEIGHT_TCC_EN0_MASK, 4
WEIGHT_TCC_EN0_MASK:
	.zero	4
	.globl	WEIGHT_TCC_EN1_MASK
	.align 4
	.type	WEIGHT_TCC_EN1_MASK, @object
	.size	WEIGHT_TCC_EN1_MASK, 4
WEIGHT_TCC_EN1_MASK:
	.zero	4
	.globl	WEIGHT_TCC_EN2_MASK
	.align 4
	.type	WEIGHT_TCC_EN2_MASK, @object
	.size	WEIGHT_TCC_EN2_MASK, 4
WEIGHT_TCC_EN2_MASK:
	.zero	4
	.globl	WEIGHT_TCP_SIG0_MASK
	.align 4
	.type	WEIGHT_TCP_SIG0_MASK, @object
	.size	WEIGHT_TCP_SIG0_MASK, 4
WEIGHT_TCP_SIG0_MASK:
	.zero	4
	.globl	WEIGHT_TCP_SIG1_MASK
	.align 4
	.type	WEIGHT_TCP_SIG1_MASK, @object
	.size	WEIGHT_TCP_SIG1_MASK, 4
WEIGHT_TCP_SIG1_MASK:
	.zero	4
	.globl	WEIGHT_UVD_SIG0_MASK
	.align 4
	.type	WEIGHT_UVD_SIG0_MASK, @object
	.size	WEIGHT_UVD_SIG0_MASK, 4
WEIGHT_UVD_SIG0_MASK:
	.zero	4
	.globl	WEIGHT_UVD_SIG1_MASK
	.align 4
	.type	WEIGHT_UVD_SIG1_MASK, @object
	.size	WEIGHT_UVD_SIG1_MASK, 4
WEIGHT_UVD_SIG1_MASK:
	.zero	4
	.globl	WEIGHT_VGT_SIG0_MASK
	.align 4
	.type	WEIGHT_VGT_SIG0_MASK, @object
	.size	WEIGHT_VGT_SIG0_MASK, 4
WEIGHT_VGT_SIG0_MASK:
	.zero	4
	.globl	WEIGHT_VGT_SIG1_MASK
	.align 4
	.type	WEIGHT_VGT_SIG1_MASK, @object
	.size	WEIGHT_VGT_SIG1_MASK, 4
WEIGHT_VGT_SIG1_MASK:
	.zero	4
	.globl	WEIGHT_VGT_SIG2_MASK
	.align 4
	.type	WEIGHT_VGT_SIG2_MASK, @object
	.size	WEIGHT_VGT_SIG2_MASK, 4
WEIGHT_VGT_SIG2_MASK:
	.zero	4
	.globl	WEIGHT_XBR_0_MASK
	.align 4
	.type	WEIGHT_XBR_0_MASK, @object
	.size	WEIGHT_XBR_0_MASK, 4
WEIGHT_XBR_0_MASK:
	.zero	4
	.globl	WEIGHT_XBR_1_MASK
	.align 4
	.type	WEIGHT_XBR_1_MASK, @object
	.size	WEIGHT_XBR_1_MASK, 4
WEIGHT_XBR_1_MASK:
	.zero	4
	.globl	WEIGHT_XBR_2_MASK
	.align 4
	.type	WEIGHT_XBR_2_MASK, @object
	.size	WEIGHT_XBR_2_MASK, 4
WEIGHT_XBR_2_MASK:
	.zero	4
	.text
	.type	ni_initialize_hardware_cac_manager, @function
ni_initialize_hardware_cac_manager:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ni_get_pi@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 12[rax]
	test	eax, eax
	je	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L3
.L2:
	mov	eax, 0
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L5
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L4
.L5:
	mov	eax, DWORD PTR CG_CAC_REGION_1_WEIGHT_0[rip]
	mov	edi, eax
	call	RREG32_CG@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR WEIGHT_TCP_SIG0_MASK[rip]
	mov	eax, DWORD PTR WEIGHT_TCP_SIG1_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_TA_SIG_MASK[rip]
	or	eax, ecx
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 228[rax]
	mov	edi, eax
	call	WEIGHT_TCP_SIG0@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 224[rax]
	mov	edi, eax
	call	WEIGHT_TCP_SIG1@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 220[rax]
	mov	edi, eax
	call	WEIGHT_TA_SIG@PLT
	or	eax, ebx
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR CG_CAC_REGION_1_WEIGHT_0[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32_CG@PLT
	mov	eax, DWORD PTR CG_CAC_REGION_1_WEIGHT_1[rip]
	mov	edi, eax
	call	RREG32_CG@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR WEIGHT_TCC_EN0_MASK[rip]
	mov	eax, DWORD PTR WEIGHT_TCC_EN1_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_TCC_EN2_MASK[rip]
	or	eax, ecx
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 216[rax]
	mov	edi, eax
	call	WEIGHT_TCC_EN0@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 212[rax]
	mov	edi, eax
	call	WEIGHT_TCC_EN1@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 208[rax]
	mov	edi, eax
	call	WEIGHT_TCC_EN2@PLT
	or	eax, ebx
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR CG_CAC_REGION_1_WEIGHT_1[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32_CG@PLT
	mov	eax, DWORD PTR CG_CAC_REGION_2_WEIGHT_0[rip]
	mov	edi, eax
	call	RREG32_CG@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR WEIGHT_CB_EN0_MASK[rip]
	mov	eax, DWORD PTR WEIGHT_CB_EN1_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_CB_EN2_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_CB_EN3_MASK[rip]
	or	eax, ecx
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 204[rax]
	mov	edi, eax
	call	WEIGHT_CB_EN0@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 200[rax]
	mov	edi, eax
	call	WEIGHT_CB_EN1@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 196[rax]
	mov	edi, eax
	call	WEIGHT_CB_EN2@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 192[rax]
	mov	edi, eax
	call	WEIGHT_CB_EN3@PLT
	or	eax, ebx
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR CG_CAC_REGION_2_WEIGHT_0[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32_CG@PLT
	mov	eax, DWORD PTR CG_CAC_REGION_2_WEIGHT_1[rip]
	mov	edi, eax
	call	RREG32_CG@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR WEIGHT_DB_SIG0_MASK[rip]
	mov	eax, DWORD PTR WEIGHT_DB_SIG1_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_DB_SIG2_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_DB_SIG3_MASK[rip]
	or	eax, ecx
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 188[rax]
	mov	edi, eax
	call	WEIGHT_DB_SIG0@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 184[rax]
	mov	edi, eax
	call	WEIGHT_DB_SIG1@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 180[rax]
	mov	edi, eax
	call	WEIGHT_DB_SIG2@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 176[rax]
	mov	edi, eax
	call	WEIGHT_DB_SIG3@PLT
	or	eax, ebx
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR CG_CAC_REGION_2_WEIGHT_1[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32_CG@PLT
	mov	eax, DWORD PTR CG_CAC_REGION_2_WEIGHT_2[rip]
	mov	edi, eax
	call	RREG32_CG@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR WEIGHT_SXM_SIG0_MASK[rip]
	mov	eax, DWORD PTR WEIGHT_SXM_SIG1_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_SXM_SIG2_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_SXS_SIG0_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_SXS_SIG1_MASK[rip]
	or	eax, ecx
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 172[rax]
	mov	edi, eax
	call	WEIGHT_SXM_SIG0@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 168[rax]
	mov	edi, eax
	call	WEIGHT_SXM_SIG1@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 164[rax]
	mov	edi, eax
	call	WEIGHT_SXM_SIG2@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 160[rax]
	mov	edi, eax
	call	WEIGHT_SXS_SIG0@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 156[rax]
	mov	edi, eax
	call	WEIGHT_SXS_SIG1@PLT
	or	eax, ebx
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR CG_CAC_REGION_2_WEIGHT_2[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32_CG@PLT
	mov	eax, DWORD PTR CG_CAC_REGION_3_WEIGHT_0[rip]
	mov	edi, eax
	call	RREG32_CG@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR WEIGHT_XBR_0_MASK[rip]
	mov	eax, DWORD PTR WEIGHT_XBR_1_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_XBR_2_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_SPI_SIG0_MASK[rip]
	or	eax, ecx
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 152[rax]
	mov	edi, eax
	call	WEIGHT_XBR_0@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 148[rax]
	mov	edi, eax
	call	WEIGHT_XBR_1@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 144[rax]
	mov	edi, eax
	call	WEIGHT_XBR_2@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 140[rax]
	mov	edi, eax
	call	WEIGHT_SPI_SIG0@PLT
	or	eax, ebx
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR CG_CAC_REGION_3_WEIGHT_0[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32_CG@PLT
	mov	eax, DWORD PTR CG_CAC_REGION_3_WEIGHT_1[rip]
	mov	edi, eax
	call	RREG32_CG@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR WEIGHT_SPI_SIG1_MASK[rip]
	mov	eax, DWORD PTR WEIGHT_SPI_SIG2_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_SPI_SIG3_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_SPI_SIG4_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_SPI_SIG5_MASK[rip]
	or	eax, ecx
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 136[rax]
	mov	edi, eax
	call	WEIGHT_SPI_SIG1@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 132[rax]
	mov	edi, eax
	call	WEIGHT_SPI_SIG2@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 128[rax]
	mov	edi, eax
	call	WEIGHT_SPI_SIG3@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 124[rax]
	mov	edi, eax
	call	WEIGHT_SPI_SIG4@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 120[rax]
	mov	edi, eax
	call	WEIGHT_SPI_SIG5@PLT
	or	eax, ebx
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR CG_CAC_REGION_3_WEIGHT_1[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32_CG@PLT
	mov	eax, DWORD PTR CG_CAC_REGION_4_WEIGHT_0[rip]
	mov	edi, eax
	call	RREG32_CG@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR WEIGHT_LDS_SIG0_MASK[rip]
	mov	eax, DWORD PTR WEIGHT_LDS_SIG1_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_SC_MASK[rip]
	or	eax, ecx
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 116[rax]
	mov	edi, eax
	call	WEIGHT_LDS_SIG0@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 112[rax]
	mov	edi, eax
	call	WEIGHT_LDS_SIG1@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 108[rax]
	mov	edi, eax
	call	WEIGHT_SC@PLT
	or	eax, ebx
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR CG_CAC_REGION_4_WEIGHT_0[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32_CG@PLT
	mov	eax, DWORD PTR CG_CAC_REGION_4_WEIGHT_1[rip]
	mov	edi, eax
	call	RREG32_CG@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR WEIGHT_BIF_MASK[rip]
	mov	eax, DWORD PTR WEIGHT_CP_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_PA_SIG0_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_PA_SIG1_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_VGT_SIG0_MASK[rip]
	or	eax, ecx
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 104[rax]
	mov	edi, eax
	call	WEIGHT_BIF@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 100[rax]
	mov	edi, eax
	call	WEIGHT_CP@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 96[rax]
	mov	edi, eax
	call	WEIGHT_PA_SIG0@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 92[rax]
	mov	edi, eax
	call	WEIGHT_PA_SIG1@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 88[rax]
	mov	edi, eax
	call	WEIGHT_VGT_SIG0@PLT
	or	eax, ebx
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR CG_CAC_REGION_4_WEIGHT_1[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32_CG@PLT
	mov	eax, DWORD PTR CG_CAC_REGION_4_WEIGHT_2[rip]
	mov	edi, eax
	call	RREG32_CG@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR WEIGHT_VGT_SIG1_MASK[rip]
	mov	eax, DWORD PTR WEIGHT_VGT_SIG2_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_DC_SIG0_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_DC_SIG1_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_DC_SIG2_MASK[rip]
	or	eax, ecx
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 84[rax]
	mov	edi, eax
	call	WEIGHT_VGT_SIG1@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 80[rax]
	mov	edi, eax
	call	WEIGHT_VGT_SIG2@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 76[rax]
	mov	edi, eax
	call	WEIGHT_DC_SIG0@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 72[rax]
	mov	edi, eax
	call	WEIGHT_DC_SIG1@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 68[rax]
	mov	edi, eax
	call	WEIGHT_DC_SIG2@PLT
	or	eax, ebx
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR CG_CAC_REGION_4_WEIGHT_2[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32_CG@PLT
	mov	eax, DWORD PTR CG_CAC_REGION_4_WEIGHT_3[rip]
	mov	edi, eax
	call	RREG32_CG@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR WEIGHT_DC_SIG3_MASK[rip]
	mov	eax, DWORD PTR WEIGHT_UVD_SIG0_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_UVD_SIG1_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_SPARE0_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR WEIGHT_SPARE1_MASK[rip]
	or	eax, ecx
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 64[rax]
	mov	edi, eax
	call	WEIGHT_DC_SIG3@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 60[rax]
	mov	edi, eax
	call	WEIGHT_UVD_SIG0@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 56[rax]
	mov	edi, eax
	call	WEIGHT_UVD_SIG1@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 52[rax]
	mov	edi, eax
	call	WEIGHT_SPARE0@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 48[rax]
	mov	edi, eax
	call	WEIGHT_SPARE1@PLT
	or	eax, ebx
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR CG_CAC_REGION_4_WEIGHT_3[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32_CG@PLT
	mov	eax, DWORD PTR CG_CAC_REGION_5_WEIGHT_0[rip]
	mov	edi, eax
	call	RREG32_CG@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR WEIGHT_SQ_VSP_MASK[rip]
	mov	eax, DWORD PTR WEIGHT_SQ_VSP0_MASK[rip]
	or	eax, ecx
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 44[rax]
	mov	edi, eax
	call	WEIGHT_SQ_VSP@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 40[rax]
	mov	edi, eax
	call	WEIGHT_SQ_VSP0@PLT
	or	eax, ebx
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR CG_CAC_REGION_5_WEIGHT_0[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32_CG@PLT
	mov	eax, DWORD PTR CG_CAC_REGION_5_WEIGHT_1[rip]
	mov	edi, eax
	call	RREG32_CG@PLT
	mov	edx, eax
	mov	eax, DWORD PTR WEIGHT_SQ_GPR_MASK[rip]
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 36[rax]
	mov	edi, eax
	call	WEIGHT_SQ_GPR@PLT
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR CG_CAC_REGION_5_WEIGHT_1[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32_CG@PLT
	mov	eax, DWORD PTR CG_CAC_REGION_4_OVERRIDE_4[rip]
	mov	edi, eax
	call	RREG32_CG@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR OVR_MODE_SPARE_0_MASK[rip]
	mov	eax, DWORD PTR OVR_VAL_SPARE_0_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR OVR_MODE_SPARE_1_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR OVR_VAL_SPARE_1_MASK[rip]
	or	eax, ecx
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 32[rax]
	mov	edi, eax
	call	OVR_MODE_SPARE_0@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 28[rax]
	mov	edi, eax
	call	OVR_VAL_SPARE_0@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 24[rax]
	mov	edi, eax
	call	OVR_MODE_SPARE_1@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 20[rax]
	mov	edi, eax
	call	OVR_VAL_SPARE_1@PLT
	or	eax, ebx
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR CG_CAC_REGION_4_OVERRIDE_4[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32_CG@PLT
	mov	eax, DWORD PTR SQ_CAC_THRESHOLD[rip]
	mov	edi, eax
	call	RREG32@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR VSP_MASK[rip]
	mov	eax, DWORD PTR VSP0_MASK[rip]
	or	ecx, eax
	mov	eax, DWORD PTR GPR_MASK[rip]
	or	eax, ecx
	not	eax
	and	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 16[rax]
	mov	edi, eax
	call	VSP@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 12[rax]
	mov	edi, eax
	call	VSP0@PLT
	or	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	mov	edi, eax
	call	GPR@PLT
	or	eax, ebx
	or	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR SQ_CAC_THRESHOLD[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32@PLT
	mov	edx, DWORD PTR MCDW_WR_ENABLE[rip]
	mov	eax, DWORD PTR MCDX_WR_ENABLE[rip]
	or	edx, eax
	mov	eax, DWORD PTR MCDY_WR_ENABLE[rip]
	or	edx, eax
	mov	eax, DWORD PTR MCDZ_WR_ENABLE[rip]
	or	edx, eax
	mov	ebx, edx
	mov	edi, 2516
	call	INDEX@PLT
	or	eax, ebx
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR MC_CG_CONFIG[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	READ_WEIGHT@PLT
	mov	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	WRITE_WEIGHT@PLT
	mov	edx, ebx
	or	edx, eax
	mov	eax, DWORD PTR ALLOW_OVERFLOW[rip]
	or	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR MC_CG_DATAPORT[rip]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	WREG32@PLT
	mov	eax, 0
.L4:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	ni_initialize_hardware_cac_manager, .-ni_initialize_hardware_cac_manager
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"160995.c"
	.text
	.comm	ALLOW_OVERFLOW,4,4
	.comm	CG_CAC_REGION_1_WEIGHT_0,4,4
	.comm	CG_CAC_REGION_1_WEIGHT_1,4,4
	.comm	CG_CAC_REGION_2_WEIGHT_0,4,4
	.comm	CG_CAC_REGION_2_WEIGHT_1,4,4
	.comm	CG_CAC_REGION_2_WEIGHT_2,4,4
	.comm	CG_CAC_REGION_3_WEIGHT_0,4,4
	.comm	CG_CAC_REGION_3_WEIGHT_1,4,4
	.comm	CG_CAC_REGION_4_OVERRIDE_4,4,4
	.comm	CG_CAC_REGION_4_WEIGHT_0,4,4
	.comm	CG_CAC_REGION_4_WEIGHT_1,4,4
	.comm	CG_CAC_REGION_4_WEIGHT_2,4,4
	.comm	CG_CAC_REGION_4_WEIGHT_3,4,4
	.comm	CG_CAC_REGION_5_WEIGHT_0,4,4
	.comm	CG_CAC_REGION_5_WEIGHT_1,4,4
	.comm	EINVAL,4,4
	.comm	GPR_MASK,4,4
	.comm	MCDW_WR_ENABLE,4,4
	.comm	MCDX_WR_ENABLE,4,4
	.comm	MCDY_WR_ENABLE,4,4
	.comm	MCDZ_WR_ENABLE,4,4
	.comm	MC_CG_CONFIG,4,4
	.comm	MC_CG_DATAPORT,4,4
	.comm	OVR_MODE_SPARE_0_MASK,4,4
	.comm	OVR_MODE_SPARE_1_MASK,4,4
	.comm	OVR_VAL_SPARE_0_MASK,4,4
	.comm	OVR_VAL_SPARE_1_MASK,4,4
	.comm	SQ_CAC_THRESHOLD,4,4
	.comm	VSP0_MASK,4,4
	.comm	VSP_MASK,4,4
	.comm	WEIGHT_BIF_MASK,4,4
	.comm	WEIGHT_CB_EN0_MASK,4,4
	.comm	WEIGHT_CB_EN1_MASK,4,4
	.comm	WEIGHT_CB_EN2_MASK,4,4
	.comm	WEIGHT_CB_EN3_MASK,4,4
	.comm	WEIGHT_CP_MASK,4,4
	.comm	WEIGHT_DB_SIG0_MASK,4,4
	.comm	WEIGHT_DB_SIG1_MASK,4,4
	.comm	WEIGHT_DB_SIG2_MASK,4,4
	.comm	WEIGHT_DB_SIG3_MASK,4,4
	.comm	WEIGHT_DC_SIG0_MASK,4,4
	.comm	WEIGHT_DC_SIG1_MASK,4,4
	.comm	WEIGHT_DC_SIG2_MASK,4,4
	.comm	WEIGHT_DC_SIG3_MASK,4,4
	.comm	WEIGHT_LDS_SIG0_MASK,4,4
	.comm	WEIGHT_LDS_SIG1_MASK,4,4
	.comm	WEIGHT_PA_SIG0_MASK,4,4
	.comm	WEIGHT_PA_SIG1_MASK,4,4
	.comm	WEIGHT_SC_MASK,4,4
	.comm	WEIGHT_SPARE0_MASK,4,4
	.comm	WEIGHT_SPARE1_MASK,4,4
	.comm	WEIGHT_SPI_SIG0_MASK,4,4
	.comm	WEIGHT_SPI_SIG1_MASK,4,4
	.comm	WEIGHT_SPI_SIG2_MASK,4,4
	.comm	WEIGHT_SPI_SIG3_MASK,4,4
	.comm	WEIGHT_SPI_SIG4_MASK,4,4
	.comm	WEIGHT_SPI_SIG5_MASK,4,4
	.comm	WEIGHT_SQ_GPR_MASK,4,4
	.comm	WEIGHT_SQ_VSP0_MASK,4,4
	.comm	WEIGHT_SQ_VSP_MASK,4,4
	.comm	WEIGHT_SXM_SIG0_MASK,4,4
	.comm	WEIGHT_SXM_SIG1_MASK,4,4
	.comm	WEIGHT_SXM_SIG2_MASK,4,4
	.comm	WEIGHT_SXS_SIG0_MASK,4,4
	.comm	WEIGHT_SXS_SIG1_MASK,4,4
	.comm	WEIGHT_TA_SIG_MASK,4,4
	.comm	WEIGHT_TCC_EN0_MASK,4,4
	.comm	WEIGHT_TCC_EN1_MASK,4,4
	.comm	WEIGHT_TCC_EN2_MASK,4,4
	.comm	WEIGHT_TCP_SIG0_MASK,4,4
	.comm	WEIGHT_TCP_SIG1_MASK,4,4
	.comm	WEIGHT_UVD_SIG0_MASK,4,4
	.comm	WEIGHT_UVD_SIG1_MASK,4,4
	.comm	WEIGHT_VGT_SIG0_MASK,4,4
	.comm	WEIGHT_VGT_SIG1_MASK,4,4
	.comm	WEIGHT_VGT_SIG2_MASK,4,4
	.comm	WEIGHT_XBR_0_MASK,4,4
	.comm	WEIGHT_XBR_1_MASK,4,4
	.comm	WEIGHT_XBR_2_MASK,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ni_initialize_hardware_cac_manager, %function
ni_initialize_hardware_cac_manager:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	ni_get_pi
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L3
.L2:
	mov	r3, #0
	b	.L4
.L3:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L6
	ldr	r3, [r3]
	rsb	r3, r3, #0
	b	.L4
.L5:
	ldr	r3, .L6+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32_CG
	mov	r1, r0
	ldr	r3, .L6+8
	ldr	r2, [r3]
	ldr	r3, .L6+12
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+16
	ldr	r3, [r3]
	orr	r3, r2, r3
	mvn	r3, r3
	and	r3, r3, r1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #228]
	mov	r0, r3
	bl	WEIGHT_TCP_SIG0
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #224]
	mov	r0, r3
	bl	WEIGHT_TCP_SIG1
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #220]
	mov	r0, r3
	bl	WEIGHT_TA_SIG
	mov	r3, r0
	orr	r3, r4, r3
	ldr	r2, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+4
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32_CG
	ldr	r3, .L6+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32_CG
	mov	r1, r0
	ldr	r3, .L6+24
	ldr	r2, [r3]
	ldr	r3, .L6+28
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+32
	ldr	r3, [r3]
	orr	r3, r2, r3
	mvn	r3, r3
	and	r3, r3, r1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #216]
	mov	r0, r3
	bl	WEIGHT_TCC_EN0
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #212]
	mov	r0, r3
	bl	WEIGHT_TCC_EN1
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #208]
	mov	r0, r3
	bl	WEIGHT_TCC_EN2
	mov	r3, r0
	orr	r3, r4, r3
	ldr	r2, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+20
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32_CG
	ldr	r3, .L6+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32_CG
	mov	r1, r0
	ldr	r3, .L6+40
	ldr	r2, [r3]
	ldr	r3, .L6+44
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+48
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+52
	ldr	r3, [r3]
	orr	r3, r2, r3
	mvn	r3, r3
	and	r3, r3, r1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #204]
	mov	r0, r3
	bl	WEIGHT_CB_EN0
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #200]
	mov	r0, r3
	bl	WEIGHT_CB_EN1
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #196]
	mov	r0, r3
	bl	WEIGHT_CB_EN2
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #192]
	mov	r0, r3
	bl	WEIGHT_CB_EN3
	mov	r3, r0
	orr	r3, r4, r3
	ldr	r2, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+36
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32_CG
	ldr	r3, .L6+56
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32_CG
	mov	r1, r0
	ldr	r3, .L6+60
	ldr	r2, [r3]
	ldr	r3, .L6+64
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+68
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+72
	ldr	r3, [r3]
	orr	r3, r2, r3
	mvn	r3, r3
	and	r3, r3, r1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #188]
	mov	r0, r3
	bl	WEIGHT_DB_SIG0
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #184]
	mov	r0, r3
	bl	WEIGHT_DB_SIG1
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #180]
	mov	r0, r3
	bl	WEIGHT_DB_SIG2
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #176]
	mov	r0, r3
	bl	WEIGHT_DB_SIG3
	mov	r3, r0
	orr	r3, r4, r3
	ldr	r2, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+56
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32_CG
	ldr	r3, .L6+76
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32_CG
	mov	r1, r0
	ldr	r3, .L6+80
	ldr	r2, [r3]
	ldr	r3, .L6+84
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+88
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+92
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+96
	ldr	r3, [r3]
	orr	r3, r2, r3
	mvn	r3, r3
	and	r3, r3, r1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #172]
	mov	r0, r3
	bl	WEIGHT_SXM_SIG0
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #168]
	mov	r0, r3
	bl	WEIGHT_SXM_SIG1
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #164]
	mov	r0, r3
	bl	WEIGHT_SXM_SIG2
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #160]
	mov	r0, r3
	bl	WEIGHT_SXS_SIG0
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #156]
	mov	r0, r3
	bl	WEIGHT_SXS_SIG1
	mov	r3, r0
	orr	r3, r4, r3
	ldr	r2, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+76
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32_CG
	ldr	r3, .L6+100
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32_CG
	mov	r1, r0
	ldr	r3, .L6+104
	ldr	r2, [r3]
	ldr	r3, .L6+108
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+112
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+116
	ldr	r3, [r3]
	orr	r3, r2, r3
	mvn	r3, r3
	and	r3, r3, r1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #152]
	mov	r0, r3
	bl	WEIGHT_XBR_0
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #148]
	mov	r0, r3
	bl	WEIGHT_XBR_1
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #144]
	mov	r0, r3
	bl	WEIGHT_XBR_2
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #140]
	mov	r0, r3
	bl	WEIGHT_SPI_SIG0
	mov	r3, r0
	orr	r3, r4, r3
	ldr	r2, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+100
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32_CG
	ldr	r3, .L6+120
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32_CG
	mov	r1, r0
	ldr	r3, .L6+124
	ldr	r2, [r3]
	ldr	r3, .L6+128
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+132
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+136
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+140
	ldr	r3, [r3]
	orr	r3, r2, r3
	mvn	r3, r3
	and	r3, r3, r1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #136]
	mov	r0, r3
	bl	WEIGHT_SPI_SIG1
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #132]
	mov	r0, r3
	bl	WEIGHT_SPI_SIG2
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #128]
	mov	r0, r3
	bl	WEIGHT_SPI_SIG3
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #124]
	mov	r0, r3
	bl	WEIGHT_SPI_SIG4
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #120]
	mov	r0, r3
	bl	WEIGHT_SPI_SIG5
	mov	r3, r0
	orr	r3, r4, r3
	ldr	r2, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+120
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32_CG
	ldr	r3, .L6+144
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32_CG
	mov	r1, r0
	ldr	r3, .L6+148
	ldr	r2, [r3]
	ldr	r3, .L6+152
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+156
	ldr	r3, [r3]
	orr	r3, r2, r3
	mvn	r3, r3
	and	r3, r3, r1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #116]
	mov	r0, r3
	bl	WEIGHT_LDS_SIG0
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #112]
	mov	r0, r3
	bl	WEIGHT_LDS_SIG1
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #108]
	mov	r0, r3
	bl	WEIGHT_SC
	mov	r3, r0
	orr	r3, r4, r3
	ldr	r2, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+144
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32_CG
	ldr	r3, .L6+160
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32_CG
	mov	r1, r0
	ldr	r3, .L6+164
	ldr	r2, [r3]
	ldr	r3, .L6+168
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+172
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+176
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+180
	ldr	r3, [r3]
	orr	r3, r2, r3
	mvn	r3, r3
	and	r3, r3, r1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #104]
	mov	r0, r3
	bl	WEIGHT_BIF
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #100]
	mov	r0, r3
	bl	WEIGHT_CP
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #96]
	mov	r0, r3
	bl	WEIGHT_PA_SIG0
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #92]
	mov	r0, r3
	bl	WEIGHT_PA_SIG1
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #88]
	mov	r0, r3
	bl	WEIGHT_VGT_SIG0
	mov	r3, r0
	orr	r3, r4, r3
	ldr	r2, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+160
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32_CG
	ldr	r3, .L6+184
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32_CG
	mov	r1, r0
	ldr	r3, .L6+188
	ldr	r2, [r3]
	ldr	r3, .L6+192
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+196
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+200
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+204
	ldr	r3, [r3]
	orr	r3, r2, r3
	mvn	r3, r3
	and	r3, r3, r1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #84]
	mov	r0, r3
	bl	WEIGHT_VGT_SIG1
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #80]
	mov	r0, r3
	bl	WEIGHT_VGT_SIG2
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #76]
	mov	r0, r3
	bl	WEIGHT_DC_SIG0
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #72]
	mov	r0, r3
	bl	WEIGHT_DC_SIG1
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #68]
	mov	r0, r3
	bl	WEIGHT_DC_SIG2
	mov	r3, r0
	orr	r3, r4, r3
	ldr	r2, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+184
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32_CG
	ldr	r3, .L6+208
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32_CG
	mov	r1, r0
	ldr	r3, .L6+212
	ldr	r2, [r3]
	ldr	r3, .L6+216
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+220
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+224
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+228
	ldr	r3, [r3]
	orr	r3, r2, r3
	mvn	r3, r3
	and	r3, r3, r1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #64]
	mov	r0, r3
	bl	WEIGHT_DC_SIG3
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #60]
	mov	r0, r3
	bl	WEIGHT_UVD_SIG0
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #56]
	mov	r0, r3
	bl	WEIGHT_UVD_SIG1
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #52]
	mov	r0, r3
	bl	WEIGHT_SPARE0
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #48]
	mov	r0, r3
	bl	WEIGHT_SPARE1
	mov	r3, r0
	orr	r3, r4, r3
	ldr	r2, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+208
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32_CG
	ldr	r3, .L6+232
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32_CG
	mov	r1, r0
	ldr	r3, .L6+236
	ldr	r2, [r3]
	ldr	r3, .L6+240
	ldr	r3, [r3]
	orr	r3, r2, r3
	mvn	r3, r3
	and	r3, r3, r1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #44]
	mov	r0, r3
	bl	WEIGHT_SQ_VSP
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #40]
	mov	r0, r3
	bl	WEIGHT_SQ_VSP0
	mov	r3, r0
	orr	r3, r4, r3
	ldr	r2, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+232
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32_CG
	ldr	r3, .L6+244
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32_CG
	mov	r2, r0
	ldr	r3, .L6+248
	ldr	r3, [r3]
	mvn	r3, r3
	and	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #36]
	mov	r0, r3
	bl	WEIGHT_SQ_GPR
	mov	r2, r0
	ldr	r3, [fp, #-16]
	orr	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, .L6+244
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32_CG
	ldr	r3, .L6+252
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32_CG
	mov	r1, r0
	ldr	r3, .L6+256
	ldr	r2, [r3]
	ldr	r3, .L6+260
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+264
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+268
	ldr	r3, [r3]
	orr	r3, r2, r3
	mvn	r3, r3
	and	r3, r3, r1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #32]
	mov	r0, r3
	bl	OVR_MODE_SPARE_0
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	OVR_VAL_SPARE_0
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #24]
	mov	r0, r3
	bl	OVR_MODE_SPARE_1
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	OVR_VAL_SPARE_1
	mov	r3, r0
	orr	r3, r4, r3
	ldr	r2, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+252
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32_CG
	ldr	r3, .L6+272
	ldr	r3, [r3]
	mov	r0, r3
	bl	RREG32
	mov	r1, r0
	ldr	r3, .L6+276
	ldr	r2, [r3]
	ldr	r3, .L6+280
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+284
	ldr	r3, [r3]
	orr	r3, r2, r3
	mvn	r3, r3
	and	r3, r3, r1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	VSP
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	VSP0
	mov	r3, r0
	orr	r4, r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	GPR
	mov	r3, r0
	orr	r3, r4, r3
	ldr	r2, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+272
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32
	ldr	r3, .L6+288
	ldr	r2, [r3]
	ldr	r3, .L6+292
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+296
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, .L6+300
	ldr	r3, [r3]
	orr	r4, r2, r3
	ldr	r0, .L6+304
	bl	INDEX
	mov	r3, r0
	orr	r3, r4, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+308
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	READ_WEIGHT
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r0, r3
	bl	WRITE_WEIGHT
	mov	r3, r0
	orr	r2, r4, r3
	ldr	r3, .L6+312
	ldr	r3, [r3]
	orr	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L6+316
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	WREG32
	mov	r3, #0
.L4:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L7:
	.align	2
.L6:
	.word	EINVAL
	.word	CG_CAC_REGION_1_WEIGHT_0
	.word	WEIGHT_TCP_SIG0_MASK
	.word	WEIGHT_TCP_SIG1_MASK
	.word	WEIGHT_TA_SIG_MASK
	.word	CG_CAC_REGION_1_WEIGHT_1
	.word	WEIGHT_TCC_EN0_MASK
	.word	WEIGHT_TCC_EN1_MASK
	.word	WEIGHT_TCC_EN2_MASK
	.word	CG_CAC_REGION_2_WEIGHT_0
	.word	WEIGHT_CB_EN0_MASK
	.word	WEIGHT_CB_EN1_MASK
	.word	WEIGHT_CB_EN2_MASK
	.word	WEIGHT_CB_EN3_MASK
	.word	CG_CAC_REGION_2_WEIGHT_1
	.word	WEIGHT_DB_SIG0_MASK
	.word	WEIGHT_DB_SIG1_MASK
	.word	WEIGHT_DB_SIG2_MASK
	.word	WEIGHT_DB_SIG3_MASK
	.word	CG_CAC_REGION_2_WEIGHT_2
	.word	WEIGHT_SXM_SIG0_MASK
	.word	WEIGHT_SXM_SIG1_MASK
	.word	WEIGHT_SXM_SIG2_MASK
	.word	WEIGHT_SXS_SIG0_MASK
	.word	WEIGHT_SXS_SIG1_MASK
	.word	CG_CAC_REGION_3_WEIGHT_0
	.word	WEIGHT_XBR_0_MASK
	.word	WEIGHT_XBR_1_MASK
	.word	WEIGHT_XBR_2_MASK
	.word	WEIGHT_SPI_SIG0_MASK
	.word	CG_CAC_REGION_3_WEIGHT_1
	.word	WEIGHT_SPI_SIG1_MASK
	.word	WEIGHT_SPI_SIG2_MASK
	.word	WEIGHT_SPI_SIG3_MASK
	.word	WEIGHT_SPI_SIG4_MASK
	.word	WEIGHT_SPI_SIG5_MASK
	.word	CG_CAC_REGION_4_WEIGHT_0
	.word	WEIGHT_LDS_SIG0_MASK
	.word	WEIGHT_LDS_SIG1_MASK
	.word	WEIGHT_SC_MASK
	.word	CG_CAC_REGION_4_WEIGHT_1
	.word	WEIGHT_BIF_MASK
	.word	WEIGHT_CP_MASK
	.word	WEIGHT_PA_SIG0_MASK
	.word	WEIGHT_PA_SIG1_MASK
	.word	WEIGHT_VGT_SIG0_MASK
	.word	CG_CAC_REGION_4_WEIGHT_2
	.word	WEIGHT_VGT_SIG1_MASK
	.word	WEIGHT_VGT_SIG2_MASK
	.word	WEIGHT_DC_SIG0_MASK
	.word	WEIGHT_DC_SIG1_MASK
	.word	WEIGHT_DC_SIG2_MASK
	.word	CG_CAC_REGION_4_WEIGHT_3
	.word	WEIGHT_DC_SIG3_MASK
	.word	WEIGHT_UVD_SIG0_MASK
	.word	WEIGHT_UVD_SIG1_MASK
	.word	WEIGHT_SPARE0_MASK
	.word	WEIGHT_SPARE1_MASK
	.word	CG_CAC_REGION_5_WEIGHT_0
	.word	WEIGHT_SQ_VSP_MASK
	.word	WEIGHT_SQ_VSP0_MASK
	.word	CG_CAC_REGION_5_WEIGHT_1
	.word	WEIGHT_SQ_GPR_MASK
	.word	CG_CAC_REGION_4_OVERRIDE_4
	.word	OVR_MODE_SPARE_0_MASK
	.word	OVR_VAL_SPARE_0_MASK
	.word	OVR_MODE_SPARE_1_MASK
	.word	OVR_VAL_SPARE_1_MASK
	.word	SQ_CAC_THRESHOLD
	.word	VSP_MASK
	.word	VSP0_MASK
	.word	GPR_MASK
	.word	MCDW_WR_ENABLE
	.word	MCDX_WR_ENABLE
	.word	MCDY_WR_ENABLE
	.word	MCDZ_WR_ENABLE
	.word	2516
	.word	MC_CG_CONFIG
	.word	ALLOW_OVERFLOW
	.word	MC_CG_DATAPORT
	.size	ni_initialize_hardware_cac_manager, .-ni_initialize_hardware_cac_manager
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
