// File: oknenavin[P]cxon/test/src/json/json.node-main.cxx
// Function: test::kind::pass(std::vector<test::test, std::allocator<test::test>>&)
int pass(cases& cases) {
            int err = 0;

            for (auto& c : cases) {
                std::ifstream is(c.source, std::ifstream::binary);
                    if (!is) {
                        ++err, c.error = "cannot be opened";
                        continue;
                    }
                std::string const s = std::string(std::istreambuf_iterator<char>(is), std::istreambuf_iterator<char>());
                node result; auto const r = cxon::from_bytes(result, s);
                if (!r) {
                    ++err, c.error += "must pass: '" + c.source + "' (failed with '" + format_error(r, s.begin()) + "')";
                }
            }
            std::size_t fc = 0;
                for (auto& c : cases) {
                    if (!c.error.empty()) {
                        ++fc, std::fprintf(stderr, "%s: %s\n", c.source.c_str(), c.error.c_str()), std::fflush(stderr);
                    }
                }
            std::fprintf(stdout, "%-21s: %zu of %4zu failed\n", "cxon/json/node/pass", fc, cases.size()); std::fflush(stdout);

            return err;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x3e0, %rsp            # imm = 0x3E0
movq %rdi, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x118a0
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
callq 0x118d0
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x11900
testb $0x1, %al
jne 0xa716e
jmp 0xa74fb
leaq -0x20(%rbp), %rdi
callq 0x11940
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rsi
leaq -0x238(%rbp), %rdi
movl $0x4, %edx
callq 0xf660
movq -0x238(%rbp), %rax
movq -0x18(%rax), %rax
leaq -0x238(%rbp,%rax), %rdi
callq 0xf040
movb %al, -0x3a1(%rbp)
jmp 0xa71b0
movb -0x3a1(%rbp), %al
testb $0x1, %al
jne 0xa71bc
jmp 0xa7200
movl -0xc(%rbp), %eax
incl %eax
movl %eax, -0xc(%rbp)
movq -0x30(%rbp), %rdi
addq $0x58, %rdi
leaq 0x1a1bd3(%rip), %rsi    # 0x248da6
callq 0xf2b0
jmp 0xa71da
movl $0x3, -0x248(%rbp)
jmp 0xa74a8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x240(%rbp)
movl %eax, -0x244(%rbp)
jmp 0xa74ea
leaq -0x278(%rbp), %rdi
leaq -0x238(%rbp), %rsi
callq 0x18790
leaq -0x288(%rbp), %rdi
callq 0x187f0
leaq -0x289(%rbp), %rdi
movq %rdi, -0x3b0(%rbp)
callq 0xf5f0
movq -0x3b0(%rbp), %r9
movq -0x278(%rbp), %rsi
movl -0x270(%rbp), %edx
movq -0x288(%rbp), %rcx
movl -0x280(%rbp), %r8d
leaq -0x268(%rbp), %rdi
callq 0x18fc0
jmp 0xa7262
leaq -0x289(%rbp), %rdi
callq 0xf710
leaq -0x2b8(%rbp), %rdi
movq %rdi, -0x3b8(%rbp)
callq 0x18910
movq -0x3b8(%rbp), %rsi
leaq -0x2d0(%rbp), %rdi
leaq -0x268(%rbp), %rdx
callq 0x18940
jmp 0xa729d
leaq -0x2d0(%rbp), %rdi
callq 0x189a0
testb $0x1, %al
jne 0xa7486
movl -0xc(%rbp), %eax
incl %eax
movl %eax, -0xc(%rbp)
movq -0x30(%rbp), %rdx
leaq 0x1a326f(%rip), %rsi    # 0x24a533
leaq -0x350(%rbp), %rdi
callq 0xaab90
jmp 0xa72d2
leaq 0x1a3267(%rip), %rdx    # 0x24a540
leaq -0x330(%rbp), %rdi
leaq -0x350(%rbp), %rsi
callq 0x12290
jmp 0xa72ee
leaq -0x268(%rbp), %rdi
callq 0xf1e0
movq %rax, -0x378(%rbp)
movq -0x378(%rbp), %rdx
leaq -0x370(%rbp), %rdi
leaq -0x2d0(%rbp), %rsi
callq 0x189c0
jmp 0xa731d
leaq -0x310(%rbp), %rdi
leaq -0x330(%rbp), %rsi
leaq -0x370(%rbp), %rdx
callq 0xaaac0
jmp 0xa7339
leaq 0x1a3211(%rip), %rdx    # 0x24a551
leaq -0x2f0(%rbp), %rdi
leaq -0x310(%rbp), %rsi
callq 0x12290
jmp 0xa7355
movq -0x30(%rbp), %rdi
addq $0x58, %rdi
leaq -0x2f0(%rbp), %rsi
callq 0xf0b0
jmp 0xa736b
leaq -0x2f0(%rbp), %rdi
callq 0xf490
leaq -0x310(%rbp), %rdi
callq 0xf490
leaq -0x370(%rbp), %rdi
callq 0xf490
leaq -0x330(%rbp), %rdi
callq 0xf490
leaq -0x350(%rbp), %rdi
callq 0xf490
jmp 0xa7486
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x240(%rbp)
movl %eax, -0x244(%rbp)
leaq -0x289(%rbp), %rdi
callq 0xf710
jmp 0xa74ea
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x240(%rbp)
movl %eax, -0x244(%rbp)
jmp 0xa74d2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x240(%rbp)
movl %eax, -0x244(%rbp)
jmp 0xa7478
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x240(%rbp)
movl %eax, -0x244(%rbp)
jmp 0xa746c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x240(%rbp)
movl %eax, -0x244(%rbp)
jmp 0xa7460
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x240(%rbp)
movl %eax, -0x244(%rbp)
jmp 0xa7454
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x240(%rbp)
movl %eax, -0x244(%rbp)
leaq -0x2f0(%rbp), %rdi
callq 0xf490
leaq -0x310(%rbp), %rdi
callq 0xf490
leaq -0x370(%rbp), %rdi
callq 0xf490
leaq -0x330(%rbp), %rdi
callq 0xf490
leaq -0x350(%rbp), %rdi
callq 0xf490
jmp 0xa74d2
leaq -0x2b8(%rbp), %rdi
callq 0x18d50
leaq -0x268(%rbp), %rdi
callq 0xf490
movl $0x0, -0x248(%rbp)
leaq -0x238(%rbp), %rdi
callq 0xf050
movl -0x248(%rbp), %eax
testl %eax, %eax
je 0xa74c2
jmp 0xa74c0
jmp 0xa74c4
jmp 0xa74c4
leaq -0x20(%rbp), %rdi
callq 0x12270
jmp 0xa7158
leaq -0x2b8(%rbp), %rdi
callq 0x18d50
leaq -0x268(%rbp), %rdi
callq 0xf490
leaq -0x238(%rbp), %rdi
callq 0xf050
jmp 0xa766a
movq $0x0, -0x380(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x388(%rbp)
movq -0x388(%rbp), %rdi
callq 0x118a0
movq %rax, -0x390(%rbp)
movq -0x388(%rbp), %rdi
callq 0x118d0
movq %rax, -0x398(%rbp)
leaq -0x390(%rbp), %rdi
leaq -0x398(%rbp), %rsi
callq 0x11900
testb $0x1, %al
jne 0xa7553
jmp 0xa7601
leaq -0x390(%rbp), %rdi
callq 0x11940
movq %rax, -0x3a0(%rbp)
movq -0x3a0(%rbp), %rdi
addq $0x58, %rdi
callq 0xf210
testb $0x1, %al
jne 0xa75ee
movq -0x380(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x380(%rbp)
movq 0x29ca35(%rip), %rax    # 0x343fc8
movq (%rax), %rax
movq %rax, -0x3c8(%rbp)
movq -0x3a0(%rbp), %rdi
callq 0xf0f0
movq %rax, -0x3c0(%rbp)
movq -0x3a0(%rbp), %rdi
addq $0x58, %rdi
callq 0xf0f0
movq -0x3c8(%rbp), %rdi
movq -0x3c0(%rbp), %rdx
movq %rax, %rcx
leaq 0x1a2f7c(%rip), %rsi    # 0x24a554
movb $0x0, %al
callq 0xf1a0
movq 0x29c9e2(%rip), %rax    # 0x343fc8
movq (%rax), %rdi
callq 0xf360
jmp 0xa75f0
leaq -0x390(%rbp), %rdi
callq 0x12270
jmp 0xa7537
movq 0x29c9b8(%rip), %rax    # 0x343fc0
movq (%rax), %rax
movq %rax, -0x3d8(%rbp)
movq -0x380(%rbp), %rax
movq %rax, -0x3d0(%rbp)
movq -0x8(%rbp), %rdi
callq 0x12330
movq -0x3d8(%rbp), %rdi
movq -0x3d0(%rbp), %rcx
movq %rax, %r8
leaq 0x1a164e(%rip), %rsi    # 0x248c8f
leaq 0x1a2f14(%rip), %rdx    # 0x24a55c
movb $0x0, %al
callq 0xf1a0
movq 0x29c96a(%rip), %rax    # 0x343fc0
movq (%rax), %rdi
callq 0xf360
movl -0xc(%rbp), %eax
addq $0x3e0, %rsp            # imm = 0x3E0
popq %rbp
retq
movq -0x240(%rbp), %rdi
callq 0xf410
nopw %cs:(%rax,%rax)