// File: /workspace/github_c_makefile_star2_O3/salextpuru[P]speccy-toochain/src/mktrd/mktrd.cpp
// Function: main
int main(int ac,char* av[]) {
	if (ac<3) {help(av[0]); return 1;}
	string mode(av[1]);
	bool yeah=false;
	if (mode=="list") {list(av[2]); yeah=true;}
	if (mode=="nlist") {nlist(av[2]); yeah=true;}
	if (mode=="ctrd") {createtrd(av[2]); yeah=true;}
	if (mode=="cscl") {createscl(av[2]); yeah=true;}
	if (mode=="pop" && ac>3) {extract(av[2],av[3]); yeah=true;}
	if (mode=="add" && ac>3) {pack(av[2],av[3]); yeah=true;}
	if (!yeah) help(av[0]);
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movq %rsi, %rbx
cmpl $0x2, %edi
jg 0x405e2b
movq (%rbx), %rsi
leaq -0x180(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0x4062bc
leaq -0x180(%rbp), %rdi
callq 0x405ba4
leaq -0x170(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x405e21
movq -0x170(%rbp), %rsi
incq %rsi
callq 0x406440
movl $0x1, %eax
jmp 0x406120
movl %edi, %r14d
movq 0x8(%rbx), %rsi
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
callq 0x4062bc
leaq 0x185779(%rip), %rsi    # 0x58b5bf
leaq -0x40(%rbp), %rdi
callq 0x477a10
testl %eax, %eax
sete %r15b
jne 0x405e96
movq 0x10(%rbx), %rsi
leaq -0x160(%rbp), %rdi
leaq -0x19(%rbp), %rdx
callq 0x4062bc
leaq -0x160(%rbp), %rdi
callq 0x4056ff
leaq -0x150(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x405e96
movq -0x150(%rbp), %rsi
incq %rsi
callq 0x406440
leaq 0x19b0df(%rip), %rsi    # 0x5a0f7c
leaq -0x40(%rbp), %rdi
callq 0x477a10
testl %eax, %eax
jne 0x405eec
movq 0x10(%rbx), %rsi
leaq -0x140(%rbp), %rdi
leaq -0x19(%rbp), %rdx
callq 0x4062bc
leaq -0x140(%rbp), %rdi
callq 0x4058d1
leaq -0x130(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x405ee9
movq -0x130(%rbp), %rsi
incq %rsi
callq 0x406440
movb $0x1, %r15b
leaq 0x1783a5(%rip), %rsi    # 0x57e298
leaq -0x40(%rbp), %rdi
callq 0x477a10
testl %eax, %eax
jne 0x405f42
movq 0x10(%rbx), %rsi
leaq -0x120(%rbp), %rdi
leaq -0x19(%rbp), %rdx
callq 0x4062bc
leaq -0x120(%rbp), %rdi
callq 0x405a50
leaq -0x110(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x405f3f
movq -0x110(%rbp), %rsi
incq %rsi
callq 0x406440
movb $0x1, %r15b
leaq 0x178354(%rip), %rsi    # 0x57e29d
leaq -0x40(%rbp), %rdi
callq 0x477a10
testl %eax, %eax
jne 0x405f98
movq 0x10(%rbx), %rsi
leaq -0x100(%rbp), %rdi
leaq -0x19(%rbp), %rdx
callq 0x4062bc
leaq -0x100(%rbp), %rdi
callq 0x405afe
leaq -0xf0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x405f95
movq -0xf0(%rbp), %rsi
incq %rsi
callq 0x406440
movb $0x1, %r15b
leaq 0x178303(%rip), %rsi    # 0x57e2a2
leaq -0x40(%rbp), %rdi
callq 0x477a10
cmpl $0x3, %r14d
je 0x40604d
testl %eax, %eax
jne 0x40604d
movq 0x10(%rbx), %rsi
leaq -0xe0(%rbp), %rdi
leaq -0x19(%rbp), %rdx
callq 0x4062bc
movq 0x18(%rbx), %rsi
leaq -0xc0(%rbp), %rdi
leaq -0x1a(%rbp), %rdx
callq 0x4062bc
leaq -0xe0(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x4052a3
leaq -0xb0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x406014
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x406440
leaq -0xd0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x406033
movq -0xd0(%rbp), %rsi
incq %rsi
callq 0x406440
leaq 0x17826c(%rip), %rsi    # 0x57e2a6
leaq -0x40(%rbp), %rdi
callq 0x477a10
testl %eax, %eax
jne 0x406105
jmp 0x406067
leaq 0x178252(%rip), %rsi    # 0x57e2a6
leaq -0x40(%rbp), %rdi
callq 0x477a10
cmpl $0x3, %r14d
je 0x4060ce
testl %eax, %eax
jne 0x4060ce
movq 0x10(%rbx), %rsi
leaq -0xa0(%rbp), %rdi
leaq -0x19(%rbp), %rdx
callq 0x4062bc
movq 0x18(%rbx), %rsi
leaq -0x80(%rbp), %rdi
leaq -0x1a(%rbp), %rdx
callq 0x4062bc
leaq -0xa0(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x404840
leaq -0x70(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4060b5
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x406440
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x406105
movq -0x90(%rbp), %rsi
jmp 0x4060fd
testb %r15b, %r15b
jne 0x406105
movq (%rbx), %rsi
leaq -0x60(%rbp), %rdi
leaq -0x19(%rbp), %rdx
callq 0x4062bc
leaq -0x60(%rbp), %rdi
callq 0x405ba4
leaq -0x50(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x406105
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x406440
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x40611e
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x406440
xorl %eax, %eax
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x50(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x406277
movq -0x50(%rbp), %rsi
jmp 0x40626a
jmp 0x406274
movq %rax, %rbx
leaq -0xf0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x406277
movq -0xf0(%rbp), %rsi
jmp 0x40626a
movq %rax, %rbx
leaq -0x110(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x406277
movq -0x110(%rbp), %rsi
jmp 0x40626a
jmp 0x406274
movq %rax, %rbx
leaq -0x130(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x406277
movq -0x130(%rbp), %rsi
jmp 0x40626a
jmp 0x406274
movq %rax, %rbx
leaq -0x150(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x406277
movq -0x150(%rbp), %rsi
jmp 0x40626a
jmp 0x406274
jmp 0x406274
movq %rax, %rbx
leaq -0x70(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x406211
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x406440
jmp 0x406211
movq %rax, %rbx
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x406277
movq -0x90(%rbp), %rsi
jmp 0x40626a
jmp 0x406274
movq %rax, %rbx
leaq -0xb0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x406253
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x406440
jmp 0x406253
movq %rax, %rbx
leaq -0xd0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x406277
movq -0xd0(%rbp), %rsi
incq %rsi
callq 0x406440
jmp 0x406277
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4062b3
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x406440
jmp 0x4062b3
movq %rax, %rbx
leaq -0x170(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4062b3
movq -0x170(%rbp), %rsi
jmp 0x406288
jmp 0x4062b0
movq %rax, %rbx
movq %rbx, %rdi
callq 0x4a6e70
nop