// File: /workspace/github_cpp_makefile_star2_O3/Falldog[P]dcinja/src/include/inja/inja.hpp
// Function: inja::Parser::parse_expression(inja::Template&, inja::Token::Kind)
bool parse_expression(Template &tmpl, Token::Kind closing) {
    while (tok.kind != closing && tok.kind != Token::Kind::Eof) {
      // Literals
      switch (tok.kind) {
      case Token::Kind::String: {
        if (current_brace_level == 0 && current_bracket_level == 0) {
          json_literal_start = tok.text;
          add_json_literal(tmpl.content.c_str());
        }

      } break;
      case Token::Kind::Number: {
        if (current_brace_level == 0 && current_bracket_level == 0) {
          json_literal_start = tok.text;
          add_json_literal(tmpl.content.c_str());
        }

      } break;
      case Token::Kind::LeftBracket: {
        if (current_brace_level == 0 && current_bracket_level == 0) {
          json_literal_start = tok.text;
        }
        current_bracket_level += 1;

      } break;
      case Token::Kind::LeftBrace: {
        if (current_brace_level == 0 && current_bracket_level == 0) {
          json_literal_start = tok.text;
        }
        current_brace_level += 1;

      } break;
      case Token::Kind::RightBracket: {
        if (current_bracket_level == 0) {
          throw_parser_error("unexpected ']'");
        }

        current_bracket_level -= 1;
        if (current_brace_level == 0 && current_bracket_level == 0) {
          add_json_literal(tmpl.content.c_str());
        }

      } break;
      case Token::Kind::RightBrace: {
        if (current_brace_level == 0) {
          throw_parser_error("unexpected '}'");
        }

        current_brace_level -= 1;
        if (current_brace_level == 0 && current_bracket_level == 0) {
          add_json_literal(tmpl.content.c_str());
        }

      } break;
      case Token::Kind::Id: {
        get_peek_token();

        // Json Literal
        if (tok.text == static_cast<decltype(tok.text)>("true") || tok.text == static_cast<decltype(tok.text)>("false") || tok.text == static_cast<decltype(tok.text)>("null")) {
          if (current_brace_level == 0 && current_bracket_level == 0) {
            json_literal_start = tok.text;
            add_json_literal(tmpl.content.c_str());
          }

	      // Operator
        } else if (tok.text == "and" || tok.text == "or" || tok.text == "in" || tok.text == "not") {
          goto parse_operator;

        // Functions
        } else if (peek_tok.kind == Token::Kind::LeftParen) {
          operator_stack.emplace(std::make_shared<FunctionNode>(static_cast<std::string>(tok.text), tok.text.data() - tmpl.content.c_str()));
          function_stack.emplace(operator_stack.top().get(), current_paren_level);       

        // Variables
        } else {
          current_expression_list->rpn_output.emplace_back(std::make_shared<JsonNode>(static_cast<std::string>(tok.text), tok.text.data() - tmpl.content.c_str()));
        }

      // Operators
      } break;
      case Token::Kind::Equal:
      case Token::Kind::NotEqual:
      case Token::Kind::GreaterThan:
      case Token::Kind::GreaterEqual:
      case Token::Kind::LessThan:
      case Token::Kind::LessEqual:
      case Token::Kind::Plus:
      case Token::Kind::Minus:
      case Token::Kind::Times:
      case Token::Kind::Slash:
      case Token::Kind::Power:
      case Token::Kind::Percent:
      case Token::Kind::Dot: {

  parse_operator:
        FunctionStorage::Operation operation;
        switch (tok.kind) {
        case Token::Kind::Id: {
          if (tok.text == "and") {
            operation = FunctionStorage::Operation::And;
          } else if (tok.text == "or") {
            operation = FunctionStorage::Operation::Or;
          } else if (tok.text == "in") {
            operation = FunctionStorage::Operation::In;
          } else if (tok.text == "not") {
            operation = FunctionStorage::Operation::Not;
          } else {
            throw_parser_error("unknown operator in parser.");
          }
        } break;
        case Token::Kind::Equal: {
          operation = FunctionStorage::Operation::Equal;
        } break;
        case Token::Kind::NotEqual: {
          operation = FunctionStorage::Operation::NotEqual;
        } break;
        case Token::Kind::GreaterThan: {
          operation = FunctionStorage::Operation::Greater;
        } break;
        case Token::Kind::GreaterEqual: {
          operation = FunctionStorage::Operation::GreaterEqual;
        } break;
        case Token::Kind::LessThan: {
          operation = FunctionStorage::Operation::Less;
        } break;
        case Token::Kind::LessEqual: {
          operation = FunctionStorage::Operation::LessEqual;
        } break;
        case Token::Kind::Plus: {
          operation = FunctionStorage::Operation::Add;
        } break;
        case Token::Kind::Minus: {
          operation = FunctionStorage::Operation::Subtract;
        } break;
        case Token::Kind::Times: {
          operation = FunctionStorage::Operation::Multiplication;
        } break;
        case Token::Kind::Slash: {
          operation = FunctionStorage::Operation::Division;
        } break;
        case Token::Kind::Power: {
          operation = FunctionStorage::Operation::Power;
        } break;
        case Token::Kind::Percent: {
          operation = FunctionStorage::Operation::Modulo;
        } break;
        case Token::Kind::Dot: {
          operation = FunctionStorage::Operation::AtId;
        } break;
        default: {
          throw_parser_error("unknown operator in parser.");
        }
        }
        auto function_node = std::make_shared<FunctionNode>(operation, tok.text.data() - tmpl.content.c_str());

        while (!operator_stack.empty() && ((operator_stack.top()->precedence > function_node->precedence) || (operator_stack.top()->precedence == function_node->precedence && function_node->associativity == FunctionNode::Associativity::Left)) && (operator_stack.top()->operation != FunctionStorage::Operation::ParenLeft)) {
          current_expression_list->rpn_output.emplace_back(operator_stack.top());
          operator_stack.pop();
        }

        operator_stack.emplace(function_node);

      } break;
      case Token::Kind::Comma: {
        if (current_brace_level == 0 && current_bracket_level == 0) {
          if (function_stack.empty()) {
            throw_parser_error("unexpected ','");
          }

          function_stack.top().first->number_args += 1;
        }

      } break;
      case Token::Kind::Colon: {
        if (current_brace_level == 0 && current_bracket_level == 0) {
          throw_parser_error("unexpected ':'");
        }

      } break;
      case Token::Kind::LeftParen: {
        current_paren_level += 1;
        operator_stack.emplace(std::make_shared<FunctionNode>(FunctionStorage::Operation::ParenLeft, tok.text.data() - tmpl.content.c_str()));

        get_peek_token();
        if (peek_tok.kind == Token::Kind::RightParen) {
          if (!function_stack.empty() && function_stack.top().second == current_paren_level - 1) {
            function_stack.top().first->number_args = 0;
          }
        }

      } break;
      case Token::Kind::RightParen: {
        current_paren_level -= 1;
        while (!operator_stack.empty() && operator_stack.top()->operation != FunctionStorage::Operation::ParenLeft) {
          current_expression_list->rpn_output.emplace_back(operator_stack.top());
          operator_stack.pop();
        }

        if (!operator_stack.empty() && operator_stack.top()->operation == FunctionStorage::Operation::ParenLeft) {
          operator_stack.pop();
        }

        if (!function_stack.empty() && function_stack.top().second == current_paren_level) {
          auto func = function_stack.top().first;
          auto function_data = function_storage.find_function(func->name, func->number_args);
          if (function_data.operation == FunctionStorage::Operation::None) {
            throw_parser_error("unknown function " + func->name);
          }
          func->operation = function_data.operation;
          if (function_data.operation == FunctionStorage::Operation::Callback) {
            func->callback = function_data.callback;
          }

          if (operator_stack.empty()) {
            throw_parser_error("internal error at function " + func->name);
          }

          current_expression_list->rpn_output.emplace_back(operator_stack.top());
          operator_stack.pop();
          function_stack.pop();
        }
      }
      default:
        break;
      }

      get_next_token();
    }

    while (!operator_stack.empty()) {
      current_expression_list->rpn_output.emplace_back(operator_stack.top());
      operator_stack.pop();
    }

    return true;
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rsi, 0x30(%rsp)
movq %rdi, %r14
movl 0x48(%rdi), %eax
movl %edx, 0x94(%rsp)
cmpl %edx, %eax
sete %cl
cmpl $0x22, %eax
sete %dl
orb %cl, %dl
je 0x1deb6
movq 0x138(%r14), %rsi
cmpq 0x118(%r14), %rsi
je 0x1dea2
leaq 0x108(%r14), %rbx
movl $0x200, %r15d           # imm = 0x200
cmpq 0x140(%r14), %rsi
jne 0x1de76
movq 0x150(%r14), %rax
movq -0x8(%rax), %rsi
addq %r15, %rsi
movq 0xb0(%r14), %rdi
addq $0x10, %rdi
addq $-0x10, %rsi
callq 0x2cf02
movq %rbx, %rdi
callq 0x2ec16
movq 0x138(%r14), %rsi
cmpq 0x118(%r14), %rsi
jne 0x1de5f
movb $0x1, %al
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x48(%r14), %rbp
leaq 0x80(%r14), %rcx
movq %rcx, 0x78(%rsp)
leaq 0x108(%r14), %r13
leaq 0xb8(%r14), %rcx
movq %rcx, 0x98(%rsp)
leaq 0x8(%r14), %rcx
movq %rcx, 0x80(%rsp)
leaq 0x60(%r14), %rcx
movq %rcx, 0x48(%rsp)
leaq 0x50(%r14), %rcx
movq %rcx, 0x40(%rsp)
leaq 0x98(%r14), %rcx
movq %rcx, 0x38(%rsp)
movq %rsp, %r15
movq %rbp, 0xa0(%rsp)
leal -0x9(%rax), %ecx
cmpl $0x17, %ecx
ja 0x1e62e
leaq 0x36254(%rip), %rdx     # 0x54178
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
addl $-0x9, %eax
cmpl $0x17, %eax
ja 0x1e462
leaq 0x362a8(%rip), %rcx     # 0x541e8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x50(%r14), %rdx
movq 0x58(%r14), %rbx
cmpq $0x2, %rdx
je 0x1e48e
cmpq $0x3, %rdx
jne 0x1e4b0
movzwl (%rbx), %eax
xorl $0x6e61, %eax           # imm = 0x6E61
movzbl 0x2(%rbx), %ecx
xorl $0x64, %ecx
orw %ax, %cx
je 0x1eab7
movq %rbx, %rdi
leaq 0x3a61b(%rip), %rsi     # 0x585a2
callq 0x9400
testl %eax, %eax
jne 0x1e4b0
xorl %ebp, %ebp
jmp 0x1e4f9
movq 0x88(%r14), %rax
orq 0x90(%r14), %rax
jne 0x1e62e
movq 0x40(%rsp), %rax
movups (%rax), %xmm0
movq 0x38(%rsp), %rax
movups %xmm0, (%rax)
jmp 0x1e3ca
cmpb $0x0, 0x78(%r14)
jne 0x1dff5
movq %r15, %rdi
movq 0x80(%rsp), %rsi
callq 0x1ec0e
movq 0x10(%rsp), %rax
movq 0x48(%rsp), %rcx
movq %rax, 0x10(%rcx)
movups (%rsp), %xmm0
movups %xmm0, (%rcx)
movb $0x1, 0x78(%r14)
movq 0x50(%r14), %r12
movq 0x58(%r14), %r15
leaq -0x2(%r12), %rax
cmpq $0x3, %rax
ja 0x1e728
leaq 0x361c5(%rip), %rcx     # 0x541d8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r15, %rdi
leaq 0x37a58(%rip), %rsi     # 0x55a7e
movq %r12, %rdx
callq 0x9400
testl %eax, %eax
je 0x1e8b6
cmpw $0x6e69, (%r15)         # imm = 0x6E69
jne 0x1e728
jmp 0x1e8b6
movq 0x88(%r14), %rax
orq 0x90(%r14), %rax
jne 0x1e62e
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %r15, %rdi
leaq 0x3a563(%rip), %rsi     # 0x585d1
leaq 0x3a56a(%rip), %rdx     # 0x585df
callq 0x126d8
movq %r14, %rdi
movq %r15, %rsi
callq 0x1c454
jmp 0x1e892
movq 0x88(%r14), %rax
movq 0x90(%r14), %rcx
orq %rax, %rcx
jne 0x1e0ad
movq 0x40(%rsp), %rcx
movups (%rcx), %xmm0
movq 0x38(%rsp), %rcx
movups %xmm0, (%rcx)
incq %rax
movq %rax, 0x88(%r14)
jmp 0x1e62e
movq 0x88(%r14), %rax
testq %rax, %rax
jne 0x1e114
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %r15, %rdi
leaq 0x3a4a4(%rip), %rsi     # 0x5857f
leaq 0x3a4ab(%rip), %rdx     # 0x5858d
callq 0x126d8
movq %r14, %rdi
movq %r15, %rsi
callq 0x1c454
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1e10d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x93c0
movq 0x88(%r14), %rax
decq %rax
movq %rax, 0x88(%r14)
orq 0x90(%r14), %rax
je 0x1e3ca
jmp 0x1e62e
incq 0x80(%r14)
movq 0x58(%r14), %rbx
movq 0x30(%rsp), %rax
subq 0x28(%rax), %rbx
movl $0x78, %edi
callq 0x93b0
movq %rax, %r15
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x8(%r15)
leaq 0x59192(%rip), %rax     # 0x772f8
movq %rax, (%r15)
leaq 0x10(%r15), %r12
movq %r12, %rdi
movl $0x2c, %esi
movq %rbx, %rdx
callq 0x2ea90
movq %r15, 0x8(%rsp)
movq %rsp, %r15
movq %r12, (%rsp)
movq %r13, %rdi
movq %r15, %rsi
callq 0x2d55e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x1e1a3
callq 0xfad0
cmpb $0x0, 0x78(%r14)
jne 0x1e1d4
movq %r15, %rdi
movq 0x80(%rsp), %rsi
callq 0x1ec0e
movq 0x10(%rsp), %rax
movq 0x48(%rsp), %rcx
movq %rax, 0x10(%rcx)
movups (%rsp), %xmm0
movups %xmm0, (%rcx)
movb $0x1, 0x78(%r14)
movq 0x48(%rsp), %rax
cmpl $0x16, (%rax)
jne 0x1e62e
movq 0xe8(%r14), %rax
cmpq 0xc8(%r14), %rax
je 0x1e62e
cmpq 0xf0(%r14), %rax
je 0x1ea7f
movq 0x78(%rsp), %rcx
movq (%rcx), %rcx
decq %rcx
cmpq %rcx, -0x8(%rax)
jne 0x1e62e
jmp 0x1eaa7
movq 0x90(%r14), %rax
movq 0x88(%r14), %rcx
orq %rax, %rcx
jne 0x1e240
movq 0x40(%rsp), %rcx
movups (%rcx), %xmm0
movq 0x38(%rsp), %rcx
movups %xmm0, (%rcx)
incq %rax
movq %rax, 0x90(%r14)
jmp 0x1e62e
decq 0x80(%r14)
movq 0x138(%r14), %rsi
cmpq 0x118(%r14), %rsi
je 0x1e8e6
cmpq 0x140(%r14), %rsi
je 0x1e282
movq -0x10(%rsi), %rax
cmpl $0x2c, 0x18(%rax)
jne 0x1e2a5
jmp 0x1e8d4
movq 0x150(%r14), %rax
movq -0x8(%rax), %rsi
movq 0x1f0(%rsi), %rax
cmpl $0x2c, 0x18(%rax)
je 0x1e8c1
addq $0x200, %rsi            # imm = 0x200
movq 0xb0(%r14), %rdi
addq $0x10, %rdi
addq $-0x10, %rsi
callq 0x2cf02
movq %r13, %rdi
callq 0x2ec16
jmp 0x1e256
movq 0x88(%r14), %rax
orq 0x90(%r14), %rax
jne 0x1e62e
movq 0xe8(%r14), %rax
cmpq 0xc8(%r14), %rax
jne 0x1e333
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %r15, %rdi
leaq 0x3a2c8(%rip), %rsi     # 0x585c2
leaq 0x3a2cf(%rip), %rdx     # 0x585d0
callq 0x126d8
movq %r14, %rdi
movq %r15, %rsi
callq 0x1c454
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1e32c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x93c0
movq 0xe8(%r14), %rax
cmpq 0xf0(%r14), %rax
jne 0x1e34f
movq 0x100(%r14), %rax
movq -0x8(%rax), %rax
movl $0x200, %ecx            # imm = 0x200
addq %rcx, %rax
movq -0x10(%rax), %rax
incl 0x40(%rax)
jmp 0x1e62e
movq 0x90(%r14), %rax
testq %rax, %rax
jne 0x1e3b3
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %r15, %rdi
leaq 0x3a214(%rip), %rsi     # 0x5858e
leaq 0x3a21b(%rip), %rdx     # 0x5859c
callq 0x126d8
movq %r14, %rdi
movq %r15, %rsi
callq 0x1c454
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1e3ac
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x93c0
movq 0x90(%r14), %rax
decq %rax
movq %rax, 0x90(%r14)
orq 0x88(%r14), %rax
jne 0x1e62e
movq 0x30(%rsp), %rax
movq 0x28(%rax), %rsi
movq %r14, %rdi
callq 0x2cd92
jmp 0x1e62e
movl $0x9, %ebp
jmp 0x1e4f9
movl $0x6, %ebp
jmp 0x1e4f9
movl $0xd, %ebp
jmp 0x1e4f9
movl $0x8, %ebp
jmp 0x1e4f9
movl $0xf, %ebp
jmp 0x1e4f9
movl $0x7, %ebp
jmp 0x1e4f9
movl $0xc, %ebp
jmp 0x1e4f9
movl $0xb, %ebp
jmp 0x1e4f9
movl $0xa, %ebp
jmp 0x1e4f9
movl $0xe, %ebp
jmp 0x1e4f9
movl $0x10, %ebp
jmp 0x1e4f9
movl $0x5, %ebp
jmp 0x1e4f9
movl $0x4, %ebp
jmp 0x1e4f9
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %r15, %rdi
leaq 0x3a131(%rip), %rsi     # 0x585a6
leaq 0x3a145(%rip), %rdx     # 0x585c1
callq 0x126d8
movq %r14, %rdi
movq %r15, %rsi
callq 0x1c454
jmp 0x1e4da
movq %rbx, %rdi
leaq 0x375e6(%rip), %rsi     # 0x55a7e
callq 0x9400
testl %eax, %eax
je 0x1eac1
cmpw $0x6e69, (%rbx)         # imm = 0x6E69
je 0x1eacb
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %r15, %rdi
leaq 0x3a0e3(%rip), %rsi     # 0x585a6
leaq 0x3a0f7(%rip), %rdx     # 0x585c1
callq 0x126d8
movq %r14, %rdi
movq %r15, %rsi
callq 0x1c454
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1e4f5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x93c0
movl 0x74(%rsp), %ebp
movq 0x58(%r14), %rbx
movq 0x30(%rsp), %rax
subq 0x28(%rax), %rbx
movl $0x78, %edi
callq 0x93b0
movq %rax, %r15
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x8(%r15)
leaq 0x58dd0(%rip), %rax     # 0x772f8
movq %rax, (%r15)
leaq 0x10(%r15), %r12
movq %r12, %rdi
movl %ebp, 0x74(%rsp)
movl %ebp, %esi
movq %rbx, %rdx
callq 0x2ea90
movq %r15, 0x8(%rsp)
movq %r12, (%rsp)
movq 0x138(%r14), %rsi
cmpq 0x118(%r14), %rsi
movq %rsp, %r15
movq 0xa0(%rsp), %rbp
je 0x1e614
movq 0x140(%r14), %rax
cmpq %rax, %rsi
je 0x1e589
movq -0x10(%rsi), %r8
movl 0x10(%r8), %edx
movq (%rsp), %rcx
movl 0x10(%rcx), %edi
cmpl %edi, %edx
jbe 0x1e5a9
jmp 0x1e5bc
movq 0x150(%r14), %rcx
movq -0x8(%rcx), %rcx
movq 0x1f0(%rcx), %rcx
movl 0x10(%rcx), %edx
movq (%rsp), %rcx
movl 0x10(%rcx), %edi
cmpl %edi, %edx
ja 0x1e5c5
cmpl %edi, %edx
jne 0x1e614
cmpl $0x0, 0x14(%rcx)
jne 0x1e614
cmpq %rax, %rsi
je 0x1e5c5
movq -0x10(%rsi), %r8
cmpl $0x2c, 0x18(%r8)
jne 0x1e5e4
jmp 0x1e614
movq 0x150(%r14), %rax
movq -0x8(%rax), %rsi
movq 0x1f0(%rsi), %rax
cmpl $0x2c, 0x18(%rax)
je 0x1e614
addq $0x200, %rsi            # imm = 0x200
movq 0xb0(%r14), %rdi
addq $0x10, %rdi
addq $-0x10, %rsi
callq 0x2cf02
movq %r13, %rdi
callq 0x2ec16
movq 0x138(%r14), %rsi
cmpq 0x118(%r14), %rsi
jne 0x1e568
movq %r13, %rdi
movq %r15, %rsi
callq 0x2ec8a
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x1e62e
callq 0xfad0
cmpb $0x1, 0x78(%r14)
jne 0x1e650
movq 0x48(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x10(%rbp)
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movb $0x0, 0x78(%r14)
jmp 0x1e671
movq %r15, %rdi
movq 0x80(%rsp), %rsi
callq 0x1ec0e
movq 0x10(%rsp), %rax
movq %rax, 0x10(%rbp)
movups (%rsp), %xmm0
movups %xmm0, (%rbp)
movl (%rbp), %eax
cmpl 0x94(%rsp), %eax
je 0x1de42
cmpl $0x22, %eax
jne 0x1df11
jmp 0x1de42
cmpl $0x65757274, (%r15)     # imm = 0x65757274
je 0x1e6ba
movq %r15, %rdi
leaq 0x38fac(%rip), %rsi     # 0x5764e
jmp 0x1e6ae
movq %r15, %rdi
leaq 0x36fab(%rip), %rsi     # 0x55659
movq %r12, %rdx
callq 0x9400
testl %eax, %eax
jne 0x1e728
movq 0x88(%r14), %rax
orq 0x90(%r14), %rax
jne 0x1ea77
movq 0x40(%rsp), %rax
movups (%rax), %xmm0
movq 0x38(%rsp), %rax
movups %xmm0, (%rax)
movq 0x30(%rsp), %rax
movq 0x28(%rax), %rsi
movq %r14, %rdi
callq 0x2cd92
jmp 0x1ea77
movq %r15, %rdi
leaq 0x3c04a(%rip), %rsi     # 0x5a748
movq %r12, %rdx
callq 0x9400
testl %eax, %eax
je 0x1e8b6
movq %r15, %rdi
leaq 0x39e8a(%rip), %rsi     # 0x585a2
movq %r12, %rdx
callq 0x9400
testl %eax, %eax
je 0x1e8b6
movq 0x48(%rsp), %rax
cmpl $0x15, (%rax)
jne 0x1e810
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
addq %r15, %r12
movq %rsp, %rbx
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x126d8
movq 0x58(%r14), %rax
movq 0x30(%rsp), %rcx
subq 0x28(%rcx), %rax
movq %rax, 0x88(%rsp)
movq $0x0, 0x50(%rsp)
leaq 0x58(%rsp), %rdi
leaq 0x50(%rsp), %r12
movq %r12, %rsi
leaq 0x2f(%rsp), %rdx
movq %rbx, %rcx
leaq 0x88(%rsp), %r8
callq 0x2d7d8
movq %rbx, %r15
movq %r13, %rdi
movq %r12, %rsi
callq 0x2d55e
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x1e7b0
callq 0xfad0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1e7cb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x93c0
movq 0x138(%r14), %rax
cmpq 0x140(%r14), %rax
jne 0x1e7ee
movq 0x150(%r14), %rax
movq -0x8(%rax), %rax
movl $0x200, %ecx            # imm = 0x200
addq %rcx, %rax
movq -0x10(%rax), %rax
movq %rax, (%rsp)
movq 0x98(%rsp), %rdi
movq %r15, %rsi
movq 0x78(%rsp), %rdx
callq 0x2d9a6
jmp 0x1e62e
movq 0xb0(%r14), %rbx
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
addq %r15, %r12
movq %rsp, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x126d8
movq 0x58(%r14), %rax
movq 0x30(%rsp), %rcx
subq 0x28(%rcx), %rax
movq %rax, 0x88(%rsp)
movq $0x0, 0x50(%rsp)
leaq 0x58(%rsp), %rdi
leaq 0x50(%rsp), %r12
movq %r12, %rsi
leaq 0x2f(%rsp), %rdx
movq %rsp, %r15
movq %r15, %rcx
leaq 0x88(%rsp), %r8
callq 0x2dd28
addq $0x10, %rbx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x2cebe
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x1e892
callq 0xfad0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1e62e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x93c0
jmp 0x1e62e
movl (%rbp), %eax
movq %rsp, %r15
jmp 0x1df2d
movq 0x150(%r14), %rax
movq -0x8(%rax), %rsi
movl $0x200, %eax            # imm = 0x200
addq %rax, %rsi
movq -0x10(%rsi), %rax
cmpl $0x2c, 0x18(%rax)
jne 0x1e8e6
movq %r13, %rdi
callq 0x2ec16
movq 0xe8(%r14), %rax
cmpq 0xc8(%r14), %rax
je 0x1e62e
cmpq 0xf0(%r14), %rax
je 0x1e917
movq -0x8(%rax), %rcx
movq 0x78(%rsp), %rdx
cmpq (%rdx), %rcx
jne 0x1e62e
jmp 0x1e93c
movq 0x100(%r14), %rax
movq -0x8(%rax), %rax
movq 0x1f8(%rax), %rcx
cmpq 0x80(%r14), %rcx
jne 0x1e62e
addq $0x200, %rax            # imm = 0x200
movq -0x10(%rax), %r12
movq 0x40(%r14), %rsi
movq %r15, %rdi
leaq 0x20(%r12), %r15
movq 0x20(%r12), %rcx
movq 0x28(%r12), %rdx
movl 0x40(%r12), %r8d
callq 0x2cf5e
movl (%rsp), %eax
cmpl $0x2e, %eax
jne 0x1e9a9
leaq 0x50(%rsp), %rbx
movq %rbx, %rdi
leaq 0x39c69(%rip), %rsi     # 0x585e0
movq %r15, %rdx
callq 0x1254c
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1c454
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x1e9a6
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x93c0
movl (%rsp), %eax
movl %eax, 0x18(%r12)
cmpl $0x2b, %eax
jne 0x1e9c4
addq $0x48, %r12
movq %r12, %rdi
leaq 0x8(%rsp), %rsi
callq 0x2d1ea
movq 0x138(%r14), %rsi
cmpq 0x118(%r14), %rsi
jne 0x1ea19
leaq 0x50(%rsp), %rbx
movq %rbx, %rdi
leaq 0x39c0f(%rip), %rsi     # 0x585f2
movq %r15, %rdx
callq 0x1254c
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1c454
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x1ea12
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x93c0
movq 0x138(%r14), %rsi
movq 0xb0(%r14), %rdi
cmpq 0x140(%r14), %rsi
jne 0x1ea3c
movq 0x150(%r14), %rax
movq -0x8(%rax), %rsi
movl $0x200, %eax            # imm = 0x200
addq %rax, %rsi
addq $0x10, %rdi
addq $-0x10, %rsi
callq 0x2cf02
movq %r13, %rdi
callq 0x2ec16
movq 0x98(%rsp), %rdi
callq 0x2ee52
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x1ea77
leaq 0x8(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rsp, %r15
jmp 0x1e62e
movq 0x80(%r14), %rcx
movq 0x100(%r14), %rax
movq -0x8(%rax), %rax
decq %rcx
cmpq %rcx, 0x1f8(%rax)
jne 0x1e62e
addq $0x200, %rax            # imm = 0x200
movq -0x10(%rax), %rax
movl $0x0, 0x40(%rax)
jmp 0x1e62e
movl $0x1, %ebp
jmp 0x1e4f9
movl $0x2, %ebp
jmp 0x1e4f9
movl $0x3, %ebp
jmp 0x1e4f9
jmp 0x1ead9
jmp 0x1eb28
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x1eb2b
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x93c0
jmp 0x1eb2b
jmp 0x1eb28
jmp 0x1eb56
jmp 0x1eb76
jmp 0x1eb46
jmp 0x1eb08
jmp 0x1eb56
jmp 0x1eb76
movq %rax, %rbx
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x1eb59
callq 0xfad0
jmp 0x1eb59
jmp 0x1eb56
jmp 0x1eb76
jmp 0x1eb56
jmp 0x1eb76
jmp 0x1eb56
jmp 0x1eb76
movq %rax, %rbx
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x1eb91
leaq 0x8(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x1eb91
movq %rax, %rdi
callq 0xea59
jmp 0x1eb56
jmp 0x1eb76
jmp 0x1eb56
jmp 0x1eb76
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1eb91
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x93c0
jmp 0x1eb91
movq %rax, %rbx
jmp 0x1eb91
jmp 0x1eb7f
jmp 0x1eb7f
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x1eb91
callq 0xfad0
movq %rbx, %rdi
callq 0x9790
nop