// File: /workspace/github_cpp_makefile_star2_O3/enbock[P]Warp10Server/app/tEvent.cpp
// Function: u::tEvent::onEvent(u::Object*)
void onEvent(Object *arg)
			{
				Event *event = (Event*)arg;
				//trace("onEvent="+event->toString());
				event->destroy();

				static int64 cnt = 0;
				static Mutex cntMutex;
				cntMutex.lock();
				cnt++;
				trace("\n"+int2string(cnt)+"\n\033[A\033[A\033[A");
				cntMutex.unlock();

				if(cnt >= 25000)
				{
					if(cnt == 25000)
					{
						trace("----------------EXIT------------------");
						programExit();
					}
					removeEventListener(Event::COMPLETE, Callback(
						this, cb_cast(&tEvent::onEvent)
					));
					removeEventListener(Event::PROGRESS, Callback(
						this, cb_cast(&tEvent::onEvent2)
					));
				}

				dispatchEvent(new Event(Event::COMPLETE))->destroy();
				dispatchEvent(new Event(Event::PROGRESS))->destroy();
				dispatchEvent(new Event(Event::COMPLETE))->destroy();
			}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x150, %rsp            # imm = 0x150
movq %rdi, %rbx
movq (%rsi), %rax
movq %rsi, %rdi
callq *(%rax)
movb 0x20a40d(%rip), %al     # 0x60f5c0
testb %al, %al
je 0x405504
leaq 0x20a3c6(%rip), %rdi    # 0x60f588
callq 0x40992e
incq 0x20a3b2(%rip)          # 0x60f580
movq $0x6106a0, %rdi         # imm = 0x6106A0
leaq 0x193e9d(%rip), %rsi    # 0x599079
movl $0x4, %edx
callq 0x4779a0
movl 0x20a394(%rip), %esi    # 0x60f580
leaq 0x48(%rsp), %rdi
callq 0x409c1c
leaq 0x80(%rsp), %rdi
leaq 0x19b1e5(%rip), %rcx    # 0x5a03ea
movl $0x1, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x488dc0
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x40523c
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x405244
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x193e23(%rip), %rsi    # 0x59908a
callq 0x489580
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x405293
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x40529b
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq $0x6106a0, %r14         # imm = 0x6106A0
movq %r14, %rdi
callq 0x4779a0
movq %rax, %r15
leaq 0x193daf(%rip), %rsi    # 0x599085
movl $0x4, %edx
movq %rax, %rdi
callq 0x4779a0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x458af0
movsbl %al, %esi
movq %r15, %rdi
callq 0x4774a0
movq %rax, %rdi
callq 0x476a70
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x405321
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40dd80
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x405338
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x40dd80
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x405359
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x40dd80
leaq 0x48(%rsp), %rdi
callq 0x409a3a
leaq 0x20a21e(%rip), %rdi    # 0x60f588
callq 0x4098e6
cmpq $0x61a8, 0x20a206(%rip) # imm = 0x61A8
jl 0x405466
jne 0x4053ea
leaq 0x193cf0(%rip), %rsi    # 0x599079
movl $0x4, %edx
movq %r14, %rdi
callq 0x4779a0
leaq 0x193cf8(%rip), %rsi    # 0x599095
movl $0x26, %edx
movq %r14, %rdi
callq 0x4779a0
leaq 0x193cd4(%rip), %rsi    # 0x599085
movl $0x4, %edx
movq %r14, %rdi
callq 0x4779a0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x458af0
movsbl %al, %esi
movq %r14, %rdi
callq 0x4774a0
movq %rax, %rdi
callq 0x476a70
callq 0x404888
leaq -0x25f(%rip), %rdx      # 0x405192
leaq 0xf8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x405938
movq $0x60f5d8, %rsi         # imm = 0x60F5D8
movq %rbx, %rdi
movq %r14, %rdx
callq 0x407bf0
leaq 0xf8(%rsp), %rdi
callq 0x409a3a
leaq 0x1b3(%rip), %rdx       # 0x4055e2
leaq 0xa0(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x405938
movq $0x60f630, %rsi         # imm = 0x60F630
movq %rbx, %rdi
movq %r14, %rdx
callq 0x407bf0
leaq 0xa0(%rsp), %rdi
callq 0x409a3a
movl $0x48, %edi
callq 0x40ef10
movq %rax, %r14
movq $0x60f5d8, %rsi         # imm = 0x60F5D8
movq %rax, %rdi
callq 0x405f24
movq %rbx, %rdi
movq %r14, %rsi
callq 0x407d66
movq (%rax), %rcx
movq %rax, %rdi
callq *(%rcx)
movl $0x48, %edi
callq 0x40ef10
movq %rax, %r14
movq $0x60f630, %rsi         # imm = 0x60F630
movq %rax, %rdi
callq 0x405f24
movq %rbx, %rdi
movq %r14, %rsi
callq 0x407d66
movq (%rax), %rcx
movq %rax, %rdi
callq *(%rcx)
movl $0x48, %edi
callq 0x40ef10
movq %rax, %r14
movq $0x60f5d8, %rsi         # imm = 0x60F5D8
movq %rax, %rdi
callq 0x405f24
movq %rbx, %rdi
movq %r14, %rsi
callq 0x407d66
movq (%rax), %rcx
movq %rax, %rdi
callq *(%rcx)
addq $0x150, %rsp            # imm = 0x150
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x20a0b5(%rip), %rdi    # 0x60f5c0
callq 0x40ed50
testl %eax, %eax
je 0x4051bb
leaq 0x20a069(%rip), %rdi    # 0x60f588
callq 0x409858
movq $0x409898, %rdi         # imm = 0x409898
leaq 0x20a056(%rip), %rsi    # 0x60f588
leaq 0x207c0f(%rip), %rdx    # 0x60d148
callq 0x4d3c30
leaq 0x20a07b(%rip), %rdi    # 0x60f5c0
callq 0x40ee60
jmp 0x4051bb
movq %rax, %rbx
leaq 0x20a067(%rip), %rdi    # 0x60f5c0
callq 0x40ee10
jmp 0x4055da
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
jmp 0x405578
movq %rax, %rbx
leaq 0xf8(%rsp), %rdi
callq 0x409a3a
jmp 0x4055da
jmp 0x405583
jmp 0x405583
movq %rax, %rbx
movl $0x48, %esi
movq %r14, %rdi
callq 0x40dd80
jmp 0x4055da
movq %rax, %rbx
jmp 0x4055b9
movq %rax, %rbx
jmp 0x4055d0
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4055b9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40dd80
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x4055d0
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x40dd80
leaq 0x48(%rsp), %rdi
callq 0x404a8c
movq %rbx, %rdi
callq 0x4b7fb0