	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnl_gt_workarounds_init
_cnl_gt_workarounds_init:               ## @cnl_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	_wa_init_mcr
	movq	_CNL_REVID_B0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_IS_CNL_REVID
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_GAMT_CHKN_BIT_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GAMT_CHKN_DISABLE_I2M_CYCLE_ON_WR_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_wa_write_or
LBB0_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
	.cfi_endproc
                                        ## -- End function
	.comm	_CNL_REVID_B0,4,2               ## @CNL_REVID_B0
	.comm	_GAMT_CHKN_BIT_REG,4,2          ## @GAMT_CHKN_BIT_REG
	.comm	_GAMT_CHKN_DISABLE_I2M_CYCLE_ON_WR_PORT,4,2 ## @GAMT_CHKN_DISABLE_I2M_CYCLE_ON_WR_PORT
	.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	_cnl_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 cnl_gt_workarounds_init
_cnl_gt_workarounds_init:               ; @cnl_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	_wa_init_mcr
Lloh0:
	adrp	x8, _CNL_REVID_B0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CNL_REVID_B0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x1
	bl	_IS_CNL_REVID
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _GAMT_CHKN_BIT_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GAMT_CHKN_BIT_REG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _GAMT_CHKN_DISABLE_I2M_CYCLE_ON_WR_PORT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GAMT_CHKN_DISABLE_I2M_CYCLE_ON_WR_PORT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_wa_write_or
LBB0_2:
Lloh9:
	adrp	x8, _GEN9_GAMT_ECO_REG_RW_IA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GEN9_GAMT_ECO_REG_RW_IA@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS@GOTPAGEOFF]
Lloh14:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CNL_REVID_B0,4,2               ; @CNL_REVID_B0
	.comm	_GAMT_CHKN_BIT_REG,4,2          ; @GAMT_CHKN_BIT_REG
	.comm	_GAMT_CHKN_DISABLE_I2M_CYCLE_ON_WR_PORT,4,2 ; @GAMT_CHKN_DISABLE_I2M_CYCLE_ON_WR_PORT
	.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	_cnl_gt_workarounds_init
.subsections_via_symbols
