// File: /workspace/github_c_makefile_star2_O2/SimpleDoger[P]Darknet_CPU_Only/yolo_layer.c
// Function: forward_yolo_layer
void forward_yolo_layer(const layer l, network net)
{
    int i,j,b,t,n;
    memcpy(l.output, net.input, l.outputs*l.batch*sizeof(float));

    for (b = 0; b < l.batch; ++b){
        for(n = 0; n < l.n; ++n){
            int index = entry_index(l, b, n*l.w*l.h, 0);
            activate_array(l.output + index, 2*l.w*l.h, LOGISTIC);
            index = entry_index(l, b, n*l.w*l.h, 4);
            activate_array(l.output + index, (1+l.classes)*l.w*l.h, LOGISTIC);
        }
    }

    memset(l.delta, 0, l.outputs * l.batch * sizeof(float));
    if(!net.train) return;
    float avg_iou = 0;
    float recall = 0;
    float recall75 = 0;
    float avg_cat = 0;
    float avg_obj = 0;
    float avg_anyobj = 0;
    int count = 0;
    int class_count = 0;
    *(l.cost) = 0;
    for (b = 0; b < l.batch; ++b) {
        for (j = 0; j < l.h; ++j) {
            for (i = 0; i < l.w; ++i) {
                for (n = 0; n < l.n; ++n) {
                    int box_index = entry_index(l, b, n*l.w*l.h + j*l.w + i, 0);
                    box pred = get_yolo_box(l.output, l.biases, l.mask[n], box_index, i, j, l.w, l.h, net.w, net.h, l.w*l.h);
                    float best_iou = 0;
                    int best_t = 0;
                    for(t = 0; t < l.max_boxes; ++t){
                        box truth = float_to_box(net.truth + t*(4 + 1) + b*l.truths, 1);
                        if(!truth.x) break;
                        float iou = box_iou(pred, truth);
                        if (iou > best_iou) {
                            best_iou = iou;
                            best_t = t;
                        }
                    }
                    int obj_index = entry_index(l, b, n*l.w*l.h + j*l.w + i, 4);
                    avg_anyobj += l.output[obj_index];
                    l.delta[obj_index] = 0 - l.output[obj_index];
                    if (best_iou > l.ignore_thresh) {
                        l.delta[obj_index] = 0;
                    }
                    if (best_iou > l.truth_thresh) {
                        l.delta[obj_index] = 1 - l.output[obj_index];

                        int class = net.truth[best_t*(4 + 1) + b*l.truths + 4];
                        if (l.map) class = l.map[class];
                        int class_index = entry_index(l, b, n*l.w*l.h + j*l.w + i, 4 + 1);
                        delta_yolo_class(l.output, l.delta, class_index, class, l.classes, l.w*l.h, 0);
                        box truth = float_to_box(net.truth + best_t*(4 + 1) + b*l.truths, 1);
                        delta_yolo_box(truth, l.output, l.biases, l.mask[n], box_index, i, j, l.w, l.h, net.w, net.h, l.delta, (2-truth.w*truth.h), l.w*l.h);
                    }
                }
            }
        }
        for(t = 0; t < l.max_boxes; ++t){
            box truth = float_to_box(net.truth + t*(4 + 1) + b*l.truths, 1);

            if(!truth.x) break;
            float best_iou = 0;
            int best_n = 0;
            i = (truth.x * l.w);
            j = (truth.y * l.h);
            box truth_shift = truth;
            truth_shift.x = truth_shift.y = 0;
            for(n = 0; n < l.total; ++n){
                box pred = {0};
                pred.w = l.biases[2*n]/net.w;
                pred.h = l.biases[2*n+1]/net.h;
                float iou = box_iou(pred, truth_shift);
                if (iou > best_iou){
                    best_iou = iou;
                    best_n = n;
                }
            }

            int mask_n = int_index(l.mask, best_n, l.n);
            if(mask_n >= 0){
                int box_index = entry_index(l, b, mask_n*l.w*l.h + j*l.w + i, 0);
                float iou = delta_yolo_box(truth, l.output, l.biases, best_n, box_index, i, j, l.w, l.h, net.w, net.h, l.delta, (2-truth.w*truth.h), l.w*l.h);

                int obj_index = entry_index(l, b, mask_n*l.w*l.h + j*l.w + i, 4);
                avg_obj += l.output[obj_index];
                l.delta[obj_index] = 1 - l.output[obj_index];

                int class = net.truth[t*(4 + 1) + b*l.truths + 4];
                if (l.map) class = l.map[class];
                int class_index = entry_index(l, b, mask_n*l.w*l.h + j*l.w + i, 4 + 1);
                delta_yolo_class(l.output, l.delta, class_index, class, l.classes, l.w*l.h, &avg_cat);

                ++count;
                ++class_count;
                if(iou > .5) recall += 1;
                if(iou > .75) recall75 += 1;
                avg_iou += iou;
            }
        }
    }
    *(l.cost) = pow(mag_array(l.delta, l.outputs * l.batch), 2);
    printf("Region %d Avg IOU: %f, Class: %f, Obj: %f, No Obj: %f, .5R: %f, .75R: %f,  count: %d\n", net.index, avg_iou/count, avg_cat/class_count, avg_obj/count, avg_anyobj/(l.w*l.h*l.n*l.batch), recall/count, recall75/count, count);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
leaq 0x640(%rsp), %rax
leaq 0x1a0(%rsp), %r14
movq 0x268(%r14), %rdi
movq 0xd8(%rax), %rsi
movslq 0x58(%r14), %rax
movslq 0x48(%r14), %rdx
imulq %rax, %rdx
shlq $0x2, %rdx
callq 0x32b0
movslq 0x48(%r14), %rax
movq %rax, 0x30(%rsp)
movl 0x84(%r14), %eax
movl %eax, 0x60(%rsp)
movl 0x6c(%r14), %r12d
imull 0x70(%r14), %r12d
movl 0x58(%r14), %eax
movl %eax, 0x28(%rsp)
movl 0xfc(%r14), %eax
leal 0x5(%rax), %ecx
movl %ecx, 0x40(%rsp)
movq 0x268(%r14), %rcx
movq %rcx, 0x38(%rsp)
leal (%r12,%r12), %ecx
movl %ecx, 0x18(%rsp)
incl %eax
imull %r12d, %eax
movq %rax, 0x10(%rsp)
xorl %eax, %eax
movl 0x40(%rsp), %ebx
movq 0x38(%rsp), %rbp
cmpl 0x30(%rsp), %eax
jge 0x34bd4
movl 0x28(%rsp), %ecx
movl %eax, 0x4(%rsp)
imull %eax, %ecx
movl %ecx, 0xd0(%rsp)
xorl %r14d, %r14d
xorl %r13d, %r13d
xorl %eax, %eax
cmpl 0x60(%rsp), %eax
jge 0x34bc1
movl %eax, 0x8(%rsp)
movl %r14d, %eax
cltd
idivl %r12d
movl %r14d, %eax
subl %edx, %eax
imull %ebx, %eax
movl 0xd0(%rsp), %r15d
addl %r15d, %edx
addl %eax, %edx
movslq %edx, %rax
leaq (,%rax,4), %rdi
addq %rbp, %rdi
movl 0x18(%rsp), %esi
xorl %edx, %edx
callq 0x1a4f8
movl %r13d, %eax
cltd
idivl %r12d
imull %ebx, %eax
addl $0x4, %eax
imull %r12d, %eax
addl %r15d, %edx
addl %eax, %edx
movslq %edx, %rax
leaq (,%rax,4), %rdi
addq %rbp, %rdi
movq 0x10(%rsp), %rsi
xorl %edx, %edx
callq 0x1a4f8
movl 0x8(%rsp), %eax
incl %eax
addl %r12d, %r13d
addl %r12d, %r14d
jmp 0x34b44
movl 0x4(%rsp), %eax
incl %eax
leaq 0x1a0(%rsp), %r14
jmp 0x34b20
movq 0x260(%r14), %rdi
movslq 0x58(%r14), %rdx
imulq 0x30(%rsp), %rdx
shlq $0x2, %rdx
xorl %esi, %esi
callq 0x31c0
leaq 0x640(%rsp), %rax
cmpl $0x0, 0xf8(%rax)
je 0x35464
leaq 0x5c(%rsp), %rcx
andl $0x0, (%rcx)
movq %rax, %rcx
movq 0x1d8(%r14), %rax
andl $0x0, (%rax)
movq 0x90(%rcx), %rax
movq 0xe0(%rcx), %rcx
movq %rcx, 0x78(%rsp)
movq %rax, 0xa8(%rsp)
movq %rax, %xmm0
cvtdq2ps %xmm0, %xmm1
shufps $0xe1, %xmm1, %xmm1     # xmm1 = xmm1[1,0,2,3]
movaps %xmm1, 0x150(%rsp)
movl 0x48(%r14), %eax
movl %eax, 0x48(%rsp)
movl 0x58(%r14), %eax
movl %eax, 0xb8(%rsp)
movl 0x6c(%r14), %eax
movl 0x70(%r14), %ecx
movl 0x84(%r14), %edx
movl %edx, 0xc4(%rsp)
movslq %edx, %rdx
movq %rdx, 0x148(%rsp)
movl %eax, %edx
imull %ecx, %edx
movq %rdx, 0x80(%rsp)
movl 0xfc(%r14), %edx
movq %rdx, 0xf0(%rsp)
addl $0x5, %edx
movl %edx, 0x4(%rsp)
movq 0x268(%r14), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, 0x28(%rsp)
cvtsi2ss %ecx, %xmm1
movss %xmm1, 0xc0(%rsp)
movq 0x230(%r14), %rcx
movq %rcx, 0x98(%rsp)
movq %rax, 0x90(%rsp)
cvtsi2ss %eax, %xmm1
movss %xmm1, 0xbc(%rsp)
movss 0x15c(%r14), %xmm1
movss %xmm1, 0xcc(%rsp)
movss 0x160(%r14), %xmm1
movss %xmm1, 0xc8(%rsp)
pshufd $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movd %xmm0, %eax
movq %rax, 0xa0(%rsp)
pxor %xmm0, %xmm0
movdqa %xmm0, 0x110(%rsp)
pxor %xmm0, %xmm0
movd %xmm0, 0x30(%rsp)
movd %xmm0, 0x24(%rsp)
movd %xmm0, 0x20(%rsp)
movq 0x128(%r14), %rax
movq %rax, 0xb0(%rsp)
movslq 0x88(%r14), %r15
movl 0x68(%r14), %eax
movq 0x260(%r14), %rcx
movq %rcx, 0x18(%rsp)
movq 0x1b8(%r14), %rcx
movq %rcx, 0xe8(%rsp)
movl %eax, 0x4c(%rsp)
cltq
movq %rax, 0x120(%rsp)
movslq 0x130(%r14), %rax
movq %rax, 0x130(%rsp)
movl $0x0, 0x54(%rsp)
movl $0x0, 0x58(%rsp)
xorl %edx, %edx
xorl %eax, %eax
cmpl 0x48(%rsp), %edx
jge 0x353a2
movq %rax, 0x128(%rsp)
cltq
movq 0x78(%rsp), %rcx
leaq (%rcx,%rax,4), %rax
movq %rax, 0x140(%rsp)
movl 0xb8(%rsp), %eax
imull %edx, %eax
movq %rax, 0x38(%rsp)
movl 0x4c(%rsp), %eax
movl %edx, 0x50(%rsp)
imull %edx, %eax
movq %rax, 0xf8(%rsp)
cltq
leaq (%rcx,%rax,4), %rax
movq %rax, 0x138(%rsp)
xorl %r9d, %r9d
movq 0x80(%rsp), %r14
cmpl 0x90(%rsp), %r9d
jge 0x350d6
xorl %r8d, %r8d
movl %r9d, 0x88(%rsp)
cmpl 0x28(%rsp), %r8d
jge 0x350ce
xorl %ecx, %ecx
movl %r8d, 0x100(%rsp)
cmpq 0x148(%rsp), %rcx
jge 0x350c6
movq 0x90(%rsp), %r10
movl %r10d, %r13d
imull %ecx, %r13d
addl %r9d, %r13d
movq 0x28(%rsp), %r11
imull %r11d, %r13d
addl %r8d, %r13d
movl %r13d, %eax
cltd
idivl %r14d
movl %edx, %ebp
movl %r13d, %eax
subl %edx, %eax
imull 0x4(%rsp), %eax
addl 0x38(%rsp), %ebp
addl %eax, %ebp
movq 0xb0(%rsp), %rax
movq %rcx, 0x40(%rsp)
movl (%rax,%rcx,4), %edx
subq $0x8, %rsp
movq 0x18(%rsp), %rdi
movq 0xa0(%rsp), %rsi
movl %ebp, %ecx
pushq %r14
pushq 0xb8(%rsp)
pushq 0xb8(%rsp)
pushq %r10
pushq %r11
callq 0x35516
addq $0x30, %rsp
movaps %xmm0, 0x60(%rsp)
movaps %xmm1, 0xd0(%rsp)
xorps %xmm0, %xmm0
movss %xmm0, 0x8(%rsp)
xorl %r14d, %r14d
movq 0x140(%rsp), %rbx
xorl %r12d, %r12d
cmpq %r15, %r14
jge 0x34f2a
movq %rbx, %rdi
pushq $0x1
popq %rsi
callq 0x2b3f1
ucomiss 0x1718a(%rip), %xmm0    # 0x4c078
jne 0x34ef2
jnp 0x34f2a
movaps %xmm0, %xmm2
movaps %xmm1, %xmm3
movaps 0x60(%rsp), %xmm0
movaps 0xd0(%rsp), %xmm1
callq 0x2b1cb
movss 0x8(%rsp), %xmm1
ucomiss %xmm1, %xmm0
cmoval %r14d, %r12d
maxss %xmm1, %xmm0
incq %r14
addq $0x14, %rbx
movss %xmm0, 0x8(%rsp)
jmp 0x34ed7
movl %r13d, %eax
cltd
movq 0x80(%rsp), %r14
idivl %r14d
imull 0x4(%rsp), %eax
leal 0x4(%rax), %ecx
imull %r14d, %ecx
addl 0x38(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movq 0x10(%rsp), %rsi
movss (%rsi,%rcx,4), %xmm2
xorps %xmm0, %xmm0
subss %xmm2, %xmm0
movss 0xcc(%rsp), %xmm1
movss 0x8(%rsp), %xmm3
cmpltss %xmm3, %xmm1
andnps %xmm0, %xmm1
movq 0x18(%rsp), %rsi
movss %xmm1, (%rsi,%rcx,4)
ucomiss 0xc8(%rsp), %xmm3
jbe 0x35099
leal (%r12,%r12,4), %ebx
movq 0xf8(%rsp), %rsi
addl %ebx, %esi
movss 0x17064(%rip), %xmm0    # 0x4c008
movq 0x10(%rsp), %rdi
subss (%rdi,%rcx,4), %xmm0
movq 0x18(%rsp), %rdi
movss %xmm0, (%rdi,%rcx,4)
movslq %esi, %rcx
movq 0x78(%rsp), %rsi
cvttss2si 0x10(%rsi,%rcx,4), %ecx
movq 0xe8(%rsp), %rsi
testq %rsi, %rsi
movss %xmm2, 0x60(%rsp)
je 0x34fdf
movslq %ecx, %rcx
movl (%rsi,%rcx,4), %ecx
addl $0x5, %eax
imull %r14d, %eax
addl %edx, %eax
subq $0x8, %rsp
movq 0x18(%rsp), %r12
movq %r12, %rdi
movq 0x20(%rsp), %r13
movq %r13, %rsi
movl %eax, %edx
movq 0xf8(%rsp), %r8
movl %r14d, %r9d
pushq $0x0
callq 0x357c8
popq %rax
popq %rcx
movslq %ebx, %rax
movq 0x138(%rsp), %rcx
leaq (%rcx,%rax,4), %rdi
pushq $0x1
popq %rsi
callq 0x2b3f1
movq 0xb0(%rsp), %rax
movq 0x40(%rsp), %rcx
movl (%rax,%rcx,4), %edx
movaps %xmm1, %xmm3
shufps $0x55, %xmm1, %xmm3     # xmm3 = xmm3[1,1],xmm1[1,1]
mulss %xmm1, %xmm3
movss 0x17210(%rip), %xmm2    # 0x4c25c
subss %xmm3, %xmm2
movq %r12, %rdi
movq 0x98(%rsp), %rsi
movl %ebp, %ecx
movl 0x100(%rsp), %r8d
movl 0x88(%rsp), %r9d
pushq %r14
pushq %r13
pushq 0xb8(%rsp)
pushq 0xb8(%rsp)
pushq 0xb0(%rsp)
pushq 0x50(%rsp)
callq 0x35615
addq $0x30, %rsp
movss 0x60(%rsp), %xmm2
movss 0x30(%rsp), %xmm0
addss %xmm2, %xmm0
movss %xmm0, 0x30(%rsp)
movq 0x40(%rsp), %rcx
incq %rcx
movl 0x88(%rsp), %r9d
movl 0x100(%rsp), %r8d
jmp 0x34e2e
incl %r8d
jmp 0x34e19
incl %r9d
jmp 0x34e00
movslq 0x50(%rsp), %rax
imulq 0x120(%rsp), %rax
movq 0x78(%rsp), %rcx
leaq (%rcx,%rax,4), %rax
movq %rax, 0x88(%rsp)
xorl %r13d, %r13d
cmpq %r15, %r13
jge 0x3538b
leaq (,%r13,4), %r14
addq %r13, %r14
movq 0x88(%rsp), %rax
leaq (%rax,%r14,4), %rdi
pushq $0x1
popq %rsi
callq 0x2b3f1
movaps %xmm1, 0x60(%rsp)
ucomiss 0x16f4c(%rip), %xmm0    # 0x4c078
jne 0x35134
jnp 0x3538b
movaps %xmm0, %xmm1
mulss 0xc0(%rsp), %xmm1
movss %xmm1, 0x40(%rsp)
movaps %xmm0, 0xd0(%rsp)
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
mulss 0xbc(%rsp), %xmm0
movaps %xmm0, 0x100(%rsp)
xorl %r12d, %r12d
xorps %xmm0, %xmm0
xorl %ebx, %ebx
cmpq 0x130(%rsp), %r12
jge 0x351b7
movq 0x98(%rsp), %rax
movsd (%rax,%r12,8), %xmm1
divps 0x150(%rsp), %xmm1
movss %xmm0, 0x8(%rsp)
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
movaps 0x60(%rsp), %xmm3
callq 0x2b1cb
movss 0x8(%rsp), %xmm1
ucomiss %xmm1, %xmm0
cmoval %r12d, %ebx
maxss %xmm1, %xmm0
incq %r12
jmp 0x3516b
movq 0xb0(%rsp), %rdi
movl %ebx, %esi
movl 0xc4(%rsp), %edx
callq 0x4ca2
testl %eax, %eax
js 0x35383
movl %eax, %ebp
movq %r13, 0x8(%rsp)
cvttss2si 0x100(%rsp), %r9d
cvttss2si 0x40(%rsp), %r8d
movq 0x90(%rsp), %r10
imull %r10d, %ebp
addl %r9d, %ebp
movq 0x28(%rsp), %r11
imull %r11d, %ebp
addl %r8d, %ebp
movl %ebp, %eax
cltd
movq 0x80(%rsp), %r12
idivl %r12d
movl %ebp, %ecx
subl %edx, %ecx
movl 0x4(%rsp), %r13d
imull %r13d, %ecx
movq 0x38(%rsp), %rax
addl %edx, %eax
addl %eax, %ecx
movaps 0x60(%rsp), %xmm1
movaps %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm0     # xmm0 = xmm0[1,1],xmm1[1,1]
mulss %xmm1, %xmm0
movss 0x17018(%rip), %xmm2    # 0x4c25c
subss %xmm0, %xmm2
movaps 0xd0(%rsp), %xmm0
movq 0x10(%rsp), %rdi
movq 0x98(%rsp), %rsi
movl %ebx, %edx
pushq %r12
movq 0x20(%rsp), %rbx
pushq %rbx
pushq 0xb8(%rsp)
pushq 0xb8(%rsp)
pushq %r10
pushq %r11
callq 0x35615
addq $0x30, %rsp
movl %ebp, %eax
cltd
idivl %r12d
imull %r13d, %eax
leal 0x4(%rax), %ecx
imull %r12d, %ecx
addl 0x38(%rsp), %edx
addl %edx, %ecx
addl 0xf8(%rsp), %r14d
movslq %ecx, %rcx
movq 0x10(%rsp), %rsi
movss (%rsi,%rcx,4), %xmm2
movss 0x16d52(%rip), %xmm1    # 0x4c008
subss %xmm2, %xmm1
movss %xmm1, (%rbx,%rcx,4)
movslq %r14d, %rcx
movq 0x78(%rsp), %rsi
cvttss2si 0x10(%rsi,%rcx,4), %ecx
movq 0xe8(%rsp), %rsi
testq %rsi, %rsi
movaps %xmm0, 0x60(%rsp)
je 0x352e5
movslq %ecx, %rcx
movl (%rsi,%rcx,4), %ecx
movq 0x8(%rsp), %r13
movss 0x24(%rsp), %xmm1
addss %xmm2, %xmm1
movss %xmm1, 0x24(%rsp)
addl $0x5, %eax
movq 0x80(%rsp), %r9
imull %r9d, %eax
addl %edx, %eax
subq $0x8, %rsp
movq 0x18(%rsp), %rdi
movq 0x20(%rsp), %rsi
movl %eax, %edx
movq 0xf8(%rsp), %r8
leaq 0x64(%rsp), %rax
pushq %rax
callq 0x357c8
popq %rax
popq %rcx
incl 0x58(%rsp)
incl 0x54(%rsp)
movaps 0x60(%rsp), %xmm3
movaps %xmm3, %xmm0
shufps $0x0, %xmm3, %xmm0      # xmm0 = xmm0[0,0],xmm3[0,0]
movsd 0x1bac4(%rip), %xmm1    # 0x50e10
cmpltps %xmm0, %xmm1
movaps %xmm1, %xmm0
movaps 0x110(%rsp), %xmm2
andnps %xmm2, %xmm0
addps 0x16f4b(%rip), %xmm2    # 0x4c2b0
andps %xmm1, %xmm2
orps %xmm0, %xmm2
movaps %xmm2, 0x110(%rsp)
movss 0x20(%rsp), %xmm0
addss %xmm3, %xmm0
movss %xmm0, 0x20(%rsp)
incq %r13
jmp 0x350f8
movl 0x50(%rsp), %edx
incl %edx
movq 0x128(%rsp), %rax
addl 0x4c(%rsp), %eax
jmp 0x34da0
leaq 0x1a0(%rsp), %rbx
movq 0x260(%rbx), %rdi
movl 0x48(%rsp), %esi
imull 0x58(%rbx), %esi
callq 0x4b4c
mulss %xmm0, %xmm0
movq 0x1d8(%rbx), %rax
movss %xmm0, (%rax)
leaq 0x640(%rsp), %rax
movl 0xfc(%rax), %esi
movl 0x58(%rsp), %edx
cvtsi2ss %edx, %xmm5
movss 0x20(%rsp), %xmm0
divss %xmm5, %xmm0
cvtsi2ssl 0x54(%rsp), %xmm1
cvtss2sd %xmm0, %xmm0
movss 0x5c(%rsp), %xmm2
divss %xmm1, %xmm2
cvtss2sd %xmm2, %xmm1
movss 0x24(%rsp), %xmm2
divss %xmm5, %xmm2
movl 0x6c(%rbx), %eax
imull 0x70(%rbx), %eax
imull 0x84(%rbx), %eax
imull 0x48(%rbx), %eax
cvtss2sd %xmm2, %xmm2
cvtsi2ss %eax, %xmm3
movss 0x30(%rsp), %xmm4
divss %xmm3, %xmm4
cvtss2sd %xmm4, %xmm3
movaps 0x110(%rsp), %xmm6
movaps %xmm6, %xmm4
shufps $0x55, %xmm6, %xmm4     # xmm4 = xmm4[1,1],xmm6[1,1]
divss %xmm5, %xmm4
cvtss2sd %xmm4, %xmm4
divss %xmm5, %xmm6
cvtss2sd %xmm6, %xmm5
leaq 0x1b9c9(%rip), %rdi     # 0x50e26
movb $0x6, %al
callq 0x3160
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq