	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function TtcWorkerThread
LCPI0_0:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_TtcWorkerThread
	.p2align	4, 0x90
_TtcWorkerThread:                       ## @TtcWorkerThread
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$248, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	leaq	(,%rax,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -264(%rbp)                ## 8-byte Spill
	testq	%r15, %r15
	je	LBB0_35
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_35
## %bb.2:
	movq	16(%rbx), %r12
	leaq	-272(%rbp), %rdi
	movq	%rbx, -208(%rbp)                ## 8-byte Spill
	leaq	-248(%rbp), %r14
	movq	%r14, %rsi
	callq	_TtGenerateRandomData
	leaq	-256(%rbp), %rdi
	movq	%r14, %rsi
	movq	-208(%rbp), %rbx                ## 8-byte Reload
	callq	_TtGenerateRandomData
	movq	%r15, %rdi
	movq	%r12, %r15
	callq	_NoticeThreadInit
	movl	12(%rbx), %edi
	movq	_INFINITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_Wait
	movq	-224(%rbp), %rax                ## 8-byte Reload
	shll	$2, %eax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -240(%rbp)                ## 8-byte Spill
	movl	$0, -212(%rbp)                  ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	movq	%r12, -232(%rbp)                ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_78:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-208(%rbp), %rbx                ## 8-byte Reload
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
                                        ##     Child Loop BB0_25 Depth 2
                                        ##       Child Loop BB0_40 Depth 3
	testl	%r13d, %r13d
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rbx), %edi
	movl	$50, %esi
	callq	_WaitSockEvent
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%r15)
	movl	-212(%rbp), %r12d               ## 4-byte Reload
	jne	LBB0_34
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 40(%r15)
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %r14
	xorl	%eax, %eax
	callq	_Tick64
	cmpq	%rax, %r14
	jle	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r15), %rax
	testq	%rax, %rax
	je	LBB0_23
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%rax)
	je	LBB0_23
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%r12d, %r12d
	je	LBB0_12
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	testl	%r12d, %r12d
	movl	$1, %r12d
	je	LBB0_12
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -240(%rbp)                  ## 8-byte Folded Reload
	jne	LBB0_27
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 40(%r15)
	je	LBB0_13
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	84(%r15), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 84(%r15)
	testl	%eax, %eax
	jne	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	48(%r15), %r14d
	movl	52(%r15), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__UU
	movl	%ebx, %edi
	movl	%r14d, %esi
	movq	-208(%rbp), %rbx                ## 8-byte Reload
	movq	%rax, %rdx
	jmp	LBB0_19
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r15), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%rax)
	jne	LBB0_15
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	80(%r15), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 80(%r15)
	testl	%eax, %eax
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	__UU
	xorps	%xmm0, %xmm0
	cvtsi2sdq	64(%r15), %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	movq	-264(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	-224(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rax, %rdx
	callq	_UniFormat
	movl	48(%r15), %esi
	movl	52(%r15), %edi
	movq	%r14, %rdx
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	callq	_TtPrint
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 16(%r15)
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_Tick64
	subq	24(%r15), %rax
	movq	%rax, 16(%r15)
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_Tick64
	addq	$60000, %rax                    ## imm = 0xEA60
	movq	%rax, -240(%rbp)                ## 8-byte Spill
	movl	$1, %r12d
	cmpq	$0, -240(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_24
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rbx), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_33
## %bb.28:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %r15
	movl	$1, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_29 Depth=2
	incq	%rbx
	movq	-208(%rbp), %r15                ## 8-byte Reload
	movl	4(%r15), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jge	LBB0_32
LBB0_29:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%r15), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	cmpl	$0, (%rax)
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=2
	movl	4(%rax), %eax
	testl	%eax, %eax
	cmovel	%eax, %r14d
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_3 Depth=1
	testl	%r14d, %r14d
	movq	%r15, %rbx
	movq	-232(%rbp), %r14                ## 8-byte Reload
	jne	LBB0_33
## %bb.37:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_Tick64
	cmpq	%rax, -240(%rbp)                ## 8-byte Folded Reload
	jle	LBB0_38
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, -212(%rbp)               ## 4-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_40 Depth 3
	movl	4(%rbx), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_26
## %bb.39:                              ##   in Loop: Header=BB0_25 Depth=2
	movl	$1, -196(%rbp)                  ## 4-byte Folded Spill
	movl	%r13d, %ecx
	xorl	%r12d, %r12d
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_58:                                ##   in Loop: Header=BB0_40 Depth=3
	movl	-216(%rbp), %r13d               ## 4-byte Reload
LBB0_72:                                ##   in Loop: Header=BB0_40 Depth=3
	incq	%r12
	movq	-208(%rbp), %rbx                ## 8-byte Reload
	movl	4(%rbx), %edi
	callq	_LIST_NUM
	movl	%r13d, %ecx
	cmpq	%rax, %r12
	jge	LBB0_73
LBB0_40:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_25 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%ecx, -216(%rbp)                ## 4-byte Spill
	movq	_SOCK_LATER@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	4(%rbx), %edi
	movq	%r12, %rsi
	callq	_LIST_DATA
	movq	%rax, %r14
	movl	8(%rax), %eax
	cmpq	$0, -240(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_59
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=3
	leal	-3(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_59
## %bb.42:                              ##   in Loop: Header=BB0_40 Depth=3
	cmpl	$0, (%r14)
	je	LBB0_43
LBB0_67:                                ##   in Loop: Header=BB0_40 Depth=3
	movl	$4, 8(%r14)
LBB0_68:                                ##   in Loop: Header=BB0_40 Depth=3
	movl	44(%r14), %edi
	movq	-256(%rbp), %rsi
	movq	-248(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_Recv
	movq	_SOCK_LATER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	cmoveq	%rcx, %r15
LBB0_69:                                ##   in Loop: Header=BB0_40 Depth=3
	testq	%r15, %r15
	je	LBB0_70
LBB0_55:                                ##   in Loop: Header=BB0_40 Depth=3
	xorl	%r13d, %r13d
	movq	_SOCK_LATER@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_72
## %bb.56:                              ##   in Loop: Header=BB0_40 Depth=3
	movl	$0, -196(%rbp)                  ## 4-byte Folded Spill
	cmpl	$0, (%r14)
	je	LBB0_58
## %bb.57:                              ##   in Loop: Header=BB0_40 Depth=3
	addl	%r15d, 40(%r14)
	jmp	LBB0_58
	.p2align	4, 0x90
LBB0_59:                                ##   in Loop: Header=BB0_40 Depth=3
	cmpl	$4, %eax
	ja	LBB0_69
## %bb.60:                              ##   in Loop: Header=BB0_40 Depth=3
	movl	%eax, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_61:                                ##   in Loop: Header=BB0_40 Depth=3
	xorl	%eax, %eax
	cmpl	$0, (%r14)
	setne	%al
	movq	%rax, -192(%rbp)
	movq	-232(%rbp), %rbx                ## 8-byte Reload
	movq	72(%rbx), %rsi
	leaq	-184(%rbp), %rdi
	callq	_WRITE_UINT64
	movq	64(%rbx), %rsi
	leaq	-120(%rbp), %rdi
	callq	_WRITE_UINT64
	movl	44(%r14), %edi
	leaq	-192(%rbp), %rsi
	movl	$17, %edx
	xorl	%ecx, %ecx
	callq	_Send
	testq	%rax, %rax
	je	LBB0_70
## %bb.62:                              ##   in Loop: Header=BB0_40 Depth=3
	movq	%rax, %r15
	movq	_SOCK_LATER@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_55
## %bb.63:                              ##   in Loop: Header=BB0_40 Depth=3
	cmpl	$1, (%r14)
	movl	$0, %eax
	adcl	$1, %eax
	jmp	LBB0_54
LBB0_43:                                ##   in Loop: Header=BB0_40 Depth=3
	testl	%eax, %eax
	je	LBB0_66
## %bb.44:                              ##   in Loop: Header=BB0_40 Depth=3
	movl	$3, 8(%r14)
LBB0_45:                                ##   in Loop: Header=BB0_40 Depth=3
	cmpq	$0, 16(%r14)
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_40 Depth=3
	xorl	%eax, %eax
	callq	_Tick64
	cmpq	16(%r14), %rax
	jl	LBB0_50
LBB0_47:                                ##   in Loop: Header=BB0_40 Depth=3
	movq	%rsp, -280(%rbp)                ## 8-byte Spill
	movq	_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	(,%r15,8), %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	xorl	%eax, %eax
	callq	_Tick64
	addq	$200, %rax
	movq	%rax, 16(%r14)
	testq	%r15, %r15
	je	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_40 Depth=3
	cmpq	$2, %rbx
	movl	$1, %edx
	cmovaeq	%rbx, %rdx
	shlq	$3, %rdx
	movq	%r13, %rdi
	leaq	L_.memset_pattern(%rip), %rsi
	callq	_memset_pattern16
LBB0_49:                                ##   in Loop: Header=BB0_40 Depth=3
	movl	44(%r14), %edi
	movq	%r13, %rsi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_Send
	movq	-280(%rbp), %rsp                ## 8-byte Reload
LBB0_50:                                ##   in Loop: Header=BB0_40 Depth=3
	movl	44(%r14), %edi
	movl	$8, %edx
	leaq	-288(%rbp), %rsi
	xorl	%ecx, %ecx
	callq	_Recv
	testq	%rax, %rax
	je	LBB0_70
## %bb.51:                              ##   in Loop: Header=BB0_40 Depth=3
	movq	%rax, %r15
	cmpq	$8, %rax
	jne	LBB0_55
## %bb.52:                              ##   in Loop: Header=BB0_40 Depth=3
	movq	_SOCK_LATER@GOTPCREL(%rip), %rax
	cmpq	$8, (%rax)
	je	LBB0_55
## %bb.53:                              ##   in Loop: Header=BB0_40 Depth=3
	movq	-288(%rbp), %rdi
	callq	_Endian64
	movl	%eax, 40(%r14)
	movl	$1, 4(%r14)
	movl	$8, %r15d
	movl	$4, %eax
LBB0_54:                                ##   in Loop: Header=BB0_40 Depth=3
	movl	%eax, 8(%r14)
	jmp	LBB0_55
	.p2align	4, 0x90
LBB0_70:                                ##   in Loop: Header=BB0_40 Depth=3
	movq	-232(%rbp), %rbx                ## 8-byte Reload
	movl	$1, (%rbx)
	movq	_ERR_PROTOCOL_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%rbx)
	xorl	%r13d, %r13d
	cmpl	$0, 24(%r14)
	jne	LBB0_72
## %bb.71:                              ##   in Loop: Header=BB0_40 Depth=3
	leaq	L_.str.2(%rip), %rdi
	callq	__UU
	movsd	32(%r14), %xmm0                 ## xmm0 = mem[0],zero
	movq	-264(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movq	-224(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rax, %rdx
	callq	_UniFormat
	movl	48(%rbx), %esi
	movl	52(%rbx), %edi
	movq	%r15, %rdx
	callq	_TtPrint
	movl	$1, 24(%r14)
	jmp	LBB0_72
LBB0_65:                                ##   in Loop: Header=BB0_40 Depth=3
	movl	44(%r14), %edi
	movq	-272(%rbp), %rsi
	movl	-248(%rbp), %edx
	xorl	%ecx, %ecx
	callq	_Send
	movq	%rax, %r15
	jmp	LBB0_69
LBB0_64:                                ##   in Loop: Header=BB0_40 Depth=3
	movl	44(%r14), %edi
	movq	-256(%rbp), %rsi
	movq	-248(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_Recv
	movq	%rax, %r15
	jmp	LBB0_69
LBB0_66:                                ##   in Loop: Header=BB0_40 Depth=3
	movl	$1, 4(%r14)
	jmp	LBB0_67
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_25 Depth=2
	movl	$1, -196(%rbp)                  ## 4-byte Folded Spill
LBB0_73:                                ##   in Loop: Header=BB0_25 Depth=2
	movq	-232(%rbp), %r15                ## 8-byte Reload
	cmpq	$0, 40(%r15)
	movl	-196(%rbp), %ebx                ## 4-byte Reload
	je	LBB0_74
LBB0_76:                                ##   in Loop: Header=BB0_25 Depth=2
	movl	$1, %ebx
	movl	$1, %r13d
LBB0_77:                                ##   in Loop: Header=BB0_25 Depth=2
	movq	8(%r15), %r14
	xorl	%eax, %eax
	callq	_Tick64
	cmpq	%rax, %r14
	movl	$1, %eax
	cmovlel	%eax, %r13d
	jle	LBB0_78
## %bb.79:                              ##   in Loop: Header=BB0_25 Depth=2
	testl	%ebx, %ebx
	movq	-208(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_25
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_74:                                ##   in Loop: Header=BB0_25 Depth=2
	movq	32(%r15), %rax
	testq	%rax, %rax
	je	LBB0_77
## %bb.75:                              ##   in Loop: Header=BB0_25 Depth=2
	cmpq	$0, (%rax)
	jne	LBB0_76
	jmp	LBB0_77
LBB0_33:
	movl	$1, (%rbx)
	jmp	LBB0_34
LBB0_38:
	movl	$1, (%r14)
	movq	_ERR_PROTOCOL_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r14)
LBB0_34:
	movq	-272(%rbp), %rdi
	callq	_Free
	movq	-256(%rbp), %rdi
	callq	_Free
LBB0_35:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_36
## %bb.80:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_61, LBB0_61-LJTI0_0
.set L0_0_set_64, LBB0_64-LJTI0_0
.set L0_0_set_65, LBB0_65-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_68, LBB0_68-LJTI0_0
LJTI0_0:
	.long	L0_0_set_61
	.long	L0_0_set_64
	.long	L0_0_set_65
	.long	L0_0_set_45
	.long	L0_0_set_68
	.end_data_region
                                        ## -- End function
	.comm	_MAX_SIZE,4,2                   ## @MAX_SIZE
	.comm	_INFINITE,4,2                   ## @INFINITE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TTC_COMM_USER_CANCEL"

L_.str.1:                               ## @.str.1
	.asciz	"TTC_COMM_END"

	.comm	_ERR_PROTOCOL_ERROR,8,3         ## @ERR_PROTOCOL_ERROR
	.comm	_SOCK_LATER,8,3                 ## @SOCK_LATER
L_.str.2:                               ## @.str.2
	.asciz	"TTC_COMM_DISCONNECTED"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.quad	33                              ## 0x21
	.quad	33                              ## 0x21

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TtcWorkerThread                ; -- Begin function TtcWorkerThread
	.p2align	2
_TtcWorkerThread:                       ; @TtcWorkerThread
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #240
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _MAX_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	lsl	x8, x22, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x8, x9, x8
	sub	x9, x29, #32
	stur	x8, [x9, #-256]                 ; 8-byte Folded Spill
	mov	sp, x8
	cbz	x0, LBB0_78
; %bb.1:
	cbz	x19, LBB0_78
; %bb.2:
	ldr	x24, [x19, #16]
	sub	x0, x29, #240
	sub	x1, x29, #256
	bl	_TtGenerateRandomData
	sub	x0, x29, #248
	sub	x1, x29, #256
	bl	_TtGenerateRandomData
	mov	x0, x21
	bl	_NoticeThreadInit
	ldr	w0, [x19, #12]
Lloh8:
	adrp	x8, _INFINITE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INFINITE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_Wait
	mov	x20, #0
	sub	x8, x29, #60
	stur	wzr, [x8, #-256]                ; 4-byte Folded Spill
	mov	w26, #0
	lsl	w8, w22, #2
	sub	x9, x29, #36
	stur	w8, [x9, #-256]                 ; 4-byte Folded Spill
	sub	x8, x29, #232
	add	x9, x8, #8
	sub	x10, x29, #48
	stur	x9, [x10, #-256]                ; 8-byte Folded Spill
Lloh11:
	adrp	x22, _SOCK_LATER@GOTPAGE
Lloh12:
	ldr	x22, [x22, _SOCK_LATER@GOTPAGEOFF]
	add	x8, x8, #72
	sub	x9, x29, #56
	stur	x8, [x9, #-256]                 ; 8-byte Folded Spill
Lloh13:
	adrp	x25, lJTI0_0@PAGE
Lloh14:
	add	x25, x25, lJTI0_0@PAGEOFF
	mov	w21, #1
Lloh15:
	adrp	x23, _ERR_PROTOCOL_ERROR@GOTPAGE
Lloh16:
	ldr	x23, [x23, _ERR_PROTOCOL_ERROR@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_27 Depth 2
                                        ;     Child Loop BB0_32 Depth 2
                                        ;       Child Loop BB0_36 Depth 3
	cbnz	w26, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #8]
	mov	w1, #50
	bl	_WaitSockEvent
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	cbnz	w8, LBB0_77
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, #40]
	cbnz	x8, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x20
	ldr	x20, [x24, #8]
	bl	_Tick64
	cmp	x20, x0
	mov	x20, x26
	b.le	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, #32]
	cbz	x8, LBB0_23
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8]
	cmp	x8, #0
	sub	x8, x29, #60
	ldur	w8, [x8, #-256]                 ; 4-byte Folded Reload
	ccmp	w8, #0, #0, ne
	b.eq	LBB0_11
	b	LBB0_23
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x29, #60
	ldur	w8, [x8, #-256]                 ; 4-byte Folded Reload
	cbnz	w8, LBB0_22
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, #40]
	cbz	x8, LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24, #84]
	add	w9, w8, #1
	str	w9, [x24, #84]
	cbnz	w8, LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	ldp	w26, w25, [x24, #48]
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	__UU
	mov	x2, x0
	mov	x0, x25
Lloh19:
	adrp	x25, lJTI0_0@PAGE
Lloh20:
	add	x25, x25, lJTI0_0@PAGEOFF
	mov	x1, x26
	b	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, #32]
	cbz	x8, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8]
	cbnz	x8, LBB0_12
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24, #80]
	add	w9, w8, #1
	str	w9, [x24, #80]
	cbnz	w8, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__UU
	mov	x2, x0
	ldr	d0, [x24, #64]
	scvtf	d0, d0
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	sub	x8, x29, #32
	ldur	x20, [x8, #-256]                ; 8-byte Folded Reload
	mov	x0, x20
	sub	x8, x29, #36
	ldur	w1, [x8, #-256]                 ; 4-byte Folded Reload
	bl	_UniFormat
	ldp	w1, w0, [x24, #48]
	mov	x2, x20
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_TtPrint
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, #16]
	cbnz	x8, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_Tick64
	ldr	x8, [x24, #24]
	sub	x8, x0, x8
	str	x8, [x24, #16]
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_Tick64
	mov	w8, #60000
	add	x20, x0, x8
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #1
	sub	x9, x29, #60
	stur	w8, [x9, #-256]                 ; 4-byte Folded Spill
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x29, #24
	stur	x20, [x8, #-256]                ; 8-byte Folded Spill
	cbz	x20, LBB0_31
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #4]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_75
; %bb.25:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
	mov	w20, #1
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=2
	add	x26, x26, #1
	ldr	w0, [x19, #4]
	bl	_LIST_NUM
	cmp	x26, x0
	b.ge	LBB0_29
LBB0_27:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x19, #4]
	mov	x1, x26
	bl	_LIST_DATA
	ldr	w8, [x0]
	cbnz	w8, LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=2
	ldr	w8, [x0, #4]
	cmp	w8, #0
	csel	w20, wzr, w20, eq
	b	LBB0_26
LBB0_29:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w20, LBB0_75
; %bb.30:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_Tick64
	sub	x8, x29, #24
	ldur	x20, [x8, #-256]                ; 8-byte Folded Reload
	cmp	x20, x0
	b.le	LBB0_76
LBB0_31:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w26, #0
LBB0_32:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_36 Depth 3
	sub	x8, x29, #12
	stur	w26, [x8, #-256]                ; 4-byte Folded Spill
	ldr	w0, [x19, #4]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_68
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=2
	mov	x28, #0
	mov	w8, #1
	sub	x9, x29, #16
	stur	w8, [x9, #-256]                 ; 4-byte Folded Spill
	b	LBB0_36
LBB0_34:                                ;   in Loop: Header=BB0_36 Depth=3
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__UU
	mov	x2, x0
	ldr	d0, [x26, #32]
	sub	x8, x29, #32
	ldur	x20, [x8, #-256]                ; 8-byte Folded Reload
	mov	x0, x20
	sub	x8, x29, #36
	ldur	w1, [x8, #-256]                 ; 4-byte Folded Reload
	bl	_UniFormat
	ldp	w1, w0, [x24, #48]
	mov	x2, x20
	sub	x8, x29, #24
	ldur	x20, [x8, #-256]                ; 8-byte Folded Reload
	bl	_TtPrint
	sub	x8, x29, #12
	stur	wzr, [x8, #-256]                ; 4-byte Folded Spill
	str	w21, [x26, #24]
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=3
	add	x28, x28, #1
	ldr	w0, [x19, #4]
	bl	_LIST_NUM
	cmp	x28, x0
	b.ge	LBB0_69
LBB0_36:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_32 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x27, [x22]
	ldr	w0, [x19, #4]
	mov	x1, x28
	bl	_LIST_DATA
	mov	x26, x0
	ldr	w8, [x0, #8]
	cbz	x20, LBB0_45
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=3
	sub	w9, w8, #3
	cmp	w9, #2
	b.lo	LBB0_45
; %bb.38:                               ;   in Loop: Header=BB0_36 Depth=3
	ldr	w9, [x26]
	cbz	w9, LBB0_50
LBB0_39:                                ;   in Loop: Header=BB0_36 Depth=3
	mov	w8, #4
	str	w8, [x26, #8]
LBB0_40:                                ;   in Loop: Header=BB0_36 Depth=3
	ldr	w0, [x26, #44]
	ldp	x2, x1, [x29, #-256]
	mov	w3, #0
	bl	_Recv
	ldr	x8, [x22]
	cmp	x0, x8
	csel	x27, x8, x27, eq
LBB0_41:                                ;   in Loop: Header=BB0_36 Depth=3
	cbz	x27, LBB0_61
LBB0_42:                                ;   in Loop: Header=BB0_36 Depth=3
	ldr	x8, [x22]
	cmp	x27, x8
	b.eq	LBB0_62
; %bb.43:                               ;   in Loop: Header=BB0_36 Depth=3
	ldr	w8, [x26]
	cbz	w8, LBB0_64
; %bb.44:                               ;   in Loop: Header=BB0_36 Depth=3
	sub	x8, x29, #16
	stur	wzr, [x8, #-256]                ; 4-byte Folded Spill
	ldr	w8, [x26, #40]
	add	w8, w8, w27
	str	w8, [x26, #40]
	b	LBB0_35
LBB0_45:                                ;   in Loop: Header=BB0_36 Depth=3
	cmp	w8, #4
	b.hi	LBB0_41
; %bb.46:                               ;   in Loop: Header=BB0_36 Depth=3
	adr	x9, LBB0_40
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_47:                                ;   in Loop: Header=BB0_36 Depth=3
	ldr	w8, [x26]
	cmp	w8, #0
	cset	w8, ne
	stur	x8, [x29, #-232]
	ldr	x1, [x24, #72]
	sub	x8, x29, #48
	ldur	x0, [x8, #-256]                 ; 8-byte Folded Reload
	bl	_WRITE_UINT64
	ldr	x1, [x24, #64]
	sub	x8, x29, #56
	ldur	x0, [x8, #-256]                 ; 8-byte Folded Reload
	bl	_WRITE_UINT64
	ldr	w0, [x26, #44]
	sub	x1, x29, #232
	mov	w2, #17
	mov	w3, #0
	bl	_Send
	cbz	x0, LBB0_61
; %bb.48:                               ;   in Loop: Header=BB0_36 Depth=3
	mov	x27, x0
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_42
; %bb.49:                               ;   in Loop: Header=BB0_36 Depth=3
	ldr	w8, [x26]
	cmp	w8, #0
	cinc	w8, w21, eq
	b	LBB0_60
LBB0_50:                                ;   in Loop: Header=BB0_36 Depth=3
	cbz	w8, LBB0_67
; %bb.51:                               ;   in Loop: Header=BB0_36 Depth=3
	mov	w8, #3
	str	w8, [x26, #8]
LBB0_52:                                ;   in Loop: Header=BB0_36 Depth=3
	ldr	x8, [x26, #16]
	cbz	x8, LBB0_54
; %bb.53:                               ;   in Loop: Header=BB0_36 Depth=3
	bl	_Tick64
	ldr	x8, [x26, #16]
	cmp	x0, x8
	b.lt	LBB0_57
LBB0_54:                                ;   in Loop: Header=BB0_36 Depth=3
	mov	x20, x24
	mov	x24, x22
	mov	x22, x23
	mov	x23, sp
Lloh25:
	adrp	x8, _MAX_SIZE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MAX_SIZE@GOTPAGEOFF]
Lloh27:
	ldr	w21, [x8]
	lsl	x27, x21, #3
	mov	x9, x27
Lloh28:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh29:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x27, #15
	and	x9, x9, #0xffffffff0
	sub	x25, x8, x9
	mov	sp, x25
	bl	_Tick64
	add	x8, x0, #200
	str	x8, [x26, #16]
	cbz	w21, LBB0_56
; %bb.55:                               ;   in Loop: Header=BB0_36 Depth=3
	cmp	x27, #1
	csinc	x8, x27, xzr, hi
	lsl	x2, x8, #3
	mov	x0, x25
Lloh30:
	adrp	x1, l_.memset_pattern@PAGE
Lloh31:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	bl	_memset_pattern16
LBB0_56:                                ;   in Loop: Header=BB0_36 Depth=3
	ldr	w0, [x26, #44]
	mov	x1, x25
	mov	x2, x27
	mov	w3, #0
	bl	_Send
	mov	sp, x23
	mov	x23, x22
	mov	x22, x24
	mov	x24, x20
Lloh32:
	adrp	x25, lJTI0_0@PAGE
Lloh33:
	add	x25, x25, lJTI0_0@PAGEOFF
	mov	w21, #1
	sub	x8, x29, #24
	ldur	x20, [x8, #-256]                ; 8-byte Folded Reload
LBB0_57:                                ;   in Loop: Header=BB0_36 Depth=3
	ldr	w0, [x26, #44]
	sub	x1, x29, #264
	mov	w2, #8
	mov	w3, #0
	bl	_Recv
	cbz	x0, LBB0_61
; %bb.58:                               ;   in Loop: Header=BB0_36 Depth=3
	mov	x27, x0
	ldr	x8, [x22]
	cmp	x0, #8
	ccmp	x8, #8, #4, eq
	b.eq	LBB0_42
; %bb.59:                               ;   in Loop: Header=BB0_36 Depth=3
	sub	x8, x29, #8
	ldur	x0, [x8, #-256]
	bl	_Endian64
	str	w0, [x26, #40]
	str	w21, [x26, #4]
	mov	w8, #4
	mov	w27, #8
LBB0_60:                                ;   in Loop: Header=BB0_36 Depth=3
	str	w8, [x26, #8]
	b	LBB0_42
LBB0_61:                                ;   in Loop: Header=BB0_36 Depth=3
	str	w21, [x24]
	ldr	x8, [x23]
	str	x8, [x24, #56]
	ldr	w8, [x26, #24]
	cbz	w8, LBB0_34
LBB0_62:                                ;   in Loop: Header=BB0_36 Depth=3
	sub	x8, x29, #12
LBB0_63:                                ;   in Loop: Header=BB0_36 Depth=3
	stur	wzr, [x8, #-256]                ; 8-byte Folded Spill
	b	LBB0_35
LBB0_64:                                ;   in Loop: Header=BB0_36 Depth=3
	sub	x8, x29, #16
	b	LBB0_63
LBB0_65:                                ;   in Loop: Header=BB0_36 Depth=3
	ldr	w0, [x26, #44]
	ldur	x1, [x29, #-240]
	ldur	w2, [x29, #-256]
	mov	w3, #0
	bl	_Send
	mov	x27, x0
	b	LBB0_41
LBB0_66:                                ;   in Loop: Header=BB0_36 Depth=3
	ldr	w0, [x26, #44]
	ldp	x2, x1, [x29, #-256]
	mov	w3, #0
	bl	_Recv
	mov	x27, x0
	b	LBB0_41
LBB0_67:                                ;   in Loop: Header=BB0_36 Depth=3
	str	w21, [x26, #4]
	b	LBB0_39
LBB0_68:                                ;   in Loop: Header=BB0_32 Depth=2
	mov	w8, #1
	sub	x9, x29, #16
	stur	w8, [x9, #-256]                 ; 4-byte Folded Spill
LBB0_69:                                ;   in Loop: Header=BB0_32 Depth=2
	ldr	x8, [x24, #40]
	sub	x9, x29, #12
	ldur	w26, [x9, #-256]                ; 4-byte Folded Reload
	sub	x9, x29, #16
	ldur	w27, [x9, #-256]                ; 4-byte Folded Reload
	cbz	x8, LBB0_73
LBB0_70:                                ;   in Loop: Header=BB0_32 Depth=2
	mov	w27, #1
	mov	w26, #1
LBB0_71:                                ;   in Loop: Header=BB0_32 Depth=2
	ldr	x21, [x24, #8]
	bl	_Tick64
	cmp	x21, x0
	csinc	w26, w26, wzr, gt
	mov	w21, #1
	b.le	LBB0_3
; %bb.72:                               ;   in Loop: Header=BB0_32 Depth=2
	cbz	w27, LBB0_32
	b	LBB0_3
LBB0_73:                                ;   in Loop: Header=BB0_32 Depth=2
	ldr	x8, [x24, #32]
	cbz	x8, LBB0_71
; %bb.74:                               ;   in Loop: Header=BB0_32 Depth=2
	ldr	x8, [x8]
	cbnz	x8, LBB0_70
	b	LBB0_71
LBB0_75:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_77
LBB0_76:
	mov	w8, #1
	str	w8, [x24]
	ldr	x8, [x23]
	str	x8, [x24, #56]
LBB0_77:
	ldur	x0, [x29, #-240]
	bl	_Free
	ldur	x0, [x29, #-248]
	bl	_Free
LBB0_78:
	ldur	x8, [x29, #-96]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_80
; %bb.79:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_80:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_47-LBB0_40)>>2
	.byte	(LBB0_66-LBB0_40)>>2
	.byte	(LBB0_65-LBB0_40)>>2
	.byte	(LBB0_52-LBB0_40)>>2
	.byte	(LBB0_40-LBB0_40)>>2
                                        ; -- End function
	.comm	_MAX_SIZE,4,2                   ; @MAX_SIZE
	.comm	_INFINITE,4,2                   ; @INFINITE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TTC_COMM_USER_CANCEL"

l_.str.1:                               ; @.str.1
	.asciz	"TTC_COMM_END"

	.comm	_ERR_PROTOCOL_ERROR,8,3         ; @ERR_PROTOCOL_ERROR
	.comm	_SOCK_LATER,8,3                 ; @SOCK_LATER
l_.str.2:                               ; @.str.2
	.asciz	"TTC_COMM_DISCONNECTED"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.quad	33                              ; 0x21
	.quad	33                              ; 0x21

.subsections_via_symbols
