// File: /workspace/github_cpp_makefile_star2_O3/neguse[P]no/lang.cc
// Function: LangInterpreter::Eval(std::shared_ptr<Node>, std::shared_ptr<LangInterpreter::Frame>)
Value::Ref Eval(Node::Ref n, Frame::Ref e) {
    switch (n->st) {
    case SyntaxType::Program:
    case SyntaxType::ProgramCont: {
      auto v = Eval(n->a, e);
      if (n->d->st == SyntaxType::ProgramEnd) {
        return v;
      } else {
        return Eval(n->d, e);
      }
    } break;
    case SyntaxType::AssignExp: {
      auto k = n->a->c;
      auto v = Eval(n->d, e);
      e->Extend(k, v);
      return v;
    } break;
    case SyntaxType::CallExp: {
      auto cv = Eval(n->a, e);
      auto c = cv->GetClosure();
      Frame::Ref f = std::make_shared<Frame>();
      f->parent = c->e;

      if (c->t == ClosureType::User) {

        auto larg = c->p->a;
        auto carg = n->d;
        for (;;) {
          if (larg->st == SyntaxType::LambdaArgListEnd &&
              carg->st == SyntaxType::CallArgListEnd) {
            break;
          }
          assert(larg->st != SyntaxType::LambdaArgListEnd);
          assert(carg->st != SyntaxType::CallArgListEnd);
          auto arg = Eval(carg->a, e);
          f->Extend(larg->a->c, arg);
          larg = larg->d;
          carg = carg->d;
        }
        return Eval(c->p->d, f);
      } else {
        switch (c->t) {
        case ClosureType::I:
          return ReadI();
        case ClosureType::S:
          return ReadS();
        case ClosureType::A: {
          auto l = Eval(n->d->a, e);
          return l->GetList()->car;
        }
        case ClosureType::D: {
          auto l = Eval(n->d->a, e);
          return l->GetList()->cdr;
        }
        }
        assert(0);
        return nullptr;
      }
    } break;
    case SyntaxType::LambdaExp: {
      Value::Ref v = std::make_shared<Value>();
      v->SetClosure(std::make_shared<Closure>(Closure{e, n}));
      return v;
    } break;
    case SyntaxType::OpExp: {
      auto a1 = Eval(n->a, e);
      auto a2 = Eval(n->d, e);
      Value::Ref v = std::make_shared<Value>();
      switch (n->c) {
      case '+':
        v->SetInteger(a1->GetInteger() + a2->GetInteger());
        return v;
      case '-':
        v->SetInteger(a1->GetInteger() - a2->GetInteger());
        return v;
      case '=':
        if (a1->kind != a2->kind) {
          v->SetInteger(0);
        } else if (a1->kind == ValueKind::Integer) {
          v->SetInteger(a1->GetInteger() == a2->GetInteger() ? 1 : 0);
        } else if (a1->kind == ValueKind::List) {
          v->SetInteger(a1->GetList() == a2->GetList() ? 1 : 0);
        }
        return v;
      case '<':
        v->SetInteger(a1->GetInteger() < a2->GetInteger() ? 1 : 0);
        return v;
      case '>':
        v->SetInteger(a1->GetInteger() > a2->GetInteger() ? 1 : 0);
        return v;
      case ':': {
        auto c = std::make_shared<Cons>(Cons{a1, a2});
        v->SetList(c);
        return v;
      }
      }
      assert(0);
      return nullptr;
    } break;
    case SyntaxType::IfExp: {
      auto cond = Eval(n->a, e);
      if (cond->True()) {
        return Eval(n->d->a, e);
      } else {
        return Eval(n->d->d, e);
      }
    } break;
    case SyntaxType::Hex2: {
      Value::Ref v = std::make_shared<Value>();
      int i = (hex2i(n->a->c) << 4) | hex2i(n->d->c);
      v->SetInteger(i);
      return v;
    } break;
    case SyntaxType::Hex: {
      Value::Ref v = std::make_shared<Value>();
      v->SetInteger(hex2i(n->c));
      return v;
    } break;
    case SyntaxType::Variable: {
      return e->Get(n->c);
    } break;
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq %rcx, %r15
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdx), %rax
movl 0x30(%rax), %ecx
decl %ecx
leaq 0x2cc4(%rip), %rdx      # 0x8020
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movq 0x8(%rax), %rcx
movq %rcx, 0x218(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x220(%rsp)
testq %rax, %rax
je 0x55e6
movq 0x5c43(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x55e2
incl 0x8(%rax)
jmp 0x55e6
movq (%r15), %rsi
movsbl (%rax), %edx
movq %rbx, %rdi
callq 0x7086
jmp 0x6352
movq 0x8(%rax), %rcx
movq 0x18(%rax), %rdx
movb (%rcx), %bpl
movq %rdx, 0x1d8(%rsp)
movq 0x20(%rax), %rax
movq %rax, 0x1e0(%rsp)
testq %rax, %rax
je 0x56b8
movq 0x5bf0(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x56b4
incl 0x8(%rax)
jmp 0x56b8
movl $0x40, %edi
callq 0x20f0
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, 0x8(%rax)
leaq 0x58c0(%rip), %rcx      # 0xacd0
movq %rcx, (%rax)
leaq 0x10(%rax), %rcx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
movq %rax, 0x8(%rbx)
movq %rcx, (%rbx)
movq (%r13), %rcx
movq 0x8(%rcx), %rdx
movq 0x18(%rcx), %rcx
movsbl (%rdx), %edx
leal -0x30(%rdx), %esi
leal -0x57(%rdx), %edi
addl $-0x30, %edx
cmpb $0xa, %sil
cmovael %edi, %edx
shll $0x4, %edx
movsbl (%rcx), %ecx
leal -0x30(%rcx), %esi
leal -0x57(%rcx), %edi
addl $-0x30, %ecx
cmpb $0xa, %sil
cmovael %edi, %ecx
orl %edx, %ecx
jmp 0x552d
movq 0x8(%rax), %rcx
movq %rcx, 0x118(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x120(%rsp)
testq %rax, %rax
je 0x5767
movq 0x5b3f(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5763
incl 0x8(%rax)
jmp 0x5767
movq 0x8(%rax), %rcx
movq %rcx, 0xd8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0xe0(%rsp)
testq %rax, %rax
je 0x581a
movq 0x5b06(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5816
incl 0x8(%rax)
jmp 0x581a
movl $0x40, %edi
callq 0x20f0
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, 0x8(%rax)
leaq 0x57d6(%rip), %rcx      # 0xacd0
movq %rcx, (%rax)
leaq 0x10(%rax), %rcx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
movq %rax, 0x8(%rbx)
movq %rcx, (%rbx)
movq (%r13), %rcx
movsbl (%rcx), %ecx
leal -0x30(%rcx), %edx
leal -0x57(%rcx), %esi
addl $-0x30, %ecx
cmpb $0xa, %dl
cmovael %esi, %ecx
movl %ecx, 0x18(%rax)
jmp 0x6352
movl $0x40, %edi
callq 0x20f0
movq %rax, %r14
movabsq $0x100000001, %r12      # imm = 0x100000001
movq %r12, 0x8(%rax)
leaq 0x5779(%rip), %rax      # 0xacd0
movq %rax, (%r14)
leaq 0x10(%r14), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r14)
movups %xmm0, 0x20(%r14)
movups %xmm0, 0x30(%r14)
movq %r14, 0x8(%rbx)
movq %rax, (%rbx)
movq (%r15), %rax
movq %rax, 0x40(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x5918
movq 0x5a38(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5914
incl 0x8(%rax)
jmp 0x5918
movq 0x8(%rax), %rcx
movq %rcx, 0x1b8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x1c0(%rsp)
testq %rax, %rax
je 0x59ba
movq 0x59ff(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x59b6
incl 0x8(%rax)
jmp 0x59ba
lock
incl 0x8(%rax)
movq (%r15), %rax
movq %rax, 0x208(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x210(%rsp)
testq %rax, %rax
je 0x5617
movq 0x59c7(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5613
incl 0x8(%rax)
jmp 0x5617
lock
incl 0x8(%rax)
leaq 0x40(%rsp), %rdi
leaq 0x218(%rsp), %rdx
leaq 0x208(%rsp), %rcx
movq %r14, %rsi
callq 0x5330
movq 0x210(%rsp), %rdi
testq %rdi, %rdi
je 0x5646
callq 0x4f24
movq 0x220(%rsp), %rdi
testq %rdi, %rdi
je 0x5658
callq 0x4f24
movq (%r13), %rax
movq 0x18(%rax), %rcx
cmpl $0x3, 0x30(%rcx)
jne 0x567f
movaps 0x40(%rsp), %xmm0
xorl %eax, %eax
movq %rax, 0x48(%rsp)
movups %xmm0, (%rbx)
movq %rax, 0x40(%rsp)
jmp 0x6343
movq %rcx, 0x1f8(%rsp)
movq 0x20(%rax), %rax
movq %rax, 0x200(%rsp)
testq %rax, %rax
je 0x5b3f
movq 0x592d(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5b3b
incl 0x8(%rax)
jmp 0x5b3f
lock
incl 0x8(%rax)
movq (%r15), %rax
movq %rax, 0x1c8(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x1d0(%rsp)
testq %rax, %rax
je 0x56e9
movq 0x58f5(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x56e5
incl 0x8(%rax)
jmp 0x56e9
lock
incl 0x8(%rax)
leaq 0x1d8(%rsp), %rdx
leaq 0x1c8(%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5330
movq 0x1d0(%rsp), %rdi
testq %rdi, %rdi
je 0x5716
callq 0x4f24
movq 0x1e0(%rsp), %rdi
testq %rdi, %rdi
je 0x5728
callq 0x4f24
movq (%r15), %rdi
movq (%rbx), %rax
movq %rax, 0x228(%rsp)
movq 0x8(%rbx), %rax
movq %rax, 0x230(%rsp)
testq %rax, %rax
je 0x5b04
movq 0x587e(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5b00
incl 0x8(%rax)
jmp 0x5b04
lock
incl 0x8(%rax)
movq (%r15), %rax
movq %rax, 0x108(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x110(%rsp)
testq %rax, %rax
je 0x5798
movq 0x5846(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5794
incl 0x8(%rax)
jmp 0x5798
lock
incl 0x8(%rax)
leaq 0x20(%rsp), %rdi
leaq 0x118(%rsp), %rdx
leaq 0x108(%rsp), %rcx
movq %r14, %rsi
callq 0x5330
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0x57c7
callq 0x4f24
movq 0x120(%rsp), %rdi
testq %rdi, %rdi
je 0x57d9
callq 0x4f24
movq (%r13), %rax
movq 0x18(%rax), %rcx
movq %rcx, 0xf8(%rsp)
movq 0x20(%rax), %rax
movq %rax, 0x100(%rsp)
testq %rax, %rax
je 0x5bae
movq 0x57cb(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5baa
incl 0x8(%rax)
jmp 0x5bae
lock
incl 0x8(%rax)
movq (%r15), %rax
movq %rax, 0xc8(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0xd0(%rsp)
testq %rax, %rax
je 0x584b
movq 0x5793(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5847
incl 0x8(%rax)
jmp 0x584b
lock
incl 0x8(%rax)
leaq 0x40(%rsp), %rdi
leaq 0xd8(%rsp), %rdx
leaq 0xc8(%rsp), %rcx
movq %r14, %rsi
callq 0x5330
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x587a
callq 0x4f24
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x588c
callq 0x4f24
movq 0x40(%rsp), %rdi
callq 0x7040
movq (%r13), %rcx
movq 0x18(%rcx), %rcx
testb %al, %al
je 0x58db
movq 0x8(%rcx), %rax
movq %rax, 0xb8(%rsp)
movq 0x10(%rcx), %rax
movq %rax, 0xc0(%rsp)
testq %rax, %rax
je 0x5e58
movq 0x5706(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5e54
incl 0x8(%rax)
jmp 0x5e58
movq 0x18(%rcx), %rax
movq %rax, 0x98(%rsp)
movq 0x20(%rcx), %rax
movq %rax, 0xa0(%rsp)
testq %rax, %rax
je 0x5e89
movq 0x56cd(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5e85
incl 0x8(%rax)
jmp 0x5e89
lock
incl 0x8(%rax)
movq (%r13), %rax
movq %rax, 0x50(%rsp)
movq 0x8(%r13), %rax
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x5944
movq 0x569a(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5940
incl 0x8(%rax)
jmp 0x5944
lock
incl 0x8(%rax)
movl $0x0, 0x60(%rsp)
movl $0x38, %edi
callq 0x20f0
leaq 0x250(%rsp), %r15
movq %r12, 0x8(%rax)
leaq 0x53b7(%rip), %rcx      # 0xad20
movq %rcx, (%rax)
movq %rax, %rcx
addq $0x10, %rcx
movaps 0x40(%rsp), %xmm0
movups %xmm0, 0x10(%rax)
movaps 0x50(%rsp), %xmm0
movups %xmm0, 0x20(%rax)
movl $0x0, 0x30(%rax)
movq %rax, (%r15)
movq %rcx, -0x8(%r15)
movl $0x2, 0x10(%r14)
movq %rcx, 0x30(%r14)
addq $0x38, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0x6b56
movq (%r15), %rdi
jmp 0x6348
lock
incl 0x8(%rax)
movq (%r15), %rax
movq %rax, 0x1a8(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x1b0(%rsp)
testq %rax, %rax
je 0x59eb
movq 0x55f3(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x59e7
incl 0x8(%rax)
jmp 0x59eb
lock
incl 0x8(%rax)
leaq 0x40(%rsp), %rdi
leaq 0x1b8(%rsp), %rdx
leaq 0x1a8(%rsp), %rcx
movq %r14, %rsi
callq 0x5330
movq 0x1b0(%rsp), %rdi
testq %rdi, %rdi
je 0x5a1a
callq 0x4f24
movq 0x1c0(%rsp), %rdi
testq %rdi, %rdi
je 0x5a2c
callq 0x4f24
movq 0x40(%rsp), %rsi
leaq 0x20(%rsp), %rdi
callq 0x6e92
movl $0x50, %edi
callq 0x20f0
movq %rax, %r12
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x8(%r12)
leaq 0x5222(%rip), %rax      # 0xac80
movq %rax, (%r12)
leaq 0x28(%r12), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r12)
movups %xmm0, 0x20(%r12)
xorl %ecx, %ecx
movq %rcx, 0x30(%r12)
movq %rax, 0x38(%r12)
movq %rax, 0x40(%r12)
movq %rcx, 0x48(%r12)
movq 0x20(%rsp), %rsi
movq (%rsi), %rax
movq %rax, 0x10(%r12)
leaq 0x18(%r12), %rdi
addq $0x8, %rsi
callq 0x6b56
movq 0x20(%rsp), %rax
movl 0x20(%rax), %ecx
cmpq $0x4, %rcx
ja 0x6531
leaq 0x25c0(%rip), %rdx      # 0x8080
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movq 0x10(%rax), %rax
movq 0x8(%rax), %rcx
movq %rcx, 0x10(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x18(%rsp)
testq %rax, %rax
je 0x6090
movq 0x54e1(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x608c
incl 0x8(%rax)
jmp 0x6090
lock
incl 0x8(%rax)
leaq 0x40(%rsp), %rsi
movb %bpl, (%rsi)
addq $0x10, %rdi
callq 0x6c1e
leaq 0x230(%rsp), %r14
movq -0x8(%r14), %rcx
movq %rcx, (%rax)
addq $0x8, %rax
movq %rax, %rdi
movq %r14, %rsi
callq 0x6b56
movq (%r14), %rdi
jmp 0x6348
lock
incl 0x8(%rax)
movq (%r15), %rax
movq %rax, 0x1e8(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x1f0(%rsp)
testq %rax, %rax
je 0x5b70
movq 0x546e(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5b6c
incl 0x8(%rax)
jmp 0x5b70
lock
incl 0x8(%rax)
leaq 0x1f8(%rsp), %rdx
leaq 0x1e8(%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5330
movq 0x1f0(%rsp), %rdi
testq %rdi, %rdi
je 0x5b9d
callq 0x4f24
movq 0x200(%rsp), %rdi
jmp 0x6339
lock
incl 0x8(%rax)
movq (%r15), %rax
movq %rax, 0xe8(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0xf0(%rsp)
testq %rax, %rax
je 0x5bdf
movq 0x53ff(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5bdb
incl 0x8(%rax)
jmp 0x5bdf
lock
incl 0x8(%rax)
leaq 0x10(%rsp), %rdi
leaq 0xf8(%rsp), %rdx
leaq 0xe8(%rsp), %rcx
movq %r14, %rsi
callq 0x5330
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0x5c0e
callq 0x4f24
movq 0x100(%rsp), %rdi
testq %rdi, %rdi
je 0x5c20
callq 0x4f24
movl $0x40, %edi
callq 0x20f0
movq %rax, %r15
movabsq $0x100000001, %r12      # imm = 0x100000001
movq %r12, 0x8(%rax)
leaq 0x508e(%rip), %rax      # 0xacd0
movq %rax, (%r15)
leaq 0x10(%r15), %rbp
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r15)
movups %xmm0, 0x20(%r15)
movups %xmm0, 0x30(%r15)
movq (%r13), %rax
movzbl (%rax), %eax
leal -0x3a(%rax), %ecx
cmpl $0x4, %ecx
ja 0x5caf
leaq 0x23fb(%rip), %rax      # 0x806c
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x636b
movq 0x5332(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x6367
incl 0x8(%rax)
jmp 0x636b
cmpl $0x2b, %eax
je 0x5e0e
cmpl $0x2d, %eax
jne 0x64f3
movq 0x20(%rsp), %rax
cmpl $0x0, (%rax)
jne 0x64d4
movq 0x10(%rsp), %rcx
cmpl $0x0, (%rcx)
jne 0x64d4
movl 0x8(%rax), %eax
subl 0x8(%rcx), %eax
movl %eax, 0x18(%r15)
jmp 0x5e34
movq (%r13), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rcx
movq %rcx, 0x138(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x140(%rsp)
testq %rax, %rax
je 0x5f36
movq 0x52b4(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5f32
incl 0x8(%rax)
jmp 0x5f36
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6f54
jmp 0x632c
movq (%r13), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rcx
movq %rcx, 0x158(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x160(%rsp)
testq %rax, %rax
je 0x5fd1
movq 0x5263(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5fcd
incl 0x8(%rax)
jmp 0x5fd1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ee4
jmp 0x632c
movq 0x20(%rsp), %rax
cmpl $0x0, (%rax)
jne 0x64d4
movq 0x10(%rsp), %rcx
cmpl $0x0, (%rcx)
jne 0x64d4
movl 0x8(%rax), %eax
xorl %edx, %edx
cmpl 0x8(%rcx), %eax
setl %dl
jmp 0x5e08
movq 0x20(%rsp), %rsi
movl (%rsi), %ecx
movq 0x10(%rsp), %rax
cmpl (%rax), %ecx
jne 0x5e34
cmpl $0x1, %ecx
je 0x6457
testl %ecx, %ecx
jne 0x5e34
movl 0x8(%rsi), %ecx
xorl %edx, %edx
cmpl 0x8(%rax), %ecx
sete %dl
jmp 0x5e08
movq 0x20(%rsp), %rax
cmpl $0x0, (%rax)
jne 0x64d4
movq 0x10(%rsp), %rcx
cmpl $0x0, (%rcx)
jne 0x64d4
movl 0x8(%rax), %eax
xorl %edx, %edx
cmpl 0x8(%rcx), %eax
setg %dl
movl %edx, 0x18(%r15)
jmp 0x5e34
movq 0x20(%rsp), %rax
cmpl $0x0, (%rax)
jne 0x64d4
movq 0x10(%rsp), %rcx
cmpl $0x0, (%rcx)
jne 0x64d4
movl 0x8(%rcx), %ecx
addl 0x8(%rax), %ecx
movl %ecx, 0x18(%r15)
movq %rbp, (%rbx)
movq %r15, 0x8(%rbx)
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x5e4a
callq 0x4f24
movq 0x28(%rsp), %rdi
jmp 0x6348
lock
incl 0x8(%rax)
movq (%r15), %rax
movq %rax, 0xa8(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0xb0(%rsp)
testq %rax, %rax
je 0x5eba
movq 0x5155(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5eb6
incl 0x8(%rax)
jmp 0x5eba
lock
incl 0x8(%rax)
movq (%r15), %rax
movq %rax, 0x88(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x90(%rsp)
testq %rax, %rax
je 0x5ef8
movq 0x5124(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5ef4
incl 0x8(%rax)
jmp 0x5ef8
lock
incl 0x8(%rax)
leaq 0xb8(%rsp), %rdx
leaq 0xa8(%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5330
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x5ee7
callq 0x4f24
movq 0xc0(%rsp), %rdi
jmp 0x6339
lock
incl 0x8(%rax)
leaq 0x98(%rsp), %rdx
leaq 0x88(%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5330
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x5f25
callq 0x4f24
movq 0xa0(%rsp), %rdi
jmp 0x6339
lock
incl 0x8(%rax)
movq (%r15), %rax
movq %rax, 0x128(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x130(%rsp)
testq %rax, %rax
je 0x5f67
movq 0x5077(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5f63
incl 0x8(%rax)
jmp 0x5f67
lock
incl 0x8(%rax)
leaq 0x10(%rsp), %rdi
leaq 0x138(%rsp), %rdx
leaq 0x128(%rsp), %rcx
movq %r14, %rsi
callq 0x5330
movq 0x130(%rsp), %rdi
testq %rdi, %rdi
je 0x5f96
callq 0x4f24
movq 0x140(%rsp), %rdi
testq %rdi, %rdi
je 0x5fa8
callq 0x4f24
movq 0x10(%rsp), %rsi
leaq 0x30(%rsp), %r14
movq %r14, %rdi
callq 0x6fca
movq (%r14), %rax
movq 0x10(%rax), %rcx
movq %rcx, (%rbx)
movq 0x18(%rax), %rax
jmp 0x6062
lock
incl 0x8(%rax)
movq (%r15), %rax
movq %rax, 0x148(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x150(%rsp)
testq %rax, %rax
je 0x6002
movq 0x4fdc(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x5ffe
incl 0x8(%rax)
jmp 0x6002
lock
incl 0x8(%rax)
leaq 0x10(%rsp), %rdi
leaq 0x158(%rsp), %rdx
leaq 0x148(%rsp), %rcx
movq %r14, %rsi
callq 0x5330
movq 0x150(%rsp), %rdi
testq %rdi, %rdi
je 0x6031
callq 0x4f24
movq 0x160(%rsp), %rdi
testq %rdi, %rdi
je 0x6043
callq 0x4f24
movq 0x10(%rsp), %rsi
leaq 0x30(%rsp), %r14
movq %r14, %rdi
callq 0x6fca
movq (%r14), %rax
movq (%rax), %rcx
movq %rcx, (%rbx)
movq 0x8(%rax), %rax
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0x630e
movq 0x4f5a(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x6083
incl 0x8(%rax)
jmp 0x630e
lock
incl 0x8(%rax)
jmp 0x630e
lock
incl 0x8(%rax)
movq (%r13), %rax
movq 0x18(%rax), %rcx
movq %rcx, 0x30(%rsp)
movq 0x20(%rax), %rax
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x60c0
movq 0x4f1e(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x60bc
incl 0x8(%rax)
jmp 0x60c0
lock
incl 0x8(%rax)
movq 0x10(%rsp), %rax
cmpl $0xd, 0x30(%rax)
je 0x625c
leaq 0x20(%r12), %rbp
movq 0x4ef5(%rip), %r13      # 0xafd0
movq 0x30(%rsp), %rax
cmpl $0x9, 0x30(%rax)
je 0x64b5
movq 0x8(%rax), %rcx
movq %rcx, 0x188(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x190(%rsp)
testq %rax, %rax
je 0x6117
cmpb $0x0, (%r13)
je 0x6113
incl 0x8(%rax)
jmp 0x6117
lock
incl 0x8(%rax)
movq (%r15), %rax
movq %rax, 0x178(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x180(%rsp)
testq %rax, %rax
je 0x6143
cmpb $0x0, (%r13)
je 0x613f
incl 0x8(%rax)
jmp 0x6143
lock
incl 0x8(%rax)
leaq 0x198(%rsp), %rdi
movq %r14, %rsi
leaq 0x188(%rsp), %rdx
leaq 0x178(%rsp), %rcx
callq 0x5330
movq 0x180(%rsp), %rdi
testq %rdi, %rdi
je 0x6175
callq 0x4f24
movq 0x190(%rsp), %rdi
testq %rdi, %rdi
je 0x6187
callq 0x4f24
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rax
movb (%rax), %al
movq 0x198(%rsp), %rdx
movq 0x1a0(%rsp), %rcx
movq %rdx, 0x78(%rsp)
movq %rcx, 0x80(%rsp)
testq %rcx, %rcx
je 0x61c4
cmpb $0x0, (%r13)
je 0x61c0
incl 0x8(%rcx)
jmp 0x61c4
lock
incl 0x8(%rcx)
movb %al, 0xf(%rsp)
movq %rbp, %rdi
leaq 0xf(%rsp), %rsi
callq 0x6c1e
movq 0x78(%rsp), %rcx
movq %rcx, (%rax)
addq $0x8, %rax
movq %rax, %rdi
leaq 0x80(%rsp), %rsi
callq 0x6b56
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x6203
callq 0x4f24
movq 0x10(%rsp), %rsi
movq 0x18(%rsi), %rax
movq %rax, 0x10(%rsp)
addq $0x20, %rsi
leaq 0x18(%rsp), %rdi
callq 0x6b56
movq 0x30(%rsp), %rsi
movq 0x18(%rsi), %rax
movq %rax, 0x30(%rsp)
addq $0x20, %rsi
leaq 0x38(%rsp), %rdi
callq 0x6b56
movq 0x1a0(%rsp), %rdi
testq %rdi, %rdi
je 0x624d
callq 0x4f24
movq 0x10(%rsp), %rax
cmpl $0xd, 0x30(%rax)
jne 0x60db
movq 0x30(%rsp), %rax
cmpl $0x9, 0x30(%rax)
jne 0x6512
movq %r12, %rax
addq $0x10, %rax
movq 0x20(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x18(%rcx), %rdx
movq %rdx, 0x168(%rsp)
movq 0x20(%rcx), %rcx
movq %rcx, 0x170(%rsp)
movq 0x4d36(%rip), %rsi      # 0xafd0
movb (%rsi), %dl
testq %rcx, %rcx
je 0x62ba
testb %dl, %dl
je 0x62b4
incl 0x8(%rcx)
movq %rax, 0x68(%rsp)
movq %r12, 0x70(%rsp)
jmp 0x62c8
lock
incl 0x8(%rcx)
movb (%rsi), %dl
movq %rax, 0x68(%rsp)
movq %r12, 0x70(%rsp)
testb %dl, %dl
je 0x62cf
incl 0x8(%r12)
jmp 0x62d5
lock
incl 0x8(%r12)
leaq 0x168(%rsp), %rdx
leaq 0x68(%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5330
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x62fc
callq 0x4f24
movq 0x170(%rsp), %rdi
testq %rdi, %rdi
je 0x630e
callq 0x4f24
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x631d
callq 0x4f24
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x632c
callq 0x4f24
movq %r12, %rdi
callq 0x4f24
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x6343
callq 0x4f24
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x6352
callq 0x4f24
movq %rbx, %rax
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
lock
incl 0x8(%rax)
movq 0x10(%rsp), %rcx
movq 0x18(%rsp), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x6399
movq 0x4c45(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x6395
incl 0x8(%rax)
jmp 0x6399
lock
incl 0x8(%rax)
movl $0x30, %edi
callq 0x20f0
movq %rax, %r14
movq %r12, 0x8(%rax)
leaq 0x49bf(%rip), %rax      # 0xad70
movq %rax, (%r14)
movq %r14, %r12
addq $0x10, %r12
leaq 0x40(%rsp), %rdi
movaps (%rdi), %xmm0
xorl %eax, %eax
movq %rax, 0x8(%rdi)
movups %xmm0, 0x10(%r14)
movq %rax, (%rdi)
movaps 0x10(%rdi), %xmm0
movq %rax, 0x18(%rdi)
movups %xmm0, 0x20(%r14)
movq %rax, 0x10(%rdi)
callq 0x701c
leaq 0x240(%rsp), %rsi
movq %r12, -0x8(%rsi)
movq %r14, (%rsi)
movq 0x4bd3(%rip), %rax      # 0xafd0
cmpb $0x0, (%rax)
je 0x640c
movl $0x2, 0x8(%r14)
jmp 0x6419
lock
incl 0x8(%r14)
movq 0x238(%rsp), %r12
movl $0x1, 0x10(%r15)
movq %r12, 0x20(%r15)
movq %r15, %rdi
addq $0x28, %rdi
callq 0x6b56
movq 0x240(%rsp), %rdi
testq %rdi, %rdi
je 0x6443
callq 0x4f24
movq %rbp, (%rbx)
movq %r15, 0x8(%rbx)
movq %r14, %rdi
callq 0x4f24
jmp 0x5e3b
leaq 0x40(%rsp), %r14
movq %r14, %rdi
callq 0x6fca
movq 0x10(%rsp), %rsi
leaq 0x30(%rsp), %r12
movq %r12, %rdi
callq 0x6fca
movq (%r14), %rax
xorl %ecx, %ecx
cmpq (%r12), %rax
sete %cl
movl $0x0, 0x10(%r15)
movl %ecx, 0x18(%r15)
movq 0x8(%r12), %rdi
testq %rdi, %rdi
je 0x649d
callq 0x4f24
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x5e34
callq 0x4f24
jmp 0x5e34
leaq 0x1d1d(%rip), %rdi      # 0x81d9
leaq 0x1c0f(%rip), %rsi      # 0x80d2
leaq 0x1cd7(%rip), %rcx      # 0x81a1
movl $0x25e, %edx            # imm = 0x25E
callq 0x20a0
leaq 0x1dbe(%rip), %rdi      # 0x8299
leaq 0x1bf0(%rip), %rsi      # 0x80d2
leaq 0x1dcb(%rip), %rcx      # 0x82b4
movl $0x1b2, %edx            # imm = 0x1B2
callq 0x20a0
leaq 0x1d06(%rip), %rdi      # 0x8200
leaq 0x1bd1(%rip), %rsi      # 0x80d2
leaq 0x1c99(%rip), %rcx      # 0x81a1
movl $0x29d, %edx            # imm = 0x29D
callq 0x20a0
leaq 0x1c5f(%rip), %rdi      # 0x8178
leaq 0x1bb2(%rip), %rsi      # 0x80d2
leaq 0x1c7a(%rip), %rcx      # 0x81a1
movl $0x25d, %edx            # imm = 0x25D
callq 0x20a0
leaq 0x1cc8(%rip), %rdi      # 0x8200
leaq 0x1b93(%rip), %rsi      # 0x80d2
leaq 0x1c5b(%rip), %rcx      # 0x81a1
movl $0x274, %edx            # imm = 0x274
callq 0x20a0
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x701c
movq %r15, %rdi
callq 0x4f24
jmp 0x661c
movq %rax, %r14
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x657c
callq 0x4f24
movq 0x170(%rsp), %rdi
jmp 0x6791
movq %rax, %r14
movq 0x150(%rsp), %rdi
testq %rdi, %rdi
je 0x659e
callq 0x4f24
movq 0x160(%rsp), %rdi
jmp 0x67af
movq %rax, %r14
movq 0x130(%rsp), %rdi
testq %rdi, %rdi
je 0x65c0
callq 0x4f24
movq 0x140(%rsp), %rdi
jmp 0x67af
movq %rax, %r14
jmp 0x67b9
movq %rax, %r14
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x65ea
callq 0x4f24
movq 0xa0(%rsp), %rdi
jmp 0x67c6
movq %rax, %r14
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x660c
callq 0x4f24
movq 0xc0(%rsp), %rdi
jmp 0x67c6
movq %rax, %r14
movq 0x18(%rsp), %rdi
jmp 0x6640
movq %rax, %r14
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0x6638
callq 0x4f24
movq 0x100(%rsp), %rdi
testq %rdi, %rdi
je 0x664a
callq 0x4f24
movq 0x28(%rsp), %rdi
jmp 0x67d5
movq %rax, %r14
jmp 0x67c1
movq %rax, %r14
movq 0x1f0(%rsp), %rdi
testq %rdi, %rdi
je 0x6671
callq 0x4f24
movq 0x200(%rsp), %rdi
jmp 0x67c6
movq %rax, %r14
movq 0x230(%rsp), %rdi
testq %rdi, %rdi
je 0x66c4
callq 0x4f24
jmp 0x66c4
movq %rax, %r14
movq 0x1b0(%rsp), %rdi
testq %rdi, %rdi
je 0x66aa
callq 0x4f24
movq 0x1c0(%rsp), %rdi
jmp 0x67d5
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x5212
movq 0x8(%rbx), %rdi
jmp 0x67d5
movq %rax, %r14
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x66e2
callq 0x4f24
movq 0xe0(%rsp), %rdi
jmp 0x67d5
movq %rax, %r14
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0x6704
callq 0x4f24
movq 0x120(%rsp), %rdi
jmp 0x67d5
movq %rax, %r14
movq 0x1d0(%rsp), %rdi
testq %rdi, %rdi
je 0x6726
callq 0x4f24
movq 0x1e0(%rsp), %rdi
jmp 0x67d5
movq %rax, %r14
movq 0x210(%rsp), %rdi
testq %rdi, %rdi
je 0x6748
callq 0x4f24
movq 0x220(%rsp), %rdi
jmp 0x67d5
movq %rax, %r14
movq 0x180(%rsp), %rdi
testq %rdi, %rdi
je 0x676a
callq 0x4f24
movq 0x190(%rsp), %rdi
jmp 0x6791
movq %rax, %r14
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x6789
callq 0x4f24
movq 0x1a0(%rsp), %rdi
testq %rdi, %rdi
je 0x679b
callq 0x4f24
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x67aa
callq 0x4f24
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x67b9
callq 0x4f24
movq %r12, %rdi
callq 0x4f24
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x67d0
callq 0x4f24
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x67df
callq 0x4f24
movq %r14, %rdi
callq 0x21b0
nop