	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function panic_halt_ipmi_heartbeat
_panic_halt_ipmi_heartbeat:             ## @panic_halt_ipmi_heartbeat
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movq	_ipmi_watchdog_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_WDOG_TIMEOUT_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	_IPMI_SYSTEM_INTERFACE_ADDR_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movq	_IPMI_BMC_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movq	$0, -16(%rbp)
	movl	$6, -48(%rbp)
	movq	_IPMI_WDOG_RESET_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movq	_panic_done_count@GOTPCREL(%rip), %rsi
	movl	$2, %edi
	callq	_atomic_add
	movq	_watchdog_user@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_panic_halt_heartbeat_recv_msg@GOTPCREL(%rip), %rax
	movq	_panic_halt_heartbeat_smi_msg@GOTPCREL(%rip), %r9
	leaq	-16(%rbp), %rsi
	leaq	-48(%rbp), %rcx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	pushq	$1
	pushq	%rax
	callq	_ipmi_request_supply_msgs
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	_panic_done_count@GOTPCREL(%rip), %rsi
	movl	$2, %edi
	callq	_atomic_sub
LBB0_3:
	addq	$48, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ipmi_watchdog_state,8,3        ## @ipmi_watchdog_state
	.comm	_WDOG_TIMEOUT_NONE,8,3          ## @WDOG_TIMEOUT_NONE
	.comm	_IPMI_SYSTEM_INTERFACE_ADDR_TYPE,4,2 ## @IPMI_SYSTEM_INTERFACE_ADDR_TYPE
	.comm	_IPMI_BMC_CHANNEL,4,2           ## @IPMI_BMC_CHANNEL
	.comm	_IPMI_WDOG_RESET_TIMER,4,2      ## @IPMI_WDOG_RESET_TIMER
	.comm	_panic_done_count,4,2           ## @panic_done_count
	.comm	_watchdog_user,4,2              ## @watchdog_user
	.comm	_panic_halt_heartbeat_smi_msg,4,2 ## @panic_halt_heartbeat_smi_msg
	.comm	_panic_halt_heartbeat_recv_msg,4,2 ## @panic_halt_heartbeat_recv_msg
	.no_dead_strip	_panic_halt_ipmi_heartbeat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function panic_halt_ipmi_heartbeat
_panic_halt_ipmi_heartbeat:             ; @panic_halt_ipmi_heartbeat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _ipmi_watchdog_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ipmi_watchdog_state@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _WDOG_TIMEOUT_NONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WDOG_TIMEOUT_NONE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _IPMI_SYSTEM_INTERFACE_ADDR_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IPMI_SYSTEM_INTERFACE_ADDR_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _IPMI_BMC_CHANNEL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IPMI_BMC_CHANNEL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
	str	xzr, [sp]
	mov	w8, #6
	str	w8, [sp, #16]
Lloh12:
	adrp	x8, _IPMI_WDOG_RESET_TIMER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IPMI_WDOG_RESET_TIMER@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	stp	xzr, xzr, [sp, #24]
Lloh15:
	adrp	x1, _panic_done_count@GOTPAGE
Lloh16:
	ldr	x1, [x1, _panic_done_count@GOTPAGEOFF]
	mov	w0, #2
	bl	_atomic_add
Lloh17:
	adrp	x8, _watchdog_user@GOTPAGE
Lloh18:
	ldr	x8, [x8, _watchdog_user@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x5, _panic_halt_heartbeat_smi_msg@GOTPAGE
Lloh21:
	ldr	x5, [x5, _panic_halt_heartbeat_smi_msg@GOTPAGEOFF]
Lloh22:
	adrp	x6, _panic_halt_heartbeat_recv_msg@GOTPAGE
Lloh23:
	ldr	x6, [x6, _panic_halt_heartbeat_recv_msg@GOTPAGEOFF]
	mov	x1, sp
	add	x3, sp, #16
	mov	w2, #0
	mov	x4, #0
	mov	w7, #1
	bl	_ipmi_request_supply_msgs
	cbz	w0, LBB0_3
; %bb.2:
Lloh24:
	adrp	x1, _panic_done_count@GOTPAGE
Lloh25:
	ldr	x1, [x1, _panic_done_count@GOTPAGEOFF]
	mov	w0, #2
	bl	_atomic_sub
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ipmi_watchdog_state,8,3        ; @ipmi_watchdog_state
	.comm	_WDOG_TIMEOUT_NONE,8,3          ; @WDOG_TIMEOUT_NONE
	.comm	_IPMI_SYSTEM_INTERFACE_ADDR_TYPE,4,2 ; @IPMI_SYSTEM_INTERFACE_ADDR_TYPE
	.comm	_IPMI_BMC_CHANNEL,4,2           ; @IPMI_BMC_CHANNEL
	.comm	_IPMI_WDOG_RESET_TIMER,4,2      ; @IPMI_WDOG_RESET_TIMER
	.comm	_panic_done_count,4,2           ; @panic_done_count
	.comm	_watchdog_user,4,2              ; @watchdog_user
	.comm	_panic_halt_heartbeat_smi_msg,4,2 ; @panic_halt_heartbeat_smi_msg
	.comm	_panic_halt_heartbeat_recv_msg,4,2 ; @panic_halt_heartbeat_recv_msg
	.no_dead_strip	_panic_halt_ipmi_heartbeat
.subsections_via_symbols
