// File: /workspace/github_cpp_makefile_star2_O1/havluj[P]spreadsheet/src/CExpressionParser.cpp
// Function: CExpressionParser::Evaluate(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool CExpressionParser::Evaluate(const std::vector<std::string>& rpn, std::string& result) {
    typedef std::vector<std::string>::const_iterator rpn_iter;
    std::stack<std::string> stack;

    // While there are input tokens left
    for (rpn_iter it = rpn.begin(); it != rpn.end(); it++) {
	  // Read the next token from input.
	  std::string token = *it;

	  // If the token is a value push it onto the stack.
	  if (IsNumber(token) ||
		    IsFloat(token) ||
		    IsPi(token) ||
		    IsE(token)) {
		if (IsPi(token)) {
		    std::stringstream s;
		    s << pi;
		    token = s.str();
		} else if (IsE(token)) {
		    std::stringstream s;
		    s << e;
		    token = s.str();
		}
		stack.push(token);
	  }// Otherwise, the token is an operator or a function
	  else if (IsOperator(token) || IsFunction(token)) {
		double result = 0.0;

		// It is known a priori that the operator takes n arguments.
		unsigned int nargs = OpArgCount(UpperCase(token));

		bool isUnary = false;
		unsigned int stackArgs = stack.size();
		std::vector<double> args;

		if (stackArgs < nargs) {
		    // For dealing with unary '-' or unary '+'
		    if (stackArgs == 1 && nargs == 2 && (token == "+" || token == "-")) {
			  std::string value = stack.top();
			  result = strtod(value.c_str(), NULL);
			  stack.pop();
			  isUnary = true;
		    } else {
			  // (Error) The user has not input sufficient values in the expression.
			  return false;
		    }
		} else {
		    // Else, Pop the top n values from the stack.				
		    while (nargs > 0) {
			  std::string value = stack.top();
			  double d = strtod(value.c_str(), NULL);
			  args.push_back(d);
			  stack.pop();
			  nargs--;
		    }
		}

		// Evaluate the operator, with the values as arguments.                       
		if (IsOperator(token) && !isUnary) {
		    // Token is an operator: pop top two entries                          
		    double d2 = args[ 0 ];
		    double d1 = args[ 1 ];

		    //Get the result  
		    if (token == "+") {
			  result = d1 + d2;
		    } else if (token == "-") {
			  result = d1 - d2;
		    } else if (token == "*") {
			  result = d1 * d2;
		    } else if (token == "/") {
			  result = d1 / d2;
		    } else if (token == "%") {
			  int i2 = (int) args[ 0 ];
			  int i1 = (int) args[ 1 ];
			  double iresult = Modulo(i1, i2);
			  result = iresult;
		    }
		} else if (IsFunction(token)) {
		    double d0 = args[ 0 ];

		    std::string capToken = UpperCase(token);

		    // If say -SIN( x ) then multiply result of SIN by -1.0
		    double mult =
				token.find("-") != std::string::npos ? -1 : 1;

		    if (capToken.find("SIN") != std::string::npos) {
			  result = sin(d0);
		    } else if (capToken.find("COS") != std::string::npos) {
			  result = cos(d0);
		    } else if (capToken.find("TAN") != std::string::npos) {
			  result = tan(d0);
		    } else if (capToken.find("LN") != std::string::npos) {
			  result = log(d0);
		    } else if (capToken.find("LOG") != std::string::npos) {
			  result = log10(d0);
		    } else if (capToken.find("EXP") != std::string::npos) {
			  result = exp(d0);
		    } else if (capToken.find("^") != std::string::npos) {
			  double d2 = args[ 0 ];
			  double d1 = args[ 1 ];

			  if (d1 < 0) mult = -1.0;

			  result = pow((double) d1, d2);
		    } else if (capToken.find("POW") != std::string::npos) {
			  double d2 = args[ 0 ];
			  double d1 = args[ 1 ];
			  result = pow(d1, d2);
		    } else if (capToken.find("SQRT") != std::string::npos) {
			  result = sqrt(d0);
		    }

		    result *= mult;
		}

		// Push the returned results, if any, back onto the stack
		// Push result onto stack   
		if (result == (long) result) {
		    result = long( result);
		}
		std::stringstream s;
		s << result;
		stack.push(s.str());
	  }
    }

    // If there is only one value in the stack then
    // that value is the result of the calculation.
    if (stack.size() == 1) {
	  result = stack.top();

	  // Output the result
	  double res = strtod(result.c_str(), NULL);
	  if (res == (long) res) {
		long lres = (long) res;
		std::stringstream s;
		s << lres;
		result = s.str();
	  }

	  return true;
    }

    // If there are more values in the stack
    // (Error) The user input has too many values.
    return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2c8, %rsp            # imm = 0x2C8
