// File: /workspace/github_cpp_makefile_star2_O1/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 0x6e14
addq %r14, %r13
movq 0x30(%r13), %rax
movq %rax, 0x30(%rbx)
cmpl %r12d, %eax
jne 0x8738
testl %ebp, %ebp
je 0x8833
cmpl %ebp, 0x34(%rbx)
je 0x8833
testl %ebp, %ebp
je 0x874a
leaq 0x78(%rsp), %rdi
movl %ebp, %esi
callq 0x7841
jmp 0x8757
leaq 0x78(%rsp), %rdi
movl %r12d, %esi
callq 0x7794
movl $0x7da, 0x10(%r15)      # imm = 0x7DA
leaq 0xd02a(%rip), %rsi      # 0x15790
leaq 0x98(%rsp), %rdi
leaq 0x78(%rsp), %rdx
callq 0xc18d
leaq 0xd020(%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 0x87b4
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x87bc
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, %esi
cmpq %r12, %rcx
je 0x8803
movq 0x40(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x8822
leaq 0x60(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x881d
movq 0x60(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x8868
movq 0x50(%rsp), %rsi
leaq 0x30(%rsp), %rdi
callq 0x30c0
jmp 0x8876
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 0x89db
incq %rax
movq %rax, 0x8(%r15)
jmp 0x89db
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 0x889a
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x88a0
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 0xceed(%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 0x88fe
movq %rdx, 0xb8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xc8(%rsp)
jmp 0x8906
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 0x894c
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8967
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8982
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x31f0
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x8999
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x89ba
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x89db
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 0x8a13
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8a13
movq %rax, %rbx
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8a33
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8a33
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x8a4f
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8a4f
movq %rax, %rbx
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8a75
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8a75
movq %rax, %rbx
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8a9b
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8a9b
movq %rax, %rbx
movq 0x70(%rsp), %rax
movq (%rax), %rdi
cmpq 0x28(%rsp), %rdi
je 0x8aba
movq 0x28(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x31f0
movq %rbx, %rdi
callq 0x3350
movq %rax, %rdi
callq 0x6c96