	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kbl_ctx_workarounds_init
_kbl_ctx_workarounds_init:              ## @kbl_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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	callq	_gen9_ctx_workarounds_init
	movq	_KBL_REVID_C0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REVID_FOREVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_IS_KBL_REVID
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_COMMON_SLICE_CHICKEN2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GEN8_SBE_DISABLE_REPLAY_BUF_OPTIMIZATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WA_SET_BIT_MASKED
LBB0_2:
	movq	_GEN7_HALF_SLICE_CHICKEN1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GEN7_SBE_SS_CACHE_DISPATCH_PORT_SHARING_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_WA_SET_BIT_MASKED              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KBL_REVID_C0,4,2               ## @KBL_REVID_C0
	.comm	_REVID_FOREVER,4,2              ## @REVID_FOREVER
	.comm	_COMMON_SLICE_CHICKEN2,4,2      ## @COMMON_SLICE_CHICKEN2
	.comm	_GEN8_SBE_DISABLE_REPLAY_BUF_OPTIMIZATION,4,2 ## @GEN8_SBE_DISABLE_REPLAY_BUF_OPTIMIZATION
	.comm	_GEN7_HALF_SLICE_CHICKEN1,4,2   ## @GEN7_HALF_SLICE_CHICKEN1
	.comm	_GEN7_SBE_SS_CACHE_DISPATCH_PORT_SHARING_DISABLE,4,2 ## @GEN7_SBE_SS_CACHE_DISPATCH_PORT_SHARING_DISABLE
	.no_dead_strip	_kbl_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 kbl_ctx_workarounds_init
_kbl_ctx_workarounds_init:              ; @kbl_ctx_workarounds_init
	.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
	ldr	x19, [x0]
	bl	_gen9_ctx_workarounds_init
Lloh0:
	adrp	x8, _KBL_REVID_C0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KBL_REVID_C0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _REVID_FOREVER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REVID_FOREVER@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_IS_KBL_REVID
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _COMMON_SLICE_CHICKEN2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _COMMON_SLICE_CHICKEN2@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _GEN8_SBE_DISABLE_REPLAY_BUF_OPTIMIZATION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GEN8_SBE_DISABLE_REPLAY_BUF_OPTIMIZATION@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_WA_SET_BIT_MASKED
LBB0_2:
Lloh12:
	adrp	x8, _GEN7_HALF_SLICE_CHICKEN1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GEN7_HALF_SLICE_CHICKEN1@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _GEN7_SBE_SS_CACHE_DISPATCH_PORT_SHARING_DISABLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GEN7_SBE_SS_CACHE_DISPATCH_PORT_SHARING_DISABLE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WA_SET_BIT_MASKED
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_KBL_REVID_C0,4,2               ; @KBL_REVID_C0
	.comm	_REVID_FOREVER,4,2              ; @REVID_FOREVER
	.comm	_COMMON_SLICE_CHICKEN2,4,2      ; @COMMON_SLICE_CHICKEN2
	.comm	_GEN8_SBE_DISABLE_REPLAY_BUF_OPTIMIZATION,4,2 ; @GEN8_SBE_DISABLE_REPLAY_BUF_OPTIMIZATION
	.comm	_GEN7_HALF_SLICE_CHICKEN1,4,2   ; @GEN7_HALF_SLICE_CHICKEN1
	.comm	_GEN7_SBE_SS_CACHE_DISPATCH_PORT_SHARING_DISABLE,4,2 ; @GEN7_SBE_SS_CACHE_DISPATCH_PORT_SHARING_DISABLE
	.no_dead_strip	_kbl_ctx_workarounds_init
.subsections_via_symbols
