LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/utils.c
// Function: max_int_index
int max_int_index(int *a, int n)
{
    if(n <= 0) return -1;
    int i, max_i = 0;
    int max = a[0];
    for(i = 1; i < n; ++i){
        if(a[i] > max){
            max = a[i];
            max_i = i;
        }
    }
    return max_i;
}

// Assembly:
testl %esi, %esi
jle 0xfa81
xorl %eax, %eax
cmpl $0x1, %esi
je 0xfa80
movl (%rdi), %ecx
movl %esi, %edx
xorl %eax, %eax
movl $0x1, %esi
movl (%rdi,%rsi,4), %r8d
cmpl %ecx, %r8d
cmovgl %esi, %eax
cmovgl %r8d, %ecx
incq %rsi
cmpq %rsi, %rdx
jne 0xfa6a
retq
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
retq
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/utils.c
// Function: max_index
int max_index(float *a, int n)
{
    if(n <= 0) return -1;
    int i, max_i = 0;
    float max = a[0];
    for(i = 1; i < n; ++i){
        if(a[i] > max){
            max = a[i];
            max_i = i;
        }
    }
    return max_i;
}

// Assembly:
testl %esi, %esi
jle 0xfaba
xorl %eax, %eax
cmpl $0x1, %esi
je 0xfab9
movss (%rdi), %xmm0
movl %esi, %ecx
xorl %eax, %eax
movl $0x1, %edx
movss (%rdi,%rdx,4), %xmm1
ucomiss %xmm0, %xmm1
cmoval %edx, %eax
maxss %xmm0, %xmm1
incq %rdx
movaps %xmm1, %xmm0
cmpq %rdx, %rcx
jne 0xfa9f
retq
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
retq
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/utils.c
// Function: rand_normal
float rand_normal()
{
    static int haveSpare = 0;
    static double rand1, rand2;

    if(haveSpare)
    {
        haveSpare = 0;
        return sqrt(rand1) * sin(rand2);
    }

    haveSpare = 1;

    rand1 = rand() / ((double) RAND_MAX);
    if(rand1 < 1e-100) rand1 = 1e-100;
    rand1 = -2 * log(rand1);
    rand2 = (rand() / ((double) RAND_MAX)) * TWO_PI;

    return sqrt(rand1) * cos(rand2);
}

