	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tmr_watchdog
_tmr_watchdog:                          ## @tmr_watchdog
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_timers@GOTPCREL(%rip), %rdi
	leaq	_tmr_watchdog(%rip), %rcx
	movl	$1, %esi
	movl	$5, %edx
	movq	%rbx, %r8
	callq	_tmr_add
	movq	_FLG_WATCHDOG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.1:
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-16(%rbp), %rsi
	callq	_clock_gettime
	movq	-16(%rbp), %rax
	cmpq	8(%rbx), %rax
	jl	LBB0_3
## %bb.2:
	movq	_FLG_WDEXP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	xorl	%eax, %eax
	callq	_getpid
	movq	_SIGHUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_kill
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_timers,4,2                     ## @timers
	.comm	_FLG_WATCHDOG,4,2               ## @FLG_WATCHDOG
	.comm	_CLOCK_MONOTONIC,4,2            ## @CLOCK_MONOTONIC
	.comm	_FLG_WDEXP,4,2                  ## @FLG_WDEXP
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_stderr,4,2                     ## @stderr
	.no_dead_strip	_tmr_watchdog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tmr_watchdog
_tmr_watchdog:                          ; @tmr_watchdog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x0, _timers@GOTPAGE
Lloh1:
	ldr	x0, [x0, _timers@GOTPAGEOFF]
Lloh2:
	adrp	x3, _tmr_watchdog@PAGE
Lloh3:
	add	x3, x3, _tmr_watchdog@PAGEOFF
	mov	w1, #1
	mov	w2, #5
	mov	x4, x19
	bl	_tmr_add
	ldr	w8, [x19]
Lloh4:
	adrp	x9, _FLG_WATCHDOG@GOTPAGE
Lloh5:
	ldr	x9, [x9, _FLG_WATCHDOG@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh7:
	adrp	x8, _CLOCK_MONOTONIC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CLOCK_MONOTONIC@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_clock_gettime
	ldr	x8, [sp, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, _FLG_WDEXP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FLG_WDEXP@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	bl	_getpid
Lloh13:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_kill
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_timers,4,2                     ; @timers
	.comm	_FLG_WATCHDOG,4,2               ; @FLG_WATCHDOG
	.comm	_CLOCK_MONOTONIC,4,2            ; @CLOCK_MONOTONIC
	.comm	_FLG_WDEXP,4,2                  ; @FLG_WDEXP
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_stderr,4,2                     ; @stderr
	.no_dead_strip	_tmr_watchdog
.subsections_via_symbols
