// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/coco.c
// Function: run_coco
void run_coco(int argc, char **argv)
{
    char *prefix = find_char_arg(argc, argv, "-prefix", 0);
    float thresh = find_float_arg(argc, argv, "-thresh", .2);
    int cam_index = find_int_arg(argc, argv, "-c", 0);
    int frame_skip = find_int_arg(argc, argv, "-s", 0);

    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;
    char *filename = (argc > 5) ? argv[5]: 0;
    int avg = find_int_arg(argc, argv, "-avg", 1);
    if(0==strcmp(argv[2], "test")) test_coco(cfg, weights, filename, thresh);
    else if(0==strcmp(argv[2], "train")) train_coco(cfg, weights);
    else if(0==strcmp(argv[2], "valid")) validate_coco(cfg, weights);
    else if(0==strcmp(argv[2], "recall")) validate_coco_recall(cfg, weights);
    else if(0==strcmp(argv[2], "demo")) demo(cfg, weights, thresh, cam_index, filename, coco_classes, 80, frame_skip, prefix, avg, .5, 0,0,0,0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x98, %rsp
movl %edi, -0xc(%rbp)
movq %rsi, -0x18(%rbp)
movl -0xc(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq 0xf9aa(%rip), %rdx      # 0x7689b
xorl %eax, %eax
movl %eax, %ecx
callq 0x47a0
movq %rax, -0x20(%rbp)
movl -0xc(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq 0xf997(%rip), %rdx      # 0x768a3
movss 0xd8cc(%rip), %xmm0     # 0x747e0
callq 0x46e0
movss %xmm0, -0x24(%rbp)
movl -0xc(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq 0xeac3(%rip), %rdx      # 0x759ef
xorl %ecx, %ecx
callq 0x4630
movl %eax, -0x28(%rbp)
movl -0xc(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq 0xf967(%rip), %rdx      # 0x768ab
xorl %ecx, %ecx
callq 0x4630
movl %eax, -0x2c(%rbp)
cmpl $0x4, -0xc(%rbp)
jge 0x66f80
movq 0x1c09d(%rip), %rax     # 0x82ff8
movq (%rax), %rdi
movq -0x18(%rbp), %rax
movq (%rax), %rdx
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rcx
leaq 0xe91c(%rip), %rsi      # 0x75890
movb $0x0, %al
callq 0x3240
jmp 0x6713c
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x38(%rbp)
cmpl $0x4, -0xc(%rbp)
jle 0x66fa0
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x58(%rbp)
jmp 0x66fa8
xorl %eax, %eax
movq %rax, -0x58(%rbp)
jmp 0x66fa8
movq -0x58(%rbp), %rax
movq %rax, -0x40(%rbp)
cmpl $0x5, -0xc(%rbp)
jle 0x66fc4
movq -0x18(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x60(%rbp)
jmp 0x66fcc
xorl %eax, %eax
movq %rax, -0x60(%rbp)
jmp 0x66fcc
movq -0x60(%rbp), %rax
movq %rax, -0x48(%rbp)
movl -0xc(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq 0xf8cc(%rip), %rdx      # 0x768ae
movl $0x1, %ecx
callq 0x4630
movl %eax, -0x4c(%rbp)
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0xf99b(%rip), %rsi      # 0x76999
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x67026
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
movq -0x48(%rbp), %rdx
movss -0x24(%rbp), %xmm0
callq 0x66b50
jmp 0x6713c
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0xeb87(%rip), %rsi      # 0x75bbc
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x67054
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0x65450
jmp 0x6713a
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0xc910(%rip), %rsi      # 0x73973
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x67082
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0x659a0
jmp 0x67138
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0xf822(%rip), %rsi      # 0x768b3
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x670b0
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0x66440
jmp 0x67136
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0xf328(%rip), %rsi      # 0x763e7
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x67134
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
movss -0x24(%rbp), %xmm0
movl -0x28(%rbp), %edx
movq -0x48(%rbp), %rcx
movl -0x2c(%rbp), %r11d
movq -0x20(%rbp), %r10
movl -0x4c(%rbp), %eax
leaq 0x1c78e(%rip), %r8      # 0x83880
movl $0x50, %r9d
movss 0xa0ec(%rip), %xmm1     # 0x711ec
xorl %ebx, %ebx
movl %r11d, (%rsp)
movq %r10, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movl $0x0, 0x18(%rsp)
movl $0x0, 0x20(%rsp)
movl $0x0, 0x28(%rsp)
movl $0x0, 0x30(%rsp)
callq 0x4b060
jmp 0x67136
jmp 0x67138
jmp 0x6713a
jmp 0x6713c
addq $0x98, %rsp
popq %rbx
popq %rbp
retq
nopw %cs:(%rax,%rax)