// File: /workspace/github_cpp_makefile_star2_O1/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 0x6e14
addq %r12, %r13
movq 0x30(%r13), %rax
movq %rax, 0x30(%rbx)
cmpl %ebp, 0x34(%rbx)
jne 0x8b69
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 0x8eb8
incq %rax
movq %rax, 0x8(%r15)
jmp 0x8eb8
leaq 0xc8(%rsp), %rdi
movl %ebp, %esi
callq 0x7841
movl $0x7da, 0x10(%r15)      # imm = 0x7DA
leaq 0xcc09(%rip), %rsi      # 0x15790
leaq 0xa8(%rsp), %rdi
leaq 0xc8(%rsp), %rdx
callq 0xc18d
leaq 0xcbfc(%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 0x8bd7
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x8bde
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, %esi
cmpq %rbp, %rcx
je 0x8c25
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x8c44
leaq 0x58(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x8c3f
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x8c55
movq 0x48(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x30c0
jmp 0x8c63
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 0x8c86
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x8c8c
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 0xcb0d(%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 0x8cdf
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x8ce5
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 0x8d3e
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x8d46
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 0xca54(%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 0x8da2
movq %rdx, 0xe8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf8(%rsp)
jmp 0x8daa
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 0x8df0
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x31f0
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x8e0d
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x31f0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x8e29
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8e44
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8e5f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x31f0
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x8e76
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8e97
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x31f0
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8eb8
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 0x8ef2
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8ef2
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x8f13
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8f13
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8f33
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8f33
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8f53
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8f53
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x8f6f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8f6f
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8f95
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8f95
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8fbb
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x31f0
jmp 0x8fbb
movq %rax, %rbx
movq (%r14), %rdi
cmpq 0x20(%rsp), %rdi
je 0x8fd5
movq 0x20(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x31f0
movq %rbx, %rdi
callq 0x3350
movq %rax, %rdi
callq 0x6c96
nop