movq %rdx, 0x138(%rsp)
movq %rsi, %r14
xorpd %xmm0, %xmm0
leaq 0xe0(%rsp), %rdi
movapd %xmm0, 0x40(%rdi)
movapd %xmm0, 0x30(%rdi)
movapd %xmm0, 0x20(%rdi)
movapd %xmm0, 0x10(%rdi)
movapd %xmm0, (%rdi)
xorl %esi, %esi
callq 0xcfbc
movq (%r14), %rbx
cmpq 0x8(%r14), %rbx
je 0xc1c7
leaq 0x30(%rsp), %r15
leaq 0x140(%rsp), %r13
leaq 0x80(%r13), %rax
movq %rax, 0x98(%rsp)
leaq 0x20(%rsp), %r12
movq %r14, 0x58(%rsp)
movq %r15, 0x20(%rsp)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x5370
movq %r12, %rdi
callq 0xa987
testb %al, %al
jne 0xb861
movq %r12, %rdi
callq 0xa8e8
testb %al, %al
jne 0xb861
movq %r12, %rdi
callq 0xa53c
testb %al, %al
jne 0xb861
movq %r12, %rdi
callq 0xa62d
testb %al, %al
je 0xb962
movq %r12, %rdi
callq 0xa53c
testb %al, %al
je 0xb8a1
movq %r13, %rdi
callq 0x41f0
leaq 0x150(%rsp), %rdi
movsd 0x305b(%rip), %xmm0     # 0xe8e0
callq 0x44e0
leaq 0x78(%rsp), %rbp
movq %rbp, %rdi
leaq 0x158(%rsp), %rsi
callq 0x44d0
jmp 0xb8df
movq %r12, %rdi
callq 0xa62d
testb %al, %al
je 0xb928
movq %r13, %rdi
callq 0x41f0
leaq 0x150(%rsp), %rdi
movsd 0x3013(%rip), %xmm0     # 0xe8d8
callq 0x44e0
leaq 0x78(%rsp), %rbp
movq %rbp, %rdi
leaq 0x158(%rsp), %rsi
callq 0x44d0
movq %r12, %rdi
movq %rbp, %rsi
callq 0x4380
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0xb90c
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x42d0
movq %r13, %rdi
movq 0x766a(%rip), %rsi      # 0x12f80
callq 0x4220
movq 0x98(%rsp), %rdi
callq 0x40d0
leaq 0xe0(%rsp), %rdi
movq %r12, %rsi
callq 0xd150
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0xb94f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x42d0
addq $0x20, %rbx
cmpq 0x8(%r14), %rbx
jne 0xb816
jmp 0xc1c7
movq %r12, %rdi
callq 0xa418
testb %al, %al
jne 0xb97a
movq %r12, %rdi
callq 0xa71e
testb %al, %al
je 0xb938
leaq 0xb0(%rsp), %rax
movq %rax, 0xa0(%rsp)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
leaq 0xa0(%rsp), %rdi
callq 0x5370
movq 0xa0(%rsp), %rcx
movq 0xa8(%rsp), %rax
movq %rcx, %r15
testq %rax, %rax
je 0xb9e4
movsbl (%r15), %edi
callq 0x45d0
movb %al, (%r15)
incq %r15
movq 0xa0(%rsp), %rcx
movq 0xa8(%rsp), %rax
leaq (%rcx,%rax), %rdx
cmpq %rdx, %r15
jne 0xb9bc
leaq 0x150(%rsp), %r15
movq %r15, 0x140(%rsp)
leaq 0xb0(%rsp), %rdx
cmpq %rdx, %rcx
je 0xba1b
movq %rcx, 0x140(%rsp)
movq 0xb0(%rsp), %rcx
movq %rcx, 0x150(%rsp)
jmp 0xba24
movupd (%rdx), %xmm0
movupd %xmm0, (%r15)
movq %rax, 0x148(%rsp)
movq %rdx, 0xa0(%rsp)
movq $0x0, 0xa8(%rsp)
movb $0x0, 0xb0(%rsp)
movq %r13, %rdi
callq 0xa21c
movl %eax, 0x40(%rsp)
movq 0x140(%rsp), %rdi
cmpq %r15, %rdi
je 0xba71
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x42d0
movq %r15, %r14
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0xba99
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x128(%rsp), %rax
movl 0x108(%rsp), %ecx
movl %eax, %edx
subl %ecx, %edx
shrl $0x3, %edx
cmpq $0x1, %rax
adcl $-0x1, %edx
shll $0x4, %edx
movq 0x100(%rsp), %r15
movq 0x110(%rsp), %rax
subq 0x118(%rsp), %rax
subq 0xf0(%rsp), %r15
shrq $0x5, %rax
shrq $0x5, %r15
addl %eax, %r15d
addl %edx, %r15d
xorpd %xmm0, %xmm0
movapd %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
movl 0x40(%rsp), %eax
movl %eax, %ebp
cmpl %r15d, %eax
ja 0xbbca
movq 0x110(%rsp), %rax
cmpq 0x118(%rsp), %rax
jne 0xbb2f
movq 0x128(%rsp), %rax
movq -0x8(%rax), %rax
movl $0x200, %ecx            # imm = 0x200
addq %rcx, %rax
movq %r14, 0x140(%rsp)
movq -0x20(%rax), %rsi
movq -0x18(%rax), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x5370
movq 0x140(%rsp), %rdi
xorl %esi, %esi
callq 0x4230
movsd %xmm0, 0x78(%rsp)
movq 0x68(%rsp), %rsi
cmpq 0x70(%rsp), %rsi
je 0xbb7a
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x68(%rsp)
jmp 0xbb89
leaq 0x60(%rsp), %rdi
leaq 0x78(%rsp), %rdx
callq 0xd476
leaq 0xe0(%rsp), %rdi
callq 0xd3ea
movq 0x140(%rsp), %rdi
cmpq %r14, %rdi
je 0xbbb3
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x42d0
decl %ebp
jne 0xbb09
xorpd %xmm0, %xmm0
movapd %xmm0, 0x10(%rsp)
jmp 0xbc89
cmpl $0x2, 0x40(%rsp)
jne 0xc2ec
cmpl $0x1, %r15d
jne 0xc2ec
movq %r12, %rdi
leaq 0x2d0b(%rip), %rsi      # 0xe8f4
callq 0x40a0
testl %eax, %eax
je 0xbc09
movq %r12, %rdi
leaq 0x2cfa(%rip), %rsi      # 0xe8f6
callq 0x40a0
testl %eax, %eax
jne 0xc2ec
movq 0x110(%rsp), %rax
cmpq 0x118(%rsp), %rax
jne 0xbc2f
movq 0x128(%rsp), %rax
movq -0x8(%rax), %rax
movl $0x200, %ecx            # imm = 0x200
addq %rcx, %rax
movq %r14, 0x140(%rsp)
movq -0x20(%rax), %rsi
movq -0x18(%rax), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x5370
movq 0x140(%rsp), %rdi
xorl %esi, %esi
callq 0x4230
movapd %xmm0, 0x10(%rsp)
leaq 0xe0(%rsp), %rdi
callq 0xd3ea
movq 0x140(%rsp), %rdi
cmpq %r14, %rdi
je 0xbc89
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x42d0
cmpl %r15d, 0x40(%rsp)
seta %bpl
movq %r12, %rdi
callq 0xa418
xorb $0x1, %al
orb %bpl, %al
jne 0xbd6c
movq 0x60(%rsp), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0x40(%rsp)
movsd 0x8(%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq %r12, %rdi
leaq 0x2c2b(%rip), %rsi      # 0xe8f4
callq 0x40a0
testl %eax, %eax
leaq 0x30(%rsp), %r15
je 0xbe31
movq %r12, %rdi
leaq 0x2c11(%rip), %rsi      # 0xe8f6
callq 0x40a0
testl %eax, %eax
je 0xbe3f
movq %r12, %rdi
leaq 0x2bfc(%rip), %rsi      # 0xe8f8
callq 0x40a0
testl %eax, %eax
movq 0x58(%rsp), %r14
je 0xbf15
movq %r12, %rdi
leaq 0x2be2(%rip), %rsi      # 0xe8fa
callq 0x40a0
testl %eax, %eax
je 0xbf26
movq %r12, %rdi
leaq 0x2bc3(%rip), %rsi      # 0xe8f2
callq 0x40a0
testl %eax, %eax
jne 0xc0b5
movq 0x60(%rsp), %rax
cvttsd2si (%rax), %esi
cvttsd2si 0x8(%rax), %ecx
movl %ecx, %eax
cltd
idivl %esi
testl %edx, %edx
cmovel %edx, %esi
testl %ecx, %ecx
movl $0x0, %eax
cmovnsl %eax, %esi
addl %edx, %esi
xorps %xmm0, %xmm0
cvtsi2sd %esi, %xmm0
jmp 0xc0af
movq %r12, %rdi
leaq 0x30(%rsp), %r15
callq 0xa71e
testb %al, %al
je 0xbe51
movq 0x60(%rsp), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0xd0(%rsp), %rax
movq %rax, 0xc0(%rsp)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
leaq 0xc0(%rsp), %rdi
callq 0x5370
movq 0xc0(%rsp), %rcx
movq 0xc8(%rsp), %rax
movq %rcx, %r15
testq %rax, %rax
je 0xbdfa
movsbl (%r15), %edi
callq 0x45d0
movb %al, (%r15)
incq %r15
movq 0xc0(%rsp), %rcx
movq 0xc8(%rsp), %rax
leaq (%rcx,%rax), %rdx
cmpq %rdx, %r15
jne 0xbdd2
leaq 0x150(%rsp), %rsi
movq %rsi, 0x140(%rsp)
leaq 0xd0(%rsp), %rdx
cmpq %rdx, %rcx
je 0xbe5b
movq %rcx, 0x140(%rsp)
movq 0xd0(%rsp), %rcx
movq %rcx, 0x150(%rsp)
jmp 0xbe63
movsd 0x40(%rsp), %xmm0
addsd 0x8(%rsp), %xmm0
jmp 0xbe4b
movsd 0x8(%rsp), %xmm0
subsd 0x40(%rsp), %xmm0
movapd %xmm0, 0x10(%rsp)
movq 0x58(%rsp), %r14
jmp 0xc0b5
movupd (%rdx), %xmm0
movupd %xmm0, (%rsi)
leaq 0x30(%rsp), %r15
movq %rax, 0x148(%rsp)
movq %rdx, 0xc0(%rsp)
movq $0x0, 0xc8(%rsp)
movb $0x0, 0xd0(%rsp)
movl $0x1, %ecx
movq %r12, %rdi
leaq 0x2a5b(%rip), %rsi      # 0xe8f6
xorl %edx, %edx
callq 0x4580
xorl %ecx, %ecx
cmpq $-0x1, %rax
sete %cl
leaq 0x2a0e(%rip), %rax      # 0xe8c0
movsd (%rax,%rcx,8), %xmm0
movapd %xmm0, 0x40(%rsp)
movl $0x3, %ecx
movq %r13, %rdi
leaq 0x2a3b(%rip), %rsi      # 0xe907
xorl %edx, %edx
callq 0x4580
cmpq $-0x1, %rax
je 0xbee9
movsd 0x8(%rsp), %xmm0
callq 0x4070
jmp 0xc073
movl $0x3, %ecx
movq %r13, %rdi
leaq 0x2a13(%rip), %rsi      # 0xe90b
xorl %edx, %edx
callq 0x4580
cmpq $-0x1, %rax
je 0xbf37
movsd 0x8(%rsp), %xmm0
callq 0x45f0
jmp 0xc073
movsd 0x40(%rsp), %xmm0
mulsd 0x8(%rsp), %xmm0
jmp 0xc0af
movsd 0x8(%rsp), %xmm0
divsd 0x40(%rsp), %xmm0
jmp 0xc0af
movl $0x3, %ecx
movq %r13, %rdi
leaq 0x29c9(%rip), %rsi      # 0xe90f
xorl %edx, %edx
callq 0x4580
cmpq $-0x1, %rax
je 0xbf63
movsd 0x8(%rsp), %xmm0
callq 0x41a0
jmp 0xc073
movl $0x2, %ecx
movq %r13, %rdi
leaq 0x29a1(%rip), %rsi      # 0xe913
xorl %edx, %edx
callq 0x4580
cmpq $-0x1, %rax
je 0xbf8f
movsd 0x8(%rsp), %xmm0
callq 0x4260
jmp 0xc073
movl $0x3, %ecx
movq %r13, %rdi
leaq 0x2978(%rip), %rsi      # 0xe916
xorl %edx, %edx
callq 0x4580
cmpq $-0x1, %rax
je 0xbfbb
movsd 0x8(%rsp), %xmm0
callq 0x4160
jmp 0xc073
movl $0x3, %ecx
movq %r13, %rdi
leaq 0x2950(%rip), %rsi      # 0xe91a
xorl %edx, %edx
callq 0x4580
cmpq $-0x1, %rax
je 0xbfe7
movsd 0x8(%rsp), %xmm0
callq 0x45b0
jmp 0xc073
movl $0x1, %ecx
movq %r13, %rdi
leaq 0x23d1(%rip), %rsi      # 0xe3c7
xorl %edx, %edx
callq 0x4580
cmpq $-0x1, %rax
je 0xc040
movq 0x60(%rsp), %rax
movsd (%rax), %xmm1
movsd 0x8(%rax), %xmm0
movapd %xmm0, %xmm4
cmpltsd 0x28ca(%rip), %xmm4     # 0xe8e8
movapd %xmm4, %xmm2
movsd 0x28a6(%rip), %xmm3     # 0xe8d0
andpd %xmm3, %xmm2
andnpd 0x40(%rsp), %xmm4
orpd %xmm2, %xmm4
movapd %xmm4, 0x40(%rsp)
jmp 0xc06e
movl $0x3, %ecx
movq %r13, %rdi
leaq 0x28af(%rip), %rsi      # 0xe8fe
xorl %edx, %edx
callq 0x4580
cmpq $-0x1, %rax
je 0xc175
movq 0x60(%rsp), %rax
movsd (%rax), %xmm1
movsd 0x8(%rax), %xmm0
callq 0x4590
movapd %xmm0, 0x10(%rsp)
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
movq 0x58(%rsp), %r14
je 0xc0a3
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x42d0
movapd 0x10(%rsp), %xmm0
mulsd 0x40(%rsp), %xmm0
movapd %xmm0, 0x10(%rsp)
movq %r13, %rdi
callq 0x41f0
movapd 0x10(%rsp), %xmm2
cvttsd2si %xmm2, %rax
xorps %xmm1, %xmm1
cvtsi2sd %rax, %xmm1
movapd %xmm2, %xmm0
cmpeqsd %xmm1, %xmm0
andpd %xmm0, %xmm1
andnpd %xmm2, %xmm0
orpd %xmm1, %xmm0
leaq 0x150(%rsp), %rdi
callq 0x44e0
leaq 0x78(%rsp), %rbp
movq %rbp, %rdi
leaq 0x158(%rsp), %rsi
callq 0x44d0
leaq 0xe0(%rsp), %rdi
movq %rbp, %rsi
callq 0xd5b6
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0xc139
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x42d0
movq %r13, %rdi
movq 0x6e3d(%rip), %rsi      # 0x12f80
callq 0x4220
movq 0x98(%rsp), %rdi
callq 0x40d0
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0xb938
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x42d0
jmp 0xb938
movl $0x4, %ecx
movq %r13, %rdi
leaq 0x279a(%rip), %rsi      # 0xe91e
xorl %edx, %edx
callq 0x4580
cmpq $-0x1, %rax
je 0xc1bd
movsd 0x8(%rsp), %xmm0
ucomisd 0x2749(%rip), %xmm0     # 0xe8e8
jb 0xc1ac
xorps %xmm0, %xmm0
sqrtsd 0x8(%rsp), %xmm0
jmp 0xc1b7
movsd 0x8(%rsp), %xmm0
callq 0x4250
movapd %xmm0, 0x10(%rsp)
leaq 0x30(%rsp), %r15
jmp 0xc079
movq 0x128(%rsp), %rax
movq %rax, %rdx
subq 0x108(%rsp), %rdx
shrq $0x3, %rdx
cmpq $0x1, %rax
adcq $-0x1, %rdx
shlq $0x4, %rdx
movq 0x100(%rsp), %rdi
movq 0x110(%rsp), %rsi
movq 0x118(%rsp), %rcx
movq %rsi, %r8
subq %rcx, %r8
sarq $0x5, %r8
subq 0xf0(%rsp), %rdi
sarq $0x5, %rdi
addq %r8, %rdi
addq %rdx, %rdi
cmpq $0x1, %rdi
jne 0xc31f
cmpq %rcx, %rsi
jne 0xc236
movl $0x200, %esi            # imm = 0x200
addq -0x8(%rax), %rsi
addq $-0x20, %rsi
movq 0x138(%rsp), %r15
movq %r15, %rdi
callq 0x4190
movq (%r15), %rdi
xorl %esi, %esi
callq 0x4230
cvttsd2si %xmm0, %r14
cvtsi2sd %r14, %xmm1
movb $0x1, %bl
ucomisd %xmm1, %xmm0
jne 0xc321
jp 0xc321
leaq 0x140(%rsp), %rdi
callq 0x41f0
leaq 0x150(%rsp), %rdi
movq %r14, %rsi
callq 0x42b0
leaq 0x158(%rsp), %rsi
leaq 0x20(%rsp), %rdi
callq 0x44d0
leaq 0x20(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x4380
movq (%r14), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0xc2c9
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x6cb0(%rip), %rsi      # 0x12f80
leaq 0x140(%rsp), %rdi
callq 0x4220
leaq 0x1c0(%rsp), %rdi
callq 0x40d0
jmp 0xc321
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0xc303
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x42d0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0xc31f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x42d0
xorl %ebx, %ebx
leaq 0xe0(%rsp), %rdi
callq 0xcd50
movl %ebx, %eax
addq $0x2c8, %rsp            # imm = 0x2C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xc42e
jmp 0xc349
movq %rax, %rbx
movq 0x6c2d(%rip), %rsi      # 0x12f80
leaq 0x140(%rsp), %rdi
callq 0x4220
leaq 0x1c0(%rsp), %rdi
callq 0x40d0
jmp 0xc46e
jmp 0xc44f
jmp 0xc42e
jmp 0xc42e
jmp 0xc44f
movq %rax, %rbx
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0xc3b2
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0xc3b2
jmp 0xc3af
movq %rax, %rbx
movq 0x6bc7(%rip), %rsi      # 0x12f80
leaq 0x140(%rsp), %rdi
callq 0x4220
leaq 0x1c0(%rsp), %rdi
callq 0x40d0
jmp 0xc431
jmp 0xc42e
movq %rax, %rbx
jmp 0xc448
jmp 0xc408
jmp 0xc408
jmp 0xc454
movq %rax, %rbx
movq 0x140(%rsp), %rdi
cmpq %r14, %rdi
je 0xc431
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0xc431
jmp 0xc454
jmp 0xc408
movq %rax, %rbx
movq 0x6b6e(%rip), %rsi      # 0x12f80
leaq 0x140(%rsp), %rdi
callq 0x4220
leaq 0x1c0(%rsp), %rdi
callq 0x40d0
jmp 0xc457
movq %rax, %rbx
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0xc448
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x42d0
leaq 0x30(%rsp), %r15
jmp 0xc457
movq %rax, %rbx
jmp 0xc46e
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0xc46e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x42d0
leaq 0xe0(%rsp), %rdi
callq 0xcd50
movq %rbx, %rdi
callq 0x45a0
nop