	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function watchdog_action_store
_watchdog_action_store:                 ## @watchdog_action_store
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	callq	_to_gb_svc
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_GB_SVC_WATCHDOG_BITE_PANIC_KERNEL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_GB_SVC_WATCHDOG_BITE_RESET_UNIPRO@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_6:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subq	(%rax), %r14
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"panic"

	.comm	_GB_SVC_WATCHDOG_BITE_PANIC_KERNEL,4,2 ## @GB_SVC_WATCHDOG_BITE_PANIC_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"reset"

	.comm	_GB_SVC_WATCHDOG_BITE_RESET_UNIPRO,4,2 ## @GB_SVC_WATCHDOG_BITE_RESET_UNIPRO
	.comm	_EINVAL,8,3                     ## @EINVAL
	.no_dead_strip	_watchdog_action_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function watchdog_action_store
_watchdog_action_store:                 ; @watchdog_action_store
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x21, x2
	bl	_to_gb_svc
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_sysfs_streq
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _GB_SVC_WATCHDOG_BITE_PANIC_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GB_SVC_WATCHDOG_BITE_PANIC_KERNEL@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_sysfs_streq
	cbz	x0, LBB0_6
; %bb.3:
Lloh6:
	adrp	x8, _GB_SVC_WATCHDOG_BITE_RESET_UNIPRO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GB_SVC_WATCHDOG_BITE_RESET_UNIPRO@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	neg	x19, x8
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"panic"

	.comm	_GB_SVC_WATCHDOG_BITE_PANIC_KERNEL,4,2 ; @GB_SVC_WATCHDOG_BITE_PANIC_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"reset"

	.comm	_GB_SVC_WATCHDOG_BITE_RESET_UNIPRO,4,2 ; @GB_SVC_WATCHDOG_BITE_RESET_UNIPRO
	.comm	_EINVAL,8,3                     ; @EINVAL
	.no_dead_strip	_watchdog_action_store
.subsections_via_symbols
