	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wdog_panic_handler
_wdog_panic_handler:                    ## @wdog_panic_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_watchdog_user@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	testb	$1, _wdog_panic_handler.panic_event_handled(%rip)
	jne	LBB0_4
## %bb.2:
	movq	_ipmi_watchdog_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_WDOG_TIMEOUT_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movb	$1, _wdog_panic_handler.panic_event_handled(%rip)
	movq	_timeout@GOTPCREL(%rip), %rax
	movl	$255, (%rax)
	movq	_pretimeout@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_panic_halt_ipmi_set_timeout
LBB0_4:
	movq	_NOTIFY_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_wdog_panic_handler.panic_event_handled,1,2 ## @wdog_panic_handler.panic_event_handled
	.comm	_watchdog_user,8,3              ## @watchdog_user
	.comm	_ipmi_watchdog_state,8,3        ## @ipmi_watchdog_state
	.comm	_WDOG_TIMEOUT_NONE,8,3          ## @WDOG_TIMEOUT_NONE
	.comm	_timeout,4,2                    ## @timeout
	.comm	_pretimeout,8,3                 ## @pretimeout
	.comm	_NOTIFY_OK,4,2                  ## @NOTIFY_OK
	.no_dead_strip	_wdog_panic_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wdog_panic_handler
_wdog_panic_handler:                    ; @wdog_panic_handler
	.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, _watchdog_user@GOTPAGE
Lloh1:
	ldr	x8, [x8, _watchdog_user@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
	adrp	x8, _wdog_panic_handler.panic_event_handled@PAGE
	ldrb	w9, [x8, _wdog_panic_handler.panic_event_handled@PAGEOFF]
	tbnz	w9, #0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x9, _ipmi_watchdog_state@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ipmi_watchdog_state@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _WDOG_TIMEOUT_NONE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _WDOG_TIMEOUT_NONE@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_4
; %bb.3:
	mov	w9, #1
Lloh9:
	adrp	x10, _timeout@GOTPAGE
Lloh10:
	ldr	x10, [x10, _timeout@GOTPAGEOFF]
	strb	w9, [x8, _wdog_panic_handler.panic_event_handled@PAGEOFF]
	mov	w8, #255
Lloh11:
	str	w8, [x10]
Lloh12:
	adrp	x8, _pretimeout@GOTPAGE
Lloh13:
	ldr	x8, [x8, _pretimeout@GOTPAGEOFF]
Lloh14:
	str	xzr, [x8]
	bl	_panic_halt_ipmi_set_timeout
LBB0_4:
Lloh15:
	adrp	x8, _NOTIFY_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NOTIFY_OK@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_wdog_panic_handler.panic_event_handled,1,2 ; @wdog_panic_handler.panic_event_handled
	.comm	_watchdog_user,8,3              ; @watchdog_user
	.comm	_ipmi_watchdog_state,8,3        ; @ipmi_watchdog_state
	.comm	_WDOG_TIMEOUT_NONE,8,3          ; @WDOG_TIMEOUT_NONE
	.comm	_timeout,4,2                    ; @timeout
	.comm	_pretimeout,8,3                 ; @pretimeout
	.comm	_NOTIFY_OK,4,2                  ; @NOTIFY_OK
	.no_dead_strip	_wdog_panic_handler
.subsections_via_symbols
