	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gb_svc_watchdog_enable         ## -- Begin function gb_svc_watchdog_enable
	.p2align	4, 0x90
_gb_svc_watchdog_enable:                ## @gb_svc_watchdog_enable
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	cmpl	$0, (%rdi)
	jne	LBB0_4
## %bb.3:
	movl	$1, (%rdi)
	addq	$4, %rdi
	movq	_SVC_WATCHDOG_PERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_schedule_delayed_work
	jmp	LBB0_4
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_SVC_WATCHDOG_PERIOD,4,2        ## @SVC_WATCHDOG_PERIOD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gb_svc_watchdog_enable         ; -- Begin function gb_svc_watchdog_enable
	.p2align	2
_gb_svc_watchdog_enable:                ; @gb_svc_watchdog_enable
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x0, [x0]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x0]
	cbnz	w8, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x0], #4
Lloh0:
	adrp	x8, _SVC_WATCHDOG_PERIOD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVC_WATCHDOG_PERIOD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_schedule_delayed_work
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_SVC_WATCHDOG_PERIOD,4,2        ; @SVC_WATCHDOG_PERIOD
.subsections_via_symbols
