	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen8_ctx_workarounds_init
_gen8_ctx_workarounds_init:             ## @gen8_ctx_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
	movq	_INSTPM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_INSTPM_FORCE_ORDERING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WA_SET_BIT_MASKED
	movq	_MI_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASYNC_FLIP_PERF_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WA_SET_BIT_MASKED
	movq	_GEN8_ROW_CHICKEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WA_SET_BIT_MASKED
	movq	_HDC_CHICKEN0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HDC_DONOT_FETCH_MEM_WHEN_MASKED@GOTPCREL(%rip), %rax
	movq	_HDC_FORCE_NON_COHERENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_WA_SET_BIT_MASKED
	movq	_CACHE_MODE_0_GEN7@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HIZ_RAW_STALL_OPT_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WA_CLR_BIT_MASKED
	movq	_CACHE_MODE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GEN8_4x4_STC_OPTIMIZATION_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WA_SET_BIT_MASKED
	movq	_GEN7_GT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GEN6_WIZ_HASHING_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEN6_WIZ_HASHING_16x4@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbp
	jmp	_WA_SET_FIELD_MASKED            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INSTPM,4,2                     ## @INSTPM
	.comm	_INSTPM_FORCE_ORDERING,4,2      ## @INSTPM_FORCE_ORDERING
	.comm	_MI_MODE,4,2                    ## @MI_MODE
	.comm	_ASYNC_FLIP_PERF_DISABLE,4,2    ## @ASYNC_FLIP_PERF_DISABLE
	.comm	_GEN8_ROW_CHICKEN,4,2           ## @GEN8_ROW_CHICKEN
	.comm	_PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE,4,2 ## @PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE
	.comm	_HDC_CHICKEN0,4,2               ## @HDC_CHICKEN0
	.comm	_HDC_DONOT_FETCH_MEM_WHEN_MASKED,4,2 ## @HDC_DONOT_FETCH_MEM_WHEN_MASKED
	.comm	_HDC_FORCE_NON_COHERENT,4,2     ## @HDC_FORCE_NON_COHERENT
	.comm	_CACHE_MODE_0_GEN7,4,2          ## @CACHE_MODE_0_GEN7
	.comm	_HIZ_RAW_STALL_OPT_DISABLE,4,2  ## @HIZ_RAW_STALL_OPT_DISABLE
	.comm	_CACHE_MODE_1,4,2               ## @CACHE_MODE_1
	.comm	_GEN8_4x4_STC_OPTIMIZATION_DISABLE,4,2 ## @GEN8_4x4_STC_OPTIMIZATION_DISABLE
	.comm	_GEN7_GT_MODE,4,2               ## @GEN7_GT_MODE
	.comm	_GEN6_WIZ_HASHING_MASK,4,2      ## @GEN6_WIZ_HASHING_MASK
	.comm	_GEN6_WIZ_HASHING_16x4,4,2      ## @GEN6_WIZ_HASHING_16x4
	.no_dead_strip	_gen8_ctx_workarounds_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen8_ctx_workarounds_init
_gen8_ctx_workarounds_init:             ; @gen8_ctx_workarounds_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _INSTPM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INSTPM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _INSTPM_FORCE_ORDERING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INSTPM_FORCE_ORDERING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_WA_SET_BIT_MASKED
Lloh6:
	adrp	x8, _MI_MODE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MI_MODE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _ASYNC_FLIP_PERF_DISABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ASYNC_FLIP_PERF_DISABLE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_WA_SET_BIT_MASKED
Lloh12:
	adrp	x8, _GEN8_ROW_CHICKEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GEN8_ROW_CHICKEN@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_WA_SET_BIT_MASKED
Lloh18:
	adrp	x8, _HDC_CHICKEN0@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HDC_CHICKEN0@GOTPAGEOFF]
Lloh20:
	adrp	x9, _HDC_DONOT_FETCH_MEM_WHEN_MASKED@GOTPAGE
Lloh21:
	ldr	x9, [x9, _HDC_DONOT_FETCH_MEM_WHEN_MASKED@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	ldr	w8, [x9]
Lloh24:
	adrp	x9, _HDC_FORCE_NON_COHERENT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _HDC_FORCE_NON_COHERENT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_WA_SET_BIT_MASKED
Lloh27:
	adrp	x8, _CACHE_MODE_0_GEN7@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CACHE_MODE_0_GEN7@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _HIZ_RAW_STALL_OPT_DISABLE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _HIZ_RAW_STALL_OPT_DISABLE@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_WA_CLR_BIT_MASKED
Lloh33:
	adrp	x8, _CACHE_MODE_1@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CACHE_MODE_1@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x8, _GEN8_4x4_STC_OPTIMIZATION_DISABLE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _GEN8_4x4_STC_OPTIMIZATION_DISABLE@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	bl	_WA_SET_BIT_MASKED
Lloh39:
	adrp	x8, _GEN7_GT_MODE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _GEN7_GT_MODE@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x8, _GEN6_WIZ_HASHING_MASK@GOTPAGE
Lloh43:
	ldr	x8, [x8, _GEN6_WIZ_HASHING_MASK@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
Lloh45:
	adrp	x8, _GEN6_WIZ_HASHING_16x4@GOTPAGE
Lloh46:
	ldr	x8, [x8, _GEN6_WIZ_HASHING_16x4@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_WA_SET_FIELD_MASKED
	.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	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_INSTPM,4,2                     ; @INSTPM
	.comm	_INSTPM_FORCE_ORDERING,4,2      ; @INSTPM_FORCE_ORDERING
	.comm	_MI_MODE,4,2                    ; @MI_MODE
	.comm	_ASYNC_FLIP_PERF_DISABLE,4,2    ; @ASYNC_FLIP_PERF_DISABLE
	.comm	_GEN8_ROW_CHICKEN,4,2           ; @GEN8_ROW_CHICKEN
	.comm	_PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE,4,2 ; @PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE
	.comm	_HDC_CHICKEN0,4,2               ; @HDC_CHICKEN0
	.comm	_HDC_DONOT_FETCH_MEM_WHEN_MASKED,4,2 ; @HDC_DONOT_FETCH_MEM_WHEN_MASKED
	.comm	_HDC_FORCE_NON_COHERENT,4,2     ; @HDC_FORCE_NON_COHERENT
	.comm	_CACHE_MODE_0_GEN7,4,2          ; @CACHE_MODE_0_GEN7
	.comm	_HIZ_RAW_STALL_OPT_DISABLE,4,2  ; @HIZ_RAW_STALL_OPT_DISABLE
	.comm	_CACHE_MODE_1,4,2               ; @CACHE_MODE_1
	.comm	_GEN8_4x4_STC_OPTIMIZATION_DISABLE,4,2 ; @GEN8_4x4_STC_OPTIMIZATION_DISABLE
	.comm	_GEN7_GT_MODE,4,2               ; @GEN7_GT_MODE
	.comm	_GEN6_WIZ_HASHING_MASK,4,2      ; @GEN6_WIZ_HASHING_MASK
	.comm	_GEN6_WIZ_HASHING_16x4,4,2      ; @GEN6_WIZ_HASHING_16x4
	.no_dead_strip	_gen8_ctx_workarounds_init
.subsections_via_symbols
