	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function icl_gt_workarounds_init
_icl_gt_workarounds_init:               ## @icl_gt_workarounds_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_wa_init_mcr
	movq	_GEN9_GAMT_ECO_REG_RW_IA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_wa_write_or
	movq	_GEN11_GACB_PERF_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEN11_HASH_CTRL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GEN11_HASH_CTRL_BIT0@GOTPCREL(%rip), %rax
	movq	_GEN11_HASH_CTRL_BIT4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_wa_write_masked_or
	movq	_GEN11_LSN_UNSLCVC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEN11_LSN_UNSLCVC_GAFS_HALF_SF_MAXALLOC@GOTPCREL(%rip), %rax
	movq	_GEN11_LSN_UNSLCVC_GAFS_HALF_CL2_MAXALLOC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_wa_write_or
	movq	_GEN8_GAMW_ECO_DEV_RW_IA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GAMW_ECO_DEV_CTX_RELOAD_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_wa_write_or
	movq	_ICL_REVID_A0@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%edx, %esi
	callq	_IS_ICL_REVID
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_SLICE_UNIT_LEVEL_CLKGATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MSCUNIT_CLKGATE_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_wa_write_or
LBB0_2:
	movq	_SUBSLICE_UNIT_LEVEL_CLKGATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GWUNIT_CLKGATE_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_wa_write_or
	movl	(%r15), %esi
	movq	_ICL_REVID_B0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_IS_ICL_REVID
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_INF_UNIT_LEVEL_CLKGATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CGPSF_CLKGATE_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_wa_write_or
LBB0_4:
	movq	_GAMT_CHKN_BIT_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GAMT_CHKN_DISABLE_L3_COH_PIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wa_write_or                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN9_GAMT_ECO_REG_RW_IA,4,2    ## @GEN9_GAMT_ECO_REG_RW_IA
	.comm	_GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS,4,2 ## @GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS
	.comm	_GEN11_GACB_PERF_CTRL,4,2       ## @GEN11_GACB_PERF_CTRL
	.comm	_GEN11_HASH_CTRL_MASK,4,2       ## @GEN11_HASH_CTRL_MASK
	.comm	_GEN11_HASH_CTRL_BIT0,4,2       ## @GEN11_HASH_CTRL_BIT0
	.comm	_GEN11_HASH_CTRL_BIT4,4,2       ## @GEN11_HASH_CTRL_BIT4
	.comm	_GEN11_LSN_UNSLCVC,4,2          ## @GEN11_LSN_UNSLCVC
	.comm	_GEN11_LSN_UNSLCVC_GAFS_HALF_SF_MAXALLOC,4,2 ## @GEN11_LSN_UNSLCVC_GAFS_HALF_SF_MAXALLOC
	.comm	_GEN11_LSN_UNSLCVC_GAFS_HALF_CL2_MAXALLOC,4,2 ## @GEN11_LSN_UNSLCVC_GAFS_HALF_CL2_MAXALLOC
	.comm	_GEN8_GAMW_ECO_DEV_RW_IA,4,2    ## @GEN8_GAMW_ECO_DEV_RW_IA
	.comm	_GAMW_ECO_DEV_CTX_RELOAD_DISABLE,4,2 ## @GAMW_ECO_DEV_CTX_RELOAD_DISABLE
	.comm	_ICL_REVID_A0,4,2               ## @ICL_REVID_A0
	.comm	_SLICE_UNIT_LEVEL_CLKGATE,4,2   ## @SLICE_UNIT_LEVEL_CLKGATE
	.comm	_MSCUNIT_CLKGATE_DIS,4,2        ## @MSCUNIT_CLKGATE_DIS
	.comm	_SUBSLICE_UNIT_LEVEL_CLKGATE,4,2 ## @SUBSLICE_UNIT_LEVEL_CLKGATE
	.comm	_GWUNIT_CLKGATE_DIS,4,2         ## @GWUNIT_CLKGATE_DIS
	.comm	_ICL_REVID_B0,4,2               ## @ICL_REVID_B0
	.comm	_INF_UNIT_LEVEL_CLKGATE,4,2     ## @INF_UNIT_LEVEL_CLKGATE
	.comm	_CGPSF_CLKGATE_DIS,4,2          ## @CGPSF_CLKGATE_DIS
	.comm	_GAMT_CHKN_BIT_REG,4,2          ## @GAMT_CHKN_BIT_REG
	.comm	_GAMT_CHKN_DISABLE_L3_COH_PIPE,4,2 ## @GAMT_CHKN_DISABLE_L3_COH_PIPE
	.no_dead_strip	_icl_gt_workarounds_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function icl_gt_workarounds_init
