	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NewTtcEx                       ## -- Begin function NewTtcEx
	.p2align	4, 0x90
_NewTtcEx:                              ## @NewTtcEx
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$96, %edi
	callq	_ZeroMalloc
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_NewEvent
	movl	%eax, 88(%rbx)
	movq	%r14, 80(%rbx)
	movl	76(%rbx), %edi
	movl	$4, %esi
	movq	%r15, %rdx
	callq	_StrCpy
	movl	%r13d, (%rbx)
	movq	%r12, 8(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 72(%rbx)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%rbx)
	movl	16(%rbp), %eax
	movl	%eax, 20(%rbx)
	movq	40(%rbp), %rax
	movq	%rax, 64(%rbx)
	movq	48(%rbp), %rax
	movq	%rax, 24(%rbx)
	cmpl	$1, %r13d
	jg	LBB0_3
## %bb.1:
	movq	_TRAFFIC_TYPE_FULL@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_3
## %bb.2:
	movl	$2, (%rbx)
LBB0_3:
	movq	24(%rbp), %r14
	movq	%r14, 40(%rbx)
	movq	32(%rbp), %r15
	movq	%r15, 48(%rbx)
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	leaq	L_.str(%rip), %rdi
	callq	__UU
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_TtPrint
	movq	_TtcThread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_NewThread
	movl	%eax, 32(%rbx)
	movl	%eax, %edi
	callq	_WaitThreadInit
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRAFFIC_TYPE_FULL,8,3          ## @TRAFFIC_TYPE_FULL
	.comm	_ERR_NO_ERROR,4,2               ## @ERR_NO_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TTC_INIT"

	.comm	_TtcThread,4,2                  ## @TtcThread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NewTtcEx                       ; -- Begin function NewTtcEx
	.p2align	2
_NewTtcEx:                              ; @NewTtcEx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	x7, [sp, #8]                    ; 8-byte Folded Spill
	str	w6, [sp, #4]                    ; 4-byte Folded Spill
	mov	x24, x5
	mov	x25, x4
	mov	x22, x3
	mov	x26, x2
	mov	x27, x1
	mov	x28, x0
	ldp	x20, x23, [x29, #24]
	ldr	x21, [x29, #16]
	mov	w0, #96
	bl	_ZeroMalloc
	mov	x19, x0
	bl	_NewEvent
	str	w0, [x19, #88]
	str	x27, [x19, #80]
	ldr	w0, [x19, #76]
	mov	w1, #4
	mov	x2, x28
	bl	_StrCpy
	str	w26, [x19]
	str	x22, [x19, #8]
	str	w25, [x19, #72]
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	stp	w24, w8, [x19, #16]
	str	x20, [x19, #64]
	str	x23, [x19, #24]
	cmp	w26, #1
	b.gt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _TRAFFIC_TYPE_FULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRAFFIC_TYPE_FULL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_3
; %bb.2:
	mov	w8, #2
	str	w8, [x19]
LBB0_3:
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	stp	x20, x21, [x19, #40]
Lloh3:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #56]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__UU
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_TtPrint
Lloh8:
	adrp	x8, _TtcThread@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TtcThread@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_NewThread
	str	w0, [x19, #32]
	bl	_WaitThreadInit
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TRAFFIC_TYPE_FULL,8,3          ; @TRAFFIC_TYPE_FULL
	.comm	_ERR_NO_ERROR,4,2               ; @ERR_NO_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TTC_INIT"

	.comm	_TtcThread,4,2                  ; @TtcThread
.subsections_via_symbols
