LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/utils.c
// Function: rand_size_t
size_t rand_size_t()
{
    return  ((size_t)(rand()&0xff) << 56) | 
        ((size_t)(rand()&0xff) << 48) |
        ((size_t)(rand()&0xff) << 40) |
        ((size_t)(rand()&0xff) << 32) |
        ((size_t)(rand()&0xff) << 24) |
        ((size_t)(rand()&0xff) << 16) |
        ((size_t)(rand()&0xff) << 8) |
        ((size_t)(rand()&0xff) << 0);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
callq 0x34e0
movl %eax, %ebx
shlq $0x38, %rbx
callq 0x34e0
movl %eax, %r14d
movl $0xff, %ebp
andl %ebp, %r14d
shlq $0x30, %r14
orq %rbx, %r14
callq 0x34e0
movl %eax, %ebx
andl %ebp, %ebx
shlq $0x28, %rbx
orq %r14, %rbx
callq 0x34e0
movl %eax, %r14d
andl %ebp, %r14d
shlq $0x20, %r14
orq %rbx, %r14
callq 0x34e0
movl %eax, %ebx
shll $0x18, %ebx
orq %r14, %rbx
callq 0x34e0
movl %eax, %r14d
andl %ebp, %r14d
shll $0x10, %r14d
orq %rbx, %r14
callq 0x34e0
shll $0x8, %eax
movzwl %ax, %ebx
orq %r14, %rbx
callq 0x34e0
andl %ebp, %eax
orq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/utils.c
// Function: one_hot_encode
float **one_hot_encode(float *a, int n, int k)
{
    int i;
    float **t = calloc(n, sizeof(float*));
    for(i = 0; i < n; ++i){
        t[i] = calloc(k, sizeof(float));
        int index = (int)a[i];
        t[i][index] = 1;
    }
    return t;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rdi, %rbx
movslq %esi, %r14
pushq $0x8
popq %rsi
movq %r14, %rdi
callq 0x3250
movq %rax, %r15
movslq %ebp, %r12
xorl %ebp, %ebp
testl %r14d, %r14d
cmovlel %ebp, %r14d
pushq $0x4
popq %r13
cmpq %rbp, %r14
je 0x4ee2
movq %r12, %rdi
movq %r13, %rsi
callq 0x3250
movq %rax, (%r15,%rbp,8)
cvttss2si (%rbx,%rbp,4), %ecx
movslq %ecx, %rcx
movl $0x3f800000, (%rax,%rcx,4) # imm = 0x3F800000
incq %rbp
jmp 0x4eba
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/deconvolutional_layer.c
// Function: bilinear_init
void bilinear_init(layer l)
{
    int i,j,f;
    float center = (l.size-1) / 2.;
    for(f = 0; f < l.n; ++f){
        for(j = 0; j < l.size; ++j){
            for(i = 0; i < l.size; ++i){
                float val = (1 - fabs(i - center)) * (1 - fabs(j - center));
                int c = f%l.c;
                int ind = f*l.size*l.size*l.c + c*l.size*l.size + j*l.size + i;
                l.weights[ind] = val;
            }
        }
    }
}

// Assembly:
pushq %rbp
pushq %rbx
movl 0xa8(%rsp), %esi
leal -0x1(%rsi), %eax
cvtsi2sd %eax, %xmm0
mulsd 0x47210(%rip), %xmm0    # 0x4c120
cvtsd2ss %xmm0, %xmm0
movl 0x8c(%rsp), %edi
xorl %r8d, %r8d
testl %esi, %esi
movl $0x0, %r9d
cmovgl %esi, %r9d
movl 0x9c(%rsp), %r10d
testl %r10d, %r10d
cmovlel %r8d, %r10d
movq 0x268(%rsp), %r11
movaps 0x471f8(%rip), %xmm1    # 0x4c140
movsd 0x471d8(%rip), %xmm2    # 0x4c128
xorl %ecx, %ecx
cmpl %r10d, %ecx
je 0x4fc4
xorl %ebx, %ebx
cmpl %r9d, %ebx
je 0x4fbd
cvtsi2ss %ebx, %xmm3
subss %xmm0, %xmm3
andps %xmm1, %xmm3
cvtss2sd %xmm3, %xmm4
movapd %xmm2, %xmm3
subsd %xmm4, %xmm3
xorl %ebp, %ebp
cmpl %ebp, %esi
je 0x4fb9
cvtsi2ss %ebp, %xmm4
subss %xmm0, %xmm4
andps %xmm1, %xmm4
cvtss2sd %xmm4, %xmm4
movapd %xmm2, %xmm5
subsd %xmm4, %xmm5
mulsd %xmm3, %xmm5
cvtsd2ss %xmm5, %xmm4
movl %ecx, %eax
cltd
idivl %edi
addl %r8d, %edx
imull %esi, %edx
addl %ebx, %edx
imull %esi, %edx
addl %ebp, %edx
movslq %edx, %rax
movss %xmm4, (%r11,%rax,4)
incl %ebp
jmp 0x4f77
incl %ebx
jmp 0x4f59
incl %ecx
addl %edi, %r8d
jmp 0x4f52
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/deconvolutional_layer.c
// Function: update_deconvolutional_layer
void update_deconvolutional_layer(layer l, update_args a)
{
    float learning_rate = a.learning_rate*l.learning_rate_scale;
    float momentum = a.momentum;
    float decay = a.decay;
    int batch = a.batch;

    int size = l.size*l.size*l.c*l.n;
    axpy_cpu(l.n, learning_rate/batch, l.bias_updates, 1, l.biases, 1);
    scal_cpu(l.n, momentum, l.bias_updates, 1);

    if(l.scales){
        axpy_cpu(l.n, learning_rate/batch, l.scale_updates, 1, l.scales, 1);
        scal_cpu(l.n, momentum, l.scale_updates, 1);
    }

    axpy_cpu(size, -decay*batch, l.weights, 1, l.weight_updates, 1);
    axpy_cpu(size, learning_rate/batch, l.weight_updates, 1, l.weights, 1);
    scal_cpu(size, momentum, l.weight_updates, 1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq 0x60(%rsp), %r12
movss 0x504(%rsp), %xmm0
movss 0x508(%rsp), %xmm1
movss %xmm1, 0x4(%rsp)
mulss 0xec(%r12), %xmm0
movss 0x50c(%rsp), %xmm1
movaps %xmm1, 0x10(%rsp)
movl 0x90(%r12), %r13d
movl 0x74(%r12), %ebx
cvtsi2ssl 0x500(%rsp), %xmm1
movl 0x84(%r12), %ebp
movss %xmm1, 0xc(%rsp)
divss %xmm1, %xmm0
movq 0x238(%r12), %r14
movq 0x230(%r12), %rcx
pushq $0x1
popq %r15
movl %ebp, %edi
movss %xmm0, 0x8(%rsp)
movq %r14, %rsi
movl %r15d, %edx
movl %r15d, %r8d
callq 0x1b3ed
movl %ebp, %edi
movss 0x4(%rsp), %xmm0
movq %r14, %rsi
movl %r15d, %edx
callq 0x1b423
movq 0x240(%r12), %rcx
testq %rcx, %rcx
je 0x58c3
movq 0x248(%r12), %r14
pushq $0x1
popq %r15
movl %ebp, %edi
movss 0x8(%rsp), %xmm0
movq %r14, %rsi
movl %r15d, %edx
movl %r15d, %r8d
callq 0x1b3ed
movl %ebp, %edi
movss 0x4(%rsp), %xmm0
movq %r14, %rsi
movl %r15d, %edx
callq 0x1b423
imull %r13d, %r13d
imull %ebp, %ebx
movaps 0x10(%rsp), %xmm0
xorps 0x4687a(%rip), %xmm0    # 0x4c150
imull %r13d, %ebx
mulss 0xc(%rsp), %xmm0
movq 0x250(%r12), %r14
movq 0x258(%r12), %r15
pushq $0x1
popq %rbp
movl %ebx, %edi
movq %r14, %rsi
movl %ebp, %edx
movq %r15, %rcx
movl %ebp, %r8d
callq 0x1b3ed
movl %ebx, %edi
movss 0x8(%rsp), %xmm0
movq %r15, %rsi
movl %ebp, %edx
movq %r14, %rcx
movl %ebp, %r8d
callq 0x1b3ed
movl %ebx, %edi
movss 0x4(%rsp), %xmm0
movq %r15, %rsi
movl %ebp, %edx
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1b423
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/deconvolutional_layer.c
// Function: denormalize_deconvolutional_layer
void denormalize_deconvolutional_layer(layer l)
{
    int i, j;
    for(i = 0; i < l.n; ++i){
        float scale = l.scales[i]/sqrt(l.rolling_variance[i] + .00001);
        for(j = 0; j < l.c*l.size*l.size; ++j){
            l.weights[i*l.c*l.size*l.size + j] *= scale;
        }
        l.biases[i] -= l.rolling_mean[i] * scale;
        l.scales[i] = 1;
        l.rolling_mean[i] = 0;
        l.rolling_variance[i] = 1;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl 0xd4(%rsp), %eax
movl 0xe4(%rsp), %r15d
movq 0x2a0(%rsp), %r13
movq 0x318(%rsp), %rdi
movl 0xf0(%rsp), %r8d
movl %r8d, %r12d
imull %eax, %r12d
imull %r8d, %r12d
movq 0x2b0(%rsp), %r9
movq 0x310(%rsp), %r10
movq 0x290(%rsp), %r11
xorl %ebx, %ebx
testl %r12d, %r12d
cmovlel %ebx, %r12d
testl %r15d, %r15d
cmovlel %ebx, %r15d
imull %r8d, %r8d
imull %eax, %r8d
movsd 0x4677b(%rip), %xmm2    # 0x4c130
xorpd %xmm3, %xmm3
movl $0x3f800000, %ebp       # imm = 0x3F800000
xorl %r14d, %r14d
movq %r9, 0x10(%rsp)
movq %rdi, 0x8(%rsp)
movq %r11, (%rsp)
cmpq %r15, %r14
je 0x5a93
cvtss2sd (%r13,%r14,4), %xmm1
cvtss2sd (%rdi,%r14,4), %xmm0
addsd %xmm2, %xmm0
ucomisd %xmm3, %xmm0
jb 0x59f5
sqrtsd %xmm0, %xmm0
jmp 0x5a3b
movl %r8d, %ebp
movq %rbx, 0x20(%rsp)
movq %r10, %rbx
movsd %xmm1, 0x18(%rsp)
callq 0x3460
movsd 0x18(%rsp), %xmm1
xorpd %xmm3, %xmm3
movsd 0x46713(%rip), %xmm2    # 0x4c130
movq (%rsp), %r11
movq %rbx, %r10
movq 0x20(%rsp), %rbx
movq 0x10(%rsp), %r9
movl %ebp, %r8d
movl $0x3f800000, %ebp       # imm = 0x3F800000
movq 0x8(%rsp), %rdi
divsd %xmm0, %xmm1
movslq %ebx, %rax
leaq (%r9,%rax,4), %rax
cvtsd2ss %xmm1, %xmm0
xorl %ecx, %ecx
cmpq %rcx, %r12
je 0x5a64
movss (%rax,%rcx,4), %xmm1
mulss %xmm0, %xmm1
movss %xmm1, (%rax,%rcx,4)
incq %rcx
jmp 0x5a4c
movss (%r11,%r14,4), %xmm1
mulss (%r10,%r14,4), %xmm0
subss %xmm0, %xmm1
movss %xmm1, (%r11,%r14,4)
movl %ebp, (%r13,%r14,4)
andl $0x0, (%r10,%r14,4)
movl %ebp, (%rdi,%r14,4)
incq %r14
addl %r8d, %ebx
jmp 0x59cf
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/deconvolutional_layer.c
// Function: resize_deconvolutional_layer
void resize_deconvolutional_layer(layer *l, int h, int w)
{
    l->h = h;
    l->w = w;
    l->out_h = (l->h - 1) * l->stride + l->size - 2*l->pad;
    l->out_w = (l->w - 1) * l->stride + l->size - 2*l->pad;

    l->outputs = l->out_h * l->out_w * l->out_c;
    l->inputs = l->w * l->h * l->c;

    l->output = realloc(l->output, l->batch*l->outputs*sizeof(float));
    l->delta  = realloc(l->delta,  l->batch*l->outputs*sizeof(float));
    if(l->batch_normalize){
        l->x = realloc(l->x, l->batch*l->outputs*sizeof(float));
        l->x_norm  = realloc(l->x_norm, l->batch*l->outputs*sizeof(float));
    }

    l->workspace_size = get_workspace_size(*l);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl %esi, 0x6c(%rdi)
movl %edx, 0x70(%rdi)
leal -0x1(%rsi), %eax
movl 0x90(%rdi), %ecx
movl 0x98(%rdi), %edi
imull %edi, %eax
addl %ecx, %eax
movl 0xa8(%rbx), %r8d
addl %r8d, %r8d
subl %r8d, %eax
movl %eax, 0x78(%rbx)
leal -0x1(%rdx), %r9d
imull %edi, %r9d
addl %ecx, %r9d
subl %r8d, %r9d
movl %r9d, 0x7c(%rbx)
imull %eax, %r9d
movslq 0x80(%rbx), %rax
movslq %r9d, %rcx
imulq %rax, %rcx
movl %ecx, 0x58(%rbx)
imull %esi, %edx
imull 0x74(%rbx), %edx
movl %edx, 0x54(%rbx)
movq 0x268(%rbx), %rdi
movslq 0x48(%rbx), %rsi
imulq %rcx, %rsi
shlq $0x2, %rsi
callq 0x3350
movq %rax, 0x268(%rbx)
movq 0x260(%rbx), %rdi
movslq 0x48(%rbx), %rax
movslq 0x58(%rbx), %rsi
imulq %rax, %rsi
shlq $0x2, %rsi
callq 0x3350
movq %rax, 0x260(%rbx)
cmpl $0x0, 0x40(%rbx)
je 0x5b8f
movq 0x2c0(%rbx), %rdi
movslq 0x48(%rbx), %rax
movslq 0x58(%rbx), %rsi
imulq %rax, %rsi
shlq $0x2, %rsi
callq 0x3350
movq %rax, 0x2c0(%rbx)
movq 0x2c8(%rbx), %rdi
movslq 0x48(%rbx), %rax
movslq 0x58(%rbx), %rsi
imulq %rax, %rsi
shlq $0x2, %rsi
callq 0x3350
movq %rax, 0x2c8(%rbx)
movslq 0x6c(%rbx), %rax
movslq 0x70(%rbx), %rcx
imulq %rax, %rcx
movslq 0x84(%rbx), %rax
movslq 0x90(%rbx), %rdx
imulq %rdx, %rax
imulq %rcx, %rax
imulq %rdx, %rax
shlq $0x2, %rax
movq %rax, 0x498(%rbx)
popq %rbx
retq
nop
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/convolutional_layer.c
// Function: binarize_weights
void binarize_weights(float *weights, int n, int size, float *binary)
{
    int i, f;
    for(f = 0; f < n; ++f){
        float mean = 0;
        for(i = 0; i < size; ++i){
            mean += fabs(weights[f*size + i]);
        }
        mean = mean / size;
        for(i = 0; i < size; ++i){
            binary[f*size + i] = (weights[f*size + i] > 0) ? mean : -mean;
        }
    }
}

// Assembly:
cvtsi2ss %edx, %xmm0
xorl %eax, %eax
testl %edx, %edx
movl $0x0, %r8d
cmovgl %edx, %r8d
testl %esi, %esi
cmovlel %eax, %esi
movslq %edx, %rdx
shlq $0x2, %rdx
movaps 0x4654a(%rip), %xmm1    # 0x4c150
movaps 0x46533(%rip), %xmm2    # 0x4c140
cmpq %rsi, %rax
je 0x5c6d
xorps %xmm3, %xmm3
xorl %r9d, %r9d
cmpq %r9, %r8
je 0x5c2f
movss (%rdi,%r9,4), %xmm4
andps %xmm2, %xmm4
addss %xmm4, %xmm3
incq %r9
jmp 0x5c18
divss %xmm0, %xmm3
movaps %xmm3, %xmm4
xorps %xmm1, %xmm4
xorl %r9d, %r9d
cmpq %r9, %r8
je 0x5c62
xorps %xmm5, %xmm5
cmpltss (%rdi,%r9,4), %xmm5
movaps %xmm5, %xmm6
andps %xmm3, %xmm6
andnps %xmm4, %xmm5
orps %xmm6, %xmm5
movss %xmm5, (%rcx,%r9,4)
incq %r9
jmp 0x5c3c
incq %rax
addq %rdx, %rdi
addq %rdx, %rcx
jmp 0x5c0d
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/convolutional_layer.c
// Function: binarize_input
void binarize_input(float *input, int n, int size, float *binary)
{
    int i, s;
    for(s = 0; s < size; ++s){
        float mean = 0;
        for(i = 0; i < n; ++i){
            mean += fabs(input[i*size + s]);
        }
        mean = mean / n;
        for(i = 0; i < n; ++i){
            binary[i*size + s] = (input[i*size + s] > 0) ? mean : -mean;
        }
    }
}

// Assembly:
cvtsi2ss %esi, %xmm0
movslq %edx, %rax
xorl %edx, %edx
testl %esi, %esi
cmovlel %edx, %esi
testl %eax, %eax
movl $0x0, %r8d
cmovgl %eax, %r8d
shlq $0x2, %rax
movaps 0x46487(%rip), %xmm1    # 0x4c150
movaps 0x46470(%rip), %xmm2    # 0x4c140
cmpq %r8, %rdx
je 0x5d39
xorps %xmm3, %xmm3
movq %rdi, %r9
movq %rsi, %r10
subq $0x1, %r10
jb 0x5cf5
movss (%r9), %xmm4
andps %xmm2, %xmm4
addss %xmm4, %xmm3
addq %rax, %r9
jmp 0x5cde
divss %xmm0, %xmm3
movaps %xmm3, %xmm4
xorps %xmm1, %xmm4
xorl %r9d, %r9d
movq %rsi, %r10
subq $0x1, %r10
jb 0x5d2c
xorps %xmm5, %xmm5
cmpltss (%rdi,%r9), %xmm5
movaps %xmm5, %xmm6
andps %xmm3, %xmm6
andnps %xmm4, %xmm5
orps %xmm6, %xmm5
movss %xmm5, (%rcx,%r9)
addq %rax, %r9
jmp 0x5d05
incq %rdx
addq $0x4, %rdi
addq $0x4, %rcx
jmp 0x5cd0
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/convolutional_layer.c
// Function: update_convolutional_layer
void update_convolutional_layer(convolutional_layer l, update_args a)
{
    float learning_rate = a.learning_rate*l.learning_rate_scale;
    float momentum = a.momentum;
    float decay = a.decay;
    int batch = a.batch;

    axpy_cpu(l.n, learning_rate/batch, l.bias_updates, 1, l.biases, 1);
    scal_cpu(l.n, momentum, l.bias_updates, 1);

    if(l.scales){
        axpy_cpu(l.n, learning_rate/batch, l.scale_updates, 1, l.scales, 1);
        scal_cpu(l.n, momentum, l.scale_updates, 1);
    }

    axpy_cpu(l.nweights, -decay*batch, l.weights, 1, l.weight_updates, 1);
    axpy_cpu(l.nweights, learning_rate/batch, l.weight_updates, 1, l.weights, 1);
    scal_cpu(l.nweights, momentum, l.weight_updates, 1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
leaq 0x50(%rsp), %r15
movss 0x4f4(%rsp), %xmm0
movss 0x4f8(%rsp), %xmm1
movss %xmm1, 0x4(%rsp)
mulss 0xec(%r15), %xmm0
movss 0x4fc(%rsp), %xmm1
movaps %xmm1, 0x10(%rsp)
cvtsi2ssl 0x4f0(%rsp), %xmm1
movl 0x84(%r15), %ebx
movss %xmm1, 0xc(%rsp)
divss %xmm1, %xmm0
movq 0x238(%r15), %r14
movq 0x230(%r15), %rcx
pushq $0x1
popq %rbp
movl %ebx, %edi
movss %xmm0, 0x8(%rsp)
movq %r14, %rsi
movl %ebp, %edx
movl %ebp, %r8d
callq 0x1b3ed
movl %ebx, %edi
movss 0x4(%rsp), %xmm0
movq %r14, %rsi
movl %ebp, %edx
callq 0x1b423
movq 0x240(%r15), %rcx
testq %rcx, %rcx
je 0x69c6
movq 0x248(%r15), %r14
pushq $0x1
popq %rbp
movl %ebx, %edi
movss 0x8(%rsp), %xmm0
movq %r14, %rsi
movl %ebp, %edx
movl %ebp, %r8d
callq 0x1b3ed
movl %ebx, %edi
movss 0x4(%rsp), %xmm0
movq %r14, %rsi
movl %ebp, %edx
callq 0x1b423
movaps 0x10(%rsp), %xmm0
xorps 0x4577e(%rip), %xmm0    # 0x4c150
movl 0x5c(%r15), %ebx
mulss 0xc(%rsp), %xmm0
movq 0x250(%r15), %r14
movq 0x258(%r15), %r15
pushq $0x1
popq %rbp
movl %ebx, %edi
movq %r14, %rsi
movl %ebp, %edx
movq %r15, %rcx
movl %ebp, %r8d
callq 0x1b3ed
movl %ebx, %edi
movss 0x8(%rsp), %xmm0
movq %r15, %rsi
movl %ebp, %edx
movq %r14, %rcx
movl %ebp, %r8d
callq 0x1b3ed
movl %ebx, %edi
movss 0x4(%rsp), %xmm0
movq %r15, %rsi
movl %ebp, %edx
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x1b423
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/convolutional_layer.c
// Function: add_bias
void add_bias(float *output, float *biases, int batch, int n, int size)
{
    int i,j,b;
    for(b = 0; b < batch; ++b){
        for(i = 0; i < n; ++i){
            for(j = 0; j < size; ++j){
                output[(b*n + i)*size + j] += biases[i];
            }
        }
    }
}

// Assembly:
pushq %r14
pushq %rbx
xorl %eax, %eax
testl %r8d, %r8d
movl $0x0, %r9d
cmovgl %r8d, %r9d
testl %ecx, %ecx
movl $0x0, %r10d
cmovgl %ecx, %r10d
movslq %r8d, %r8
testl %edx, %edx
cmovlel %eax, %edx
movslq %ecx, %rcx
imulq %r8, %rcx
shlq $0x2, %rcx
shlq $0x2, %r8
cmpq %rdx, %rax
je 0x6d45
movq %rdi, %r11
xorl %ebx, %ebx
cmpq %r10, %rbx
je 0x6d3d
xorl %r14d, %r14d
cmpq %r14, %r9
je 0x6d35
movss (%rsi,%rbx,4), %xmm0
addss (%r11,%r14,4), %xmm0
movss %xmm0, (%r11,%r14,4)
incq %r14
jmp 0x6d1a
incq %rbx
addq %r8, %r11
jmp 0x6d12
incq %rax
addq %rcx, %rdi
jmp 0x6d08
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/convolutional_layer.c
// Function: scale_bias
void scale_bias(float *output, float *scales, int batch, int n, int size)
{
    int i,j,b;
    for(b = 0; b < batch; ++b){
        for(i = 0; i < n; ++i){
            for(j = 0; j < size; ++j){
                output[(b*n + i)*size + j] *= scales[i];
            }
        }
    }
}

// Assembly:
pushq %r14
pushq %rbx
xorl %eax, %eax
testl %r8d, %r8d
movl $0x0, %r9d
cmovgl %r8d, %r9d
testl %ecx, %ecx
movl $0x0, %r10d
cmovgl %ecx, %r10d
movslq %r8d, %r8
testl %edx, %edx
cmovlel %eax, %edx
movslq %ecx, %rcx
imulq %r8, %rcx
shlq $0x2, %rcx
shlq $0x2, %r8
cmpq %rdx, %rax
je 0x6dbb
movq %rdi, %r11
xorl %ebx, %ebx
cmpq %r10, %rbx
je 0x6db3
xorl %r14d, %r14d
cmpq %r14, %r9
je 0x6dab
movss (%rsi,%rbx,4), %xmm0
mulss (%r11,%r14,4), %xmm0
movss %xmm0, (%r11,%r14,4)
incq %r14
jmp 0x6d90
incq %rbx
addq %r8, %r11
jmp 0x6d88
incq %rax
addq %rcx, %rdi
jmp 0x6d7e
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/convolutional_layer.c
// Function: backward_bias
void backward_bias(float *bias_updates, float *delta, int batch, int n, int size)
{
    int i,b;
    for(b = 0; b < batch; ++b){
        for(i = 0; i < n; ++i){
            bias_updates[i] += sum_array(delta+size*(i+b*n), size);
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r8d, %ebx
movq %rsi, %r13
movq %rdi, %r12
xorl %eax, %eax
testl %ecx, %ecx
movl $0x0, %r14d
cmovgl %ecx, %r14d
movslq %r8d, %r15
testl %edx, %edx
cmovlel %eax, %edx
movq %rdx, 0x10(%rsp)
movslq %ecx, %rcx
imulq %r15, %rcx
shlq $0x2, %rcx
movq %rcx, 0x8(%rsp)
shlq $0x2, %r15
cmpq 0x10(%rsp), %rax
je 0x6e4f
movq %rax, 0x18(%rsp)
movq %r13, 0x20(%rsp)
xorl %ebp, %ebp
cmpq %rbp, %r14
je 0x6e3b
movq %r13, %rdi
movl %ebx, %esi
callq 0x48aa
addss (%r12,%rbp,4), %xmm0
movss %xmm0, (%r12,%rbp,4)
incq %rbp
addq %r15, %r13
jmp 0x6e18
movq 0x18(%rsp), %rax
incq %rax
movq 0x20(%rsp), %r13
addq 0x8(%rsp), %r13
jmp 0x6e05
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/convolutional_layer.c
// Function: rgbgr_weights
void rgbgr_weights(convolutional_layer l)
{
    int i;
    for(i = 0; i < l.n; ++i){
        image im = get_convolutional_weight(l, i);
        if (im.c == 3) {
            rgbgr_image(im);
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl 0xe4(%rsp), %eax
movl %eax, 0x1c(%rsp)
movl 0xf4(%rsp), %r15d
movl 0xfc(%rsp), %eax
movl %eax, 0x18(%rsp)
movl 0x100(%rsp), %ebp
movq 0x2c0(%rsp), %r13
movl %ebp, %r14d
imull %ebp, %r14d
xorl %ebx, %ebx
xorl %r12d, %r12d
cmpl %r15d, %r12d
jge 0x6f3f
movl 0x1c(%rsp), %eax
cltd
idivl 0x18(%rsp)
movl %ebx, %ecx
imull %eax, %ecx
movslq %ecx, %rcx
leaq (,%rcx,4), %r8
addq %r13, %r8
leaq 0x20(%rsp), %rdi
movl %ebp, %esi
movl %ebp, %edx
movl %eax, %ecx
callq 0xc3de
cmpl $0x3, 0x28(%rsp)
jne 0x6f37
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0xd489
incl %r12d
addl %r14d, %ebx
jmp 0x6ee7
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/convolutional_layer.c
// Function: rescale_weights
void rescale_weights(convolutional_layer l, float scale, float trans)
{
    int i;
    for(i = 0; i < l.n; ++i){
        image im = get_convolutional_weight(l, i);
        if (im.c == 3) {
            scale_image(im, scale);
            float sum = sum_array(im.data, im.w*im.h*im.c);
            l.biases[i] += sum*trans;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movss %xmm1, 0x1c(%rsp)
movss %xmm0, 0x18(%rsp)
movslq 0x104(%rsp), %rax
movq %rax, 0x40(%rsp)
movl 0xf4(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x10c(%rsp), %eax
movl %eax, 0x20(%rsp)
movl 0x110(%rsp), %ebp
movq 0x2d0(%rsp), %r13
movq 0x2b0(%rsp), %r14
movl %ebp, %ebx
imull %ebp, %ebx
xorl %r12d, %r12d
xorl %r15d, %r15d
cmpq 0x40(%rsp), %r15
jge 0x703f
movl 0x24(%rsp), %eax
cltd
idivl 0x20(%rsp)
movl %r12d, %ecx
imull %eax, %ecx
movslq %ecx, %rcx
leaq (,%rcx,4), %r8
addq %r13, %r8
leaq 0x28(%rsp), %rdi
movl %ebp, %esi
movl %ebp, %edx
movl %eax, %ecx
callq 0xc3de
cmpl $0x3, 0x30(%rsp)
jne 0x7034
movq 0x38(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x28(%rsp), %xmm0
movups %xmm0, (%rsp)
movss 0x18(%rsp), %xmm0
callq 0xe1d9
movq 0x38(%rsp), %rdi
movl 0x2c(%rsp), %esi
imull 0x28(%rsp), %esi
imull 0x30(%rsp), %esi
callq 0x48aa
mulss 0x1c(%rsp), %xmm0
addss (%r14,%r15,4), %xmm0
movss %xmm0, (%r14,%r15,4)
incq %r15
addl %ebx, %r12d
jmp 0x6fad
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/convolutional_layer.c
// Function: get_weights
image *get_weights(convolutional_layer l)
{
    image *weights = calloc(l.n, sizeof(image));
    int i;
    for(i = 0; i < l.n; ++i){
        weights[i] = copy_image(get_convolutional_weight(l, i));
        normalize_image(weights[i]);
        /*
           char buff[256];
           sprintf(buff, "filter%d", i);
           save_image(weights[i], buff);
         */
    }
    //error("hey");
    return weights;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movslq 0x114(%rsp), %r15
pushq $0x18
popq %rsi
movq %r15, %rdi
callq 0x3250
movq %rax, %rbx
movl 0x104(%rsp), %eax
movl %eax, 0x1c(%rsp)
movl 0x11c(%rsp), %eax
movl %eax, 0x18(%rsp)
movl 0x120(%rsp), %r14d
movq 0x2e0(%rsp), %rax
movq %rax, 0x20(%rsp)
movl %r14d, %r12d
imull %r14d, %r12d
xorl %ebp, %ebp
testl %r15d, %r15d
movl $0x0, %eax
cmovgl %r15d, %eax
imulq $0x18, %rax, %r13
xorl %r15d, %r15d
cmpq %r15, %r13
je 0x7143
movl 0x1c(%rsp), %eax
cltd
idivl 0x18(%rsp)
movl %ebp, %ecx
imull %eax, %ecx
movslq %ecx, %rcx
movq 0x20(%rsp), %rdx
leaq (%rdx,%rcx,4), %r8
leaq 0x28(%rsp), %rdi
movl %r14d, %esi
movl %r14d, %edx
movl %eax, %ecx
callq 0xc3de
movq 0x38(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x28(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x40(%rsp), %rdi
callq 0xb85b
movq 0x50(%rsp), %rax
movq %rax, 0x10(%rbx,%r15)
movups 0x40(%rsp), %xmm0
movups %xmm0, (%rbx,%r15)
movq 0x10(%rbx,%r15), %rax
movq %rax, 0x10(%rsp)
movups (%rbx,%r15), %xmm0
movups %xmm0, (%rsp)
callq 0xd27c
addq $0x18, %r15
addl %r12d, %ebp
jmp 0x70b9
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/convolutional_layer.c
// Function: visualize_convolutional_layer
image *visualize_convolutional_layer(convolutional_layer l, char *window, image *prev_weights)
{
    image *single_weights = get_weights(l);
    show_images(single_weights, l.n, window);

    image delta = get_convolutional_image(l);
    image dc = collapse_image_layers(delta, 1);
    char buff[256];
    sprintf(buff, "%s: Output", window);
    //show_image(dc, buff);
    //save_image(dc, buff);
    free_image(dc);
    return single_weights;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x5d0, %rsp            # imm = 0x5D0
movq %rdi, %r14
leaq 0x5f0(%rsp), %r15
movl $0x94, %ecx
movq %rsp, %rdi
movq %r15, %rsi
rep  movsq (%rsi), %es:(%rdi)
callq 0x704e
movq %rax, %rbx
movl 0x84(%r15), %esi
movq %rax, %rdi
movq %r14, %rdx
callq 0x105e3
movl 0x78(%r15), %edx
movl 0x7c(%r15), %esi
movl 0x80(%r15), %ecx
movq 0x268(%r15), %r8
leaq 0x4b8(%rsp), %r15
movq %r15, %rdi
callq 0xc3de
movq 0x10(%r15), %rax
movq %rax, 0x10(%rsp)
movups (%r15), %xmm0
movups %xmm0, (%rsp)
leaq 0x4a0(%rsp), %r15
pushq $0x1
popq %rsi
movq %r15, %rdi
callq 0xd10b
leaq 0x4501d(%rip), %rsi     # 0x4c202
leaq 0x4d0(%rsp), %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x3420
movq 0x10(%r15), %rax
movq %rax, 0x10(%rsp)
movups (%r15), %xmm0
movups %xmm0, (%rsp)
callq 0xba88
movq %rbx, %rax
addq $0x5d0, %rsp            # imm = 0x5D0
popq %rbx
popq %r14
popq %r15
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/list.c
// Function: make_list
list *make_list()
{
	list *l = malloc(sizeof(list));
	l->size = 0;
	l->front = 0;
	l->back = 0;
	return l;
}

// Assembly:
pushq %rax
pushq $0x18
popq %rdi
callq 0x3300
andl $0x0, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/list.c
// Function: list_pop
void *list_pop(list *l){
    if(!l->back) return 0;
    node *b = l->back;
    void *val = b->val;
    l->back = b->prev;
    if(l->back) l->back->next = 0;
    free(b);
    --l->size;
    
    return val;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x10(%rdi), %rdi
testq %rdi, %rdi
je 0x7264
movq (%rdi), %rbx
movq 0x10(%rdi), %rax
movq %rax, 0x10(%r14)
testq %rax, %rax
je 0x725a
andq $0x0, 0x8(%rax)
callq 0x3040
decl (%r14)
jmp 0x7266
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/list.c
// Function: list_insert
void list_insert(list *l, void *val)
{
	node *new = malloc(sizeof(node));
	new->val = val;
	new->next = 0;

	if(!l->back){
		l->front = new;
		new->prev = 0;
	}else{
		l->back->next = new;
		new->prev = l->back;
	}
	l->back = new;
	++l->size;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
pushq $0x18
popq %rdi
callq 0x3300
movq %rbx, (%rax)
andq $0x0, 0x8(%rax)
movq 0x10(%r14), %rcx
testq %rcx, %rcx
movq %rcx, %rdx
cmoveq %r14, %rdx
movq %rax, 0x8(%rdx)
movq %rcx, 0x10(%rax)
movq %rax, 0x10(%r14)
incl (%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/list.c
// Function: free_node
void free_node(node *n)
{
	node *next;
	while(n) {
		next = n->next;
		free(n);
		n = next;
	}
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x72c4
movq 0x8(%rdi), %rbx
callq 0x3040
movq %rbx, %rdi
jmp 0x72b1
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/list.c
// Function: list_to_array
void **list_to_array(list *l)
{
    void **a = calloc(l->size, sizeof(void*));
    int count = 0;
    node *n = l->front;
    while(n){
        a[count++] = n->val;
        n = n->next;
    }
    return a;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movslq (%rdi), %rdi
pushq $0x8
popq %rsi
callq 0x3250
movq %rax, %rcx
movq 0x8(%rbx), %rbx
testq %rbx, %rbx
je 0x731c
movq (%rbx), %rdx
movq %rdx, (%rcx)
addq $0x8, %rcx
jmp 0x7307
popq %rbx
retq
nop
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: get_color
float get_color(int c, int x, int max)
{
    float ratio = ((float)x/max)*5;
    int i = floor(ratio);
    int j = ceil(ratio);
    ratio -= i;
    float r = (1-ratio) * colors[i][c] + ratio*colors[j][c];
    //printf("%f\n", r);
    return r;
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x28, %rsp
cvtsi2ss %esi, %xmm1
movl %edi, %ebx
cvtsi2ss %edx, %xmm0
divss %xmm0, %xmm1
mulss 0x40fd4(%rip), %xmm1    # 0x4c240
movss %xmm1, 0x4(%rsp)
cvtss2sd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
callq 0x33e0
movaps %xmm0, 0x10(%rsp)
cvttsd2si %xmm0, %ebp
movsd 0x8(%rsp), %xmm0
callq 0x3480
cvttsd2si %xmm0, %eax
cvttpd2dq 0x10(%rsp), %xmm0
cvtdq2ps %xmm0, %xmm0
movss 0x4(%rsp), %xmm1
subss %xmm0, %xmm1
movss 0x40d54(%rip), %xmm0    # 0x4c008
subss %xmm1, %xmm0
movslq %ebp, %rcx
movslq %ebx, %rdx
imulq $0xc, %rcx, %rcx
leaq 0x58fe7(%rip), %rsi     # 0x642b0
addq %rsi, %rcx
cltq
imulq $0xc, %rax, %rax
addq %rsi, %rax
mulss (%rax,%rdx,4), %xmm1
mulss (%rcx,%rdx,4), %xmm0
addss %xmm1, %xmm0
addq $0x28, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movl 0x88(%rsp), %ebp
movl 0x80(%rsp), %esi
movl 0x84(%rsp), %edx
pushq $0x3
popq %rcx
callq 0xb45a
movl 0x4(%rbx), %ecx
imull (%rbx), %ecx
movq 0x90(%rsp), %rax
movq %rax, 0x20(%rsp)
movq %rbx, 0x18(%rsp)
movq 0x10(%rbx), %r14
leal (%rcx,%rcx), %eax
cltq
movq %rcx, 0x28(%rsp)
movslq %ecx, %rcx
xorl %edx, %edx
testl %ecx, %ecx
movl $0x0, %ebx
cmovgl %ecx, %ebx
testl %ebp, %ebp
movl $0x0, %esi
movl %ebp, 0xc(%rsp)
cmovgl %ebp, %esi
movq %rsi, 0x30(%rsp)
leaq (%r14,%rcx,4), %r13
leaq (%r14,%rax,4), %r15
xorl %esi, %esi
movl 0xc(%rsp), %r12d
cmpq 0x30(%rsp), %rsi
je 0xb446
movq %rdx, 0x40(%rsp)
movslq %edx, %rax
movq 0x20(%rsp), %rcx
leaq (%rcx,%rax,4), %rbp
movq %rsi, 0x38(%rsp)
imull $0x1e241, %esi, %eax    # imm = 0x1E241
cltd
idivl %r12d
movl %edx, 0x8(%rsp)
pushq $0x2
popq %rdi
movl %edx, %esi
movl %r12d, %edx
callq 0xb250
movss %xmm0, 0x14(%rsp)
pushq $0x1
popq %rdi
movl 0x8(%rsp), %esi
movl %r12d, %edx
callq 0xb250
movss %xmm0, 0x10(%rsp)
xorl %edi, %edi
movl 0x8(%rsp), %esi
movl %r12d, %edx
callq 0xb250
movss 0x10(%rsp), %xmm3
movss 0x14(%rsp), %xmm2
xorl %eax, %eax
cmpq %rax, %rbx
je 0xb430
movss (%rbp,%rax,4), %xmm1
mulss %xmm2, %xmm1
addss (%r14,%rax,4), %xmm1
movss %xmm1, (%r14,%rax,4)
movss (%rbp,%rax,4), %xmm1
mulss %xmm3, %xmm1
addss (%r13,%rax,4), %xmm1
movss %xmm1, (%r13,%rax,4)
movss (%rbp,%rax,4), %xmm1
mulss %xmm0, %xmm1
addss (%r15,%rax,4), %xmm1
movss %xmm1, (%r15,%rax,4)
incq %rax
jmp 0xb3e2
movq 0x38(%rsp), %rsi
incq %rsi
movq 0x40(%rsp), %rdx
addl 0x28(%rsp), %edx
jmp 0xb36f
movq 0x18(%rsp), %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, 0x28(%rsp)
movq %rdi, 0x30(%rsp)
leaq 0x88(%rsp), %r14
leaq 0x70(%rsp), %rax
movl (%rax), %ecx
xorl %ebp, %ebp
testl %ecx, %ecx
cmovlel %ebp, %ecx
movl %ecx, 0x20(%rsp)
movl 0x4(%rax), %ecx
testl %ecx, %ecx
cmovlel %ebp, %ecx
movl %ecx, 0x1c(%rsp)
movl 0x8(%rax), %eax
testl %eax, %eax
cmovlel %ebp, %eax
movl %eax, 0x18(%rsp)
cmpl 0x18(%rsp), %ebp
je 0xb57a
xorl %r15d, %r15d
cmpl 0x1c(%rsp), %r15d
je 0xb573
movq 0x28(%rsp), %rax
leal (%r15,%rax), %r12d
xorl %r13d, %r13d
cmpl %r13d, 0x20(%rsp)
je 0xb56b
leaq 0x70(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
movl %r13d, %edi
movl %r15d, %esi
movl %ebp, %edx
callq 0xb589
movss %xmm0, 0x24(%rsp)
movq 0x30(%rsp), %rax
leal (%rax,%r13), %ebx
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movups (%r14), %xmm0
movups %xmm0, (%rsp)
movl %ebx, %edi
movl %r12d, %esi
movl %ebp, %edx
callq 0xb5db
mulss 0x24(%rsp), %xmm0
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movups (%r14), %xmm1
movups %xmm1, (%rsp)
movl %ebx, %edi
movl %r12d, %esi
movl %ebp, %edx
callq 0xb5fe
incl %r13d
jmp 0xb4ee
incl %r15d
jmp 0xb4d7
incl %ebp
jmp 0xb4ca
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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:
testl %edi, %edi
js 0xb5fa
testl %esi, %esi
js 0xb5fa
leaq 0x8(%rsp), %rax
cmpl %edi, (%rax)
jle 0xb5fa
cmpl %esi, 0x4(%rax)
jle 0xb5fa
testl %edx, %edx
js 0xb5fa
cmpl %edx, 0x8(%rax)
jg 0xb589
xorps %xmm0, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %esi, %r14d
movq %rdi, %rbx
leaq 0x80(%rsp), %rax
movl (%rax), %ecx
movl 0x4(%rax), %edx
movq %rcx, 0x40(%rsp)
leal (%rcx,%r14,2), %esi
movq %rdx, 0x38(%rsp)
leal (%rdx,%r14,2), %edx
movl 0x8(%rax), %ecx
callq 0xb45a
movl (%rbx), %eax
xorl %ebp, %ebp
testl %eax, %eax
cmovlel %ebp, %eax
movl %eax, 0x24(%rsp)
movl 0x4(%rbx), %eax
testl %eax, %eax
cmovlel %ebp, %eax
movl %eax, 0x20(%rsp)
movl 0x8(%rbx), %eax
testl %eax, %eax
cmovlel %ebp, %eax
movl %eax, 0x1c(%rsp)
movq %r14, 0x28(%rsp)
negl %r14d
movq %r14, 0x30(%rsp)
cmpl 0x1c(%rsp), %ebp
je 0xb760
xorl %r15d, %r15d
cmpl 0x20(%rsp), %r15d
je 0xb759
movl %r15d, %r12d
subl 0x28(%rsp), %r12d
xorl %r13d, %r13d
cmpl %r13d, 0x24(%rsp)
je 0xb751
movq 0x30(%rsp), %rax
leal (%rax,%r13), %r14d
leaq 0x80(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
movl %r14d, %edi
movl %r12d, %esi
movl %ebp, %edx
callq 0xb5db
movl %r14d, %eax
orl %r12d, %eax
jns 0xb70e
movss 0x408fa(%rip), %xmm0    # 0x4c008
cmpl 0x40(%rsp), %r14d
jl 0xb71d
movss 0x408eb(%rip), %xmm0    # 0x4c008
cmpl 0x38(%rsp), %r12d
jl 0xb72c
movss 0x408dc(%rip), %xmm0    # 0x4c008
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm1
movups %xmm1, (%rsp)
movl %r13d, %edi
movl %r15d, %esi
movl %ebp, %edx
callq 0xb5fe
incl %r13d
jmp 0xb6c5
incl %r15d
jmp 0xb6af
incl %ebp
jmp 0xb6a2
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x78(%rsp), %r14
movl 0x60(%rsp), %ebp
testl %ebp, %ebp
je 0xb834
leaq 0x60(%rsp), %r15
addl %esi, %ebp
movl (%r14), %esi
addl %ebp, %esi
movl 0x4(%r15), %eax
movl 0x8(%r15), %edi
movl 0x4(%r14), %edx
cmpl %edx, %eax
cmovgl %eax, %edx
movl 0x8(%r14), %ecx
cmpl %ecx, %edi
cmovgl %edi, %ecx
movq %rbx, %rdi
callq 0xb45a
movl 0x4(%rbx), %edi
imull (%rbx), %edi
imull 0x8(%rbx), %edi
movq 0x10(%rbx), %rsi
movss 0x40834(%rip), %xmm0    # 0x4c008
pushq $0x1
popq %rdx
callq 0x1b449
movq 0x10(%rbx), %rax
movq %rax, 0x28(%rsp)
movups (%rbx), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0x10(%r15), %rax
movq %rax, 0x10(%rsp)
movups (%r15), %xmm0
movups %xmm0, (%rsp)
xorl %edi, %edi
xorl %esi, %esi
callq 0xb8af
movq 0x10(%rbx), %rax
movq %rax, 0x28(%rsp)
movups (%rbx), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movups (%r14), %xmm0
movups %xmm0, (%rsp)
movl %ebp, %edi
xorl %esi, %esi
callq 0xb480
jmp 0xb84d
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movups (%r14), %xmm0
movups %xmm0, (%rsp)
movq %rbx, %rdi
callq 0xb85b
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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 %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movaps 0x20(%rsp), %xmm0
movups %xmm0, (%rdi)
movslq 0x24(%rsp), %rax
movslq 0x20(%rsp), %rcx
imulq %rax, %rcx
movslq 0x28(%rsp), %r14
imulq %rcx, %r14
pushq $0x4
popq %rsi
movq %r14, %rdi
callq 0x3250
movq %rax, 0x10(%rbx)
movq 0x30(%rsp), %rsi
shlq $0x2, %r14
movq %rax, %rdi
movq %r14, %rdx
callq 0x32b0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, 0x28(%rsp)
movq %rdi, 0x30(%rsp)
leaq 0x70(%rsp), %rbx
movl (%rbx), %r14d
xorl %ebp, %ebp
testl %r14d, %r14d
cmovlel %ebp, %r14d
movl 0x4(%rbx), %eax
testl %eax, %eax
cmovlel %ebp, %eax
movl %eax, 0x24(%rsp)
movl 0x8(%rbx), %eax
testl %eax, %eax
cmovlel %ebp, %eax
movl %eax, 0x20(%rsp)
cmpl 0x20(%rsp), %ebp
je 0xb967
xorl %r15d, %r15d
cmpl 0x24(%rsp), %r15d
je 0xb963
movq 0x28(%rsp), %rax
leal (%r15,%rax), %r12d
xorl %r13d, %r13d
cmpl %r13d, %r14d
je 0xb95e
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
movl %r13d, %edi
movl %r15d, %esi
movl %ebp, %edx
callq 0xb589
movq 0x30(%rsp), %rax
leal (%rax,%r13), %edi
leaq 0x88(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm1
movups %xmm1, (%rsp)
movl %r12d, %esi
movl %ebp, %edx
callq 0xb5fe
incl %r13d
jmp 0xb90c
incl %r15d
jmp 0xb8f9
incl %ebp
jmp 0xb8f0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %ecx, %eax
movq %rdx, %r14
pushq $0xa
popq %rcx
cltd
idivl %ecx
cmpl $0x7, %eax
pushq $0x7
popq %rcx
cmovll %eax, %ecx
andq $0x0, 0x40(%rsp)
andq $0x0, 0x30(%rsp)
movq %rsi, %r15
andl $0x0, 0x38(%rsp)
movq %rdi, %rbx
movslq %ecx, %r13
movl %r13d, %ecx
notl %ecx
leal 0x1(%r13), %eax
pushq $0x2
popq %rsi
cltd
idivl %esi
movl %eax, %ebp
addl %ecx, %ebp
leaq 0x50(%rsp), %r12
movsbq (%r14), %rax
testq %rax, %rax
je 0xba2e
movq (%r15,%r13,8), %rcx
imulq $0x18, %rax, %rax
movq 0x10(%rcx,%rax), %rdx
movq %rdx, 0x28(%rsp)
movups (%rcx,%rax), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %r12, %rdi
movl %ebp, %esi
callq 0xb772
movq 0x40(%rsp), %rdi
callq 0x3040
movq 0x60(%rsp), %rax
movq %rax, 0x40(%rsp)
movups 0x50(%rsp), %xmm0
movaps %xmm0, 0x30(%rsp)
incq %r14
jmp 0xb9ca
cvtsi2sdl 0x34(%rsp), %xmm0
mulsd 0x42a1c(%rip), %xmm0    # 0x4e458
cvttsd2si %xmm0, %esi
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %rbx, %rdi
callq 0xb635
movq 0x40(%rsp), %rdi
callq 0x3040
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
leaq 0x98(%rsp), %rax
leaq 0x80(%rsp), %rcx
movl (%rax), %edx
movl 0x4(%rax), %esi
movl %edi, %r8d
subl %esi, %r8d
cmovsl %edi, %r8d
movq %r8, 0x30(%rsp)
movl 0x8(%rax), %ebx
xorl %r15d, %r15d
testl %ebx, %ebx
cmovlel %r15d, %ebx
movl (%rcx), %eax
movl %eax, 0x28(%rsp)
testl %edx, %edx
cmovlel %r15d, %edx
movl %edx, 0x2c(%rsp)
movl 0x4(%rcx), %eax
movl %eax, 0x20(%rsp)
testl %esi, %esi
cmovlel %r15d, %esi
movl %esi, 0x24(%rsp)
cmpl 0x24(%rsp), %r15d
je 0xbba3
movq 0x30(%rsp), %rax
leal (%r15,%rax), %ebp
cmpl 0x20(%rsp), %ebp
jge 0xbba3
xorl %r12d, %r12d
cmpl 0x2c(%rsp), %r12d
je 0xbb9b
movq 0x38(%rsp), %rax
leal (%r12,%rax), %r13d
cmpl 0x28(%rsp), %r13d
jge 0xbb9b
xorl %r14d, %r14d
cmpq %r14, %rbx
je 0xbb96
leaq 0x98(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
movl %r12d, %edi
movl %r15d, %esi
movl %r14d, %edx
callq 0xb589
movq 0x40(%rsp), %rax
mulss (%rax,%r14,4), %xmm0
leaq 0x80(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm1
movups %xmm1, (%rsp)
movl %r13d, %edi
movl %ebp, %esi
movl %r14d, %edx
callq 0xb5fe
incq %r14
jmp 0xbb36
incl %r12d
jmp 0xbb1c
incl %r15d
jmp 0xbafb
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: draw_box
void draw_box(image a, int x1, int y1, int x2, int y2, float r, float g, float b)
{
    //normalize_image(a);
    int i;
    if(x1 < 0) x1 = 0;
    if(x1 >= a.w) x1 = a.w-1;
    if(x2 < 0) x2 = 0;
    if(x2 >= a.w) x2 = a.w-1;

    if(y1 < 0) y1 = 0;
    if(y1 >= a.h) y1 = a.h-1;
    if(y2 < 0) y2 = 0;
    if(y2 >= a.h) y2 = a.h-1;

    for(i = x1; i <= x2; ++i){
        a.data[i + y1*a.w + 0*a.w*a.h] = r;
        a.data[i + y2*a.w + 0*a.w*a.h] = r;

        a.data[i + y1*a.w + 1*a.w*a.h] = g;
        a.data[i + y2*a.w + 1*a.w*a.h] = g;

        a.data[i + y1*a.w + 2*a.w*a.h] = b;
        a.data[i + y2*a.w + 2*a.w*a.h] = b;
    }
    for(i = y1; i <= y2; ++i){
        a.data[x1 + i*a.w + 0*a.w*a.h] = r;
        a.data[x2 + i*a.w + 0*a.w*a.h] = r;

        a.data[x1 + i*a.w + 1*a.w*a.h] = g;
        a.data[x2 + i*a.w + 1*a.w*a.h] = g;

        a.data[x1 + i*a.w + 2*a.w*a.h] = b;
        a.data[x2 + i*a.w + 2*a.w*a.h] = b;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
xorl %r8d, %r8d
testl %edi, %edi
cmovlel %r8d, %edi
movslq 0x38(%rsp), %rax
leal -0x1(%rax), %r9d
cmpl %eax, %edi
cmovgel %r9d, %edi
testl %edx, %edx
cmovlel %r8d, %edx
cmpl %eax, %edx
cmovgel %r9d, %edx
testl %esi, %esi
cmovlel %r8d, %esi
movl 0x3c(%rsp), %r10d
leal -0x1(%r10), %r9d
cmpl %r10d, %esi
cmovgel %r9d, %esi
testl %ecx, %ecx
cmovgl %ecx, %r8d
cmpl %r10d, %r8d
cmovgel %r9d, %r8d
movq 0x48(%rsp), %rcx
movl %esi, %r11d
imull %eax, %r11d
movl %r8d, %ebx
imull %eax, %ebx
imull %eax, %r10d
movslq %edi, %rdi
movslq %edx, %r9
movslq %ebx, %r13
movslq %r10d, %rdx
addl %r10d, %r10d
movslq %r10d, %r10
movslq %r11d, %r14
leaq (,%r14,4), %rbx
leaq (%rbx,%r10,4), %r11
addq %rcx, %r11
leaq (%rbx,%rdx,4), %rbx
addq %rcx, %rbx
leaq (%rcx,%r14,4), %r14
leaq (,%r13,4), %r12
leaq (%r12,%r10,4), %r15
addq %rcx, %r15
leaq (%r12,%rdx,4), %r12
addq %rcx, %r12
leaq (%rcx,%r13,4), %r13
movq %rdi, %rbp
cmpq %r9, %rbp
jg 0xbc93
movss %xmm0, (%r14,%rbp,4)
movss %xmm0, (%r13,%rbp,4)
movss %xmm1, (%rbx,%rbp,4)
movss %xmm1, (%r12,%rbp,4)
movss %xmm2, (%r11,%rbp,4)
movss %xmm2, (%r15,%rbp,4)
incq %rbp
jmp 0xbc65
movslq %esi, %rsi
movslq %r8d, %r8
movq %rsi, %r14
imulq %rax, %r14
addq %r14, %r9
leaq (,%r9,4), %r11
shlq $0x2, %r10
leaq (%r10,%r9,4), %rbx
shlq $0x2, %rax
shlq $0x2, %rdx
leaq (%rdx,%r9,4), %r9
addq %rdi, %r14
leaq (,%r14,4), %rdi
leaq (%r10,%r14,4), %r10
leaq (%rdx,%r14,4), %rdx
cmpq %r8, %rsi
jg 0xbd00
movss %xmm0, (%rcx,%rdi)
movss %xmm0, (%rcx,%r11)
movss %xmm1, (%rcx,%rdx)
movss %xmm1, (%rcx,%r9)
movss %xmm2, (%rcx,%r10)
movss %xmm2, (%rcx,%rbx)
incq %rsi
addq %rax, %rcx
jmp 0xbcd2
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movss %xmm4, 0x24(%rsp)
movss %xmm3, 0x20(%rsp)
movss %xmm2, 0x1c(%rsp)
leaq 0x60(%rsp), %r12
movss 0x4046e(%rip), %xmm2    # 0x4c234
movaps %xmm1, %xmm3
mulss %xmm2, %xmm3
movaps %xmm0, %xmm4
cvtsi2ssl (%r12), %xmm5
subss %xmm3, %xmm4
mulss %xmm5, %xmm4
cvttss2si %xmm4, %ebx
addss %xmm0, %xmm3
mulss %xmm5, %xmm3
cvttss2si %xmm3, %ebp
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
shufps $0x55, %xmm1, %xmm1     # xmm1 = xmm1[1,1,1,1]
mulss %xmm2, %xmm1
movaps %xmm0, %xmm2
cvtsi2ssl 0x4(%r12), %xmm3
subss %xmm1, %xmm2
mulss %xmm3, %xmm2
cvttss2si %xmm2, %r14d
addss %xmm0, %xmm1
mulss %xmm3, %xmm1
cvttss2si %xmm1, %r15d
xorl %r13d, %r13d
testl %edi, %edi
cmovgl %edi, %r13d
subl $0x1, %r13d
jb 0xbe6d
movq 0x10(%r12), %rax
movq %rax, 0x10(%rsp)
movups (%r12), %xmm0
movups %xmm0, (%rsp)
movl %ebx, %edi
movl %r14d, %esi
movl %ebp, %edx
movl %r15d, %ecx
movss 0x1c(%rsp), %xmm0
movss 0x20(%rsp), %xmm1
movss 0x24(%rsp), %xmm2
callq 0xbbb2
incl %ebx
incl %r14d
decl %ebp
decl %r15d
jmp 0xbe27
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
pushq $0x8
popq %rdi
pushq $0x18
popq %rsi
callq 0x3250
movq %rax, (%rsp)
leaq 0x20(%rsp), %r12
leaq 0x8(%rsp), %r13
xorl %ebp, %ebp
cmpq $0x8, %rbp
je 0xbf20
movl $0x80, %edi
pushq $0x18
popq %rsi
callq 0x3250
movq %rax, %rbx
movq (%rsp), %rax
movq %rbx, (%rax,%rbp,8)
movl $0x300, %r15d           # imm = 0x300
pushq $0x20
popq %r14
cmpq $0xbe8, %r15            # imm = 0xBE8
je 0xbf1b
movq %r12, %rdi
leaq 0x427aa(%rip), %rsi     # 0x4e68d
movl %r14d, %edx
movl %ebp, %ecx
xorl %eax, %eax
callq 0x3420
movq %r13, %rdi
movq %r12, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xbf36
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rbx,%r15)
movups 0x8(%rsp), %xmm0
movups %xmm0, (%rbx,%r15)
addq $0x18, %r15
incl %r14d
jmp 0xbed0
incq %rbp
jmp 0xbea8
movq (%rsp), %rax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq