// File: /workspace/github_cpp_makefile_star2_O1/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 0x209403(%rip), %al     # 0x60e5c0
testb %al, %al
je 0x40550e
leaq 0x2093bc(%rip), %rdi    # 0x60e588
callq 0x4098c2
incq 0x2093a8(%rip)          # 0x60e580
movq $0x60f6a0, %rdi         # imm = 0x60F6A0
leaq 0x193e93(%rip), %rsi    # 0x599079
movl $0x4, %edx
callq 0x477930
movl 0x20938a(%rip), %esi    # 0x60e580
leaq 0x48(%rsp), %rdi
callq 0x409b9e
leaq 0x80(%rsp), %rdi
leaq 0x19b1db(%rip), %rcx    # 0x5a03ea
movl $0x1, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x488d50
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x405246
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x40524e
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 0x193e19(%rip), %rsi    # 0x59908a
callq 0x489510
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x40529d
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x4052a5
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 $0x60f6a0, %r14         # imm = 0x60F6A0
movq %r14, %rdi
callq 0x477930
movq %rax, %r15
leaq 0x193da5(%rip), %rsi    # 0x599085
movl $0x4, %edx
movq %rax, %rdi
callq 0x477930
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x458a80
movsbl %al, %esi
movq %r15, %rdi
callq 0x477430
movq %rax, %rdi
callq 0x476a00
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x40532b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40dd10
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x405342
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x40dd10
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x405363
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x40dd10
leaq 0x48(%rsp), %rdi
callq 0x4099d0
leaq 0x209214(%rip), %rdi    # 0x60e588
callq 0x40987a
cmpq $0x61a8, 0x2091fc(%rip) # imm = 0x61A8
jl 0x405470
jne 0x4053f4
leaq 0x193ce6(%rip), %rsi    # 0x599079
movl $0x4, %edx
movq %r14, %rdi
callq 0x477930
leaq 0x193cee(%rip), %rsi    # 0x599095
movl $0x26, %edx
movq %r14, %rdi
callq 0x477930
leaq 0x193cca(%rip), %rsi    # 0x599085
movl $0x4, %edx
movq %r14, %rdi
callq 0x477930
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x458a80
movsbl %al, %esi
movq %r14, %rdi
callq 0x477430
movq %rax, %rdi
callq 0x476a00
callq 0x404888
leaq -0x25f(%rip), %rdx      # 0x40519c
leaq 0xf8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x40592c
movq $0x60e5d8, %rsi         # imm = 0x60E5D8
movq %rbx, %rdi
movq %r14, %rdx
callq 0x407c22
leaq 0xf8(%rsp), %rdi
callq 0x4099d0
leaq 0x1b3(%rip), %rdx       # 0x4055ec
leaq 0xa0(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x40592c
movq $0x60e630, %rsi         # imm = 0x60E630
movq %rbx, %rdi
movq %r14, %rdx
callq 0x407c22
leaq 0xa0(%rsp), %rdi
callq 0x4099d0
movl $0x48, %edi
callq 0x40eea0
movq %rax, %r14
movq $0x60e5d8, %rsi         # imm = 0x60E5D8
movq %rax, %rdi
callq 0x405f38
movq %rbx, %rdi
movq %r14, %rsi
callq 0x407d52
movq (%rax), %rcx
movq %rax, %rdi
callq *(%rcx)
movl $0x48, %edi
callq 0x40eea0
movq %rax, %r14
movq $0x60e630, %rsi         # imm = 0x60E630
movq %rax, %rdi
callq 0x405f38
movq %rbx, %rdi
movq %r14, %rsi
callq 0x407d52
movq (%rax), %rcx
movq %rax, %rdi
callq *(%rcx)
movl $0x48, %edi
callq 0x40eea0
movq %rax, %r14
movq $0x60e5d8, %rsi         # imm = 0x60E5D8
movq %rax, %rdi
callq 0x405f38
movq %rbx, %rdi
movq %r14, %rsi
callq 0x407d52
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 0x2090ab(%rip), %rdi    # 0x60e5c0
callq 0x40ece0
testl %eax, %eax
je 0x4051c5
leaq 0x20905f(%rip), %rdi    # 0x60e588
callq 0x4097ec
movq $0x40982c, %rdi         # imm = 0x40982C
leaq 0x20904c(%rip), %rsi    # 0x60e588
leaq 0x206c05(%rip), %rdx    # 0x60c148
callq 0x4d3bc0
leaq 0x209071(%rip), %rdi    # 0x60e5c0
callq 0x40edf0
jmp 0x4051c5
movq %rax, %rbx
leaq 0x20905d(%rip), %rdi    # 0x60e5c0
callq 0x40eda0
jmp 0x4055e4
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
jmp 0x405582
movq %rax, %rbx
leaq 0xf8(%rsp), %rdi
callq 0x4099d0
jmp 0x4055e4
jmp 0x40558d
jmp 0x40558d
movq %rax, %rbx
movl $0x48, %esi
movq %r14, %rdi
callq 0x40dd10
jmp 0x4055e4
movq %rax, %rbx
jmp 0x4055c3
movq %rax, %rbx
jmp 0x4055da
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4055c3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x40dd10
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x4055da
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x40dd10
leaq 0x48(%rsp), %rdi
callq 0x404a8a
movq %rbx, %rdi
callq 0x4b7f40