	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_opregion_resume          ## -- Begin function intel_opregion_resume
	.p2align	4, 0x90
_intel_opregion_resume:                 ## @intel_opregion_resume
	.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
	cmpl	$0, 16(%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_intel_didl_outputs
	movq	%rbx, %rdi
	callq	_intel_setup_cadls
	movq	8(%rbx), %rax
	movq	$0, 8(%rax)
	movl	$1, (%rax)
LBB0_3:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ASLE_TCHE_BLC_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_ASLE_ARDY_READY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
LBB0_5:
	movq	_PCI_D0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_intel_opregion_notify_adapter  ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASLE_TCHE_BLC_EN,4,2           ## @ASLE_TCHE_BLC_EN
	.comm	_ASLE_ARDY_READY,4,2            ## @ASLE_ARDY_READY
	.comm	_PCI_D0,4,2                     ## @PCI_D0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_opregion_resume          ; -- Begin function intel_opregion_resume
	.p2align	2
_intel_opregion_resume:                 ; @intel_opregion_resume
	.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
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_intel_didl_outputs
	mov	x0, x19
	bl	_intel_setup_cadls
	ldr	x8, [x19, #8]
	str	xzr, [x8, #8]
	mov	w9, #1
	str	w9, [x8]
LBB0_3:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.4:
Lloh0:
	adrp	x9, _ASLE_TCHE_BLC_EN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ASLE_TCHE_BLC_EN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _ASLE_ARDY_READY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ASLE_ARDY_READY@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	stp	w10, w9, [x8]
LBB0_5:
Lloh6:
	adrp	x8, _PCI_D0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCI_D0@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_intel_opregion_notify_adapter
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ASLE_TCHE_BLC_EN,4,2           ; @ASLE_TCHE_BLC_EN
	.comm	_ASLE_ARDY_READY,4,2            ; @ASLE_ARDY_READY
	.comm	_PCI_D0,4,2                     ; @PCI_D0
.subsections_via_symbols
