	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ironlake_disable_drps
_ironlake_disable_drps:                 ## @ironlake_disable_drps
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	_mchdev_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irq
	movq	_MEMSWCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ16
	movl	%eax, %r12d
	movq	_MEMINTREN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_I915_READ
	movq	_MEMINT_EVAL_CHG_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	%ebx, %edi
	callq	_I915_WRITE
	movq	_MEMINTRSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MEMINT_EVAL_CHG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_I915_WRITE
	movq	_DEIER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_I915_READ
	movq	_DE_PCU_EVENT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	notl	%esi
	andl	%eax, %esi
	movl	%ebx, %edi
	callq	_I915_WRITE
	movq	_DEIIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %esi
	callq	_I915_WRITE
	movq	_DEIMR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_I915_READ
	orl	(%r13), %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_ironlake_set_drps
	movl	$1, %edi
	callq	_mdelay
	movq	_MEMCTL_CMD_STS@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_MEMSWCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_I915_WRITE
	movl	$1, %edi
	callq	_mdelay
	movq	_mchdev_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irq                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mchdev_lock,4,2                ## @mchdev_lock
	.comm	_MEMSWCTL,4,2                   ## @MEMSWCTL
	.comm	_MEMINTREN,4,2                  ## @MEMINTREN
	.comm	_MEMINT_EVAL_CHG_EN,4,2         ## @MEMINT_EVAL_CHG_EN
	.comm	_MEMINTRSTS,4,2                 ## @MEMINTRSTS
	.comm	_MEMINT_EVAL_CHG,4,2            ## @MEMINT_EVAL_CHG
	.comm	_DEIER,4,2                      ## @DEIER
	.comm	_DE_PCU_EVENT,4,2               ## @DE_PCU_EVENT
	.comm	_DEIIR,4,2                      ## @DEIIR
	.comm	_DEIMR,4,2                      ## @DEIMR
	.comm	_MEMCTL_CMD_STS,4,2             ## @MEMCTL_CMD_STS
	.no_dead_strip	_ironlake_disable_drps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ironlake_disable_drps
_ironlake_disable_drps:                 ; @ironlake_disable_drps
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	ldr	x24, [x0]
Lloh0:
	adrp	x19, _mchdev_lock@GOTPAGE
Lloh1:
	ldr	x19, [x19, _mchdev_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_spin_lock_irq
Lloh2:
	adrp	x23, _MEMSWCTL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MEMSWCTL@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_I915_READ16
	mov	x21, x0
Lloh4:
	adrp	x8, _MEMINTREN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MEMINTREN@GOTPAGEOFF]
Lloh6:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_I915_READ
Lloh7:
	adrp	x8, _MEMINT_EVAL_CHG_EN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MEMINT_EVAL_CHG_EN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	bic	w1, w0, w8
	mov	x0, x22
	bl	_I915_WRITE
Lloh10:
	adrp	x8, _MEMINTRSTS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MEMINTRSTS@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _MEMINT_EVAL_CHG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MEMINT_EVAL_CHG@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_I915_WRITE
Lloh16:
	adrp	x8, _DEIER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DEIER@GOTPAGEOFF]
Lloh18:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_I915_READ
Lloh19:
	adrp	x25, _DE_PCU_EVENT@GOTPAGE
Lloh20:
	ldr	x25, [x25, _DE_PCU_EVENT@GOTPAGEOFF]
	ldr	w8, [x25]
	bic	w1, w0, w8
	mov	x0, x22
	bl	_I915_WRITE
Lloh21:
	adrp	x8, _DEIIR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DEIIR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w1, [x25]
	bl	_I915_WRITE
Lloh24:
	adrp	x8, _DEIMR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DEIMR@GOTPAGEOFF]
Lloh26:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_I915_READ
	ldr	w8, [x25]
	orr	w1, w8, w0
	mov	x0, x22
	bl	_I915_WRITE
	ldr	w1, [x24]
	mov	x0, x20
	bl	_ironlake_set_drps
	mov	w0, #1
	bl	_mdelay
Lloh27:
	adrp	x8, _MEMCTL_CMD_STS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MEMCTL_CMD_STS@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w1, w8, w21
	ldr	w0, [x23]
	bl	_I915_WRITE
	mov	w0, #1
	bl	_mdelay
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_spin_unlock_irq
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mchdev_lock,4,2                ; @mchdev_lock
	.comm	_MEMSWCTL,4,2                   ; @MEMSWCTL
	.comm	_MEMINTREN,4,2                  ; @MEMINTREN
	.comm	_MEMINT_EVAL_CHG_EN,4,2         ; @MEMINT_EVAL_CHG_EN
	.comm	_MEMINTRSTS,4,2                 ; @MEMINTRSTS
	.comm	_MEMINT_EVAL_CHG,4,2            ; @MEMINT_EVAL_CHG
	.comm	_DEIER,4,2                      ; @DEIER
	.comm	_DE_PCU_EVENT,4,2               ; @DE_PCU_EVENT
	.comm	_DEIIR,4,2                      ; @DEIIR
	.comm	_DEIMR,4,2                      ; @DEIMR
	.comm	_MEMCTL_CMD_STS,4,2             ; @MEMCTL_CMD_STS
	.no_dead_strip	_ironlake_disable_drps
.subsections_via_symbols
