// File: /workspace/github_cpp_makefile_star2_O3/tokuhirom[P]nanouri/t/nanotap.h
// Function: is_binary(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, char const*)
inline NANOTAP_DECLARE void is_binary(const std::string &got, const std::string& expected, const char *msg) {
    if (got.size() != expected.size()) {
        ok(0, msg);
        std::stringstream ss;
        ss << "Expected " << expected.size() << " bytes chars, but got " << got.size() << " bytes chars";
        diag(ss.str());
        return;
    }
    for (size_t i=0; i<got.size(); i++) {
        if (got[i] != expected[i]) {
            ok(0, msg);

            std::stringstream ss;
            ss << "Expected " << std::hex << int(expected[i]) << " but got " << int(got[i]) << ", at " << i;
            diag(ss.str());
            return;
        }
    }
    ok(true, msg);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rsi, %r15
movq %rdi, %rbx
movq 0x8(%rdi), %rax
cmpq 0x8(%rsi), %rax
jne 0x2abb
testq %rax, %rax
je 0x2a7a
movq (%rbx), %rcx
movq (%r15), %rsi
xorl %r14d, %r14d
movb (%rcx,%r14), %dil
cmpb (%rsi,%r14), %dil
jne 0x2b73
incq %r14
cmpq %r14, %rax
jne 0x2a64
movl 0x368c(%rip), %eax      # 0x610c
incl %eax
testq %rdx, %rdx
leaq 0x1597(%rip), %rcx      # 0x4023
cmovneq %rdx, %rcx
movl %eax, 0x3676(%rip)      # 0x610c
leaq 0x1567(%rip), %rdi      # 0x4004
leaq 0x1570(%rip), %rsi      # 0x4014
movl %eax, %edx
xorl %eax, %eax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2040
movl 0x364b(%rip), %eax      # 0x610c
incl %eax
movl %eax, 0x3643(%rip)      # 0x610c
testq %rdx, %rdx
leaq 0x1550(%rip), %rcx      # 0x4023
cmovneq %rdx, %rcx
leaq 0x1526(%rip), %rdi      # 0x4004
leaq 0x152b(%rip), %rsi      # 0x4010
movl %eax, %edx
xorl %eax, %eax
callq 0x2040
leaq 0x20(%rsp), %rdi
callq 0x20b0
leaq 0x30(%rsp), %r14
leaq 0x1520(%rip), %rsi      # 0x4024
movl $0x9, %edx
movq %r14, %rdi
callq 0x2140
movq 0x8(%r15), %rsi
movq %r14, %rdi
callq 0x2090
movq %rax, %r14
leaq 0x1507(%rip), %rsi      # 0x402e
movl $0x16, %edx
movq %rax, %rdi
callq 0x2140
movq 0x8(%rbx), %rsi
movq %r14, %rdi
callq 0x2090
leaq 0x14fe(%rip), %rsi      # 0x4045
movl $0xc, %edx
movq %rax, %rdi
callq 0x2140
leaq 0x38(%rsp), %rsi
movq %rsp, %rdi
callq 0x21a0
movq %rsp, %rdi
leaq 0x20(%rsp), %rsi
callq 0x2242
jmp 0x2c53
movl 0x3593(%rip), %eax      # 0x610c
incl %eax
movl %eax, 0x358b(%rip)      # 0x610c
testq %rdx, %rdx
leaq 0x1498(%rip), %rcx      # 0x4023
cmovneq %rdx, %rcx
leaq 0x146e(%rip), %rdi      # 0x4004
leaq 0x1473(%rip), %rsi      # 0x4010
movl %eax, %edx
xorl %eax, %eax
callq 0x2040
leaq 0x20(%rsp), %rdi
callq 0x20b0
leaq 0x30(%rsp), %r12
leaq 0x1468(%rip), %rsi      # 0x4024
movl $0x9, %edx
movq %r12, %rdi
callq 0x2140
movq 0x30(%rsp), %rax
movq -0x18(%rax), %rax
movl 0x48(%rsp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x48(%rsp,%rax)
movq (%r15), %rax
movsbl (%rax,%r14), %esi
movq %r12, %rdi
callq 0x21b0
movq %rax, %r15
leaq 0x1441(%rip), %rsi      # 0x403b
movl $0x9, %edx
movq %rax, %rdi
callq 0x2140
movq (%rbx), %rax
movsbl (%rax,%r14), %esi
movq %r15, %rdi
callq 0x21b0
movq %rax, %rbx
leaq 0x1431(%rip), %rsi      # 0x4052
movl $0x5, %edx
movq %rax, %rdi
callq 0x2140
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2090
leaq 0x38(%rsp), %rsi
movq %rsp, %rdi
callq 0x21a0
movq %rsp, %rdi
leaq 0x20(%rsp), %rsi
callq 0x22af
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x2c68
jmp 0x2c68
jmp 0x2c68
movq %rax, %rbx
movq 0x3346(%rip), %rsi      # 0x5fb8
leaq 0x20(%rsp), %rdi
callq 0x20d0
leaq 0xa0(%rsp), %rdi
callq 0x2060
movq %rbx, %rdi
callq 0x21c0