// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/cifar.c
// Function: run_cifar
void run_cifar(int argc, char **argv)
{
    if(argc < 4){
        fprintf(stderr, "usage: %s %s [train/test/valid] [cfg] [weights (optional)]\n", argv[0], argv[1]);
        return;
    }

    char *cfg = argv[3];
    char *weights = (argc > 4) ? argv[4] : 0;
    if(0==strcmp(argv[2], "train")) train_cifar(cfg, weights);
    else if(0==strcmp(argv[2], "extract")) extract_cifar();
    else if(0==strcmp(argv[2], "distill")) train_cifar_distill(cfg, weights);
    else if(0==strcmp(argv[2], "test")) test_cifar(cfg, weights);
    else if(0==strcmp(argv[2], "multi")) test_cifar_multi(cfg, weights);
    else if(0==strcmp(argv[2], "csv")) test_cifar_csv(cfg, weights);
    else if(0==strcmp(argv[2], "csvtrain")) test_cifar_csvtrain(cfg, weights);
    else if(0==strcmp(argv[2], "eval")) eval_cifar_csv();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
cmpl $0x4, -0x4(%rbp)
jge 0x58501
movq 0x2ab1c(%rip), %rax     # 0x82ff8
movq (%rax), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rdx
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rcx
leaq 0x1d39b(%rip), %rsi     # 0x75890
movb $0x0, %al
callq 0x3240
jmp 0x58691
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x18(%rbp)
cmpl $0x4, -0x4(%rbp)
jle 0x58521
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x28(%rbp)
jmp 0x58529
xorl %eax, %eax
movq %rax, -0x28(%rbp)
jmp 0x58529
movq -0x28(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0x1d67c(%rip), %rsi     # 0x75bbc
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x5855f
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x57280
jmp 0x58691
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0x1d63b(%rip), %rsi     # 0x75ba9
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x58585
callq 0x57e50
jmp 0x5868f
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0x1d61d(%rip), %rsi     # 0x75bb1
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x585b3
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x57690
jmp 0x5868d
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0x1e3d7(%rip), %rsi     # 0x76999
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x585e1
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x57d20
jmp 0x5868b
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0x1db7d(%rip), %rsi     # 0x7616d
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x5860c
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x57b20
jmp 0x58689
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0x1d58a(%rip), %rsi     # 0x75ba5
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x58637
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x58020
jmp 0x58687
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0x1d573(%rip), %rsi     # 0x75bb9
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x58662
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x58210
jmp 0x58685
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0x1d551(%rip), %rsi     # 0x75bc2
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x58683
callq 0x583f0
jmp 0x58685
jmp 0x58687
jmp 0x58689
jmp 0x5868b
jmp 0x5868d
jmp 0x5868f
jmp 0x58691
addq $0x30, %rsp
popq %rbp
retq
nopw (%rax,%rax)