// File: /workspace/github_cpp_makefile_star2_O1/lukasz-wiecaszek[P]h264iframedecoder/./scaling_matrices.hpp
// Function: ymn::h264::scaling_list_nxn<16ul>::to_string[abi:cxx11]() const
inline std::string scaling_list_4x4::to_string() const
{
    std::ostringstream stream;

    stream << P3(scaling_list_present_flag);

    if (scaling_list_present_flag) {
        int i = 0;
        while (i < 16) {
            if (!(i % 4)) stream << "        ";
            stream << "0x" << std::setfill('0') << std::setw(2) << std::hex << static_cast<int>(scaling_list[i]) << " ";
            ++i;
            if (!(i % 4)) stream << std::endl;
        }
    }

    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), %r15
movq %r15, %rdi
callq 0x2220
movq (%r15), %rax
movq -0x18(%rax), %rax
movq $0x6, 0x20(%rsp,%rax)
leaq 0x7dc6(%rip), %rsi      # 0x1dcb7
movq %r15, %rdi
xorl %edx, %edx
callq 0x21d0
movq (%r15), %rax
movq -0x18(%rax), %rcx
movq $0x2a, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movl $0xffffff4f, %ecx       # imm = 0xFFFFFF4F
andl 0x28(%rsp,%rax), %ecx
orl $0x20, %ecx
movl %ecx, 0x28(%rsp,%rax)
leaq 0x7d6f(%rip), %rsi      # 0x1dc95
movl $0x19, %edx
movq %r15, %rdi
callq 0x21d0
leaq 0x316d(%rip), %rsi      # 0x190a7
movl $0x2, %edx
movq %r15, %rdi
callq 0x21d0
leaq 0x30d6(%rip), %rsi      # 0x19024
movl $0x2, %edx
movq %r15, %rdi
callq 0x21d0
movq (%r15), %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 %r15, %rdi
callq 0x2100
movq %rax, %rbx
leaq 0x30a1(%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 0x3ab8(%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 0x160f1
xorl %r12d, %r12d
leaq 0x301d(%rip), %r13      # 0x19024
leaq 0x7ca8(%rip), %rbp      # 0x1dcb6
testb $0x3, %r12b
jne 0x16028
movl $0x8, %edx
movq %r15, %rdi
leaq 0x7c8c(%rip), %rsi      # 0x1dcaf
callq 0x21d0
movl $0x2, %edx
movq %r15, %rdi
movq %r13, %rsi
callq 0x21d0
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%rsp,%rax), %rbx
addq $0x10, %rbx
cmpb $0x0, 0xe1(%rbx)
jne 0x1606c
movq %rbx, %rdi
movl $0x20, %esi
callq 0x2150
movb %al, 0xe0(%rbx)
movb $0x1, 0xe1(%rbx)
movb $0x30, 0xe0(%rbx)
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x2, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x28(%rsp,%rax)
movzbl 0x10(%r14,%r12), %esi
movq %r15, %rdi
callq 0x22b0
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x21d0
incq %r12
testb $0x3, %r12b
jne 0x160e7
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %esi
movq %r15, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2110
cmpq $0x10, %r12
jne 0x1600e
leaq 0x18(%rsp), %rsi
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x2260
movq 0xbeae(%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