	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skl_gt_workarounds_init
_skl_gt_workarounds_init:               ## @skl_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_gen9_gt_workarounds_init
	movq	_GEN7_UCGCTL4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GEN8_EU_GAUNIT_CLOCK_GATE_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_wa_write_or
	movq	_SKL_REVID_H0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REVID_FOREVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_IS_SKL_REVID
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	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	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wa_write_or                    ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN7_UCGCTL4,4,2               ## @GEN7_UCGCTL4
	.comm	_GEN8_EU_GAUNIT_CLOCK_GATE_DISABLE,4,2 ## @GEN8_EU_GAUNIT_CLOCK_GATE_DISABLE
	.comm	_SKL_REVID_H0,4,2               ## @SKL_REVID_H0
	.comm	_REVID_FOREVER,4,2              ## @REVID_FOREVER
	.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
	.no_dead_strip	_skl_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 skl_gt_workarounds_init
_skl_gt_workarounds_init:               ; @skl_gt_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
	mov	x19, x1
	mov	x20, x0
	bl	_gen9_gt_workarounds_init
Lloh0:
	adrp	x8, _GEN7_UCGCTL4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GEN7_UCGCTL4@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _GEN8_EU_GAUNIT_CLOCK_GATE_DISABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GEN8_EU_GAUNIT_CLOCK_GATE_DISABLE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_write_or
Lloh6:
	adrp	x8, _SKL_REVID_H0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SKL_REVID_H0@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _REVID_FOREVER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REVID_FOREVER@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_IS_SKL_REVID
	cbz	x0, LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _GEN9_GAMT_ECO_REG_RW_IA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GEN9_GAMT_ECO_REG_RW_IA@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wa_write_or
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN7_UCGCTL4,4,2               ; @GEN7_UCGCTL4
	.comm	_GEN8_EU_GAUNIT_CLOCK_GATE_DISABLE,4,2 ; @GEN8_EU_GAUNIT_CLOCK_GATE_DISABLE
	.comm	_SKL_REVID_H0,4,2               ; @SKL_REVID_H0
	.comm	_REVID_FOREVER,4,2              ; @REVID_FOREVER
	.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
	.no_dead_strip	_skl_gt_workarounds_init
.subsections_via_symbols
