// File: /workspace/github_cpp_makefile_star2_O2/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 %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x78, %rsp
movb 0x481c9(%rip), %al      # 0x4fcf0
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
testb %al, %al
je 0x7b96
movb 0x4846e(%rip), %al      # 0x4ffa8
testb %al, %al
je 0x7be0
movq (%r15), %rax
movq %rax, 0x30(%rsp)
vmovups 0x8(%r15), %xmm0
vmovups %xmm0, 0x38(%rsp)
testq %rax, %rax
je 0x7b5e
lock
incl (%rax)
leaq 0x48193(%rip), %rdx     # 0x4fcf8
leaq 0x48114(%rip), %rcx     # 0x4fc80
leaq 0x30(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %r8
callq 0x1d737
leaq 0x30(%rsp), %rdi
movl %eax, %ebx
callq 0x1e728
movl %ebx, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x48153(%rip), %r12     # 0x4fcf0
movq %r12, %rdi
callq 0x4490
testl %eax, %eax
je 0x7b34
leaq 0x480d0(%rip), %rdi     # 0x4fc80
callq 0x1c718
leaq 0x14cc6(%rip), %rdi     # 0x1c882
leaq 0x480bd(%rip), %rsi     # 0x4fc80
leaq 0x476a6(%rip), %rdx     # 0x4f270
callq 0x4220
leaq 0x4811a(%rip), %rdi     # 0x4fcf0
callq 0x4170
jmp 0x7b34
leaq 0x483c1(%rip), %r12     # 0x4ffa8
movq %r12, %rdi
callq 0x4490
testl %eax, %eax
je 0x7b42
leaq 0x480fa(%rip), %rdi     # 0x4fcf8
callq 0x1c89c
leaq 0x15ab6(%rip), %rdi     # 0x1d6c0
leaq 0x480e7(%rip), %rsi     # 0x4fcf8
leaq 0x47658(%rip), %rdx     # 0x4f270
callq 0x4220
leaq 0x48384(%rip), %rdi     # 0x4ffa8
callq 0x4170
jmp 0x7b42
jmp 0x7c30
movq %r12, %rdi
movq %rax, %rbx
callq 0x4160
jmp 0x7d60
leaq 0x30(%rsp), %rdi
movq %rdx, %r14
movq %rax, %rbx
callq 0x1e728
cmpl $0x1, %r14d
jne 0x7d60
movq %rbx, %rdi
callq 0x40e0
leaq 0x58(%rsp), %rcx
movq %rax, %rbx
movq %rcx, -0x10(%rcx)
andq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
movq 0x10(%rbx), %rax
movq %rax, 0x18(%rsp)
vmovups 0x18(%rbx), %xmm0
vmovups %xmm0, 0x20(%rsp)
testq %rax, %rax
je 0x7c92
lock
incl (%rax)
movq 0x28(%rbx), %rax
movq %rax, (%rsp)
vmovups 0x30(%rbx), %xmm0
vmovups %xmm0, 0x8(%rsp)
testq %rax, %rax
je 0x7cad
lock
incl (%rax)
leaq 0x48(%rsp), %rax
leaq 0x70(%rsp), %rcx
movq %rax, (%rcx)
leaq 0x68(%rsp), %rdi
leaq 0x18(%rsp), %rsi
movq %rsp, %rdx
callq 0x1d790
movq %rsp, %rdi
callq 0x1e728
leaq 0x18(%rsp), %rdi
callq 0x1e728
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
movq 0x47302(%rip), %rdi     # 0x4eff0
movq %rax, %rsi
callq 0x4260
leaq 0x2c986(%rip), %rsi     # 0x34683
movq %rax, %rdi
callq 0x4260
leaq 0x48(%rsp), %rsi
movq %rax, %rdi
callq 0x4230
leaq 0x2c96c(%rip), %rsi     # 0x34685
movq %rax, %rdi
callq 0x4260
leaq 0x48(%rsp), %rdi
callq 0x4100
callq 0x4410
xorl %ebx, %ebx
jmp 0x7b88
movq %rsp, %rdi
movq %rax, %rbx
callq 0x1e728
leaq 0x18(%rsp), %rdi
callq 0x1e728
jmp 0x7d51
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x4100
callq 0x4410
movq %rbx, %rdi
callq 0x4470
movq %rax, %rdi
callq 0x491c