	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hsw_init_clock_gating
_hsw_init_clock_gating:                 ## @hsw_init_clock_gating
	.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	%rdi, %r14
	movq	_HSW_SCRATCH1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HSW_SCRATCH1_L3_DATA_ATOMICS_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_I915_WRITE
	movq	_HSW_ROW_CHICKEN3@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_HSW_ROW_CHICKEN3_L3_GLOBAL_ATOMICS_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__MASKED_BIT_ENABLE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	_GEN7_SQ_CHICKEN_MBCUNIT_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_I915_READ
	movq	_GEN7_SQ_CHICKEN_MBCUNIT_SQINTMOB@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	_GEN7_FF_THREAD_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_I915_READ
	movq	_GEN7_FF_VS_REF_CNT_FFME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	%ebx, %edi
	callq	_I915_WRITE
	movq	_CACHE_MODE_0_GEN7@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movq	_RC_OP_FLUSH_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__MASKED_BIT_DISABLE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movl	(%r15), %ebx
	movq	_HIZ_RAW_STALL_OPT_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__MASKED_BIT_DISABLE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	_CACHE_MODE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_PIXEL_SUBSPAN_COLLECT_OPT_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__MASKED_BIT_ENABLE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	_GEN7_GT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_GEN6_WIZ_HASHING_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GEN6_WIZ_HASHING_16x4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	__MASKED_FIELD
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	_HALF_SLICE_CHICKEN3@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_HSW_SAMPLE_C_PERFORMANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__MASKED_BIT_ENABLE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	_GAM_ECOCHK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_I915_READ
	movq	_HSW_ECOCHK_ARB_PRIO_SOL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lpt_init_clock_gating          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HSW_SCRATCH1,4,2               ## @HSW_SCRATCH1
	.comm	_HSW_SCRATCH1_L3_DATA_ATOMICS_DISABLE,4,2 ## @HSW_SCRATCH1_L3_DATA_ATOMICS_DISABLE
	.comm	_HSW_ROW_CHICKEN3,4,2           ## @HSW_ROW_CHICKEN3
	.comm	_HSW_ROW_CHICKEN3_L3_GLOBAL_ATOMICS_DISABLE,4,2 ## @HSW_ROW_CHICKEN3_L3_GLOBAL_ATOMICS_DISABLE
	.comm	_GEN7_SQ_CHICKEN_MBCUNIT_CONFIG,4,2 ## @GEN7_SQ_CHICKEN_MBCUNIT_CONFIG
	.comm	_GEN7_SQ_CHICKEN_MBCUNIT_SQINTMOB,4,2 ## @GEN7_SQ_CHICKEN_MBCUNIT_SQINTMOB
	.comm	_GEN7_FF_THREAD_MODE,4,2        ## @GEN7_FF_THREAD_MODE
	.comm	_GEN7_FF_VS_REF_CNT_FFME,4,2    ## @GEN7_FF_VS_REF_CNT_FFME
	.comm	_CACHE_MODE_0_GEN7,4,2          ## @CACHE_MODE_0_GEN7
	.comm	_RC_OP_FLUSH_ENABLE,4,2         ## @RC_OP_FLUSH_ENABLE
	.comm	_HIZ_RAW_STALL_OPT_DISABLE,4,2  ## @HIZ_RAW_STALL_OPT_DISABLE
	.comm	_CACHE_MODE_1,4,2               ## @CACHE_MODE_1
	.comm	_PIXEL_SUBSPAN_COLLECT_OPT_DISABLE,4,2 ## @PIXEL_SUBSPAN_COLLECT_OPT_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
	.comm	_HALF_SLICE_CHICKEN3,4,2        ## @HALF_SLICE_CHICKEN3
	.comm	_HSW_SAMPLE_C_PERFORMANCE,4,2   ## @HSW_SAMPLE_C_PERFORMANCE
	.comm	_GAM_ECOCHK,4,2                 ## @GAM_ECOCHK
	.comm	_HSW_ECOCHK_ARB_PRIO_SOL,4,2    ## @HSW_ECOCHK_ARB_PRIO_SOL
	.no_dead_strip	_hsw_init_clock_gating
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hsw_init_clock_gating
_hsw_init_clock_gating:                 ; @hsw_init_clock_gating
	.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, x0
Lloh0:
	adrp	x8, _HSW_SCRATCH1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HSW_SCRATCH1@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _HSW_SCRATCH1_L3_DATA_ATOMICS_DISABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HSW_SCRATCH1_L3_DATA_ATOMICS_DISABLE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_I915_WRITE
Lloh6:
	adrp	x8, _HSW_ROW_CHICKEN3@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HSW_ROW_CHICKEN3@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
Lloh9:
	adrp	x8, _HSW_ROW_CHICKEN3_L3_GLOBAL_ATOMICS_DISABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HSW_ROW_CHICKEN3_L3_GLOBAL_ATOMICS_DISABLE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	__MASKED_BIT_ENABLE
	mov	x1, x0
	mov	x0, x20
	bl	_I915_WRITE
Lloh12:
	adrp	x8, _GEN7_SQ_CHICKEN_MBCUNIT_CONFIG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GEN7_SQ_CHICKEN_MBCUNIT_CONFIG@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_I915_READ
Lloh15:
	adrp	x8, _GEN7_SQ_CHICKEN_MBCUNIT_SQINTMOB@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GEN7_SQ_CHICKEN_MBCUNIT_SQINTMOB@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x20
	bl	_I915_WRITE
Lloh18:
	adrp	x8, _GEN7_FF_THREAD_MODE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GEN7_FF_THREAD_MODE@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_I915_READ
Lloh21:
	adrp	x8, _GEN7_FF_VS_REF_CNT_FFME@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GEN7_FF_VS_REF_CNT_FFME@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	bic	w1, w0, w8
	mov	x0, x20
	bl	_I915_WRITE
