LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: random_augment_args
augment_args random_augment_args(image im, float angle, float aspect, int low, int high, int w, int h)
{
    augment_args a = {0};
    aspect = rand_scale(aspect);
    int r = rand_int(low, high);
    int min = (im.h < im.w*aspect) ? im.h : im.w*aspect;
    float scale = (float)r / min;

    float rad = rand_uniform(-angle, angle) * TWO_PI / 360.;

    float dx = (im.w*scale/aspect - w) / 2.;
    float dy = (im.h*scale - w) / 2.;
    //if(dx < 0) dx = 0;
    //if(dy < 0) dy = 0;
    dx = rand_uniform(-dx, dx);
    dy = rand_uniform(-dy, dy);

    a.rad = rad;
    a.scale = scale;
    a.w = w;
    a.h = h;
    a.dx = dx;
    a.dy = dy;
    a.aspect = aspect;
    return a;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
movl %r8d, %ebx
movl %ecx, %ebp
movl %edx, %r15d
movl %esi, %r12d
movaps %xmm0, 0x50(%rsp)
movq %rdi, %r14
movaps %xmm1, %xmm0
callq 0xfc74
movss %xmm0, 0xc(%rsp)
movl %r12d, %edi
movl %r15d, %esi
callq 0xfade
xorps %xmm1, %xmm1
cvtsi2ssl 0x94(%rsp), %xmm1
movaps %xmm1, 0x30(%rsp)
cvtsi2ssl 0x90(%rsp), %xmm2
movaps %xmm2, 0x10(%rsp)
movss 0xc(%rsp), %xmm0
mulss %xmm2, %xmm0
minss %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
movaps %xmm0, 0x20(%rsp)
cvttps2dq %xmm1, %xmm0
cvtdq2ps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movaps 0x50(%rsp), %xmm1
movaps %xmm1, %xmm0
xorps 0x3b374(%rip), %xmm0    # 0x55090
callq 0xfa10
mulss 0x3b55b(%rip), %xmm0    # 0x55284
movaps 0x20(%rsp), %xmm2
unpcklps %xmm0, %xmm2            # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
xorps %xmm0, %xmm0
cvtsi2ss %ebp, %xmm0
movaps 0x3b5c1(%rip), %xmm1    # 0x55300
movaps 0x40(%rsp), %xmm3
movss %xmm3, %xmm1            # xmm1 = xmm3[0],xmm1[1,2,3]
divps %xmm1, %xmm2
movaps 0x10(%rsp), %xmm1
mulss %xmm2, %xmm1
movaps %xmm2, %xmm4
movaps %xmm2, 0x20(%rsp)
divss 0xc(%rsp), %xmm1
subss %xmm0, %xmm1
movss 0x3b4f6(%rip), %xmm3    # 0x55264
mulss %xmm3, %xmm1
movaps 0x30(%rsp), %xmm2
mulss %xmm4, %xmm2
subss %xmm0, %xmm2
mulss %xmm3, %xmm2
movaps %xmm2, 0x30(%rsp)
movaps %xmm1, %xmm0
xorps 0x3b2fe(%rip), %xmm0    # 0x55090
callq 0xfa10
movss %xmm0, 0x10(%rsp)
movaps 0x3b2ec(%rip), %xmm0    # 0x55090
movaps 0x30(%rsp), %xmm1
xorps %xmm1, %xmm0
callq 0xfa10
movaps 0x20(%rsp), %xmm1
movlps %xmm1, 0x8(%r14)
movl %ebp, (%r14)
movl %ebx, 0x4(%r14)
movss 0x10(%rsp), %xmm1
movss %xmm1, 0x10(%r14)
movss %xmm0, 0x14(%r14)
movss 0xc(%rsp), %xmm0
movss %xmm0, 0x18(%r14)
movq %r14, %rax
addq $0x60, %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: yuv_to_rgb
void yuv_to_rgb(image im)
{
    assert(im.c == 3);
    int i, j;
    float r, g, b;
    float y, u, v;
    for(j = 0; j < im.h; ++j){
        for(i = 0; i < im.w; ++i){
            y = get_pixel(im, i , j, 0);
            u = get_pixel(im, i , j, 1);
            v = get_pixel(im, i , j, 2);

            r = y + 1.13983*v;
            g = y + -.39465*u + -.58060*v;
            b = y + 2.03211*u;

            set_pixel(im, i, j, 0, r);
            set_pixel(im, i, j, 1, g);
            set_pixel(im, i, j, 2, b);
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
cmpl $0x3, 0x98(%rsp)
jne 0x1a028
leaq 0x90(%rsp), %r15
movslq 0x4(%r15), %rax
movq %rax, 0x38(%rsp)
testq %rax, %rax
jle 0x1a019
movl (%r15), %r12d
movq 0x10(%r15), %rax
movq %rax, 0x40(%rsp)
movq 0x38(%rsp), %rax
imull %r12d, %eax
movq %rax, 0x28(%rsp)
addl %eax, %eax
movl %eax, 0x1c(%rsp)
movq $0x0, 0x20(%rsp)
xorl %ebx, %ebx
testl %r12d, %r12d
jle 0x19fec
movslq 0x1c(%rsp), %rax
movq 0x40(%rsp), %rdx
leaq (%rdx,%rax,4), %rax
movq %rax, 0x48(%rsp)
movslq 0x28(%rsp), %rax
leaq (%rdx,%rax,4), %rbp
movslq 0x20(%rsp), %rax
leaq (%rdx,%rax,4), %r13
xorl %r14d, %r14d
xorps %xmm0, %xmm0
cvtss2sd (%r13,%r14,4), %xmm0
movsd %xmm0, 0x50(%rsp)
movq 0x10(%r15), %rax
movq %rax, 0x10(%rsp)
movups (%r15), %xmm0
movups %xmm0, (%rsp)
movl %r14d, %edi
movl %ebx, %esi
movl $0x1, %edx
callq 0x15f12
movss %xmm0, 0x34(%rsp)
movq 0x10(%r15), %rax
movq %rax, 0x10(%rsp)
movups (%r15), %xmm0
movups %xmm0, (%rsp)
movl %r14d, %edi
movl %ebx, %esi
movl $0x2, %edx
callq 0x15f12
movsd 0x3d5f9(%rip), %xmm4    # 0x57560
movsd 0x3d5e9(%rip), %xmm3    # 0x57558
cvtss2sd %xmm0, %xmm0
xorps %xmm1, %xmm1
cvtss2sd 0x34(%rsp), %xmm1
movaps %xmm1, %xmm2
mulsd %xmm3, %xmm2
movsd 0x50(%rsp), %xmm5
addsd %xmm5, %xmm2
movaps %xmm0, %xmm3
mulsd %xmm4, %xmm3
addsd %xmm2, %xmm3
xorps %xmm2, %xmm2
cvtsd2ss %xmm3, %xmm2
movsd 0x3d5c1(%rip), %xmm3    # 0x57568
mulsd %xmm3, %xmm1
movsd 0x3d5bd(%rip), %xmm3    # 0x57570
addsd %xmm5, %xmm1
cvtsd2ss %xmm1, %xmm1
mulsd %xmm3, %xmm0
addsd %xmm5, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%r13,%r14,4)
movss %xmm2, (%rbp,%r14,4)
movq 0x48(%rsp), %rax
movss %xmm1, (%rax,%r14,4)
incq %r14
cmpq %r14, %r12
jne 0x19f09
incq %rbx
addl %r12d, 0x1c(%rsp)
movq 0x28(%rsp), %rax
addl %r12d, %eax
movq %rax, 0x28(%rsp)
movq 0x20(%rsp), %rax
addl %r12d, %eax
movq %rax, 0x20(%rsp)
cmpq 0x38(%rsp), %rbx
jne 0x19ed8
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3d831(%rip), %rdi     # 0x57860
leaq 0x3d766(%rip), %rsi     # 0x5779c
leaq 0x3d82d(%rip), %rcx     # 0x5786a
movl $0x392, %edx            # imm = 0x392
callq 0x31b0
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: grayscale_image_3c
void grayscale_image_3c(image im)
{
    assert(im.c == 3);
    int i, j, k;
    float scale[] = {0.299, 0.587, 0.114};
    for(j = 0; j < im.h; ++j){
        for(i = 0; i < im.w; ++i){
            float val = 0;
            for(k = 0; k < 3; ++k){
                val += scale[k]*get_pixel(im, i, j, k);
            }
            im.data[0*im.h*im.w + im.w*j + i] = val;
            im.data[1*im.h*im.w + im.w*j + i] = val;
            im.data[2*im.h*im.w + im.w*j + i] = val;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
cmpl $0x3, 0x98(%rsp)
jne 0x1a828
leaq 0x90(%rsp), %r12
movslq 0x4(%r12), %rcx
movq %rcx, 0x20(%rsp)
testq %rcx, %rcx
jle 0x1a819
movl (%r12), %ecx
movq 0x10(%r12), %rax
movq %rax, 0x40(%rsp)
movq 0x20(%rsp), %rax
addl %eax, %eax
movq %rax, 0x38(%rsp)
movq %rcx, 0x28(%rsp)
movslq %ecx, %rax
movq %rax, 0x30(%rsp)
xorl %ebx, %ebx
cmpl $0x0, 0x28(%rsp)
jle 0x1a80b
movq %rbx, %rax
imulq 0x30(%rsp), %rax
movq 0x20(%rsp), %rcx
addl %ebx, %ecx
movq 0x28(%rsp), %rsi
imull %esi, %ecx
movq 0x38(%rsp), %rdx
addl %ebx, %edx
imull %esi, %edx
movslq %ecx, %rcx
movslq %edx, %rdx
movq 0x40(%rsp), %rsi
leaq (%rsi,%rax,4), %rax
movq %rax, 0x50(%rsp)
leaq (%rsi,%rcx,4), %rax
movq %rax, 0x48(%rsp)
leaq (%rsi,%rdx,4), %r13
xorl %r14d, %r14d
xorps %xmm0, %xmm0
leaq 0x3afa5(%rip), %rbp     # 0x55734
xorl %r15d, %r15d
movss %xmm0, 0x1c(%rsp)
movq 0x10(%r12), %rax
movq %rax, 0x10(%rsp)
movups (%r12), %xmm0
movups %xmm0, (%rsp)
movl %r14d, %edi
movl %ebx, %esi
movl %r15d, %edx
callq 0x15f12
mulss (%rbp), %xmm0
movss 0x1c(%rsp), %xmm1
addss %xmm0, %xmm1
movss %xmm1, 0x1c(%rsp)
movss 0x1c(%rsp), %xmm0
incq %r15
addq $0x4, %rbp
cmpq $0x3, %r15
jne 0x1a792
movq 0x50(%rsp), %rax
movss %xmm0, (%rax,%r14,4)
movq 0x48(%rsp), %rax
movss %xmm0, (%rax,%r14,4)
movss %xmm0, (%r13,%r14,4)
incq %r14
cmpq 0x28(%rsp), %r14
jne 0x1a785
incq %rbx
cmpq 0x20(%rsp), %rbx
jne 0x1a734
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3d031(%rip), %rdi     # 0x57860
leaq 0x3cf66(%rip), %rsi     # 0x5779c
leaq 0x3d089(%rip), %rcx     # 0x578c6
movl $0x40f, %edx            # imm = 0x40F
callq 0x31b0
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: grayscale_image
image grayscale_image(image im)
{
    assert(im.c == 3);
    int i, j, k;
    image gray = make_image(im.w, im.h, 1);
    float scale[] = {0.299, 0.587, 0.114};
    for(k = 0; k < im.c; ++k){
        for(j = 0; j < im.h; ++j){
            for(i = 0; i < im.w; ++i){
                gray.data[i+im.w*j] += scale[k]*get_pixel(im, i, j, k);
            }
        }
    }
    return gray;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
cmpl $0x3, 0x88(%rsp)
jne 0x1a941
movq %rdi, %r14
leaq 0x80(%rsp), %rbp
movl (%rbp), %ebx
movl 0x4(%rbp), %eax
movl %eax, 0x4(%rdi)
movl %ebx, (%rdi)
movl $0x1, 0x8(%rdi)
movq %rax, 0x28(%rsp)
imull %ebx, %eax
movslq %eax, %rdi
movl $0x4, %esi
callq 0x3250
movq %r14, 0x30(%rsp)
movq %rax, 0x38(%rsp)
movq %rax, 0x10(%r14)
leaq (,%rbx,4), %rax
movq %rax, 0x40(%rsp)
xorl %r15d, %r15d
cmpl $0x0, 0x28(%rsp)
jle 0x1a924
movq 0x38(%rsp), %r14
xorl %r12d, %r12d
testl %ebx, %ebx
jle 0x1a915
leaq 0x3ae67(%rip), %rax     # 0x55734
movss (%rax,%r15,4), %xmm0
movss %xmm0, 0x24(%rsp)
xorl %r13d, %r13d
movq 0x10(%rbp), %rax
movq %rax, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
movl %r13d, %edi
movl %r12d, %esi
movl %r15d, %edx
callq 0x15f12
mulss 0x24(%rsp), %xmm0
addss (%r14,%r13,4), %xmm0
movss %xmm0, (%r14,%r13,4)
incq %r13
cmpq %r13, %rbx
jne 0x1a8dc
incq %r12
addq 0x40(%rsp), %r14
cmpq 0x28(%rsp), %r12
jne 0x1a8c2
incq %r15
cmpq $0x3, %r15
jne 0x1a8b3
movq 0x30(%rsp), %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3cf18(%rip), %rdi     # 0x57860
leaq 0x3ce4d(%rip), %rsi     # 0x5779c
leaq 0x3cf8f(%rip), %rcx     # 0x578e5
movl $0x421, %edx            # imm = 0x421
callq 0x31b0
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: blend_image
image blend_image(image fore, image back, float alpha)
{
    assert(fore.w == back.w && fore.h == back.h && fore.c == back.c);
    image blend = make_image(fore.w, fore.h, fore.c);
    int i, j, k;
    for(k = 0; k < fore.c; ++k){
        for(j = 0; j < fore.h; ++j){
            for(i = 0; i < fore.w; ++i){
                float val = alpha * get_pixel(fore, i, j, k) + 
                    (1 - alpha)* get_pixel(back, i, j, k);
                set_pixel(blend, i, j, k, val);
            }
        }
    }
    return blend;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movss %xmm0, 0x24(%rsp)
movl 0xa0(%rsp), %edx
cmpl 0xb8(%rsp), %edx
jne 0x1ab1f
leaq 0xb8(%rsp), %rax
leaq 0xa0(%rsp), %rcx
movl 0x4(%rcx), %esi
movq %rsi, 0x30(%rsp)
cmpl 0x4(%rax), %esi
jne 0x1ab1f
movl 0x8(%rcx), %r14d
cmpl 0x8(%rax), %r14d
jne 0x1ab1f
movq %rdi, %rbx
movq 0x30(%rsp), %rax
movl %eax, 0x4(%rdi)
movl %edx, (%rdi)
movl %r14d, 0x8(%rdi)
imull %edx, %eax
movl %eax, 0x3c(%rsp)
imull %r14d, %eax
movslq %eax, %rdi
movl $0x4, %esi
movq %rdx, 0x48(%rsp)
callq 0x3250
movq 0x48(%rsp), %rcx
movq %rbx, 0x50(%rsp)
movq %rax, 0x60(%rsp)
movq %rax, 0x10(%rbx)
testl %r14d, %r14d
movss 0x24(%rsp), %xmm0
jle 0x1ab0b
movss 0x3a5f9(%rip), %xmm1    # 0x55008
subss %xmm0, %xmm1
movq $0x0, 0x28(%rsp)
xorl %r15d, %r15d
movq %r14, 0x58(%rsp)
movss %xmm1, 0x40(%rsp)
cmpl $0x0, 0x30(%rsp)
jle 0x1aaec
movq 0x28(%rsp), %rax
movl %eax, 0x20(%rsp)
xorl %r12d, %r12d
testl %ecx, %ecx
leaq 0xb8(%rsp), %r14
leaq 0xa0(%rsp), %rbp
jle 0x1aada
movl 0x20(%rsp), %eax
movq 0x60(%rsp), %rcx
leaq (%rcx,%rax,4), %rbx
xorl %r13d, %r13d
movq 0x10(%rbp), %rax
movq %rax, 0x10(%rsp)
movups (%rbp), %xmm0
movups %xmm0, (%rsp)
movl %r13d, %edi
movl %r12d, %esi
movl %r15d, %edx
callq 0x15f12
movss %xmm0, 0x44(%rsp)
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movups (%r14), %xmm0
movups %xmm0, (%rsp)
movl %r13d, %edi
movl %r12d, %esi
movl %r15d, %edx
callq 0x15f12
movss 0x40(%rsp), %xmm1
movq 0x48(%rsp), %rcx
mulss %xmm1, %xmm0
movss 0x44(%rsp), %xmm2
mulss 0x24(%rsp), %xmm2
addss %xmm0, %xmm2
movss %xmm2, (%rbx,%r13,4)
incq %r13
cmpq %r13, %rcx
jne 0x1aa69
incq %r12
addl %ecx, 0x20(%rsp)
cmpq 0x30(%rsp), %r12
jne 0x1aa41
incq %r15
movq 0x28(%rsp), %rax
addl 0x3c(%rsp), %eax
movq %rax, 0x28(%rsp)
movq 0x58(%rsp), %r14
cmpq %r14, %r15
jne 0x1aa2a
movq 0x50(%rsp), %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3cddc(%rip), %rdi     # 0x57902
leaq 0x3cc6f(%rip), %rsi     # 0x5779c
leaq 0x3ce07(%rip), %rcx     # 0x5793b
movl $0x43b, %edx            # imm = 0x43B
callq 0x31b0
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: scale_image_channel
void scale_image_channel(image im, int c, float v)
{
    int i, j;
    for(j = 0; j < im.h; ++j){
        for(i = 0; i < im.w; ++i){
            float pix = get_pixel(im, i, j, c);
            pix = pix*v;
            set_pixel(im, i, j, c, pix);
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movss %xmm0, 0x1c(%rsp)
movslq 0x74(%rsp), %rax
movq %rax, 0x20(%rsp)
testq %rax, %rax
jle 0x1abff
movl %edi, %ebx
leaq 0x70(%rsp), %r13
testl %edi, %edi
setns %al
cmpl %edi, 0x8(%r13)
movl (%r13), %ebp
setg %r12b
andb %al, %r12b
movq 0x10(%r13), %rax
movq %rax, 0x28(%rsp)
movq 0x20(%rsp), %rax
imull %edi, %eax
imull %ebp, %eax
movl %eax, 0x18(%rsp)
xorl %r14d, %r14d
testl %ebp, %ebp
jle 0x1abf1
movl 0x18(%rsp), %eax
movq 0x28(%rsp), %rcx
leaq (%rcx,%rax,4), %rax
movq %rax, 0x30(%rsp)
xorl %r15d, %r15d
movq 0x10(%r13), %rax
movq %rax, 0x10(%rsp)
movups (%r13), %xmm0
movups %xmm0, (%rsp)
movl %r15d, %edi
movl %r14d, %esi
movl %ebx, %edx
callq 0x15f12
testb %r12b, %r12b
je 0x1abe9
mulss 0x1c(%rsp), %xmm0
movq 0x30(%rsp), %rax
movss %xmm0, (%rax,%r15,4)
incq %r15
cmpq %r15, %rbp
jne 0x1abb4
incq %r14
addl %ebp, 0x18(%rsp)
cmpq 0x20(%rsp), %r14
jne 0x1ab9b
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/image.c
// Function: binarize_image
image binarize_image(image im)
{
    image c = copy_image(im);
    int i;
    for(i = 0; i < im.w * im.h * im.c; ++i){
        if(c.data[i] > .5) c.data[i] = 1;
        else c.data[i] = 0;
    }
    return c;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x40(%rsp), %r15
movaps 0x30(%rsp), %xmm0
movl 0x34(%rsp), %ebp
imull 0x30(%rsp), %ebp
imull 0x38(%rsp), %ebp
movups %xmm0, (%rdi)
movslq %ebp, %r12
movl $0x4, %esi
movq %r12, %rdi
callq 0x3250
movq %rax, %r14
movq %rax, 0x10(%rbx)
leaq (,%r12,4), %rdx
movq %rax, %rdi
movq %r15, %rsi
callq 0x32b0
testl %r12d, %r12d
jle 0x1ad62
movl %ebp, %eax
xorl %ecx, %ecx
movss 0x3a525(%rip), %xmm0    # 0x55264
movss 0x3a2c1(%rip), %xmm1    # 0x55008
movaps %xmm0, %xmm2
cmpltss (%r14,%rcx,4), %xmm2
andps %xmm1, %xmm2
movss %xmm2, (%r14,%rcx,4)
incq %rcx
cmpq %rcx, %rax
jne 0x1ad47
movq %rbx, %rax
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: saturate_image
void saturate_image(image im, float sat)
{
    rgb_to_hsv(im);
    scale_image_channel(im, 1, sat);
    hsv_to_rgb(im);
    constrain_image(im);
}

// Assembly:
subq $0x28, %rsp
movss %xmm0, 0x24(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x1a26a
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
movl $0x1, %edi
movss 0x24(%rsp), %xmm0
callq 0x1ab3e
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x1a469
movl 0x34(%rsp), %ecx
imull 0x30(%rsp), %ecx
imull 0x38(%rsp), %ecx
testl %ecx, %ecx
jle 0x1ae10
movq 0x40(%rsp), %rax
movl %ecx, %ecx
xorl %edx, %edx
movss 0x3a21a(%rip), %xmm0    # 0x55008
movss (%rax,%rdx,4), %xmm2
xorps %xmm1, %xmm1
ucomiss %xmm2, %xmm1
ja 0x1ae03
ucomiss %xmm0, %xmm2
movaps %xmm0, %xmm1
jbe 0x1ae08
movss %xmm1, (%rax,%rdx,4)
incq %rdx
cmpq %rdx, %rcx
jne 0x1adee
addq $0x28, %rsp
retq
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: hue_image
void hue_image(image im, float hue)
{
    rgb_to_hsv(im);
    int i;
    for(i = 0; i < im.w*im.h; ++i){
        im.data[i] = im.data[i] + hue;
        if (im.data[i] > 1) im.data[i] -= 1;
        if (im.data[i] < 0) im.data[i] += 1;
    }
    hsv_to_rgb(im);
    constrain_image(im);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movss %xmm0, 0x1c(%rsp)
leaq 0x40(%rsp), %r14
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movaps (%r14), %xmm0
movups %xmm0, (%rsp)
callq 0x1a26a
movss 0x1c(%rsp), %xmm6
movl 0x4(%r14), %ebp
imull (%r14), %ebp
movq 0x10(%r14), %rbx
testl %ebp, %ebp
jle 0x1aeb1
movl %ebp, %eax
xorl %ecx, %ecx
movss 0x3a434(%rip), %xmm0    # 0x55294
movss 0x3a1a0(%rip), %xmm1    # 0x55008
xorps %xmm2, %xmm2
movss (%rbx,%rcx,4), %xmm3
addss %xmm6, %xmm3
movaps %xmm3, %xmm4
addss %xmm0, %xmm4
movaps %xmm1, %xmm5
cmpltss %xmm3, %xmm5
andps %xmm5, %xmm4
andnps %xmm3, %xmm5
orps %xmm4, %xmm5
movaps %xmm5, %xmm3
addss %xmm1, %xmm3
movaps %xmm5, %xmm4
cmpltss %xmm2, %xmm4
andps %xmm4, %xmm3
andnps %xmm5, %xmm4
orps %xmm3, %xmm4
movss %xmm4, (%rbx,%rcx,4)
incq %rcx
cmpq %rcx, %rax
jne 0x1ae6b
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movups (%r14), %xmm0
movups %xmm0, (%rsp)
callq 0x1a469
imull 0x8(%r14), %ebp
testl %ebp, %ebp
jle 0x1aefe
movl %ebp, %eax
xorl %ecx, %ecx
movss 0x3a12c(%rip), %xmm0    # 0x55008
movss (%rbx,%rcx,4), %xmm2
xorps %xmm1, %xmm1
ucomiss %xmm2, %xmm1
ja 0x1aef1
ucomiss %xmm0, %xmm2
movaps %xmm0, %xmm1
jbe 0x1aef6
movss %xmm1, (%rbx,%rcx,4)
incq %rcx
cmpq %rcx, %rax
jne 0x1aedc
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: exposure_image
void exposure_image(image im, float sat)
{
    rgb_to_hsv(im);
    scale_image_channel(im, 2, sat);
    hsv_to_rgb(im);
    constrain_image(im);
}

// Assembly:
subq $0x28, %rsp
movss %xmm0, 0x24(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x1a26a
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
movl $0x2, %edi
movss 0x24(%rsp), %xmm0
callq 0x1ab3e
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x1a469
movl 0x34(%rsp), %ecx
imull 0x30(%rsp), %ecx
imull 0x38(%rsp), %ecx
testl %ecx, %ecx
jle 0x1afa9
movq 0x40(%rsp), %rax
movl %ecx, %ecx
xorl %edx, %edx
movss 0x3a081(%rip), %xmm0    # 0x55008
movss (%rax,%rdx,4), %xmm2
xorps %xmm1, %xmm1
ucomiss %xmm2, %xmm1
ja 0x1af9c
ucomiss %xmm0, %xmm2
movaps %xmm0, %xmm1
jbe 0x1afa1
movss %xmm1, (%rax,%rdx,4)
incq %rdx
cmpq %rdx, %rcx
jne 0x1af87
addq $0x28, %rsp
retq
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: distort_image
void distort_image(image im, float hue, float sat, float val)
{
    rgb_to_hsv(im);
    scale_image_channel(im, 1, sat);
    scale_image_channel(im, 2, val);
    int i;
    for(i = 0; i < im.w*im.h; ++i){
        im.data[i] = im.data[i] + hue;
        if (im.data[i] > 1) im.data[i] -= 1;
        if (im.data[i] < 0) im.data[i] += 1;
    }
    hsv_to_rgb(im);
    constrain_image(im);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movss %xmm2, 0x2c(%rsp)
movss %xmm1, 0x24(%rsp)
movss %xmm0, 0x28(%rsp)
leaq 0x50(%rsp), %r14
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movaps (%r14), %xmm0
movups %xmm0, (%rsp)
callq 0x1a26a
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movaps (%r14), %xmm0
movups %xmm0, (%rsp)
movl $0x1, %edi
movss 0x24(%rsp), %xmm0
callq 0x1ab3e
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movaps (%r14), %xmm0
movups %xmm0, (%rsp)
movl $0x2, %edi
movss 0x2c(%rsp), %xmm0
callq 0x1ab3e
movss 0x28(%rsp), %xmm6
movl 0x4(%r14), %ebp
imull (%r14), %ebp
movq 0x10(%r14), %rbx
testl %ebp, %ebp
jle 0x1b098
movl %ebp, %eax
xorl %ecx, %ecx
movss 0x3a24d(%rip), %xmm0    # 0x55294
movss 0x39fb9(%rip), %xmm1    # 0x55008
xorps %xmm2, %xmm2
movss (%rbx,%rcx,4), %xmm3
addss %xmm6, %xmm3
movaps %xmm3, %xmm4
addss %xmm0, %xmm4
movaps %xmm1, %xmm5
cmpltss %xmm3, %xmm5
andps %xmm5, %xmm4
andnps %xmm3, %xmm5
orps %xmm4, %xmm5
movaps %xmm5, %xmm3
addss %xmm1, %xmm3
movaps %xmm5, %xmm4
cmpltss %xmm2, %xmm4
andps %xmm4, %xmm3
andnps %xmm5, %xmm4
orps %xmm3, %xmm4
movss %xmm4, (%rbx,%rcx,4)
incq %rcx
cmpq %rcx, %rax
jne 0x1b052
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movups (%r14), %xmm0
movups %xmm0, (%rsp)
callq 0x1a469
imull 0x8(%r14), %ebp
testl %ebp, %ebp
jle 0x1b0e5
movl %ebp, %eax
xorl %ecx, %ecx
movss 0x39f45(%rip), %xmm0    # 0x55008
movss (%rbx,%rcx,4), %xmm2
xorps %xmm1, %xmm1
ucomiss %xmm2, %xmm1
ja 0x1b0d8
ucomiss %xmm0, %xmm2
movaps %xmm0, %xmm1
jbe 0x1b0dd
movss %xmm1, (%rbx,%rcx,4)
incq %rcx
cmpq %rcx, %rax
jne 0x1b0c3
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: random_distort_image
void random_distort_image(image im, float hue, float saturation, float exposure)
{
    float dhue = rand_uniform(-hue, hue);
    float dsat = rand_scale(saturation);
    float dexp = rand_scale(exposure);
    distort_image(im, dhue, dsat, dexp);
}

// Assembly:
subq $0x18, %rsp
movss %xmm2, 0x14(%rsp)
movss %xmm1, 0xc(%rsp)
movaps %xmm0, %xmm1
movaps 0x39f88(%rip), %xmm0    # 0x55090
xorps %xmm1, %xmm0
callq 0xfa10
movss %xmm0, 0x10(%rsp)
movss 0xc(%rsp), %xmm0
callq 0xfc74
movss %xmm0, 0xc(%rsp)
movss 0x14(%rsp), %xmm0
callq 0xfc74
movaps %xmm0, %xmm2
movss 0x10(%rsp), %xmm0
movss 0xc(%rsp), %xmm1
addq $0x18, %rsp
jmp 0x1afae
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: saturate_exposure_image
void saturate_exposure_image(image im, float sat, float exposure)
{
    rgb_to_hsv(im);
    scale_image_channel(im, 1, sat);
    scale_image_channel(im, 2, exposure);
    hsv_to_rgb(im);
    constrain_image(im);
}

// Assembly:
subq $0x28, %rsp
movss %xmm1, 0x24(%rsp)
movss %xmm0, 0x20(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x1a26a
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
movl $0x1, %edi
movss 0x20(%rsp), %xmm0
callq 0x1ab3e
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
movl $0x2, %edi
movss 0x24(%rsp), %xmm0
callq 0x1ab3e
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x1a469
movl 0x34(%rsp), %ecx
imull 0x30(%rsp), %ecx
imull 0x38(%rsp), %ecx
testl %ecx, %ecx
jle 0x1b215
movq 0x40(%rsp), %rax
movl %ecx, %ecx
xorl %edx, %edx
movss 0x39e15(%rip), %xmm0    # 0x55008
movss (%rax,%rdx,4), %xmm2
xorps %xmm1, %xmm1
ucomiss %xmm2, %xmm1
ja 0x1b208
ucomiss %xmm0, %xmm2
movaps %xmm0, %xmm1
jbe 0x1b20d
movss %xmm1, (%rax,%rdx,4)
incq %rdx
cmpq %rdx, %rcx
jne 0x1b1f3
addq $0x28, %rsp
retq
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: load_image_stb
image load_image_stb(char *filename, int channels)
{
    int w, h, c;
    unsigned char *data = stbi_load(filename, &w, &h, &c, channels);
    if (!data) {
        fprintf(stderr, "Cannot load image \"%s\"\nSTB Reason: %s\n", filename, stbi_failure_reason());
        exit(0);
    }
    if(channels) c = channels;
    int i,j,k;
    image im = make_image(w, h, c);
    for(k = 0; k < c; ++k){
        for(j = 0; j < h; ++j){
            for(i = 0; i < w; ++i){
                int dst_index = i + w*j + w*h*k;
                int src_index = k + c*i + c*w*j;
                im.data[dst_index] = (float)data[src_index]/255.;
            }
        }
    }
    free(data);
    return im;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0xc(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movq %rsp, %rcx
movq %r15, %rdi
movl %ebp, %r8d
callq 0x11970
testq %rax, %rax
je 0x1b327
movq %rax, %r14
testl %ebp, %ebp
je 0x1b25d
movl %ebp, (%rsp)
jmp 0x1b260
movl (%rsp), %ebp
movl 0xc(%rsp), %r15d
movl 0x8(%rsp), %r12d
movl %r12d, 0x4(%rbx)
movl %r15d, (%rbx)
movl %ebp, 0x8(%rbx)
movl %r12d, %eax
imull %r15d, %eax
movl %eax, 0x4(%rsp)
imull %ebp, %eax
movslq %eax, %rdi
movl $0x4, %esi
callq 0x3250
movq %rbx, 0x10(%rsp)
movq %rax, 0x10(%rbx)
testl %ebp, %ebp
jle 0x1b30b
movl %ebp, %ecx
imull %r15d, %ecx
xorl %edx, %edx
movsd 0x3c314(%rip), %xmm0    # 0x575c0
xorl %esi, %esi
testl %r12d, %r12d
jle 0x1b301
xorl %edi, %edi
movl %edx, %r8d
movl %esi, %r9d
testl %r15d, %r15d
jle 0x1b2f4
movq %r15, %r10
movl %r8d, %r11d
movl %r9d, %ebx
movslq %ebx, %rbx
movzbl (%r14,%rbx), %r13d
xorps %xmm1, %xmm1
cvtsi2sd %r13d, %xmm1
divsd %xmm0, %xmm1
cvtsd2ss %xmm1, %xmm1
movslq %r11d, %r11
movss %xmm1, (%rax,%r11,4)
addl %ebp, %ebx
incl %r11d
decq %r10
jne 0x1b2c9
incl %edi
addl %ecx, %r9d
addl %r15d, %r8d
cmpl %r12d, %edi
jne 0x1b2bb
incl %esi
addl 0x4(%rsp), %edx
cmpl %ebp, %esi
jne 0x1b2ae
movq %r14, %rdi
callq 0x3040
movq 0x10(%rsp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r15, %rdi
callq 0x46d2
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/image.c
// Function: print_image
void print_image(image m)
{
    int i, j, k;
    for(i =0 ; i < m.c; ++i){
        for(j =0 ; j < m.h; ++j){
            for(k = 0; k < m.w; ++k){
                printf("%.2lf, ", m.data[i*m.h*m.w + j*m.w + k]);
                if(k > 30) break;
            }
            printf("\n");
            if(j > 30) break;
        }
        printf("\n");
    }
    printf("\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movslq 0x88(%rsp), %rax
movq %rax, 0x20(%rsp)
testq %rax, %rax
jle 0x1b441
leaq 0x80(%rsp), %rax
movl (%rax), %r15d
movl 0x4(%rax), %ecx
leal -0x1(%r15), %r13d
movl $0x1f, %edx
cmpl %edx, %r13d
cmovael %edx, %r13d
movq 0x10(%rax), %rax
movq %rax, 0x30(%rsp)
incl %r13d
leal -0x1(%rcx), %eax
cmpl $0x1f, %eax
cmovbl %eax, %edx
incl %edx
movq %rdx, 0x38(%rsp)
movq %rcx, 0x18(%rsp)
movl %ecx, %eax
imull %r15d, %eax
movl %eax, 0x14(%rsp)
movq $0x0, 0x8(%rsp)
leaq 0x3c604(%rip), %rbx     # 0x579b0
xorl %ecx, %ecx
movq %r15, 0x40(%rsp)
movq %rcx, 0x28(%rsp)
cmpl $0x0, 0x18(%rsp)
jle 0x1b416
movq 0x8(%rsp), %rax
movl %eax, %r12d
xorl %r14d, %r14d
testl %r15d, %r15d
jle 0x1b3fa
movslq %r12d, %rax
movq 0x30(%rsp), %rcx
leaq (%rcx,%rax,4), %rbp
xorl %r15d, %r15d
xorps %xmm0, %xmm0
cvtss2sd (%rbp,%r15,4), %xmm0
movq %rbx, %rdi
movb $0x1, %al
callq 0x3160
incq %r15
cmpq %r15, %r13
jne 0x1b3de
movl $0xa, %edi
callq 0x3060
incq %r14
movq 0x40(%rsp), %r15
addl %r15d, %r12d
cmpq 0x38(%rsp), %r14
jne 0x1b3ca
movl $0xa, %edi
callq 0x3060
movq 0x28(%rsp), %rcx
incq %rcx
movq 0x8(%rsp), %rax
addl 0x14(%rsp), %eax
movq %rax, 0x8(%rsp)
cmpq 0x20(%rsp), %rcx
jne 0x1b3b3
movl $0xa, %edi
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3060
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/activations.c
// Function: get_activation
ACTIVATION get_activation(char *s)
{
    if (strcmp(s, "logistic")==0) return LOGISTIC;
    if (strcmp(s, "loggy")==0) return LOGGY;
    if (strcmp(s, "relu")==0) return RELU;
    if (strcmp(s, "elu")==0) return ELU;
    if (strcmp(s, "selu")==0) return SELU;
    if (strcmp(s, "relie")==0) return RELIE;
    if (strcmp(s, "plse")==0) return PLSE;
    if (strcmp(s, "hardtan")==0) return HARDTAN;
    if (strcmp(s, "lhtan")==0) return LHTAN;
    if (strcmp(s, "linear")==0) return LINEAR;
    if (strcmp(s, "ramp")==0) return RAMP;
    if (strcmp(s, "leaky")==0) return LEAKY;
    if (strcmp(s, "tanh")==0) return TANH;
    if (strcmp(s, "stair")==0) return STAIR;
    fprintf(stderr, "Couldn't find activation function %s, going with ReLU\n", s);
    return RELU;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x30017(%rip), %rsi     # 0x58768
callq 0x3260
testl %eax, %eax
je 0x288b5
leaq 0x3000c(%rip), %rsi     # 0x58771
movq %rbx, %rdi
callq 0x3260
testl %eax, %eax
je 0x288b9
leaq 0x2fffb(%rip), %rsi     # 0x58777
movq %rbx, %rdi
callq 0x3260
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
je 0x28904
leaq 0x2ffde(%rip), %rsi     # 0x58778
movq %rbx, %rdi
callq 0x3260
testl %eax, %eax
je 0x288c0
leaq 0x2ffcb(%rip), %rsi     # 0x5877c
movq %rbx, %rdi
callq 0x3260
testl %eax, %eax
je 0x288c7
leaq 0x2ffb9(%rip), %rsi     # 0x58781
movq %rbx, %rdi
callq 0x3260
testl %eax, %eax
je 0x288ce
leaq 0x2ffb9(%rip), %rsi     # 0x58798
movq %rbx, %rdi
callq 0x3260
testl %eax, %eax
je 0x288d5
leaq 0x2ffb3(%rip), %rsi     # 0x587a9
movq %rbx, %rdi
callq 0x3260
testl %eax, %eax
je 0x288dc
leaq 0x2ffa4(%rip), %rsi     # 0x587b1
movq %rbx, %rdi
callq 0x3260
testl %eax, %eax
je 0x288e3
leaq 0x2ff68(%rip), %rsi     # 0x5878c
movq %rbx, %rdi
callq 0x3260
testl %eax, %eax
je 0x288ea
leaq 0x2ff4c(%rip), %rsi     # 0x58787
movq %rbx, %rdi
callq 0x3260
testl %eax, %eax
je 0x288f1
leaq 0x2ff4b(%rip), %rsi     # 0x5879d
movq %rbx, %rdi
callq 0x3260
testl %eax, %eax
je 0x288f8
leaq 0x2ff2a(%rip), %rsi     # 0x58793
movq %rbx, %rdi
callq 0x3260
testl %eax, %eax
je 0x288ff
leaq 0x2ff23(%rip), %rsi     # 0x587a3
movq %rbx, %rdi
callq 0x3260
movl %eax, %ecx
movl $0xa, %eax
testl %ecx, %ecx
je 0x28904
movq 0x4375e(%rip), %rax     # 0x6bff8
movq (%rax), %rdi
leaq 0x2ff13(%rip), %rsi     # 0x587b7
movq %rbx, %rdx
xorl %eax, %eax
callq 0x3270
movl $0x1, %eax
jmp 0x28904
xorl %eax, %eax
jmp 0x28904
movl $0x9, %eax
jmp 0x28904
movl $0x8, %eax
jmp 0x28904
movl $0xd, %eax
jmp 0x28904
movl $0x2, %eax
jmp 0x28904
movl $0x6, %eax
jmp 0x28904
movl $0xb, %eax
jmp 0x28904
movl $0xc, %eax
jmp 0x28904
movl $0x3, %eax
jmp 0x28904
movl $0x4, %eax
jmp 0x28904
movl $0x7, %eax
jmp 0x28904
movl $0x5, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/im2col.c
// Function: im2col_cpu
void im2col_cpu(float* data_im,
     int channels,  int height,  int width,
     int ksize,  int stride, int pad, float* data_col) 
{
    int c,h,w;
    int height_col = (height + 2*pad - ksize) / stride + 1;
    int width_col = (width + 2*pad - ksize) / stride + 1;

    int channels_col = channels * ksize * ksize;
    for (c = 0; c < channels_col; ++c) {
        int w_offset = c % ksize;
        int h_offset = (c / ksize) % ksize;
        int c_im = c / ksize / ksize;
        for (h = 0; h < height_col; ++h) {
            for (w = 0; w < width_col; ++w) {
                int im_row = h_offset + h * stride;
                int im_col = w_offset + w * stride;
                int col_index = (c * height_col + h) * width_col + w;
                data_col[col_index] = im2col_get_pixel(data_im, height, width, channels,
                        im_row, im_col, c_im, pad);
            }
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %esi, %ebx
imull %r8d, %ebx
movl %r8d, -0x4c(%rsp)
imull %r8d, %ebx
testl %ebx, %ebx
jle 0x290d0
movl %edx, %r10d
movq 0x40(%rsp), %rax
movq %rax, -0x38(%rsp)
movl 0x38(%rsp), %r8d
movl %ecx, %eax
movl -0x4c(%rsp), %esi
subl %esi, %eax
leal (%rax,%r8,2), %eax
cltd
idivl %r9d
movq %rax, -0x8(%rsp)
leal 0x1(%rax), %r13d
movl %r10d, %eax
subl %esi, %eax
leal (%rax,%r8,2), %eax
cltd
idivl %r9d
movq %rax, -0x18(%rsp)
incl %eax
movslq %r13d, %r11
movq %rax, -0x10(%rsp)
cltq
movl %ebx, %edx
movq %rdx, -0x28(%rsp)
imulq %r11, %rax
shlq $0x2, %rax
movq %rax, -0x20(%rsp)
shlq $0x2, %r11
negl %r8d
movq %r8, -0x30(%rsp)
movl %r9d, %esi
imull %ecx, %esi
movq $0x0, -0x48(%rsp)
cmpl $0x0, -0x18(%rsp)
js 0x290ae
movq -0x48(%rsp), %rax
cltd
movl -0x4c(%rsp), %r8d
idivl %r8d
movl %edx, %ebx
cltd
idivl %r8d
imull %r10d, %eax
movq -0x30(%rsp), %r8
addl %r8d, %ebx
movl %ebx, -0x3c(%rsp)
addl %edx, %r8d
movl 0x38(%rsp), %ebx
subl %ebx, %edx
addl %r8d, %eax
imull %ecx, %eax
movq -0x38(%rsp), %r15
xorl %r8d, %r8d
cmpl $0x0, -0x8(%rsp)
js 0x2909f
movl %r8d, %ebx
imull %r9d, %ebx
addl %edx, %ebx
movl -0x3c(%rsp), %ebp
movl %ebp, %r14d
xorl %ebp, %ebp
xorps %xmm0, %xmm0
cmpl %r10d, %ebx
jge 0x2908e
testl %ebx, %ebx
js 0x2908e
testl %r14d, %r14d
js 0x2908e
cmpl %ecx, %r14d
jge 0x2908e
leal (%rax,%r14), %r12d
movslq %r12d, %r12
movss (%rdi,%r12,4), %xmm0
movss %xmm0, (%r15,%rbp,4)
incq %rbp
addl %r9d, %r14d
cmpq %rbp, %r13
jne 0x2906b
incq %r8
addq %r11, %r15
addl %esi, %eax
cmpq -0x10(%rsp), %r8
jne 0x29052
movq -0x48(%rsp), %rdx
incq %rdx
movq -0x20(%rsp), %rax
addq %rax, -0x38(%rsp)
movq %rdx, -0x48(%rsp)
cmpq -0x28(%rsp), %rdx
jne 0x2900c
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/col2im.c
// Function: col2im_add_pixel
void col2im_add_pixel(float *im, int height, int width, int channels,
                        int row, int col, int channel, int pad, float val)
{
    row -= pad;
    col -= pad;

    if (row < 0 || col < 0 ||
        row >= height || col >= width) return;
    im[col + width*(row + height*channel)] += val;
}

// Assembly:
movl 0x10(%rsp), %eax
subl %eax, %r8d
subl %eax, %r9d
movl %r8d, %eax
orl %r9d, %eax
setns %al
cmpl %esi, %r8d
setl %cl
cmpl %edx, %r9d
setl %r10b
andb %cl, %r10b
andb %al, %r10b
cmpb $0x1, %r10b
jne 0x29124
imull 0x8(%rsp), %esi
addl %esi, %r8d
imull %edx, %r8d
addl %r9d, %r8d
movslq %r8d, %rax
addss (%rdi,%rax,4), %xmm0
movss %xmm0, (%rdi,%rax,4)
retq
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/blas.c
// Function: reorg_cpu
void reorg_cpu(float *x, int w, int h, int c, int batch, int stride, int forward, float *out)
{
    int b,i,j,k;
    int out_c = c/(stride*stride);

    for(b = 0; b < batch; ++b){
        for(k = 0; k < c; ++k){
            for(j = 0; j < h; ++j){
                for(i = 0; i < w; ++i){
                    int in_index  = i + w*(j + h*(k + c*b));
                    int c2 = k % out_c;
                    int offset = k / out_c;
                    int w2 = i*stride + offset % stride;
                    int h2 = j*stride + offset / stride;
                    int out_index = w2 + w*stride*(h2 + h*stride*(c2 + out_c*b));
                    if(forward) out[out_index] = x[in_index];
                    else out[in_index] = x[out_index];
                }
            }
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %ecx, %eax
movl %edx, -0x64(%rsp)
movl %r9d, %ecx
imull %r9d, %ecx
movl %eax, -0x60(%rsp)
cltd
idivl %ecx
movl %eax, -0x5c(%rsp)
testl %r8d, %r8d
jle 0x29409
movq 0x40(%rsp), %r14
movl 0x38(%rsp), %ebp
movslq %esi, %rcx
movslq -0x64(%rsp), %rdx
movl -0x60(%rsp), %eax
movslq %eax, %r10
movl %r8d, %r8d
movq %r8, -0x38(%rsp)
movl %eax, %eax
movq %rax, -0x28(%rsp)
movl %edx, %eax
movq %rax, -0x10(%rsp)
movl %ecx, %eax
movq %rax, -0x18(%rsp)
movq %rcx, -0x8(%rsp)
imulq %rcx, %rdx
movq %rdx, -0x20(%rsp)
imulq %rdx, %r10
movq %r10, -0x30(%rsp)
movq $0x0, -0x50(%rsp)
movq $0x0, -0x58(%rsp)
cmpl $0x0, -0x60(%rsp)
jle 0x293e2
movl -0x5c(%rsp), %eax
imull -0x58(%rsp), %eax
movl %eax, -0x3c(%rsp)
movq -0x50(%rsp), %rax
movq %rax, -0x48(%rsp)
xorl %r11d, %r11d
cmpl $0x0, -0x64(%rsp)
jle 0x293c5
movq -0x48(%rsp), %r12
xorl %ebx, %ebx
testl %esi, %esi
jle 0x293b6
movl %r11d, %eax
xorl %edx, %edx
divl -0x5c(%rsp)
movl %edx, %r8d
cltd
idivl %r9d
addl -0x3c(%rsp), %r8d
imull -0x64(%rsp), %r8d
addl %ebx, %r8d
imull %r9d, %r8d
addl %eax, %r8d
imull %esi, %r8d
movq -0x18(%rsp), %rax
movq %r12, %rcx
xorl %r10d, %r10d
leal (%r8,%r10), %r15d
imull %r9d, %r15d
addl %edx, %r15d
testl %ebp, %ebp
movslq %r15d, %r15
movq %r15, %r13
cmoveq %rcx, %r13
cmovneq %rcx, %r15
movss (%rdi,%r15,4), %xmm0
movss %xmm0, (%r14,%r13,4)
incq %r10
incq %rcx
decq %rax
jne 0x29384
incq %rbx
addq -0x8(%rsp), %r12
cmpq -0x10(%rsp), %rbx
jne 0x2934c
incq %r11
movq -0x48(%rsp), %rax
addq -0x20(%rsp), %rax
movq %rax, -0x48(%rsp)
cmpq -0x28(%rsp), %r11
jne 0x2933a
movq -0x58(%rsp), %rcx
incq %rcx
movq -0x50(%rsp), %rax
addq -0x30(%rsp), %rax
movq %rax, -0x50(%rsp)
movq %rcx, -0x58(%rsp)
cmpq -0x38(%rsp), %rcx
jne 0x29315
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/blas.c
// Function: flatten
void flatten(float *x, int size, int layers, int batch, int forward)
{
    float *swap = calloc(size*layers*batch, sizeof(float));
    int i,c,b;
    for(b = 0; b < batch; ++b){
        for(c = 0; c < layers; ++c){
            for(i = 0; i < size; ++i){
                int i1 = b*layers*size + c*size + i;
                int i2 = b*layers*size + i*layers + c;
                if (forward) swap[i2] = x[i1];
                else swap[i1] = x[i2];
            }
        }
    }
    memcpy(x, swap, size*layers*batch*sizeof(float));
    free(swap);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r8d, %ebp
movl %ecx, %r15d
movl %edx, %r14d
movl %esi, %r12d
movq %rdi, %rbx
movl %edx, %eax
imull %esi, %eax
movl %eax, 0xc(%rsp)
imull %ecx, %eax
movslq %eax, %rdi
movl $0x4, %esi
movq %rdi, 0x10(%rsp)
callq 0x3250
movq %rax, %r13
testl %r15d, %r15d
jle 0x294ec
movl %r14d, %eax
movl %r15d, %ecx
movq %rcx, 0x18(%rsp)
movl %r12d, %r15d
movq $0x0, (%rsp)
xorl %edx, %edx
movq %rdx, 0x20(%rsp)
testl %r14d, %r14d
jle 0x294d1
movq (%rsp), %rcx
movl %ecx, %r8d
movl %ecx, %r9d
xorl %r10d, %r10d
testl %r12d, %r12d
jle 0x294c3
movslq %r8d, %rsi
movq %r15, %rdx
movl %r9d, %ecx
testl %ebp, %ebp
movslq %ecx, %rcx
movq %rcx, %rdi
cmoveq %rsi, %rdi
movq %rsi, %r11
cmoveq %rcx, %r11
movss (%rbx,%r11,4), %xmm0
movss %xmm0, (%r13,%rdi,4)
addl %r14d, %ecx
incq %rsi
decq %rdx
jne 0x29498
incq %r10
incl %r9d
addl %r12d, %r8d
cmpq %rax, %r10
jne 0x2948a
movq 0x20(%rsp), %rdx
incq %rdx
movq (%rsp), %rcx
addl 0xc(%rsp), %ecx
movq %rcx, (%rsp)
cmpq 0x18(%rsp), %rdx
jne 0x29473
movq 0x10(%rsp), %rdx
shlq $0x2, %rdx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x32b0
movq %r13, %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3040
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/blas.c
// Function: weighted_delta_cpu
void weighted_delta_cpu(float *a, float *b, float *s, float *da, float *db, float *ds, int n, float *dc)
{
    int i;
    for(i = 0; i < n; ++i){
        if(da) da[i] += dc[i] * s[i];
        if(db) db[i] += dc[i] * (1-s[i]);
        ds[i] += dc[i] * (a[i] - b[i]);
    }
}

// Assembly:
movl 0x8(%rsp), %r10d
testl %r10d, %r10d
jle 0x295dd
movq 0x10(%rsp), %rax
movl %r10d, %r10d
xorl %r11d, %r11d
movss 0x2ba8e(%rip), %xmm0    # 0x55008
testq %rcx, %rcx
je 0x29597
movss (%rax,%r11,4), %xmm1
mulss (%rdx,%r11,4), %xmm1
addss (%rcx,%r11,4), %xmm1
movss %xmm1, (%rcx,%r11,4)
testq %r8, %r8
je 0x295b7
movaps %xmm0, %xmm1
subss (%rdx,%r11,4), %xmm1
mulss (%rax,%r11,4), %xmm1
addss (%r8,%r11,4), %xmm1
movss %xmm1, (%r8,%r11,4)
movss (%rdi,%r11,4), %xmm1
subss (%rsi,%r11,4), %xmm1
mulss (%rax,%r11,4), %xmm1
addss (%r9,%r11,4), %xmm1
movss %xmm1, (%r9,%r11,4)
incq %r11
cmpq %r11, %r10
jne 0x2957a
retq
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/blas.c
// Function: mean_cpu
void mean_cpu(float *x, int batch, int filters, int spatial, float *mean)
{
    float scale = 1./(batch * spatial);
    int i,j,k;
    for(i = 0; i < filters; ++i){
        mean[i] = 0;
        for(j = 0; j < batch; ++j){
            for(k = 0; k < spatial; ++k){
                int index = j*filters*spatial + i*spatial + k;
                mean[i] += x[index];
            }
        }
        mean[i] *= scale;
    }
}

// Assembly:
testl %edx, %edx
jle 0x29875
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %eax
imull %esi, %eax
cvtsi2sd %eax, %xmm0
movsd 0x2b954(%rip), %xmm1    # 0x55150
divsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
movl %edx, %eax
movl %esi, %r9d
movl %ecx, %r10d
imull %ecx, %edx
xorl %r11d, %r11d
xorl %ebx, %ebx
movl $0x0, (%r8,%rbx,4)
xorps %xmm1, %xmm1
testl %esi, %esi
jle 0x29858
movl %r11d, %ebp
xorl %r14d, %r14d
testl %ecx, %ecx
jle 0x2984e
movslq %ebp, %r15
leaq (%rdi,%r15,4), %r15
xorl %r12d, %r12d
addss (%r15,%r12,4), %xmm1
movss %xmm1, (%r8,%rbx,4)
incq %r12
cmpq %r12, %r10
jne 0x2983a
incq %r14
addl %edx, %ebp
cmpq %r9, %r14
jne 0x2982c
mulss %xmm0, %xmm1
movss %xmm1, (%r8,%rbx,4)
incq %rbx
addl %ecx, %r11d
cmpq %rax, %rbx
jne 0x29817
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/SimpleDoger[P]Darknet_CPU_Only/blas.c
// Function: variance_cpu
void variance_cpu(float *x, float *mean, int batch, int filters, int spatial, float *variance)
{
    float scale = 1./(batch * spatial - 1);
    int i,j,k;
    for(i = 0; i < filters; ++i){
        variance[i] = 0;
        for(j = 0; j < batch; ++j){
            for(k = 0; k < spatial; ++k){
                int index = j*filters*spatial + i*spatial + k;
                variance[i] += pow((x[index] - mean[i]), 2);
            }
        }
        variance[i] *= scale;
    }
}

// Assembly:
testl %ecx, %ecx
jle 0x29932
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %r8d, %eax
imull %edx, %eax
decl %eax
cvtsi2sd %eax, %xmm0
movsd 0x2b8b4(%rip), %xmm1    # 0x55150
divsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
movl %ecx, %eax
movl %edx, %r10d
movl %r8d, %r11d
imull %r8d, %ecx
xorl %ebx, %ebx
xorl %r14d, %r14d
movl $0x0, (%r9,%r14,4)
xorps %xmm1, %xmm1
testl %edx, %edx
jle 0x29913
movl %ebx, %ebp
xorl %r15d, %r15d
testl %r8d, %r8d
jle 0x29909
movslq %ebp, %r12
leaq (%rdi,%r12,4), %r12
xorl %r13d, %r13d
movss (%r12,%r13,4), %xmm2
subss (%rsi,%r14,4), %xmm2
cvtss2sd %xmm2, %xmm2
mulsd %xmm2, %xmm2
cvtss2sd %xmm1, %xmm1
addsd %xmm2, %xmm1
cvtsd2ss %xmm1, %xmm1
movss %xmm1, (%r9,%r14,4)
incq %r13
cmpq %r13, %r11
jne 0x298db
incq %r15
addl %ecx, %ebp
cmpq %r10, %r15
jne 0x298cc
mulss %xmm0, %xmm1
movss %xmm1, (%r9,%r14,4)
incq %r14
addl %r8d, %ebx
cmpq %rax, %r14
jne 0x298b8
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/blas.c
// Function: l2normalize_cpu
void l2normalize_cpu(float *x, float *dx, int batch, int filters, int spatial)
{
    int b,f,i;
    for(b = 0; b < batch; ++b){
        for(i = 0; i < spatial; ++i){
            float sum = 0;
            for(f = 0; f < filters; ++f){
                int index = b*filters*spatial + f*spatial + i;
                sum += powf(x[index], 2);
            }
            sum = sqrtf(sum);
            for(f = 0; f < filters; ++f){
                int index = b*filters*spatial + f*spatial + i;
                x[index] /= sum;
                dx[index] = (1 - x[index]) / sum;
            }
        }
    }
}

// Assembly:
testl %edx, %edx
jle 0x29a4e
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r8d, %ebx
movl %ecx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movl %edx, %eax
movq %rax, 0x10(%rsp)
movl %ecx, %edx
movl %r8d, %eax
imull %ecx, %eax
movl %eax, 0xc(%rsp)
movq $0x0, (%rsp)
xorps %xmm3, %xmm3
movss 0x2b68e(%rip), %xmm4    # 0x55008
xorl %esi, %esi
movq %rdx, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
testl %ebx, %ebx
jle 0x29a21
xorl %r12d, %r12d
movq (%rsp), %rax
movl %eax, %r13d
testl %ebp, %ebp
jle 0x29a12
xorps %xmm0, %xmm0
movq %rdx, %rax
movl %r13d, %esi
movslq %esi, %rsi
movss (%r15,%rsi,4), %xmm1
mulss %xmm1, %xmm1
addss %xmm1, %xmm0
addl %ebx, %esi
decq %rax
jne 0x299a5
ucomiss %xmm3, %xmm0
jb 0x299c8
sqrtss %xmm0, %xmm0
jmp 0x299dd
callq 0x32e0
movss 0x2b633(%rip), %xmm4    # 0x55008
xorps %xmm3, %xmm3
movq 0x20(%rsp), %rdx
testl %ebp, %ebp
jle 0x29a12
movq %rdx, %rax
movl %r13d, %esi
movslq %esi, %rsi
movss (%r15,%rsi,4), %xmm1
divss %xmm0, %xmm1
movss %xmm1, (%r15,%rsi,4)
movaps %xmm4, %xmm2
subss %xmm1, %xmm2
divss %xmm0, %xmm2
movss %xmm2, (%r14,%rsi,4)
addl %ebx, %esi
decq %rax
jne 0x299e7
incl %r12d
incl %r13d
cmpl %ebx, %r12d
jne 0x29998
movq 0x18(%rsp), %rsi
incq %rsi
movq (%rsp), %rax
addl 0xc(%rsp), %eax
movq %rax, (%rsp)
cmpq 0x10(%rsp), %rsi
jne 0x29981
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/blas.c
// Function: normalize_cpu
void normalize_cpu(float *x, float *mean, float *variance, int batch, int filters, int spatial)
{
    int b, f, i;
    for(b = 0; b < batch; ++b){
        for(f = 0; f < filters; ++f){
            for(i = 0; i < spatial; ++i){
                int index = b*filters*spatial + f*spatial + i;
                x[index] = (x[index] - mean[f])/(sqrt(variance[f]) + .000001f);
            }
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r8d, 0x8(%rsp)
movq %rdi, 0x38(%rsp)
testl %ecx, %ecx
jle 0x29b7a
movq %rdx, %r14
movq %rsi, %r15
movl 0x8(%rsp), %eax
movl %eax, %edx
movq %rdx, 0x40(%rsp)
movl %ecx, %ecx
movq %rcx, 0x28(%rsp)
movl %r9d, %ebp
movl %r9d, %ecx
imull %eax, %ecx
movl %ecx, 0x1c(%rsp)
movq $0x0, 0x10(%rsp)
xorpd %xmm2, %xmm2
movsd 0x2ed4f(%rip), %xmm3    # 0x587f8
xorl %ecx, %ecx
movl %r9d, 0x20(%rsp)
movq %rcx, 0x30(%rsp)
cmpl $0x0, 0x8(%rsp)
jle 0x29b59
movq 0x10(%rsp), %rax
movl %eax, 0xc(%rsp)
xorl %r13d, %r13d
testl %r9d, %r9d
jle 0x29b41
movslq 0xc(%rsp), %rax
movq 0x38(%rsp), %rcx
leaq (%rcx,%rax,4), %rbx
xorl %r12d, %r12d
movss (%rbx,%r12,4), %xmm1
subss (%r15,%r13,4), %xmm1
xorps %xmm0, %xmm0
cvtss2sd (%r14,%r13,4), %xmm0
ucomisd %xmm2, %xmm0
jb 0x29b03
sqrtsd %xmm0, %xmm0
jmp 0x29b20
movss %xmm1, 0x24(%rsp)
callq 0x3460
movss 0x24(%rsp), %xmm1
movsd 0x2ecdc(%rip), %xmm3    # 0x587f8
xorpd %xmm2, %xmm2
cvtss2sd %xmm1, %xmm1
addsd %xmm3, %xmm0
divsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
movss %xmm0, (%rbx,%r12,4)
incq %r12
cmpq %r12, %rbp
jne 0x29ae2
incq %r13
movl 0x20(%rsp), %r9d
addl %r9d, 0xc(%rsp)
cmpq 0x40(%rsp), %r13
jne 0x29acc
movq 0x30(%rsp), %rcx
incq %rcx
movq 0x10(%rsp), %rax
addl 0x1c(%rsp), %eax
movq %rax, 0x10(%rsp)
cmpq 0x28(%rsp), %rcx
jne 0x29ab0
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/blas.c
// Function: deinter_cpu
void deinter_cpu(int NX, float *X, int NY, float *Y, int B, float *OUT)
{
    int i, j;
    int index = 0;
    for(j = 0; j < B; ++j) {
        for(i = 0; i < NX; ++i){
            if(X) X[j*NX + i] += OUT[index];
            ++index;
        }
        for(i = 0; i < NY; ++i){
            if(Y) Y[j*NY + i] += OUT[index];
            ++index;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %edx, -0x4(%rsp)
testl %r8d, %r8d
jle 0x29f46
movl %edi, %eax
movl -0x4(%rsp), %r10d
movl %r8d, %edx
leaq (,%rax,4), %r11
leaq (,%r10,4), %rbx
xorl %r14d, %r14d
movq %rcx, %r15
movq %rsi, %r12
xorl %ebp, %ebp
testl %edi, %edi
jle 0x29f05
movslq %ebp, %r8
leaq (%r9,%r8,4), %r8
xorl %r13d, %r13d
testq %rsi, %rsi
je 0x29efa
movss (%r8,%r13,4), %xmm0
addss (%r12,%r13,4), %xmm0
movss %xmm0, (%r12,%r13,4)
incq %r13
cmpq %r13, %rax
jne 0x29ee3
addl %r13d, %ebp
cmpl $0x0, -0x4(%rsp)
jle 0x29f38
movslq %ebp, %r8
leaq (%r9,%r8,4), %r8
xorl %r13d, %r13d
testq %rcx, %rcx
je 0x29f2d
movss (%r8,%r13,4), %xmm0
addss (%r15,%r13,4), %xmm0
movss %xmm0, (%r15,%r13,4)
incq %r13
cmpq %r13, %r10
jne 0x29f16
addl %r13d, %ebp
incq %r14
addq %r11, %r12
addq %rbx, %r15
cmpq %rdx, %r14
jne 0x29ed5
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/blas.c
// Function: inter_cpu
void inter_cpu(int NX, float *X, int NY, float *Y, int B, float *OUT)
{
    int i, j;
    int index = 0;
    for(j = 0; j < B; ++j) {
        for(i = 0; i < NX; ++i){
            OUT[index++] = X[j*NX + i];
        }
        for(i = 0; i < NY; ++i){
            OUT[index++] = Y[j*NY + i];
        }
    }
}

// Assembly:
testl %r8d, %r8d
jle 0x29fdf
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edi, %eax
movl %edx, %r10d
movl %r8d, %r8d
leaq (,%rax,4), %r11
leaq (,%r10,4), %rbx
xorl %r14d, %r14d
xorl %ebp, %ebp
testl %edi, %edi
jle 0x29fa4
movslq %ebp, %r15
leaq (%r9,%r15,4), %r12
xorl %r15d, %r15d
movss (%rsi,%r15,4), %xmm0
movss %xmm0, (%r12,%r15,4)
incq %r15
cmpq %r15, %rax
jne 0x29f8d
addl %r15d, %ebp
testl %edx, %edx
jle 0x29fc9
movslq %ebp, %r15
leaq (%r9,%r15,4), %r12
xorl %r15d, %r15d
movss (%rcx,%r15,4), %xmm0
movss %xmm0, (%r12,%r15,4)
incq %r15
cmpq %r15, %r10
jne 0x29fb2
addl %r15d, %ebp
incq %r14
addq %r11, %rsi
addq %rbx, %rcx
cmpq %r8, %r14
jne 0x29f7f
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq