// File: /workspace/github_cpp_makefile_star2_O3/AgathokakologicalBit[P]wit/src/parsing/parsing.cpp
// Function: akbit::system::parsing::(anonymous namespace)::parse_operator(akbit::system::parsing::ParserState&)
operator_t const & parse_operator(ParserState &state)
    {
      state.save();
      Token t = state.consume(TokenType::t_operator);
      if (state.is_failed())
      {
        state.drop();
        return operator_unknown;
      }
      state.restore();

      operator_t const * operation = &operator_unknown;
      std::string representation = "";
      state.save();

      while (state.peek().type == TokenType::t_operator && representation.size() < 5)
      {
        representation += state.peek().value;
        state.move();

        for (std::size_t index = 0; index < operators_list.size(); ++index)
          if (operators_list[index].representation == representation)
            operation = &operators_list[index];
      }

      state.restore();
      for (std::size_t i = 0; i < operation->representation.size(); ++i)
          state.move();

      return *operation;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %r12
leaq 0x8(%rdi), %rbx
movq 0x40(%rdi), %rsi
cmpq 0x48(%rdi), %rsi
je 0xaf3c
movq 0x8(%r12), %rax
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x40(%r12)
jmp 0xaf49
leaq 0x38(%r12), %rdi
movq %rbx, %rdx
callq 0xd04a
leaq 0x80(%rsp), %rdi
movq %r12, %rsi
movl $0x6, %edx
xorl %ecx, %ecx
callq 0x86e0
cmpl $0x0, 0x10(%r12)
je 0xaf7d
addq $-0x8, 0x40(%r12)
leaq 0x11a1b(%rip), %rax     # 0x1c990
movq (%rax), %rbx
jmp 0xb243
movq 0x20(%r12), %rdx
movq 0x40(%r12), %rax
movq -0x8(%rax), %rax
movq %rax, 0x8(%r12)
leaq 0x18(%r12), %r14
leaq 0xa385(%rip), %rcx      # 0x15321
movq %r14, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x32d0
addq $-0x8, 0x40(%r12)
leaq 0x60(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xa362(%rip), %rdx      # 0x15321
leaq 0x50(%rsp), %rdi
movq %rdx, %rsi
callq 0x6bd0
movq 0x40(%r12), %rsi
cmpq 0x48(%r12), %rsi
movq %rbx, 0x40(%rsp)
movq %r14, 0x70(%rsp)
je 0xaff5
movq 0x8(%r12), %r14
movq %r14, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x40(%r12)
jmp 0xb005
leaq 0x38(%r12), %rdi
movq %rbx, %rdx
callq 0xd04a
movq (%rbx), %r14
leaq 0x11984(%rip), %rax     # 0x1c990
movq (%rax), %rax
movq %rax, 0x48(%rsp)
leaq 0x28(%rsp), %rbp
movq (%r12), %rax
movq (%rax), %r13
leaq 0x121d1(%rip), %rbx     # 0x1d1f8
movq %r12, 0x78(%rsp)
imulq $0x38, %r14, %r14
movl 0x8(%r13,%r14), %eax
movl %eax, 0x10(%rsp)
movq (%r13,%r14), %rax
movq %rax, 0x8(%rsp)
movq %rbp, 0x18(%rsp)
movq 0x10(%r13,%r14), %rsi
movq 0x18(%r13,%r14), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rdi
callq 0x6de8
addq %r14, %r13
movq 0x30(%r13), %rax
movq %rax, 0x38(%rsp)
cmpl $0x6, %eax
jne 0xb193
movq 0x58(%rsp), %r14
movq 0x18(%rsp), %rdi
cmpq %rbp, %rdi
je 0xb090
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x31f0
cmpq $0x4, %r14
ja 0xb1aa
movq (%r12), %rax
movq (%rax), %r14
imulq $0x38, 0x8(%r12), %r15
movl 0x8(%r14,%r15), %eax
movl %eax, 0x10(%rsp)
movq (%r14,%r15), %rax
movq %rax, 0x8(%rsp)
movq %rbp, 0x18(%rsp)
movq 0x10(%r14,%r15), %rsi
movq 0x18(%r14,%r15), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rdi
callq 0x6de8
addq %r15, %r14
movq 0x30(%r14), %rax
movq %rax, 0x38(%rsp)
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
leaq 0x50(%rsp), %rdi
callq 0x30c0
movq 0x18(%rsp), %rdi
cmpq %rbp, %rdi
je 0xb10c
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x31f0
movq (%r12), %rax
movq 0x8(%r12), %r14
movq (%rax), %r13
movq 0x8(%rax), %rax
subq %r13, %rax
sarq $0x3, %rax
movabsq $0x6db6db6db6db6db7, %rcx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rcx, %rax
cmpq %rax, %r14
jae 0xb141
incq %r14
movq 0x40(%rsp), %rax
movq %r14, (%rax)
movq 0x50(%rsp), %rbp
movq 0x58(%rsp), %r12
xorl %r15d, %r15d
cmpq %r12, 0x18(%rbx,%r15)
jne 0xb177
testq %r12, %r12
je 0xb16e
movq 0x10(%rbx,%r15), %rdi
movq %rbp, %rsi
movq %r12, %rdx
callq 0x3210
testl %eax, %eax
jne 0xb177
leaq (%rbx,%r15), %rax
movq %rax, 0x48(%rsp)
addq $0x30, %r15
cmpq $0x420, %r15            # imm = 0x420
jne 0xb14e
movq 0x78(%rsp), %r12
leaq 0x28(%rsp), %rbp
jmp 0xb02c
movq 0x18(%rsp), %rdi
cmpq %rbp, %rdi
je 0xb1aa
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x31f0
movq 0x20(%r12), %rdx
movq 0x40(%r12), %rax
movq -0x8(%rax), %rax
movq %rax, 0x8(%r12)
movl $0x0, 0x10(%r12)
leaq 0xa154(%rip), %rcx      # 0x15321
movq 0x70(%rsp), %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x32d0
movq 0x40(%rsp), %rdi
addq $-0x8, 0x40(%r12)
movq 0x48(%rsp), %rbx
movq 0x18(%rbx), %rax
testq %rax, %rax
leaq 0x60(%rsp), %r8
je 0xb22c
movq (%r12), %rsi
movq 0x8(%r12), %rcx
movq 0x8(%rsi), %rdx
subq (%rsi), %rdx
sarq $0x3, %rdx
movabsq $0x6db6db6db6db6db7, %rsi # imm = 0x6DB6DB6DB6DB6DB7
imulq %rsi, %rdx
cmpq %rdx, %rcx
jae 0xb227
incq %rcx
movq %rcx, (%rdi)
decq %rax
jne 0xb21c
movq 0x50(%rsp), %rdi
cmpq %r8, %rdi
je 0xb243
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0xa0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb264
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x31f0
movq %rbx, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xb27b
movq %rax, %rbx
jmp 0xb2bb
movq %rax, %rbx
jmp 0xb29f
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %rbp, %rdi
je 0xb29f
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x31f0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xb2bb
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0xa0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb2dc
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x31f0
movq %rbx, %rdi
callq 0x3350
jmp 0xb2e6
movq %rax, %rdi
callq 0x6c65