	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipmi_po_smi_gone
_ipmi_po_smi_gone:                      ## @ipmi_po_smi_gone
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ready@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_ipmi_ifnum@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	$0, (%rax)
	movq	_ipmi_user@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ipmi_destroy_user
	movq	_old_poweroff_func@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_pm_power_off@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ready,8,3                      ## @ready
	.comm	_ipmi_ifnum,4,2                 ## @ipmi_ifnum
	.comm	_ipmi_user,4,2                  ## @ipmi_user
	.comm	_old_poweroff_func,4,2          ## @old_poweroff_func
	.comm	_pm_power_off,4,2               ## @pm_power_off
	.no_dead_strip	_ipmi_po_smi_gone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipmi_po_smi_gone
_ipmi_po_smi_gone:                      ; @ipmi_po_smi_gone
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _ready@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ready@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _ipmi_ifnum@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ipmi_ifnum@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	cmp	x9, #0
	ccmp	w10, w0, #0, ne
	b.ne	LBB0_2
; %bb.1:
	str	xzr, [x8]
Lloh5:
	adrp	x8, _ipmi_user@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ipmi_user@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_ipmi_destroy_user
Lloh8:
	adrp	x8, _old_poweroff_func@GOTPAGE
Lloh9:
	ldr	x8, [x8, _old_poweroff_func@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _pm_power_off@GOTPAGE
Lloh12:
	ldr	x9, [x9, _pm_power_off@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ready,8,3                      ; @ready
	.comm	_ipmi_ifnum,4,2                 ; @ipmi_ifnum
	.comm	_ipmi_user,4,2                  ; @ipmi_user
	.comm	_old_poweroff_func,4,2          ; @old_poweroff_func
	.comm	_pm_power_off,4,2               ; @pm_power_off
	.no_dead_strip	_ipmi_po_smi_gone
.subsections_via_symbols