// Assembly:
pushq %rax
cmpb $0x1, 0x5cc79(%rip)     # 0x6c798
jne 0xfb40
movb $0x0, 0x5cc70(%rip)     # 0x6c798
movsd 0x5cc70(%rip), %xmm0    # 0x6c7a0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xfbb5
sqrtsd %xmm0, %xmm0
jmp 0xfbba
movb $0x1, 0x5cc51(%rip)     # 0x6c798
callq 0x34e0
cvtsi2sd %eax, %xmm1
divsd 0x45500(%rip), %xmm1    # 0x55058
movsd 0x45500(%rip), %xmm0    # 0x55060
maxsd %xmm1, %xmm0
callq 0x31d0
mulsd 0x454f7(%rip), %xmm0    # 0x55068
movsd %xmm0, 0x5cc27(%rip)    # 0x6c7a0
callq 0x34e0
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd 0x454cb(%rip), %xmm0    # 0x55058
mulsd 0x454db(%rip), %xmm0    # 0x55070
movsd %xmm0, 0x5cc0b(%rip)    # 0x6c7a8
movsd 0x5cbfb(%rip), %xmm0    # 0x6c7a0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0xfbce
sqrtsd %xmm0, %xmm0
jmp 0xfbd3
callq 0x3460
movsd %xmm0, (%rsp)
movsd 0x5cbe1(%rip), %xmm0    # 0x6c7a8
callq 0x33d0
jmp 0xfbe5
callq 0x3460
movsd %xmm0, (%rsp)
movsd 0x5cbc8(%rip), %xmm0    # 0x6c7a8
callq 0x31e0
mulsd (%rsp), %xmm0
cvtsd2ss %xmm0, %xmm0
popq %rax
retq
// File: /workspace/github_c_makefile_star2_O3/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, %r15d
movl %esi, %ebp
movq %rdi, %rbx
movslq %esi, %r12
movl $0x8, %esi
movq %r12, %rdi
callq 0x3250
movq %rax, %r14
testl %r12d, %r12d
jle 0xfd3f
movslq %r15d, %r15
movl %ebp, %r12d
xorl %r13d, %r13d
movl $0x4, %esi
movq %r15, %rdi
callq 0x3250
movq %rax, (%r14,%r13,8)
cvttss2si (%rbx,%r13,4), %ecx
movslq %ecx, %rcx
movl $0x3f800000, (%rax,%rcx,4) # imm = 0x3F800000
incq %r13
cmpq %r13, %r12
jne 0xfd16
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/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 %r14
pushq %rbx
movl 0xa4(%rsp), %esi
testl %esi, %esi
jle 0xfe2c
leaq 0x20(%rsp), %rax
movl 0x90(%rax), %edi
leal -0x1(%rdi), %ecx
cvtsi2sd %ecx, %xmm0
mulsd 0x453c3(%rip), %xmm0    # 0x55148
cvtsd2ss %xmm0, %xmm0
movl 0x74(%rax), %r8d
movq 0x250(%rax), %r9
movl %edi, %r10d
imull %edi, %r10d
xorl %r11d, %r11d
movaps 0x453bb(%rip), %xmm1    # 0x55160
movsd 0x453a3(%rip), %xmm2    # 0x55150
xorl %ecx, %ecx
testl %edi, %edi
jle 0xfe23
movl %ecx, %eax
cltd
idivl %r8d
addl %r11d, %edx
imull %r10d, %edx
xorl %eax, %eax
xorps %xmm3, %xmm3
cvtsi2ss %eax, %xmm3
subss %xmm0, %xmm3
andps %xmm1, %xmm3
xorps %xmm4, %xmm4
cvtss2sd %xmm3, %xmm4
movapd %xmm2, %xmm3
subsd %xmm4, %xmm3
xorl %ebx, %ebx
xorps %xmm4, %xmm4
cvtsi2ss %ebx, %xmm4
subss %xmm0, %xmm4
andps %xmm1, %xmm4
cvtss2sd %xmm4, %xmm4
movapd %xmm2, %xmm5
subsd %xmm4, %xmm5
mulsd %xmm3, %xmm5
xorps %xmm4, %xmm4
cvtsd2ss %xmm5, %xmm4
leal (%rdx,%rbx), %ebp
movslq %ebp, %r14
movss %xmm4, (%r9,%r14,4)
incq %rbx
cmpq %rbx, %rdi
jne 0xfde1
incl %eax
addq %rdi, %rdx
cmpl %edi, %eax
jne 0xfdc2
incl %ecx
addl %r8d, %r11d
cmpl %esi, %ecx
jne 0xfdaf
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 %r12
pushq %rbx
subq $0x20, %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)
movl 0x90(%r15), %r12d
movl 0x74(%r15), %ebx
xorps %xmm1, %xmm1
cvtsi2ssl 0x4f0(%rsp), %xmm1
movl 0x84(%r15), %ebp
movss %xmm1, 0xc(%rsp)
divss %xmm1, %xmm0
movq 0x238(%r15), %r14
movq 0x230(%r15), %rcx
movl %ebp, %edi
movss %xmm0, 0x8(%rsp)
movq %r14, %rsi
movl $0x1, %edx
movl $0x1, %r8d
callq 0x29d31
movl %ebp, %edi
movss 0x4(%rsp), %xmm0
movq %r14, %rsi
movl $0x1, %edx
callq 0x29d61
movq 0x240(%r15), %rcx
testq %rcx, %rcx
je 0x10374
movq 0x248(%r15), %r14
movl %ebp, %edi
movss 0x8(%rsp), %xmm0
movq %r14, %rsi
movl $0x1, %edx
movl $0x1, %r8d
callq 0x29d31
movl %ebp, %edi
movss 0x4(%rsp), %xmm0
movq %r14, %rsi
movl $0x1, %edx
callq 0x29d61
imull %r12d, %r12d
imull %ebp, %ebx
movaps 0x10(%rsp), %xmm0
xorps 0x44d09(%rip), %xmm0    # 0x55090
imull %r12d, %ebx
mulss 0xc(%rsp), %xmm0
movq 0x250(%r15), %r14
movq 0x258(%r15), %r15
movl %ebx, %edi
movq %r14, %rsi
movl $0x1, %edx
movq %r15, %rcx
movl $0x1, %r8d
callq 0x29d31
movl %ebx, %edi
movss 0x8(%rsp), %xmm0
movq %r15, %rsi
movl $0x1, %edx
movq %r14, %rcx
movl $0x1, %r8d
callq 0x29d31
movl %ebx, %edi
movss 0x4(%rsp), %xmm0
movq %r15, %rsi
movl $0x1, %edx
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x29d61
// File: /workspace/github_c_makefile_star2_O3/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
movslq 0xe4(%rsp), %rdx
testq %rdx, %rdx
jle 0x1053e
leaq 0x60(%rsp), %rax
movq 0x240(%rax), %r13
movq 0x2b8(%rax), %rdi
movl 0x74(%rax), %ecx
movl 0x90(%rax), %ebx
movl %ebx, %r12d
imull %ecx, %r12d
imull %ebx, %r12d
movq 0x250(%rax), %r9
movq %r9, 0x18(%rsp)
movq 0x2b0(%rax), %r9
movq 0x230(%rax), %r15
imull %ebx, %ebx
imull %ecx, %ebx
xorl %ebp, %ebp
movsd 0x44cf2(%rip), %xmm2    # 0x55158
xorpd %xmm3, %xmm3
movl $0x3f800000, %r11d      # imm = 0x3F800000
xorl %r14d, %r14d
movq %rdi, 0x10(%rsp)
movq %r9, 0x8(%rsp)
movq %rdx, (%rsp)
xorps %xmm1, %xmm1
cvtss2sd (%r13,%r14,4), %xmm1
xorps %xmm0, %xmm0
cvtss2sd (%rdi,%r14,4), %xmm0
addsd %xmm2, %xmm0
ucomisd %xmm3, %xmm0
jb 0x104a4
sqrtsd %xmm0, %xmm0
jmp 0x104d5
movsd %xmm1, 0x20(%rsp)
callq 0x3460
movsd 0x20(%rsp), %xmm1
movl $0x3f800000, %r11d      # imm = 0x3F800000
xorpd %xmm3, %xmm3
movsd 0x44c91(%rip), %xmm2    # 0x55158
movq 0x8(%rsp), %r9
movq 0x10(%rsp), %rdi
movq (%rsp), %rdx
divsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
testl %r12d, %r12d
jle 0x10509
movslq %ebp, %rax
movq 0x18(%rsp), %rcx
leaq (%rcx,%rax,4), %rax
xorl %ecx, %ecx
movss (%rax,%rcx,4), %xmm1
mulss %xmm0, %xmm1
movss %xmm1, (%rax,%rcx,4)
incq %rcx
cmpq %rcx, %r12
jne 0x104f3
movss (%r15,%r14,4), %xmm1
mulss (%r9,%r14,4), %xmm0
subss %xmm0, %xmm1
movss %xmm1, (%r15,%r14,4)
movl %r11d, (%r13,%r14,4)
movl $0x0, (%r9,%r14,4)
movl %r11d, (%rdi,%r14,4)
incq %r14
addl %ebx, %ebp
cmpq %rdx, %r14
jne 0x10481
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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:
testl %esi, %esi
jle 0x10718
cvtsi2ss %edx, %xmm0
movl %edx, %eax
movl %esi, %esi
leaq (,%rax,4), %r8
xorl %r9d, %r9d
movaps 0x44ab1(%rip), %xmm1    # 0x55160
movaps 0x449da(%rip), %xmm2    # 0x55090
testl %edx, %edx
jle 0x1070a
xorps %xmm3, %xmm3
xorl %r10d, %r10d
movss (%rdi,%r10,4), %xmm4
andps %xmm1, %xmm4
addss %xmm4, %xmm3
incq %r10
cmpq %r10, %rax
jne 0x106c0
testl %edx, %edx
jle 0x1070a
divss %xmm0, %xmm3
movaps %xmm3, %xmm4
xorps %xmm2, %xmm4
xorl %r10d, %r10d
xorps %xmm5, %xmm5
cmpltss (%rdi,%r10,4), %xmm5
movaps %xmm5, %xmm6
andps %xmm3, %xmm6
andnps %xmm4, %xmm5
orps %xmm6, %xmm5
movss %xmm5, (%rcx,%r10,4)
incq %r10
cmpq %r10, %rax
jne 0x106e6
incq %r9
addq %r8, %rdi
addq %r8, %rcx
cmpq %rsi, %r9
jne 0x106b6
retq
// File: /workspace/github_c_makefile_star2_O3/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:
testl %edx, %edx
jle 0x107e0
cvtsi2ss %esi, %xmm0
movl %edx, %eax
movl %esi, %edx
leaq (,%rax,4), %r8
xorl %r9d, %r9d
movaps 0x449f0(%rip), %xmm1    # 0x55160
movaps 0x44919(%rip), %xmm2    # 0x55090
testl %esi, %esi
jle 0x107d0
xorps %xmm3, %xmm3
movq %rdx, %r10
movq %rdi, %r11
movss (%r11), %xmm4
andps %xmm1, %xmm4
addss %xmm4, %xmm3
addq %r8, %r11
decq %r10
jne 0x10784
testl %esi, %esi
jle 0x107d0
divss %xmm0, %xmm3
movaps %xmm3, %xmm4
xorps %xmm2, %xmm4
movq %rdx, %r10
xorl %r11d, %r11d
xorps %xmm5, %xmm5
cmpltss (%rdi,%r11), %xmm5
movaps %xmm5, %xmm6
andps %xmm3, %xmm6
andnps %xmm4, %xmm5
orps %xmm6, %xmm5
movss %xmm5, (%rcx,%r11)
addq %r8, %r11
decq %r10
jne 0x107ac
incq %r9
addq $0x4, %rdi
addq $0x4, %rcx
cmpq %rax, %r9
jne 0x10777
retq
// File: /workspace/github_c_makefile_star2_O3/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 %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
leaq 0x40(%rsp), %r15
movss 0x4e4(%rsp), %xmm0
movss 0x4e8(%rsp), %xmm1
movss %xmm1, 0x4(%rsp)
mulss 0xec(%r15), %xmm0
movss 0x4ec(%rsp), %xmm1
movaps %xmm1, 0x10(%rsp)
xorps %xmm1, %xmm1
cvtsi2ssl 0x4e0(%rsp), %xmm1
movl 0x84(%r15), %ebx
movss %xmm1, 0xc(%rsp)
divss %xmm1, %xmm0
movq 0x238(%r15), %r14
movq 0x230(%r15), %rcx
movl %ebx, %edi
movss %xmm0, 0x8(%rsp)
movq %r14, %rsi
movl $0x1, %edx
movl $0x1, %r8d
callq 0x29d31
movl %ebx, %edi
movss 0x4(%rsp), %xmm0
movq %r14, %rsi
movl $0x1, %edx
callq 0x29d61
movq 0x240(%r15), %rcx
testq %rcx, %rcx
je 0x11015
movq 0x248(%r15), %r14
movl %ebx, %edi
movss 0x8(%rsp), %xmm0
movq %r14, %rsi
movl $0x1, %edx
movl $0x1, %r8d
callq 0x29d31
movl %ebx, %edi
movss 0x4(%rsp), %xmm0
movq %r14, %rsi
movl $0x1, %edx
callq 0x29d61
movaps 0x10(%rsp), %xmm0
xorps 0x4406f(%rip), %xmm0    # 0x55090
movl 0x5c(%r15), %ebx
mulss 0xc(%rsp), %xmm0
movq 0x250(%r15), %r14
movq 0x258(%r15), %r15
movl %ebx, %edi
movq %r14, %rsi
movl $0x1, %edx
movq %r15, %rcx
movl $0x1, %r8d
callq 0x29d31
movl %ebx, %edi
movss 0x8(%rsp), %xmm0
movq %r15, %rsi
movl $0x1, %edx
movq %r14, %rcx
movl $0x1, %r8d
callq 0x29d31
movl %ebx, %edi
movss 0x4(%rsp), %xmm0
movq %r15, %rsi
movl $0x1, %edx
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
jmp 0x29d61
// File: /workspace/github_c_makefile_star2_O3/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:
testl %edx, %edx
jle 0x1138f
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %r8d, %eax
movl %ecx, %r9d
movl %edx, %edx
movq %rax, %r10
imulq %r9, %r10
shlq $0x2, %r10
leaq (,%rax,4), %r11
xorl %ebx, %ebx
testl %ecx, %ecx
jle 0x1137d
movq %rdi, %r14
xorl %r15d, %r15d
testl %r8d, %r8d
jle 0x11372
xorl %r12d, %r12d
movss (%rsi,%r15,4), %xmm0
addss (%r14,%r12,4), %xmm0
movss %xmm0, (%r14,%r12,4)
incq %r12
cmpq %r12, %rax
jne 0x11358
incq %r15
addq %r11, %r14
cmpq %r9, %r15
jne 0x11350
incq %rbx
addq %r10, %rdi
cmpq %rdx, %rbx
jne 0x11346
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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:
testl %edx, %edx
jle 0x11401
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %r8d, %eax
movl %ecx, %r9d
movl %edx, %edx
movq %rax, %r10
imulq %r9, %r10
shlq $0x2, %r10
leaq (,%rax,4), %r11
xorl %ebx, %ebx
testl %ecx, %ecx
jle 0x113ef
movq %rdi, %r14
xorl %r15d, %r15d
testl %r8d, %r8d
jle 0x113e4
xorl %r12d, %r12d
movss (%rsi,%r15,4), %xmm0
mulss (%r14,%r12,4), %xmm0
movss %xmm0, (%r14,%r12,4)
incq %r12
cmpq %r12, %rax
jne 0x113ca
incq %r15
addq %r11, %r14
cmpq %r9, %r15
jne 0x113c2
incq %rbx
addq %r10, %rdi
cmpq %rdx, %rbx
jne 0x113b8
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 %ecx, 0x4(%rsp)
movq %rsi, 0x8(%rsp)
testl %edx, %edx
jle 0x11495
movl %r8d, %ebx
movq %rdi, %r15
movslq %r8d, %r13
movslq 0x4(%rsp), %rax
movl %edx, %ecx
movq %rcx, 0x10(%rsp)
movl %eax, %ebp
imulq %r13, %rax
shlq $0x2, %rax
movq %rax, 0x18(%rsp)
shlq $0x2, %r13
xorl %ecx, %ecx
movq %rcx, 0x20(%rsp)
cmpl $0x0, 0x4(%rsp)
jle 0x1147c
movq 0x8(%rsp), %r12
xorl %r14d, %r14d
movq %r12, %rdi
movl %ebx, %esi
callq 0xf5d3
addss (%r15,%r14,4), %xmm0
movss %xmm0, (%r15,%r14,4)
incq %r14
addq %r13, %r12
cmpq %r14, %rbp
jne 0x1145b
movq 0x20(%rsp), %rcx
incq %rcx
movq 0x18(%rsp), %rax
addq %rax, 0x8(%rsp)
cmpq 0x10(%rsp), %rcx
jne 0x11447
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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
movslq 0xf4(%rsp), %r15
testq %r15, %r15
jle 0x1156b
leaq 0x70(%rsp), %rcx
movl 0x74(%rcx), %eax
movl 0x90(%rcx), %ebx
movq 0x250(%rcx), %r12
cltd
idivl 0x8c(%rcx)
movl %eax, %ebp
movl %ebx, %r13d
imull %ebx, %r13d
imull %eax, %r13d
xorl %r14d, %r14d
movslq %r14d, %rax
leaq (%r12,%rax,4), %r8
leaq 0x20(%rsp), %rdi
movl %ebx, %esi
movl %ebx, %edx
movl %ebp, %ecx
callq 0x170ea
cmpl $0x3, 0x28(%rsp)
jne 0x11563
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x182c3
addl %r13d, %r14d
decq %r15
jne 0x1152d
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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)
testq %rax, %rax
jle 0x11662
leaq 0x80(%rsp), %rcx
movl 0x74(%rcx), %eax
movl 0x90(%rcx), %ebx
movq 0x250(%rcx), %rdx
movq %rdx, 0x38(%rsp)
cltd
idivl 0x8c(%rcx)
movl %eax, %ebp
movq 0x230(%rcx), %r13
movl %ebx, %r14d
imull %ebx, %r14d
imull %eax, %r14d
xorl %r15d, %r15d
xorl %r12d, %r12d
movslq %r15d, %rax
movq 0x38(%rsp), %rcx
leaq (%rcx,%rax,4), %r8
leaq 0x20(%rsp), %rdi
movl %ebx, %esi
movl %ebx, %edx
movl %ebp, %ecx
callq 0x170ea
cmpl $0x3, 0x28(%rsp)
jne 0x11655
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rsp)
movss 0x18(%rsp), %xmm0
callq 0x192dc
movq 0x30(%rsp), %rdi
movl 0x24(%rsp), %esi
imull 0x20(%rsp), %esi
imull 0x28(%rsp), %esi
callq 0xf5d3
mulss 0x1c(%rsp), %xmm0
addss (%r13,%r12,4), %xmm0
movss %xmm0, (%r13,%r12,4)
incq %r12
addl %r14d, %r15d
cmpq %r12, 0x40(%rsp)
jne 0x115e8
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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), %rbx
movl $0x18, %esi
movq %rbx, %rdi
callq 0x3250
movq %rax, 0x18(%rsp)
testq %rbx, %rbx
jle 0x1174a
leaq 0x90(%rsp), %rcx
movl 0x74(%rcx), %eax
movl 0x90(%rcx), %ebp
movq 0x250(%rcx), %rdx
movq %rdx, 0x20(%rsp)
cltd
idivl 0x8c(%rcx)
movl %eax, %r15d
movl %ebp, %r12d
imull %ebp, %r12d
imull %eax, %r12d
xorl %r13d, %r13d
movq 0x18(%rsp), %r14
movslq %r13d, %r13
movq 0x20(%rsp), %rax
leaq (%rax,%r13,4), %r8
leaq 0x28(%rsp), %rdi
movl %ebp, %esi
movl %ebp, %edx
movl %r15d, %ecx
callq 0x170ea
movq 0x38(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x28(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x40(%rsp), %rdi
callq 0x1626c
movq 0x50(%rsp), %rax
movq %rax, 0x10(%r14)
movups 0x40(%rsp), %xmm0
movups %xmm0, (%r14)
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movups (%r14), %xmm0
movups %xmm0, (%rsp)
callq 0x1807b
addl %r12d, %r13d
addq $0x18, %r14
decq %rbx
jne 0x116dc
movq 0x18(%rsp), %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x11671
movq %rax, %rbx
movl 0x84(%r15), %esi
movq %rax, %rdi
movq %r14, %rdx
callq 0x4623
movl 0x78(%r15), %edx
movl 0x7c(%r15), %esi
movl 0x80(%r15), %ecx
movq 0x268(%r15), %r8
leaq 0x4b8(%rsp), %r15
movq %r15, %rdi
callq 0x170ea
movq 0x10(%r15), %rax
movq %rax, 0x10(%rsp)
movups (%r15), %xmm0
movups %xmm0, (%rsp)
leaq 0x4a0(%rsp), %r15
movq %r15, %rdi
movl $0x1, %esi
callq 0x17e29
leaq 0x43a42(%rip), %rsi     # 0x55232
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 0x1657b
movq %rbx, %rax
addq $0x5d0, %rsp            # imm = 0x5D0
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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
movl $0x18, %edi
callq 0x3300
movl $0x0, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x11874
movq (%rdi), %rbx
movq 0x10(%rdi), %rax
movq %rax, 0x10(%r14)
testq %rax, %rax
je 0x1186a
movq $0x0, 0x8(%rax)
callq 0x3040
decl (%r14)
jmp 0x11876
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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
movl $0x18, %edi
callq 0x3300
movq %rbx, (%rax)
movq $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_O3/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:
testq %rdi, %rdi
je 0x118dd
pushq %rbx
movq 0x8(%rdi), %rbx
callq 0x3040
movq %rbx, %rdi
testq %rbx, %rbx
jne 0x118cb
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/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
movl $0x8, %esi
callq 0x3250
movq 0x8(%rbx), %rcx
testq %rcx, %rcx
je 0x11958
movq %rax, %rdx
movq (%rcx), %rsi
movq %rsi, (%rdx)
movq 0x8(%rcx), %rcx
addq $0x8, %rdx
testq %rcx, %rcx
jne 0x11945
popq %rbx
retq
nop
// File: /workspace/github_c_makefile_star2_O3/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 0x3f79c(%rip), %xmm1    # 0x55270
movss %xmm1, 0x4(%rsp)
xorps %xmm0, %xmm0
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 0x3f4e9(%rip), %xmm0    # 0x55008
subss %xmm1, %xmm0
movslq %ebp, %rcx
movslq %ebx, %rdx
leaq (%rcx,%rcx,2), %rcx
leaq 0x5677c(%rip), %rsi     # 0x6c2b0
leaq (%rsi,%rcx,4), %rcx
cltq
leaq (%rax,%rax,2), %rax
leaq (%rsi,%rax,4), %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_O3/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
movslq 0x88(%rsp), %r14
movl 0x80(%rsp), %eax
movl 0x84(%rsp), %r15d
movl %r15d, 0x4(%rdi)
movl %eax, (%rdi)
movl $0x3, 0x8(%rdi)
imull %eax, %r15d
leal (%r15,%r15,2), %eax
movslq %eax, %rdi
movl $0x4, %esi
callq 0x3250
movq %r14, %rsi
movq %rbx, 0x8(%rsp)
movq %rax, 0x10(%rbx)
testq %r14, %r14
jle 0x15d2f
movq %rax, %r14
leaq 0x80(%rsp), %rax
cvtsi2ss %esi, %xmm0
movss %xmm0, (%rsp)
leal (%r15,%r15), %ecx
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
movslq %r15d, %rax
movslq %ecx, %rcx
movl %r15d, %ebp
leaq (%r14,%rax,4), %rbx
leaq (%r14,%rcx,4), %r13
xorl %r12d, %r12d
xorl %eax, %eax
movq %rsi, 0x18(%rsp)
movq %rax, 0x28(%rsp)
imull $0x1e241, %eax, %eax    # imm = 0x1E241
xorl %edx, %edx
divl %esi
xorps %xmm0, %xmm0
cvtsi2ss %edx, %xmm0
divss (%rsp), %xmm0
mulss 0x3f65b(%rip), %xmm0    # 0x55270
movss %xmm0, 0x4(%rsp)
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x20(%rsp)
callq 0x33e0
movaps %xmm0, 0x30(%rsp)
movsd 0x20(%rsp), %xmm0
callq 0x3480
testl %r15d, %r15d
jle 0x15d16
movslq %r12d, %rax
movq 0x10(%rsp), %rcx
leaq (%rcx,%rax,4), %rax
movapd 0x30(%rsp), %xmm1
cvttsd2si %xmm1, %ecx
cvttsd2si %xmm0, %edx
cvttpd2dq %xmm1, %xmm0
cvtdq2ps %xmm0, %xmm0
movss 0x4(%rsp), %xmm4
subss %xmm0, %xmm4
movss 0x3f392(%rip), %xmm0    # 0x55008
subss %xmm4, %xmm0
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movslq %edx, %rdx
leaq (%rdx,%rdx,2), %rdx
leaq 0x56621(%rip), %rsi     # 0x6c2b0
movss 0x8(%rsi,%rdx,4), %xmm2
mulss %xmm4, %xmm2
movss 0x8(%rsi,%rcx,4), %xmm1
mulss %xmm0, %xmm1
addss %xmm2, %xmm1
movss 0x4(%rsi,%rdx,4), %xmm3
mulss %xmm4, %xmm3
movss 0x4(%rsi,%rcx,4), %xmm2
mulss %xmm0, %xmm2
addss %xmm3, %xmm2
mulss (%rsi,%rdx,4), %xmm4
mulss (%rsi,%rcx,4), %xmm0
addss %xmm4, %xmm0
xorl %ecx, %ecx
movss (%rax,%rcx,4), %xmm3
mulss %xmm1, %xmm3
addss (%r14,%rcx,4), %xmm3
movss %xmm3, (%r14,%rcx,4)
movss (%rax,%rcx,4), %xmm3
mulss %xmm2, %xmm3
addss (%rbx,%rcx,4), %xmm3
movss %xmm3, (%rbx,%rcx,4)
movss (%rax,%rcx,4), %xmm3
mulss %xmm0, %xmm3
addss (%r13,%rcx,4), %xmm3
movss %xmm3, (%r13,%rcx,4)
incq %rcx
cmpq %rcx, %rbp
jne 0x15ccf
movq 0x28(%rsp), %rax
incq %rax
addl %r15d, %r12d
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jne 0x15bf2
movq 0x8(%rsp), %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 $0x78, %rsp
movl 0xb8(%rsp), %eax
movl %eax, 0x2c(%rsp)
testl %eax, %eax
jle 0x15f03
leaq 0xc8(%rsp), %rax
leaq 0xb0(%rsp), %rcx
movl (%rcx), %edx
movq %rdx, 0x48(%rsp)
movl 0x4(%rcx), %ecx
movq %rcx, 0x38(%rsp)
movslq (%rax), %rcx
movslq 0x4(%rax), %rdx
movl 0x8(%rax), %r8d
movl %r8d, 0x30(%rsp)
movslq %edi, %rdi
movslq %esi, %rsi
leaq (,%rdi,4), %r8
addq 0x10(%rax), %r8
movq %r8, 0x50(%rsp)
movq %rsi, %rax
movq %rsi, 0x58(%rsp)
imull %ecx, %eax
movl %eax, 0x24(%rsp)
movq %rdx, 0x68(%rsp)
movl %edx, %eax
movq %rcx, 0x40(%rsp)
imull %ecx, %eax
movl %eax, 0x28(%rsp)
movq %rdi, 0x70(%rsp)
movl %edi, %r13d
xorl %ebx, %ebx
cmpl $0x0, 0x38(%rsp)
jle 0x15eef
movl 0x24(%rsp), %eax
movl %eax, 0x20(%rsp)
xorl %r14d, %r14d
cmpl $0x0, 0x48(%rsp)
jle 0x15ed5
movslq 0x20(%rsp), %rax
movq 0x50(%rsp), %rcx
leaq (%rcx,%rax,4), %rax
movq %rax, 0x60(%rsp)
movq 0x58(%rsp), %rax
leaq (%r14,%rax), %r15
xorl %r12d, %r12d
leaq 0xb0(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
movl %r12d, %edi
movl %r14d, %esi
movl %ebx, %edx
callq 0x15f12
movss %xmm0, 0x34(%rsp)
leal (%r12,%r13), %ebp
leaq 0xc8(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
movl %ebp, %edi
movl %r15d, %esi
movl %ebx, %edx
callq 0x15f66
orl %r15d, %ebp
js 0x15ec7
movq 0x70(%rsp), %rax
addq %r12, %rax
cmpq 0x40(%rsp), %rax
jge 0x15ec7
cmpq 0x68(%rsp), %r15
jge 0x15ec7
cmpl %ebx, 0x30(%rsp)
jle 0x15ec7
movss 0x34(%rsp), %xmm1
mulss %xmm0, %xmm1
movq 0x60(%rsp), %rax
movss %xmm1, (%rax,%r12,4)
incq %r12
cmpq %r12, 0x48(%rsp)
jne 0x15e3e
incq %r14
movl 0x20(%rsp), %eax
addl 0x40(%rsp), %eax
movl %eax, 0x20(%rsp)
cmpq 0x38(%rsp), %r14
jne 0x15e14
incl %ebx
movl 0x28(%rsp), %eax
addl %eax, 0x24(%rsp)
cmpl 0x2c(%rsp), %ebx
jne 0x15dfe
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x15f85
testl %esi, %esi
js 0x15f85
leaq 0x8(%rsp), %rax
cmpl %edi, (%rax)
jle 0x15f85
cmpl %esi, 0x4(%rax)
jle 0x15f85
testl %edx, %edx
js 0x15f85
cmpl %edx, 0x8(%rax)
jg 0x15f12
xorps %xmm0, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O3/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 $0x88, %rsp
movq %rdi, %rbx
movslq 0xc0(%rsp), %rax
movq %rax, 0x80(%rsp)
leal (%rax,%rsi,2), %ebp
movslq 0xc4(%rsp), %rax
movq %rsi, %r14
movq %rax, 0x78(%rsp)
leal (%rax,%rsi,2), %eax
movslq 0xc8(%rsp), %r15
movl %eax, 0x4(%rdi)
movl %ebp, (%rdi)
movl %r15d, 0x8(%rdi)
movl %eax, 0x20(%rsp)
imull %ebp, %eax
movl %eax, 0x38(%rsp)
imull %r15d, %eax
movslq %eax, %rdi
movl $0x4, %esi
callq 0x3250
movq %rbx, 0x40(%rsp)
movq %rax, 0x58(%rsp)
movq %rax, 0x10(%rbx)
movq %r15, 0x48(%rsp)
testq %r15, %r15
jle 0x1612b
movq %r14, %r15
movslq %r15d, %rax
movl 0x20(%rsp), %ecx
movq %rcx, 0x60(%rsp)
movl %ebp, %ecx
movq %rcx, 0x70(%rsp)
movq %rax, 0x50(%rsp)
negq %rax
movq %rax, 0x68(%rsp)
negl %r15d
movq $0x0, 0x28(%rsp)
xorl %r12d, %r12d
movl %ebp, 0x3c(%rsp)
cmpl $0x0, 0x20(%rsp)
jle 0x1610f
movq 0x28(%rsp), %rax
movl %eax, 0x24(%rsp)
movq $0x0, 0x30(%rsp)
testl %ebp, %ebp
jle 0x160ef
movl 0x24(%rsp), %eax
movq 0x58(%rsp), %rcx
leaq (%rcx,%rax,4), %r14
movq 0x30(%rsp), %r13
subq 0x50(%rsp), %r13
xorl %ebx, %ebx
leal (%r15,%rbx), %ebp
leaq 0xc0(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
movl %ebp, %edi
movl %r13d, %esi
movl %r12d, %edx
callq 0x15f66
orl %r13d, %ebp
jns 0x160b6
movss 0x3ef52(%rip), %xmm0    # 0x55008
movq 0x68(%rsp), %rax
addq %rbx, %rax
cmpq 0x80(%rsp), %rax
jl 0x160d0
movss 0x3ef38(%rip), %xmm0    # 0x55008
cmpq 0x78(%rsp), %r13
jl 0x160df
movss 0x3ef29(%rip), %xmm0    # 0x55008
movss %xmm0, (%r14,%rbx,4)
incq %rbx
cmpq %rbx, 0x70(%rsp)
jne 0x16080
movq 0x30(%rsp), %rcx
incq %rcx
movl 0x3c(%rsp), %ebp
addl %ebp, 0x24(%rsp)
movq %rcx, 0x30(%rsp)
cmpq 0x60(%rsp), %rcx
jne 0x1605f
incq %r12
movq 0x28(%rsp), %rax
addl 0x38(%rsp), %eax
movq %rax, 0x28(%rsp)
cmpq 0x48(%rsp), %r12
jne 0x16042
movq 0x40(%rsp), %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
leaq 0x78(%rsp), %r15
movl 0x60(%rsp), %ebp
testl %ebp, %ebp
je 0x1621e
leaq 0x60(%rsp), %r12
addl %esi, %ebp
movl (%r15), %eax
addl %ebp, %eax
movl 0x4(%r12), %ecx
movl 0x8(%r12), %edx
movl 0x4(%r15), %esi
movl 0x8(%r15), %edi
cmpl %esi, %ecx
cmovgl %ecx, %esi
cmpl %edi, %edx
cmovgl %edx, %edi
movl %esi, 0x4(%rbx)
movl %eax, (%rbx)
movl %edi, 0x8(%rbx)
imull %esi, %edi
imull %eax, %edi
movslq %edi, %r14
movl $0x4, %esi
movq %r14, %rdi
callq 0x3250
movq %rax, 0x10(%rbx)
movss 0x3ee54(%rip), %xmm0    # 0x55008
movl %r14d, %edi
movq %rax, %rsi
movl $0x1, %edx
callq 0x29d83
movq 0x10(%rbx), %rax
movq %rax, 0x28(%rsp)
movups (%rbx), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0x10(%r12), %rax
movq %rax, 0x10(%rsp)
movups (%r12), %xmm0
movups %xmm0, (%rsp)
xorl %edi, %edi
xorl %esi, %esi
callq 0x162c2
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)
movl %ebp, %edi
xorl %esi, %esi
callq 0x15d6b
jmp 0x1625c
movq 0x10(%r15), %r14
movups (%r15), %xmm0
movl 0x4(%r15), %eax
imull (%r15), %eax
imull 0x8(%r15), %eax
movups %xmm0, (%rbx)
movslq %eax, %r15
movl $0x4, %esi
movq %r15, %rdi
callq 0x3250
movq %rax, 0x10(%rbx)
shlq $0x2, %r15
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x32b0
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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
movl $0x4, %esi
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_O3/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 $0x68, %rsp
movl 0xa8(%rsp), %eax
movl %eax, 0x30(%rsp)
testl %eax, %eax
jle 0x16404
leaq 0xb8(%rsp), %rax
leaq 0xa0(%rsp), %rcx
movl (%rcx), %edx
movq %rdx, 0x40(%rsp)
movl 0x4(%rcx), %ecx
movq %rcx, 0x38(%rsp)
movslq (%rax), %rcx
movslq 0x4(%rax), %rdx
movl 0x8(%rax), %r8d
movl %r8d, 0x34(%rsp)
movslq %edi, %r12
movslq %esi, %rsi
leaq (,%r12,4), %rdi
addq 0x10(%rax), %rdi
movq %rdi, 0x48(%rsp)
movq %rsi, %rax
movq %rsi, 0x50(%rsp)
imull %ecx, %eax
movl %eax, 0x24(%rsp)
movq %rdx, 0x60(%rsp)
movl %edx, %eax
movq %rcx, %r13
imull %ecx, %eax
movl %eax, 0x2c(%rsp)
xorl %ebx, %ebx
cmpl $0x0, 0x38(%rsp)
jle 0x163f0
movl 0x24(%rsp), %eax
movl %eax, 0x28(%rsp)
xorl %r14d, %r14d
cmpl $0x0, 0x40(%rsp)
jle 0x163dd
movslq 0x28(%rsp), %rax
movq 0x48(%rsp), %rcx
leaq (%rcx,%rax,4), %rax
movq %rax, 0x58(%rsp)
movq 0x50(%rsp), %rax
leaq (%r14,%rax), %rbp
xorl %r15d, %r15d
leaq 0xa0(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
movl %r15d, %edi
movl %r14d, %esi
movl %ebx, %edx
callq 0x15f12
leaq (%r12,%r15), %rax
movl %eax, %ecx
orl %ebp, %ecx
js 0x163d3
cmpq %r13, %rax
jge 0x163d3
cmpq 0x60(%rsp), %rbp
jge 0x163d3
cmpl %ebx, 0x34(%rsp)
jle 0x163d3
movq 0x58(%rsp), %rax
movss %xmm0, (%rax,%r15,4)
incq %r15
cmpq %r15, 0x40(%rsp)
jne 0x16387
incq %r14
addl %r13d, 0x28(%rsp)
cmpq 0x38(%rsp), %r14
jne 0x16361
incl %ebx
movl 0x2c(%rsp), %eax
addl %eax, 0x24(%rsp)
cmpl 0x30(%rsp), %ebx
jne 0x1634b
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x40(%rsp)
movq %rax, 0x30(%rsp)
movl $0x0, 0x38(%rsp)
movb (%rdx), %al
testb %al, %al
je 0x16538
movq %rdx, %r14
movq %rsi, %r15
movslq %ecx, %rcx
imulq $0x66666667, %rcx, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x22, %rcx
addl %edx, %ecx
cmpl $0x7, %ecx
movl $0x7, %edx
cmovll %ecx, %edx
movslq %edx, %r13
movl %r13d, %ecx
notl %ecx
leal 0x1(%r13), %edx
shrl $0x1f, %edx
leal (%rdx,%r13), %ebp
incl %ebp
sarl %ebp
addl %ecx, %ebp
incq %r14
leaq 0x50(%rsp), %r12
movq (%r15,%r13,8), %rcx
movsbq %al, %rax
leaq (%rax,%rax,2), %rax
movq 0x10(%rcx,%rax,8), %rdx
movq %rdx, 0x28(%rsp)
movups (%rcx,%rax,8), %xmm0
movups %xmm0, 0x18(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %r12, %rdi
movl %ebp, %esi
callq 0x16142
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x164d6
callq 0x3040
movq 0x60(%rsp), %rax
movq %rax, 0x40(%rsp)
movups 0x50(%rsp), %xmm0
movaps %xmm0, 0x30(%rsp)
movb (%r14), %al
incq %r14
testb %al, %al
jne 0x1648b
movq 0x40(%rsp), %r14
xorps %xmm0, %xmm0
cvtsi2sdl 0x34(%rsp), %xmm0
mulsd 0x4102e(%rip), %xmm0    # 0x57538
cvttsd2si %xmm0, %esi
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %rbx, %rdi
callq 0x15f89
testq %r14, %r14
je 0x16555
movq %r14, %rdi
callq 0x3040
jmp 0x16555
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x15f89
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_O3/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 $0x68, %rsp
movq %rdx, 0x58(%rsp)
movq %rsi, 0x40(%rsp)
movl 0xbc(%rsp), %eax
movl %edi, %ecx
subl %eax, %ecx
cmovsl %edi, %ecx
movq %rcx, 0x38(%rsp)
movl %eax, 0x2c(%rsp)
testl %eax, %eax
jle 0x16703
leaq 0xb8(%rsp), %rcx
leaq 0xa0(%rsp), %rax
movl (%rcx), %edx
movl %edx, 0x1c(%rsp)
movl (%rax), %edx
movl 0x4(%rax), %ebx
movl 0x8(%rcx), %ecx
movq %rcx, 0x48(%rsp)
movslq 0x8(%rax), %rcx
movq %rcx, 0x60(%rsp)
movq 0x40(%rsp), %rcx
cmpl %ecx, %edx
movl %ecx, %esi
cmovgl %edx, %esi
movq 0x10(%rax), %rax
movq %rax, 0x50(%rsp)
subl %ecx, %esi
movl %esi, 0x34(%rsp)
movq 0x38(%rsp), %rax
cmpl %ebx, %eax
movl %ebx, %esi
cmovgl %eax, %esi
subl %eax, %esi
movl %esi, 0x28(%rsp)
imull %edx, %eax
addl %ecx, %eax
movl %eax, 0x18(%rsp)
movl %edx, 0x24(%rsp)
imull %edx, %ebx
xorl %r15d, %r15d
cmpl 0x28(%rsp), %r15d
je 0x16703
cmpl $0x0, 0x1c(%rsp)
jle 0x166e9
movq 0x38(%rsp), %rax
addl %r15d, %eax
movl %eax, 0x30(%rsp)
xorl %r12d, %r12d
movl 0x18(%rsp), %eax
movl %eax, 0x20(%rsp)
cmpl 0x34(%rsp), %r12d
je 0x166e9
cmpl $0x0, 0x48(%rsp)
jle 0x166d7
movq 0x40(%rsp), %rax
leal (%r12,%rax), %ebp
orl 0x30(%rsp), %ebp
movl 0x20(%rsp), %r14d
xorl %r13d, %r13d
leaq 0xb8(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
movl %r12d, %edi
movl %r15d, %esi
movl %r13d, %edx
callq 0x15f12
testl %ebp, %ebp
js 0x166ca
cmpq 0x60(%rsp), %r13
jge 0x166ca
movq 0x58(%rsp), %rax
mulss (%rax,%r13,4), %xmm0
movl %r14d, %eax
movq 0x50(%rsp), %rcx
movss %xmm0, (%rcx,%rax,4)
incq %r13
addl %ebx, %r14d
cmpq %r13, 0x48(%rsp)
jne 0x16681
incl %r12d
incl 0x20(%rsp)
cmpl 0x1c(%rsp), %r12d
jne 0x1665a
incl %r15d
movl 0x18(%rsp), %eax
addl 0x24(%rsp), %eax
movl %eax, 0x18(%rsp)
cmpl 0x2c(%rsp), %r15d
jne 0x1662d
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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
leaq 0x38(%rsp), %r9
xorl %eax, %eax
testl %edi, %edi
cmovlel %eax, %edi
movslq (%r9), %r8
leal -0x1(%r8), %r10d
cmpl %r8d, %edi
cmovgel %r10d, %edi
testl %edx, %edx
cmovlel %eax, %edx
cmpl %r8d, %edx
cmovgel %r10d, %edx
testl %esi, %esi
cmovlel %eax, %esi
movl 0x4(%r9), %r10d
leal -0x1(%r10), %r11d
cmpl %r10d, %esi
cmovgel %r11d, %esi
testl %ecx, %ecx
cmovgl %ecx, %eax
cmpl %r10d, %eax
cmovgel %r11d, %eax
movslq %edi, %rcx
cmpl %edx, %edi
jg 0x167fa
movq 0x10(%r9), %r14
movl %esi, %edi
imull %r8d, %edi
movl %eax, %r11d
imull %r8d, %r11d
movl %r10d, %ebx
imull %r8d, %ebx
movslq %edi, %r13
movslq %ebx, %r12
addl %ebx, %ebx
movslq %ebx, %r15
movslq %r11d, %rbx
addq %rcx, %rbx
shlq $0x2, %r15
leaq (%r15,%rbx,4), %rdi
addq %r14, %rdi
shlq $0x2, %r12
leaq (%r12,%rbx,4), %r11
addq %r14, %r11
leaq (%r14,%rbx,4), %rbx
addq %rcx, %r13
leaq (%r15,%r13,4), %r15
addq %r14, %r15
leaq (%r12,%r13,4), %r12
addq %r14, %r12
leaq (%r14,%r13,4), %r14
movl %edx, %r13d
subl %ecx, %r13d
incl %r13d
xorl %ebp, %ebp
movss %xmm0, (%r14,%rbp,4)
movss %xmm0, (%rbx,%rbp,4)
movss %xmm1, (%r12,%rbp,4)
movss %xmm1, (%r11,%rbp,4)
movss %xmm2, (%r15,%rbp,4)
movss %xmm2, (%rdi,%rbp,4)
incq %rbp
cmpl %ebp, %r13d
jne 0x167d0
cmpl %eax, %esi
jg 0x16877
movq 0x10(%r9), %rdi
imull %r8d, %r10d
movslq %esi, %rbx
movslq %r10d, %r14
addl %r10d, %r10d
movslq %r10d, %r11
movslq %edx, %r10
imulq %r8, %rbx
addq %rbx, %r10
leaq (,%r10,4), %rdx
shlq $0x2, %r11
leaq (%r11,%r10,4), %r9
shlq $0x2, %r8
shlq $0x2, %r14
leaq (%r14,%r10,4), %r10
addq %rcx, %rbx
leaq (,%rbx,4), %rcx
leaq (%r11,%rbx,4), %r11
leaq (%r14,%rbx,4), %rbx
subl %esi, %eax
incl %eax
movss %xmm0, (%rdi,%rcx)
movss %xmm0, (%rdi,%rdx)
movss %xmm1, (%rdi,%rbx)
movss %xmm1, (%rdi,%r10)
movss %xmm2, (%rdi,%r11)
movss %xmm2, (%rdi,%r9)
addq %r8, %rdi
decl %eax
jne 0x1684f
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq