LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: mask_to_rgb
image mask_to_rgb(image mask)
{
    int n = mask.c;
    image im = make_image(mask.w, mask.h, 3);
    int i, j;
    for(j = 0; j < n; ++j){
        int offset = j*123457 % n;
        float red = get_color(2,offset,n);
        float green = get_color(1,offset,n);
        float blue = get_color(0,offset,n);
        for(i = 0; i < im.w*im.h; ++i){
            im.data[i + 0*im.w*im.h] += mask.data[j*im.h*im.w + i]*red;
            im.data[i + 1*im.w*im.h] += mask.data[j*im.h*im.w + i]*green;
            im.data[i + 2*im.w*im.h] += mask.data[j*im.h*im.w + i]*blue;
        }
    }
    return im;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x38(%rbp)
movq %rdi, %rax
movq %rax, -0x30(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movl 0x8(%rax), %ecx
movl %ecx, -0x4(%rbp)
movl (%rax), %esi
movl 0x4(%rax), %edx
movl $0x3, %ecx
callq 0xe3e0
movl $0x0, -0xc(%rbp)
movl -0xc(%rbp), %eax
cmpl -0x4(%rbp), %eax
jge 0xe3cb
imull $0x1e241, -0xc(%rbp), %eax # imm = 0x1E241
cltd
idivl -0x4(%rbp)
movl %edx, -0x10(%rbp)
movl -0x10(%rbp), %esi
movl -0x4(%rbp), %edx
movl $0x2, %edi
callq 0xe160
movss %xmm0, -0x14(%rbp)
movl -0x10(%rbp), %esi
movl -0x4(%rbp), %edx
movl $0x1, %edi
callq 0xe160
movss %xmm0, -0x18(%rbp)
movl -0x10(%rbp), %esi
movl -0x4(%rbp), %edx
xorl %edi, %edi
callq 0xe160
movss %xmm0, -0x1c(%rbp)
movl $0x0, -0x8(%rbp)
movq -0x38(%rbp), %rdx
movl -0x8(%rbp), %eax
movl (%rdx), %ecx
imull 0x4(%rdx), %ecx
cmpl %ecx, %eax
jge 0xe3bb
movq -0x38(%rbp), %rsi
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rcx
movl -0xc(%rbp), %edx
imull 0x4(%rsi), %edx
imull (%rsi), %edx
addl -0x8(%rbp), %edx
movslq %edx, %rdx
movss (%rcx,%rdx,4), %xmm0
movss -0x14(%rbp), %xmm2
movq 0x10(%rsi), %rcx
movl -0x8(%rbp), %edx
imull $0x0, (%rsi), %edi
imull 0x4(%rsi), %edi
addl %edi, %edx
movslq %edx, %rdx
movss (%rcx,%rdx,4), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, (%rcx,%rdx,4)
movq 0x10(%rax), %rcx
movl -0xc(%rbp), %edx
imull 0x4(%rsi), %edx
imull (%rsi), %edx
addl -0x8(%rbp), %edx
movslq %edx, %rdx
movss (%rcx,%rdx,4), %xmm0
movss -0x18(%rbp), %xmm2
movq 0x10(%rsi), %rcx
movl -0x8(%rbp), %edx
movl (%rsi), %edi
shll $0x0, %edi
imull 0x4(%rsi), %edi
addl %edi, %edx
movslq %edx, %rdx
movss (%rcx,%rdx,4), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, (%rcx,%rdx,4)
movq 0x10(%rax), %rax
movl -0xc(%rbp), %ecx
imull 0x4(%rsi), %ecx
imull (%rsi), %ecx
addl -0x8(%rbp), %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movss -0x1c(%rbp), %xmm2
movq 0x10(%rsi), %rax
movl -0x8(%rbp), %ecx
movl (%rsi), %edx
shll %edx
imull 0x4(%rsi), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, (%rax,%rcx,4)
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0xe2c4
jmp 0xe3bd
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0xe267
movq -0x30(%rbp), %rax
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: composite_image
void composite_image(image source, image dest, int dx, int dy)
{
    int x,y,k;
    for(k = 0; k < source.c; ++k){
        for(y = 0; y < source.h; ++y){
            for(x = 0; x < source.w; ++x){
                float val = get_pixel(source, x, y, k);
                float val2 = get_pixel_extend(dest, dx+x, dy+y, k);
                set_pixel(dest, dx+x, dy+y, k, val * val2);
            }
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
leaq 0x28(%rbp), %rax
movq %rax, -0x30(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movl $0x0, -0x14(%rbp)
movq -0x28(%rbp), %rcx
movl -0x14(%rbp), %eax
cmpl 0x8(%rcx), %eax
jge 0xe571
movl $0x0, -0x10(%rbp)
movq -0x28(%rbp), %rcx
movl -0x10(%rbp), %eax
cmpl 0x4(%rcx), %eax
jge 0xe561
movl $0x0, -0xc(%rbp)
movq -0x28(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl (%rcx), %eax
jge 0xe551
movq -0x28(%rbp), %rax
movl -0xc(%rbp), %edi
movl -0x10(%rbp), %esi
movl -0x14(%rbp), %edx
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xe580
movq -0x30(%rbp), %rax
movss %xmm0, -0x18(%rbp)
movl -0x4(%rbp), %edi
addl -0xc(%rbp), %edi
movl -0x8(%rbp), %esi
addl -0x10(%rbp), %esi
movl -0x14(%rbp), %edx
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xe610
movq -0x30(%rbp), %rax
movss %xmm0, -0x1c(%rbp)
movl -0x4(%rbp), %edi
addl -0xc(%rbp), %edi
movl -0x8(%rbp), %esi
addl -0x10(%rbp), %esi
movl -0x14(%rbp), %edx
movss -0x18(%rbp), %xmm0
mulss -0x1c(%rbp), %xmm0
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xe6b0
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0xe493
jmp 0xe553
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0xe47c
jmp 0xe563
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0xe465
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: get_pixel_extend
static float get_pixel_extend(image m, int x, int y, int c)
{
    if(x < 0 || x >= m.w || y < 0 || y >= m.h) return 0;
    /*
    if(x < 0) x = 0;
    if(x >= m.w) x = m.w-1;
    if(y < 0) y = 0;
    if(y >= m.h) y = m.h-1;
    */
    if(c < 0 || c >= m.c) return 0;
    return get_pixel(m, x, y, c);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movl %edi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
cmpl $0x0, -0x8(%rbp)
jl 0xe64c
movq -0x18(%rbp), %rcx
movl -0x8(%rbp), %eax
cmpl (%rcx), %eax
jge 0xe64c
cmpl $0x0, -0xc(%rbp)
jl 0xe64c
movq -0x18(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x4(%rcx), %eax
jl 0xe656
xorps %xmm0, %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0xe6a2
cmpl $0x0, -0x10(%rbp)
jl 0xe668
movq -0x18(%rbp), %rcx
movl -0x10(%rbp), %eax
cmpl 0x8(%rcx), %eax
jl 0xe672
xorps %xmm0, %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0xe6a2
movq -0x18(%rbp), %rax
movl -0x8(%rbp), %edi
movl -0xc(%rbp), %esi
movl -0x10(%rbp), %edx
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xe580
movss %xmm0, -0x4(%rbp)
movss -0x4(%rbp), %xmm0
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: border_image
image border_image(image a, int border)
{
    image b = make_image(a.w + 2*border, a.h + 2*border, a.c);
    int x,y,k;
    for(k = 0; k < b.c; ++k){
        for(y = 0; y < b.h; ++y){
            for(x = 0; x < b.w; ++x){
                float val = get_pixel_extend(a, x - border, y - border, k);
                if(x - border < 0 || x - border >= a.w || y - border < 0 || y - border >= a.h) val = 1;
                set_pixel(b, x, y, k, val);
            }
        }
    }
    return b;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x30(%rbp)
movq %rdi, %rax
movq %rax, -0x28(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movl %esi, -0x4(%rbp)
movl (%rax), %esi
movl -0x4(%rbp), %ecx
shll %ecx
addl %ecx, %esi
movl 0x4(%rax), %edx
movl -0x4(%rbp), %ecx
shll %ecx
addl %ecx, %edx
movl 0x8(%rax), %ecx
callq 0xe3e0
movl $0x0, -0x10(%rbp)
movq -0x30(%rbp), %rcx
movl -0x10(%rbp), %eax
cmpl 0x8(%rcx), %eax
jge 0xe8d1
movl $0x0, -0xc(%rbp)
movq -0x30(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x4(%rcx), %eax
jge 0xe8c1
movl $0x0, -0x8(%rbp)
movq -0x30(%rbp), %rcx
movl -0x8(%rbp), %eax
cmpl (%rcx), %eax
jge 0xe8b1
movq -0x20(%rbp), %rax
movl -0x8(%rbp), %edi
subl -0x4(%rbp), %edi
movl -0xc(%rbp), %esi
subl -0x4(%rbp), %esi
movl -0x10(%rbp), %edx
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xe610
movss %xmm0, -0x14(%rbp)
movl -0x8(%rbp), %eax
subl -0x4(%rbp), %eax
cmpl $0x0, %eax
jl 0xe866
movq -0x20(%rbp), %rcx
movl -0x8(%rbp), %eax
subl -0x4(%rbp), %eax
cmpl (%rcx), %eax
jge 0xe866
movl -0xc(%rbp), %eax
subl -0x4(%rbp), %eax
cmpl $0x0, %eax
jl 0xe866
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
subl -0x4(%rbp), %eax
cmpl 0x4(%rcx), %eax
jl 0xe873
movss 0x6279e(%rip), %xmm0    # 0x7100c
movss %xmm0, -0x14(%rbp)
movq -0x30(%rbp), %rax
movl -0x8(%rbp), %edi
movl -0xc(%rbp), %esi
movl -0x10(%rbp), %edx
movss -0x14(%rbp), %xmm0
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xe6b0
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0xe7ee
jmp 0xe8b3
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0xe7d7
jmp 0xe8c3
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0xe7c0
movq -0x28(%rbp), %rax
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: tile_images
image tile_images(image a, image b, int dx)
{
    if(a.w == 0) return copy_image(b);
    image c = make_image(a.w + b.w + dx, (a.h > b.h) ? a.h : b.h, (a.c > b.c) ? a.c : b.c);
    fill_cpu(c.w*c.h*c.c, 1, c.data, 1);
    embed_image(a, c, 0, 0); 
    composite_image(b, c, a.w + dx, 0);
    return c;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x28(%rbp)
movq %rdi, -0x20(%rbp)
leaq 0x28(%rbp), %rax
movq %rax, -0x18(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x10(%rbp)
movl %esi, -0x4(%rbp)
cmpl $0x0, (%rax)
jne 0xe933
movq -0x18(%rbp), %rax
movq -0x28(%rbp), %rdi
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xea60
jmp 0xea54
movq -0x18(%rbp), %rcx
movq -0x10(%rbp), %rax
movl (%rax), %edx
addl (%rcx), %edx
addl -0x4(%rbp), %edx
movl %edx, -0x2c(%rbp)
movl 0x4(%rax), %eax
cmpl 0x4(%rcx), %eax
jle 0xe959
movq -0x10(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0x30(%rbp)
jmp 0xe963
movq -0x18(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0x30(%rbp)
movq -0x18(%rbp), %rcx
movq -0x10(%rbp), %rax
movl -0x30(%rbp), %edx
movl %edx, -0x34(%rbp)
movl 0x8(%rax), %eax
cmpl 0x8(%rcx), %eax
jle 0xe985
movq -0x10(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x38(%rbp)
jmp 0xe98f
movq -0x18(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x38(%rbp)
movq -0x28(%rbp), %rdi
movl -0x34(%rbp), %edx
movl -0x2c(%rbp), %esi
movl -0x38(%rbp), %ecx
callq 0xe3e0
movq -0x28(%rbp), %rax
movl (%rax), %edi
imull 0x4(%rax), %edi
imull 0x8(%rax), %edi
movq 0x10(%rax), %rsi
movss 0x62651(%rip), %xmm0    # 0x7100c
movl $0x1, %edx
callq 0x2f740
movq -0x10(%rbp), %rcx
movq -0x28(%rbp), %rax
xorl %esi, %esi
movq (%rcx), %rdx
movq %rdx, (%rsp)
movq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rsp)
movq 0x10(%rcx), %rcx
movq %rcx, 0x10(%rsp)
movq (%rax), %rcx
movq %rcx, 0x18(%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x20(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x28(%rsp)
movl %esi, %edi
callq 0xeae0
movq -0x10(%rbp), %rdx
movq -0x18(%rbp), %rcx
movq -0x28(%rbp), %rax
movl (%rdx), %edi
addl -0x4(%rbp), %edi
xorl %esi, %esi
movq (%rcx), %rdx
movq %rdx, (%rsp)
movq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rsp)
movq 0x10(%rcx), %rcx
movq %rcx, 0x10(%rsp)
movq (%rax), %rcx
movq %rcx, 0x18(%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x20(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x28(%rsp)
callq 0xe440
movq -0x20(%rbp), %rax
addq $0x70, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: copy_image
image copy_image(image p)
{
    image copy = p;
    copy.data = calloc(p.h*p.w*p.c, sizeof(float));
    memcpy(copy.data, p.data, p.h*p.w*p.c*sizeof(float));
    return copy;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x18(%rbp)
movq %rdi, %rax
movq %rax, -0x8(%rbp)
leaq 0x10(%rbp), %rcx
movq %rcx, -0x10(%rbp)
movq (%rcx), %rax
movq %rax, (%rdi)
movq 0x8(%rcx), %rax
movq %rax, 0x8(%rdi)
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rdi)
movl 0x4(%rcx), %eax
imull (%rcx), %eax
imull 0x8(%rcx), %eax
movslq %eax, %rdi
movl $0x4, %esi
callq 0x3220
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rcx
movq %rax, 0x10(%rdi)
movq 0x10(%rdi), %rdi
movq 0x10(%rcx), %rsi
movl 0x4(%rcx), %eax
imull (%rcx), %eax
imull 0x8(%rcx), %eax
movslq %eax, %rdx
shlq $0x2, %rdx
callq 0x3280
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: embed_image
void embed_image(image source, image dest, int dx, int dy)
{
    int x,y,k;
    for(k = 0; k < source.c; ++k){
        for(y = 0; y < source.h; ++y){
            for(x = 0; x < source.w; ++x){
                float val = get_pixel(source, x,y,k);
                set_pixel(dest, dx+x, dy+y, k, val);
            }
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
leaq 0x28(%rbp), %rax
movq %rax, -0x28(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movl $0x0, -0x14(%rbp)
movq -0x20(%rbp), %rcx
movl -0x14(%rbp), %eax
cmpl 0x8(%rcx), %eax
jge 0xebcf
movl $0x0, -0x10(%rbp)
movq -0x20(%rbp), %rcx
movl -0x10(%rbp), %eax
cmpl 0x4(%rcx), %eax
jge 0xebbf
movl $0x0, -0xc(%rbp)
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl (%rcx), %eax
jge 0xebaf
movq -0x20(%rbp), %rax
movl -0xc(%rbp), %edi
movl -0x10(%rbp), %esi
movl -0x14(%rbp), %edx
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xe580
movq -0x28(%rbp), %rax
movss %xmm0, -0x18(%rbp)
movl -0x4(%rbp), %edi
addl -0xc(%rbp), %edi
movl -0x8(%rbp), %esi
addl -0x10(%rbp), %esi
movl -0x14(%rbp), %edx
movss -0x18(%rbp), %xmm0
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xe6b0
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0xeb33
jmp 0xebb1
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0xeb1c
jmp 0xebc1
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0xeb05
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: get_label
image get_label(image **characters, char *string, int size)
{
    size = size/10;
    if(size > 7) size = 7;
    image label = make_empty_image(0,0,0);
    while(*string){
        image l = characters[size][(int)*string];
        image n = tile_images(label, l, -size - 1 + (size+1)/2);
        free_image(label);
        label = n;
        ++string;
    }
    image b = border_image(label, label.h*.25);
    free_image(label);
    return b;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x70(%rbp)
movq %rdi, -0x68(%rbp)
movq %rsi, -0x8(%rbp)
movq %rdx, -0x10(%rbp)
movl %ecx, -0x14(%rbp)
movl -0x14(%rbp), %eax
movl $0xa, %ecx
cltd
idivl %ecx
movl %eax, -0x14(%rbp)
cmpl $0x7, -0x14(%rbp)
jle 0xec19
movl $0x7, -0x14(%rbp)
leaq -0x30(%rbp), %rdi
xorl %ecx, %ecx
movl %ecx, %esi
movl %ecx, %edx
callq 0xed80
movq -0x10(%rbp), %rax
cmpb $0x0, (%rax)
je 0xed10
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x10(%rbp), %rcx
movsbl (%rcx), %ecx
movslq %ecx, %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq %rcx, -0x48(%rbp)
movq 0x8(%rax), %rcx
movq %rcx, -0x40(%rbp)
movq 0x10(%rax), %rax
movq %rax, -0x38(%rbp)
xorl %esi, %esi
subl -0x14(%rbp), %esi
subl $0x1, %esi
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl %eax, %esi
leaq -0x60(%rbp), %rdi
leaq -0x30(%rbp), %rcx
leaq -0x48(%rbp), %rax
movq (%rcx), %rdx
movq %rdx, (%rsp)
movq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rsp)
movq 0x10(%rcx), %rcx
movq %rcx, 0x10(%rsp)
movq (%rax), %rcx
movq %rcx, 0x18(%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x20(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x28(%rsp)
callq 0xe8e0
leaq -0x30(%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
movq -0x60(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0xec28
movq -0x70(%rbp), %rdi
cvtsi2sdl -0x2c(%rbp), %xmm0
movsd 0x6410f(%rip), %xmm1    # 0x72e30
mulsd %xmm1, %xmm0
cvttsd2si %xmm0, %esi
leaq -0x30(%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 0xe780
leaq -0x30(%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
movq -0x68(%rbp), %rax
addq $0xa0, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: make_empty_image
image make_empty_image(int w, int h, int c)
{
    image out;
    out.data = 0;
    out.h = h;
    out.w = w;
    out.c = c;
    return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, %rax
movl %esi, -0x4(%rbp)
movl %edx, -0x8(%rbp)
movl %ecx, -0xc(%rbp)
movq $0x0, 0x10(%rdi)
movl -0x8(%rbp), %ecx
movl %ecx, 0x4(%rdi)
movl -0x4(%rbp), %ecx
movl %ecx, (%rdi)
movl -0xc(%rbp), %ecx
movl %ecx, 0x8(%rdi)
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: draw_label
void draw_label(image a, int r, int c, image label, const float *rgb)
{
    int w = label.w;
    int h = label.h;
    if (r - h >= 0) r = r - h;

    int i, j, k;
    for(j = 0; j < h && j + r < a.h; ++j){
        for(i = 0; i < w && i + c < a.w; ++i){
            for(k = 0; k < label.c; ++k){
                float val = get_pixel(label, i, j, k);
                set_pixel(a, i+c, j+r, k, rgb[k] * val);
            }
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
leaq 0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq 0x10(%rbp), %rcx
movq %rcx, -0x30(%rbp)
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movq %rdx, -0x10(%rbp)
movl (%rax), %ecx
movl %ecx, -0x14(%rbp)
movl 0x4(%rax), %eax
movl %eax, -0x18(%rbp)
movl -0x4(%rbp), %eax
subl -0x18(%rbp), %eax
cmpl $0x0, %eax
jl 0xee21
movl -0x4(%rbp), %eax
subl -0x18(%rbp), %eax
movl %eax, -0x4(%rbp)
movl $0x0, -0x20(%rbp)
movl -0x20(%rbp), %ecx
xorl %eax, %eax
cmpl -0x18(%rbp), %ecx
movb %al, -0x39(%rbp)
jge 0xee48
movq -0x30(%rbp), %rcx
movl -0x20(%rbp), %eax
addl -0x4(%rbp), %eax
cmpl 0x4(%rcx), %eax
setl %al
movb %al, -0x39(%rbp)
movb -0x39(%rbp), %al
testb $0x1, %al
jne 0xee54
jmp 0xef3f
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %ecx
xorl %eax, %eax
cmpl -0x14(%rbp), %ecx
movb %al, -0x3a(%rbp)
jge 0xee7a
movq -0x30(%rbp), %rcx
movl -0x1c(%rbp), %eax
addl -0x8(%rbp), %eax
cmpl (%rcx), %eax
setl %al
movb %al, -0x3a(%rbp)
movb -0x3a(%rbp), %al
testb $0x1, %al
jne 0xee86
jmp 0xef2f
movl $0x0, -0x24(%rbp)
movq -0x38(%rbp), %rcx
movl -0x24(%rbp), %eax
cmpl 0x8(%rcx), %eax
jge 0xef1f
movq -0x38(%rbp), %rax
movl -0x1c(%rbp), %edi
movl -0x20(%rbp), %esi
movl -0x24(%rbp), %edx
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xe580
movq -0x30(%rbp), %rax
movss %xmm0, -0x28(%rbp)
movl -0x1c(%rbp), %edi
addl -0x8(%rbp), %edi
movl -0x20(%rbp), %esi
addl -0x4(%rbp), %esi
movl -0x24(%rbp), %edx
movq -0x10(%rbp), %rcx
movslq -0x24(%rbp), %r8
movss (%rcx,%r8,4), %xmm0
mulss -0x28(%rbp), %xmm0
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xe6b0
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0xee8d
jmp 0xef21
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0xee5b
jmp 0xef31
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0xee28
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: draw_bbox
void draw_bbox(image a, box bbox, int w, float r, float g, float b)
{
    int left  = (bbox.x-bbox.w/2)*a.w;
    int right = (bbox.x+bbox.w/2)*a.w;
    int top   = (bbox.y-bbox.h/2)*a.h;
    int bot   = (bbox.y+bbox.h/2)*a.h;

    int i;
    for(i = 0; i < w; ++i){
        draw_box(a, left+i, top+i, right-i, bot-i, r, g, b);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movlpd %xmm0, -0x10(%rbp)
movlpd %xmm1, -0x8(%rbp)
movl %edi, -0x14(%rbp)
movss %xmm2, -0x18(%rbp)
movss %xmm3, -0x1c(%rbp)
movss %xmm4, -0x20(%rbp)
movss -0x10(%rbp), %xmm0
movss -0x8(%rbp), %xmm1
movss 0x61f12(%rip), %xmm2    # 0x71210
divss %xmm2, %xmm1
subss %xmm1, %xmm0
cvtsi2ssl (%rax), %xmm1
mulss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movl %ecx, -0x24(%rbp)
movss -0x10(%rbp), %xmm0
movss -0x8(%rbp), %xmm1
movss 0x61ee9(%rip), %xmm2    # 0x71210
divss %xmm2, %xmm1
addss %xmm1, %xmm0
cvtsi2ssl (%rax), %xmm1
mulss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movl %ecx, -0x28(%rbp)
movss -0xc(%rbp), %xmm0
movss -0x4(%rbp), %xmm1
movss 0x61ec0(%rip), %xmm2    # 0x71210
divss %xmm2, %xmm1
subss %xmm1, %xmm0
cvtsi2ssl 0x4(%rax), %xmm1
mulss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movl %ecx, -0x2c(%rbp)
movss -0xc(%rbp), %xmm0
movss -0x4(%rbp), %xmm1
movss 0x61e96(%rip), %xmm2    # 0x71210
divss %xmm2, %xmm1
addss %xmm1, %xmm0
cvtsi2ssl 0x4(%rax), %xmm1
mulss %xmm1, %xmm0
cvttss2si %xmm0, %eax
movl %eax, -0x30(%rbp)
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0xf3f5
movq -0x40(%rbp), %rax
movl -0x24(%rbp), %edi
addl -0x34(%rbp), %edi
movl -0x2c(%rbp), %esi
addl -0x34(%rbp), %esi
movl -0x28(%rbp), %edx
subl -0x34(%rbp), %edx
movl -0x30(%rbp), %ecx
subl -0x34(%rbp), %ecx
movss -0x18(%rbp), %xmm0
movss -0x1c(%rbp), %xmm1
movss -0x20(%rbp), %xmm2
movq (%rax), %r8
movq %r8, (%rsp)
movq 0x8(%rax), %r8
movq %r8, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xef50
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xf399
addq $0x60, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: load_alphabet
image **load_alphabet()
{
    int i, j;
    const int nsize = 8;
    image **alphabets = calloc(nsize, sizeof(image));
    for(j = 0; j < nsize; ++j){
        alphabets[j] = calloc(128, sizeof(image));
        for(i = 32; i < 127; ++i){
            char buff[256];
            sprintf(buff, "data/labels/%d_%d.png", i, j);
            alphabets[j][i] = load_image_color(buff, 0, 0);
        }
    }
    return alphabets;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
movl $0x8, -0xc(%rbp)
movl $0x8, %edi
movl $0x18, %esi
callq 0x3220
movq %rax, -0x18(%rbp)
movl $0x0, -0x8(%rbp)
cmpl $0x8, -0x8(%rbp)
jge 0xf4fa
movl $0x80, %edi
movl $0x18, %esi
callq 0x3220
movq %rax, %rdx
movq -0x18(%rbp), %rax
movslq -0x8(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl $0x20, -0x4(%rbp)
cmpl $0x7f, -0x4(%rbp)
jge 0xf4ea
leaq -0x120(%rbp), %rdi
movl -0x4(%rbp), %edx
movl -0x8(%rbp), %ecx
leaq 0x63c01(%rip), %rsi     # 0x7307a
movb $0x0, %al
callq 0x33f0
movq -0x18(%rbp), %rax
movslq -0x8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x4(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x140(%rbp)
leaq -0x120(%rbp), %rsi
leaq -0x138(%rbp), %rdi
xorl %ecx, %ecx
movl %ecx, %edx
callq 0xf510
movq -0x140(%rbp), %rax
movq -0x138(%rbp), %rcx
movq %rcx, (%rax)
movq -0x130(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x128(%rbp), %rcx
movq %rcx, 0x10(%rax)
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0xf45b
jmp 0xf4ec
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0xf42c
movq -0x18(%rbp), %rax
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: threshold_image
image threshold_image(image im, float thresh)
{
    int i;
    image t = make_image(im.w, im.h, im.c);
    for(i = 0; i < im.w*im.h*im.c; ++i){
        t.data[i] = im.data[i]>thresh ? 1 : 0;
    }
    return t;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x20(%rbp)
movq %rdi, %rax
movq %rax, -0x18(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x10(%rbp)
movss %xmm0, -0x4(%rbp)
movl (%rax), %esi
movl 0x4(%rax), %edx
movl 0x8(%rax), %ecx
callq 0xe3e0
movl $0x0, -0x8(%rbp)
movq -0x10(%rbp), %rdx
movl -0x8(%rbp), %eax
movl (%rdx), %ecx
imull 0x4(%rdx), %ecx
imull 0x8(%rdx), %ecx
cmpl %ecx, %eax
jge 0x100cc
movq -0x20(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0x10(%rcx), %rcx
movslq -0x8(%rbp), %rdx
movss (%rcx,%rdx,4), %xmm0
movss -0x4(%rbp), %xmm1
xorl %ecx, %ecx
movl $0x1, %edx
ucomiss %xmm1, %xmm0
cmoval %edx, %ecx
cvtsi2ss %ecx, %xmm0
movq 0x10(%rax), %rax
movslq -0x8(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x10074
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: transpose_image
void transpose_image(image im)
{
    assert(im.w == im.h);
    int n, m;
    int c;
    for(c = 0; c < im.c; ++c){
        for(n = 0; n < im.w-1; ++n){
            for(m = n + 1; m < im.w; ++m){
                float swap = im.data[m + im.w*(n + im.h*c)];
                im.data[m + im.w*(n + im.h*c)] = im.data[n + im.w*(m + im.h*c)];
                im.data[n + im.w*(m + im.h*c)] = swap;
            }
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
leaq 0x10(%rbp), %rcx
movq %rcx, -0x18(%rbp)
movl (%rcx), %eax
cmpl 0x4(%rcx), %eax
jne 0x100f9
jmp 0x10118
leaq 0x62f9c(%rip), %rdi     # 0x7309c
leaq 0x62fa2(%rip), %rsi     # 0x730a9
movl $0x13a, %edx            # imm = 0x13A
leaq 0x62f9e(%rip), %rcx     # 0x730b1
callq 0x3180
movl $0x0, -0xc(%rbp)
movq -0x18(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x8(%rcx), %eax
jge 0x1022f
movl $0x0, -0x4(%rbp)
movq -0x18(%rbp), %rcx
movl -0x4(%rbp), %eax
movl (%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x1021f
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
movq -0x18(%rbp), %rcx
movl -0x8(%rbp), %eax
cmpl (%rcx), %eax
jge 0x1020f
movq -0x18(%rbp), %rdi
movq 0x10(%rdi), %rax
movl -0x8(%rbp), %ecx
movl (%rdi), %edx
movl -0x4(%rbp), %esi
movl 0x4(%rdi), %r8d
imull -0xc(%rbp), %r8d
addl %r8d, %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, -0x10(%rbp)
movq 0x10(%rdi), %rax
movl -0x4(%rbp), %ecx
movl (%rdi), %edx
movl -0x8(%rbp), %esi
movl 0x4(%rdi), %r8d
imull -0xc(%rbp), %r8d
addl %r8d, %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movq 0x10(%rdi), %rax
movl -0x8(%rbp), %ecx
movl (%rdi), %edx
movl -0x4(%rbp), %esi
movl 0x4(%rdi), %r8d
imull -0xc(%rbp), %r8d
addl %r8d, %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movss -0x10(%rbp), %xmm0
movq 0x10(%rdi), %rax
movl -0x4(%rbp), %ecx
movl (%rdi), %edx
movl -0x8(%rbp), %esi
movl 0x4(%rdi), %edi
imull -0xc(%rbp), %edi
addl %edi, %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x10153
jmp 0x10211
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x10136
jmp 0x10221
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x1011f
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: flip_image
void flip_image(image a)
{
    int i,j,k;
    for(k = 0; k < a.c; ++k){
        for(i = 0; i < a.h; ++i){
            for(j = 0; j < a.w/2; ++j){
                int index = j + a.w*(i + a.h*(k));
                int flip = (a.w - j - 1) + a.w*(i + a.h*(k));
                float swap = a.data[flip];
                a.data[flip] = a.data[index];
                a.data[index] = swap;
            }
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movl $0x0, -0xc(%rbp)
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x8(%rcx), %eax
jge 0x105c9
movl $0x0, -0x4(%rbp)
movq -0x20(%rbp), %rcx
movl -0x4(%rbp), %eax
cmpl 0x4(%rcx), %eax
jge 0x105b9
movl $0x0, -0x8(%rbp)
movq -0x20(%rbp), %rax
movl -0x8(%rbp), %ecx
movl %ecx, -0x24(%rbp)
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x24(%rbp), %eax
cmpl %ecx, %eax
jge 0x105a9
movq -0x20(%rbp), %rax
movl -0x8(%rbp), %ecx
movl (%rax), %edx
movl -0x4(%rbp), %esi
movl 0x4(%rax), %edi
imull -0xc(%rbp), %edi
addl %edi, %esi
imull %esi, %edx
addl %edx, %ecx
movl %ecx, -0x10(%rbp)
movl (%rax), %ecx
subl -0x8(%rbp), %ecx
subl $0x1, %ecx
movl (%rax), %edx
movl -0x4(%rbp), %esi
movl 0x4(%rax), %edi
imull -0xc(%rbp), %edi
addl %edi, %esi
imull %esi, %edx
addl %edx, %ecx
movl %ecx, -0x14(%rbp)
movq 0x10(%rax), %rcx
movslq -0x14(%rbp), %rdx
movss (%rcx,%rdx,4), %xmm0
movss %xmm0, -0x18(%rbp)
movq 0x10(%rax), %rcx
movslq -0x10(%rbp), %rdx
movss (%rcx,%rdx,4), %xmm0
movq 0x10(%rax), %rcx
movslq -0x14(%rbp), %rdx
movss %xmm0, (%rcx,%rdx,4)
movss -0x18(%rbp), %xmm0
movq 0x10(%rax), %rax
movslq -0x10(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x10501
jmp 0x105ab
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x104ea
jmp 0x105bb
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x104d3
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: image_distance
image image_distance(image a, image b)
{
    int i,j;
    image dist = make_image(a.w, a.h, 1);
    for(i = 0; i < a.c; ++i){
        for(j = 0; j < a.h*a.w; ++j){
            dist.data[j] += pow(a.data[i*a.h*a.w+j]-b.data[i*a.h*a.w+j],2);
        }
    }
    for(j = 0; j < a.h*a.w; ++j){
        dist.data[j] = sqrt(dist.data[j]);
    }
    return dist;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x28(%rbp)
movq %rdi, %rax
movq %rax, -0x20(%rbp)
leaq 0x28(%rbp), %rax
movq %rax, -0x18(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x10(%rbp)
movl (%rax), %esi
movl 0x4(%rax), %edx
movl $0x1, %ecx
callq 0xe3e0
movl $0x0, -0x4(%rbp)
movq -0x10(%rbp), %rcx
movl -0x4(%rbp), %eax
cmpl 0x8(%rcx), %eax
jge 0x106bf
movl $0x0, -0x8(%rbp)
movq -0x10(%rbp), %rdx
movl -0x8(%rbp), %eax
movl 0x4(%rdx), %ecx
imull (%rdx), %ecx
cmpl %ecx, %eax
jge 0x106af
movq -0x10(%rbp), %rdx
movq -0x18(%rbp), %rax
movq 0x10(%rdx), %rcx
movl -0x4(%rbp), %esi
imull 0x4(%rdx), %esi
imull (%rdx), %esi
addl -0x8(%rbp), %esi
movslq %esi, %rsi
movss (%rcx,%rsi,4), %xmm0
movq 0x10(%rax), %rax
movl -0x4(%rbp), %ecx
imull 0x4(%rdx), %ecx
imull (%rdx), %ecx
addl -0x8(%rbp), %ecx
movslq %ecx, %rcx
subss (%rax,%rcx,4), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x609e1(%rip), %xmm1    # 0x71058
callq 0x30e0
movq -0x28(%rbp), %rax
movaps %xmm0, %xmm1
movq 0x10(%rax), %rax
movslq -0x8(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
cvtss2sd %xmm0, %xmm0
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x10620
jmp 0x106b1
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x10609
movl $0x0, -0x8(%rbp)
movq -0x10(%rbp), %rdx
movl -0x8(%rbp), %eax
movl 0x4(%rdx), %ecx
imull (%rdx), %ecx
cmpl %ecx, %eax
jge 0x10711
movq -0x28(%rbp), %rax
movq 0x10(%rax), %rax
movslq -0x8(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
cvtss2sd %xmm0, %xmm0
callq 0x3430
movq -0x28(%rbp), %rax
cvtsd2ss %xmm0, %xmm0
movq 0x10(%rax), %rax
movslq -0x8(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x106c6
movq -0x20(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: blocky_image
void blocky_image(image im, int s)
{
    int i,j,k;
    for(k = 0; k < im.c; ++k){
        for(j = 0; j < im.h; ++j){
            for(i = 0; i < im.w; ++i){
                im.data[i + im.w*(j + im.h*k)] = im.data[i/s*s + im.w*(j/s*s + im.h*k)];
            }
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movl %edi, -0x4(%rbp)
movl $0x0, -0x10(%rbp)
movq -0x18(%rbp), %rcx
movl -0x10(%rbp), %eax
cmpl 0x8(%rcx), %eax
jge 0x10a9a
movl $0x0, -0xc(%rbp)
movq -0x18(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x4(%rcx), %eax
jge 0x10a8a
movl $0x0, -0x8(%rbp)
movq -0x18(%rbp), %rcx
movl -0x8(%rbp), %eax
cmpl (%rcx), %eax
jge 0x10a7a
movq -0x18(%rbp), %rdi
movq 0x10(%rdi), %rax
movq %rax, -0x20(%rbp)
movl -0x8(%rbp), %eax
cltd
idivl -0x4(%rbp)
movl %eax, %ecx
imull -0x4(%rbp), %ecx
movl (%rdi), %eax
movl %eax, -0x24(%rbp)
movl -0xc(%rbp), %eax
cltd
idivl -0x4(%rbp)
movl -0x24(%rbp), %edx
movl %eax, %esi
movq -0x20(%rbp), %rax
imull -0x4(%rbp), %esi
movl 0x4(%rdi), %r8d
imull -0x10(%rbp), %r8d
addl %r8d, %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movq 0x10(%rdi), %rax
movl -0x8(%rbp), %ecx
movl (%rdi), %edx
movl -0xc(%rbp), %esi
movl 0x4(%rdi), %edi
imull -0x10(%rbp), %edi
addl %edi, %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x109f4
jmp 0x10a7c
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x109dd
jmp 0x10a8c
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x109c6
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: censor_image
void censor_image(image im, int dx, int dy, int w, int h)
{
    int i,j,k;
    int s = 32;
    if(dx < 0) dx = 0;
    if(dy < 0) dy = 0;

    for(k = 0; k < im.c; ++k){
        for(j = dy; j < dy + h && j < im.h; ++j){
            for(i = dx; i < dx + w && i < im.w; ++i){
                im.data[i + im.w*(j + im.h*k)] = im.data[i/s*s + im.w*(j/s*s + im.h*k)];
                //im.data[i + j*im.w + k*im.w*im.h] = 0;
            }
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movl %edx, -0xc(%rbp)
movl %ecx, -0x10(%rbp)
movl $0x20, -0x20(%rbp)
cmpl $0x0, -0x4(%rbp)
jge 0x10acc
movl $0x0, -0x4(%rbp)
cmpl $0x0, -0x8(%rbp)
jge 0x10ad9
movl $0x0, -0x8(%rbp)
movl $0x0, -0x1c(%rbp)
movq -0x28(%rbp), %rcx
movl -0x1c(%rbp), %eax
cmpl 0x8(%rcx), %eax
jge 0x10bef
movl -0x8(%rbp), %eax
movl %eax, -0x18(%rbp)
movl -0x18(%rbp), %ecx
movl -0x8(%rbp), %edx
addl -0x10(%rbp), %edx
xorl %eax, %eax
cmpl %edx, %ecx
movb %al, -0x29(%rbp)
jge 0x10b18
movq -0x28(%rbp), %rcx
movl -0x18(%rbp), %eax
cmpl 0x4(%rcx), %eax
setl %al
movb %al, -0x29(%rbp)
movb -0x29(%rbp), %al
testb $0x1, %al
jne 0x10b24
jmp 0x10bdf
movl -0x4(%rbp), %eax
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %ecx
movl -0x4(%rbp), %edx
addl -0xc(%rbp), %edx
xorl %eax, %eax
cmpl %edx, %ecx
movb %al, -0x2a(%rbp)
jge 0x10b4b
movq -0x28(%rbp), %rcx
movl -0x14(%rbp), %eax
cmpl (%rcx), %eax
setl %al
movb %al, -0x2a(%rbp)
movb -0x2a(%rbp), %al
testb $0x1, %al
jne 0x10b54
jmp 0x10bcf
movq -0x28(%rbp), %rdi
movq 0x10(%rdi), %rax
movq %rax, -0x38(%rbp)
movl -0x14(%rbp), %eax
cltd
idivl -0x20(%rbp)
movl %eax, %ecx
imull -0x20(%rbp), %ecx
movl (%rdi), %eax
movl %eax, -0x3c(%rbp)
movl -0x18(%rbp), %eax
cltd
idivl -0x20(%rbp)
movl -0x3c(%rbp), %edx
movl %eax, %esi
movq -0x38(%rbp), %rax
imull -0x20(%rbp), %esi
movl 0x4(%rdi), %r8d
imull -0x1c(%rbp), %r8d
addl %r8d, %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movq 0x10(%rdi), %rax
movl -0x14(%rbp), %ecx
movl (%rdi), %edx
movl -0x18(%rbp), %esi
movl 0x4(%rdi), %edi
imull -0x1c(%rbp), %edi
addl %edi, %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x10b2a
jmp 0x10bd1
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x10af6
jmp 0x10be1
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x10ae0
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: collapse_image_layers
image collapse_image_layers(image source, int border)
{
    int h = source.h;
    h = (h+border)*source.c - border;
    image dest = make_image(source.w, h, 1);
    int i;
    for(i = 0; i < source.c; ++i){
        image layer = get_image_layer(source, i);
        int h_offset = i*(source.h+border);
        embed_image(layer, dest, 0, h_offset);
        free_image(layer);
    }
    return dest;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x48(%rbp)
movq %rdi, %rax
movq %rax, -0x40(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movl %esi, -0x4(%rbp)
movl 0x4(%rax), %ecx
movl %ecx, -0x8(%rbp)
movl -0x8(%rbp), %ecx
addl -0x4(%rbp), %ecx
imull 0x8(%rax), %ecx
subl -0x4(%rbp), %ecx
movl %ecx, -0x8(%rbp)
movl (%rax), %esi
movl -0x8(%rbp), %edx
movl $0x1, %ecx
callq 0xe3e0
movl $0x0, -0xc(%rbp)
movq -0x38(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x8(%rcx), %eax
jge 0x10d0e
movq -0x38(%rbp), %rax
movl -0xc(%rbp), %esi
leaq -0x28(%rbp), %rdi
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0x10d20
movq -0x38(%rbp), %rdx
movq -0x48(%rbp), %rax
movl -0xc(%rbp), %ecx
movl 0x4(%rdx), %edx
addl -0x4(%rbp), %edx
imull %edx, %ecx
movl %ecx, -0x2c(%rbp)
movl -0x2c(%rbp), %esi
leaq -0x28(%rbp), %rcx
xorl %edi, %edi
movq (%rcx), %rdx
movq %rdx, (%rsp)
movq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rsp)
movq 0x10(%rcx), %rcx
movq %rcx, 0x10(%rsp)
movq (%rax), %rcx
movq %rcx, 0x18(%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x20(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x28(%rsp)
callq 0xeae0
leaq -0x28(%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
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x10c4d
movq -0x40(%rbp), %rax
addq $0x80, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: get_image_layer
image get_image_layer(image m, int l)
{
    image out = make_image(m.w, m.h, 1);
    int i;
    for(i = 0; i < m.h*m.w; ++i){
        out.data[i] = m.data[i+l*m.h*m.w];
    }
    return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x20(%rbp)
movq %rdi, %rax
movq %rax, -0x18(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x10(%rbp)
movl %esi, -0x4(%rbp)
movl (%rax), %esi
movl 0x4(%rax), %edx
movl $0x1, %ecx
callq 0xe3e0
movl $0x0, -0x8(%rbp)
movq -0x10(%rbp), %rdx
movl -0x8(%rbp), %eax
movl 0x4(%rdx), %ecx
imull (%rdx), %ecx
cmpl %ecx, %eax
jge 0x10da0
movq -0x20(%rbp), %rax
movq -0x10(%rbp), %rdi
movq 0x10(%rdi), %rcx
movl -0x8(%rbp), %edx
movl -0x4(%rbp), %esi
imull 0x4(%rdi), %esi
imull (%rdi), %esi
addl %esi, %edx
movslq %edx, %rdx
movss (%rcx,%rdx,4), %xmm0
movq 0x10(%rax), %rax
movslq -0x8(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x10d54
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: constrain_image
void constrain_image(image im)
{
    int i;
    for(i = 0; i < im.w*im.h*im.c; ++i){
        if(im.data[i] < 0) im.data[i] = 0;
        if(im.data[i] > 1) im.data[i] = 1;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x10(%rbp), %rax
movq %rax, -0x10(%rbp)
movl $0x0, -0x4(%rbp)
movq -0x10(%rbp), %rdx
movl -0x4(%rbp), %eax
movl (%rdx), %ecx
imull 0x4(%rdx), %ecx
imull 0x8(%rdx), %ecx
cmpl %ecx, %eax
jge 0x10e48
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movslq -0x4(%rbp), %rcx
xorps %xmm0, %xmm0
ucomiss (%rax,%rcx,4), %xmm0
jbe 0x10e01
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movslq -0x4(%rbp), %rcx
xorps %xmm0, %xmm0
movss %xmm0, (%rax,%rcx,4)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movslq -0x4(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
movss 0x601f2(%rip), %xmm1    # 0x7100c
ucomiss %xmm1, %xmm0
jbe 0x10e38
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movslq -0x4(%rbp), %rcx
movss 0x601d9(%rip), %xmm0    # 0x7100c
movss %xmm0, (%rax,%rcx,4)
jmp 0x10e3a
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x10dc3
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: normalize_image
void normalize_image(image p)
{
    int i;
    float min = 9999999;
    float max = -999999;

    for(i = 0; i < p.h*p.w*p.c; ++i){
        float v = p.data[i];
        if(v < min) min = v;
        if(v > max) max = v;
    }
    if(max - min < .000000001){
        min = 0;
        max = 1;
    }
    for(i = 0; i < p.c*p.w*p.h; ++i){
        p.data[i] = (p.data[i] - min)/(max-min);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movss 0x603b8(%rip), %xmm0    # 0x7121c
movss %xmm0, -0x8(%rbp)
movss 0x603a7(%rip), %xmm0    # 0x71218
movss %xmm0, -0xc(%rbp)
movl $0x0, -0x4(%rbp)
movq -0x18(%rbp), %rdx
movl -0x4(%rbp), %eax
movl 0x4(%rdx), %ecx
imull (%rdx), %ecx
imull 0x8(%rdx), %ecx
cmpl %ecx, %eax
jge 0x10ee3
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movslq -0x4(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, -0x10(%rbp)
movss -0x10(%rbp), %xmm1
movss -0x8(%rbp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x10ec1
movss -0x10(%rbp), %xmm0
movss %xmm0, -0x8(%rbp)
movss -0x10(%rbp), %xmm0
ucomiss -0xc(%rbp), %xmm0
jbe 0x10ed6
movss -0x10(%rbp), %xmm0
movss %xmm0, -0xc(%rbp)
jmp 0x10ed8
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x10e7d
movss -0xc(%rbp), %xmm0
subss -0x8(%rbp), %xmm0
cvtss2sd %xmm0, %xmm1
movsd 0x61f57(%rip), %xmm0    # 0x72e50
ucomisd %xmm1, %xmm0
jbe 0x10f14
xorps %xmm0, %xmm0
movss %xmm0, -0x8(%rbp)
movss 0x600fd(%rip), %xmm0    # 0x7100c
movss %xmm0, -0xc(%rbp)
movl $0x0, -0x4(%rbp)
movq -0x18(%rbp), %rdx
movl -0x4(%rbp), %eax
movl 0x8(%rdx), %ecx
imull (%rdx), %ecx
imull 0x4(%rdx), %ecx
cmpl %ecx, %eax
jge 0x10f6c
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rcx
movslq -0x4(%rbp), %rdx
movss (%rcx,%rdx,4), %xmm0
subss -0x8(%rbp), %xmm0
movss -0xc(%rbp), %xmm1
subss -0x8(%rbp), %xmm1
divss %xmm1, %xmm0
movq 0x10(%rax), %rax
movslq -0x4(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x10f1b
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: rgbgr_image
void rgbgr_image(image im)
{
    int i;
    for(i = 0; i < im.w*im.h; ++i){
        float swap = im.data[i];
        im.data[i] = im.data[i+im.w*im.h*2];
        im.data[i+im.w*im.h*2] = swap;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x10(%rbp), %rax
movq %rax, -0x10(%rbp)
movl $0x0, -0x4(%rbp)
movq -0x10(%rbp), %rdx
movl -0x4(%rbp), %eax
movl (%rdx), %ecx
imull 0x4(%rdx), %ecx
cmpl %ecx, %eax
jge 0x112b9
movq -0x10(%rbp), %rsi
movq 0x10(%rsi), %rax
movslq -0x4(%rbp), %rcx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, -0x8(%rbp)
movq 0x10(%rsi), %rax
movl -0x4(%rbp), %ecx
movl (%rsi), %edx
imull 0x4(%rsi), %edx
shll %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss (%rax,%rcx,4), %xmm0
movq 0x10(%rsi), %rax
movslq -0x4(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movss -0x8(%rbp), %xmm0
movq 0x10(%rsi), %rax
movl -0x4(%rbp), %ecx
movl (%rsi), %edx
imull 0x4(%rsi), %edx
shll %edx
addl %edx, %ecx
movslq %ecx, %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x11243
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: show_image_layers
void show_image_layers(image p, char *name)
{
    int i;
    char buff[256];
    for(i = 0; i < p.c; ++i){
        sprintf(buff, "%s - Layer %d", name, i);
        image layer = get_image_layer(p, i);
        show_image(layer, buff, 1);
        free_image(layer);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
leaq 0x10(%rbp), %rax
movq %rax, -0x130(%rbp)
movq %rdi, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
movq -0x130(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x8(%rcx), %eax
jge 0x11733
leaq -0x110(%rbp), %rdi
movq -0x8(%rbp), %rdx
movl -0xc(%rbp), %ecx
leaq 0x61abf(%rip), %rsi     # 0x73158
movb $0x0, %al
callq 0x33f0
movq -0x130(%rbp), %rax
movl -0xc(%rbp), %esi
leaq -0x128(%rbp), %rdi
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0x10d20
leaq -0x110(%rbp), %rdi
leaq -0x128(%rbp), %rax
movl $0x1, %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 -0x128(%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
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x11671
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: make_random_image
image make_random_image(int w, int h, int c)
{
    image out = make_empty_image(w,h,c);
    out.data = calloc(h*w*c, sizeof(float));
    int i;
    for(i = 0; i < w*h*c; ++i){
        out.data[i] = (rand_normal() * .25) + .5;
    }
    return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x18(%rbp)
movq %rdi, %rax
movq %rax, -0x20(%rbp)
movl %esi, -0x4(%rbp)
movl %edx, -0x8(%rbp)
movl %ecx, -0xc(%rbp)
movl -0x4(%rbp), %esi
movl -0x8(%rbp), %edx
movl -0xc(%rbp), %ecx
callq 0xed80
movl -0x8(%rbp), %eax
imull -0x4(%rbp), %eax
imull -0xc(%rbp), %eax
movslq %eax, %rdi
movl $0x4, %esi
callq 0x3220
movq -0x18(%rbp), %rdi
movq %rax, 0x10(%rdi)
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
movl -0x4(%rbp), %ecx
imull -0x8(%rbp), %ecx
imull -0xc(%rbp), %ecx
cmpl %ecx, %eax
jge 0x11876
movb $0x0, %al
callq 0x5d50
movq -0x18(%rbp), %rax
cvtss2sd %xmm0, %xmm0
movsd 0x615e6(%rip), %xmm1    # 0x72e30
mulsd %xmm1, %xmm0
movsd 0x615f2(%rip), %xmm1    # 0x72e48
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq 0x10(%rax), %rax
movslq -0x10(%rbp), %rcx
movss %xmm0, (%rax,%rcx,4)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x11821
movq -0x20(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq