	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_opregion_unregister      ## -- Begin function intel_opregion_unregister
	.p2align	4, 0x90
_intel_opregion_unregister:             ## @intel_opregion_unregister
	.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	%rdi, %rbx
	movq	_PCI_D1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_intel_opregion_suspend
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	cmpq	$0, 64(%rbx)
	je	LBB0_3
## %bb.2:
	leaq	64(%rbx), %rdi
	callq	_unregister_acpi_notifier
	movq	$0, 64(%rbx)
	movq	40(%rbx), %rdi
LBB0_3:
	callq	_memunmap
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_memunmap
	movq	$0, 56(%rbx)
LBB0_5:
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_kfree
	movq	$0, 48(%rbx)
LBB0_7:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movups	%xmm0, 16(%rbx)
	movups	%xmm0, (%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_D1,4,2                     ## @PCI_D1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_opregion_unregister      ; -- Begin function intel_opregion_unregister
	.p2align	2
_intel_opregion_unregister:             ; @intel_opregion_unregister
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _PCI_D1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_D1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_intel_opregion_suspend
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_8
; %bb.1:
	mov	x8, x19
	ldr	x9, [x8, #64]!
	cbz	x9, LBB0_3
; %bb.2:
	mov	x0, x8
	bl	_unregister_acpi_notifier
	str	xzr, [x19, #64]
	ldr	x0, [x19, #40]
LBB0_3:
	bl	_memunmap
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_memunmap
	str	xzr, [x19, #56]
LBB0_5:
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_kfree
	str	xzr, [x19, #48]
LBB0_7:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #16]
	str	q0, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_D1,4,2                     ; @PCI_D1
.subsections_via_symbols
