// File: /workspace/github_c_makefile_star2_O0/silverneko[P]miku/./src/tddump.cpp
// Function: main
int main(int argc, char *argv[])
{
  if(argc < 2) return 0;
  int pid = cast(argv[1]).to<int>();
  submission sub;

  sub.problem_id = pid;

  ostringstream sout;
  sout << "./testdata/";
  sout << setfill('0') << setw(4) << sub.problem_id;
  string testdata_dir(sout.str());
  if(access(testdata_dir.c_str(), F_OK)){
    system(("mkdir " + testdata_dir + " 2>/dev/null").c_str());
  }

  downloadTestdata(sub);

  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1320, %rsp           # imm = 0x1320
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
cmpl $0x2, -0x8(%rbp)
jge 0x361b
movl $0x0, -0x4(%rbp)
jmp 0x3902
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x12f8(%rbp)
leaq -0x59(%rbp), %rdi
movq %rdi, -0x12f0(%rbp)
callq 0x3400
movq -0x12f8(%rbp), %rsi
movq -0x12f0(%rbp), %rdx
leaq -0x58(%rbp), %rdi
callq 0x3920
jmp 0x3653
leaq -0x38(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x39d0
jmp 0x3662
leaq -0x38(%rbp), %rdi
callq 0x3a00
movl %eax, -0x12fc(%rbp)
jmp 0x3673
leaq -0x38(%rbp), %rdi
callq 0x3a90
leaq -0x58(%rbp), %rdi
callq 0x3180
leaq -0x59(%rbp), %rdi
callq 0x3250
movl -0x12fc(%rbp), %eax
movl %eax, -0x14(%rbp)
leaq -0x1108(%rbp), %rdi
callq 0x3ab0
movl -0x14(%rbp), %eax
movl %eax, -0x1108(%rbp)
leaq -0x1280(%rbp), %rdi
callq 0x32f0
jmp 0x36ba
leaq 0x3943(%rip), %rsi      # 0x7004
leaq -0x1280(%rbp), %rdi
callq 0x3210
jmp 0x36cf
movl $0x30, %edi
callq 0x3d30
movb %al, -0x12fd(%rbp)
jmp 0x36e1
movb -0x12fd(%rbp), %al
movb %al, -0x1281(%rbp)
movzbl -0x1281(%rbp), %esi
leaq -0x1280(%rbp), %rdi
callq 0x3370
movq %rax, -0x1308(%rbp)
jmp 0x3709
movl $0x4, %edi
callq 0x3d50
movl %eax, -0x130c(%rbp)
jmp 0x371b
movq -0x1308(%rbp), %rdi
movl -0x130c(%rbp), %eax
movl %eax, -0x1288(%rbp)
movl -0x1288(%rbp), %esi
callq 0x3280
movq %rax, -0x1318(%rbp)
jmp 0x3742
movq -0x1318(%rbp), %rdi
movl -0x1108(%rbp), %esi
callq 0x33e0
jmp 0x3756
leaq -0x12a8(%rbp), %rdi
leaq -0x1280(%rbp), %rsi
callq 0x3220
jmp 0x376b
leaq -0x12a8(%rbp), %rdi
callq 0x30f0
movq %rax, %rdi
xorl %esi, %esi
callq 0x33b0
cmpl $0x0, %eax
je 0x38a1
leaq 0x387f(%rip), %rsi      # 0x7010
leaq -0x12e8(%rbp), %rdi
leaq -0x12a8(%rbp), %rdx
callq 0x3dc0
jmp 0x37a6
leaq 0x386a(%rip), %rdx      # 0x7017
leaq -0x12c8(%rbp), %rdi
leaq -0x12e8(%rbp), %rsi
callq 0x3d70
jmp 0x37c2
leaq -0x12c8(%rbp), %rdi
callq 0x30f0
movq %rax, %rdi
callq 0x31e0
jmp 0x37d8
leaq -0x12c8(%rbp), %rdi
callq 0x3180
leaq -0x12e8(%rbp), %rdi
callq 0x3180
jmp 0x38a1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x382f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x3826
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x3a90
leaq -0x58(%rbp), %rdi
callq 0x3180
leaq -0x59(%rbp), %rdi
callq 0x3250
jmp 0x390e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x38f4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x38e8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x38dc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x3893
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x12c8(%rbp), %rdi
callq 0x3180
leaq -0x12e8(%rbp), %rdi
callq 0x3180
jmp 0x38dc
leaq -0x1108(%rbp), %rdi
callq 0x4850
jmp 0x38af
movl $0x0, -0x4(%rbp)
leaq -0x12a8(%rbp), %rdi
callq 0x3180
leaq -0x1280(%rbp), %rdi
callq 0x3070
leaq -0x1108(%rbp), %rdi
callq 0x3ed0
jmp 0x3902
leaq -0x12a8(%rbp), %rdi
callq 0x3180
leaq -0x1280(%rbp), %rdi
callq 0x3070
leaq -0x1108(%rbp), %rdi
callq 0x3ed0
jmp 0x390e
movl -0x4(%rbp), %eax
addq $0x1320, %rsp           # imm = 0x1320
popq %rbp
retq
movq -0x68(%rbp), %rdi
callq 0x33f0
nopw (%rax,%rax)