	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hsw_disable_metric_set
_hsw_disable_metric_set:                ## @hsw_disable_metric_set
	.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	_GEN6_UCGCTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_I915_READ
	movq	_GEN6_CSUNIT_CLOCK_GATE_DISABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	%ebx, %edi
	callq	_I915_WRITE
	movq	_GEN7_MISCCPCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_I915_READ
	movq	_GEN7_DOP_CLOCK_GATE_ENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	_GDT_CHICKEN_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_I915_READ
	movq	_GT_NOA_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN6_UCGCTL1,4,2               ## @GEN6_UCGCTL1
	.comm	_GEN6_CSUNIT_CLOCK_GATE_DISABLE,4,2 ## @GEN6_CSUNIT_CLOCK_GATE_DISABLE
	.comm	_GEN7_MISCCPCTL,4,2             ## @GEN7_MISCCPCTL
	.comm	_GEN7_DOP_CLOCK_GATE_ENABLE,4,2 ## @GEN7_DOP_CLOCK_GATE_ENABLE
	.comm	_GDT_CHICKEN_BITS,4,2           ## @GDT_CHICKEN_BITS
	.comm	_GT_NOA_ENABLE,4,2              ## @GT_NOA_ENABLE
	.no_dead_strip	_hsw_disable_metric_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hsw_disable_metric_set
_hsw_disable_metric_set:                ; @hsw_disable_metric_set
	.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
Lloh0:
	adrp	x8, _GEN6_UCGCTL1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GEN6_UCGCTL1@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	mov	x0, x19
	bl	_I915_READ
Lloh3:
	adrp	x8, _GEN6_CSUNIT_CLOCK_GATE_DISABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GEN6_CSUNIT_CLOCK_GATE_DISABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w1, w0, w8
	mov	x0, x19
	bl	_I915_WRITE
Lloh6:
	adrp	x8, _GEN7_MISCCPCTL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GEN7_MISCCPCTL@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
	mov	x0, x19
	bl	_I915_READ
Lloh9:
	adrp	x8, _GEN7_DOP_CLOCK_GATE_ENABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GEN7_DOP_CLOCK_GATE_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w1, w8, w0
	mov	x0, x19
	bl	_I915_WRITE
Lloh12:
	adrp	x8, _GDT_CHICKEN_BITS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GDT_CHICKEN_BITS@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
	mov	x0, x19
	bl	_I915_READ
Lloh15:
	adrp	x8, _GT_NOA_ENABLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GT_NOA_ENABLE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	bic	w1, w0, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_I915_WRITE
	.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	_GEN6_UCGCTL1,4,2               ; @GEN6_UCGCTL1
	.comm	_GEN6_CSUNIT_CLOCK_GATE_DISABLE,4,2 ; @GEN6_CSUNIT_CLOCK_GATE_DISABLE
	.comm	_GEN7_MISCCPCTL,4,2             ; @GEN7_MISCCPCTL
	.comm	_GEN7_DOP_CLOCK_GATE_ENABLE,4,2 ; @GEN7_DOP_CLOCK_GATE_ENABLE
	.comm	_GDT_CHICKEN_BITS,4,2           ; @GDT_CHICKEN_BITS
	.comm	_GT_NOA_ENABLE,4,2              ; @GT_NOA_ENABLE
	.no_dead_strip	_hsw_disable_metric_set
.subsections_via_symbols
