// File: /workspace/github_c_makefile_star2_O3/akumrao[P]videoAnalyzer/decoder/macroblock.c
// Function: x264_macroblock_read_cavlc(x264_t*, bs_s*, x264_macroblock_t*)
int x264_macroblock_read_cavlc(x264_t *h, bs_t *s, x264_macroblock_t *mb) {LOG_CALL;
    int i_mb_i_offset;
    int i_mb_p_offset;
    int b_sub_ref0 = 0;
    int i_type;
    int i;

    /* read the mb type */
    switch (h->sh.i_type) // slice type
    {
        case SLICE_TYPE_I:
            i_mb_p_offset = 0; /* shut up gcc */
            i_mb_i_offset = 0;
            break;
        case SLICE_TYPE_P:
            i_mb_p_offset = 0;
            i_mb_i_offset = 5;
            break;
        case SLICE_TYPE_B:
            i_mb_p_offset = 23;
            i_mb_i_offset = 23 + 5;
            break;
        default:
            fprintf(stderr, "internal error or slice unsupported\n");
            return -1;
    }

    i_type = bs_read_ue(s,"i_type");

    if (i_type < i_mb_i_offset)
    {
        if (i_type < i_mb_p_offset)
        {
            fprintf(stderr, "unsupported mb type(B*)\n");
            /* TODO for B frame */
            return -1;
        } else
        {
            i_type -= i_mb_p_offset;

            if (i_type == 0)
            {
                mb->i_type = P_L0;
                mb->i_partition = D_16x16;
            } else if (i_type == 1)
            {
                mb->i_type = P_L0;
                mb->i_partition = D_16x8;
            } else if (i_type == 2)
            {
                mb->i_type = P_L0;
                mb->i_partition = D_8x16;
            } else if (i_type == 3 || i_type == 4)
            {
                mb->i_type = P_8x8;
                mb->i_partition = D_8x8;
                b_sub_ref0 = i_type == 4 ? 1 : 0;
            } else
            {
                fprintf(stderr, "invalid mb type\n");
                return -1;
            }
        }
    } else
    {
        i_type -= i_mb_i_offset;

        if (i_type == 0)
        {
            mb->i_type = I_4x4;
        } else if (i_type < 25)
        {
            mb->i_type = I_16x16;

            mb->i_intra16x16_pred_mode = (i_type - 1) % 4;
            mb->i_cbp_chroma = ((i_type - 1) / 4) % 3;
            mb->i_cbp_luma = ((i_type - 1) / 12) ? 0x0f : 0x00;
        } else if (i_type == 25)
        {
            mb->i_type = I_PCM;
        } else
        {
            fprintf(stderr, "invalid mb type (%d)\n", i_type);
            return -1;
        }
    }

    if (mb->i_type == I_PCM)
    {
        return x264_macroblock_decode_ipcm(h, s, mb);
    }

    if (IS_INTRA(mb->i_type))
    {
        if (mb->i_type == I_4x4)
        {
            for (i = 0; i < 16; i++)
            {
                int b_coded;
                
                /*
                  MB type : I/intra coded, P/inter coded from one reference frame, B/inter coded from one or
                    two reference frames.
                    Prediction information : prediction mode(s) for an I macroblock, choice of reference frame(s)
and motion vectors for a P or B macroblock.
 Coded Block Pattern CBP : indicates which luma and chroma blocks contain non-zero
residual coefficients.
 Quantization Parameter QP, for macroblocks with CBP = 0.
 Residual data, for blocks containing non-zero residual coefficients.
                 
                 */

                b_coded = bs_read1(s,"b_coded");

                if (b_coded)
                {
                    mb->block[i].i_intra4x4_pred_mode = x264_mb_predict_intra4x4_mode(h, mb, i);
                } else
                {
                    int i_predicted_mode = x264_mb_predict_intra4x4_mode(h, mb, i);
                    int i_mode = bs_read(s, 3,"i_mode");

                    if (i_mode >= i_predicted_mode)
                    {
                        mb->block[i].i_intra4x4_pred_mode = i_mode + 1;
                    } else
                    {
                        mb->block[i].i_intra4x4_pred_mode = i_mode;
                    }
                }
            }
        }

        mb->i_chroma_pred_mode = bs_read_ue(s,"i_chroma_pred_mode");
    } else if (mb->i_type == P_8x8 || mb->i_type == B_8x8)
    {
        /* FIXME won't work for B_8x8 */

        for (i = 0; i < 4; i++)
        {
            int i_sub_partition;

            i_sub_partition = bs_read_ue(s,"i_sub_partition");
            switch (i_sub_partition)
            {
                case 0:
                    mb->i_sub_partition[i] = D_L0_8x8;
                    break;
                case 1:
                    mb->i_sub_partition[i] = D_L0_8x4;
                    break;
                case 2:
                    mb->i_sub_partition[i] = D_L0_4x8;
                    break;
                case 3:
                    mb->i_sub_partition[i] = D_L0_4x4;
                    break;
                default:
                    fprintf(stderr, "invalid i_sub_partition\n");
                    return -1;
            }
        }
        for (i = 0; i < 4; i++)
        {
            int i_ref;

            i_ref = b_sub_ref0 ? 0 : bs_read_te(s, h->sh.i_num_ref_idx_l0_active - 1,"i_ref");
            x264_mb_partition_ref_set(mb, 0, i, i_ref);
        }
        for (i = 0; i < 4; i++)
        {
            int i_sub;
            int i_ref;

            x264_mb_partition_get(mb, 0, i, 0, &i_ref, NULL, NULL);

            for (i_sub = 0; i_sub < x264_mb_partition_count_table[mb->i_sub_partition[i]]; i_sub++)
            {
                int mv[2];

                x264_mb_predict_mv(mb, 0, i, i_sub, mv);
                mv[0] += bs_read_se(s,"mv[0]");
                mv[1] += bs_read_se(s,"mv[1]");

                x264_mb_partition_mv_set(mb, 0, i, i_sub, mv);
            }
        }
    } else if (mb->i_type != B_DIRECT)
    {
        /* FIXME will work only for P block */

        /* FIXME using x264_mb_partition_set/x264_mb_partition_get here are too unoptimised
         * I should introduce ref and mv get/set */

        /* Motion Vector */
        int i_part = x264_mb_partition_count_table[mb->i_partition];

        for (i = 0; i < i_part; i++)
        {
            int i_ref;

            i_ref = bs_read_te(s, h->sh.i_num_ref_idx_l0_active - 1,"i_ref");

            x264_mb_partition_ref_set(mb, 0, i, i_ref);
        }

        for (i = 0; i < i_part; i++)
        {
            int mv[2];

            x264_mb_predict_mv(mb, 0, i, 0, mv);

            mv[0] += bs_read_se(s,"mv[0]");
            mv[1] += bs_read_se(s,"mv[1]");

            x264_mb_partition_mv_set(mb, 0, i, 0, mv);
        }
    }

    if (mb->i_type != I_16x16)
    {
        int i_cbp;
//In MPEG-2, the buffer is called VBV buffer (Video Buffer Verifier Buffer).
//In H.264, the buffer is called CPB (Coded Picture Buffer).
//The water level of the tank at certain time instance is called buffer fullness and 
//described in number of bits. The size of the tank is called VBV buffer size in MPEG-2 
//and CPB buffer size in H.264.
        i_cbp = bs_read_ue(s,"i_cbp");
        if (i_cbp >= 48)
        {
            fprintf(stderr, "invalid cbp\n");
            return -1;
        }

        if (mb->i_type == I_4x4)
        {
            i_cbp = golomb_to_intra4x4_cbp[i_cbp];
        } else
        {
            i_cbp = golomb_to_inter_cbp[i_cbp];
        }
        mb->i_cbp_luma = i_cbp & 0x0f;
        mb->i_cbp_chroma = i_cbp >> 4;
    }

    if (mb->i_cbp_luma > 0 || mb->i_cbp_chroma > 0 || mb->i_type == I_16x16)
    {
        mb->i_qp = bs_read_se(s,"i_qp") + h->pps->i_pic_init_qp + h->sh.i_qp_delta;

        /* write residual */
        if (mb->i_type == I_16x16)
        {
            /* DC Luma */
            if (block_residual_read_cavlc(h, s, mb, BLOCK_INDEX_LUMA_DC, mb->luma16x16_dc, 16) < 0)
            {
                return -1;
            }

            if (mb->i_cbp_luma != 0)
            {
                /* AC Luma */
                for (i = 0; i < 16; i++)
                {
                    if (block_residual_read_cavlc(h, s, mb, i, mb->block[i].residual_ac, 15) < 0)
                    {
                        return -1;
                    }
                }
            } else
            {
                for (i = 0; i < 16; i++)
                {
                    mb->block[i].i_non_zero_count = 0;
                    array_zero_set(mb->block[i].residual_ac, 15);
                }
            }
        } else
        {
            for (i = 0; i < 16; i++)
            {
                if (mb->i_cbp_luma & (1 << (i / 4)))
                {
                    if (block_residual_read_cavlc(h, s, mb, i, mb->block[i].luma4x4, 16) < 0)
                    {
                        return -1;
                    }
                } else
                {
                    mb->block[i].i_non_zero_count = 0;
                    array_zero_set(mb->block[i].luma4x4, 16);
                }
            }
        }

        if (mb->i_cbp_chroma & 0x03) /* Chroma DC residual present */
        {
            if (block_residual_read_cavlc(h, s, mb, BLOCK_INDEX_CHROMA_DC, mb->chroma_dc[0], 4) < 0 ||
                    block_residual_read_cavlc(h, s, mb, BLOCK_INDEX_CHROMA_DC, mb->chroma_dc[1], 4) < 0)
            {
                return -1;
            }
        } else
        {
            array_zero_set(mb->chroma_dc[0], 4);
            array_zero_set(mb->chroma_dc[1], 4);
        }
        if (mb->i_cbp_chroma & 0x02) /* Chroma AC residual present */
        {
            for (i = 0; i < 8; i++)
            {
                if (block_residual_read_cavlc(h, s, mb, 16 + i, mb->block[16 + i].residual_ac, 15) < 0)
                {
                    return -1;
                }
            }
        } else
        {
            for (i = 0; i < 8; i++)
            {
                mb->block[16 + i].i_non_zero_count = 0;
                array_zero_set(mb->block[16 + i].residual_ac, 15);
            }
        }
    } else
    {
        mb->i_qp = h->pps->i_pic_init_qp + h->sh.i_qp_delta;
        for (i = 0; i < 16; i++)
        {
            mb->block[i].i_non_zero_count = 0;
            array_zero_set(mb->block[i].luma4x4, 16);
        }
        array_zero_set(mb->chroma_dc[0], 4);
        array_zero_set(mb->chroma_dc[1], 4);
        for (i = 0; i < 8; i++)
        {
            array_zero_set(mb->block[16 + i].residual_ac, 15);
            mb->block[16 + i].i_non_zero_count = 0;
        }
    }

    //fprintf( stderr, "mb read type=%d\n", mb->i_type );

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r12
leaq 0x191f2(%rip), %rdi     # 0x271b4
leaq 0x1c087(%rip), %rsi     # 0x2a050
leaq 0x1c0e3(%rip), %rdx     # 0x2a0b3
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x4a56
movl 0x10db00(%r12), %eax
cmpq $0x3, %rax
jae 0xf0be
movq %r12, -0x38(%rbp)
movq %rbx, -0x30(%rbp)
leaq 0x1c025(%rip), %rcx     # 0x2a020
movl (%rcx,%rax,4), %r12d
leaq 0x1c376(%rip), %rcx     # 0x2a37c
movl (%rcx,%rax,4), %r13d
movq 0x8(%r15), %rax
movq 0x10(%r15), %rdx
cmpq %rdx, %rax
jae 0xe03a
movl 0x18(%r15), %ecx
decl %ecx
movl %ecx, 0x18(%r15)
movzbl (%rax), %esi
jne 0xe035
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
btl %ecx, %esi
jb 0xe04a
cmpq %rdx, %rax
jae 0xe04a
cmpl $0x1f, %r14d
ja 0xe04a
incl %r14d
jmp 0xe012
xorl %esi, %esi
testl %r14d, %r14d
je 0xe0b5
leaq 0x1be28(%rip), %r8      # 0x29e80
movl %r14d, %edi
cmpq %rdx, %rax
jae 0xe0b5
movslq 0x18(%r15), %r9
movl %r9d, %ecx
subl %edi, %ecx
movzbl (%rax), %r10d
jns 0xe091
andl (%r8,%r9,4), %r10d
negb %cl
shll %cl, %r10d
orl %r10d, %esi
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
subl %r9d, %edi
jg 0xe05b
jmp 0xe0b5
shrl %cl, %r10d
movl %edi, %edx
andl (%r8,%rdx,4), %r10d
orl %r10d, %esi
movl %ecx, 0x18(%r15)
cmpl %edi, %r9d
jne 0xe0b5
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movl %r14d, %ecx
shll %cl, %ebx
notl %ebx
addl %esi, %ebx
leaq 0x1b8cc(%rip), %rdi     # 0x29996
leaq 0x1b7af(%rip), %rdx     # 0x29880
movl %ebx, %esi
xorl %eax, %eax
callq 0x4a56
movl %ebx, %edx
subl %r13d, %edx
jge 0xe115
subl %r12d, %ebx
movq -0x30(%rbp), %r13
jl 0xf0c5
movl $0x10, %eax
je 0xe3c3
cmpl $0x1, %ebx
je 0xe3be
cmpl $0x2, %ebx
jne 0xe647
movl $0xf, %eax
jmp 0xe3c3
movq -0x30(%rbp), %rdi
jne 0xe28c
movl $0x0, 0x18(%rdi)
leaq 0x324(%rdi), %rax
movq %rax, -0x50(%rbp)
leaq 0x1bd48(%rip), %r13     # 0x29e80
xorl %r12d, %r12d
movq 0x8(%r15), %rax
cmpq 0x10(%r15), %rax
jae 0xe19f
movl 0x18(%r15), %edx
decl %edx
movl %edx, 0x18(%r15)
movzbl (%rax), %ecx
xorl %ebx, %ebx
btl %edx, %ecx
setb %cl
testl %edx, %edx
jne 0xe16d
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
movb %cl, %bl
leaq 0x1b862(%rip), %rdi     # 0x299d8
movl %ebx, %esi
leaq 0x1bfb4(%rip), %rdx     # 0x2a133
xorl %eax, %eax
callq 0x4a56
testl %ebx, %ebx
je 0xe1b6
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl %r12d, %edx
callq 0x6577
jmp 0xe26b
leaq 0x1b832(%rip), %rdi     # 0x299d8
xorl %esi, %esi
leaq 0x1bf84(%rip), %rdx     # 0x2a133
xorl %eax, %eax
callq 0x4a56
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl %r12d, %edx
callq 0x6577
movl %eax, -0x40(%rbp)
movq 0x8(%r15), %rax
movq 0x10(%r15), %rdx
movl $0x3, %esi
xorl %r14d, %r14d
cmpq %rdx, %rax
jae 0xe20a
movslq 0x18(%r15), %rdi
movl %edi, %ecx
subl %esi, %ecx
movzbl (%rax), %ebx
jns 0xe227
andl (%r13,%rdi,4), %ebx
negb %cl
shll %cl, %ebx
orl %ebx, %r14d
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
subl %edi, %esi
jg 0xe1d9
leaq 0x1b7b3(%rip), %rdi     # 0x299c4
movl %r14d, %edx
leaq 0x1bf20(%rip), %rcx     # 0x2a13b
xorl %eax, %eax
callq 0x4a56
movl %r14d, %ebx
jmp 0xe261
shrl %cl, %ebx
movl %esi, %edx
andl (%r13,%rdx,4), %ebx
movl %ecx, 0x18(%r15)
cmpl %esi, %edi
jne 0xe247
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
orl %r14d, %ebx
leaq 0x1b75e(%rip), %rdi     # 0x299af
movl %ebx, %edx
leaq 0x1bee1(%rip), %rcx     # 0x2a13b
xorl %eax, %eax
callq 0x4a56
xorl %eax, %eax
cmpl -0x40(%rbp), %ebx
setge %al
addl %ebx, %eax
movq %r12, %rcx
shlq $0x7, %rcx
leaq (%rcx,%r12,4), %rcx
movq -0x50(%rbp), %rdx
movl %eax, (%rdx,%rcx)
incq %r12
cmpq $0x10, %r12
jne 0xe13b
jmp 0xe2f3
cmpl $0x18, %edx
jg 0xe38d
movl $0x1, 0x18(%rdi)
leal -0x1(%rdx), %eax
leal 0x2(%rdx), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
movl %ecx, %eax
andl $-0x4, %eax
negl %eax
addl %edx, %eax
decl %eax
movl %eax, 0x2bc(%rdi)
sarl $0x2, %ecx
movslq %ecx, %rax
imulq $0x55555556, %rax, %rcx # imm = 0x55555556
movq %rcx, %rsi
shrq $0x3f, %rsi
shrq $0x20, %rcx
addl %esi, %ecx
leal (%rcx,%rcx,2), %ecx
subl %ecx, %eax
movl %eax, 0x2b4(%rdi)
addl $0xa, %edx
xorl %eax, %eax
cmpl $0x17, %edx
movl $0xf, %ecx
cmovbl %eax, %ecx
movl %ecx, 0x2b8(%rdi)
movq 0x8(%r15), %rdx
movq 0x10(%r15), %rsi
xorl %eax, %eax
movq -0x30(%rbp), %r14
cmpq %rsi, %rdx
jae 0xe329
movl 0x18(%r15), %ecx
decl %ecx
movl %ecx, 0x18(%r15)
movzbl (%rdx), %edi
jne 0xe324
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
btl %ecx, %edi
jb 0xe337
cmpq %rsi, %rdx
jae 0xe337
cmpl $0x1f, %eax
ja 0xe337
incl %eax
jmp 0xe301
xorl %edi, %edi
testl %eax, %eax
je 0xea39
leaq 0x1bb38(%rip), %r9      # 0x29e80
movl %eax, %r8d
cmpq %rsi, %rdx
jae 0xea39
movslq 0x18(%r15), %r10
movl %r10d, %ecx
subl %r8d, %ecx
movzbl (%rdx), %r11d
jns 0xea14
andl (%r9,%r10,4), %r11d
negb %cl
shll %cl, %r11d
orl %r11d, %edi
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
subl %r10d, %r8d
jg 0xe34b
jmp 0xea39
cmpl $0x19, %edx
jne 0xf0d3
movl $0x2, 0x18(%rdi)
leaq 0x18e10(%rip), %rdi     # 0x271b4
leaq 0x1bca5(%rip), %rsi     # 0x2a050
leaq 0x1be2f(%rip), %rdx     # 0x2a1e1
xorl %eax, %eax
callq 0x4a56
jmp 0xf0f9
movl $0xe, %eax
movl $0x3, 0x18(%r13)
movl %eax, 0x1c(%r13)
movl %eax, %eax
leaq 0x1b808(%rip), %rcx     # 0x29be0
movl (%rcx,%rax,4), %eax
cmpl $0x2, %eax
movl $0x1, %r12d
movl %eax, -0x40(%rbp)
cmovgel %eax, %r12d
xorl %ebx, %ebx
movq -0x38(%rbp), %r14
movl 0x10db38(%r14), %esi
decl %esi
movq %r15, %rdi
callq 0xf10f
movq %r13, %rdi
xorl %esi, %esi
movl %ebx, %edx
movl %eax, %ecx
callq 0xdcf0
incl %ebx
cmpl %ebx, %r12d
jne 0xe3f1
movl -0x40(%rbp), %ecx
cmpl $0x2, %ecx
movl $0x1, %eax
cmovgel %ecx, %eax
movl %eax, -0x40(%rbp)
leaq -0x48(%rbp), %rax
leaq 0x1ba4d(%rip), %r12     # 0x29e80
xorl %ebx, %ebx
movq %r13, %r10
movq %rax, %r13
movq %r10, %rdi
xorl %esi, %esi
movl %ebx, %edx
xorl %ecx, %ecx
movq %r13, %r8
callq 0x6c10
movq 0x8(%r15), %rdx
movq 0x10(%r15), %rsi
xorl %eax, %eax
cmpq %rsi, %rdx
jae 0xe47e
movl 0x18(%r15), %ecx
decl %ecx
movl %ecx, 0x18(%r15)
movzbl (%rdx), %edi
jne 0xe479
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
btl %ecx, %edi
jb 0xe48c
cmpq %rsi, %rdx
jae 0xe48c
cmpl $0x1f, %eax
ja 0xe48c
incl %eax
jmp 0xe456
xorl %r13d, %r13d
movl $0x0, %edi
testl %eax, %eax
je 0xe4f9
xorl %edi, %edi
movl %eax, %r8d
cmpq %rsi, %rdx
jae 0xe4f9
movslq 0x18(%r15), %r9
movl %r9d, %ecx
subl %r8d, %ecx
movzbl (%rdx), %r10d
jns 0xe4d4
andl (%r12,%r9,4), %r10d
negb %cl
shll %cl, %r10d
orl %r10d, %edi
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
subl %r9d, %r8d
jg 0xe49d
jmp 0xe4f9
shrl %cl, %r10d
movl %r8d, %esi
andl (%r12,%rsi,4), %r10d
orl %r10d, %edi
movl %ecx, 0x18(%r15)
cmpl %r8d, %r9d
jne 0xe4f9
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl %eax, %ecx
shll %cl, %edx
movl %edx, %eax
notl %eax
addl %edi, %eax
subl %edx, %edi
sarl %edi
movl %eax, %r14d
sarl %r14d
negl %r14d
testb $0x1, %al
cmovnel %edi, %r14d
leaq 0x1b4c6(%rip), %rdi     # 0x299e8
movl %r14d, %esi
leaq 0x1bc52(%rip), %rdx     # 0x2a17e
xorl %eax, %eax
callq 0x4a56
addl %r14d, -0x48(%rbp)
movq 0x8(%r15), %rax
movq 0x10(%r15), %rdx
cmpq %rdx, %rax
jae 0xe567
movl 0x18(%r15), %ecx
decl %ecx
movl %ecx, 0x18(%r15)
movzbl (%rax), %esi
jne 0xe562
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
btl %ecx, %esi
jb 0xe577
cmpq %rdx, %rax
jae 0xe577
cmpl $0x1f, %r13d
ja 0xe577
incl %r13d
jmp 0xe53f
xorl %esi, %esi
testl %r13d, %r13d
je 0xe5db
movl %r13d, %edi
cmpq %rdx, %rax
jae 0xe5db
movslq 0x18(%r15), %r8
movl %r8d, %ecx
subl %edi, %ecx
movzbl (%rax), %r9d
jns 0xe5b7
andl (%r12,%r8,4), %r9d
negb %cl
shll %cl, %r9d
orl %r9d, %esi
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
subl %r8d, %edi
jg 0xe581
jmp 0xe5db
shrl %cl, %r9d
movl %edi, %edx
andl (%r12,%rdx,4), %r9d
orl %r9d, %esi
movl %ecx, 0x18(%r15)
cmpl %edi, %r8d
jne 0xe5db
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %r13d, %ecx
shll %cl, %eax
movl %eax, %ecx
notl %ecx
addl %esi, %ecx
subl %eax, %esi
sarl %esi
movl %ecx, %r14d
sarl %r14d
negl %r14d
testb $0x1, %cl
cmovnel %esi, %r14d
leaq 0x1b3e2(%rip), %rdi     # 0x299e8
movl %r14d, %esi
leaq 0x1bb74(%rip), %rdx     # 0x2a184
xorl %eax, %eax
callq 0x4a56
addl %r14d, -0x44(%rbp)
movq -0x30(%rbp), %r14
movq %r14, %rdi
xorl %esi, %esi
movl %ebx, %edx
xorl %ecx, %ecx
leaq -0x48(%rbp), %r13
movq %r13, %r8
callq 0xddf2
movq %r14, %r10
incl %ebx
cmpl -0x40(%rbp), %ebx
jne 0xe43b
jmp 0xea67
leal -0x3(%rbx), %eax
cmpl $0x2, %eax
jae 0xf0ed
movabsq $0xd00000004, %rax      # imm = 0xD00000004
movq %rax, 0x18(%r13)
leaq 0x1b818(%rip), %r14     # 0x29e80
xorl %r12d, %r12d
movq 0x8(%r15), %rdx
movq 0x10(%r15), %rsi
xorl %eax, %eax
cmpq %rsi, %rdx
jae 0xe69d
movl 0x18(%r15), %ecx
decl %ecx
movl %ecx, 0x18(%r15)
movzbl (%rdx), %edi
jne 0xe698
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
btl %ecx, %edi
jb 0xe6ab
cmpq %rsi, %rdx
jae 0xe6ab
cmpl $0x1f, %eax
ja 0xe6ab
incl %eax
jmp 0xe675
xorl %edi, %edi
testl %eax, %eax
je 0xe710
movl %eax, %r8d
cmpq %rsi, %rdx
jae 0xe710
movslq 0x18(%r15), %r9
movl %r9d, %ecx
subl %r8d, %ecx
movzbl (%rdx), %r10d
jns 0xe6eb
andl (%r14,%r9,4), %r10d
negb %cl
shll %cl, %r10d
orl %r10d, %edi
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
subl %r9d, %r8d
jg 0xe6b4
jmp 0xe710
shrl %cl, %r10d
movl %r8d, %esi
andl (%r14,%rsi,4), %r10d
orl %r10d, %edi
movl %ecx, 0x18(%r15)
cmpl %r8d, %r9d
jne 0xe710
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
movl %eax, %ecx
shll %cl, %r13d
notl %r13d
addl %edi, %r13d
leaq 0x1b26e(%rip), %rdi     # 0x29996
movl %r13d, %esi
leaq 0x1ba23(%rip), %rdx     # 0x2a155
xorl %eax, %eax
callq 0x4a56
cmpl $0x4, %r13d
jae 0xf0f4
movl %r13d, %eax
leaq 0x1bc3b(%rip), %rcx     # 0x2a388
movl (%rcx,%rax,4), %eax
movq -0x30(%rbp), %r10
movl %eax, 0x20(%r10,%r12,4)
incq %r12
cmpq $0x4, %r12
jne 0xe66b
xorl %r12d, %r12d
movl $0x0, %ecx
cmpl $0x4, %ebx
je 0xe78f
movq -0x38(%rbp), %rax
movl 0x10db38(%rax), %esi
decl %esi
movq %r15, %rdi
movq %r10, %r14
callq 0xf10f
movq %r14, %r10
movl %eax, %ecx
movq %r10, %rdi
xorl %esi, %esi
movl %r12d, %edx
movq %r10, %r14
callq 0xdcf0
movq %r14, %r10
incl %r12d
cmpl $0x4, %r12d
jne 0xe769
leaq -0x48(%rbp), %r12
xorl %r13d, %r13d
movq %r13, -0x40(%rbp)
movq $0x0, (%rsp)
movq %r10, %rdi
xorl %esi, %esi
movq -0x40(%rbp), %rdx
xorl %ecx, %ecx
leaq -0x54(%rbp), %r8
xorl %r9d, %r9d
movq %r10, %rbx
callq 0x6ad0
movq %rbx, %r10
movq -0x40(%rbp), %r13
xorl %ebx, %ebx
movq %r12, %r8
xorl %r12d, %r12d
movq %r10, %rdi
xorl %esi, %esi
movl %r13d, %edx
movl %ebx, %ecx
callq 0x6c10
movq 0x8(%r15), %rax
movq 0x10(%r15), %rdx
leaq 0x1b67b(%rip), %r14     # 0x29e80
cmpq %rdx, %rax
jae 0xe82d
movl 0x18(%r15), %ecx
decl %ecx
movl %ecx, 0x18(%r15)
movzbl (%rax), %esi
jne 0xe828
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
btl %ecx, %esi
jb 0xe83d
cmpq %rdx, %rax
jae 0xe83d
cmpl $0x1f, %r12d
ja 0xe83d
incl %r12d
jmp 0xe805
xorl %r13d, %r13d
movl $0x0, %esi
testl %r12d, %r12d
je 0xe8a9
xorl %esi, %esi
movl %r12d, %edi
cmpq %rdx, %rax
jae 0xe8a9
movslq 0x18(%r15), %r8
movl %r8d, %ecx
subl %edi, %ecx
movzbl (%rax), %r9d
jns 0xe885
andl (%r14,%r8,4), %r9d
negb %cl
shll %cl, %r9d
orl %r9d, %esi
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
subl %r8d, %edi
jg 0xe84f
jmp 0xe8a9
shrl %cl, %r9d
movl %edi, %edx
andl (%r14,%rdx,4), %r9d
orl %r9d, %esi
movl %ecx, 0x18(%r15)
cmpl %edi, %r8d
jne 0xe8a9
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %r12d, %ecx
shll %cl, %eax
movl %eax, %ecx
notl %ecx
addl %esi, %ecx
subl %eax, %esi
sarl %esi
movl %ecx, %r12d
sarl %r12d
negl %r12d
testb $0x1, %cl
cmovnel %esi, %r12d
leaq 0x1b114(%rip), %rdi     # 0x299e8
movl %r12d, %esi
leaq 0x1b8a0(%rip), %rdx     # 0x2a17e
xorl %eax, %eax
callq 0x4a56
addl %r12d, -0x48(%rbp)
movq 0x8(%r15), %rax
movq 0x10(%r15), %rdx
cmpq %rdx, %rax
jae 0xe919
movl 0x18(%r15), %ecx
decl %ecx
movl %ecx, 0x18(%r15)
movzbl (%rax), %esi
jne 0xe914
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
btl %ecx, %esi
jb 0xe929
cmpq %rdx, %rax
jae 0xe929
cmpl $0x1f, %r13d
ja 0xe929
incl %r13d
jmp 0xe8f1
xorl %esi, %esi
testl %r13d, %r13d
je 0xe98d
movl %r13d, %edi
cmpq %rdx, %rax
jae 0xe98d
movslq 0x18(%r15), %r8
movl %r8d, %ecx
subl %edi, %ecx
movzbl (%rax), %r9d
jns 0xe969
andl (%r14,%r8,4), %r9d
negb %cl
shll %cl, %r9d
orl %r9d, %esi
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
subl %r8d, %edi
jg 0xe933
jmp 0xe98d
shrl %cl, %r9d
movl %edi, %edx
andl (%r14,%rdx,4), %r9d
orl %r9d, %esi
movl %ecx, 0x18(%r15)
cmpl %edi, %r8d
jne 0xe98d
incq %rax
movq %rax, 0x8(%r15)
movl $0x8, 0x18(%r15)
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %r13d, %ecx
shll %cl, %eax
movl %eax, %ecx
notl %ecx
addl %esi, %ecx
subl %eax, %esi
sarl %esi
movl %ecx, %r12d
sarl %r12d
negl %r12d
testb $0x1, %cl
cmovnel %esi, %r12d
leaq 0x1b030(%rip), %rdi     # 0x299e8
movl %r12d, %esi
leaq 0x1b7c2(%rip), %rdx     # 0x2a184
xorl %eax, %eax
callq 0x4a56
addl %r12d, -0x44(%rbp)
movq -0x30(%rbp), %r14
movq %r14, %rdi
xorl %esi, %esi
movq -0x40(%rbp), %r13
movl %r13d, %edx
movl %ebx, %ecx
leaq -0x48(%rbp), %r12
movq %r12, %r8
callq 0xddf2
movq %r14, %r10
incl %ebx
movslq 0x20(%r14,%r13,4), %rax
leaq 0x1b1e4(%rip), %rcx     # 0x29be0
cmpl (%rcx,%rax,4), %ebx
jl 0xe7e1
incq %r13
cmpq $0x4, %r13
jne 0xe7b2
jmp 0xea67
shrl %cl, %r11d
movl %r8d, %esi
andl (%r9,%rsi,4), %r11d
orl %r11d, %edi
movl %ecx, 0x18(%r15)
cmpl %r8d, %r10d
jne 0xea39
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movl %eax, %ecx
shll %cl, %ebx
notl %ebx
addl %edi, %ebx
leaq 0x1af49(%rip), %rdi     # 0x29996
leaq 0x1b6ee(%rip), %rdx     # 0x2a142
movl %ebx, %esi
xorl %eax, %eax
callq 0x4a56
movq %r14, %r10
movl %ebx, 0x2c0(%r14)
cmpl $0x1, 0x18(%r10)
movq %r10, %r13
jne 0xea83
movl 0x2b8(%r10), %ecx
movb $0x1, %al
movq -0x38(%rbp), %rbx
jmp 0xeba3
movq 0x8(%r15), %rdx
movq 0x10(%r15), %rsi
xorl %eax, %eax
movq -0x38(%rbp), %rbx
cmpq %rsi, %rdx
jae 0xeab9
movl 0x18(%r15), %ecx
decl %ecx
movl %ecx, 0x18(%r15)
movzbl (%rdx), %edi
jne 0xeab4
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
btl %ecx, %edi
jb 0xeac7
cmpq %rsi, %rdx
jae 0xeac7
cmpl $0x1f, %eax
ja 0xeac7
incl %eax
jmp 0xea91
xorl %edi, %edi
testl %eax, %eax
je 0xeb33
leaq 0x1b3ac(%rip), %r9      # 0x29e80
movl %eax, %r8d
cmpq %rsi, %rdx
jae 0xeb33
movslq 0x18(%r15), %r10
movl %r10d, %ecx
subl %r8d, %ecx
movzbl (%rdx), %r11d
jns 0xeb0e
andl (%r9,%r10,4), %r11d
negb %cl
shll %cl, %r11d
orl %r11d, %edi
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
subl %r10d, %r8d
jg 0xead7
jmp 0xeb33
shrl %cl, %r11d
movl %r8d, %esi
andl (%r9,%rsi,4), %r11d
orl %r11d, %edi
movl %ecx, 0x18(%r15)
cmpl %r8d, %r10d
jne 0xeb33
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
movl %eax, %ecx
shll %cl, %r14d
notl %r14d
addl %edi, %r14d
leaq 0x1ae4b(%rip), %rdi     # 0x29996
leaq 0x1b638(%rip), %rdx     # 0x2a18a
movl %r14d, %esi
xorl %eax, %eax
callq 0x4a56
cmpl $0x2f, %r14d
jg 0xf0cc
movq %r13, %r10
movl 0x18(%r13), %eax
testl %eax, %eax
movslq %r14d, %rcx
leaq 0x1b0b7(%rip), %rdx     # 0x29c30
leaq 0x1b170(%rip), %rsi     # 0x29cf0
cmoveq %rdx, %rsi
movl (%rsi,%rcx,4), %edx
movl %edx, %ecx
andl $0xf, %ecx
movl %ecx, 0x2b8(%r13)
sarl $0x4, %edx
movl %edx, 0x2b4(%r13)
cmpl $0x1, %eax
sete %al
testl %ecx, %ecx
jg 0xebbc
cmpl $0x0, 0x2b4(%r10)
setle %cl
xorb $0x1, %al
testb %al, %cl
jne 0xec52
movq 0x8(%r15), %rdx
movq 0x10(%r15), %rsi
xorl %eax, %eax
cmpq %rsi, %rdx
jae 0xebee
movl 0x18(%r15), %ecx
decl %ecx
movl %ecx, 0x18(%r15)
movzbl (%rdx), %edi
jne 0xebe9
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
btl %ecx, %edi
jb 0xebfc
cmpq %rsi, %rdx
jae 0xebfc
cmpl $0x1f, %eax
ja 0xebfc
incl %eax
jmp 0xebc6
xorl %edi, %edi
testl %eax, %eax
je 0xed88
leaq 0x1b273(%rip), %r9      # 0x29e80
movl %eax, %r8d
cmpq %rsi, %rdx
jae 0xed88
movslq 0x18(%r15), %r10
movl %r10d, %ecx
subl %r8d, %ecx
movzbl (%rdx), %r11d
jns 0xed63
andl (%r9,%r10,4), %r11d
negb %cl
shll %cl, %r11d
orl %r11d, %edi
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
subl %r10d, %r8d
jg 0xec10
jmp 0xed88
movq 0x10dae0(%rbx), %rax
movl 0x10db44(%rbx), %ecx
addl 0x1034(%rax), %ecx
movl %ecx, 0x2b0(%r10)
movl $0x368, %r12d           # imm = 0x368
leaq 0x1853b(%rip), %rbx     # 0x271b4
leaq 0x1b3d0(%rip), %r14     # 0x2a050
leaq 0x1b5f5(%rip), %r15     # 0x2a27c
movl $0x0, -0x40(%r10,%r12)
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq 0x4a56
movq %r13, %r10
xorps %xmm0, %xmm0
movups %xmm0, 0x30(%r13,%r12)
movups %xmm0, 0x20(%r13,%r12)
movups %xmm0, 0x10(%r13,%r12)
movups %xmm0, (%r13,%r12)
addq $0x84, %r12
cmpq $0xba8, %r12            # imm = 0xBA8
jne 0xec87
leaq 0x184df(%rip), %r14     # 0x271b4
leaq 0x1b374(%rip), %r15     # 0x2a050
leaq 0x1b599(%rip), %r12     # 0x2a27c
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %eax, %eax
movq %r10, %rbx
callq 0x4a56
xorps %xmm0, %xmm0
movups %xmm0, 0x304(%rbx)
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq 0x4a56
xorps %xmm0, %xmm0
movups %xmm0, 0x314(%rbx)
addq $0xb68, %rbx            # imm = 0xB68
xorl %r13d, %r13d
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq 0x4a56
xorps %xmm0, %xmm0
movups %xmm0, 0x30(%rbx,%r13)
movups %xmm0, 0x20(%rbx,%r13)
movups %xmm0, 0x10(%rbx,%r13)
movups %xmm0, (%rbx,%r13)
addq $0x84, %r13
cmpq $0x420, %r13            # imm = 0x420
jne 0xed24
jmp 0xf0ba
shrl %cl, %r11d
movl %r8d, %esi
andl (%r9,%rsi,4), %r11d
orl %r11d, %edi
movl %ecx, 0x18(%r15)
cmpl %r8d, %r10d
jne 0xed88
incq %rdx
movq %rdx, 0x8(%r15)
movl $0x8, 0x18(%r15)
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl %eax, %ecx
shll %cl, %edx
movl %edx, %eax
notl %eax
addl %edi, %eax
subl %edx, %edi
sarl %edi
movl %eax, %r14d
sarl %r14d
negl %r14d
testb $0x1, %al
cmovnel %edi, %r14d
leaq 0x1ac37(%rip), %rdi     # 0x299e8
leaq 0x1b3e5(%rip), %rdx     # 0x2a19d
movl %r14d, %esi
xorl %eax, %eax
callq 0x4a56
movq 0x10dae0(%rbx), %rax
addl 0x1034(%rax), %r14d
addl 0x10db44(%rbx), %r14d
movq %r13, %rdx
movl %r14d, 0x2b0(%r13)
cmpl $0x1, 0x18(%r13)
jne 0xee65
leaq 0x2c4(%rdx), %r8
movq %rbx, %rdi
movq %r15, %rsi
movl $0xfffffffe, %ecx       # imm = 0xFFFFFFFE
movl $0x10, %r9d
movq %rdx, %rbx
callq 0xf24c
testl %eax, %eax
js 0xf0f9
cmpl $0x0, 0x2b8(%rbx)
je 0xeef2
leaq 0x32c(%rbx), %r14
xorl %r12d, %r12d
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movq -0x38(%rbp), %rdi
movq %r15, %rsi
movq -0x30(%rbp), %rdx
movl %r12d, %ecx
movq %r14, %r8
movl $0xf, %r9d
callq 0xf24c
testl %eax, %eax
js 0xf0fe
incq %r12
addq $0x84, %r14
cmpq $0x10, %r12
jne 0xee2c
jmp 0xef51
leaq 0x368(%rdx), %rbx
leaq 0x1b1dd(%rip), %r12     # 0x2a050
leaq 0x1b402(%rip), %r13     # 0x2a27c
xorl %r14d, %r14d
movq -0x30(%rbp), %rdx
movl 0x2b8(%rdx), %eax
movl %r14d, %ecx
shrl $0x2, %ecx
btl %ecx, %eax
jae 0xeeb3
movq -0x38(%rbp), %rdi
movq %r15, %rsi
movl %r14d, %ecx
movq %rbx, %r8
movl $0x10, %r9d
callq 0xf24c
testl %eax, %eax
jns 0xeee0
jmp 0xf0f9
movl $0x0, -0x40(%rbx)
leaq 0x182f3(%rip), %rdi     # 0x271b4
movq %r12, %rsi
movq %r13, %rdx
xorl %eax, %eax
callq 0x4a56
xorps %xmm0, %xmm0
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
incq %r14
addq $0x84, %rbx
cmpq $0x10, %r14
jne 0xee7d
jmp 0xef51
movl $0x32c, %r13d           # imm = 0x32C
leaq 0x1b151(%rip), %r14     # 0x2a050
leaq 0x1b376(%rip), %r12     # 0x2a27c
movq -0x30(%rbp), %rbx
movl $0x0, -0x4(%rbx,%r13)
leaq 0x1829a(%rip), %rdi     # 0x271b4
movq %r14, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq 0x4a56
xorps %xmm0, %xmm0
movups %xmm0, 0x2c(%rbx,%r13)
movups %xmm0, 0x20(%rbx,%r13)
movups %xmm0, 0x10(%rbx,%r13)
movups %xmm0, (%rbx,%r13)
addq $0x84, %r13
cmpq $0xb6c, %r13            # imm = 0xB6C
jne 0xef0a
movq -0x30(%rbp), %r13
leaq 0x304(%r13), %r14
testb $0x3, 0x2b4(%r13)
je 0xefc1
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movq -0x38(%rbp), %r12
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %r14, %r8
movl $0x4, %r9d
callq 0xf24c
testl %eax, %eax
js 0xf0fe
leaq 0x314(%r13), %r8
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movl $0x4, %r9d
callq 0xf24c
testl %eax, %eax
jns 0xf010
jmp 0xf0fe
leaq 0x181ec(%rip), %rbx     # 0x271b4
leaq 0x1b081(%rip), %r12     # 0x2a050
leaq 0x1b2a6(%rip), %r13     # 0x2a27c
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
xorl %eax, %eax
callq 0x4a56
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq -0x30(%rbp), %r13
xorl %eax, %eax
callq 0x4a56
xorps %xmm0, %xmm0
movups %xmm0, 0x314(%r13)
movq -0x38(%rbp), %r12
testb $0x2, 0x2b4(%r13)
jne 0xf081
addq $0xb6c, %r13            # imm = 0xB6C
leaq 0x1818c(%rip), %r14     # 0x271b4
leaq 0x1b021(%rip), %r15     # 0x2a050
leaq 0x1b246(%rip), %r12     # 0x2a27c
movq %r13, %rbx
xorl %r13d, %r13d
movl $0x0, -0x4(%rbx,%r13)
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq 0x4a56
xorps %xmm0, %xmm0
movups %xmm0, 0x2c(%rbx,%r13)
movups %xmm0, 0x20(%rbx,%r13)
movups %xmm0, 0x10(%rbx,%r13)
movups %xmm0, (%rbx,%r13)
addq $0x84, %r13
cmpq $0x420, %r13            # imm = 0x420
jne 0xf03c
jmp 0xf0ba
leaq 0xb6c(%r13), %rbx
movq $-0x8, %r14
leal 0x18(%r14), %ecx
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %rbx, %r8
movl $0xf, %r9d
callq 0xf24c
testl %eax, %eax
js 0xf0f9
addq $0x84, %rbx
incq %r14
jne 0xf08f
xorl %ebx, %ebx
jmp 0xf0fe
callq 0x2813
jmp 0xf0f9
callq 0x28c2
jmp 0xf0f9
callq 0x28a0
jmp 0xf0f9
movq 0x23ef6(%rip), %rax     # 0x32fd0
movq (%rax), %rdi
leaq 0x1b039(%rip), %rsi     # 0x2a11d
xorl %eax, %eax
callq 0x2170
jmp 0xf0f9
callq 0x2842
jmp 0xf0f9
callq 0x2871
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movl %ebx, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq