// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/super.c
// Function: test_super
void test_super(char *cfgfile, char *weightfile, char *filename)
{
    network *net = load_network(cfgfile, weightfile, 0);
    set_batch_network(net, 1);
    srand(2222222);

    clock_t time;
    char buff[256];
    char *input = buff;
    while(1){
        if(filename){
            strncpy(input, filename, 256);
        }else{
            printf("Enter Image Path: ");
            fflush(stdout);
            input = fgets(input, 256, stdin);
            if(!input) return;
            strtok(input, "\n");
        }
        image im = load_image_color(input, 0, 0);
        resize_network(net, im.w, im.h);
        printf("%d %d\n", im.w, im.h);

        float *X = im.data;
        time=clock();
        network_predict(net, X);
        image out = get_network_image(net);
        printf("%s: Predicted in %f seconds.\n", input, sec(clock()-time));
        save_image(out, "out");
        show_image(out, "out", 0);

        free_image(im);
        if (filename) break;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp            # imm = 0x190
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
xorl %edx, %edx
callq 0x39a70
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
movl $0x1, %esi
callq 0x3a9b0
movl $0x21e88e, %edi         # imm = 0x21E88E
callq 0x31e0
leaq -0x130(%rbp), %rax
movq %rax, -0x138(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x5654e
movq -0x138(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl $0x100, %edx            # imm = 0x100
callq 0x3060
jmp 0x565af
leaq 0x1f39d(%rip), %rdi     # 0x758f2
movb $0x0, %al
callq 0x3130
movq 0x2ca6d(%rip), %rax     # 0x82fd0
movq (%rax), %rdi
callq 0x32e0
movq -0x138(%rbp), %rdi
movq 0x2ca5f(%rip), %rax     # 0x82fd8
movq (%rax), %rdx
movl $0x100, %esi            # imm = 0x100
callq 0x3200
movq %rax, -0x138(%rbp)
cmpq $0x0, -0x138(%rbp)
jne 0x5659c
jmp 0x566f1
movq -0x138(%rbp), %rdi
leaq 0x1f804(%rip), %rsi     # 0x75dae
callq 0x3380
movq -0x138(%rbp), %rsi
leaq -0x150(%rbp), %rdi
xorl %ecx, %ecx
movl %ecx, %edx
callq 0xf510
movq -0x20(%rbp), %rdi
movl -0x150(%rbp), %esi
movl -0x14c(%rbp), %edx
callq 0x3aa00
movl -0x150(%rbp), %esi
movl -0x14c(%rbp), %edx
leaq 0x1eb42(%rip), %rdi     # 0x75130
movb $0x0, %al
callq 0x3130
movq -0x140(%rbp), %rax
movq %rax, -0x158(%rbp)
callq 0x30f0
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rdi
movq -0x158(%rbp), %rsi
callq 0x3b160
movq -0x20(%rbp), %rsi
leaq -0x170(%rbp), %rdi
callq 0x3afe0
movq -0x138(%rbp), %rax
movq %rax, -0x178(%rbp)
callq 0x30f0
movq %rax, %rdi
subq -0x28(%rbp), %rdi
callq 0x4b50
movq -0x178(%rbp), %rsi
cvtss2sd %xmm0, %xmm0
leaq 0x1f26f(%rip), %rdi     # 0x758cc
movb $0x1, %al
callq 0x3130
leaq -0x170(%rbp), %rax
leaq 0x203e8(%rip), %rdi     # 0x76a5a
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0x11330
leaq -0x170(%rbp), %rax
leaq 0x203bc(%rip), %rdi     # 0x76a5a
xorl %esi, %esi
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0x112c0
leaq -0x150(%rbp), %rax
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xedb0
cmpq $0x0, -0x18(%rbp)
je 0x566ec
jmp 0x566f1
jmp 0x56530
addq $0x190, %rsp            # imm = 0x190
popq %rbp
retq
nopw (%rax,%rax)