	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcs_engine_wa_init
_rcs_engine_wa_init:                    ## @rcs_engine_wa_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	(%rdi), %r14
	movq	%r14, %rdi
	movl	$11, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	__3D_CHICKEN3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	__3D_CHICKEN3_AA_LINE_QUALITY_FIX_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wa_masked_en
	movq	_GEN8_L3SQCREG4@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_GEN8_LQSC_FLUSH_COHERENT_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wa_write_or
	movq	_GEN8_GARBCNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_GEN11_ARBITRATION_PRIO_ORDER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wa_write_or
	movl	(%rbx), %esi
	movq	_GEN11_HASH_CTRL_EXCL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GEN11_HASH_CTRL_EXCL_BIT0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	callq	_wa_write_masked_or
	movq	_GEN11_GLBLINVL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEN11_BANK_HASH_ADDR_EXCL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GEN11_BANK_HASH_ADDR_EXCL_BIT0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	callq	_wa_write_masked_or
	movl	(%r15), %esi
	movq	_GEN11_LQSC_CLEAN_EVICT_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wa_write_or
	movq	_GEN10_SCRATCH_LNCF2@GOTPCREL(%rip), %rax
	movq	_PMFLUSHDONE_LNICRSDROP@GOTPCREL(%rip), %rcx
	movq	_PMFLUSH_GAPL3UNBLOCK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PMFLUSHDONE_LNEBLK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wa_write_or
	movq	_ICL_REVID_A0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ICL_REVID_B0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_IS_ICL_REVID
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_GEN7_SARCHKMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEN7_DISABLE_DEMAND_PREFETCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wa_write_or
LBB0_3:
	movq	_GEN7_SARCHKMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEN7_DISABLE_SAMPLER_PREFETCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wa_write_or
	movq	_GEN11_SCRATCH2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEN11_COHERENT_PARTIAL_WRITE_MERGE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_wa_write_masked_or
LBB0_4:
	movq	%r14, %rdi
	movl	$9, %esi
	movl	$11, %edx
	callq	_IS_GEN_RANGE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_GEN7_FF_SLICE_CS_CHICKEN1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEN9_FFSC_PERCTX_PREEMPT_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wa_masked_en
LBB0_6:
	movq	%r14, %rdi
	callq	_IS_SKYLAKE
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	movq	%r14, %rdi
	callq	_IS_KABYLAKE
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	callq	_IS_COFFEELAKE
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	movq	_GEN8_GARBCNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEN9_GAPS_TSV_CREDIT_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wa_write_or
LBB0_10:
	movq	%r14, %rdi
	callq	_IS_BROXTON
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_FF_SLICE_CS_CHICKEN2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEN9_POOLED_EU_LOAD_BALANCING_FIX_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wa_masked_en
LBB0_12:
	movq	%r14, %rdi
	movl	$9, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	movq	_GEN9_CSFE_CHICKEN1_RCS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEN9_PREEMPT_GPGPU_SYNC_SWITCH_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wa_masked_en
	movq	_BDW_SCRATCH1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEN9_LBS_SLA_RETRY_TIMER_DECREMENT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_wa_write_or
	movq	%r14, %rdi
	callq	_IS_GEN9_LP
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_GEN8_L3SQCREG1@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_L3_PRIO_CREDITS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$62, %edi
	callq	_L3_GENERAL_PRIO_CREDITS
	movl	%eax, %ebx
	movl	$2, %edi
	callq	_L3_HIGH_PRIO_CREDITS
	orl	%eax, %ebx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	callq	_wa_write_masked_or
LBB0_15:
	movq	_GEN8_L3SQCREG4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEN8_LQSC_FLUSH_COHERENT_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wa_write_or                    ## TAILCALL
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__3D_CHICKEN3,4,2               ## @_3D_CHICKEN3
	.comm	__3D_CHICKEN3_AA_LINE_QUALITY_FIX_ENABLE,4,2 ## @_3D_CHICKEN3_AA_LINE_QUALITY_FIX_ENABLE
	.comm	_GEN8_L3SQCREG4,4,2             ## @GEN8_L3SQCREG4
	.comm	_GEN8_LQSC_FLUSH_COHERENT_LINES,4,2 ## @GEN8_LQSC_FLUSH_COHERENT_LINES
	.comm	_GEN8_GARBCNTL,4,2              ## @GEN8_GARBCNTL
	.comm	_GEN11_ARBITRATION_PRIO_ORDER_MASK,4,2 ## @GEN11_ARBITRATION_PRIO_ORDER_MASK
	.comm	_GEN11_HASH_CTRL_EXCL_MASK,4,2  ## @GEN11_HASH_CTRL_EXCL_MASK
	.comm	_GEN11_HASH_CTRL_EXCL_BIT0,4,2  ## @GEN11_HASH_CTRL_EXCL_BIT0
	.comm	_GEN11_GLBLINVL,4,2             ## @GEN11_GLBLINVL
	.comm	_GEN11_BANK_HASH_ADDR_EXCL_MASK,4,2 ## @GEN11_BANK_HASH_ADDR_EXCL_MASK
	.comm	_GEN11_BANK_HASH_ADDR_EXCL_BIT0,4,2 ## @GEN11_BANK_HASH_ADDR_EXCL_BIT0
	.comm	_GEN11_LQSC_CLEAN_EVICT_DISABLE,4,2 ## @GEN11_LQSC_CLEAN_EVICT_DISABLE
	.comm	_GEN10_SCRATCH_LNCF2,4,2        ## @GEN10_SCRATCH_LNCF2
	.comm	_PMFLUSHDONE_LNICRSDROP,4,2     ## @PMFLUSHDONE_LNICRSDROP
	.comm	_PMFLUSH_GAPL3UNBLOCK,4,2       ## @PMFLUSH_GAPL3UNBLOCK
	.comm	_PMFLUSHDONE_LNEBLK,4,2         ## @PMFLUSHDONE_LNEBLK
	.comm	_ICL_REVID_A0,4,2               ## @ICL_REVID_A0
	.comm	_ICL_REVID_B0,4,2               ## @ICL_REVID_B0
	.comm	_GEN7_SARCHKMD,4,2              ## @GEN7_SARCHKMD
	.comm	_GEN7_DISABLE_DEMAND_PREFETCH,4,2 ## @GEN7_DISABLE_DEMAND_PREFETCH
	.comm	_GEN7_DISABLE_SAMPLER_PREFETCH,4,2 ## @GEN7_DISABLE_SAMPLER_PREFETCH
	.comm	_GEN11_SCRATCH2,4,2             ## @GEN11_SCRATCH2
	.comm	_GEN11_COHERENT_PARTIAL_WRITE_MERGE_ENABLE,4,2 ## @GEN11_COHERENT_PARTIAL_WRITE_MERGE_ENABLE
	.comm	_GEN7_FF_SLICE_CS_CHICKEN1,4,2  ## @GEN7_FF_SLICE_CS_CHICKEN1
	.comm	_GEN9_FFSC_PERCTX_PREEMPT_CTRL,4,2 ## @GEN9_FFSC_PERCTX_PREEMPT_CTRL
	.comm	_GEN9_GAPS_TSV_CREDIT_DISABLE,4,2 ## @GEN9_GAPS_TSV_CREDIT_DISABLE
	.comm	_FF_SLICE_CS_CHICKEN2,4,2       ## @FF_SLICE_CS_CHICKEN2
	.comm	_GEN9_POOLED_EU_LOAD_BALANCING_FIX_DISABLE,4,2 ## @GEN9_POOLED_EU_LOAD_BALANCING_FIX_DISABLE
	.comm	_GEN9_CSFE_CHICKEN1_RCS,4,2     ## @GEN9_CSFE_CHICKEN1_RCS
	.comm	_GEN9_PREEMPT_GPGPU_SYNC_SWITCH_DISABLE,4,2 ## @GEN9_PREEMPT_GPGPU_SYNC_SWITCH_DISABLE
	.comm	_BDW_SCRATCH1,4,2               ## @BDW_SCRATCH1
	.comm	_GEN9_LBS_SLA_RETRY_TIMER_DECREMENT_ENABLE,4,2 ## @GEN9_LBS_SLA_RETRY_TIMER_DECREMENT_ENABLE
	.comm	_GEN8_L3SQCREG1,4,2             ## @GEN8_L3SQCREG1
	.comm	_L3_PRIO_CREDITS_MASK,4,2       ## @L3_PRIO_CREDITS_MASK
	.no_dead_strip	_rcs_engine_wa_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcs_engine_wa_init
_rcs_engine_wa_init:                    ; @rcs_engine_wa_init
	.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, x1
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #11
	bl	_IS_GEN
Lloh0:
	adrp	x21, _GEN8_GARBCNTL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GEN8_GARBCNTL@GOTPAGEOFF]
Lloh2:
	adrp	x23, _GEN8_L3SQCREG4@GOTPAGE
Lloh3:
	ldr	x23, [x23, _GEN8_L3SQCREG4@GOTPAGEOFF]
