	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmu_shutdown
_pmu_shutdown:                          ## @pmu_shutdown
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$1414807885, -4(%rbp)           ## imm = 0x5454414D
	movq	_RB_HALT@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_PMU_POWER_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rcx
	movl	$4, %edx
	jmp	LBB0_3
LBB0_2:
	movq	_PMU_RESET_CPU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
LBB0_3:
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_pmu_send
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_RB_HALT,4,2                    ## @RB_HALT
	.comm	_PMU_POWER_OFF,4,2              ## @PMU_POWER_OFF
	.comm	_PMU_RESET_CPU,4,2              ## @PMU_RESET_CPU
	.no_dead_strip	_pmu_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmu_shutdown
_pmu_shutdown:                          ; @pmu_shutdown
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	w8, #16717
	movk	w8, #21588, lsl #16
	stur	w8, [x29, #-4]
Lloh0:
	adrp	x8, _RB_HALT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RB_HALT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _PMU_POWER_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PMU_POWER_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	sub	x3, x29, #4
	mov	w2, #4
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _PMU_RESET_CPU@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PMU_RESET_CPU@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w2, #0
	mov	x3, #0
LBB0_3:
	mov	w4, #0
	mov	x5, #0
	bl	_pmu_send
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RB_HALT,4,2                    ; @RB_HALT
	.comm	_PMU_POWER_OFF,4,2              ; @PMU_POWER_OFF
	.comm	_PMU_RESET_CPU,4,2              ; @PMU_RESET_CPU
	.no_dead_strip	_pmu_shutdown
.subsections_via_symbols
