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

    stream << P3(scaling_list_present_flag);

    if (scaling_list_present_flag) {
        int i = 0;
        while (i < 64) {
            if (!(i % 8)) stream << "        ";
            stream << "0x" << std::setfill('0') << std::setw(2) << std::hex << static_cast<int>(scaling_list[i]) << " ";
            ++i;
            if (!(i % 8)) 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 0x6fb6(%rip), %rsi      # 0x1cca7
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 0x6f5f(%rip), %rsi      # 0x1cc85
movl $0x19, %edx
movq %r15, %rdi
callq 0x21d0
leaq 0x236d(%rip), %rsi      # 0x180a7
movl $0x2, %edx
movq %r15, %rdi
callq 0x21d0
leaq 0x22d6(%rip), %rsi      # 0x18024
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 0x22a1(%rip), %rsi      # 0x18027
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 0x2cb8(%rip), %rsi      # 0x18a76
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 0x15eeb
xorl %r12d, %r12d
leaq 0x221d(%rip), %r13      # 0x18024
leaq 0x6e98(%rip), %rbp      # 0x1cca6
testb $0x7, %r12b
jne 0x15e28
movl $0x8, %edx
movq %r15, %rdi
leaq 0x6e7c(%rip), %rsi      # 0x1cc9f
callq 0x21d0
movl $0x2, %edx
movq %r15, %rdi
movq %r13, %rsi
callq 0x21d0
movq 0x10(%rsp), %rax
movq -0x18(%rax), %rcx
leaq (%rsp,%rcx), %rbx
addq $0x10, %rbx
cmpb $0x0, 0xe1(%rbx)
jne 0x15e6b
movq %rbx, %rdi
movl $0x20, %esi
callq 0x2150
movb $0x1, 0xe1(%rbx)
movq 0x10(%rsp), %rax
movb $0x30, 0xe0(%rbx)
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 $0x7, %r12b
jne 0x15ee1
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 $0x40, %r12
jne 0x15e0e
leaq 0x18(%rsp), %rsi
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x2260
movq 0xb0b4(%rip), %rsi      # 0x20fb8
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