_icl_gt_workarounds_init:               ; @icl_gt_workarounds_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_wa_init_mcr
Lloh0:
	adrp	x8, _GEN9_GAMT_ECO_REG_RW_IA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GEN9_GAMT_ECO_REG_RW_IA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_write_or
Lloh6:
	adrp	x8, _GEN11_GACB_PERF_CTRL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GEN11_GACB_PERF_CTRL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _GEN11_HASH_CTRL_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GEN11_HASH_CTRL_MASK@GOTPAGEOFF]
Lloh11:
	adrp	x9, _GEN11_HASH_CTRL_BIT0@GOTPAGE
Lloh12:
	ldr	x9, [x9, _GEN11_HASH_CTRL_BIT0@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	ldr	w8, [x9]
Lloh15:
	adrp	x9, _GEN11_HASH_CTRL_BIT4@GOTPAGE
Lloh16:
	ldr	x9, [x9, _GEN11_HASH_CTRL_BIT4@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, x19
	bl	_wa_write_masked_or
Lloh18:
	adrp	x8, _GEN11_LSN_UNSLCVC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GEN11_LSN_UNSLCVC@GOTPAGEOFF]
Lloh20:
	adrp	x9, _GEN11_LSN_UNSLCVC_GAFS_HALF_SF_MAXALLOC@GOTPAGE
Lloh21:
	ldr	x9, [x9, _GEN11_LSN_UNSLCVC_GAFS_HALF_SF_MAXALLOC@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	ldr	w8, [x9]
Lloh24:
	adrp	x9, _GEN11_LSN_UNSLCVC_GAFS_HALF_CL2_MAXALLOC@GOTPAGE
Lloh25:
	ldr	x9, [x9, _GEN11_LSN_UNSLCVC_GAFS_HALF_CL2_MAXALLOC@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_wa_write_or
Lloh27:
	adrp	x8, _GEN8_GAMW_ECO_DEV_RW_IA@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GEN8_GAMW_ECO_DEV_RW_IA@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _GAMW_ECO_DEV_CTX_RELOAD_DISABLE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GAMW_ECO_DEV_CTX_RELOAD_DISABLE@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_write_or
Lloh33:
	adrp	x21, _ICL_REVID_A0@GOTPAGE
Lloh34:
	ldr	x21, [x21, _ICL_REVID_A0@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	mov	x2, x1
	bl	_IS_ICL_REVID
	cbz	x0, LBB0_2
; %bb.1:
Lloh35:
	adrp	x8, _SLICE_UNIT_LEVEL_CLKGATE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SLICE_UNIT_LEVEL_CLKGATE@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x8, _MSCUNIT_CLKGATE_DIS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MSCUNIT_CLKGATE_DIS@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_write_or
LBB0_2:
Lloh41:
	adrp	x8, _SUBSLICE_UNIT_LEVEL_CLKGATE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SUBSLICE_UNIT_LEVEL_CLKGATE@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x8, _GWUNIT_CLKGATE_DIS@GOTPAGE
Lloh45:
	ldr	x8, [x8, _GWUNIT_CLKGATE_DIS@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_write_or
	ldr	w1, [x21]
Lloh47:
	adrp	x8, _ICL_REVID_B0@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ICL_REVID_B0@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_IS_ICL_REVID
	cbz	x0, LBB0_4
; %bb.3:
Lloh50:
	adrp	x8, _INF_UNIT_LEVEL_CLKGATE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _INF_UNIT_LEVEL_CLKGATE@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
Lloh53:
	adrp	x8, _CGPSF_CLKGATE_DIS@GOTPAGE
Lloh54:
	ldr	x8, [x8, _CGPSF_CLKGATE_DIS@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_write_or
LBB0_4:
Lloh56:
	adrp	x8, _GAMT_CHKN_BIT_REG@GOTPAGE
Lloh57:
	ldr	x8, [x8, _GAMT_CHKN_BIT_REG@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
Lloh59:
	adrp	x8, _GAMT_CHKN_DISABLE_L3_COH_PIPE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _GAMT_CHKN_DISABLE_L3_COH_PIPE@GOTPAGEOFF]
Lloh61:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_wa_write_or
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN9_GAMT_ECO_REG_RW_IA,4,2    ; @GEN9_GAMT_ECO_REG_RW_IA
	.comm	_GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS,4,2 ; @GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS
	.comm	_GEN11_GACB_PERF_CTRL,4,2       ; @GEN11_GACB_PERF_CTRL
	.comm	_GEN11_HASH_CTRL_MASK,4,2       ; @GEN11_HASH_CTRL_MASK
	.comm	_GEN11_HASH_CTRL_BIT0,4,2       ; @GEN11_HASH_CTRL_BIT0
	.comm	_GEN11_HASH_CTRL_BIT4,4,2       ; @GEN11_HASH_CTRL_BIT4
	.comm	_GEN11_LSN_UNSLCVC,4,2          ; @GEN11_LSN_UNSLCVC
	.comm	_GEN11_LSN_UNSLCVC_GAFS_HALF_SF_MAXALLOC,4,2 ; @GEN11_LSN_UNSLCVC_GAFS_HALF_SF_MAXALLOC
	.comm	_GEN11_LSN_UNSLCVC_GAFS_HALF_CL2_MAXALLOC,4,2 ; @GEN11_LSN_UNSLCVC_GAFS_HALF_CL2_MAXALLOC
	.comm	_GEN8_GAMW_ECO_DEV_RW_IA,4,2    ; @GEN8_GAMW_ECO_DEV_RW_IA
	.comm	_GAMW_ECO_DEV_CTX_RELOAD_DISABLE,4,2 ; @GAMW_ECO_DEV_CTX_RELOAD_DISABLE
	.comm	_ICL_REVID_A0,4,2               ; @ICL_REVID_A0
	.comm	_SLICE_UNIT_LEVEL_CLKGATE,4,2   ; @SLICE_UNIT_LEVEL_CLKGATE
	.comm	_MSCUNIT_CLKGATE_DIS,4,2        ; @MSCUNIT_CLKGATE_DIS
	.comm	_SUBSLICE_UNIT_LEVEL_CLKGATE,4,2 ; @SUBSLICE_UNIT_LEVEL_CLKGATE
	.comm	_GWUNIT_CLKGATE_DIS,4,2         ; @GWUNIT_CLKGATE_DIS
	.comm	_ICL_REVID_B0,4,2               ; @ICL_REVID_B0
	.comm	_INF_UNIT_LEVEL_CLKGATE,4,2     ; @INF_UNIT_LEVEL_CLKGATE
	.comm	_CGPSF_CLKGATE_DIS,4,2          ; @CGPSF_CLKGATE_DIS
	.comm	_GAMT_CHKN_BIT_REG,4,2          ; @GAMT_CHKN_BIT_REG
	.comm	_GAMT_CHKN_DISABLE_L3_COH_PIPE,4,2 ; @GAMT_CHKN_DISABLE_L3_COH_PIPE
	.no_dead_strip	_icl_gt_workarounds_init
.subsections_via_symbols
