// File: enbock[P]Warp10Server/ulib/src/Thread.cpp
// Function: u::ThreadSystem::toString()
String ThreadSystem::toString()
{
	int64 i, bs, rs;

	_access.lock();

	bs = _build.size();
	rs = _run.size();

	String output(
		String("[u::Thread System\n")
		+ "\tBuild Queue: " + Object::int2string(bs) + "\n"
	);

	for(i = 0; i < bs; i++) 
	{
		output += "\t\t" + _build[i]->toString() + "\n";
	}

	output += "\tRun Queue: " + Object::int2string(rs) + "\n";

	for(i = 0; i < rs; i++) 
	{
		output += String("\t\t") + _run[i]->toString() + "\n";
	}

	_access.unlock();

	output += "]";

	return output;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x390, %rsp            # imm = 0x390
movq %rdi, -0x378(%rbp)
movq %rdi, %rax
movq %rax, -0x370(%rbp)
movq %rdi, -0x8(%rbp)
leaq 0x2079b9(%rip), %rdi    # 0x6196b0
callq 0x40d7d0
leaq 0x207a1d(%rip), %rdi    # 0x619720
callq 0x412500
movq %rax, -0x18(%rbp)
leaq 0x207a5d(%rip), %rdi    # 0x619770
callq 0x412500
movq %rax, -0x20(%rbp)
movb $0x0, -0x21(%rbp)
leaq 0x18dc52(%rip), %rsi    # 0x59f979
leaq -0xe0(%rbp), %rdi
callq 0x40e000
leaq -0xa8(%rbp), %rsi
leaq 0x18dc4b(%rip), %rdx    # 0x59f98c
leaq -0x88(%rbp), %rdi
callq 0x405740
jmp 0x411d4f
movl -0x18(%rbp), %esi
leaq -0x148(%rbp), %rdi
callq 0x40dc60
jmp 0x411d60
leaq -0x110(%rbp), %rdx
leaq -0x68(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x407710
jmp 0x411d79
leaq 0x1949ea(%rip), %rdx    # 0x5a676a
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x405740
jmp 0x411d8f
movq -0x378(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x40e0a0
jmp 0x411da1
leaq -0x48(%rbp), %rdi
callq 0x48dbd0
leaq -0x68(%rbp), %rdi
callq 0x48dbd0
leaq -0x148(%rbp), %rdi
callq 0x404d10
leaq -0x88(%rbp), %rdi
callq 0x48dbd0
leaq -0xe0(%rbp), %rdi
callq 0x404d10
movq $0x0, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpq -0x18(%rbp), %rax
jge 0x411fb8
movq -0x10(%rbp), %rsi
leaq 0x2078f0(%rip), %rdi    # 0x6196e8
callq 0x412610
movq %rax, -0x380(%rbp)
jmp 0x411e06
movq -0x380(%rbp), %rsi
leaq -0x1e0(%rbp), %rdi
callq 0x412280
jmp 0x411e1b
leaq -0x1a8(%rbp), %rdx
leaq 0x18db72(%rip), %rsi    # 0x59f99b
leaq -0x188(%rbp), %rdi
callq 0x405790
jmp 0x411e37
leaq 0x19492c(%rip), %rdx    # 0x5a676a
leaq -0x168(%rbp), %rdi
leaq -0x188(%rbp), %rsi
callq 0x405740
jmp 0x411e53
movq -0x378(%rbp), %rdi
addq $0x38, %rdi
leaq -0x168(%rbp), %rsi
callq 0x48f2f0
jmp 0x411e6c
leaq -0x168(%rbp), %rdi
callq 0x48dbd0
leaq -0x188(%rbp), %rdi
callq 0x48dbd0
leaq -0x1e0(%rbp), %rdi
callq 0x404d10
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0x411ddf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
jmp 0x411f2d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
jmp 0x411f21
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
jmp 0x411f15
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
jmp 0x411f0c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x48dbd0
leaq -0x68(%rbp), %rdi
callq 0x48dbd0
leaq -0x148(%rbp), %rdi
callq 0x404d10
leaq -0x88(%rbp), %rdi
callq 0x48dbd0
leaq -0xe0(%rbp), %rdi
callq 0x404d10
jmp 0x412273
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
jmp 0x412267
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
jmp 0x411fa7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
jmp 0x411f9b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
leaq -0x168(%rbp), %rdi
callq 0x48dbd0
leaq -0x188(%rbp), %rdi
callq 0x48dbd0
leaq -0x1e0(%rbp), %rdi
callq 0x404d10
jmp 0x412267
movl -0x20(%rbp), %esi
leaq -0x278(%rbp), %rdi
callq 0x40dc60
jmp 0x411fc9
leaq -0x240(%rbp), %rdx
leaq 0x18d9c7(%rip), %rsi    # 0x59f99e
leaq -0x220(%rbp), %rdi
callq 0x405790
jmp 0x411fe5
leaq 0x19477e(%rip), %rdx    # 0x5a676a
leaq -0x200(%rbp), %rdi
leaq -0x220(%rbp), %rsi
callq 0x405740
jmp 0x412001
movq -0x378(%rbp), %rdi
addq $0x38, %rdi
leaq -0x200(%rbp), %rsi
callq 0x48f2f0
jmp 0x41201a
leaq -0x200(%rbp), %rdi
callq 0x48dbd0
leaq -0x220(%rbp), %rdi
callq 0x48dbd0
leaq -0x278(%rbp), %rdi
callq 0x404d10
movq $0x0, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpq -0x20(%rbp), %rax
jge 0x41221a
leaq 0x18d940(%rip), %rsi    # 0x59f99b
leaq -0x310(%rbp), %rdi
callq 0x40e000
jmp 0x412069
leaq -0x2d8(%rbp), %rax
movq %rax, -0x390(%rbp)
movq -0x10(%rbp), %rsi
leaq 0x2076b6(%rip), %rdi    # 0x619738
callq 0x412610
movq %rax, -0x388(%rbp)
jmp 0x412090
movq -0x388(%rbp), %rsi
leaq -0x368(%rbp), %rdi
callq 0x412280
jmp 0x4120a5
movq -0x390(%rbp), %rsi
leaq -0x330(%rbp), %rdx
leaq -0x2b8(%rbp), %rdi
callq 0x407710
jmp 0x4120c1
leaq 0x1946a2(%rip), %rdx    # 0x5a676a
leaq -0x298(%rbp), %rdi
leaq -0x2b8(%rbp), %rsi
callq 0x405740
jmp 0x4120dd
movq -0x378(%rbp), %rdi
addq $0x38, %rdi
leaq -0x298(%rbp), %rsi
callq 0x48f2f0
jmp 0x4120f6
leaq -0x298(%rbp), %rdi
callq 0x48dbd0
leaq -0x2b8(%rbp), %rdi
callq 0x48dbd0
leaq -0x368(%rbp), %rdi
callq 0x404d10
leaq -0x310(%rbp), %rdi
callq 0x404d10
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0x412046
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
jmp 0x412189
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
jmp 0x41217d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
leaq -0x200(%rbp), %rdi
callq 0x48dbd0
leaq -0x220(%rbp), %rdi
callq 0x48dbd0
leaq -0x278(%rbp), %rdi
callq 0x404d10
jmp 0x412267
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
jmp 0x41220c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
jmp 0x412200
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
jmp 0x4121f4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe8(%rbp)
movl %eax, -0xec(%rbp)
leaq -0x298(%rbp), %rdi
callq 0x48dbd0
leaq -0x2b8(%rbp), %rdi
callq 0x48dbd0
leaq -0x368(%rbp), %rdi
callq 0x404d10
leaq -0x310(%rbp), %rdi
callq 0x404d10
jmp 0x412267
leaq 0x20748f(%rip), %rdi    # 0x6196b0
callq 0x40d740
jmp 0x412228
movq -0x378(%rbp), %rdi
addq $0x38, %rdi
leaq 0x1ac82c(%rip), %rsi    # 0x5bea66
callq 0x48f3d0
jmp 0x412241
movb $0x1, -0x21(%rbp)
testb $0x1, -0x21(%rbp)
jne 0x412257
movq -0x378(%rbp), %rdi
callq 0x404d10
movq -0x370(%rbp), %rax
addq $0x390, %rsp            # imm = 0x390
popq %rbp
retq
movq -0x378(%rbp), %rdi
callq 0x404d10
movq -0xe8(%rbp), %rdi
callq 0x4be910
nop