// File: /workspace/github_cpp_makefile_star2_O1/lukasz-wiecaszek[P]h264iframedecoder/./dec_ref_pic_marking.hpp
// Function: ymn::h264::dec_ref_pic_marking_nonidr::to_string[abi:cxx11]() const
inline std::string dec_ref_pic_marking_nonidr::to_string() const
{
    std::ostringstream stream;

    stream << "  decoded reference picture marking (non-idr):" << std::endl;

    stream << P2(adaptive_ref_pic_marking_mode_flag);
    if (adaptive_ref_pic_marking_mode_flag) {
        uint32_t memory_management_control_operation;
        std::size_t i = 0;

        do {
            memory_management_control_operation = mmco[i].memory_management_control_operation;

            stream << P3(mmco[i].memory_management_control_operation);

            if (memory_management_control_operation == 1 ||
                memory_management_control_operation == 3)
                stream << P3(mmco[i].difference_of_pic_nums_minus1);

            if (memory_management_control_operation == 2)
                stream << P3(mmco[i].long_term_pic_num);

            if (memory_management_control_operation == 3 ||
                memory_management_control_operation == 6)
                stream << P3(mmco[i].long_term_frame_idx);

            if (memory_management_control_operation == 4)
                stream << P3(mmco[i].max_long_term_frame_idx_plus1);

            i++;
        } while ((i < TABLE_ELEMENTS(mmco)) && (memory_management_control_operation != 0));
    }

    return stream.str();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movq %rsi, %r14
movq %rdi, 0x8(%rsp)
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x2220
leaq 0xa92a(%rip), %rsi      # 0x1d3e1
movl $0x2e, %edx
movq %rbx, %rdi
callq 0x21d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2110
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0x4, 0x20(%rsp,%rax)
leaq 0xb1b5(%rip), %rsi      # 0x1dcb7
movq %rbx, %rdi
xorl %edx, %edx
callq 0x21d0
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movq $0x2c, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movl $0xffffff4f, %edx       # imm = 0xFFFFFF4F
movl 0x28(%rsp,%rax), %ecx
andl %edx, %ecx
orl $0x20, %ecx
movl %ecx, 0x28(%rsp,%rax)
leaq 0xa8d7(%rip), %rsi      # 0x1d410
movl $0x22, %edx
movq %rbx, %rdi
callq 0x21d0
leaq 0x655a(%rip), %rsi      # 0x190a7
movl $0x2, %edx
movq %rbx, %rdi
callq 0x21d0
leaq 0x64c3(%rip), %rsi      # 0x19024
movl $0x2, %edx
movq %rbx, %rdi
callq 0x21d0
movq (%rbx), %rax
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x28(%rsp,%rax)
movl 0xc(%r14), %esi
movq %rbx, %rdi
callq 0x2100
movq %rax, %rbx
leaq 0x648e(%rip), %rsi      # 0x19027
movl $0x2, %edx
movq %rax, %rdi
callq 0x21d0
movq (%rbx), %rax
movq -0x18(%rax), %rax
movl 0x18(%rbx,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%rbx,%rax)
movl 0xc(%r14), %esi
movq %rbx, %rdi
callq 0x2100
movq %rax, %rbx
leaq 0x6ea5(%rip), %rsi      # 0x19a76
movl $0x1, %edx
movq %rax, %rdi
callq 0x21d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2110
cmpl $0x0, 0xc(%r14)
je 0x1322e
addq $0x20, %r14
xorl %ebx, %ebx
leaq 0x10(%rsp), %r12
leaq 0x6e54(%rip), %r15      # 0x19a76
movl -0x10(%r14), %r13d
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rax
movq $0x6, 0x20(%rsp,%rax)
movq %r12, %rdi
leaq 0xb075(%rip), %rsi      # 0x1dcb7
xorl %edx, %edx
callq 0x21d0
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x2a, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
movl $0xffffff4f, %edx       # imm = 0xFFFFFF4F
andl %edx, %ecx
orl $0x20, %ecx
movl %ecx, 0x28(%rsp,%rax)
movl $0x2b, %edx
movq %r12, %rdi
leaq 0xa7b3(%rip), %rsi      # 0x1d433
callq 0x21d0
movl $0x2, %edx
movq %r12, %rdi
leaq 0x6413(%rip), %rsi      # 0x190a7
callq 0x21d0
movl $0x2, %edx
movq %r12, %rdi
leaq 0x637c(%rip), %rsi      # 0x19024
callq 0x21d0
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x28(%rsp,%rax)
movl -0x10(%r14), %esi
movq %r12, %rdi
callq 0x2100
movq %rax, %rbp
movl $0x2, %edx
movq %rax, %rdi
leaq 0x6345(%rip), %rsi      # 0x19027
callq 0x21d0
movq (%rbp), %rax
movq -0x18(%rax), %rax
movl 0x18(%rbp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%rbp,%rax)
movl -0x10(%r14), %esi
movq %rbp, %rdi
callq 0x2100
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x21d0
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbp, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2110
leal -0x1(%r13), %eax
cmpl $0x5, %eax
ja 0x13218
leaq 0x9594(%rip), %rcx      # 0x1c2ec
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rax
movq $0x6, 0x20(%rsp,%rax)
movq %r12, %rdi
leaq 0xaf3a(%rip), %rsi      # 0x1dcb7
xorl %edx, %edx
callq 0x21d0
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x2a, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
movl $0xffffff4f, %edx       # imm = 0xFFFFFF4F
andl %edx, %ecx
orl $0x20, %ecx
movl %ecx, 0x28(%rsp,%rax)
movl $0x25, %edx
movq %r12, %rdi
leaq 0xa6a4(%rip), %rsi      # 0x1d45f
callq 0x21d0
movl $0x2, %edx
movq %r12, %rdi
leaq 0x62d8(%rip), %rsi      # 0x190a7
callq 0x21d0
movl $0x2, %edx
movq %r12, %rdi
leaq 0x6241(%rip), %rsi      # 0x19024
callq 0x21d0
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x28(%rsp,%rax)
movl -0xc(%r14), %esi
movq %r12, %rdi
callq 0x2100
movq %rax, %rbp
movl $0x2, %edx
movq %rax, %rdi
leaq 0x620a(%rip), %rsi      # 0x19027
callq 0x21d0
movq (%rbp), %rax
movq -0x18(%rax), %rax
movl 0x18(%rbp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%rbp,%rax)
movl -0xc(%r14), %esi
movq %rbp, %rdi
callq 0x2100
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x21d0
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbp, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2110
leal -0x2(%r13), %eax
cmpl $0x4, %eax
ja 0x13218
leaq 0x9471(%rip), %rcx      # 0x1c304
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rax
movq $0x6, 0x20(%rsp,%rax)
movq %r12, %rdi
leaq 0xadff(%rip), %rsi      # 0x1dcb7
xorl %edx, %edx
callq 0x21d0
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x2a, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
movl $0xffffff4f, %edx       # imm = 0xFFFFFF4F
andl %edx, %ecx
orl $0x20, %ecx
movl %ecx, 0x28(%rsp,%rax)
movl $0x19, %edx
movq %r12, %rdi
leaq 0xa58f(%rip), %rsi      # 0x1d485
callq 0x21d0
movl $0x2, %edx
movq %r12, %rdi
leaq 0x619d(%rip), %rsi      # 0x190a7
callq 0x21d0
movl $0x2, %edx
movq %r12, %rdi
leaq 0x6106(%rip), %rsi      # 0x19024
callq 0x21d0
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x28(%rsp,%rax)
movl -0x8(%r14), %esi
movq %r12, %rdi
callq 0x2100
movq %rax, %rbp
movl $0x2, %edx
movq %rax, %rdi
leaq 0x60cf(%rip), %rsi      # 0x19027
callq 0x21d0
movq (%rbp), %rax
movq -0x18(%rax), %rax
movl 0x18(%rbp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%rbp,%rax)
movl -0x8(%r14), %esi
movq %rbp, %rdi
callq 0x2100
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x21d0
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbp, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2110
cmpl $0x6, %r13d
je 0x12fd4
cmpl $0x4, %r13d
je 0x130fc
cmpl $0x3, %r13d
jne 0x13218
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rax
movq $0x6, 0x20(%rsp,%rax)
movq %r12, %rdi
leaq 0xacc7(%rip), %rsi      # 0x1dcb7
xorl %edx, %edx
callq 0x21d0
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x2a, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
movl $0xffffff4f, %edx       # imm = 0xFFFFFF4F
andl %edx, %ecx
orl $0x20, %ecx
movl %ecx, 0x28(%rsp,%rax)
movl $0x1b, %edx
movq %r12, %rdi
leaq 0xa471(%rip), %rsi      # 0x1d49f
callq 0x21d0
movl $0x2, %edx
movq %r12, %rdi
leaq 0x6065(%rip), %rsi      # 0x190a7
callq 0x21d0
movl $0x2, %edx
movq %r12, %rdi
leaq 0x5fce(%rip), %rsi      # 0x19024
callq 0x21d0
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x28(%rsp,%rax)
movl -0x4(%r14), %esi
movq %r12, %rdi
callq 0x2100
movq %rax, %rbp
movl $0x2, %edx
movq %rax, %rdi
leaq 0x5f97(%rip), %rsi      # 0x19027
callq 0x21d0
movq (%rbp), %rax
movq -0x18(%rax), %rax
movl 0x18(%rbp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%rbp,%rax)
movl -0x4(%r14), %esi
movq %rbp, %rdi
callq 0x2100
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x21d0
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbp, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2110
cmpl $0x4, %r13d
jne 0x13218
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rax
movq $0x6, 0x20(%rsp,%rax)
movq %r12, %rdi
leaq 0xab9f(%rip), %rsi      # 0x1dcb7
xorl %edx, %edx
callq 0x21d0
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x2a, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
movl $0xffffff4f, %edx       # imm = 0xFFFFFF4F
andl %edx, %ecx
orl $0x20, %ecx
movl %ecx, 0x28(%rsp,%rax)
movl $0x25, %edx
movq %r12, %rdi
leaq 0xa365(%rip), %rsi      # 0x1d4bb
callq 0x21d0
movl $0x2, %edx
movq %r12, %rdi
leaq 0x5f3d(%rip), %rsi      # 0x190a7
callq 0x21d0
movl $0x2, %edx
movq %r12, %rdi
leaq 0x5ea6(%rip), %rsi      # 0x19024
callq 0x21d0
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x28(%rsp,%rax)
movl (%r14), %esi
movq %r12, %rdi
callq 0x2100
movq %rax, %rbp
movl $0x2, %edx
movq %rax, %rdi
leaq 0x5e70(%rip), %rsi      # 0x19027
callq 0x21d0
movq (%rbp), %rax
movq -0x18(%rax), %rax
movl 0x18(%rbp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%rbp,%rax)
movl (%r14), %esi
movq %rbp, %rdi
callq 0x2100
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x21d0
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %rbp, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2110
cmpq $0x2, %rbx
ja 0x1322e
incq %rbx
addq $0x14, %r14
testl %r13d, %r13d
jne 0x12c22
leaq 0x18(%rsp), %rsi
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x2260
movq 0xed71(%rip), %rsi      # 0x21fb8
leaq 0x10(%rsp), %rdi
callq 0x20d0
leaq 0x80(%rsp), %rdi
callq 0x20a0
movq %rbx, %rax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop