	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function watchdog_release
_watchdog_release:                      ## @watchdog_release
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %rbx
	cmpq	$0, 16(%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_watchdog_stop
	movq	$0, 16(%rbx)
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_watchdog_trigger
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_crit
LBB0_3:
	leaq	4(%rbx), %rsi
	xorl	%edi, %edi
	callq	_clear_bit
	movq	_watchdog_data_mutex@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_fschmd_release_resources@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kref_put
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected close, not stopping watchdog!\n"

	.comm	_watchdog_data_mutex,4,2        ## @watchdog_data_mutex
	.comm	_fschmd_release_resources,4,2   ## @fschmd_release_resources
	.no_dead_strip	_watchdog_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function watchdog_release
_watchdog_release:                      ; @watchdog_release
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x1]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_watchdog_stop
	str	xzr, [x19, #16]
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_watchdog_trigger
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_crit
LBB0_3:
	add	x1, x19, #4
	mov	w0, #0
	bl	_clear_bit
Lloh2:
	adrp	x20, _watchdog_data_mutex@GOTPAGE
Lloh3:
	ldr	x20, [x20, _watchdog_data_mutex@GOTPAGEOFF]
	mov	x0, x20
	bl	_mutex_lock
Lloh4:
	adrp	x8, _fschmd_release_resources@GOTPAGE
Lloh5:
	ldr	x8, [x8, _fschmd_release_resources@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kref_put
	mov	x0, x20
	bl	_mutex_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected close, not stopping watchdog!\n"

	.comm	_watchdog_data_mutex,4,2        ; @watchdog_data_mutex
	.comm	_fschmd_release_resources,4,2   ; @fschmd_release_resources
	.no_dead_strip	_watchdog_release
.subsections_via_symbols
