	.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, %r12
	leaq	4(%rdi), %rbx
	movq	_mchdev_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irq
	movq	_MEMSWCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_intel_uncore_read16
	movl	%eax, %r15d
	movq	_MEMINTREN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_intel_uncore_read
	movq	_MEMINT_EVAL_CHG_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_intel_uncore_write
	movq	_MEMINTRSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MEMINT_EVAL_CHG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_intel_uncore_write
	movq	_DEIER@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_intel_uncore_read
	movq	_DE_PCU_EVENT@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_intel_uncore_write
	movq	_DEIIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_intel_uncore_write
	movq	_DEIMR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_intel_uncore_read
	orl	(%r14), %eax
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_intel_uncore_write
	movl	(%r12), %esi
	movq	%r12, %rdi
	callq	_ironlake_set_drps
	movl	$1, %edi
	callq	_mdelay
	movq	_MEMCTL_CMD_STS@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_MEMSWCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_intel_uncore_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	x21, x0
	add	x20, x0, #4
Lloh0:
	adrp	x19, _mchdev_lock@GOTPAGE
Lloh1:
	ldr	x19, [x19, _mchdev_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_spin_lock_irq
Lloh2:
	adrp	x24, _MEMSWCTL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MEMSWCTL@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_intel_uncore_read16
	mov	x22, x0
Lloh4:
	adrp	x8, _MEMINTREN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MEMINTREN@GOTPAGEOFF]
Lloh6:
	ldr	w23, [x8]
	mov	x0, x20
	mov	x1, x23
	bl	_intel_uncore_read
Lloh7:
	adrp	x8, _MEMINT_EVAL_CHG_EN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MEMINT_EVAL_CHG_EN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x20
	mov	x1, x23
	bl	_intel_uncore_write
Lloh10:
	adrp	x8, _MEMINTRSTS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MEMINTRSTS@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _MEMINT_EVAL_CHG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MEMINT_EVAL_CHG@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_intel_uncore_write
Lloh16:
	adrp	x8, _DEIER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DEIER@GOTPAGEOFF]
Lloh18:
	ldr	w23, [x8]
	mov	x0, x20
	mov	x1, x23
	bl	_intel_uncore_read
Lloh19:
	adrp	x25, _DE_PCU_EVENT@GOTPAGE
Lloh20:
	ldr	x25, [x25, _DE_PCU_EVENT@GOTPAGEOFF]
	ldr	w8, [x25]
	bic	w2, w0, w8
	mov	x0, x20
	mov	x1, x23
	bl	_intel_uncore_write
Lloh21:
	adrp	x8, _DEIIR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DEIIR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x25]
	mov	x0, x20
	bl	_intel_uncore_write
Lloh24:
	adrp	x8, _DEIMR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DEIMR@GOTPAGEOFF]
Lloh26:
	ldr	w23, [x8]
	mov	x0, x20
	mov	x1, x23
	bl	_intel_uncore_read
	ldr	w8, [x25]
	orr	w2, w8, w0
	mov	x0, x20
	mov	x1, x23
	bl	_intel_uncore_write
	ldr	w1, [x21]
	mov	x0, x21
	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	w2, w8, w22
	ldr	w1, [x24]
	mov	x0, x20
	bl	_intel_uncore_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
