	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmc_power_off
_pmc_power_off:                         ## @pmc_power_off
	.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
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	_acpi_base_addr@GOTPCREL(%rip), %rax
	movq	_PM1_CNT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	addq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_inl
	movq	_SLEEP_TYPE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_SLEEP_TYPE_S5@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SLEEP_ENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_outl                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Preparing to enter system sleep state S5\n"

	.comm	_acpi_base_addr,8,3             ## @acpi_base_addr
	.comm	_PM1_CNT,8,3                    ## @PM1_CNT
	.comm	_SLEEP_TYPE_MASK,4,2            ## @SLEEP_TYPE_MASK
	.comm	_SLEEP_TYPE_S5,4,2              ## @SLEEP_TYPE_S5
	.comm	_SLEEP_ENABLE,4,2               ## @SLEEP_ENABLE
	.no_dead_strip	_pmc_power_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmc_power_off
_pmc_power_off:                         ; @pmc_power_off
	.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	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
Lloh2:
	adrp	x8, _acpi_base_addr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _acpi_base_addr@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _PM1_CNT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PM1_CNT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x19, x9, x8
	mov	x0, x19
	bl	_inl
Lloh8:
	adrp	x8, _SLEEP_TYPE_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SLEEP_TYPE_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh11:
	adrp	x9, _SLEEP_TYPE_S5@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SLEEP_TYPE_S5@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _SLEEP_ENABLE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SLEEP_ENABLE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w0, w8, w9
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_outl
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Preparing to enter system sleep state S5\n"

	.comm	_acpi_base_addr,8,3             ; @acpi_base_addr
	.comm	_PM1_CNT,8,3                    ; @PM1_CNT
	.comm	_SLEEP_TYPE_MASK,4,2            ; @SLEEP_TYPE_MASK
	.comm	_SLEEP_TYPE_S5,4,2              ; @SLEEP_TYPE_S5
	.comm	_SLEEP_ENABLE,4,2               ; @SLEEP_ENABLE
	.no_dead_strip	_pmc_power_off
.subsections_via_symbols
