	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cyttsp_set_sysinfo_regs
_cyttsp_set_sysinfo_regs:               ## @cyttsp_set_sysinfo_regs
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	_CY_ACT_INTRVL_DFLT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_CY_TCH_TMOUT_DFLT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	movq	16(%rdi), %rdx
	movq	_CY_LP_INTRVL_DFLT@GOTPCREL(%rip), %rsi
	xorl	%ebx, %ebx
	cmpq	(%rsi), %rdx
	je	LBB0_4
LBB0_3:
	movq	%rax, -48(%rbp)
	movq	%rcx, -40(%rbp)
	movq	16(%rdi), %rax
	movq	%rax, -32(%rbp)
	movq	_CY_REG_ACT_INTRVL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rcx
	movl	$24, %edx
	callq	_ttsp_write_block_data
	movl	%eax, %ebx
	movq	_CY_DELAY_DFLT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msleep
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CY_ACT_INTRVL_DFLT,8,3         ## @CY_ACT_INTRVL_DFLT
	.comm	_CY_TCH_TMOUT_DFLT,8,3          ## @CY_TCH_TMOUT_DFLT
	.comm	_CY_LP_INTRVL_DFLT,8,3          ## @CY_LP_INTRVL_DFLT
	.comm	_CY_REG_ACT_INTRVL,4,2          ## @CY_REG_ACT_INTRVL
	.comm	_CY_DELAY_DFLT,4,2              ## @CY_DELAY_DFLT
	.no_dead_strip	_cyttsp_set_sysinfo_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cyttsp_set_sysinfo_regs
_cyttsp_set_sysinfo_regs:               ; @cyttsp_set_sysinfo_regs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _CY_ACT_INTRVL_DFLT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CY_ACT_INTRVL_DFLT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x8]
	ldp	x9, x8, [x0]
Lloh6:
	adrp	x11, _CY_TCH_TMOUT_DFLT@GOTPAGE
Lloh7:
	ldr	x11, [x11, _CY_TCH_TMOUT_DFLT@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x8, x11, #0, eq
	b.ne	LBB0_3
; %bb.1:
	ldr	x10, [x0, #16]
Lloh9:
	adrp	x11, _CY_LP_INTRVL_DFLT@GOTPAGE
Lloh10:
	ldr	x11, [x11, _CY_LP_INTRVL_DFLT@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_3
; %bb.2:
	mov	w19, #0
	b	LBB0_4
LBB0_3:
	stp	x9, x8, [sp]
	ldr	x8, [x0, #16]
	str	x8, [sp, #16]
Lloh12:
	adrp	x8, _CY_REG_ACT_INTRVL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CY_REG_ACT_INTRVL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x3, sp
	mov	w2, #24
	bl	_ttsp_write_block_data
	mov	x19, x0
Lloh15:
	adrp	x8, _CY_DELAY_DFLT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CY_DELAY_DFLT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_msleep
LBB0_4:
	ldr	x8, [sp, #24]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_CY_ACT_INTRVL_DFLT,8,3         ; @CY_ACT_INTRVL_DFLT
	.comm	_CY_TCH_TMOUT_DFLT,8,3          ; @CY_TCH_TMOUT_DFLT
	.comm	_CY_LP_INTRVL_DFLT,8,3          ; @CY_LP_INTRVL_DFLT
	.comm	_CY_REG_ACT_INTRVL,4,2          ; @CY_REG_ACT_INTRVL
	.comm	_CY_DELAY_DFLT,4,2              ; @CY_DELAY_DFLT
	.no_dead_strip	_cyttsp_set_sysinfo_regs
.subsections_via_symbols
