	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu_shutdown                   ## -- Begin function smu_shutdown
	.p2align	4, 0x90
_smu_shutdown:                          ## @smu_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
	movq	_smu@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_SMU_CMD_POWER_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-8(%rbp), %rdi
	movl	$9, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$83, %r9d
	pushq	$0
	pushq	$78
	pushq	$87
	pushq	$79
	pushq	$68
	pushq	$84
	pushq	$85
	pushq	$72
	callq	_smu_queue_simple
	addq	$64, %rsp
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_2:
	leaq	-8(%rbp), %rdi
	callq	_smu_spinwait_simple
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_smu,8,3                        ## @smu
	.comm	_SMU_CMD_POWER_COMMAND,4,2      ## @SMU_CMD_POWER_COMMAND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu_shutdown                   ; -- Begin function smu_shutdown
	.p2align	2
_smu_shutdown:                          ; @smu_shutdown
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _smu@GOTPAGE
Lloh1:
	ldr	x8, [x8, _smu@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SMU_CMD_POWER_COMMAND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMU_CMD_POWER_COMMAND@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	str	wzr, [sp, #8]
	mov	w8, #78
	strb	w8, [sp, #4]
	mov	w8, #17492
	movk	w8, #22351, lsl #16
	str	w8, [sp]
	sub	x0, x29, #8
	mov	w2, #9
	mov	x3, #0
	mov	x4, #0
	mov	w5, #83
	mov	w6, #72
	mov	w7, #85
	bl	_smu_queue_simple
	cbz	x0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_3:
	sub	x0, x29, #8
	bl	_smu_spinwait_simple
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_smu,8,3                        ; @smu
	.comm	_SMU_CMD_POWER_COMMAND,4,2      ; @SMU_CMD_POWER_COMMAND
.subsections_via_symbols
