	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_teles0
_reset_teles0:                          ## @reset_teles0
	.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	24(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movl	(%rbx), %eax
	addl	$-2, %eax
	movl	$1, %r14d
	cmpl	$13, %eax
	ja	LBB0_5
## %bb.2:
	movl	$10127, %ecx                    ## imm = 0x278F
	btl	%eax, %ecx
	jae	LBB0_5
## %bb.3:
	cltq
	leaq	l_switch.table.reset_teles0(%rip), %rcx
	movl	8(%rbx), %r14d
	shrl	$9, %r14d
	andl	$240, %r14d
	orl	(%rcx,%rax,4), %r14d
	addq	$4, %rdi
	movl	%r14d, %esi
	callq	_byteout
	movq	_HZ@GOTPCREL(%rip), %r15
	movslq	(%r15), %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	sarq	$34, %rcx
	shrq	$63, %rax
	leal	(%rcx,%rax), %edi
	incl	%edi
	callq	_HZDELAY
	movq	24(%rbx), %rdi
	addq	$4, %rdi
	orl	$1, %r14d
	movl	%r14d, %esi
	callq	_byteout
	movslq	(%r15), %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	sarq	$34, %rcx
	shrq	$63, %rax
	leal	(%rcx,%rax), %edi
	incl	%edi
	callq	_HZDELAY
LBB0_4:
	movq	16(%rbx), %rsi
	subq	$-128, %rsi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_writeb
	xorl	%eax, %eax
	callq	_mb
	movq	_HZ@GOTPCREL(%rip), %r15
	movslq	(%r15), %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	sarq	$33, %rcx
	shrq	$63, %rax
	leal	(%rcx,%rax), %edi
	incl	%edi
	callq	_HZDELAY
	movq	16(%rbx), %rsi
	subq	$-128, %rsi
	movl	$1, %edi
	callq	_writeb
	xorl	%eax, %eax
	callq	_mb
	movslq	(%r15), %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	sarq	$33, %rcx
	shrq	$63, %rax
	leal	(%rcx,%rax), %edi
	incl	%edi
	callq	_HZDELAY
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_reset_teles0
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.reset_teles0
l_switch.table.reset_teles0:
	.long	0                               ## 0x0
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	6                               ## 0x6
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	8                               ## 0x8
	.long	10                              ## 0xa
	.long	12                              ## 0xc
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	14                              ## 0xe

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_teles0
_reset_teles0:                          ; @reset_teles0
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w9, [x19]
	sub	w9, w9, #2
	cmp	w9, #13
	b.hi	LBB0_3
; %bb.2:
	mov	w10, #10127
	lsr	w10, w10, w9
	tbnz	w10, #0, LBB0_4
LBB0_3:
	mov	w0, #1
	b	LBB0_6
LBB0_4:
Lloh0:
	adrp	x10, l_switch.table.reset_teles0@PAGE
Lloh1:
	add	x10, x10, l_switch.table.reset_teles0@PAGEOFF
	ldr	w9, [x10, w9, sxtw #2]
	ldr	w10, [x19, #8]
	lsr	w10, w10, #9
	and	w10, w10, #0xf0
	orr	w20, w10, w9
	add	x0, x8, #4
	mov	x1, x20
	bl	_byteout
Lloh2:
	adrp	x21, _HZ@GOTPAGE
Lloh3:
	ldr	x21, [x21, _HZ@GOTPAGEOFF]
	ldrsw	x8, [x21]
	mov	w22, #26215
	movk	w22, #26214, lsl #16
	mul	x8, x8, x22
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	add	w0, w8, #1
	bl	_HZDELAY
	ldr	x8, [x19, #24]
	add	x0, x8, #4
	orr	w1, w20, #0x1
	bl	_byteout
	ldrsw	x8, [x21]
	mul	x8, x8, x22
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	add	w0, w8, #1
	bl	_HZDELAY
LBB0_5:
	ldr	x8, [x19, #16]
	add	x1, x8, #128
	mov	w0, #0
	bl	_writeb
	bl	_mb
Lloh4:
	adrp	x20, _HZ@GOTPAGE
Lloh5:
	ldr	x20, [x20, _HZ@GOTPAGEOFF]
	ldrsw	x8, [x20]
	mov	w21, #26215
	movk	w21, #26214, lsl #16
	mul	x8, x8, x21
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w8, w8, w9
	add	w0, w8, #1
	bl	_HZDELAY
	ldr	x8, [x19, #16]
	add	x1, x8, #128
	mov	w0, #1
	bl	_writeb
	bl	_mb
	ldrsw	x8, [x20]
	mul	x8, x8, x21
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w8, w8, w9
	add	w0, w8, #1
	bl	_HZDELAY
	mov	w0, #0
LBB0_6:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_reset_teles0
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.reset_teles0
l_switch.table.reset_teles0:
	.long	0                               ; 0x0
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.long	6                               ; 0x6
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	8                               ; 0x8
	.long	10                              ; 0xa
	.long	12                              ; 0xc
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	14                              ; 0xe

.subsections_via_symbols
