// File: /workspace/github_cpp_makefile_star2_O2/evincarofautumn[P]protodata/Interpreter.cpp
// Function: Interpreter::run(std::vector<Term, std::allocator<Term>> const&)
void Interpreter::run(const std::vector<Term>& terms) {
  for (auto term : terms) {
    switch (term.type) {
    case Term::NOOP:
      break;
    case Term::PUSH:
      state.push(state.top());
      break;
    case Term::POP:
      if (state.size() <= 1)
        throw std::runtime_error("Mismatched braces.");
      state.pop();
      break;
    case Term::WRITE_SIGNED:
      write_integer(state.top(), term.value.as_signed, output);
      break;
    case Term::WRITE_UNSIGNED:
      write_integer(state.top(), term.value.as_unsigned, output);
      break;
    case Term::WRITE_DOUBLE:
      write_float(state.top(), term.value.as_double, output);
      break;
    case Term::SET_ENDIANNESS:
      state.top().endianness = term.value.as_endianness;
      break;
    case Term::SET_SIGNEDNESS:
      state.top().signedness = term.value.as_signedness;
      break;
    case Term::SET_WIDTH:
      state.top().width = term.value.as_width;
      break;
    case Term::SET_FORMAT:
      state.top().format = term.value.as_format;
      break;
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq (%rsi), %r12
movq 0x8(%rsi), %r13
leaq 0x20(%rdi), %r15
leaq 0x70a1(%rip), %rbp      # 0xb044
movl $0x200, %r14d           # imm = 0x200
cmpq %r13, %r12
je 0x4111
movups (%r12), %xmm0
movaps %xmm0, (%rsp)
movl (%rsp), %eax
decl %eax
cmpl $0x8, %eax
ja 0x4108
movslq (%rbp,%rax,4), %rax
addq %rbp, %rax
jmpq *%rax
movq 0x50(%rbx), %rsi
cmpq 0x58(%rbx), %rsi
jne 0x3fe8
movq 0x68(%rbx), %rax
movq -0x8(%rax), %rsi
addq %r14, %rsi
addq $-0x10, %rsi
movq %r15, %rdi
callq 0x4e20
jmp 0x4108
movq 0x50(%rbx), %rdi
cmpq 0x58(%rbx), %rdi
jne 0x400e
movq 0x68(%rbx), %rax
movq -0x8(%rax), %rdi
addq %r14, %rdi
addq $-0x10, %rdi
leaq 0x8(%rsp), %rsi
movq %rbx, %rdx
callq 0x4867
jmp 0x4108
movq 0x50(%rbx), %rdi
cmpq 0x58(%rbx), %rdi
jne 0x4039
movq 0x68(%rbx), %rax
movq -0x8(%rax), %rdi
addq %r14, %rdi
addq $-0x10, %rdi
leaq 0x8(%rsp), %rsi
movq %rbx, %rdx
callq 0x417f
jmp 0x4108
movq 0x50(%rbx), %rdi
cmpq 0x58(%rbx), %rdi
jne 0x4064
movq 0x68(%rbx), %rax
movq -0x8(%rax), %rdi
addq %r14, %rdi
addq $-0x10, %rdi
leaq 0x8(%rsp), %rsi
movq %rbx, %rdx
callq 0x44f3
jmp 0x4108
movq 0x50(%rbx), %rax
cmpq 0x58(%rbx), %rax
jne 0x408f
movq 0x68(%rbx), %rax
movq -0x8(%rax), %rax
addq %r14, %rax
movl 0x8(%rsp), %ecx
movl %ecx, -0x10(%rax)
jmp 0x4108
movq %r15, %rdi
callq 0x4c88
cmpq $0x1, %rax
jbe 0x4120
movq %r15, %rdi
callq 0x4ebe
jmp 0x4108
movq 0x50(%rbx), %rax
cmpq 0x58(%rbx), %rax
jne 0x40c5
movq 0x68(%rbx), %rax
movq -0x8(%rax), %rax
addq %r14, %rax
movl 0x8(%rsp), %ecx
movl %ecx, -0xc(%rax)
jmp 0x4108
movq 0x50(%rbx), %rax
cmpq 0x58(%rbx), %rax
jne 0x40e3
movq 0x68(%rbx), %rax
movq -0x8(%rax), %rax
addq %r14, %rax
movl 0x8(%rsp), %ecx
movl %ecx, -0x8(%rax)
jmp 0x4108
movq 0x50(%rbx), %rax
cmpq 0x58(%rbx), %rax
jne 0x4101
movq 0x68(%rbx), %rax
movq -0x8(%rax), %rax
addq %r14, %rax
movl 0x8(%rsp), %ecx
movl %ecx, -0x4(%rax)
addq $0x10, %r12
jmp 0x3fa9
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x3120
movq %rax, %rbx
leaq 0x6fb6(%rip), %rsi      # 0xb0e8
movq %rax, %rdi
callq 0x30d0
movq 0xdeaf(%rip), %rsi      # 0x11ff0
movq 0xde48(%rip), %rdx      # 0x11f90
movq %rbx, %rdi
callq 0x3390
movq %rax, %r14
movq %rbx, %rdi
callq 0x3180
movq %r14, %rdi
callq 0x33b0
nop