	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function watchdog_onoff
_watchdog_onoff:                        ## @watchdog_onoff
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_is_dry_run@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	je	LBB0_1
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	testl	%edi, %edi
	je	LBB0_20
## %bb.2:
	movq	_fd@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_WDIOC_SETSOFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_softtimeout_set@GOTPCREL(%rip), %r14
	movq	%r14, %rdx
	callq	_ioctl
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%eax, %ebx
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
	jmp	LBB0_4
LBB0_20:
	movq	_exit_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_watchdog_patpat                ## TAILCALL
LBB0_5:
	movq	_timeout@GOTPCREL(%rip), %r15
	movq	_WD_ACTIVE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	orl	(%r15), %edi
	callq	_watchdog_patpat
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
	jmp	LBB0_7
LBB0_8:
	movq	_softtimeout_act_set@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.9:
	movl	(%r12), %edi
	movq	_WDIOC_SETSOFTTIMEOUTACT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_softtimeout_act@GOTPCREL(%rip), %r14
	movq	%r14, %rdx
	callq	_ioctl
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	movl	%eax, %ebx
	movl	(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_11
LBB0_12:
	movq	_pretimeout_set@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.13:
	movl	(%r12), %edi
	movq	_WDIOC_SETPRETIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_pretimeout@GOTPCREL(%rip), %r14
	movq	%r14, %rdx
	callq	_ioctl
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movl	%eax, %ebx
	movl	(%r14), %esi
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_11
LBB0_15:
	movq	_pretimeout_act_set@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.16:
	movl	(%r12), %edi
	movq	_WDIOC_SETPRETIMEOUTACT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_pretimeout_act@GOTPCREL(%rip), %r14
	movq	%r14, %rdx
	callq	_ioctl
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %ebx
	movl	(%r14), %esi
	leaq	L_.str.4(%rip), %rdi
LBB0_11:
	xorl	%eax, %eax
	callq	_warn
LBB0_7:
	movq	_exit_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_watchdog_patpat
	jmp	LBB0_4
LBB0_18:
	movl	(%r13), %edi
	orl	(%r15), %edi
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_is_dry_run,8,3                 ## @is_dry_run
	.comm	_fd,4,2                         ## @fd
	.comm	_WDIOC_SETSOFT,4,2              ## @WDIOC_SETSOFT
	.comm	_softtimeout_set,4,2            ## @softtimeout_set
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting WDIOC_SETSOFT %d"

	.comm	_timeout,4,2                    ## @timeout
	.comm	_WD_ACTIVE,4,2                  ## @WD_ACTIVE
L_.str.1:                               ## @.str.1
	.asciz	"watchdog_patpat failed"

	.comm	_softtimeout_act_set,8,3        ## @softtimeout_act_set
	.comm	_WDIOC_SETSOFTTIMEOUTACT,4,2    ## @WDIOC_SETSOFTTIMEOUTACT
	.comm	_softtimeout_act,4,2            ## @softtimeout_act
L_.str.2:                               ## @.str.2
	.asciz	"setting WDIOC_SETSOFTTIMEOUTACT %d"

	.comm	_pretimeout_set,8,3             ## @pretimeout_set
	.comm	_WDIOC_SETPRETIMEOUT,4,2        ## @WDIOC_SETPRETIMEOUT
	.comm	_pretimeout,4,2                 ## @pretimeout
L_.str.3:                               ## @.str.3
	.asciz	"setting WDIOC_SETPRETIMEOUT %d"

	.comm	_pretimeout_act_set,8,3         ## @pretimeout_act_set
	.comm	_WDIOC_SETPRETIMEOUTACT,4,2     ## @WDIOC_SETPRETIMEOUTACT
	.comm	_pretimeout_act,4,2             ## @pretimeout_act
L_.str.4:                               ## @.str.4
	.asciz	"setting WDIOC_SETPRETIMEOUTACT %d"

	.comm	_exit_timeout,4,2               ## @exit_timeout
	.no_dead_strip	_watchdog_onoff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function watchdog_onoff
_watchdog_onoff:                        ; @watchdog_onoff
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _is_dry_run@GOTPAGE
Lloh1:
	ldr	x8, [x8, _is_dry_run@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	w19, #0
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_3:
	cbz	w0, LBB0_6
; %bb.4:
Lloh3:
	adrp	x21, _fd@GOTPAGE
Lloh4:
	ldr	x21, [x21, _fd@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh5:
	adrp	x8, _WDIOC_SETSOFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WDIOC_SETSOFT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x20, _softtimeout_set@GOTPAGE
Lloh9:
	ldr	x20, [x20, _softtimeout_set@GOTPAGEOFF]
	mov	x2, x20
	bl	_ioctl
	cbz	w0, LBB0_8
; %bb.5:
	mov	x19, x0
	ldr	w8, [x20]
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	b	LBB0_2
LBB0_6:
Lloh12:
	adrp	x8, _exit_timeout@GOTPAGE
Lloh13:
	ldr	x8, [x8, _exit_timeout@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_watchdog_patpat
LBB0_8:
Lloh15:
	adrp	x22, _timeout@GOTPAGE
Lloh16:
	ldr	x22, [x22, _timeout@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh17:
	adrp	x23, _WD_ACTIVE@GOTPAGE
Lloh18:
	ldr	x23, [x23, _WD_ACTIVE@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w0, w9, w8
	bl	_watchdog_patpat
	cbz	w0, LBB0_11
; %bb.9:
	mov	x19, x0
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_10:
	bl	_warn
Lloh21:
	adrp	x8, _exit_timeout@GOTPAGE
Lloh22:
	ldr	x8, [x8, _exit_timeout@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_watchdog_patpat
	b	LBB0_2
LBB0_11:
Lloh24:
	adrp	x8, _softtimeout_act_set@GOTPAGE
Lloh25:
	ldr	x8, [x8, _softtimeout_act_set@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.12:
	ldr	w0, [x21]
Lloh27:
	adrp	x8, _WDIOC_SETSOFTTIMEOUTACT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WDIOC_SETSOFTTIMEOUTACT@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x20, _softtimeout_act@GOTPAGE
Lloh31:
	ldr	x20, [x20, _softtimeout_act@GOTPAGEOFF]
	mov	x2, x20
	bl	_ioctl
	cbz	w0, LBB0_14
; %bb.13:
	mov	x19, x0
	ldr	w8, [x20]
	str	x8, [sp]
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_14:
Lloh34:
	adrp	x8, _pretimeout_set@GOTPAGE
Lloh35:
	ldr	x8, [x8, _pretimeout_set@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cbz	x8, LBB0_17
; %bb.15:
	ldr	w0, [x21]
Lloh37:
	adrp	x8, _WDIOC_SETPRETIMEOUT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _WDIOC_SETPRETIMEOUT@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x20, _pretimeout@GOTPAGE
Lloh41:
	ldr	x20, [x20, _pretimeout@GOTPAGEOFF]
	mov	x2, x20
	bl	_ioctl
	cbz	w0, LBB0_17
; %bb.16:
	mov	x19, x0
	ldr	w8, [x20]
	str	x8, [sp]
Lloh42:
	adrp	x0, l_.str.3@PAGE
Lloh43:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_17:
Lloh44:
	adrp	x8, _pretimeout_act_set@GOTPAGE
Lloh45:
	ldr	x8, [x8, _pretimeout_act_set@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.18:
	ldr	w0, [x21]
Lloh47:
	adrp	x8, _WDIOC_SETPRETIMEOUTACT@GOTPAGE
Lloh48:
	ldr	x8, [x8, _WDIOC_SETPRETIMEOUTACT@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
Lloh50:
	adrp	x20, _pretimeout_act@GOTPAGE
Lloh51:
	ldr	x20, [x20, _pretimeout_act@GOTPAGEOFF]
	mov	x2, x20
	bl	_ioctl
	cbz	w0, LBB0_20
; %bb.19:
	mov	x19, x0
	ldr	w8, [x20]
	str	x8, [sp]
Lloh52:
	adrp	x0, l_.str.4@PAGE
Lloh53:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_10
LBB0_20:
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w0, w9, w8
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_is_dry_run,8,3                 ; @is_dry_run
	.comm	_fd,4,2                         ; @fd
	.comm	_WDIOC_SETSOFT,4,2              ; @WDIOC_SETSOFT
	.comm	_softtimeout_set,4,2            ; @softtimeout_set
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting WDIOC_SETSOFT %d"

	.comm	_timeout,4,2                    ; @timeout
	.comm	_WD_ACTIVE,4,2                  ; @WD_ACTIVE
l_.str.1:                               ; @.str.1
	.asciz	"watchdog_patpat failed"

	.comm	_softtimeout_act_set,8,3        ; @softtimeout_act_set
	.comm	_WDIOC_SETSOFTTIMEOUTACT,4,2    ; @WDIOC_SETSOFTTIMEOUTACT
	.comm	_softtimeout_act,4,2            ; @softtimeout_act
l_.str.2:                               ; @.str.2
	.asciz	"setting WDIOC_SETSOFTTIMEOUTACT %d"

	.comm	_pretimeout_set,8,3             ; @pretimeout_set
	.comm	_WDIOC_SETPRETIMEOUT,4,2        ; @WDIOC_SETPRETIMEOUT
	.comm	_pretimeout,4,2                 ; @pretimeout
l_.str.3:                               ; @.str.3
	.asciz	"setting WDIOC_SETPRETIMEOUT %d"

	.comm	_pretimeout_act_set,8,3         ; @pretimeout_act_set
	.comm	_WDIOC_SETPRETIMEOUTACT,4,2     ; @WDIOC_SETPRETIMEOUTACT
	.comm	_pretimeout_act,4,2             ; @pretimeout_act
l_.str.4:                               ; @.str.4
	.asciz	"setting WDIOC_SETPRETIMEOUTACT %d"

	.comm	_exit_timeout,4,2               ; @exit_timeout
	.no_dead_strip	_watchdog_onoff
.subsections_via_symbols
