	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fts_watchdog_init
_fts_watchdog_init:                     ## @fts_watchdog_init
	.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	%rdi, %rbx
	movq	%rdi, %rsi
	callq	_watchdog_set_drvdata
	movq	48(%rbx), %rdi
	movq	_FTS_WATCHDOG_TIME_PRESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fts_read_byte
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	je	LBB0_2
## %bb.6:
	movq	48(%rbx), %rdi
	movq	_FTS_WATCHDOG_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fts_read_byte
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movl	$1, %edi
	callq	_BIT
	testl	%r15d, %eax
	jne	LBB0_9
## %bb.10:
	movq	_minutes@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_2:
	movq	_seconds@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_fts_wd_set_resolution
	testl	%eax, %eax
	js	LBB0_3
## %bb.5:
	movl	$60, (%rbx)
	jmp	LBB0_12
LBB0_7:
	movl	%r15d, %r14d
	jmp	LBB0_4
LBB0_9:
	movq	_seconds@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rax
	movq	%rax, 56(%rbx)
	imull	%eax, %r14d
	movl	%r14d, (%rbx)
	movq	_WDOG_HW_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	40(%rbx), %rsi
	callq	_set_bit
LBB0_12:
	movq	_fts_wd_info@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	_fts_wd_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	48(%rbx), %rax
	movq	%rax, 16(%rbx)
	movl	$1, 4(%rbx)
	movq	_MSEC_PER_SEC@GOTPCREL(%rip), %rax
	imull	$15300, (%rax), %eax            ## imm = 0x3BC4
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_watchdog_register_device       ## TAILCALL
LBB0_3:
	movl	%eax, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FTS_WATCHDOG_TIME_PRESET,4,2   ## @FTS_WATCHDOG_TIME_PRESET
	.comm	_seconds,8,3                    ## @seconds
	.comm	_FTS_WATCHDOG_CONTROL,4,2       ## @FTS_WATCHDOG_CONTROL
	.comm	_minutes,8,3                    ## @minutes
	.comm	_WDOG_HW_RUNNING,4,2            ## @WDOG_HW_RUNNING
	.comm	_fts_wd_info,4,2                ## @fts_wd_info
	.comm	_fts_wd_ops,4,2                 ## @fts_wd_ops
	.comm	_MSEC_PER_SEC,4,2               ## @MSEC_PER_SEC
	.no_dead_strip	_fts_watchdog_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fts_watchdog_init
_fts_watchdog_init:                     ; @fts_watchdog_init
	.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, x0
	mov	x1, x0
	bl	_watchdog_set_drvdata
	ldr	x0, [x19, #48]
Lloh0:
	adrp	x8, _FTS_WATCHDOG_TIME_PRESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FTS_WATCHDOG_TIME_PRESET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_fts_read_byte
	mov	x20, x0
	tbnz	w0, #31, LBB0_9
; %bb.1:
	cbz	w20, LBB0_4
; %bb.2:
	ldr	x0, [x19, #48]
Lloh3:
	adrp	x8, _FTS_WATCHDOG_CONTROL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FTS_WATCHDOG_CONTROL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_fts_read_byte
	mov	x21, x0
	tbnz	w0, #31, LBB0_7
; %bb.3:
	mov	w0, #1
	bl	_BIT
Lloh6:
	adrp	x8, _seconds@GOTPAGE
Lloh7:
	ldr	x8, [x8, _seconds@GOTPAGEOFF]
Lloh8:
	adrp	x9, _minutes@GOTPAGE
Lloh9:
	ldr	x9, [x9, _minutes@GOTPAGEOFF]
	tst	w0, w21
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	str	x8, [x19, #56]
	mul	w8, w20, w8
	str	w8, [x19]
Lloh10:
	adrp	x8, _WDOG_HW_RUNNING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WDOG_HW_RUNNING@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	add	x1, x19, #40
	bl	_set_bit
	b	LBB0_6
LBB0_4:
Lloh13:
	adrp	x8, _seconds@GOTPAGE
Lloh14:
	ldr	x8, [x8, _seconds@GOTPAGEOFF]
Lloh15:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_fts_wd_set_resolution
	tbnz	w0, #31, LBB0_8
; %bb.5:
	mov	w8, #60
	str	w8, [x19]
LBB0_6:
Lloh16:
	adrp	x8, _fts_wd_info@GOTPAGE
Lloh17:
	ldr	x8, [x8, _fts_wd_info@GOTPAGEOFF]
	str	x8, [x19, #32]
Lloh18:
	adrp	x8, _fts_wd_ops@GOTPAGE
Lloh19:
	ldr	x8, [x8, _fts_wd_ops@GOTPAGEOFF]
	ldr	x9, [x19, #48]
	stp	x9, x8, [x19, #16]
	mov	w8, #1
Lloh20:
	adrp	x9, _MSEC_PER_SEC@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MSEC_PER_SEC@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	mov	w10, #15300
	mul	w9, w9, w10
	stp	w8, w9, [x19, #4]
	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
	b	_watchdog_register_device
LBB0_7:
	mov	x20, x21
	b	LBB0_9
LBB0_8:
	mov	x20, x0
LBB0_9:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FTS_WATCHDOG_TIME_PRESET,4,2   ; @FTS_WATCHDOG_TIME_PRESET
	.comm	_seconds,8,3                    ; @seconds
	.comm	_FTS_WATCHDOG_CONTROL,4,2       ; @FTS_WATCHDOG_CONTROL
	.comm	_minutes,8,3                    ; @minutes
	.comm	_WDOG_HW_RUNNING,4,2            ; @WDOG_HW_RUNNING
	.comm	_fts_wd_info,4,2                ; @fts_wd_info
	.comm	_fts_wd_ops,4,2                 ; @fts_wd_ops
	.comm	_MSEC_PER_SEC,4,2               ; @MSEC_PER_SEC
	.no_dead_strip	_fts_watchdog_init
.subsections_via_symbols
