// File: /workspace/github_cpp_makefile_star2_O1/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 $0xa8, %rsp
movq %rdi, %r14
leaq 0x8(%rdi), %rbx
movq 0x40(%rdi), %rsi
cmpq 0x48(%rdi), %rsi
je 0xaef1
movq 0x8(%r14), %rax
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x40(%r14)
jmp 0xaefd
leaq 0x38(%r14), %rdi
movq %rbx, %rdx
callq 0xd056
leaq 0x70(%rsp), %rdi
movq %r14, %rsi
movl $0x6, %edx
xorl %ecx, %ecx
callq 0x86b8
cmpl $0x0, 0x10(%r14)
je 0xaf2c
addq $-0x8, 0x40(%r14)
leaq 0x11a34(%rip), %rax     # 0x1c958
movq (%rax), %r14
jmp 0xb1cd
movq 0x20(%r14), %rdx
movq 0x40(%r14), %rax
movq -0x8(%rax), %rax
movq %rax, 0x8(%r14)
movl $0x0, 0x10(%r14)
leaq 0x18(%r14), %r15
leaq 0xa3d2(%rip), %rcx      # 0x15321
movq %r15, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x32d0
addq $-0x8, 0x40(%r14)
leaq 0x50(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xa3b0(%rip), %rdx      # 0x15321
leaq 0x40(%rsp), %rdi
movq %rdx, %rsi
callq 0x6c06
movq 0x40(%r14), %rsi
cmpq 0x48(%r14), %rsi
movq %rbx, (%rsp)
movq %r15, 0x60(%rsp)
je 0xafa2
movq 0x8(%r14), %rax
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x40(%r14)
jmp 0xafae
leaq 0x38(%r14), %rdi
movq %rbx, %rdx
callq 0xd056
movq %r14, 0x68(%rsp)
leaq 0x1199e(%rip), %rax     # 0x1c958
movq (%rax), %r14
leaq 0x12234(%rip), %r13     # 0x1d1f8
movq 0x68(%rsp), %r15
movq (%r15), %rax
movq (%rax), %rbx
imulq $0x38, 0x8(%r15), %r12
movl 0x8(%rbx,%r12), %eax
movl %eax, 0x10(%rsp)
movq (%rbx,%r12), %rax
movq %rax, 0x8(%rsp)
leaq 0x28(%rsp), %rbp
movq %rbp, 0x18(%rsp)
movq 0x10(%rbx,%r12), %rsi
movq 0x18(%rbx,%r12), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rdi
callq 0x6e14
addq %r12, %rbx
movq 0x30(%rbx), %rax
movq %rax, 0x38(%rsp)
cmpl $0x6, %eax
jne 0xb12a
movq 0x48(%rsp), %rbx
movq 0x18(%rsp), %rdi
cmpq %rbp, %rdi
je 0xb038
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x31f0
cmpq $0x4, %rbx
ja 0xb141
movq (%r15), %rax
movq (%rax), %rbx
imulq $0x38, 0x8(%r15), %r12
movl 0x8(%rbx,%r12), %eax
movl %eax, 0x10(%rsp)
movq (%rbx,%r12), %rax
movq %rax, 0x8(%rsp)
movq %rbp, 0x18(%rsp)
movq 0x10(%rbx,%r12), %rsi
movq 0x18(%rbx,%r12), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rdi
callq 0x6e14
addq %r12, %rbx
movq 0x30(%rbx), %rax
movq %rax, 0x38(%rsp)
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
leaq 0x40(%rsp), %rdi
callq 0x30c0
movq 0x18(%rsp), %rdi
cmpq %rbp, %rdi
je 0xb0b2
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x31f0
movq (%r15), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
movq 0x8(%r15), %rax
sarq $0x3, %rcx
movabsq $0x6db6db6db6db6db7, %rdx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rdx, %rcx
cmpq %rcx, %rax
jae 0xb0e1
incq %rax
movq (%rsp), %rcx
movq %rax, (%rcx)
movq 0x40(%rsp), %rbp
movq 0x48(%rsp), %rbx
xorl %r12d, %r12d
movq 0x18(%r13,%r12), %rdx
cmpq %rbx, %rdx
jne 0xb118
leaq (%r12,%r13), %r15
testq %rdx, %rdx
je 0xb115
movq 0x10(%r15), %rdi
movq %rbp, %rsi
callq 0x3210
testl %eax, %eax
cmoveq %r15, %r14
jmp 0xb118
movq %r15, %r14
addq $0x30, %r12
cmpq $0x420, %r12            # imm = 0x420
jne 0xb0ee
jmp 0xafc4
movq 0x18(%rsp), %rdi
cmpq %rbp, %rdi
je 0xb141
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x31f0
movq 0x20(%r15), %rdx
movq 0x40(%r15), %rax
movq -0x8(%rax), %rax
movq %rax, 0x8(%r15)
movl $0x0, 0x10(%r15)
leaq 0xa1c1(%rip), %rcx      # 0x15321
movq 0x60(%rsp), %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x32d0
addq $-0x8, 0x40(%r15)
movq 0x18(%r14), %rax
testq %rax, %rax
movq (%rsp), %rdi
je 0xb1b1
movq (%r15), %rsi
movq 0x8(%r15), %rcx
movq 0x8(%rsi), %rdx
subq (%rsi), %rdx
sarq $0x3, %rdx
movabsq $0x6db6db6db6db6db7, %rsi # imm = 0x6DB6DB6DB6DB6DB7
imulq %rsi, %rdx
cmpq %rdx, %rcx
jae 0xb1ac
incq %rcx
movq %rcx, (%rdi)
decq %rax
jne 0xb1a1
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0xb1cd
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb1ee
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x31f0
movq %r14, %rax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xb205
movq %rax, %rbx
jmp 0xb245
movq %rax, %rbx
jmp 0xb229
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %rbp, %rdi
je 0xb229
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x31f0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0xb245
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb266
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x31f0
movq %rbx, %rdi
callq 0x3350
jmp 0xb270
movq %rax, %rdi
callq 0x6c96