	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function watchdog_check_dogfunction_time
_watchdog_check_dogfunction_time:       ## @watchdog_check_dogfunction_time
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_do_timedog@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %rsi
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	callq	_TIMESPEC_TO_TIMEVAL
	leaq	-96(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_TIMESPEC_TO_TIMEVAL
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_timersub
	movslq	-48(%rbp), %rbx
	movq	_carp_thresh_seconds@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	cmpl	%r9d, %ebx
	jl	LBB0_8
## %bb.3:
	movq	_test_cmd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str(%rip), %rdx
	cmoveq	%rcx, %rdx
	leaq	L_.str.2(%rip), %rcx
	cmovneq	%rax, %rcx
	movq	_do_syslog@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_LOG_CRIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-40(%rbp), %rax
	movl	%r9d, (%rsp)
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %r8d
	movq	%rax, %r9
	callq	_syslog
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_5:
	movq	-40(%rbp), %r8
	leaq	L_.str.3(%rip), %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	movl	%ebx, %ecx
	callq	_warnx
LBB0_6:
	leaq	-32(%rbp), %rdi
	callq	_watchdog_getuptime
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	leaq	-80(%rbp), %rbx
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_TIMESPEC_TO_TIMEVAL
	leaq	-64(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_timersub
	movslq	-48(%rbp), %rbx
LBB0_8:
	movq	%rbx, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_do_timedog,4,2                 ## @do_timedog
	.comm	_carp_thresh_seconds,4,2        ## @carp_thresh_seconds
	.comm	_test_cmd,8,3                   ## @test_cmd
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Watchdog program"

L_.str.1:                               ## @.str.1
	.asciz	"Watchdog operation"

L_.str.2:                               ## @.str.2
	.asciz	"stat(\"/etc\", &sb)"

	.comm	_do_syslog,8,3                  ## @do_syslog
	.comm	_LOG_CRIT,4,2                   ## @LOG_CRIT
L_.str.3:                               ## @.str.3
	.asciz	"%s: '%s' took too long: %d.%06ld seconds >= %d seconds threshold"

	.no_dead_strip	_watchdog_check_dogfunction_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function watchdog_check_dogfunction_time
_watchdog_check_dogfunction_time:       ; @watchdog_check_dogfunction_time
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _do_timedog@GOTPAGE
Lloh1:
	ldr	x8, [x8, _do_timedog@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x1, x0
	sub	x0, x29, #32
	bl	_TIMESPEC_TO_TIMEVAL
	add	x0, sp, #48
	mov	x1, x19
	bl	_TIMESPEC_TO_TIMEVAL
	add	x0, sp, #48
	sub	x1, x29, #32
	add	x2, sp, #16
	bl	_timersub
	ldrsw	x19, [sp, #16]
Lloh3:
	adrp	x8, _carp_thresh_seconds@GOTPAGE
Lloh4:
	ldr	x8, [x8, _carp_thresh_seconds@GOTPAGEOFF]
Lloh5:
	ldr	w6, [x8]
	cmp	w19, w6
	b.lt	LBB0_8
; %bb.2:
Lloh6:
	adrp	x8, _test_cmd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _test_cmd@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, l_.str@PAGE
Lloh10:
	add	x9, x9, l_.str@PAGEOFF
Lloh11:
	adrp	x10, l_.str.1@PAGE
Lloh12:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x2, x10, x9, eq
Lloh13:
	adrp	x9, l_.str.2@PAGE
Lloh14:
	add	x9, x9, l_.str.2@PAGEOFF
	csel	x3, x9, x8, eq
Lloh15:
	adrp	x8, _do_syslog@GOTPAGE
Lloh16:
	ldr	x8, [x8, _do_syslog@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
Lloh18:
	adrp	x8, _LOG_CRIT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LOG_CRIT@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	x5, [sp, #24]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x4, x19
	bl	_syslog
	b	LBB0_6
LBB0_4:
	mov	x19, #0
	b	LBB0_8
LBB0_5:
	ldr	x4, [sp, #24]
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x2
	mov	x2, x3
	mov	x3, x19
	mov	x5, x6
	bl	_warnx
LBB0_6:
	add	x0, sp, #8
	bl	_watchdog_getuptime
	cbnz	x0, LBB0_8
; %bb.7:
	add	x0, sp, #32
	add	x1, sp, #8
	bl	_TIMESPEC_TO_TIMEVAL
	add	x0, sp, #32
	sub	x1, x29, #32
	add	x2, sp, #16
	bl	_timersub
	ldrsw	x19, [sp, #16]
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_do_timedog,4,2                 ; @do_timedog
	.comm	_carp_thresh_seconds,4,2        ; @carp_thresh_seconds
	.comm	_test_cmd,8,3                   ; @test_cmd
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Watchdog program"

l_.str.1:                               ; @.str.1
	.asciz	"Watchdog operation"

l_.str.2:                               ; @.str.2
	.asciz	"stat(\"/etc\", &sb)"

	.comm	_do_syslog,8,3                  ; @do_syslog
	.comm	_LOG_CRIT,4,2                   ; @LOG_CRIT
l_.str.3:                               ; @.str.3
	.asciz	"%s: '%s' took too long: %d.%06ld seconds >= %d seconds threshold"

	.no_dead_strip	_watchdog_check_dogfunction_time
.subsections_via_symbols
