	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i85x_init_clock_gating
_i85x_init_clock_gating:                ## @i85x_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_RENCLK_GATE_D1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SV_CLOCK_GATE_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_I915_WRITE
	movq	_MI_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_MI_AGPBUSY_INT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__MASKED_BIT_ENABLE
	movl	%eax, %ebx
	movq	_MI_AGPBUSY_830_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__MASKED_BIT_DISABLE
	orl	%eax, %ebx
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_I915_WRITE
	movq	_MEM_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_MEM_DISPLAY_TRICKLE_FEED_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__MASKED_BIT_ENABLE
	movl	%ebx, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RENCLK_GATE_D1,4,2             ## @RENCLK_GATE_D1
	.comm	_SV_CLOCK_GATE_DISABLE,4,2      ## @SV_CLOCK_GATE_DISABLE
	.comm	_MI_STATE,4,2                   ## @MI_STATE
	.comm	_MI_AGPBUSY_INT_EN,4,2          ## @MI_AGPBUSY_INT_EN
	.comm	_MI_AGPBUSY_830_MODE,4,2        ## @MI_AGPBUSY_830_MODE
	.comm	_MEM_MODE,4,2                   ## @MEM_MODE
	.comm	_MEM_DISPLAY_TRICKLE_FEED_DISABLE,4,2 ## @MEM_DISPLAY_TRICKLE_FEED_DISABLE
	.no_dead_strip	_i85x_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 i85x_init_clock_gating
_i85x_init_clock_gating:                ; @i85x_init_clock_gating
	.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, _RENCLK_GATE_D1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RENCLK_GATE_D1@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SV_CLOCK_GATE_DISABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SV_CLOCK_GATE_DISABLE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_I915_WRITE
Lloh6:
	adrp	x8, _MI_STATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MI_STATE@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
Lloh9:
	adrp	x8, _MI_AGPBUSY_INT_EN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MI_AGPBUSY_INT_EN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	__MASKED_BIT_ENABLE
	mov	x20, x0
Lloh12:
	adrp	x8, _MI_AGPBUSY_830_MODE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MI_AGPBUSY_830_MODE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	__MASKED_BIT_DISABLE
	orr	w1, w0, w20
	mov	x0, x19
	bl	_I915_WRITE
Lloh15:
	adrp	x8, _MEM_MODE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MEM_MODE@GOTPAGEOFF]
Lloh17:
	ldr	w19, [x8]
Lloh18:
	adrp	x8, _MEM_DISPLAY_TRICKLE_FEED_DISABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MEM_DISPLAY_TRICKLE_FEED_DISABLE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	__MASKED_BIT_ENABLE
	mov	x1, x0
	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	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	_RENCLK_GATE_D1,4,2             ; @RENCLK_GATE_D1
	.comm	_SV_CLOCK_GATE_DISABLE,4,2      ; @SV_CLOCK_GATE_DISABLE
	.comm	_MI_STATE,4,2                   ; @MI_STATE
	.comm	_MI_AGPBUSY_INT_EN,4,2          ; @MI_AGPBUSY_INT_EN
	.comm	_MI_AGPBUSY_830_MODE,4,2        ; @MI_AGPBUSY_830_MODE
	.comm	_MEM_MODE,4,2                   ; @MEM_MODE
	.comm	_MEM_DISPLAY_TRICKLE_FEED_DISABLE,4,2 ; @MEM_DISPLAY_TRICKLE_FEED_DISABLE
	.no_dead_strip	_i85x_init_clock_gating
.subsections_via_symbols
