// File: /workspace/github_c_makefile_star2_O0/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
subq $0x2c0, %rsp            # imm = 0x2C0
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
cmpl $0x3, -0x8(%rbp)
jge 0x4064d4
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x1e8(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x1e0(%rbp)
callq 0x407fc0
movq -0x1e8(%rbp), %rsi
movq -0x1e0(%rbp), %rdx
leaq -0x30(%rbp), %rdi
callq 0x406c30
jmp 0x40647a
leaq -0x30(%rbp), %rdi
callq 0x4062d0
jmp 0x406485
leaq -0x30(%rbp), %rdi
callq 0x476560
leaq -0x31(%rbp), %rdi
callq 0x407fe0
movl $0x1, -0x4(%rbp)
jmp 0x406bce
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x4064c6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x476560
leaq -0x31(%rbp), %rdi
callq 0x407fe0
jmp 0x406bda
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x1f8(%rbp)
leaq -0x69(%rbp), %rdi
movq %rdi, -0x1f0(%rbp)
callq 0x407fc0
movq -0x1f8(%rbp), %rsi
movq -0x1f0(%rbp), %rdx
leaq -0x68(%rbp), %rdi
callq 0x406c30
jmp 0x40650c
leaq -0x69(%rbp), %rdi
callq 0x407fe0
movb $0x0, -0x6a(%rbp)
leaq 0x18609f(%rip), %rsi    # 0x58c5bf
leaq -0x68(%rbp), %rdi
callq 0x406ce0
movb %al, -0x1f9(%rbp)
jmp 0x406531
movb -0x1f9(%rbp), %al
testb $0x1, %al
jne 0x406540
jmp 0x40660c
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x210(%rbp)
leaq -0x91(%rbp), %rdi
movq %rdi, -0x208(%rbp)
callq 0x407fc0
movq -0x210(%rbp), %rsi
movq -0x208(%rbp), %rdx
leaq -0x90(%rbp), %rdi
callq 0x406c30
jmp 0x40657e
leaq -0x90(%rbp), %rdi
callq 0x405d30
jmp 0x40658c
leaq -0x90(%rbp), %rdi
callq 0x476560
leaq -0x91(%rbp), %rdi
callq 0x407fe0
movb $0x1, -0x6a(%rbp)
jmp 0x40660c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x69(%rbp), %rdi
callq 0x407fe0
jmp 0x406bda
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x406bc3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x4065fb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x476560
leaq -0x91(%rbp), %rdi
callq 0x407fe0
jmp 0x406bc3
leaq 0x19b969(%rip), %rsi    # 0x5a1f7c
leaq -0x68(%rbp), %rdi
callq 0x406ce0
movb %al, -0x211(%rbp)
jmp 0x406624
movb -0x211(%rbp), %al
testb $0x1, %al
jne 0x406633
jmp 0x4066d4
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x228(%rbp)
leaq -0xb9(%rbp), %rdi
movq %rdi, -0x220(%rbp)
callq 0x407fc0
movq -0x228(%rbp), %rsi
movq -0x220(%rbp), %rdx
leaq -0xb8(%rbp), %rdi
callq 0x406c30
jmp 0x406671
leaq -0xb8(%rbp), %rdi
callq 0x405fa0
jmp 0x40667f
leaq -0xb8(%rbp), %rdi
callq 0x476560
leaq -0xb9(%rbp), %rdi
callq 0x407fe0
movb $0x1, -0x6a(%rbp)
jmp 0x4066d4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x4066c3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x476560
leaq -0xb9(%rbp), %rdi
callq 0x407fe0
jmp 0x406bc3
leaq 0x178c33(%rip), %rsi    # 0x57f30e
leaq -0x68(%rbp), %rdi
callq 0x406ce0
movb %al, -0x229(%rbp)
jmp 0x4066ec
movb -0x229(%rbp), %al
testb $0x1, %al
jne 0x4066fb
jmp 0x40679c
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x240(%rbp)
leaq -0xe1(%rbp), %rdi
movq %rdi, -0x238(%rbp)
callq 0x407fc0
movq -0x240(%rbp), %rsi
movq -0x238(%rbp), %rdx
leaq -0xe0(%rbp), %rdi
callq 0x406c30
jmp 0x406739
leaq -0xe0(%rbp), %rdi
callq 0x406160
jmp 0x406747
leaq -0xe0(%rbp), %rdi
callq 0x476560
leaq -0xe1(%rbp), %rdi
callq 0x407fe0
movb $0x1, -0x6a(%rbp)
jmp 0x40679c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x40678b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x476560
leaq -0xe1(%rbp), %rdi
callq 0x407fe0
jmp 0x406bc3
leaq 0x178b70(%rip), %rsi    # 0x57f313
leaq -0x68(%rbp), %rdi
callq 0x406ce0
movb %al, -0x241(%rbp)
jmp 0x4067b4
movb -0x241(%rbp), %al
testb $0x1, %al
jne 0x4067c3
jmp 0x406864
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x258(%rbp)
leaq -0x109(%rbp), %rdi
movq %rdi, -0x250(%rbp)
callq 0x407fc0
movq -0x258(%rbp), %rsi
movq -0x250(%rbp), %rdx
leaq -0x108(%rbp), %rdi
callq 0x406c30
jmp 0x406801
leaq -0x108(%rbp), %rdi
callq 0x406230
jmp 0x40680f
leaq -0x108(%rbp), %rdi
callq 0x476560
leaq -0x109(%rbp), %rdi
callq 0x407fe0
movb $0x1, -0x6a(%rbp)
jmp 0x406864
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x406853
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x108(%rbp), %rdi
callq 0x476560
leaq -0x109(%rbp), %rdi
callq 0x407fe0
jmp 0x406bc3
leaq 0x178aad(%rip), %rsi    # 0x57f318
leaq -0x68(%rbp), %rdi
callq 0x406ce0
movb %al, -0x259(%rbp)
jmp 0x40687c
movb -0x259(%rbp), %al
testb $0x1, %al
jne 0x40688b
jmp 0x4069b9
cmpl $0x3, -0x8(%rbp)
jle 0x4069b9
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x270(%rbp)
leaq -0x131(%rbp), %rdi
movq %rdi, -0x268(%rbp)
callq 0x407fc0
movq -0x270(%rbp), %rsi
movq -0x268(%rbp), %rdx
leaq -0x130(%rbp), %rdi
callq 0x406c30
jmp 0x4068d3
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x280(%rbp)
leaq -0x159(%rbp), %rdi
movq %rdi, -0x278(%rbp)
callq 0x407fc0
movq -0x280(%rbp), %rsi
movq -0x278(%rbp), %rdx
leaq -0x158(%rbp), %rdi
callq 0x406c30
jmp 0x406911
leaq -0x130(%rbp), %rdi
leaq -0x158(%rbp), %rsi
callq 0x4057d0
jmp 0x406926
leaq -0x158(%rbp), %rdi
callq 0x476560
leaq -0x159(%rbp), %rdi
callq 0x407fe0
leaq -0x130(%rbp), %rdi
callq 0x476560
leaq -0x131(%rbp), %rdi
callq 0x407fe0
movb $0x1, -0x6a(%rbp)
jmp 0x4069b9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x4069a8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x406990
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x158(%rbp), %rdi
callq 0x476560
leaq -0x159(%rbp), %rdi
callq 0x407fe0
leaq -0x130(%rbp), %rdi
callq 0x476560
leaq -0x131(%rbp), %rdi
callq 0x407fe0
jmp 0x406bc3
leaq 0x17895c(%rip), %rsi    # 0x57f31c
leaq -0x68(%rbp), %rdi
callq 0x406ce0
movb %al, -0x281(%rbp)
jmp 0x4069d1
movb -0x281(%rbp), %al
testb $0x1, %al
jne 0x4069e0
jmp 0x406b0e
cmpl $0x3, -0x8(%rbp)
jle 0x406b0e
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x298(%rbp)
leaq -0x181(%rbp), %rdi
movq %rdi, -0x290(%rbp)
callq 0x407fc0
movq -0x298(%rbp), %rsi
movq -0x290(%rbp), %rdx
leaq -0x180(%rbp), %rdi
callq 0x406c30
jmp 0x406a28
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x2a8(%rbp)
leaq -0x1a9(%rbp), %rdi
movq %rdi, -0x2a0(%rbp)
callq 0x407fc0
movq -0x2a8(%rbp), %rsi
movq -0x2a0(%rbp), %rdx
leaq -0x1a8(%rbp), %rdi
callq 0x406c30
jmp 0x406a66
leaq -0x180(%rbp), %rdi
leaq -0x1a8(%rbp), %rsi
callq 0x404ab0
jmp 0x406a7b
leaq -0x1a8(%rbp), %rdi
callq 0x476560
leaq -0x1a9(%rbp), %rdi
callq 0x407fe0
leaq -0x180(%rbp), %rdi
callq 0x476560
leaq -0x181(%rbp), %rdi
callq 0x407fe0
movb $0x1, -0x6a(%rbp)
jmp 0x406b0e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x406afd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x406ae5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x1a8(%rbp), %rdi
callq 0x476560
leaq -0x1a9(%rbp), %rdi
callq 0x407fe0
leaq -0x180(%rbp), %rdi
callq 0x476560
leaq -0x181(%rbp), %rdi
callq 0x407fe0
jmp 0x406bc3
testb $0x1, -0x6a(%rbp)
jne 0x406bb1
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x2b8(%rbp)
leaq -0x1d1(%rbp), %rdi
movq %rdi, -0x2b0(%rbp)
callq 0x407fc0
movq -0x2b8(%rbp), %rsi
movq -0x2b0(%rbp), %rdx
leaq -0x1d0(%rbp), %rdi
callq 0x406c30
jmp 0x406b55
leaq -0x1d0(%rbp), %rdi
callq 0x4062d0
jmp 0x406b63
leaq -0x1d0(%rbp), %rdi
callq 0x476560
leaq -0x1d1(%rbp), %rdi
callq 0x407fe0
jmp 0x406bb1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x406ba3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x1d0(%rbp), %rdi
callq 0x476560
leaq -0x1d1(%rbp), %rdi
callq 0x407fe0
jmp 0x406bc3
movl $0x0, -0x4(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x476560
jmp 0x406bce
leaq -0x68(%rbp), %rdi
callq 0x476560
jmp 0x406bda
movl -0x4(%rbp), %eax
addq $0x2c0, %rsp            # imm = 0x2C0
popq %rbp
retq
movq -0x40(%rbp), %rdi
callq 0x4a85a0
nopw %cs:(%rax,%rax)
nopl (%rax)