// File: /workspace/github_cpp_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rdi, 0x8(%rsp)
leaq 0x202a9f(%rip), %rdi    # 0x60c6b0
callq 0x407cb6
movq 0x202b0b(%rip), %r12    # 0x60c728
subq 0x202afc(%rip), %r12    # 0x60c720
movq 0x202b4d(%rip), %rax    # 0x60c778
subq 0x202b3e(%rip), %rax    # 0x60c770
movq %rax, 0x10(%rsp)
leaq 0x18c95e(%rip), %rsi    # 0x59659c
leaq 0xb0(%rsp), %rdi
callq 0x40817c
leaq 0xe8(%rsp), %rsi
leaq 0x18c955(%rip), %rdx    # 0x5965af
leaq 0x38(%rsp), %rdi
callq 0x404ec5
sarq $0x3, %r12
leaq 0x58(%rsp), %rdi
movl %r12d, %esi
callq 0x407f86
leaq 0x90(%rsp), %rdx
leaq 0x18(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x405951
leaq 0x1936f7(%rip), %rdx    # 0x59d38a
leaq 0x108(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x404ec5
leaq 0x108(%rsp), %rsi
movq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x4081c2
sarq $0x3, 0x10(%rsp)
leaq 0x108(%rsp), %rdi
callq 0x484750
leaq 0x18(%rsp), %r13
movq %r13, %rdi
callq 0x484750
leaq 0x58(%rsp), %rbp
movq %rbp, %rdi
callq 0x404ab8
leaq 0x38(%rsp), %rdi
callq 0x484750
leaq 0xb0(%rsp), %rbx
movq %rbx, %rdi
callq 0x404ab8
xorl %r14d, %r14d
testq %r12, %r12
cmovleq %r14, %r12
addq $0x38, %r15
cmpq %r14, %r12
je 0x409d7f
leaq 0x2029cd(%rip), %rdi    # 0x60c6e8
movq %r14, %rsi
callq 0x40a13a
movq %rbx, %rdi
movq %rax, %rsi
callq 0x409fa4
movq %r13, %rdi
leaq 0x18c886(%rip), %rsi    # 0x5965be
leaq 0xe8(%rsp), %rdx
callq 0x404ee4
movq %rbp, %rdi
movq %r13, %rsi
leaq 0x193638(%rip), %rdx    # 0x59d38a
callq 0x404ec5
movq %r15, %rdi
movq %rbp, %rsi
callq 0x485e60
movq %rbp, %rdi
callq 0x484750
movq %r13, %rdi
callq 0x484750
movq %rbx, %rdi
callq 0x404ab8
incq %r14
jmp 0x409d0f
leaq 0xb0(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x407f86
leaq 0xe8(%rsp), %rdx
leaq 0x18c821(%rip), %rsi    # 0x5965c1
leaq 0x18(%rsp), %rdi
callq 0x404ee4
leaq 0x1935d9(%rip), %rdx    # 0x59d38a
leaq 0x58(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x404ec5
leaq 0x58(%rsp), %rsi
movq %r15, %rdi
callq 0x485e60
leaq 0x58(%rsp), %rdi
callq 0x484750
leaq 0x18(%rsp), %r13
movq %r13, %rdi
callq 0x484750
leaq 0xb0(%rsp), %rbp
movq %rbp, %rdi
callq 0x404ab8
xorl %ebx, %ebx
movq 0x10(%rsp), %r12
testq %r12, %r12
cmovleq %rbx, %r12
leaq 0x38(%rsp), %r14
cmpq %rbx, %r12
je 0x409e9a
movq %rbp, %rdi
leaq 0x18c7a4(%rip), %rsi    # 0x5965be
callq 0x40817c
leaq 0x202912(%rip), %rdi    # 0x60c738
movq %rbx, %rsi
callq 0x40a13a
leaq 0x58(%rsp), %rdi
movq %rax, %rsi
callq 0x409fa4
movq %r14, %rdi
leaq 0xe8(%rsp), %rsi
leaq 0x90(%rsp), %rdx
callq 0x405951
movq %r13, %rdi
movq %r14, %rsi
leaq 0x19352a(%rip), %rdx    # 0x59d38a
callq 0x404ec5
movq %r15, %rdi
movq %r13, %rsi
callq 0x485e60
movq %r13, %rdi
callq 0x484750
movq %r14, %rdi
callq 0x484750
leaq 0x58(%rsp), %rdi
callq 0x404ab8
movq %rbp, %rdi
callq 0x404ab8
incq %rbx
jmp 0x409e07
leaq 0x20280f(%rip), %rdi    # 0x60c6b0
callq 0x407c72
leaq 0x1ab7d9(%rip), %rsi    # 0x5b5686
movq %r15, %rdi
callq 0x485f00
movq 0x8(%rsp), %rax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x409f64
jmp 0x409f5f
jmp 0x409f7d
jmp 0x409f8f
movq %rax, %r14
leaq 0x108(%rsp), %rdi
callq 0x484750
jmp 0x409ef5
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x484750
jmp 0x409f04
movq %rax, %r14
leaq 0x58(%rsp), %rdi
callq 0x404ab8
jmp 0x409f13
movq %rax, %r14
leaq 0x38(%rsp), %rdi
callq 0x484750
jmp 0x409f22
movq %rax, %r14
leaq 0xb0(%rsp), %rdi
jmp 0x409f97
jmp 0x409f8f
movq %rax, %r14
jmp 0x409f4f
movq %rax, %r14
jmp 0x409f45
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x484750
leaq 0x38(%rsp), %rdi
callq 0x484750
leaq 0x58(%rsp), %rdi
callq 0x404ab8
jmp 0x409f80
jmp 0x409f8f
jmp 0x409f7d
movq %rax, %r14
jmp 0x409f71
movq %rax, %r14
leaq 0x58(%rsp), %rdi
callq 0x484750
leaq 0x18(%rsp), %rdi
callq 0x484750
jmp 0x409f80
movq %rax, %r14
leaq 0xb0(%rsp), %rdi
callq 0x404ab8
jmp 0x409f92
movq %rax, %r14
movq 0x8(%rsp), %rdi
callq 0x404ab8
movq %r14, %rdi
callq 0x4b5490