LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/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 0x285e9
movl %ebp, %edi
movss 0x4(%rsp), %xmm0
movq %r14, %rsi
movl $0x1, %edx
callq 0x28619
movq 0x240(%r15), %rcx
testq %rcx, %rcx
je 0xfaaf
movq 0x248(%r15), %r14
movl %ebp, %edi
movss 0x8(%rsp), %xmm0
movq %r14, %rsi
movl $0x1, %edx
movl $0x1, %r8d
callq 0x285e9
movl %ebp, %edi
movss 0x4(%rsp), %xmm0
movq %r14, %rsi
movl $0x1, %edx
callq 0x28619
imull %r12d, %r12d
imull %ebp, %ebx
movaps 0x10(%rsp), %xmm0
xorps 0x4368e(%rip), %xmm0    # 0x53150
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 0x285e9
movl %ebx, %edi
movss 0x8(%rsp), %xmm0
movq %r15, %rsi
movl $0x1, %edx
movq %r14, %rcx
movl $0x1, %r8d
callq 0x285e9
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 0x28619
// File: /workspace/github_c_makefile_star2_O1/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 0xfc79
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 0x4358f(%rip), %xmm2    # 0x53130
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 0xfbdf
sqrtsd %xmm0, %xmm0
jmp 0xfc10
movsd %xmm1, 0x20(%rsp)
callq 0x3470
movsd 0x20(%rsp), %xmm1
movl $0x3f800000, %r11d      # imm = 0x3F800000
xorpd %xmm3, %xmm3
movsd 0x4352e(%rip), %xmm2    # 0x53130
movq 0x8(%rsp), %r9
movq 0x10(%rsp), %rdi
movq (%rsp), %rdx
divsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
testl %r12d, %r12d
jle 0xfc44
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 0xfc2e
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 0xfbbc
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x3360
movq %rax, 0x268(%rbx)
movq 0x260(%rbx), %rdi
movslq 0x48(%rbx), %rax
movslq 0x58(%rbx), %rsi
imulq %rax, %rsi
shlq $0x2, %rsi
callq 0x3360
movq %rax, 0x260(%rbx)
cmpl $0x0, 0x40(%rbx)
je 0xfd75
movq 0x2c0(%rbx), %rdi
movslq 0x48(%rbx), %rax
movslq 0x58(%rbx), %rsi
imulq %rax, %rsi
shlq $0x2, %rsi
callq 0x3360
movq %rax, 0x2c0(%rbx)
movq 0x2c8(%rbx), %rdi
movslq 0x48(%rbx), %rax
movslq 0x58(%rbx), %rsi
imulq %rax, %rsi
shlq $0x2, %rsi
callq 0x3360
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
// File: /workspace/github_c_makefile_star2_O1/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 0xfe50
cvtsi2ss %edx, %xmm0
movl %edx, %eax
movl %esi, %esi
leaq (,%rax,4), %r8
xorl %r9d, %r9d
movaps 0x43359(%rip), %xmm1    # 0x53140
movaps 0x43362(%rip), %xmm2    # 0x53150
xorps %xmm3, %xmm3
testl %edx, %edx
jle 0xfe0d
xorl %r10d, %r10d
movss (%rdi,%r10,4), %xmm4
andps %xmm1, %xmm4
addss %xmm4, %xmm3
incq %r10
cmpq %r10, %rax
jne 0xfdf8
testl %edx, %edx
jle 0xfe42
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 0xfe1e
incq %r9
addq %r8, %rdi
addq %r8, %rcx
cmpq %rsi, %r9
jne 0xfdee
retq
// File: /workspace/github_c_makefile_star2_O1/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 0xff18
cvtsi2ss %esi, %xmm0
movl %edx, %eax
movl %esi, %edx
leaq (,%rax,4), %r8
xorl %r9d, %r9d
movaps 0x43298(%rip), %xmm1    # 0x53140
movaps 0x432a1(%rip), %xmm2    # 0x53150
xorps %xmm3, %xmm3
testl %esi, %esi
jle 0xfed0
movq %rdx, %r10
movq %rdi, %r11
movss (%r11), %xmm4
andps %xmm1, %xmm4
addss %xmm4, %xmm3
addq %r8, %r11
decq %r10
jne 0xfebc
testl %esi, %esi
jle 0xff08
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 0xfee4
incq %r9
addq $0x4, %rdi
addq $0x4, %rcx
cmpq %rax, %r9
jne 0xfeaf
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x285e9
movl %ebx, %edi
movss 0x4(%rsp), %xmm0
movq %r14, %rsi
movl $0x1, %edx
callq 0x28619
movq 0x240(%r15), %rcx
testq %rcx, %rcx
je 0x1068d
movq 0x248(%r15), %r14
movl %ebx, %edi
movss 0x8(%rsp), %xmm0
movq %r14, %rsi
movl $0x1, %edx
movl $0x1, %r8d
callq 0x285e9
movl %ebx, %edi
movss 0x4(%rsp), %xmm0
movq %r14, %rsi
movl $0x1, %edx
callq 0x28619
movaps 0x10(%rsp), %xmm0
xorps 0x42ab7(%rip), %xmm0    # 0x53150
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 0x285e9
movl %ebx, %edi
movss 0x8(%rsp), %xmm0
movq %r15, %rsi
movl $0x1, %edx
movq %r14, %rcx
movl $0x1, %r8d
callq 0x285e9
movl %ebx, %edi
movss 0x4(%rsp), %xmm0
movq %r15, %rsi
movl $0x1, %edx
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
jmp 0x28619
// File: /workspace/github_c_makefile_star2_O1/SimpleDoger[P]Darknet_CPU_Only/convolutional_layer.c
// Function: resize_convolutional_layer
void resize_convolutional_layer(convolutional_layer *l, int w, int h)
{
    l->w = w;
    l->h = h;
    int out_w = convolutional_out_width(*l);
    int out_h = convolutional_out_height(*l);

    l->out_w = out_w;
    l->out_h = out_h;

    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
movl %edx, %ecx
movq %rdi, %rbx
movl %esi, 0x70(%rdi)
movl %edx, 0x6c(%rdi)
movl 0x90(%rdi), %r8d
movl 0x98(%rdi), %edi
movl 0xa8(%rbx), %r9d
movl %edx, %r10d
imull %esi, %ecx
movl %esi, %eax
subl %r8d, %eax
leal (%rax,%r9,2), %eax
cltd
idivl %edi
movl %eax, %esi
incl %esi
subl %r8d, %r10d
leal (%r10,%r9,2), %eax
cltd
idivl %edi
incl %eax
movl %esi, 0x7c(%rbx)
movl %eax, 0x78(%rbx)
imull %esi, %eax
movslq 0x80(%rbx), %rdx
cltq
imulq %rdx, %rax
movl %eax, 0x58(%rbx)
imull 0x74(%rbx), %ecx
movl %ecx, 0x54(%rbx)
movq 0x268(%rbx), %rdi
movslq 0x48(%rbx), %rsi
imulq %rax, %rsi
shlq $0x2, %rsi
callq 0x3360
movq %rax, 0x268(%rbx)
movq 0x260(%rbx), %rdi
movslq 0x48(%rbx), %rax
movslq 0x58(%rbx), %rsi
imulq %rax, %rsi
shlq $0x2, %rsi
callq 0x3360
movq %rax, 0x260(%rbx)
cmpl $0x0, 0x40(%rbx)
je 0x1095a
movq 0x2c0(%rbx), %rdi
movslq 0x48(%rbx), %rax
movslq 0x58(%rbx), %rsi
imulq %rax, %rsi
shlq $0x2, %rsi
callq 0x3360
movq %rax, 0x2c0(%rbx)
movq 0x2c8(%rbx), %rdi
movslq 0x48(%rbx), %rax
movslq 0x58(%rbx), %rsi
imulq %rax, %rsi
shlq $0x2, %rsi
callq 0x3360
movq %rax, 0x2c8(%rbx)
movslq 0x74(%rbx), %rax
movslq 0x78(%rbx), %rcx
imulq %rax, %rcx
movslq 0x7c(%rbx), %rax
movslq 0x8c(%rbx), %rsi
movslq 0x90(%rbx), %rdx
imulq %rdx, %rax
imulq %rcx, %rax
imulq %rdx, %rax
xorl %edx, %edx
divq %rsi
shlq $0x2, %rax
movq %rax, 0x498(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x10a07
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 0x109f5
movq %rdi, %r14
xorl %r15d, %r15d
testl %r8d, %r8d
jle 0x109ea
xorl %r12d, %r12d
movss (%rsi,%r15,4), %xmm0
addss (%r14,%r12,4), %xmm0
movss %xmm0, (%r14,%r12,4)
incq %r12
cmpq %r12, %rax
jne 0x109d0
incq %r15
addq %r11, %r14
cmpq %r9, %r15
jne 0x109c8
incq %rbx
addq %r10, %rdi
cmpq %rdx, %rbx
jne 0x109be
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x10a79
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 0x10a67
movq %rdi, %r14
xorl %r15d, %r15d
testl %r8d, %r8d
jle 0x10a5c
xorl %r12d, %r12d
movss (%rsi,%r15,4), %xmm0
mulss (%r14,%r12,4), %xmm0
movss %xmm0, (%r14,%r12,4)
incq %r12
cmpq %r12, %rax
jne 0x10a42
incq %r15
addq %r11, %r14
cmpq %r9, %r15
jne 0x10a3a
incq %rbx
addq %r10, %rdi
cmpq %rdx, %rbx
jne 0x10a30
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x10b0d
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 0x10af4
movq 0x8(%rsp), %r12
xorl %r14d, %r14d
movq %r12, %rdi
movl %ebx, %esi
callq 0xedee
addss (%r15,%r14,4), %xmm0
movss %xmm0, (%r15,%r14,4)
incq %r14
addq %r13, %r12
cmpq %r14, %rbp
jne 0x10ad3
movq 0x20(%rsp), %rcx
incq %rcx
movq 0x18(%rsp), %rax
addq %rax, 0x8(%rsp)
cmpq 0x10(%rsp), %rcx
jne 0x10abf
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/SimpleDoger[P]Darknet_CPU_Only/convolutional_layer.c
// Function: get_convolutional_weight
image get_convolutional_weight(convolutional_layer l, int i)
{
    int h = l.size;
    int w = l.size;
    int c = l.c/l.groups;
    return float_to_image(w,h,c,l.weights+i*h*w*c);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl 0x84(%rsp), %eax
movl 0xa0(%rsp), %ecx
cltd
idivl 0x9c(%rsp)
imull %ecx, %esi
imull %ecx, %esi
imull %eax, %esi
movslq %esi, %r8
shlq $0x2, %r8
addq 0x260(%rsp), %r8
movl %ecx, %esi
movl %ecx, %edx
movl %eax, %ecx
callq 0x1675b
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x10be3
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 0x1675b
cmpl $0x3, 0x28(%rsp)
jne 0x10bdb
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x17a34
addl %r13d, %r14d
decq %r15
jne 0x10ba5
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x10cda
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 0x1675b
cmpl $0x3, 0x28(%rsp)
jne 0x10ccd
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rsp)
movss 0x18(%rsp), %xmm0
callq 0x18a63
movq 0x30(%rsp), %rdi
movl 0x24(%rsp), %esi
imull 0x20(%rsp), %esi
imull 0x28(%rsp), %esi
callq 0xedee
mulss 0x1c(%rsp), %xmm0
addss (%r13,%r12,4), %xmm0
movss %xmm0, (%r13,%r12,4)
incq %r12
addl %r14d, %r15d
cmpq %r12, 0x40(%rsp)
jne 0x10c60
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x3260
movq %rax, 0x18(%rsp)
testq %rbx, %rbx
jle 0x10dc2
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 0x1675b
movq 0x38(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x28(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x40(%rsp), %rdi
callq 0x15841
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 0x177d6
addl %r12d, %r13d
addq $0x18, %r14
decq %rbx
jne 0x10d54
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_O1/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 0x10ce9
movq %rax, %rbx
movl 0x84(%r15), %esi
movq %rax, %rdi
movq %r14, %rdx
callq 0x44af
movl 0x78(%r15), %edx
movl 0x7c(%r15), %esi
movl 0x80(%r15), %ecx
movq 0x268(%r15), %r8
leaq 0x4b8(%rsp), %r15
movq %r15, %rdi
callq 0x1675b
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 0x17599
leaq 0x4239a(%rip), %rsi     # 0x53202
leaq 0x4d0(%rsp), %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x3430
movq 0x10(%r15), %rax
movq %rax, 0x10(%rsp)
movups (%r15), %xmm0
movups %xmm0, (%rsp)
callq 0x15b37
movq %rbx, %rax
addq $0x5d0, %rsp            # imm = 0x5D0
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x3310
movl $0x0, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x10eec
movq (%rdi), %rbx
movq 0x10(%rdi), %rax
movq %rax, 0x10(%r14)
testq %rax, %rax
je 0x10ee2
movq $0x0, 0x8(%rax)
callq 0x3040
decl (%r14)
jmp 0x10eee
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x3310
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_O1/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 0x10f55
pushq %rbx
movq 0x8(%rdi), %rbx
callq 0x3040
movq %rbx, %rdi
testq %rbx, %rbx
jne 0x10f43
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x3260
movq 0x8(%rbx), %rcx
testq %rcx, %rcx
je 0x10fd0
movq %rax, %rdx
movq (%rcx), %rsi
movq %rsi, (%rdx)
movq 0x8(%rcx), %rcx
addq $0x8, %rdx
testq %rcx, %rcx
jne 0x10fbd
popq %rbx
retq
nop
// File: /workspace/github_c_makefile_star2_O1/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 0x3e219(%rip), %xmm1    # 0x53240
movss %xmm1, 0x4(%rsp)
xorps %xmm0, %xmm0
cvtss2sd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
callq 0x33f0
movaps %xmm0, 0x10(%rsp)
cvttsd2si %xmm0, %ebp
movsd 0x8(%rsp), %xmm0
callq 0x3490
cvttsd2si %xmm0, %eax
cvttpd2dq 0x10(%rsp), %xmm0
cvtdq2ps %xmm0, %xmm0
movss 0x4(%rsp), %xmm1
subss %xmm0, %xmm1
movss 0x3df96(%rip), %xmm0    # 0x53008
subss %xmm1, %xmm0
movslq %ebp, %rcx
movslq %ebx, %rdx
leaq (%rcx,%rcx,2), %rcx
leaq 0x55229(%rip), %rsi     # 0x6a2b0
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_O1/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
movq $0x0, 0x10(%rdi)
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 0x3260
movq %r14, %rsi
movq %rbx, 0x8(%rsp)
movq %rax, 0x10(%rbx)
testq %r14, %r14
jle 0x1528a
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 0x3e0d0(%rip), %xmm0    # 0x53240
movss %xmm0, 0x4(%rsp)
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x20(%rsp)
callq 0x33f0
movaps %xmm0, 0x30(%rsp)
movsd 0x20(%rsp), %xmm0
callq 0x3490
testl %r15d, %r15d
jle 0x15271
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 0x3de37(%rip), %xmm0    # 0x53008
subss %xmm4, %xmm0
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movslq %edx, %rdx
leaq (%rdx,%rdx,2), %rdx
leaq 0x550c6(%rip), %rsi     # 0x6a2b0
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 0x1522a
movq 0x28(%rsp), %rax
incq %rax
addl %r15d, %r12d
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jne 0x1514d
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_O1/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 0x15467
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 0x15453
movl 0x24(%rsp), %eax
movl %eax, 0x20(%rsp)
xorl %r14d, %r14d
cmpl $0x0, 0x48(%rsp)
jle 0x15439
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 0x15476
movss %xmm0, 0x34(%rsp)
movq 0x70(%rsp), %rax
leaq (%rax,%r12), %rbp
leal (%r12,%r13), %edi
leaq 0xc8(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
movl %r15d, %esi
movl %ebx, %edx
callq 0x154ca
movl %ebp, %eax
orl %r15d, %eax
js 0x1542b
cmpq 0x40(%rsp), %rbp
jge 0x1542b
cmpq 0x68(%rsp), %r15
jge 0x1542b
cmpl %ebx, 0x30(%rsp)
jle 0x1542b
movss 0x34(%rsp), %xmm1
mulss %xmm0, %xmm1
movq 0x60(%rsp), %rax
movss %xmm1, (%rax,%r12,4)
incq %r12
cmpq %r12, 0x48(%rsp)
jne 0x153a1
incq %r14
movl 0x20(%rsp), %eax
addl 0x40(%rsp), %eax
movl %eax, 0x20(%rsp)
cmpq 0x38(%rsp), %r14
jne 0x15377
incl %ebx
movl 0x28(%rsp), %eax
addl %eax, 0x24(%rsp)
cmpl 0x2c(%rsp), %ebx
jne 0x15361
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x154e9
testl %esi, %esi
js 0x154e9
leaq 0x8(%rsp), %rax
cmpl %edi, (%rax)
jle 0x154e9
cmpl %esi, 0x4(%rax)
jle 0x154e9
testl %edx, %edx
js 0x154e9
cmpl %edx, 0x8(%rax)
jg 0x15476
xorps %xmm0, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O1/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 $0x98, %rsp
movq %rdi, %rbx
movslq 0xd0(%rsp), %rax
movslq %esi, %rcx
leaq (%rcx,%rcx), %r14
movq %rax, 0x88(%rsp)
addl %eax, %r14d
movslq 0xd4(%rsp), %rax
movq %rcx, 0x48(%rsp)
movq %rax, 0x80(%rsp)
leaq (%rax,%rcx,2), %rax
movslq 0xd8(%rsp), %r15
movq $0x0, 0x10(%rdi)
movl %eax, 0x4(%rdi)
movl %r14d, (%rdi)
movl %r15d, 0x8(%rdi)
movq %rax, 0x30(%rsp)
imull %r14d, %eax
movl %eax, 0x44(%rsp)
imull %r15d, %eax
movslq %eax, %rdi
movl $0x4, %esi
callq 0x3260
movq %rbx, 0x50(%rsp)
movq %rax, 0x60(%rsp)
movq %rax, 0x10(%rbx)
movq %r15, 0x58(%rsp)
testq %r15, %r15
setg 0x22(%rsp)
jle 0x156e8
movq 0x30(%rsp), %rax
testl %eax, %eax
setg 0x23(%rsp)
movl %eax, %eax
movq %rax, 0x68(%rsp)
movl %r14d, %ebx
movq 0x48(%rsp), %rbp
movq %rbp, %rax
negq %rax
movq %rax, 0x78(%rsp)
negl %ebp
movq $0x0, 0x28(%rsp)
xorl %r15d, %r15d
movq %r14, 0x70(%rsp)
cmpl $0x0, 0x30(%rsp)
jle 0x156c1
movq 0x28(%rsp), %rax
movl %eax, 0x24(%rsp)
movq $0x0, 0x38(%rsp)
movb 0x23(%rsp), %r13b
testl %r14d, %r14d
jle 0x15696
movl 0x24(%rsp), %eax
movq 0x60(%rsp), %rcx
leaq (%rcx,%rax,4), %rax
movq %rax, 0x90(%rsp)
movq 0x38(%rsp), %r12
subq 0x48(%rsp), %r12
andb 0x22(%rsp), %r13b
xorl %r14d, %r14d
leal (%r14,%rbp), %edi
leaq 0xd0(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rsp)
movups (%rcx), %xmm0
movups %xmm0, (%rsp)
movl %r12d, %esi
movl %r15d, %edx
callq 0x154ca
testb $0x1, %r13b
je 0x1568e
movq 0x78(%rsp), %rax
addq %r14, %rax
movl %eax, %ecx
orl %r12d, %ecx
jns 0x1565c
movss 0x3d9ac(%rip), %xmm0    # 0x53008
cmpq 0x88(%rsp), %rax
jl 0x1566e
movss 0x3d99a(%rip), %xmm0    # 0x53008
cmpq 0x80(%rsp), %r12
jl 0x15680
movss 0x3d988(%rip), %xmm0    # 0x53008
movq 0x90(%rsp), %rax
movss %xmm0, (%rax,%r14,4)
incq %r14
cmpq %r14, %rbx
jne 0x15618
movq 0x38(%rsp), %rcx
incq %rcx
cmpq 0x30(%rsp), %rcx
setl %r13b
movq 0x70(%rsp), %r14
addl %r14d, 0x24(%rsp)
movq %rcx, 0x38(%rsp)
cmpq 0x68(%rsp), %rcx
jne 0x155e8
incq %r15
movq 0x58(%rsp), %rax
cmpq %rax, %r15
setb 0x22(%rsp)
movq 0x28(%rsp), %rcx
addl 0x44(%rsp), %ecx
movq %rcx, 0x28(%rsp)
cmpq %rax, %r15
jne 0x155c6
movq 0x50(%rsp), %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x157e3
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
cmpl %esi, %ecx
cmovgl %ecx, %esi
movl 0x8(%r15), %ecx
cmpl %ecx, %edx
cmovgl %edx, %ecx
movq $0x0, 0x10(%rbx)
movl %esi, 0x4(%rbx)
movl %eax, (%rbx)
movl %ecx, 0x8(%rbx)
imull %esi, %ecx
imull %eax, %ecx
movslq %ecx, %r14
movl $0x4, %esi
movq %r14, %rdi
callq 0x3260
movq %rax, 0x10(%rbx)
movss 0x3d88f(%rip), %xmm0    # 0x53008
movl %r14d, %edi
movq %rax, %rsi
movl $0x1, %edx
callq 0x2863b
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 0x158a0
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 0x152ce
jmp 0x15831
movl (%r15), %eax
movl 0x4(%r15), %ecx
movl 0x8(%r15), %edx
movl 0xc(%r15), %esi
movq 0x10(%r15), %r14
movl %eax, (%rbx)
movl %ecx, 0x4(%rbx)
movl %edx, 0x8(%rbx)
movl %esi, 0xc(%rbx)
movq %r14, 0x10(%rbx)
imull %eax, %ecx
imull %edx, %ecx
movslq %ecx, %r15
movl $0x4, %esi
movq %r15, %rdi
callq 0x3260
movq %rax, 0x10(%rbx)
shlq $0x2, %r15
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x32c0
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rdi)
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 0x3260
movq %rax, 0x10(%rbx)
movq 0x30(%rsp), %rsi
shlq $0x2, %r14
movq %rax, %rdi
movq %r14, %rdx
callq 0x32c0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x159e2
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 0x159ce
movl 0x24(%rsp), %eax
movl %eax, 0x28(%rsp)
xorl %r14d, %r14d
cmpl $0x0, 0x40(%rsp)
jle 0x159bb
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 0x15476
leaq (%r12,%r15), %rax
movl %eax, %ecx
orl %ebp, %ecx
js 0x159b1
cmpq %r13, %rax
jge 0x159b1
cmpq 0x60(%rsp), %rbp
jge 0x159b1
cmpl %ebx, 0x34(%rsp)
jle 0x159b1
movq 0x58(%rsp), %rax
movss %xmm0, (%rax,%r15,4)
incq %r15
cmpq %r15, 0x40(%rsp)
jne 0x15965
incq %r14
addl %r13d, 0x28(%rsp)
cmpq 0x38(%rsp), %r14
jne 0x1593f
incl %ebx
movl 0x2c(%rsp), %eax
addl %eax, 0x24(%rsp)
cmpl 0x30(%rsp), %ebx
jne 0x15929
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x15ad2
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 0x156ff
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x15ab4
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 0x15a69
xorps %xmm0, %xmm0
cvtsi2sdl 0x34(%rsp), %xmm0
mulsd 0x3f975(%rip), %xmm0    # 0x55458
cvttsd2si %xmm0, %esi
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %rbx, %rdi
callq 0x154ed
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x15b11
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_O1/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 $0x78, %rsp
movq %rdx, 0x68(%rsp)
movq %rsi, 0x50(%rsp)
movl 0xcc(%rsp), %eax
movl %edi, %ecx
subl %eax, %ecx
cmovsl %edi, %ecx
movq %rcx, 0x48(%rsp)
movl %eax, 0x38(%rsp)
testl %eax, %eax
jle 0x15ce2
leaq 0xc8(%rsp), %rcx
leaq 0xb0(%rsp), %rax
movl (%rcx), %edx
movl %edx, 0x2c(%rsp)
movl (%rax), %esi
movl 0x4(%rax), %ebp
movl 0x8(%rcx), %ecx
movq %rcx, 0x58(%rsp)
movslq 0x8(%rax), %rcx
movq %rcx, 0x70(%rsp)
movq 0x50(%rsp), %rcx
cmpl %ecx, %esi
movl %ecx, %edx
cmovgl %esi, %edx
subl %ecx, %edx
movl %edx, 0x44(%rsp)
movq 0x48(%rsp), %rdx
cmpl %ebp, %edx
movl %ebp, %edi
cmovgl %edx, %edi
movq 0x10(%rax), %rax
movq %rax, 0x60(%rsp)
subl %edx, %edi
movl %edi, 0x34(%rsp)
movl %edx, %eax
imull %esi, %eax
addl %ecx, %eax
movl %eax, 0x24(%rsp)
movl %ebp, 0x3c(%rsp)
movl %esi, 0x28(%rsp)
imull %esi, %ebp
xorl %r15d, %r15d
cmpl 0x34(%rsp), %r15d
je 0x15ce2
cmpl $0x0, 0x2c(%rsp)
jle 0x15cc8
movq 0x48(%rsp), %rax
addl %r15d, %eax
movl %eax, 0x40(%rsp)
xorl %r12d, %r12d
movl 0x24(%rsp), %eax
movl %eax, 0x30(%rsp)
cmpl 0x44(%rsp), %r12d
je 0x15cc8
cmpl $0x0, 0x58(%rsp)
jle 0x15cb6
movq 0x50(%rsp), %rax
addl %r12d, %eax
cmpl 0x28(%rsp), %eax
setl %cl
movl 0x40(%rsp), %edx
cmpl 0x3c(%rsp), %edx
setl %bl
orl %edx, %eax
setns %al
andb %cl, %bl
andb %al, %bl
movl 0x30(%rsp), %r14d
xorl %r13d, %r13d
leaq 0xc8(%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 0x15476
cmpq 0x70(%rsp), %r13
setl %al
andb %bl, %al
cmpb $0x1, %al
jne 0x15ca9
movq 0x68(%rsp), %rax
mulss (%rax,%r13,4), %xmm0
movl %r14d, %eax
movq 0x60(%rsp), %rcx
movss %xmm0, (%rcx,%rax,4)
incq %r13
addl %ebp, %r14d
cmpq %r13, 0x58(%rsp)
jne 0x15c5d
incl %r12d
incl 0x30(%rsp)
cmpl 0x2c(%rsp), %r12d
jne 0x15c1c
incl %r15d
movl 0x24(%rsp), %eax
addl 0x28(%rsp), %eax
movl %eax, 0x24(%rsp)
cmpl 0x38(%rsp), %r15d
jne 0x15bef
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x15de7
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 %r11d, %r15
movslq %ebx, %r12
addl %ebx, %ebx
movslq %ebx, %rbp
addq %rcx, %r15
shlq $0x2, %rbp
leaq (,%r15,4), %rdi
addq %rbp, %rdi
addq %r14, %rdi
shlq $0x2, %r12
leaq (%r12,%r15,4), %r11
addq %r14, %r11
leaq (%r14,%r15,4), %rbx
addq %rcx, %r13
leaq (,%r13,4), %r15
addq %rbp, %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 0x15dbd
cmpl %eax, %esi
jg 0x15e64
movq 0x10(%r9), %rdi
imull %r8d, %r10d
movslq %esi, %rbx
movslq %edx, %r11
movslq %r10d, %r14
addl %r10d, %r10d
movslq %r10d, %r15
imulq %r8, %rbx
addq %rbx, %r11
leaq (,%r11,4), %rdx
shlq $0x2, %r15
leaq (%r15,%r11,4), %r9
shlq $0x2, %r8
shlq $0x2, %r14
leaq (%r14,%r11,4), %r10
addq %rcx, %rbx
leaq (,%rbx,4), %rcx
leaq (%r15,%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 0x15e3c
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq