LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: lukasz-wiecaszek[P]h264iframedecoder/picture.cpp
// Function: ymn::h264::picture::advance_mb_pos()
mb* picture::advance_mb_pos()
{
    if (m_context_variables.mb_aff_frame) {
        if ((m_context_variables.mb_y & 1) == 0)
            m_context_variables.mb_y++; /* move to bottom macroblock of a macroblock pair */
        else {
            m_context_variables.mb_y--; /* move to top macroblock of a macroblock pair */
            m_context_variables.mb_x++; /* move to right macroblock pair */
            if (m_context_variables.mb_x >= m_decoder.m_dimensions.mb_width) {
                m_context_variables.mb_x = 0;
                m_context_variables.mb_y +=2;
            }
        }
    }
    else {
        m_context_variables.mb_x++; /* move to right macroblock */
        if (m_context_variables.mb_x >= m_decoder.m_dimensions.mb_width) {
            m_context_variables.mb_x = 0;
            m_context_variables.mb_y++;
            if (m_picture_structure != picture_structure_e::frame)
                m_context_variables.mb_y++;
        }
    }

    update_mb_pos();

    return m_context_variables.curr_mb;
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq %rax, 0x8(%rsp)
testb $0x1, 0x18(%rax)
je 0x1ced8
movq 0x8(%rsp), %rax
movl 0x20(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
jne 0x1ce99
movq 0x8(%rsp), %rax
movl 0x20(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x20(%rax)
jmp 0x1ced6
movq 0x8(%rsp), %rcx
movl 0x20(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x20(%rcx)
movl 0x1c(%rcx), %eax
addl $0x1, %eax
movl %eax, 0x1c(%rcx)
movl 0x1c(%rcx), %eax
movq 0x8(%rcx), %rcx
cmpl 0x88340(%rcx), %eax
jl 0x1ced4
movq 0x8(%rsp), %rax
movl $0x0, 0x1c(%rax)
movl 0x20(%rax), %ecx
addl $0x2, %ecx
movl %ecx, 0x20(%rax)
jmp 0x1ced6
jmp 0x1cf22
movq 0x8(%rsp), %rcx
movl 0x1c(%rcx), %eax
addl $0x1, %eax
movl %eax, 0x1c(%rcx)
movl 0x1c(%rcx), %eax
movq 0x8(%rcx), %rcx
cmpl 0x88340(%rcx), %eax
jl 0x1cf20
movq 0x8(%rsp), %rax
movl $0x0, 0x1c(%rax)
movl 0x20(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x20(%rax)
cmpl $0x0, 0x10(%rax)
je 0x1cf1e
movq 0x8(%rsp), %rax
movl 0x20(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x20(%rax)
jmp 0x1cf20
jmp 0x1cf22
movq 0x8(%rsp), %rdi
callq 0x1cdf0
movq 0x8(%rsp), %rax
movq 0x28(%rax), %rax
addq $0x18, %rsp
retq
nopw (%rax,%rax)
// File: lukasz-wiecaszek[P]h264iframedecoder/picture_cabac.cpp
// Function: ymn::h264::picture_cabac::decode_mb_field_decoding_flag()
int picture_cabac::decode_mb_field_decoding_flag()
{
    const int ctxIdxOffset = 70;
    int ctxIdxInc = 0;
    mb* curr_mb = m_context_variables.curr_mb;

    ctxIdxInc += (curr_mb->A != nullptr) && (curr_mb->A->type & MB_TYPE_INTERLACED);
    ctxIdxInc += (curr_mb->B != nullptr) && (curr_mb->B->type & MB_TYPE_INTERLACED);

    return m_cabac_decoder.decode_decision(ctxIdxOffset + ctxIdxInc);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movl $0x46, 0x2c(%rsp)
movl $0x0, 0x28(%rsp)
movq 0x28(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x18(%rcx)
movb %al, 0x1f(%rsp)
je 0x1f189
movq 0x20(%rsp), %rax
movq 0x18(%rax), %rax
movl 0x10(%rax), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x0, %eax
setne %al
movb %al, 0x1f(%rsp)
movb 0x1f(%rsp), %al
andb $0x1, %al
movzbl %al, %eax
addl 0x28(%rsp), %eax
movl %eax, 0x28(%rsp)
movq 0x20(%rsp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x20(%rcx)
movb %al, 0xf(%rsp)
je 0x1f1c7
movq 0x20(%rsp), %rax
movq 0x20(%rax), %rax
movl 0x10(%rax), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x0, %eax
setne %al
movb %al, 0xf(%rsp)
movq 0x10(%rsp), %rdi
movb 0xf(%rsp), %al
andb $0x1, %al
movzbl %al, %eax
addl 0x28(%rsp), %eax
movl %eax, 0x28(%rsp)
addq $0xdc0, %rdi            # imm = 0xDC0
movl 0x28(%rsp), %esi
addl $0x46, %esi
callq 0x18cd0
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: lukasz-wiecaszek[P]h264iframedecoder/picture_cabac.cpp
// Function: ymn::h264::picture_cabac::get_predicted_intra_mode(int)
int picture_cabac::get_predicted_intra_mode(int idx)
{
    const int cache_idx = mb_cache_idx[idx];
    const int left = m_context_variables.intraNxN_pred_mode_cache[cache_idx - 1];
    const int top = m_context_variables.intraNxN_pred_mode_cache[cache_idx - 8];
    const int min = std::min(left, top);

    return min < 0 ? MB_INTRA_PRED_LUMA_NxN_DC : min;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movl %esi, 0x2c(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movslq 0x2c(%rsp), %rcx
leaq 0x921d(%rip), %rax      # 0x28ec0
movzbl (%rax,%rcx), %eax
movl %eax, 0x28(%rsp)
addq $0x18, %rdi
addq $0x40, %rdi
movl 0x28(%rsp), %eax
subl $0x1, %eax
movslq %eax, %rsi
callq 0x22380
movq 0x10(%rsp), %rdi
movzbl (%rax), %eax
movl %eax, 0x24(%rsp)
addq $0x18, %rdi
addq $0x40, %rdi
movl 0x28(%rsp), %eax
subl $0x8, %eax
movslq %eax, %rsi
callq 0x22380
movzbl (%rax), %eax
movl %eax, 0x20(%rsp)
leaq 0x24(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0x223b0
movl (%rax), %eax
movl %eax, 0x1c(%rsp)
cmpl $0x0, 0x1c(%rsp)
jge 0x1fd13
movl $0x2, %eax
movl %eax, 0xc(%rsp)
jmp 0x1fd1b
movl 0x1c(%rsp), %eax
movl %eax, 0xc(%rsp)
movl 0xc(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: lukasz-wiecaszek[P]h264iframedecoder/picture_cabac.cpp
// Function: ymn::h264::picture_cabac::get_intra4x4_pred_mode(int)
int picture_cabac::get_intra4x4_pred_mode(int pred_mode)
{
    if (decode_prev_intra4x4_pred_mode_flag())
        return pred_mode;

    int mode = decode_rem_intra4x4_pred_mode();

    return mode + (mode >= pred_mode);
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movl %esi, 0x14(%rsp)
movq 0x18(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x1fd90
cmpl $0x0, %eax
je 0x1fd5b
movl 0x14(%rsp), %eax
movl %eax, 0x24(%rsp)
jmp 0x1fd84
movq 0x8(%rsp), %rdi
callq 0x1fdd0
movl %eax, 0x10(%rsp)
movl 0x10(%rsp), %eax
movl 0x10(%rsp), %ecx
cmpl 0x14(%rsp), %ecx
setge %cl
andb $0x1, %cl
movzbl %cl, %ecx
addl %ecx, %eax
movl %eax, 0x24(%rsp)
movl 0x24(%rsp), %eax
addq $0x28, %rsp
retq
nopl (%rax)
// File: lukasz-wiecaszek[P]h264iframedecoder/picture_cabac.cpp
// Function: ymn::h264::picture_cabac::decode_rem_intra4x4_pred_mode()
int picture_cabac::decode_rem_intra4x4_pred_mode()
{
    const int ctxIdxOffset = 69;
    int mode = 0;
    int ctxIdxInc = 0;

    mode += 1 * m_cabac_decoder.decode_decision(ctxIdxOffset + ctxIdxInc);
    mode += 2 * m_cabac_decoder.decode_decision(ctxIdxOffset + ctxIdxInc);
    mode += 4 * m_cabac_decoder.decode_decision(ctxIdxOffset + ctxIdxInc);

    return mode;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movl $0x45, 0x1c(%rsp)
movl $0x0, 0x18(%rsp)
movl $0x0, 0x14(%rsp)
addq $0xdc0, %rdi            # imm = 0xDC0
movl 0x14(%rsp), %esi
addl $0x45, %esi
callq 0x18cd0
movq 0x8(%rsp), %rdi
shll $0x0, %eax
addl 0x18(%rsp), %eax
movl %eax, 0x18(%rsp)
addq $0xdc0, %rdi            # imm = 0xDC0
movl 0x14(%rsp), %esi
addl $0x45, %esi
callq 0x18cd0
movq 0x8(%rsp), %rdi
shll %eax
addl 0x18(%rsp), %eax
movl %eax, 0x18(%rsp)
addq $0xdc0, %rdi            # imm = 0xDC0
movl 0x14(%rsp), %esi
addl $0x45, %esi
callq 0x18cd0
shll $0x2, %eax
addl 0x18(%rsp), %eax
movl %eax, 0x18(%rsp)
movl 0x18(%rsp), %eax
addq $0x28, %rsp
retq
nopw (%rax,%rax)
// File: lukasz-wiecaszek[P]h264iframedecoder/picture_cabac.cpp
// Function: ymn::h264::picture_cabac::get_intra8x8_pred_mode(int)
int picture_cabac::get_intra8x8_pred_mode(int pred_mode)
{
    if (decode_prev_intra8x8_pred_mode_flag())
        return pred_mode;

    int mode = decode_rem_intra8x8_pred_mode();

    return mode + (mode >= pred_mode);
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movl %esi, 0x14(%rsp)
movq 0x18(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x1fed0
cmpl $0x0, %eax
je 0x1fe9b
movl 0x14(%rsp), %eax
movl %eax, 0x24(%rsp)
jmp 0x1fec4
movq 0x8(%rsp), %rdi
callq 0x1ff10
movl %eax, 0x10(%rsp)
movl 0x10(%rsp), %eax
movl 0x10(%rsp), %ecx
cmpl 0x14(%rsp), %ecx
setge %cl
andb $0x1, %cl
movzbl %cl, %ecx
addl %ecx, %eax
movl %eax, 0x24(%rsp)
movl 0x24(%rsp), %eax
addq $0x28, %rsp
retq
nopl (%rax)
// File: lukasz-wiecaszek[P]h264iframedecoder/picture_cabac.cpp
// Function: ymn::h264::picture_cabac::decode_mb_type_si_slice()
int picture_cabac::decode_mb_type_si_slice()
{
    const int ctxIdxOffset = 0;
    int ctxIdxInc = 0;
    mb* curr_mb = m_context_variables.curr_mb;

    ctxIdxInc += ((curr_mb->left != nullptr) && ((curr_mb->left->type & MB_TYPE_SWITCHING) == 0));
    ctxIdxInc += ((curr_mb->top != nullptr) && ((curr_mb->top->type & MB_TYPE_SWITCHING) == 0));

    if (m_cabac_decoder.decode_decision(ctxIdxOffset + ctxIdxInc) == 0)
        return 0; /* SI 4x4 */

    return 1 + decode_mb_type_i_slice();
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
movl $0x0, 0x24(%rsp)
movl $0x0, 0x20(%rsp)
movq 0x28(%rax), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x38(%rcx)
movb %al, 0x17(%rsp)
je 0x20979
movq 0x18(%rsp), %rax
movq 0x38(%rax), %rax
movl 0x10(%rax), %eax
andl $0x100000, %eax         # imm = 0x100000
cmpl $0x0, %eax
sete %al
movb %al, 0x17(%rsp)
movb 0x17(%rsp), %al
andb $0x1, %al
movzbl %al, %eax
addl 0x20(%rsp), %eax
movl %eax, 0x20(%rsp)
movq 0x18(%rsp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x50(%rcx)
movb %al, 0x7(%rsp)
je 0x209b7
movq 0x18(%rsp), %rax
movq 0x50(%rax), %rax
movl 0x10(%rax), %eax
andl $0x100000, %eax         # imm = 0x100000
cmpl $0x0, %eax
sete %al
movb %al, 0x7(%rsp)
movq 0x8(%rsp), %rdi
movb 0x7(%rsp), %al
andb $0x1, %al
movzbl %al, %eax
addl 0x20(%rsp), %eax
movl %eax, 0x20(%rsp)
addq $0xdc0, %rdi            # imm = 0xDC0
movl 0x20(%rsp), %esi
addl $0x0, %esi
callq 0x18cd0
cmpl $0x0, %eax
jne 0x209ef
movl $0x0, 0x34(%rsp)
jmp 0x20a00
movq 0x8(%rsp), %rdi
callq 0x20a10
addl $0x1, %eax
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopl (%rax)
// File: lukasz-wiecaszek[P]h264iframedecoder/picture_cabac.cpp
// Function: ymn::h264::picture_cabac::decode_mb_type_i_slice()
int picture_cabac::decode_mb_type_i_slice()
{
    const int ctxIdxOffset = 3;
    int ctxIdxInc = 0;
    mb* curr_mb = m_context_variables.curr_mb;

    ctxIdxInc += ((curr_mb->left != nullptr) && ((curr_mb->left->type & MB_TYPE_INTRA_NxN) == 0));
    ctxIdxInc += ((curr_mb->top != nullptr) && ((curr_mb->top->type & MB_TYPE_INTRA_NxN) == 0));

    if (m_cabac_decoder.decode_decision(ctxIdxOffset + ctxIdxInc) == 0)
        return 0; /* I 4x4 */

    if (m_cabac_decoder.decode_terminate() == 1)
        return 25; /* PCM */

    int mb_type = 1; /* I16x16 */

    mb_type += 12 * m_cabac_decoder.decode_decision(ctxIdxOffset + 3); /* cbp_luma */
    if (m_cabac_decoder.decode_decision(ctxIdxOffset + 4)) /* cbp_chroma */
        mb_type += 4 + 4 * m_cabac_decoder.decode_decision(ctxIdxOffset + 5);

    mb_type += 2 * m_cabac_decoder.decode_decision(ctxIdxOffset + 6);
    mb_type += 1 * m_cabac_decoder.decode_decision(ctxIdxOffset + 7);

    return mb_type;

}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
movl $0x3, 0x24(%rsp)
movl $0x0, 0x20(%rsp)
movq 0x28(%rax), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x38(%rcx)
movb %al, 0x13(%rsp)
je 0x20a67
movq 0x18(%rsp), %rax
movq 0x38(%rax), %rax
movl 0x10(%rax), %eax
andl $0x3, %eax
cmpl $0x0, %eax
sete %al
movb %al, 0x13(%rsp)
movb 0x13(%rsp), %al
andb $0x1, %al
movzbl %al, %eax
addl 0x20(%rsp), %eax
movl %eax, 0x20(%rsp)
movq 0x18(%rsp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x50(%rcx)
movb %al, 0x7(%rsp)
je 0x20aa3
movq 0x18(%rsp), %rax
movq 0x50(%rax), %rax
movl 0x10(%rax), %eax
andl $0x3, %eax
cmpl $0x0, %eax
sete %al
movb %al, 0x7(%rsp)
movq 0x8(%rsp), %rdi
movb 0x7(%rsp), %al
andb $0x1, %al
movzbl %al, %eax
addl 0x20(%rsp), %eax
movl %eax, 0x20(%rsp)
addq $0xdc0, %rdi            # imm = 0xDC0
movl 0x20(%rsp), %esi
addl $0x3, %esi
callq 0x18cd0
cmpl $0x0, %eax
jne 0x20ade
movl $0x0, 0x34(%rsp)
jmp 0x20bb2
movq 0x8(%rsp), %rdi
addq $0xdc0, %rdi            # imm = 0xDC0
callq 0x18c20
cmpl $0x1, %eax
jne 0x20b01
movl $0x19, 0x34(%rsp)
jmp 0x20bb2
movq 0x8(%rsp), %rdi
movl $0x1, 0x14(%rsp)
addq $0xdc0, %rdi            # imm = 0xDC0
movl $0x6, %esi
callq 0x18cd0
movq 0x8(%rsp), %rdi
imull $0xc, %eax, %eax
addl 0x14(%rsp), %eax
movl %eax, 0x14(%rsp)
addq $0xdc0, %rdi            # imm = 0xDC0
movl $0x7, %esi
callq 0x18cd0
cmpl $0x0, %eax
je 0x20b69
movq 0x8(%rsp), %rdi
addq $0xdc0, %rdi            # imm = 0xDC0
movl $0x8, %esi
callq 0x18cd0
shll $0x2, %eax
addl $0x4, %eax
addl 0x14(%rsp), %eax
movl %eax, 0x14(%rsp)
movq 0x8(%rsp), %rdi
addq $0xdc0, %rdi            # imm = 0xDC0
movl $0x9, %esi
callq 0x18cd0
movq 0x8(%rsp), %rdi
shll %eax
addl 0x14(%rsp), %eax
movl %eax, 0x14(%rsp)
addq $0xdc0, %rdi            # imm = 0xDC0
movl $0xa, %esi
callq 0x18cd0
shll $0x0, %eax
addl 0x14(%rsp), %eax
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopl (%rax,%rax)
// File: lukasz-wiecaszek[P]h264iframedecoder/picture_cabac.cpp
// Function: ymn::h264::picture_cabac::decode_transform_size_8x8_flag()
int picture_cabac::decode_transform_size_8x8_flag()
{
    const int ctxIdxOffset = 399;
    int ctxIdxInc = 0;
    mb* curr_mb = m_context_variables.curr_mb;

    ctxIdxInc += (curr_mb->A != nullptr) && (MB_IS_INTRA_8x8(curr_mb->A->type));
    ctxIdxInc += (curr_mb->B != nullptr) && (MB_IS_INTRA_8x8(curr_mb->B->type));

    return m_cabac_decoder.decode_decision(ctxIdxOffset + ctxIdxInc);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movl $0x18f, 0x2c(%rsp)      # imm = 0x18F
movl $0x0, 0x28(%rsp)
movq 0x28(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x18(%rcx)
movb %al, 0x1f(%rsp)
je 0x20c17
movq 0x20(%rsp), %rax
movq 0x18(%rax), %rax
movl 0x10(%rax), %eax
andl $0x3, %eax
cmpl $0x2, %eax
sete %al
movb %al, 0x1f(%rsp)
movb 0x1f(%rsp), %al
andb $0x1, %al
movzbl %al, %eax
addl 0x28(%rsp), %eax
movl %eax, 0x28(%rsp)
movq 0x20(%rsp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x20(%rcx)
movb %al, 0xf(%rsp)
je 0x20c53
movq 0x20(%rsp), %rax
movq 0x20(%rax), %rax
movl 0x10(%rax), %eax
andl $0x3, %eax
cmpl $0x2, %eax
sete %al
movb %al, 0xf(%rsp)
movq 0x10(%rsp), %rdi
movb 0xf(%rsp), %al
andb $0x1, %al
movzbl %al, %eax
addl 0x28(%rsp), %eax
movl %eax, 0x28(%rsp)
addq $0xdc0, %rdi            # imm = 0xDC0
movl 0x28(%rsp), %esi
addl $0x18f, %esi            # imm = 0x18F
callq 0x18cd0
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: lukasz-wiecaszek[P]h264iframedecoder/picture_cabac.cpp
// Function: ymn::h264::picture_cabac::decode_cbp_chroma()
int picture_cabac::decode_cbp_chroma()
{
    const int ctxIdxOffset = 77;
    int cbp_a, cbp_b;
    int ctxIdxInc = 0;
    mb* curr_mb = m_context_variables.curr_mb;

    if (curr_mb->left)
        cbp_a = curr_mb->left->cbp_chroma & 0x03;
    else
        cbp_a = 0;

    if (curr_mb->top)
        cbp_b = curr_mb->top->cbp_chroma & 0x03;
    else
        cbp_b = 0;

    ctxIdxInc = 0;
    if (cbp_a > 0)
        ctxIdxInc++;
    if (cbp_b > 0)
        ctxIdxInc += 2;
    if (m_cabac_decoder.decode_decision(ctxIdxOffset + ctxIdxInc) == 0)
        return 0;

    ctxIdxInc = 4;
    if (cbp_a == 2)
        ctxIdxInc++;
    if (cbp_b == 2)
        ctxIdxInc += 2;
    return 1 + m_cabac_decoder.decode_decision(ctxIdxOffset + ctxIdxInc);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
movl $0x4d, 0x24(%rsp)
movl $0x0, 0x18(%rsp)
movq 0x28(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
cmpq $0x0, 0x38(%rax)
je 0x20efd
movq 0x10(%rsp), %rax
movq 0x38(%rax), %rax
movl 0x70(%rax), %eax
andl $0x3, %eax
movl %eax, 0x20(%rsp)
jmp 0x20f05
movl $0x0, 0x20(%rsp)
movq 0x10(%rsp), %rax
cmpq $0x0, 0x50(%rax)
je 0x20f26
movq 0x10(%rsp), %rax
movq 0x50(%rax), %rax
movl 0x70(%rax), %eax
andl $0x3, %eax
movl %eax, 0x1c(%rsp)
jmp 0x20f2e
movl $0x0, 0x1c(%rsp)
movl $0x0, 0x18(%rsp)
cmpl $0x0, 0x20(%rsp)
jle 0x20f48
movl 0x18(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x18(%rsp)
cmpl $0x0, 0x1c(%rsp)
jle 0x20f5a
movl 0x18(%rsp), %eax
addl $0x2, %eax
movl %eax, 0x18(%rsp)
movq 0x8(%rsp), %rdi
addq $0xdc0, %rdi            # imm = 0xDC0
movl 0x18(%rsp), %esi
addl $0x4d, %esi
callq 0x18cd0
cmpl $0x0, %eax
jne 0x20f81
movl $0x0, 0x34(%rsp)
jmp 0x20fcc
movl $0x4, 0x18(%rsp)
cmpl $0x2, 0x20(%rsp)
jne 0x20f9b
movl 0x18(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x18(%rsp)
cmpl $0x2, 0x1c(%rsp)
jne 0x20fad
movl 0x18(%rsp), %eax
addl $0x2, %eax
movl %eax, 0x18(%rsp)
movq 0x8(%rsp), %rdi
addq $0xdc0, %rdi            # imm = 0xDC0
movl 0x18(%rsp), %esi
addl $0x4d, %esi
callq 0x18cd0
addl $0x1, %eax
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: lukasz-wiecaszek[P]h264iframedecoder/picture_cabac.cpp
// Function: ymn::h264::picture_cabac::decode_mb_qp_delta()
int picture_cabac::decode_mb_qp_delta()
{
    const int ctxIdxOffset = 60;
    int qp_delta = 0;
    int ctxIdxInc;

    ctxIdxInc = (m_context_variables.lastQPdelta != 0) ? 1 : 0;
    if (m_cabac_decoder.decode_decision(ctxIdxOffset + ctxIdxInc)) {
        ctxIdxInc = 2;
        qp_delta = 1;
        while (m_cabac_decoder.decode_decision(ctxIdxOffset + ctxIdxInc)) {
            ctxIdxInc = 3;
            qp_delta++;
        }

        /* Table 9-3 Assignment of syntax element to codeNum for signed Exp-Golomb coded syntax elements se(v) */
        if (qp_delta & 0x01)
            qp_delta =  ((qp_delta + 1) >> 1);
        else
            qp_delta = -((qp_delta + 1) >> 1);
    }

    return qp_delta;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movl $0x3c, 0x1c(%rsp)
movl $0x0, 0x18(%rsp)
movl 0x30(%rdi), %edx
xorl %eax, %eax
movl $0x1, %ecx
cmpl $0x0, %edx
cmovnel %ecx, %eax
movl %eax, 0x14(%rsp)
addq $0xdc0, %rdi            # imm = 0xDC0
movl 0x14(%rsp), %esi
addl $0x3c, %esi
callq 0x18cd0
cmpl $0x0, %eax
je 0x2109f
movl $0x2, 0x14(%rsp)
movl $0x1, 0x18(%rsp)
movq 0x8(%rsp), %rdi
addq $0xdc0, %rdi            # imm = 0xDC0
movl 0x14(%rsp), %esi
addl $0x3c, %esi
callq 0x18cd0
cmpl $0x0, %eax
je 0x21071
movl $0x3, 0x14(%rsp)
movl 0x18(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x18(%rsp)
jmp 0x2103f
movl 0x18(%rsp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x2108c
movl 0x18(%rsp), %eax
addl $0x1, %eax
sarl %eax
movl %eax, 0x18(%rsp)
jmp 0x2109d
movl 0x18(%rsp), %ecx
addl $0x1, %ecx
sarl %ecx
xorl %eax, %eax
subl %ecx, %eax
movl %eax, 0x18(%rsp)
jmp 0x2109f
movl 0x18(%rsp), %eax
addq $0x28, %rsp
retq
nopl (%rax,%rax)
// File: lukasz-wiecaszek[P]h264iframedecoder/picture_cabac.cpp
// Function: ymn::h264::picture_cabac::decode_intra_chroma_pred_mode()
int picture_cabac::decode_intra_chroma_pred_mode()
{
    const int ctxIdxOffset = 64;
    int ctxIdxInc = 0;
    mb* curr_mb = m_context_variables.curr_mb;

    /* No need to test for MB_IS_INTRA_NxN and MB_IS_INTRA_16x16,
       as intra_chroma_pred_mode shall be set to 0 for those macroblocks */

    ctxIdxInc += (curr_mb->left != nullptr) && (curr_mb->left->intra_chroma_pred_mode != 0);
    ctxIdxInc += (curr_mb->top != nullptr) && (curr_mb->top->intra_chroma_pred_mode != 0);

    if (m_cabac_decoder.decode_decision(ctxIdxOffset + ctxIdxInc) == 0)
        return 0;

    ctxIdxInc = 3;

    if (m_cabac_decoder.decode_decision(ctxIdxOffset + ctxIdxInc) == 0)
        return 1;

    if (m_cabac_decoder.decode_decision(ctxIdxOffset + ctxIdxInc) == 0)
        return 2;
    else
        return 3;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
movl $0x40, 0x24(%rsp)
movl $0x0, 0x20(%rsp)
movq 0x28(%rax), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x38(%rcx)
movb %al, 0x17(%rsp)
je 0x21105
movq 0x18(%rsp), %rax
movq 0x38(%rax), %rax
movzbl 0x68(%rax), %eax
cmpl $0x0, %eax
setne %al
movb %al, 0x17(%rsp)
movb 0x17(%rsp), %al
andb $0x1, %al
movzbl %al, %eax
addl 0x20(%rsp), %eax
movl %eax, 0x20(%rsp)
movq 0x18(%rsp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x50(%rcx)
movb %al, 0x7(%rsp)
je 0x2113f
movq 0x18(%rsp), %rax
movq 0x50(%rax), %rax
movzbl 0x68(%rax), %eax
cmpl $0x0, %eax
setne %al
movb %al, 0x7(%rsp)
movq 0x8(%rsp), %rdi
movb 0x7(%rsp), %al
andb $0x1, %al
movzbl %al, %eax
addl 0x20(%rsp), %eax
movl %eax, 0x20(%rsp)
addq $0xdc0, %rdi            # imm = 0xDC0
movl 0x20(%rsp), %esi
addl $0x40, %esi
callq 0x18cd0
cmpl $0x0, %eax
jne 0x21177
movl $0x0, 0x34(%rsp)
jmp 0x211d5
movq 0x8(%rsp), %rdi
movl $0x3, 0x20(%rsp)
addq $0xdc0, %rdi            # imm = 0xDC0
movl 0x20(%rsp), %esi
addl $0x40, %esi
callq 0x18cd0
cmpl $0x0, %eax
jne 0x211a6
movl $0x1, 0x34(%rsp)
jmp 0x211d5
movq 0x8(%rsp), %rdi
addq $0xdc0, %rdi            # imm = 0xDC0
movl 0x20(%rsp), %esi
addl $0x40, %esi
callq 0x18cd0
cmpl $0x0, %eax
jne 0x211cd
movl $0x2, 0x34(%rsp)
jmp 0x211d5
movl $0x3, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nop
// File: lukasz-wiecaszek[P]h264iframedecoder/picture_cabac.cpp
// Function: ymn::h264::picture_cabac::decode_residual_dc(int*, ymn::h264::ctx_block_cat_e, int, unsigned char const*, int)
void picture_cabac::decode_residual_dc(dctcoeff* block,
                                       const enum ctx_block_cat_e ctxBlockCat,
                                       const int idx,
                                       const uint8_t* scantable,
                                       const int max_coeff)
{
    if (decode_coded_block_flag(ctxBlockCat, idx))
        decode_residual_block(block, ctxBlockCat, idx, scantable, max_coeff);
    else {
        mb_cache& nzc_cache = m_context_variables.non_zero_count_cache[idx - 16 * CC_MAX];
        nzc_cache[0] = 0;
    }
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movl %edx, 0x24(%rsp)
movl %ecx, 0x20(%rsp)
movq %r8, 0x18(%rsp)
movl %r9d, 0x14(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, (%rsp)
movl 0x24(%rsp), %esi
movl 0x20(%rsp), %edx
callq 0x211e0
cmpl $0x0, %eax
je 0x218fd
movq (%rsp), %rdi
movq 0x28(%rsp), %rsi
movl 0x24(%rsp), %edx
movl 0x20(%rsp), %ecx
movq 0x18(%rsp), %r8
movl 0x14(%rsp), %r9d
callq 0x21440
jmp 0x21930
movq (%rsp), %rax
addq $0x18, %rax
addq $0x68, %rax
movl 0x20(%rsp), %ecx
subl $0x30, %ecx
movslq %ecx, %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x22380
movb $0x0, (%rax)
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: lukasz-wiecaszek[P]h264iframedecoder/picture_cabac.cpp
// Function: ymn::h264::picture_cabac::decode_residual_ac(int*, ymn::h264::ctx_block_cat_e, int, unsigned char const*, int)
void picture_cabac::decode_residual_ac(dctcoeff* block,
                                       const enum ctx_block_cat_e ctxBlockCat,
                                       const int idx,
                                       const uint8_t* scantable,
                                       const int max_coeff)
{
    if (max_coeff != 64 || m_context_variables.chroma_array_type == 3) {
        if (decode_coded_block_flag(ctxBlockCat, idx))
            decode_residual_block(block, ctxBlockCat, idx, scantable, max_coeff);
        else {
            mb_cache& nzc_cache = m_context_variables.non_zero_count_cache[idx / 16];
            const int cache_idx = mb_cache_idx[idx % 16];
            if (max_coeff == 64)
                mb_cache_fill_rectangle_2x2(nzc_cache, cache_idx, 0);
            else
                nzc_cache[cache_idx] = 0;
        }
    }
    else {
        /* When coded_block_flag is not present, it shall be inferred to be equal to 1. */
        decode_residual_block(block, ctxBlockCat, idx, scantable, max_coeff);
    }
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movl %edx, 0x34(%rsp)
movl %ecx, 0x30(%rsp)
movq %r8, 0x28(%rsp)
movl %r9d, 0x24(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x8(%rsp)
cmpl $0x40, 0x24(%rsp)
jne 0x21980
movq 0x8(%rsp), %rax
cmpl $0x3, 0x40(%rax)
jne 0x21a39
movq 0x8(%rsp), %rdi
movl 0x34(%rsp), %esi
movl 0x30(%rsp), %edx
callq 0x211e0
cmpl $0x0, %eax
je 0x219ba
movq 0x8(%rsp), %rdi
movq 0x38(%rsp), %rsi
movl 0x34(%rsp), %edx
movl 0x30(%rsp), %ecx
movq 0x28(%rsp), %r8
movl 0x24(%rsp), %r9d
callq 0x21440
jmp 0x21a37
movq 0x8(%rsp), %rax
addq $0x18, %rax
addq $0x68, %rax
movq %rax, (%rsp)
movl 0x30(%rsp), %eax
movl $0x10, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movq (%rsp), %rax
movslq %ecx, %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq %rax, 0x18(%rsp)
movl 0x30(%rsp), %eax
movl $0x10, %ecx
cltd
idivl %ecx
movslq %edx, %rcx
leaq 0x74be(%rip), %rax      # 0x28ec0
movzbl (%rax,%rcx), %eax
movl %eax, 0x14(%rsp)
cmpl $0x40, 0x24(%rsp)
jne 0x21a23
movq 0x18(%rsp), %rdi
movl 0x14(%rsp), %esi
xorl %edx, %edx
callq 0x22420
jmp 0x21a35
movq 0x18(%rsp), %rdi
movslq 0x14(%rsp), %rsi
callq 0x22380
movb $0x0, (%rax)
jmp 0x21a37
jmp 0x21a5a
movq 0x8(%rsp), %rdi
movq 0x38(%rsp), %rsi
movl 0x34(%rsp), %edx
movl 0x30(%rsp), %ecx
movq 0x28(%rsp), %r8
movl 0x24(%rsp), %r9d
callq 0x21440
addq $0x48, %rsp
retq
nop
// File: lukasz-wiecaszek[P]h264iframedecoder/./mb_cache.hpp
// Function: ymn::h264::mb_cache_fill_rectangle_2x2(std::array<unsigned char, 40ul>&, int, unsigned char)
inline void mb_cache_fill_rectangle_2x2(mb_cache& cache, int offset, uint8_t pattern)
{
    const uint16_t v = pattern * 0x0101U;
    uint8_t *p = &cache[offset];

    DEREFERENCE(uint16_t, p + 0 * MB_CACHE_COLUMNS) = v;
    DEREFERENCE(uint16_t, p + 1 * MB_CACHE_COLUMNS) = v;
}

// Assembly:
subq $0x18, %rsp
movb %dl, %al
movq %rdi, 0x10(%rsp)
movl %esi, 0xc(%rsp)
movb %al, 0xb(%rsp)
movzbl 0xb(%rsp), %eax
imull $0x101, %eax, %eax      # imm = 0x101
movw %ax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movslq 0xc(%rsp), %rsi
callq 0x22380
movq %rax, (%rsp)
movw 0x8(%rsp), %cx
movq (%rsp), %rax
movw %cx, (%rax)
movw 0x8(%rsp), %cx
movq (%rsp), %rax
movw %cx, 0x8(%rax)
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
nop
// File: lukasz-wiecaszek[P]h264iframedecoder/./mb_cache.hpp
// Function: ymn::h264::mb_cache_fill_rectangle_4x4(std::array<unsigned char, 40ul>&, int, unsigned char)
inline void mb_cache_fill_rectangle_4x4(mb_cache& cache, int offset, uint8_t pattern)
{
    const uint32_t v = pattern * 0x01010101U;
    uint8_t *p = &cache[offset];

    DEREFERENCE(uint32_t, p + 0 * MB_CACHE_COLUMNS) = v;
    DEREFERENCE(uint32_t, p + 1 * MB_CACHE_COLUMNS) = v;
    DEREFERENCE(uint32_t, p + 2 * MB_CACHE_COLUMNS) = v;
    DEREFERENCE(uint32_t, p + 3 * MB_CACHE_COLUMNS) = v;
}

// Assembly:
subq $0x28, %rsp
movb %dl, %al
movq %rdi, 0x20(%rsp)
movl %esi, 0x1c(%rsp)
movb %al, 0x1b(%rsp)
movzbl 0x1b(%rsp), %eax
imull $0x1010101, %eax, %eax  # imm = 0x1010101
movl %eax, 0x14(%rsp)
movq 0x20(%rsp), %rdi
movslq 0x1c(%rsp), %rsi
callq 0x22380
movq %rax, 0x8(%rsp)
movl 0x14(%rsp), %ecx
movq 0x8(%rsp), %rax
movl %ecx, (%rax)
movl 0x14(%rsp), %ecx
movq 0x8(%rsp), %rax
movl %ecx, 0x8(%rax)
movl 0x14(%rsp), %ecx
movq 0x8(%rsp), %rax
movl %ecx, 0x10(%rax)
movl 0x14(%rsp), %ecx
movq 0x8(%rsp), %rax
movl %ecx, 0x18(%rax)
addq $0x28, %rsp
retq
nopw (%rax,%rax)
// File: btbujiangjun[P]abcdl/src/cnn/Layer.cpp
// Function: abcdl::cnn::SubSamplingLayer::initialize(abcdl::cnn::Layer*)
void SubSamplingLayer::initialize(Layer* pre_layer){
    CHECK(pre_layer->get_rows() % _scale == 0 && pre_layer->get_cols() % _scale == 0);
	
    this->_rows = pre_layer->get_rows() / _scale;
    this->_cols = pre_layer->get_cols() / _scale;

    //can't change out_channel_size.
    this->_in_channel_size = this->_out_channel_size = pre_layer->get_out_channel_size();

    this->_deltas.reserve(this->_out_channel_size);
    for(size_t i = 0; i != this->_out_channel_size; i++){
        this->_deltas.push_back(new abcdl::algebra::Mat());
        this->_activations.push_back(new abcdl::algebra::Mat());
    }
}

// Assembly:
subq $0x1f8, %rsp            # imm = 0x1F8
movq %rdi, 0x1f0(%rsp)
movq %rsi, 0x1e8(%rsp)
movq 0x1f0(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x1e8(%rsp), %rdi
callq 0x29930
movq 0x28(%rsp), %rcx
xorl %edx, %edx
divq 0xd0(%rcx)
xorl %eax, %eax
cmpq $0x0, %rdx
movb %al, 0x37(%rsp)
jne 0x279a1
movq 0x1e8(%rsp), %rdi
callq 0x29940
movq 0x28(%rsp), %rcx
xorl %edx, %edx
divq 0xd0(%rcx)
cmpq $0x0, %rdx
sete %al
movb %al, 0x37(%rsp)
movb 0x37(%rsp), %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x279ad
jmp 0x27a09
leaq 0x653b4(%rip), %rsi     # 0x8cd68
leaq 0x60(%rsp), %rdi
movq %rdi, 0x20(%rsp)
movl $0xf, %edx
movl $0x3, %ecx
callq 0x86270
movq 0x20(%rsp), %rdi
leaq 0x653a1(%rip), %rsi     # 0x8cd7a
callq 0x29950
jmp 0x279e0
leaq 0x60(%rsp), %rdi
callq 0x86630
jmp 0x27a09
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
leaq 0x60(%rsp), %rdi
callq 0x86630
jmp 0x27b79
movq 0x1e8(%rsp), %rdi
callq 0x29930
movq 0x28(%rsp), %rcx
xorl %edx, %edx
divq 0xd0(%rcx)
movq %rax, %rcx
movq 0x28(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x1e8(%rsp), %rdi
callq 0x29940
movq 0x28(%rsp), %rcx
xorl %edx, %edx
divq 0xd0(%rcx)
movq %rax, %rcx
movq 0x28(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x1e8(%rsp), %rdi
callq 0x29980
movq %rax, %rcx
movq 0x28(%rsp), %rax
movq %rcx, 0x20(%rax)
movq %rcx, 0x18(%rax)
movq %rax, %rdi
addq $0xb8, %rdi
movq 0x20(%rax), %rsi
callq 0x29990
movq $0x0, 0x48(%rsp)
movq 0x28(%rsp), %rcx
movq 0x48(%rsp), %rax
cmpq 0x20(%rcx), %rax
je 0x27b71
movq 0x28(%rsp), %rax
addq $0xb8, %rax
movq %rax, 0x10(%rsp)
movl $0x28, %edi
callq 0x93a0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x18(%rsp)
callq 0x30500
jmp 0x27ad0
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rax
movq %rax, 0x40(%rsp)
leaq 0x40(%rsp), %rsi
callq 0x178b0
movq 0x28(%rsp), %rax
addq $0x60, %rax
movq %rax, (%rsp)
movl $0x28, %edi
callq 0x93a0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x8(%rsp)
callq 0x30500
jmp 0x27b12
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
movq %rax, 0x38(%rsp)
leaq 0x38(%rsp), %rsi
callq 0x178b0
movq 0x48(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x48(%rsp)
jmp 0x27a90
movq 0x18(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
callq 0x9380
jmp 0x27b79
movq 0x8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
callq 0x9380
jmp 0x27b79
addq $0x1f8, %rsp            # imm = 0x1F8
retq
movq 0x58(%rsp), %rdi
callq 0x95d0
nopw %cs:(%rax,%rax)
// File: btbujiangjun[P]abcdl/src/cnn/Layer.cpp
// Function: abcdl::cnn::SubSamplingLayer::forward(abcdl::cnn::Layer*)
void SubSamplingLayer::forward(Layer* pre_layer){
	abcdl::algebra::Mat activation;
    for(size_t i = 0; i != this->_out_channel_size; i++){
        _pooling->pool(activation, pre_layer->get_activation(i), this->_rows, this->_cols, this->_scale);
        this->set_activation(i, activation);
    }
}

// Assembly:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x30500
movq $0x0, 0x28(%rsp)
movq 0x10(%rsp), %rcx
movq 0x28(%rsp), %rax
cmpq 0x20(%rcx), %rax
je 0x27c67
movq 0x10(%rsp), %rax
movq 0xd8(%rax), %rax
movq %rax, (%rsp)
movq 0x58(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x29aa0
movq %rax, 0x8(%rsp)
jmp 0x27bf5
movq 0x8(%rsp), %rdx
movq (%rsp), %rdi
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rcx
movq 0x10(%rax), %r8
movq 0xd0(%rax), %r9
movq (%rdi), %rax
movq 0x10(%rax), %rax
leaq 0x30(%rsp), %rsi
callq *%rax
jmp 0x27c22
movq 0x10(%rsp), %rdi
movq 0x28(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x29b80
jmp 0x27c38
jmp 0x27c3a
movq 0x28(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x28(%rsp)
jmp 0x27bbb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x20(%rsp)
movl %eax, 0x1c(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x30940
jmp 0x27c76
leaq 0x30(%rsp), %rdi
callq 0x30940
addq $0x68, %rsp
retq
movq 0x20(%rsp), %rdi
callq 0x95d0
// File: btbujiangjun[P]abcdl/src/cnn/Layer.cpp
// Function: abcdl::cnn::ConvolutionLayer::forward(abcdl::cnn::Layer*)
void ConvolutionLayer::forward(Layer* pre_layer){
    for(size_t i = 0; i != this->_out_channel_size; i++){
        abcdl::algebra::Mat activation;
        abcdl::algebra::Mat pre_activation;
        for(size_t j = 0; j != pre_layer->get_out_channel_size(); j++){
            pre_activation = pre_layer->get_activation(j);
            pre_activation.convn(this->get_weight(j, i), _stride, abcdl::algebra::VALID);
            activation += pre_activation;//sum all channels of pre_layer
        }
        //add shared bias of channel in current layer.
        activation += this->_bias->get_data(i, 0);

        _activate_func->activate(activation, activation);
        this->set_activation(i, activation);
    }
}

// Assembly:
subq $0xb8, %rsp
movq %rdi, 0xb0(%rsp)
movq %rsi, 0xa8(%rsp)
movq 0xb0(%rsp), %rax
movq %rax, 0x30(%rsp)
movq $0x0, 0xa0(%rsp)
movq 0x30(%rsp), %rcx
movq 0xa0(%rsp), %rax
cmpq 0x20(%rcx), %rax
je 0x287ca
leaq 0x78(%rsp), %rdi
callq 0x30500
leaq 0x50(%rsp), %rdi
callq 0x30500
jmp 0x2862d
movq $0x0, 0x38(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0xa8(%rsp), %rdi
callq 0x29980
movq %rax, 0x28(%rsp)
jmp 0x28654
movq 0x20(%rsp), %rax
movq 0x28(%rsp), %rcx
cmpq %rcx, %rax
je 0x28727
movq 0xa8(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0x29aa0
movq %rax, 0x18(%rsp)
jmp 0x28680
movq 0x18(%rsp), %rsi
leaq 0x50(%rsp), %rdi
callq 0x3f350
jmp 0x28691
movq 0x30(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0xa0(%rsp), %rdx
callq 0x29e50
movq %rax, 0x10(%rsp)
jmp 0x286af
movq 0x10(%rsp), %rsi
movq 0x30(%rsp), %rax
movq 0xd0(%rax), %rdx
leaq 0x50(%rsp), %rdi
movl $0x1, %ecx
callq 0x59c30
jmp 0x286d1
leaq 0x78(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x3fc60
jmp 0x286e2
jmp 0x286e4
movq 0x38(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x38(%rsp)
jmp 0x28636
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x48(%rsp)
movl %eax, 0x44(%rsp)
jmp 0x287be
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x48(%rsp)
movl %eax, 0x44(%rsp)
leaq 0x50(%rsp), %rdi
callq 0x30940
jmp 0x287be
movq 0x30(%rsp), %rax
movq 0x58(%rax), %rdi
movq 0xa0(%rsp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq 0x2a0c0
movq %rax, 0x8(%rsp)
jmp 0x28748
movq 0x8(%rsp), %rsi
leaq 0x78(%rsp), %rdi
callq 0x3fb20
jmp 0x28759
movq 0x30(%rsp), %rax
movq 0xe0(%rax), %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
leaq 0x78(%rsp), %rdx
movq %rdx, %rsi
callq *%rax
jmp 0x28778
movq 0x30(%rsp), %rdi
movq 0xa0(%rsp), %rsi
leaq 0x78(%rsp), %rdx
callq 0x29b80
jmp 0x28791
leaq 0x50(%rsp), %rdi
callq 0x30940
leaq 0x78(%rsp), %rdi
callq 0x30940
movq 0xa0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xa0(%rsp)
jmp 0x28600
leaq 0x78(%rsp), %rdi
callq 0x30940
jmp 0x287d2
addq $0xb8, %rsp
retq
movq 0x48(%rsp), %rdi
callq 0x95d0
nopl (%rax)
// File: btbujiangjun[P]abcdl/src/cnn/Layer.cpp
// Function: abcdl::cnn::OutputLayer::forward(abcdl::cnn::Layer*)
void OutputLayer::forward(Layer* pre_layer){
    //concatenate pre_layer's all channel mat into array
	size_t size = pre_layer->get_rows() * pre_layer->get_cols() * this->_in_channel_size;
    real* data = new real[size];
    size_t idx = 0;
    for(size_t i = 0; i != this->_in_channel_size; i++){
        size_t activation_size = pre_layer->get_activation(i).get_size();
        memcpy(&data[idx], pre_layer->get_activation(i).data(), sizeof(real) * activation_size);
        idx += activation_size;
    }

    _pre_activation_array.set_shallow_data(data, size, 1);

    auto activation = _helper.dot(this->get_weight(0, 0), _pre_activation_array) + (*this->_bias);
    _activate_func->activate(activation, activation);
    this->set_activation(0, activation);
}

// Assembly:
subq $0xc8, %rsp
movq %rdi, 0xc0(%rsp)
movq %rsi, 0xb8(%rsp)
movq 0xc0(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0xb8(%rsp), %rdi
callq 0x29930
movq %rax, 0x28(%rsp)
movq 0xb8(%rsp), %rdi
callq 0x29940
movq 0x20(%rsp), %rcx
movq %rax, %rdx
movq 0x28(%rsp), %rax
imulq %rdx, %rax
imulq 0x18(%rcx), %rax
movq %rax, 0xb0(%rsp)
movq 0xb0(%rsp), %rax
movl $0x4, %ecx
mulq %rcx
movq %rax, %rdi
seto %cl
movq $-0x1, %rax
testb $0x1, %cl
cmovneq %rax, %rdi
callq 0x9030
movq %rax, 0xa8(%rsp)
movq $0x0, 0xa0(%rsp)
movq $0x0, 0x98(%rsp)
movq 0x20(%rsp), %rcx
movq 0x98(%rsp), %rax
cmpq 0x18(%rcx), %rax
je 0x29389
movq 0xb8(%rsp), %rdi
movq 0x98(%rsp), %rsi
callq 0x29aa0
movq %rax, %rdi
callq 0x2a510
movq %rax, 0x90(%rsp)
movq 0xa8(%rsp), %rax
movq 0xa0(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, 0x18(%rsp)
movq 0xb8(%rsp), %rdi
movq 0x98(%rsp), %rsi
callq 0x29aa0
movq %rax, %rdi
callq 0x26c60
movq 0x18(%rsp), %rdi
movq %rax, %rsi
movq 0x90(%rsp), %rdx
shlq $0x2, %rdx
callq 0x92e0
movq 0x90(%rsp), %rax
addq 0xa0(%rsp), %rax
movq %rax, 0xa0(%rsp)
movq 0x98(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x98(%rsp)
jmp 0x292ca
movq 0x20(%rsp), %rdi
addq $0x100, %rdi            # imm = 0x100
movq %rdi, 0x8(%rsp)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
movl $0x1, %ecx
callq 0x30ce0
movq 0x20(%rsp), %rdi
movq %rdi, %rax
addq $0x30, %rax
movq %rax, (%rsp)
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
callq 0x29e50
movq (%rsp), %rsi
movq 0x8(%rsp), %rcx
movq %rax, %rdx
leaq 0x40(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x66c60
movq 0x20(%rsp), %rax
movq 0x10(%rsp), %rsi
movq 0x58(%rax), %rdx
leaq 0x68(%rsp), %rdi
callq 0x3f610
jmp 0x29405
leaq 0x40(%rsp), %rdi
callq 0x30940
movq 0x20(%rsp), %rax
movq 0x130(%rax), %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
leaq 0x68(%rsp), %rdx
movq %rdx, %rsi
callq *%rax
jmp 0x2942e
movq 0x20(%rsp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq 0x68(%rsp), %rdx
callq 0x29b80
jmp 0x29443
leaq 0x68(%rsp), %rdi
callq 0x30940
addq $0xc8, %rsp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x38(%rsp)
movl %eax, 0x34(%rsp)
leaq 0x40(%rsp), %rdi
callq 0x30940
jmp 0x29487
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x38(%rsp)
movl %eax, 0x34(%rsp)
leaq 0x68(%rsp), %rdi
callq 0x30940
movq 0x38(%rsp), %rdi
callq 0x95d0
nopw %cs:(%rax,%rax)
// File: btbujiangjun[P]abcdl/src/cnn/CNN.cpp
// Function: abcdl::cnn::CNN::set_layers(std::vector<abcdl::cnn::Layer*, std::allocator<abcdl::cnn::Layer*>>)
void CNN::set_layers(std::vector<abcdl::cnn::Layer*> layers){
    CHECK(layers.size() > 0 && layers[0]->get_layer_type() == abcdl::framework::INPUT);
    CHECK(layers[layers.size() - 1]->get_layer_type() == abcdl::framework::OUTPUT);

    abcdl::cnn::Layer* pre_layer = nullptr;
    for(auto& layer : layers){
        layer->initialize(pre_layer);
        _layers.push_back(layer);
        pre_layer = layer;
    }
}

// Assembly:
subq $0x388, %rsp            # imm = 0x388
movq %rsi, 0x10(%rsp)
movq %rdi, %rax
movq 0x10(%rsp), %rdi
movq %rdi, 0x18(%rsp)
movq %rax, 0x380(%rsp)
movq %rdi, 0x378(%rsp)
movq 0x380(%rsp), %rax
movq %rax, 0x20(%rsp)
callq 0x26160
movq %rax, %rcx
xorl %eax, %eax
cmpq $0x0, %rcx
movb %al, 0x2f(%rsp)
jbe 0x2b24a
movq 0x18(%rsp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x2c440
movq (%rax), %rdi
callq 0x29c60
cmpl $0x0, %eax
sete %al
movb %al, 0x2f(%rsp)
movb 0x2f(%rsp), %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x2b256
jmp 0x2b2c1
leaq 0x61d54(%rip), %rsi     # 0x8cfb1
leaq 0x1f0(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movl $0x13, %edx
movl $0x3, %ecx
callq 0x86270
movq 0x8(%rsp), %rdi
leaq 0x61d3c(%rip), %rsi     # 0x8cfc1
callq 0x2c460
jmp 0x2b28c
leaq 0x1f0(%rsp), %rdi
callq 0x86630
jmp 0x2b2c1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1e8(%rsp)
movl %eax, 0x1e4(%rsp)
leaq 0x1f0(%rsp), %rdi
callq 0x86630
jmp 0x2b3ee
movq 0x18(%rsp), %rdi
callq 0x26160
movq 0x18(%rsp), %rdi
movq %rax, %rsi
subq $0x1, %rsi
callq 0x2c440
movq (%rax), %rdi
callq 0x29c60
cmpl $0x4, %eax
sete %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x2b2f2
jmp 0x2b352
leaq 0x61cb8(%rip), %rsi     # 0x8cfb1
leaq 0x58(%rsp), %rdi
movq %rdi, (%rsp)
movl $0x14, %edx
movl $0x3, %ecx
callq 0x86270
movq (%rsp), %rdi
leaq 0x61cff(%rip), %rsi     # 0x8d01b
callq 0x2c490
jmp 0x2b323
leaq 0x58(%rsp), %rdi
callq 0x86630
jmp 0x2b352
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1e8(%rsp)
movl %eax, 0x1e4(%rsp)
leaq 0x58(%rsp), %rdi
callq 0x86630
jmp 0x2b3ee
movq 0x18(%rsp), %rax
movq $0x0, 0x50(%rsp)
movq %rax, 0x48(%rsp)
movq 0x48(%rsp), %rdi
callq 0x19e20
movq %rax, 0x40(%rsp)
movq 0x48(%rsp), %rdi
callq 0x19e50
movq %rax, 0x38(%rsp)
leaq 0x40(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x19e80
testb $0x1, %al
jne 0x2b398
jmp 0x2b3e6
leaq 0x40(%rsp), %rdi
callq 0x19ec0
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq (%rax), %rdi
movq 0x50(%rsp), %rsi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x20(%rsp), %rdi
addq $0x18, %rdi
movq 0x30(%rsp), %rsi
callq 0x2c4c0
movq 0x30(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x50(%rsp)
leaq 0x40(%rsp), %rdi
callq 0x19ed0
jmp 0x2b383
addq $0x388, %rsp            # imm = 0x388
retq
movq 0x1e8(%rsp), %rdi
callq 0x95d0
nopl (%rax,%rax)
// File: btbujiangjun[P]abcdl/src/cnn/CNN.cpp
// Function: abcdl::cnn::CNN::check(unsigned long, unsigned long) const
bool CNN::check(const size_t rows, const size_t cols) const{
    if(_layers.size() <= 2){
        printf("layer size[%ld]\n", _layers.size());
        LOG(FATAL) << "convolution neural network layer must be more than 2";
        return false;
    }
    if(_layers[_layers.size() - 1]->get_layer_type() != abcdl::framework::OUTPUT){
        LOG(FATAL) << "Convolution neural network last layer must be OutputLayer";
        return false;
    }
    if(rows != _layers[0]->get_rows() || cols != _layers[0]->get_cols()){
        LOG(FATAL) << "Data dim size error";
        return false;
    }
    return true;
}

// Assembly:
subq $0x508, %rsp            # imm = 0x508
movq %rdi, 0x4f8(%rsp)
movq %rsi, 0x4f0(%rsp)
movq %rdx, 0x4e8(%rsp)
movq 0x4f8(%rsp), %rdi
movq %rdi, 0x38(%rsp)
addq $0x18, %rdi
callq 0x26160
cmpq $0x2, %rax
ja 0x2bb34
movq 0x38(%rsp), %rdi
addq $0x18, %rdi
callq 0x26160
movq %rax, %rsi
leaq 0x616f8(%rip), %rdi     # 0x8d1af
xorl %eax, %eax
callq 0x9060
leaq 0x614ec(%rip), %rsi     # 0x8cfb1
leaq 0x360(%rsp), %rdi
movq %rdi, 0x30(%rsp)
movl $0x8a, %edx
movl $0x3, %ecx
callq 0x86270
movq 0x30(%rsp), %rdi
leaq 0x616d3(%rip), %rsi     # 0x8d1c0
callq 0x2cc40
jmp 0x2baf4
leaq 0x360(%rsp), %rdi
callq 0x86630
movb $0x0, 0x507(%rsp)
jmp 0x2bcb9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x358(%rsp)
movl %eax, 0x354(%rsp)
leaq 0x360(%rsp), %rdi
callq 0x86630
jmp 0x2bcca
movq 0x38(%rsp), %rdi
movq %rdi, %rax
addq $0x18, %rax
movq %rax, 0x28(%rsp)
addq $0x18, %rdi
callq 0x26160
movq 0x28(%rsp), %rdi
movq %rax, %rsi
subq $0x1, %rsi
callq 0x2cc70
movq (%rax), %rdi
callq 0x29c60
cmpl $0x4, %eax
je 0x2bbe2
leaq 0x6143e(%rip), %rsi     # 0x8cfb1
leaq 0x1c8(%rsp), %rdi
movq %rdi, 0x20(%rsp)
movl $0x8e, %edx
movl $0x3, %ecx
callq 0x86270
movq 0x20(%rsp), %rdi
leaq 0x6165a(%rip), %rsi     # 0x8d1f5
callq 0x2cc90
jmp 0x2bba2
leaq 0x1c8(%rsp), %rdi
callq 0x86630
movb $0x0, 0x507(%rsp)
jmp 0x2bcb9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x358(%rsp)
movl %eax, 0x354(%rsp)
leaq 0x1c8(%rsp), %rdi
callq 0x86630
jmp 0x2bcca
movq 0x38(%rsp), %rdi
movq 0x4f0(%rsp), %rax
movq %rax, 0x18(%rsp)
addq $0x18, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x2cc70
movq (%rax), %rdi
callq 0x29930
movq %rax, %rcx
movq 0x18(%rsp), %rax
cmpq %rcx, %rax
jne 0x2bc4a
movq 0x38(%rsp), %rdi
movq 0x4e8(%rsp), %rax
movq %rax, 0x10(%rsp)
addq $0x18, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x2cc70
movq (%rax), %rdi
callq 0x29940
movq %rax, %rcx
movq 0x10(%rsp), %rax
cmpq %rcx, %rax
je 0x2bcb1
leaq 0x61360(%rip), %rsi     # 0x8cfb1
leaq 0x40(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movl $0x92, %edx
movl $0x3, %ecx
callq 0x86270
movq 0x8(%rsp), %rdi
leaq 0x615b9(%rip), %rsi     # 0x8d22f
callq 0x2ccc0
jmp 0x2bc7d
leaq 0x40(%rsp), %rdi
callq 0x86630
movb $0x0, 0x507(%rsp)
jmp 0x2bcb9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x358(%rsp)
movl %eax, 0x354(%rsp)
leaq 0x40(%rsp), %rdi
callq 0x86630
jmp 0x2bcca
movb $0x1, 0x507(%rsp)
movb 0x507(%rsp), %al
andb $0x1, %al
addq $0x508, %rsp            # imm = 0x508
retq
movq 0x358(%rsp), %rdi
callq 0x95d0
nopw (%rax,%rax)
// File: btbujiangjun[P]abcdl/src/cnn/CNN.cpp
// Function: abcdl::cnn::CNN::forward(abcdl::algebra::Matrix<float> const&)
void CNN::forward(const abcdl::algebra::Mat& mat){
    size_t layer_size = _layers.size();
    abcdl::cnn::Layer* pre_layer = nullptr;

    for(size_t k = 0; k != layer_size; k++){
        auto layer = _layers[k];
        if(layer->get_layer_type() == abcdl::framework::INPUT){
            ((InputLayer*)layer)->set_x(mat);
        }

        layer->forward(pre_layer);
        pre_layer = layer;
    }
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, (%rsp)
addq $0x18, %rdi
callq 0x26160
movq %rax, 0x20(%rsp)
movq $0x0, 0x18(%rsp)
movq $0x0, 0x10(%rsp)
movq 0x10(%rsp), %rax
cmpq 0x20(%rsp), %rax
je 0x2bda5
movq (%rsp), %rdi
addq $0x18, %rdi
movq 0x10(%rsp), %rsi
callq 0x2c440
movq (%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rdi
callq 0x29c60
cmpl $0x0, %eax
jne 0x2bd7b
movq 0x8(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x2c6f0
movq 0x8(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq (%rdi), %rax
callq *0x18(%rax)
movq 0x8(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x10(%rsp)
jmp 0x2bd37
addq $0x38, %rsp
retq
nopw (%rax,%rax)
// File: btbujiangjun[P]abcdl/src/cnn/CNN.cpp
// Function: abcdl::cnn::CNN::backward(abcdl::algebra::Matrix<float> const&)
void CNN::backward(const abcdl::algebra::Mat& mat){
    int layer_size = _layers.size();
    abcdl::cnn::Layer* back_layer = nullptr;
    abcdl::cnn::Layer* pre_layer = nullptr;

    for(int k = layer_size - 1; k >= 0; k--){
        auto layer = _layers[k];
        if(layer->get_layer_type() == abcdl::framework::OUTPUT){
            ((OutputLayer*)layer)->set_y(mat.clone().reshape(mat.cols(), mat.rows()));
        }

        pre_layer = (k > 0) ? _layers[k - 1] : nullptr;
        layer->backward(pre_layer, back_layer);
        back_layer = layer;
    }
}

// Assembly:
subq $0xa8, %rsp
movq %rdi, 0xa0(%rsp)
movq %rsi, 0x98(%rsp)
movq 0xa0(%rsp), %rdi
movq %rdi, 0x30(%rsp)
addq $0x18, %rdi
callq 0x26160
movl %eax, 0x94(%rsp)
movq $0x0, 0x88(%rsp)
movq $0x0, 0x80(%rsp)
movl 0x94(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x7c(%rsp)
cmpl $0x0, 0x7c(%rsp)
jl 0x2bf50
movq 0x30(%rsp), %rdi
addq $0x18, %rdi
movslq 0x7c(%rsp), %rsi
callq 0x2c440
movq (%rax), %rax
movq %rax, 0x70(%rsp)
movq 0x70(%rsp), %rdi
callq 0x29c60
cmpl $0x4, %eax
jne 0x2bed9
movq 0x70(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x98(%rsp), %rsi
leaq 0x48(%rsp), %rdi
callq 0x31e80
movq 0x98(%rsp), %rdi
callq 0x276e0
movq %rax, 0x28(%rsp)
jmp 0x2be73
movq 0x98(%rsp), %rdi
callq 0x276d0
movq %rax, 0x18(%rsp)
jmp 0x2be87
movq 0x18(%rsp), %rdx
movq 0x28(%rsp), %rsi
leaq 0x48(%rsp), %rdi
callq 0x2c8b0
movq %rax, 0x10(%rsp)
jmp 0x2bea2
movq 0x10(%rsp), %rsi
movq 0x20(%rsp), %rdi
callq 0x2c7e0
jmp 0x2beb3
leaq 0x48(%rsp), %rdi
callq 0x30940
jmp 0x2bed9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x40(%rsp)
movl %eax, 0x3c(%rsp)
leaq 0x48(%rsp), %rdi
callq 0x30940
jmp 0x2bf58
cmpl $0x0, 0x7c(%rsp)
jle 0x2bf02
movq 0x30(%rsp), %rdi
addq $0x18, %rdi
movl 0x7c(%rsp), %eax
subl $0x1, %eax
movslq %eax, %rsi
callq 0x2c440
movq (%rax), %rax
movq %rax, 0x8(%rsp)
jmp 0x2bf0b
xorl %eax, %eax
movq %rax, 0x8(%rsp)
jmp 0x2bf0b
movq 0x8(%rsp), %rax
movq %rax, 0x80(%rsp)
movq 0x70(%rsp), %rdi
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
movq (%rdi), %rax
callq *0x20(%rax)
movq 0x70(%rsp), %rax
movq %rax, 0x88(%rsp)
movl 0x7c(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x7c(%rsp)
jmp 0x2be0a
addq $0xa8, %rsp
retq
movq 0x40(%rsp), %rdi
callq 0x95d0
nopw %cs:(%rax,%rax)