Lloh24:
	adrp	x21, _CACHE_MODE_0_GEN7@GOTPAGE
Lloh25:
	ldr	x21, [x21, _CACHE_MODE_0_GEN7@GOTPAGEOFF]
	ldr	w20, [x21]
Lloh26:
	adrp	x8, _RC_OP_FLUSH_ENABLE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RC_OP_FLUSH_ENABLE@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	__MASKED_BIT_DISABLE
	mov	x1, x0
	mov	x0, x20
	bl	_I915_WRITE
	ldr	w20, [x21]
Lloh29:
	adrp	x8, _HIZ_RAW_STALL_OPT_DISABLE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _HIZ_RAW_STALL_OPT_DISABLE@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	__MASKED_BIT_DISABLE
	mov	x1, x0
	mov	x0, x20
	bl	_I915_WRITE
Lloh32:
	adrp	x8, _CACHE_MODE_1@GOTPAGE
Lloh33:
	ldr	x8, [x8, _CACHE_MODE_1@GOTPAGEOFF]
Lloh34:
	ldr	w20, [x8]
Lloh35:
	adrp	x8, _PIXEL_SUBSPAN_COLLECT_OPT_DISABLE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PIXEL_SUBSPAN_COLLECT_OPT_DISABLE@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	__MASKED_BIT_ENABLE
	mov	x1, x0
	mov	x0, x20
	bl	_I915_WRITE
Lloh38:
	adrp	x8, _GEN7_GT_MODE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _GEN7_GT_MODE@GOTPAGEOFF]
Lloh40:
	ldr	w20, [x8]
Lloh41:
	adrp	x8, _GEN6_WIZ_HASHING_MASK@GOTPAGE
Lloh42:
	ldr	x8, [x8, _GEN6_WIZ_HASHING_MASK@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x8, _GEN6_WIZ_HASHING_16x4@GOTPAGE
Lloh45:
	ldr	x8, [x8, _GEN6_WIZ_HASHING_16x4@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	bl	__MASKED_FIELD
	mov	x1, x0
	mov	x0, x20
	bl	_I915_WRITE
Lloh47:
	adrp	x8, _HALF_SLICE_CHICKEN3@GOTPAGE
Lloh48:
	ldr	x8, [x8, _HALF_SLICE_CHICKEN3@GOTPAGEOFF]
Lloh49:
	ldr	w20, [x8]
Lloh50:
	adrp	x8, _HSW_SAMPLE_C_PERFORMANCE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _HSW_SAMPLE_C_PERFORMANCE@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	bl	__MASKED_BIT_ENABLE
	mov	x1, x0
	mov	x0, x20
	bl	_I915_WRITE
Lloh53:
	adrp	x8, _GAM_ECOCHK@GOTPAGE
Lloh54:
	ldr	x8, [x8, _GAM_ECOCHK@GOTPAGEOFF]
Lloh55:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_I915_READ
Lloh56:
	adrp	x8, _HSW_ECOCHK_ARB_PRIO_SOL@GOTPAGE
Lloh57:
	ldr	x8, [x8, _HSW_ECOCHK_ARB_PRIO_SOL@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x20
	bl	_I915_WRITE
	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	_lpt_init_clock_gating
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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	_HSW_SCRATCH1,4,2               ; @HSW_SCRATCH1
	.comm	_HSW_SCRATCH1_L3_DATA_ATOMICS_DISABLE,4,2 ; @HSW_SCRATCH1_L3_DATA_ATOMICS_DISABLE
	.comm	_HSW_ROW_CHICKEN3,4,2           ; @HSW_ROW_CHICKEN3
	.comm	_HSW_ROW_CHICKEN3_L3_GLOBAL_ATOMICS_DISABLE,4,2 ; @HSW_ROW_CHICKEN3_L3_GLOBAL_ATOMICS_DISABLE
	.comm	_GEN7_SQ_CHICKEN_MBCUNIT_CONFIG,4,2 ; @GEN7_SQ_CHICKEN_MBCUNIT_CONFIG
	.comm	_GEN7_SQ_CHICKEN_MBCUNIT_SQINTMOB,4,2 ; @GEN7_SQ_CHICKEN_MBCUNIT_SQINTMOB
	.comm	_GEN7_FF_THREAD_MODE,4,2        ; @GEN7_FF_THREAD_MODE
	.comm	_GEN7_FF_VS_REF_CNT_FFME,4,2    ; @GEN7_FF_VS_REF_CNT_FFME
	.comm	_CACHE_MODE_0_GEN7,4,2          ; @CACHE_MODE_0_GEN7
	.comm	_RC_OP_FLUSH_ENABLE,4,2         ; @RC_OP_FLUSH_ENABLE
	.comm	_HIZ_RAW_STALL_OPT_DISABLE,4,2  ; @HIZ_RAW_STALL_OPT_DISABLE
	.comm	_CACHE_MODE_1,4,2               ; @CACHE_MODE_1
	.comm	_PIXEL_SUBSPAN_COLLECT_OPT_DISABLE,4,2 ; @PIXEL_SUBSPAN_COLLECT_OPT_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
	.comm	_HALF_SLICE_CHICKEN3,4,2        ; @HALF_SLICE_CHICKEN3
	.comm	_HSW_SAMPLE_C_PERFORMANCE,4,2   ; @HSW_SAMPLE_C_PERFORMANCE
	.comm	_GAM_ECOCHK,4,2                 ; @GAM_ECOCHK
	.comm	_HSW_ECOCHK_ARB_PRIO_SOL,4,2    ; @HSW_ECOCHK_ARB_PRIO_SOL
	.no_dead_strip	_hsw_init_clock_gating
.subsections_via_symbols