Lloh4:
	adrp	x24, _GEN8_LQSC_FLUSH_COHERENT_LINES@GOTPAGE
Lloh5:
	ldr	x24, [x24, _GEN8_LQSC_FLUSH_COHERENT_LINES@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, __3D_CHICKEN3@GOTPAGE
Lloh7:
	ldr	x8, [x8, __3D_CHICKEN3@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, __3D_CHICKEN3_AA_LINE_QUALITY_FIX_ENABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, __3D_CHICKEN3_AA_LINE_QUALITY_FIX_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_masked_en
	ldr	w1, [x23]
	ldr	w2, [x24]
	mov	x0, x19
	bl	_wa_write_or
	ldr	w1, [x21]
Lloh12:
	adrp	x8, _GEN11_ARBITRATION_PRIO_ORDER_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GEN11_ARBITRATION_PRIO_ORDER_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_write_or
	ldr	w1, [x21]
Lloh15:
	adrp	x8, _GEN11_HASH_CTRL_EXCL_MASK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GEN11_HASH_CTRL_EXCL_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _GEN11_HASH_CTRL_EXCL_BIT0@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GEN11_HASH_CTRL_EXCL_BIT0@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_wa_write_masked_or
Lloh21:
	adrp	x8, _GEN11_GLBLINVL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GEN11_GLBLINVL@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _GEN11_BANK_HASH_ADDR_EXCL_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GEN11_BANK_HASH_ADDR_EXCL_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
Lloh27:
	adrp	x8, _GEN11_BANK_HASH_ADDR_EXCL_BIT0@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GEN11_BANK_HASH_ADDR_EXCL_BIT0@GOTPAGEOFF]
Lloh29:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_wa_write_masked_or
	ldr	w1, [x23]
Lloh30:
	adrp	x8, _GEN11_LQSC_CLEAN_EVICT_DISABLE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GEN11_LQSC_CLEAN_EVICT_DISABLE@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_write_or
Lloh33:
	adrp	x8, _GEN10_SCRATCH_LNCF2@GOTPAGE
Lloh34:
	ldr	x8, [x8, _GEN10_SCRATCH_LNCF2@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x8, _PMFLUSHDONE_LNICRSDROP@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PMFLUSHDONE_LNICRSDROP@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _PMFLUSH_GAPL3UNBLOCK@GOTPAGE
Lloh40:
	ldr	x9, [x9, _PMFLUSH_GAPL3UNBLOCK@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh42:
	adrp	x9, _PMFLUSHDONE_LNEBLK@GOTPAGE
Lloh43:
	ldr	x9, [x9, _PMFLUSHDONE_LNEBLK@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_wa_write_or
Lloh45:
	adrp	x8, _ICL_REVID_A0@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ICL_REVID_A0@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
Lloh48:
	adrp	x8, _ICL_REVID_B0@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ICL_REVID_B0@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_IS_ICL_REVID
Lloh51:
	adrp	x22, _GEN7_SARCHKMD@GOTPAGE
Lloh52:
	ldr	x22, [x22, _GEN7_SARCHKMD@GOTPAGEOFF]
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w1, [x22]
Lloh53:
	adrp	x8, _GEN7_DISABLE_DEMAND_PREFETCH@GOTPAGE
Lloh54:
	ldr	x8, [x8, _GEN7_DISABLE_DEMAND_PREFETCH@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_write_or
LBB0_3:
	ldr	w1, [x22]
Lloh56:
	adrp	x8, _GEN7_DISABLE_SAMPLER_PREFETCH@GOTPAGE
Lloh57:
	ldr	x8, [x8, _GEN7_DISABLE_SAMPLER_PREFETCH@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_write_or
Lloh59:
	adrp	x8, _GEN11_SCRATCH2@GOTPAGE
Lloh60:
	ldr	x8, [x8, _GEN11_SCRATCH2@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
Lloh62:
	adrp	x8, _GEN11_COHERENT_PARTIAL_WRITE_MERGE_ENABLE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _GEN11_COHERENT_PARTIAL_WRITE_MERGE_ENABLE@GOTPAGEOFF]
Lloh64:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_wa_write_masked_or
LBB0_4:
	mov	x0, x20
	mov	w1, #9
	mov	w2, #11
	bl	_IS_GEN_RANGE
	cbz	x0, LBB0_6
; %bb.5:
Lloh65:
	adrp	x8, _GEN7_FF_SLICE_CS_CHICKEN1@GOTPAGE
Lloh66:
	ldr	x8, [x8, _GEN7_FF_SLICE_CS_CHICKEN1@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
Lloh68:
	adrp	x8, _GEN9_FFSC_PERCTX_PREEMPT_CTRL@GOTPAGE
Lloh69:
	ldr	x8, [x8, _GEN9_FFSC_PERCTX_PREEMPT_CTRL@GOTPAGEOFF]
Lloh70:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_masked_en
LBB0_6:
	mov	x0, x20
	bl	_IS_SKYLAKE
	cbnz	x0, LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_IS_KABYLAKE
	cbnz	x0, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_IS_COFFEELAKE
	cbz	x0, LBB0_10
LBB0_9:
	ldr	w1, [x21]
Lloh71:
	adrp	x8, _GEN9_GAPS_TSV_CREDIT_DISABLE@GOTPAGE
Lloh72:
	ldr	x8, [x8, _GEN9_GAPS_TSV_CREDIT_DISABLE@GOTPAGEOFF]
Lloh73:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_write_or
LBB0_10:
	mov	x0, x20
	bl	_IS_BROXTON
	cbz	x0, LBB0_12
; %bb.11:
Lloh74:
	adrp	x8, _FF_SLICE_CS_CHICKEN2@GOTPAGE
Lloh75:
	ldr	x8, [x8, _FF_SLICE_CS_CHICKEN2@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
Lloh77:
	adrp	x8, _GEN9_POOLED_EU_LOAD_BALANCING_FIX_DISABLE@GOTPAGE
Lloh78:
	ldr	x8, [x8, _GEN9_POOLED_EU_LOAD_BALANCING_FIX_DISABLE@GOTPAGEOFF]
Lloh79:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_masked_en
LBB0_12:
	mov	x0, x20
	mov	w1, #9
	bl	_IS_GEN
	cbz	x0, LBB0_16
; %bb.13:
Lloh80:
	adrp	x8, _GEN9_CSFE_CHICKEN1_RCS@GOTPAGE
Lloh81:
	ldr	x8, [x8, _GEN9_CSFE_CHICKEN1_RCS@GOTPAGEOFF]
Lloh82:
	ldr	w1, [x8]
Lloh83:
	adrp	x8, _GEN9_PREEMPT_GPGPU_SYNC_SWITCH_DISABLE@GOTPAGE
Lloh84:
	ldr	x8, [x8, _GEN9_PREEMPT_GPGPU_SYNC_SWITCH_DISABLE@GOTPAGEOFF]
Lloh85:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_masked_en
Lloh86:
	adrp	x8, _BDW_SCRATCH1@GOTPAGE
Lloh87:
	ldr	x8, [x8, _BDW_SCRATCH1@GOTPAGEOFF]
Lloh88:
	ldr	w1, [x8]
Lloh89:
	adrp	x8, _GEN9_LBS_SLA_RETRY_TIMER_DECREMENT_ENABLE@GOTPAGE
Lloh90:
	ldr	x8, [x8, _GEN9_LBS_SLA_RETRY_TIMER_DECREMENT_ENABLE@GOTPAGEOFF]
Lloh91:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_write_or
	mov	x0, x20
	bl	_IS_GEN9_LP
	cbz	x0, LBB0_15
; %bb.14:
Lloh92:
	adrp	x8, _GEN8_L3SQCREG1@GOTPAGE
Lloh93:
	ldr	x8, [x8, _GEN8_L3SQCREG1@GOTPAGEOFF]
Lloh94:
	ldr	w20, [x8]
Lloh95:
	adrp	x8, _L3_PRIO_CREDITS_MASK@GOTPAGE
Lloh96:
	ldr	x8, [x8, _L3_PRIO_CREDITS_MASK@GOTPAGEOFF]
Lloh97:
	ldr	w21, [x8]
	mov	w0, #62
	bl	_L3_GENERAL_PRIO_CREDITS
	mov	x22, x0
	mov	w0, #2
	bl	_L3_HIGH_PRIO_CREDITS
	orr	w3, w0, w22
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_wa_write_masked_or
LBB0_15:
	ldr	w1, [x23]
	ldr	w2, [x24]
	mov	x0, x19
	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
	b	_wa_write_or
LBB0_16:
	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	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.cfi_endproc
                                        ; -- End function
	.comm	__3D_CHICKEN3,4,2               ; @_3D_CHICKEN3
	.comm	__3D_CHICKEN3_AA_LINE_QUALITY_FIX_ENABLE,4,2 ; @_3D_CHICKEN3_AA_LINE_QUALITY_FIX_ENABLE
	.comm	_GEN8_L3SQCREG4,4,2             ; @GEN8_L3SQCREG4
	.comm	_GEN8_LQSC_FLUSH_COHERENT_LINES,4,2 ; @GEN8_LQSC_FLUSH_COHERENT_LINES
	.comm	_GEN8_GARBCNTL,4,2              ; @GEN8_GARBCNTL
	.comm	_GEN11_ARBITRATION_PRIO_ORDER_MASK,4,2 ; @GEN11_ARBITRATION_PRIO_ORDER_MASK
	.comm	_GEN11_HASH_CTRL_EXCL_MASK,4,2  ; @GEN11_HASH_CTRL_EXCL_MASK
	.comm	_GEN11_HASH_CTRL_EXCL_BIT0,4,2  ; @GEN11_HASH_CTRL_EXCL_BIT0
	.comm	_GEN11_GLBLINVL,4,2             ; @GEN11_GLBLINVL
	.comm	_GEN11_BANK_HASH_ADDR_EXCL_MASK,4,2 ; @GEN11_BANK_HASH_ADDR_EXCL_MASK
	.comm	_GEN11_BANK_HASH_ADDR_EXCL_BIT0,4,2 ; @GEN11_BANK_HASH_ADDR_EXCL_BIT0
	.comm	_GEN11_LQSC_CLEAN_EVICT_DISABLE,4,2 ; @GEN11_LQSC_CLEAN_EVICT_DISABLE
	.comm	_GEN10_SCRATCH_LNCF2,4,2        ; @GEN10_SCRATCH_LNCF2
	.comm	_PMFLUSHDONE_LNICRSDROP,4,2     ; @PMFLUSHDONE_LNICRSDROP
	.comm	_PMFLUSH_GAPL3UNBLOCK,4,2       ; @PMFLUSH_GAPL3UNBLOCK
	.comm	_PMFLUSHDONE_LNEBLK,4,2         ; @PMFLUSHDONE_LNEBLK
	.comm	_ICL_REVID_A0,4,2               ; @ICL_REVID_A0
	.comm	_ICL_REVID_B0,4,2               ; @ICL_REVID_B0
	.comm	_GEN7_SARCHKMD,4,2              ; @GEN7_SARCHKMD
	.comm	_GEN7_DISABLE_DEMAND_PREFETCH,4,2 ; @GEN7_DISABLE_DEMAND_PREFETCH
	.comm	_GEN7_DISABLE_SAMPLER_PREFETCH,4,2 ; @GEN7_DISABLE_SAMPLER_PREFETCH
	.comm	_GEN11_SCRATCH2,4,2             ; @GEN11_SCRATCH2
	.comm	_GEN11_COHERENT_PARTIAL_WRITE_MERGE_ENABLE,4,2 ; @GEN11_COHERENT_PARTIAL_WRITE_MERGE_ENABLE
	.comm	_GEN7_FF_SLICE_CS_CHICKEN1,4,2  ; @GEN7_FF_SLICE_CS_CHICKEN1
	.comm	_GEN9_FFSC_PERCTX_PREEMPT_CTRL,4,2 ; @GEN9_FFSC_PERCTX_PREEMPT_CTRL
	.comm	_GEN9_GAPS_TSV_CREDIT_DISABLE,4,2 ; @GEN9_GAPS_TSV_CREDIT_DISABLE
	.comm	_FF_SLICE_CS_CHICKEN2,4,2       ; @FF_SLICE_CS_CHICKEN2
	.comm	_GEN9_POOLED_EU_LOAD_BALANCING_FIX_DISABLE,4,2 ; @GEN9_POOLED_EU_LOAD_BALANCING_FIX_DISABLE
	.comm	_GEN9_CSFE_CHICKEN1_RCS,4,2     ; @GEN9_CSFE_CHICKEN1_RCS
	.comm	_GEN9_PREEMPT_GPGPU_SYNC_SWITCH_DISABLE,4,2 ; @GEN9_PREEMPT_GPGPU_SYNC_SWITCH_DISABLE
	.comm	_BDW_SCRATCH1,4,2               ; @BDW_SCRATCH1
	.comm	_GEN9_LBS_SLA_RETRY_TIMER_DECREMENT_ENABLE,4,2 ; @GEN9_LBS_SLA_RETRY_TIMER_DECREMENT_ENABLE
	.comm	_GEN8_L3SQCREG1,4,2             ; @GEN8_L3SQCREG1
	.comm	_L3_PRIO_CREDITS_MASK,4,2       ; @L3_PRIO_CREDITS_MASK
	.no_dead_strip	_rcs_engine_wa_init
.subsections_via_symbols
