// File: /workspace/github_cpp_makefile_star2_O3/AgathokakologicalBit[P]wit/src/parsing/parsing.cpp
// Function: akbit::system::parsing::ParserState::consume(akbit::system::parsing::TokenType, akbit::system::parsing::TokenSubType)
Token ParserState::consume(TokenType const type, TokenSubType const subtype)
  {
    Token tok = this->peek();
    if (type != tok.type || (subtype != TokenSubType::t_unknown && subtype != tok.sub_type))
    {
      std::string expected = (subtype != TokenSubType::t_unknown ? get_sub_type_name(subtype) : get_type_name(type));
      this->error.code = error_t::p_unexpected_token;
      this->error.message = "[somewhere]: <" + expected + "> expected, but <"
      + get_sub_type_name(tok.sub_type) + "> was given";
      return tok;
    }

    this->move();
    return tok;
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movl %ecx, %ebp
movl %edx, %r12d
movq %rsi, %r15
movq %rdi, %rbx
movq (%rsi), %rax
movq (%rax), %r13
imulq $0x38, 0x8(%rsi), %r14
movl 0x8(%r13,%r14), %eax
movl %eax, 0x8(%rdi)
movq (%r13,%r14), %rax
movq %rax, (%rdi)
addq $0x10, %rdi
leaq 0x20(%rbx), %rax
movq %rax, 0x28(%rsp)
movq %rax, 0x10(%rbx)
movq 0x10(%r13,%r14), %rsi
movq 0x18(%r13,%r14), %rdx
addq %rsi, %rdx
movq %rdi, 0x70(%rsp)
callq 0x6de8
addq %r14, %r13
movq 0x30(%r13), %rax
movq %rax, 0x30(%rbx)
cmpl %r12d, %eax
jne 0x8790
testl %ebp, %ebp
je 0x875b
shrq $0x20, %rax
cmpl %ebp, %eax
jne 0x8794
movq (%r15), %rcx
movq 0x8(%r15), %rax
movq 0x8(%rcx), %rdx
subq (%rcx), %rdx
sarq $0x3, %rdx
movabsq $0x6db6db6db6db6db7, %rcx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rdx, %rcx
cmpq %rcx, %rax
jae 0x89fd
incq %rax
movq %rax, 0x8(%r15)
jmp 0x89fd
testl %ebp, %ebp
je 0x87a2
leaq 0x78(%rsp), %rdi
movl %ebp, %esi
callq 0x7841
jmp 0x87af
leaq 0x78(%rsp), %rdi
movl %r12d, %esi
callq 0x7794
movl $0x7da, 0x10(%r15)      # imm = 0x7DA
leaq 0xcfd2(%rip), %rsi      # 0x15790
leaq 0x98(%rsp), %rdi
leaq 0x78(%rsp), %rdx
callq 0xc23d
leaq 0xcfc8(%rip), %rsi      # 0x1579f
leaq 0x98(%rsp), %rdi
callq 0x33a0
leaq 0x40(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x880c
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x8814
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x34(%rbx), %esi
leaq 0x50(%rsp), %rdi
callq 0x7841
movq 0x30(%rsp), %rcx
movq 0x38(%rsp), %r8
movq 0x58(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r12, %rcx
je 0x885b
movq 0x40(%rsp), %rdi
movq 0x50(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x887e
leaq 0x60(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x8879
movq 0x60(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x888a
leaq 0x30(%rsp), %rdi
callq 0x30c0
jmp 0x8898
leaq 0x50(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3230
leaq 0x18(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x88bc
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x88c2
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xcecb(%rip), %rsi      # 0x157b1
leaq 0x8(%rsp), %rdi
callq 0x33a0
leaq 0xc8(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8920
movq %rdx, 0xb8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xc8(%rsp)
jmp 0x8928
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0xb8(%rsp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
addq $0x18, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x3270
movq (%r14), %rdi
cmpq %r13, %rdi
je 0x896e
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8989
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x89a4
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x31f0
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x89bb
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x89dc
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x89fd
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x31f0
movq %rbx, %rax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8a35
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8a35
movq %rax, %rbx
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8a55
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8a55
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x8a71
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8a71
movq %rax, %rbx
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8a97
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8a97
movq %rax, %rbx
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8abd
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8abd
movq %rax, %rbx
movq 0x70(%rsp), %rax
movq (%rax), %rdi
cmpq 0x28(%rsp), %rdi
je 0x8adc
movq 0x28(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x31f0
movq %rbx, %rdi
callq 0x3350
movq %rax, %rdi
callq 0x6c65