// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/yolo.c
// Function: run_yolo
void run_yolo(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;
    }

    int avg = find_int_arg(argc, argv, "-avg", 1);
    char *cfg = argv[3];
    char *weights = (argc > 4) ? argv[4] : 0;
    char *filename = (argc > 5) ? argv[5]: 0;
    if(0==strcmp(argv[2], "test")) test_yolo(cfg, weights, filename, thresh);
    else if(0==strcmp(argv[2], "train")) train_yolo(cfg, weights);
    else if(0==strcmp(argv[2], "valid")) validate_yolo(cfg, weights);
    else if(0==strcmp(argv[2], "recall")) validate_yolo_recall(cfg, weights);
    else if(0==strcmp(argv[2], "demo")) demo(cfg, weights, thresh, cam_index, filename, voc_names, 20, frame_skip, prefix, avg, .5, 0,0,0,0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x88, %rsp
movl %edi, -0xc(%rbp)
movq %rsi, -0x18(%rbp)
movl -0xc(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq 0xdd3a(%rip), %rdx      # 0x7689b
xorl %eax, %eax
movl %eax, %ecx
callq 0x47a0
movq %rax, -0x20(%rbp)
movl -0xc(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq 0xdd27(%rip), %rdx      # 0x768a3
movss 0xbc5c(%rip), %xmm0     # 0x747e0
callq 0x46e0
movss %xmm0, -0x24(%rbp)
movl -0xc(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq 0xce53(%rip), %rdx      # 0x759ef
xorl %ecx, %ecx
callq 0x4630
movl %eax, -0x28(%rbp)
movl -0xc(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq 0xdcf7(%rip), %rdx      # 0x768ab
xorl %ecx, %ecx
callq 0x4630
movl %eax, -0x2c(%rbp)
cmpl $0x4, -0xc(%rbp)
jge 0x68bf0
movq 0x1a42d(%rip), %rax     # 0x82ff8
movq (%rax), %rdi
movq -0x18(%rbp), %rax
movq (%rax), %rdx
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rcx
leaq 0xccac(%rip), %rsi      # 0x75890
movb $0x0, %al
callq 0x3240
jmp 0x68dac
movl -0xc(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq 0xdcb0(%rip), %rdx      # 0x768ae
movl $0x1, %ecx
callq 0x4630
movl %eax, -0x30(%rbp)
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x38(%rbp)
cmpl $0x4, -0xc(%rbp)
jle 0x68c2b
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x50(%rbp)
jmp 0x68c33
xorl %eax, %eax
movq %rax, -0x50(%rbp)
jmp 0x68c33
movq -0x50(%rbp), %rax
movq %rax, -0x40(%rbp)
cmpl $0x5, -0xc(%rbp)
jle 0x68c4f
movq -0x18(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x58(%rbp)
jmp 0x68c57
xorl %eax, %eax
movq %rax, -0x58(%rbp)
jmp 0x68c57
movq -0x58(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0xdd2b(%rip), %rsi      # 0x76999
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x68c96
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
movq -0x48(%rbp), %rdx
movss -0x24(%rbp), %xmm0
callq 0x687c0
jmp 0x68dac
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0xcf17(%rip), %rsi      # 0x75bbc
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x68cc4
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0x67150
jmp 0x68daa
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0xaca0(%rip), %rsi      # 0x73973
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x68cf2
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0x67890
jmp 0x68da8
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0xdbb2(%rip), %rsi      # 0x768b3
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x68d20
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0x680a0
jmp 0x68da6
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
leaq 0xd6b8(%rip), %rsi      # 0x763e7
callq 0x3230
movl %eax, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jne 0x68da4
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 -0x30(%rbp), %eax
leaq 0x1aede(%rip), %r8      # 0x83c40
movl $0x14, %r9d
movss 0x847c(%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 0x68da6
jmp 0x68da8
jmp 0x68daa
jmp 0x68dac
addq $0x88, %rsp
popq %rbx
popq %rbp
retq
nopw %cs:(%rax,%rax)