	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_start_watchdog                 ## -- Begin function start_watchdog
	.p2align	4, 0x90
_start_watchdog:                        ## @start_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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	leaq	-24(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_os_pipe
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	-32(%rbp), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_os_pipe
	movl	%eax, %ebx
	movl	%eax, %esi
	negl	%esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movl	-24(%rbp), %edi
	callq	_close
	movl	-20(%rbp), %edi
	callq	_close
	movl	-32(%rbp), %edi
	callq	_close
	movl	-28(%rbp), %edi
	callq	_close
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %ebx
	movl	%eax, %esi
	negl	%esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.3:                               ## @.str.3
	.asciz	"harddog_open - os_pipe failed, err = %d\n"

	.comm	_pre_exec,4,2                   ## @pre_exec
	.comm	_EIO,4,2                        ## @EIO
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_start_watchdog                 ; -- Begin function start_watchdog
	.p2align	2
_start_watchdog:                        ; @start_watchdog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x0, sp, #16
	mov	w1, #1
	mov	w2, #0
	bl	_os_pipe
	tbnz	w0, #31, LBB0_2
; %bb.1:
	add	x0, sp, #8
	mov	w1, #1
	mov	w2, #0
	bl	_os_pipe
	mov	x19, x0
	neg	w8, w0
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str.3@PAGE
Lloh4:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printk
	ldr	w0, [sp, #16]
	bl	_close
	ldr	w0, [sp, #20]
	bl	_close
	ldr	w0, [sp, #8]
	bl	_close
	ldr	w0, [sp, #12]
	bl	_close
	b	LBB0_3
LBB0_2:
	mov	x19, x0
	neg	w8, w0
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str.3@PAGE
Lloh6:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printk
LBB0_3:
	ldr	x8, [sp, #24]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.3:                               ; @.str.3
	.asciz	"harddog_open - os_pipe failed, err = %d\n"

	.comm	_pre_exec,4,2                   ; @pre_exec
	.comm	_EIO,4,2                        ; @EIO
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
