// File: /workspace/github_cpp_makefile_star2_O2/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 $0x98, %rsp
movl %edx, 0x8c(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdi, %r14
leaq 0x80(%rdi), %rax
movq %rax, 0x58(%rsp)
leaq 0x108(%rdi), %r15
leaq 0xb8(%rdi), %rax
movq %rax, 0x90(%rsp)
leaq 0x50(%rdi), %rax
movq %rax, 0x20(%rsp)
leaq 0x98(%rdi), %rax
movq %rax, 0x28(%rsp)
pushq $0x2
popq %r13
leaq 0x60(%rsp), %rbp
movl $0x200, %ebx            # imm = 0x200
movl 0x48(%r14), %eax
cmpl 0x8c(%rsp), %eax
je 0x188d5
cmpl $0x22, %eax
je 0x188d5
leal -0x9(%rax), %ecx
cmpl $0x17, %ecx
ja 0x184f6
leaq 0x2d1cc(%rip), %rdx     # 0x45130
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
addl $-0x9, %eax
cmpl $0x17, %eax
ja 0x183d8
leaq 0x2d210(%rip), %rcx     # 0x45190
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x50(%r14), %rdi
movq 0x58(%r14), %rsi
pushq $0x3
popq %rdx
leaq 0x33c76(%rip), %rcx     # 0x4bc11
callq 0x240ab
testb %al, %al
je 0x1853e
movl $0x1, 0x8(%rsp)
jmp 0x18402
movq %r14, %rdi
callq 0x24070
movq 0x50(%r14), %rdi
movq 0x58(%r14), %rsi
pushq $0x4
popq %rdx
leaq 0x3171b(%rip), %rcx     # 0x496ea
callq 0x19e1c
testb %al, %al
jne 0x18012
movq 0x50(%r14), %rdi
movq 0x58(%r14), %rsi
pushq $0x5
popq %rdx
leaq 0x2e617(%rip), %rcx     # 0x46601
callq 0x19e1c
testb %al, %al
jne 0x18012
movq 0x50(%r14), %rdi
movq 0x58(%r14), %rsi
pushq $0x4
popq %rdx
leaq 0x305f1(%rip), %rcx     # 0x485f6
callq 0x19e1c
testb %al, %al
je 0x186ce
movq 0x88(%r14), %rax
orq 0x90(%r14), %rax
jne 0x184f6
movq 0x20(%rsp), %rax
movups (%rax), %xmm0
movq 0x28(%rsp), %rax
movups %xmm0, (%rax)
jmp 0x18334
movq 0x88(%r14), %rax
orq 0x90(%r14), %rax
jne 0x184f6
movq %rbp, %r12
movq %rbp, %rdi
leaq 0x316c2(%rip), %rsi     # 0x4971e
leaq 0x30(%rsp), %rdx
callq 0xc0a4
movq %r14, %rdi
movq %r12, %rsi
callq 0x1704a
movq %r12, %rdi
callq 0x9898
jmp 0x184f6
movq 0x88(%r14), %rax
movq 0x90(%r14), %rcx
orq %rax, %rcx
jne 0x180a1
movq 0x20(%rsp), %rcx
movups (%rcx), %xmm0
movq 0x28(%rsp), %rcx
movups %xmm0, (%rcx)
incq %rax
movq %rax, 0x88(%r14)
jmp 0x184f6
movq 0x88(%r14), %rax
testq %rax, %rax
jne 0x180ed
movq %rbp, %r12
movq %rbp, %rdi
leaq 0x31603(%rip), %rsi     # 0x496cc
leaq 0x30(%rsp), %rdx
callq 0xc0a4
movq %r14, %rdi
movq %r12, %rsi
callq 0x1704a
movq %r12, %rdi
callq 0x9898
movq 0x88(%r14), %rax
decq %rax
movq %rax, 0x88(%r14)
orq 0x90(%r14), %rax
je 0x18334
jmp 0x184f6
incq 0x80(%r14)
movl $0x2c, 0x8(%rsp)
movq 0x58(%r14), %rax
movq 0x18(%rsp), %rcx
subq 0x28(%rcx), %rax
movq %rax, 0x30(%rsp)
movq %rbp, %rdi
leaq 0x8(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x241c2
movq %r15, %rdi
movq %rbp, %rsi
callq 0x247aa
leaq 0x68(%rsp), %rdi
callq 0xd76e
movq %r14, %rdi
callq 0x24070
cmpl $0x16, 0x60(%r14)
jne 0x184f6
movq 0xe8(%r14), %rax
cmpq 0xc8(%r14), %rax
je 0x184f6
movq 0xf0(%r14), %rcx
movq %rax, %rdx
cmpq %rcx, %rax
jne 0x18195
movq 0x100(%r14), %rdx
movq -0x8(%rdx), %rdx
addq %rbx, %rdx
movq 0x58(%rsp), %rsi
movq (%rsi), %rsi
decq %rsi
cmpq %rsi, -0x8(%rdx)
jne 0x184f6
cmpq %rcx, %rax
jne 0x181bd
movq 0x100(%r14), %rax
movq -0x8(%rax), %rax
addq %rbx, %rax
movq -0x10(%rax), %rax
andl $0x0, 0x40(%rax)
jmp 0x184f6
movq 0x90(%r14), %rax
movq 0x88(%r14), %rcx
orq %rax, %rcx
jne 0x181ed
movq 0x20(%rsp), %rcx
movups (%rcx), %xmm0
movq 0x28(%rsp), %rcx
movups %xmm0, (%rcx)
incq %rax
movq %rax, 0x90(%r14)
jmp 0x184f6
movq 0x58(%rsp), %rax
decq (%rax)
movq 0x138(%r14), %rsi
cmpq 0x118(%r14), %rsi
je 0x18515
cmpq 0x140(%r14), %rsi
je 0x18227
movq -0x10(%rsi), %rax
jmp 0x18240
movq 0x150(%r14), %rax
movq -0x8(%rax), %rsi
movq 0x1f0(%rsi), %rax
addq $0x200, %rsi            # imm = 0x200
cmpl $0x2c, 0x18(%rax)
je 0x18503
movq 0xb0(%r14), %rdi
addq $0x10, %rdi
addq $-0x10, %rsi
callq 0x24186
movq %r15, %rdi
callq 0x25b42
jmp 0x18204
movq 0x88(%r14), %rax
orq 0x90(%r14), %rax
jne 0x184f6
movq 0xe8(%r14), %rax
cmpq 0xc8(%r14), %rax
jne 0x182bd
movq %rbp, %r12
movq %rbp, %rdi
leaq 0x31476(%rip), %rsi     # 0x4970f
leaq 0x30(%rsp), %rdx
callq 0xc0a4
movq %r14, %rdi
movq %r12, %rsi
callq 0x1704a
movq %r12, %rdi
callq 0x9898
movq 0xe8(%r14), %rax
cmpq 0xf0(%r14), %rax
jne 0x182d4
movq 0x100(%r14), %rax
movq -0x8(%rax), %rax
addq %rbx, %rax
movq -0x10(%rax), %rax
incl 0x40(%rax)
jmp 0x184f6
movq 0x90(%r14), %rax
testq %rax, %rax
jne 0x1831d
movq %rbp, %r12
movq %rbp, %rdi
leaq 0x313e2(%rip), %rsi     # 0x496db
leaq 0x30(%rsp), %rdx
callq 0xc0a4
movq %r14, %rdi
movq %r12, %rsi
callq 0x1704a
movq %r12, %rdi
callq 0x9898
movq 0x90(%r14), %rax
decq %rax
movq %rax, 0x90(%r14)
orq 0x88(%r14), %rax
jne 0x184f6
movq 0x18(%rsp), %rax
movq 0x28(%rax), %rsi
movq %r14, %rdi
callq 0x23f98
jmp 0x184f6
movl $0x9, 0x8(%rsp)
jmp 0x18402
movl $0x6, 0x8(%rsp)
jmp 0x18402
movl $0xd, 0x8(%rsp)
jmp 0x18402
movl $0x8, 0x8(%rsp)
jmp 0x18402
movl $0xf, 0x8(%rsp)
jmp 0x18402
movl $0x7, 0x8(%rsp)
jmp 0x18402
movl $0xc, 0x8(%rsp)
jmp 0x18402
movl $0xb, 0x8(%rsp)
jmp 0x18402
movl $0xa, 0x8(%rsp)
jmp 0x18402
movl $0xe, 0x8(%rsp)
jmp 0x18402
movl $0x10, 0x8(%rsp)
jmp 0x18402
movl $0x5, 0x8(%rsp)
jmp 0x18402
movl $0x4, 0x8(%rsp)
jmp 0x18402
movq %rbp, %r12
movq %rbp, %rdi
leaq 0x3130e(%rip), %rsi     # 0x496f3
leaq 0x30(%rsp), %rdx
callq 0xc0a4
movq %r14, %rdi
movq %r12, %rsi
callq 0x1704a
movq %r12, %rdi
callq 0x9898
movq 0x58(%r14), %rax
movq 0x18(%rsp), %rcx
subq 0x28(%rcx), %rax
movq %rax, 0x30(%rsp)
movq %rbp, %rdi
leaq 0x8(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x24165
movq 0x138(%r14), %rsi
cmpq 0x118(%r14), %rsi
je 0x184e1
movq 0x140(%r14), %rax
movq %rsi, %rcx
cmpq %rax, %rsi
jne 0x18457
movq 0x150(%r14), %rcx
movq -0x8(%rcx), %rcx
addq %rbx, %rcx
movq -0x10(%rcx), %rdi
movq 0x60(%rsp), %rcx
movl 0x10(%rcx), %edx
cmpl %edx, 0x10(%rdi)
ja 0x1848d
movq %rsi, %rdi
cmpq %rax, %rsi
jne 0x1847e
movq 0x150(%r14), %rdi
movq -0x8(%rdi), %rdi
addq %rbx, %rdi
movq -0x10(%rdi), %rdi
cmpl %edx, 0x10(%rdi)
jne 0x184e1
cmpl $0x0, 0x14(%rcx)
jne 0x184e1
movq %rsi, %rcx
cmpq %rax, %rsi
jne 0x184a3
movq 0x150(%r14), %rcx
movq -0x8(%rcx), %rcx
addq %rbx, %rcx
movq -0x10(%rcx), %rcx
cmpl $0x2c, 0x18(%rcx)
je 0x184e1
cmpq %rax, %rsi
jne 0x184c0
movq 0x150(%r14), %rax
movq -0x8(%rax), %rsi
addq %rbx, %rsi
movq 0xb0(%r14), %rdi
addq $0x10, %rdi
addq $-0x10, %rsi
callq 0x24186
movq %r15, %rdi
callq 0x25b42
jmp 0x18426
movq %r15, %rdi
movq %rbp, %rsi
callq 0x25bb2
leaq 0x68(%rsp), %rdi
callq 0xd76e
movq %r14, %rdi
callq 0x16ffc
jmp 0x17f37
movq -0x10(%rsi), %rax
cmpl $0x2c, 0x18(%rax)
jne 0x18515
movq %r15, %rdi
callq 0x25b42
movq 0xe8(%r14), %rax
cmpq 0xc8(%r14), %rax
je 0x184f6
cmpq 0xf0(%r14), %rax
je 0x1856d
movq -0x8(%rax), %rcx
movq 0x58(%rsp), %rdx
cmpq (%rdx), %rcx
jne 0x184f6
jmp 0x18592
movq 0x50(%r14), %rdi
movq 0x58(%r14), %rsi
movq %r13, %r12
movq %r13, %rdx
leaq 0x2e4d3(%rip), %rcx     # 0x46a26
callq 0x240ab
testb %al, %al
je 0x186a2
movl $0x2, 0x8(%rsp)
jmp 0x18402
movq 0x100(%r14), %rax
movq -0x8(%rax), %rax
movq 0x1f8(%rax), %rcx
cmpq 0x80(%r14), %rcx
jne 0x184f6
addq $0x200, %rax            # imm = 0x200
movq -0x10(%rax), %r12
movq 0x40(%r14), %rsi
leaq 0x20(%r12), %rax
movq %rax, 0x50(%rsp)
movq 0x20(%r12), %rcx
movq 0x28(%r12), %rdx
movl 0x40(%r12), %r8d
movq %rbp, %rdi
callq 0x241e4
movl 0x60(%rsp), %eax
cmpl $0x2e, %eax
jne 0x185f5
leaq 0x30(%rsp), %rdi
leaq 0x3115d(%rip), %rsi     # 0x4972d
movq 0x50(%rsp), %rdx
callq 0xfdb9
movq %r14, %rdi
leaq 0x30(%rsp), %rsi
callq 0x1704a
leaq 0x30(%rsp), %rdi
callq 0x9898
movl 0x60(%rsp), %eax
movl %eax, 0x18(%r12)
cmpl $0x2b, %eax
jne 0x18610
addq $0x48, %r12
movq %r12, %rdi
leaq 0x68(%rsp), %rsi
callq 0x24376
movq 0x138(%r14), %rsi
cmpq 0x118(%r14), %rsi
jne 0x18653
leaq 0x30(%rsp), %r12
movq %r12, %rdi
leaq 0x31110(%rip), %rsi     # 0x4973f
movq 0x50(%rsp), %rdx
callq 0xfdb9
movq %r14, %rdi
movq %r12, %rsi
callq 0x1704a
movq %r12, %rdi
callq 0x9898
movq 0x138(%r14), %rsi
movq 0xb0(%r14), %rdi
cmpq 0x140(%r14), %rsi
jne 0x18671
movq 0x150(%r14), %rax
movq -0x8(%rax), %rsi
addq %rbx, %rsi
addq $0x10, %rdi
addq $-0x10, %rsi
callq 0x24186
movq %r15, %rdi
callq 0x25b42
movq 0x90(%rsp), %rdi
callq 0x25dfe
leaq 0x68(%rsp), %rdi
callq 0x33e76
jmp 0x184f6
movq 0x50(%r14), %rdi
movq 0x58(%r14), %rsi
movq %r12, %rdx
leaq 0x2e345(%rip), %rcx     # 0x469f9
callq 0x240ab
testb %al, %al
je 0x18743
movl $0x3, 0x8(%rsp)
jmp 0x18402
movq 0x50(%r14), %rdi
movq 0x58(%r14), %rsi
pushq $0x3
popq %rdx
leaq 0x33531(%rip), %rcx     # 0x4bc11
callq 0x240ab
testb %al, %al
jne 0x1873a
movq 0x50(%r14), %rdi
movq 0x58(%r14), %rsi
movq %r13, %rdx
leaq 0x2e32b(%rip), %rcx     # 0x46a26
callq 0x240ab
testb %al, %al
jne 0x1873a
movq 0x50(%r14), %rdi
movq 0x58(%r14), %rsi
movq %r13, %rdx
leaq 0x2e2e3(%rip), %rcx     # 0x469f9
callq 0x240ab
testb %al, %al
jne 0x1873a
movq 0x50(%r14), %rdi
movq 0x58(%r14), %rsi
pushq $0x3
popq %rdx
leaq 0x30fbe(%rip), %rcx     # 0x496ef
callq 0x240ab
testb %al, %al
je 0x1878f
movl 0x48(%r14), %eax
jmp 0x17f6d
movq 0x50(%r14), %rdi
movq 0x58(%r14), %rsi
pushq $0x3
popq %rdx
leaq 0x30f9a(%rip), %rcx     # 0x496ef
callq 0x240ab
testb %al, %al
je 0x18768
andl $0x0, 0x8(%rsp)
jmp 0x18402
movq %rbp, %r12
movq %rbp, %rdi
leaq 0x30f7e(%rip), %rsi     # 0x496f3
leaq 0x30(%rsp), %rdx
callq 0xc0a4
movq %r14, %rdi
movq %r12, %rsi
callq 0x1704a
jmp 0x183fa
cmpl $0x15, 0x60(%r14)
jne 0x18836
movq %rbp, %rdi
movq 0x20(%rsp), %rsi
leaq 0x17(%rsp), %rdx
callq 0x1690a
movq 0x58(%r14), %rax
movq 0x18(%rsp), %rcx
subq 0x28(%rcx), %rax
movq %rax, 0x8(%rsp)
leaq 0x30(%rsp), %r12
movq %r12, %rdi
leaq 0x60(%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq 0x240df
movq %r15, %rdi
movq %r12, %rsi
callq 0x247aa
leaq 0x38(%rsp), %rdi
callq 0xd76e
movq %rbp, %r12
movq %rbp, %rdi
callq 0x9898
movq 0x138(%r14), %rax
cmpq 0x140(%r14), %rax
jne 0x18813
movq 0x150(%r14), %rax
movq -0x8(%rax), %rax
addq %rbx, %rax
movq -0x10(%rax), %rax
movq %rax, 0x60(%rsp)
movq 0x90(%rsp), %rdi
movq %r12, %rsi
movq 0x58(%rsp), %rdx
callq 0x24c66
jmp 0x184f6
movq 0xb0(%r14), %rax
movq %rax, 0x50(%rsp)
movq %rbp, %rdi
movq 0x20(%rsp), %rsi
leaq 0x17(%rsp), %rdx
callq 0x1690a
movq 0x58(%r14), %rax
movq 0x18(%rsp), %rcx
subq 0x28(%rcx), %rax
movq %rax, 0x8(%rsp)
leaq 0x30(%rsp), %r12
movq %r12, %rdi
leaq 0x60(%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq 0x24144
movq 0x50(%rsp), %rdi
addq $0x10, %rdi
movq %r12, %rsi
callq 0x24100
leaq 0x38(%rsp), %rdi
callq 0xd76e
movq %rbp, %rdi
jmp 0x18074
cmpq 0x140(%r14), %rsi
jne 0x188b9
movq 0x150(%r14), %rax
movl $0x200, %esi            # imm = 0x200
addq -0x8(%rax), %rsi
movq 0xb0(%r14), %rdi
addq $0x10, %rdi
addq $-0x10, %rsi
callq 0x24186
movq %r15, %rdi
callq 0x25b42
movq 0x138(%r14), %rsi
cmpq 0x118(%r14), %rsi
jne 0x188a0
movb $0x1, %al
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x188ff
jmp 0x1894a
jmp 0x18959
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0xd76e
jmp 0x1894d
jmp 0x1894a
jmp 0x18959
jmp 0x1894a
jmp 0x18959
jmp 0x1891a
jmp 0x18937
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x9898
jmp 0x1893a
jmp 0x18937
jmp 0x1894a
jmp 0x18959
jmp 0x1894a
jmp 0x18959
jmp 0x1894a
jmp 0x18959
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x33e76
jmp 0x1896f
jmp 0x1894a
jmp 0x18959
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x9898
jmp 0x1896f
movq %rax, %rbx
jmp 0x1896f
jmp 0x18962
jmp 0x18962
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0xd76e
movq %rbx, %rdi
callq 0x97a0