// File: enbock[P]Warp10Server/app/tThread.cpp
// Function: u::tThread::newThread(u::Object*)
void newThread(Object *arg)
			{
				int64 num;
				lock();
				num = cnt++;
				unlock();
				trace("This is thread nr. " + int2string(num));
				Callback cb(this, cb_cast(&tThread::newThread));
				ThreadSystem::create(&cb);
				ThreadSystem::create(&cb);
				if(num == 10000)
				{
					trace("-----------------END PRG----------------------");
					programExit();
				}
			}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp            # imm = 0x160
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x120(%rbp)
callq 0x407420
movq -0x120(%rbp), %rdi
movq 0x38(%rdi), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, 0x38(%rdi)
movq %rax, -0x18(%rbp)
callq 0x407390
movq $0x6115a0, %rdi         # imm = 0x6115A0
leaq 0x1932d9(%rip), %rsi    # 0x599079
callq 0x477820
movq %rax, -0x118(%rbp)
movb $0x0, -0x91(%rbp)
movb $0x0, -0xa6(%rbp)
movb $0x1, %al
testb $0x1, %al
jne 0x405dc2
jmp 0x405df0
movl -0x18(%rbp), %esi
leaq -0x90(%rbp), %rdi
callq 0x4078b0
movb $0x1, -0x91(%rbp)
leaq -0x58(%rbp), %rdx
leaq 0x193324(%rip), %rsi    # 0x599107
leaq -0x38(%rbp), %rdi
callq 0x4055f0
jmp 0x405dee
jmp 0x405e25
leaq -0xa5(%rbp), %rdi
movq %rdi, -0x128(%rbp)
callq 0x40f650
movq -0x128(%rbp), %rdx
movb $0x1, -0xa6(%rbp)
leaq 0x1b2932(%rip), %rsi    # 0x5b874a
leaq -0x38(%rbp), %rdi
callq 0x405ca0
jmp 0x405e23
jmp 0x405e25
movq -0x118(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x48a150
movq %rax, -0x130(%rbp)
jmp 0x405e3e
movq -0x130(%rbp), %rdi
leaq 0x19324f(%rip), %rsi    # 0x59909b
callq 0x477820
movq %rax, -0x138(%rbp)
jmp 0x405e5a
movq -0x138(%rbp), %rdi
movq $0x477100, %rsi         # imm = 0x477100
callq 0x476310
jmp 0x405e6f
leaq -0x38(%rbp), %rdi
callq 0x487720
testb $0x1, -0xa6(%rbp)
jne 0x405e83
jmp 0x405e8f
leaq -0xa5(%rbp), %rdi
callq 0x40f670
testb $0x1, -0x91(%rbp)
jne 0x405e9a
jmp 0x405ea6
leaq -0x90(%rbp), %rdi
callq 0x404c00
movq -0x120(%rbp), %rsi
leaq -0x164(%rip), %rax      # 0x405d50
movq %rax, -0x110(%rbp)
movq $0x0, -0x108(%rbp)
movq -0x110(%rbp), %rdx
movq -0x108(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r8d
leaq -0x100(%rbp), %rdi
movq %rdi, -0x140(%rbp)
callq 0x406c10
movq -0x140(%rbp), %rdi
callq 0x40aac0
jmp 0x405efa
leaq -0x100(%rbp), %rdi
callq 0x40aac0
jmp 0x405f08
cmpq $0x2710, -0x18(%rbp)    # imm = 0x2710
jne 0x406020
movq $0x6115a0, %rdi         # imm = 0x6115A0
leaq 0x193155(%rip), %rsi    # 0x599079
callq 0x477820
movq %rax, -0x148(%rbp)
jmp 0x405f32
movq -0x148(%rbp), %rdi
leaq 0x1931db(%rip), %rsi    # 0x59911b
callq 0x477820
movq %rax, -0x150(%rbp)
jmp 0x405f4e
movq -0x150(%rbp), %rdi
leaq 0x19313f(%rip), %rsi    # 0x59909b
callq 0x477820
movq %rax, -0x158(%rbp)
jmp 0x405f6a
movq -0x158(%rbp), %rdi
movq $0x477100, %rsi         # imm = 0x477100
callq 0x476310
jmp 0x405f7f
callq 0x404910
jmp 0x405f86
jmp 0x406020
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x405fe7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x405fce
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x487720
testb $0x1, -0xa6(%rbp)
jne 0x405fd9
jmp 0x405fe5
leaq -0xa5(%rbp), %rdi
callq 0x40f670
jmp 0x405fe7
testb $0x1, -0x91(%rbp)
jne 0x405ff2
jmp 0x405ffe
leaq -0x90(%rbp), %rdi
callq 0x404c00
jmp 0x406035
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
leaq -0x100(%rbp), %rdi
callq 0x406050
jmp 0x406035
leaq -0x100(%rbp), %rdi
callq 0x406050
addq $0x160, %rsp            # imm = 0x160
popq %rbp
retq
movq -0xa0(%rbp), %rdi
callq 0x4b86d0
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)