// File: /workspace/github_cpp_makefile_star2_O3/sehe[P]spirit-v2-json/json.cpp
// Function: bool JSON::tryParseJson<boost::spirit::basic_istream_iterator<char, std::char_traits<char>>>(boost::spirit::basic_istream_iterator<char, std::char_traits<char>>&, boost::spirit::basic_istream_iterator<char, std::char_traits<char>>, boost::variant<JSON::Literal<JSON::tag_undefined>, JSON::Literal<JSON::tag_null>, JSON::Bool, boost::recursive_wrapper<JSON::Object>, boost::recursive_wrapper<JSON::Array>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, long, long double>&)
bool tryParseJson(It& f, It l, Value& value) // note: first iterator gets updated
    {
        static const skipper<It> s = {};
        static const parser<It, skipper<It> > p;

        try
        {
            return qi::phrase_parse(f,l,p,s,value);
        } catch(const qi::expectation_failure<It>& e)
        {
            std::string msg;

            boost::utf8_output_iterator<std::back_insert_iterator<std::string>> to_utf8(std::back_inserter(msg));
            // expectation points not currently used, but we could tidy up the
            // grammar to bail on unexpected tokens (future)
            std::copy(e.first, e.last, to_utf8); 

            std::cerr << e.what() << "'" << msg << "'\n";
            return false;
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movb 0x3d3f8(%rip), %al      # 0x45cc0
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
testb %al, %al
je 0x89f8
movb 0x3d699(%rip), %al      # 0x45f78
testb %al, %al
je 0x8a46
movq (%r15), %rax
movq %rax, 0x28(%rsp)
movq 0x8(%r15), %rcx
movq %rcx, 0x30(%rsp)
movq 0x10(%r15), %rdx
movq %rdx, 0x38(%rsp)
testq %rax, %rax
je 0x8931
lock
incl (%rax)
movq 0x28(%rsp), %rax
movq 0x30(%rsp), %rcx
movq 0x38(%rsp), %rdx
movq %rax, 0x8(%rsp)
movq %rcx, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
testq %rax, %rax
je 0x8944
lock
incl (%rax)
jmp 0x8944
movq $0x0, 0x8(%rsp)
movq %rcx, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
movq 0x3d305(%rip), %rax     # 0x45c50
movq 0x3d376(%rip), %rdi     # 0x45cc8
movq %rax, 0x20(%rsp)
cmpq $0x0, 0x28(%rdi)
je 0x89ce
leaq 0xa0(%rsp), %rcx
addq $0x28, %rdi
movq %r14, (%rcx)
leaq 0x8(%rsp), %rdx
leaq 0x20(%rsp), %r8
movq %rbx, %rsi
callq 0x1f0f2
testb %al, %al
je 0x89ce
leaq 0x7(%rsp), %r13
leaq 0x1aad9(%rip), %r14     # 0x23468
leaq 0x8(%rsp), %r15
leaq 0xa0(%rsp), %r12
movq 0x20(%rsp), %rdi
movb $0x1, %bpl
cmpq $0x0, 0x28(%rdi)
je 0x89d0
addq $0x28, %rdi
movq %r13, 0xa0(%rsp)
movq %rbx, %rsi
movq %r15, %rdx
movq %r12, %rcx
movq %r14, %r8
callq 0x1dd56
testb %al, %al
jne 0x899c
jmp 0x89d0
xorl %ebp, %ebp
leaq 0x8(%rsp), %rdi
callq 0x1d414
leaq 0x28(%rsp), %rdi
callq 0x1d414
movl %ebp, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3d2c1(%rip), %r12     # 0x45cc0
movq %r12, %rdi
callq 0x4430
testl %eax, %eax
je 0x88d9
leaq 0x3d23a(%rip), %rdi     # 0x45c50
callq 0x1b30a
leaq 0x12a8e(%rip), %rdi     # 0x1b4b0
leaq 0x3d227(%rip), %rsi     # 0x45c50
leaq 0x3c810(%rip), %rdx     # 0x45240
callq 0x4200
leaq 0x3d284(%rip), %rdi     # 0x45cc0
callq 0x4140
jmp 0x88d9
leaq 0x3d52b(%rip), %r12     # 0x45f78
movq %r12, %rdi
callq 0x4430
testl %eax, %eax
je 0x88e7
leaq 0x3d264(%rip), %rdi     # 0x45cc8
callq 0x1b4e4
leaq 0x1398c(%rip), %rdi     # 0x1c3fc
leaq 0x3d251(%rip), %rsi     # 0x45cc8
leaq 0x3c7c2(%rip), %rdx     # 0x45240
callq 0x4200
leaq 0x3d4ee(%rip), %rdi     # 0x45f78
callq 0x4140
jmp 0x88e7
jmp 0x8a96
movq %r12, %rdi
movq %rax, %rbx
callq 0x4130
jmp 0x8c02
jmp 0x8aa8
leaq 0x8(%rsp), %rdi
movq %rdx, %r14
movq %rax, %rbx
callq 0x1d414
leaq 0x28(%rsp), %rdi
callq 0x1d414
cmpl $0x1, %r14d
jne 0x8c02
movq %rbx, %rdi
callq 0x40c0
leaq 0x80(%rsp), %r14
movq %rax, %rbx
movq %r14, -0x10(%r14)
movq $0x0, -0x8(%r14)
movb $0x0, (%r14)
movq 0x10(%rax), %rax
movq %rax, 0x58(%rsp)
vmovups 0x18(%rbx), %xmm0
vmovups %xmm0, 0x60(%rsp)
testq %rax, %rax
je 0x8b0b
lock
incl (%rax)
movq 0x28(%rbx), %rax
movq %rax, 0x40(%rsp)
vmovups 0x30(%rbx), %xmm0
vmovups %xmm0, 0x48(%rsp)
testq %rax, %rax
je 0x8b27
lock
incl (%rax)
leaq 0x70(%rsp), %rax
leaq 0x98(%rsp), %rcx
movq %rax, (%rcx)
leaq 0x90(%rsp), %rdi
leaq 0x58(%rsp), %rsi
leaq 0x40(%rsp), %rdx
callq 0x1c54d
leaq 0x40(%rsp), %rdi
callq 0x1d414
leaq 0x58(%rsp), %rdi
callq 0x1d414
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
movq 0x3c47e(%rip), %rdi     # 0x44ff0
movq %rax, %rsi
callq 0x4240
leaq 0x28a5c(%rip), %rsi     # 0x315dd
movl $0x1, %edx
movq %rax, %rdi
movq %rax, %rbx
callq 0x4290
movq 0x78(%rsp), %rdx
movq 0x70(%rsp), %rsi
movq %rbx, %rdi
callq 0x4290
leaq 0x28a35(%rip), %rsi     # 0x315df
movl $0x2, %edx
movq %rax, %rdi
callq 0x4290
movq 0x70(%rsp), %rdi
cmpq %r14, %rdi
je 0x8bc6
callq 0x4210
callq 0x43b0
xorl %ebp, %ebp
jmp 0x89e4
leaq 0x40(%rsp), %rdi
movq %rax, %rbx
callq 0x1d414
leaq 0x58(%rsp), %rdi
callq 0x1d414
jmp 0x8bee
movq %rax, %rbx
movq 0x70(%rsp), %rdi
cmpq %r14, %rdi
je 0x8bfd
callq 0x4210
callq 0x43b0
movq %rbx, %rdi
callq 0x4410
movq %rax, %rdi
callq 0x4a96