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

    this->move();
    return tok;
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
movq (%rsi), %rax
movq (%rax), %r13
imulq $0x38, 0x8(%rsi), %r12
movl 0x8(%r13,%r12), %eax
movl %eax, 0x8(%rdi)
movq (%r13,%r12), %rax
movq %rax, (%rdi)
leaq 0x10(%rdi), %r14
leaq 0x20(%rdi), %rax
movq %rax, 0x20(%rsp)
movq %rax, 0x10(%rdi)
movq 0x10(%r13,%r12), %rsi
movq 0x18(%r13,%r12), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x6de8
addq %r12, %r13
movq 0x30(%r13), %rax
movq %rax, 0x30(%rbx)
shrq $0x20, %rax
cmpl %ebp, %eax
jne 0x8b8e
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 0x8edc
incq %rax
movq %rax, 0x8(%r15)
jmp 0x8edc
leaq 0xc8(%rsp), %rdi
movl %ebp, %esi
callq 0x7841
movl $0x7da, 0x10(%r15)      # imm = 0x7DA
leaq 0xcbe4(%rip), %rsi      # 0x15790
leaq 0xa8(%rsp), %rdi
leaq 0xc8(%rsp), %rdx
callq 0xc23d
leaq 0xcbd7(%rip), %rsi      # 0x1579f
leaq 0xa8(%rsp), %rdi
callq 0x33a0
leaq 0x38(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8bfc
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x8c03
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x34(%rbx), %esi
leaq 0x48(%rsp), %rdi
callq 0x7841
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %r8
movq 0x50(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %rbp, %rcx
je 0x8c4a
movq 0x38(%rsp), %rdi
movq 0x48(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x8c6d
leaq 0x58(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x8c68
movq 0x58(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x8c79
leaq 0x28(%rsp), %rdi
callq 0x30c0
jmp 0x8c87
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3230
leaq 0x10(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x8caa
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x8cb0
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xcae9(%rip), %rsi      # 0x157bd
movq %rsp, %rdi
callq 0x33a0
leaq 0x78(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8d03
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x8d09
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x10(%rbx), %rsi
movq 0x18(%rbx), %rdx
callq 0x30c0
leaq 0x98(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8d62
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x8d6a
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xca30(%rip), %rsi      # 0x157c0
callq 0x33a0
leaq 0xf8(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8dc6
movq %rdx, 0xe8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf8(%rsp)
jmp 0x8dce
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0xe8(%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 %r12, %rdi
je 0x8e14
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x31f0
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x8e31
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x31f0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x8e4d
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8e68
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8e83
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x31f0
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x8e9a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8ebb
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8edc
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x31f0
movq %rbx, %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x8f16
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8f16
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x8f37
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8f37
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8f57
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8f57
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8f77
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8f77
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x8f93
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8f93
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8fb9
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8fb9
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8fdf
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8fdf
movq %rax, %rbx
movq (%r14), %rdi
cmpq 0x20(%rsp), %rdi
je 0x8ff9
movq 0x20(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x31f0
movq %rbx, %rdi
callq 0x3350
movq %rax, %rdi
callq 0x6c65
nop