// File: /workspace/github_cpp_makefile_star2_O3/akinanop[P]mvl-solver/src/LinearEncode.cc
// Function: LinearEncode(CommandLine*)
void LinearEncode(CommandLine * cline)
{
  //local variables
  ifstream infile;
  ofstream outfile;
  char line_buffer[3000];
  char word_buffer[3000];
  int num_clause = 0;
  int num_var = 0;
  int new_num_clause = 0;
  int new_num_var = 0;
  int * domain;
  int * index;
  int var, val;
  int temp;
  bool isdone = false;
  int count = 0;
  char ch, ch1;

  //opening infile to read and checking if it opens
  infile.open(cline->FILE, ios::in);
  if(!infile)
    {
      cout<<endl;
      cout<<"**** ERROR ****"<<endl;
      cout<<"Could not open input file : "<<endl;
      cout<<endl;
      exit(1);
    }

  //opening outfile to write the new clauses
  outfile.open(cline->MODEL_FILE, ios::out);
  if(!outfile)
    {
      cout<<endl;
      cout<<"**** ERROR ****"<<endl;
      cout<<"Could not open output file : "<<endl;
      cout<<endl;
      exit(1);
    }

  //now reading each line from the infile and if needed to convert
  //then converting it and writing to outfile or just writing directly
  while(infile.getline(line_buffer, 3000))
    {
      //if line is comment - just write
      if(line_buffer[0] == 'c')
	{
	  //do nothing
	  ;
	}
      //else if line is p cnf var_num clause_num - just write
      else if(line_buffer[0] == 'p')
	{
	  //do nothing
	  temp = sscanf(line_buffer, "p cnf %d %d", &var, &val);
	  num_var = var;
	  num_clause = val;
	  domain = new int[var+1];
	  index = new int[var+1];
	  //default initialization to domain value 2
	  for(int i=0; i<var+1; i++)
	    domain[i] = 2;
	}
      //else if line is d var# domsize
      else if(line_buffer[0] == 'd')
	{
	  temp = sscanf(line_buffer, "d %d %d", &var, &val);
	  count++;
	  new_num_var += 2*val-1;
	  new_num_clause += 4*(val-2)+3+1;
	  domain[var] = val;
	}
      //else its variables
      else
	{
	  if(!isdone)
	    {
	      isdone = true;
	      new_num_clause += num_clause;
	      new_num_var += (num_var - count);
	      outfile<<"p cnf "<<new_num_var<<" "<<new_num_clause<<endl;
	      //compute the index values for each variable=domainvalue
	      index[1] = 1;
	      for(int i=2; i<num_var+1; i++)
		{
		  if(domain[i-1] == 2)
		    index[i] = index[i-1]+1;
		  else
		    index[i] = 2*domain[i-1] -1 + index[i-1];
		}
	      int var_t1 = 0;
	      int var_t2 = 0;
	      //add the extra clauses
	      for(int i=0; i<num_var+1; i++)
		{
		  if(domain[i] > 2)
		    {
		      //write the ALO condition
		      for(int j=0; j<domain[i]; j++)
			{
			  outfile<<index[i]+j<<" ";
			}
		      outfile<<" 0"<<endl;
		      var_t1 = index[i]+domain[i];
		      var_t2 = index[i];
		      outfile<<-(var_t1)<<" "<<(var_t2)<<" 0"<<endl;
		      outfile<<var_t1<<" "<<-(var_t2)<<" 0"<<endl;
		      for(int j=0; j<domain[i]-2; j++)
			{
			  outfile<<-(var_t1+1+j)<<" "<<(var_t1+j)<<" "<<var_t2+1+j<<" 0"<<endl;
			  outfile<<var_t1+1+j<<" "<<-(var_t1+j)<<" 0"<<endl;
			  outfile<<var_t1+1+j<<" "<<-(var_t2+1+j)<<" 0"<<endl;
			}
		      for(int j=0; j<domain[i]-1; j++)
			{
			  var_t1=-(index[i]+domain[i]+j);
			  var_t2=-(index[i]+1+j);
			  outfile<<var_t1<<" "<<var_t2<<" 0\n";
			}
		    }
		  else
		    {
		      //do nothing
		      ;
		    }
		}
	    }

	  char * lp = line_buffer;
	  do
	    {
	      char * wp = word_buffer;
	      //erasing all leading space/tabs
	      while (*lp && ((*lp == ' ') || (*lp == '\t')))
		{
		  lp++;
		}
	      //reading each value into word buffer
	      while (*lp && (*lp != ' ') && (*lp != '\t') && (*lp != '\n'))
		{
		  *(wp++) = *(lp++);
		}
	      *wp = '\0';
	      //converting into int and writing to file
	      if(strlen(word_buffer) != 0)
		{
		  temp = sscanf(word_buffer, "%d %c %d", &var, &ch, &val);
		  if(ch == '!')
		    temp = sscanf(word_buffer, "%d %c %c %d", &var, &ch, &ch1, &val);
		  //checking if variable = 0 i.e end of line
		  if(var != 0)
		    {
		      if(domain[var] > 2)
			{
			  var = index[var] + val;
			  if(ch == '!')
			    outfile<<"-"<<var<<" ";
			  else
			    outfile<<var<<" ";
			}
		      else
			{
			  if(val == 1)
			    {
			      var = index[var];
			      outfile<<var<<" ";
			    }
			  else
			    {
			      var = -index[var];
			      outfile<<var<<" ";
			    }
			}
		    }
		}
	    }while(*lp);
	  outfile<<"0"<<endl;
	}
    }

  //closing file
  infile.close();
  outfile.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1be8, %rsp           # imm = 0x1BE8
movq %rdi, %rbx
leaq 0x268(%rsp), %rdi
callq 0x2260
leaq 0x68(%rsp), %rdi
callq 0x2380
movq 0x20(%rbx), %rsi
leaq 0x268(%rsp), %r15
movq %r15, %rdi
movl $0x8, %edx
callq 0x2170
movq 0x268(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x288(%rsp,%rax)
jne 0x623d
movq 0x28(%rbx), %rsi
leaq 0x68(%rsp), %r13
movq %r13, %rdi
movl $0x10, %edx
callq 0x2060
movq 0x68(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x88(%rsp,%rax)
jne 0x629f
leaq 0x1030(%rsp), %r12
movl $0x0, 0x30(%rsp)
movq $0x0, 0x38(%rsp)
movq $0x0, 0x40(%rsp)
movq $0x0, 0x48(%rsp)
xorl %r14d, %r14d
movl $0x0, 0x34(%rsp)
movq 0x268(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %ecx
movl $0xbb8, %edx            # imm = 0xBB8
movq %r15, %rdi
movq %r12, %rsi
callq 0x23c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x61d5
movzbl 0x1030(%rsp), %eax
cmpl $0x63, %eax
je 0x5949
cmpl $0x64, %eax
je 0x5b2a
cmpl $0x70, %eax
leaq 0x8(%rsp), %rbp
jne 0x5b7c
movq %r12, %rdi
leaq 0x8256(%rip), %rsi      # 0xdc0b
movq %rbp, %rdx
leaq 0xc(%rsp), %rcx
xorl %eax, %eax
callq 0x2210
movl 0x8(%rsp), %ecx
movl 0xc(%rsp), %eax
movl %eax, 0x30(%rsp)
leal 0x1(%rcx), %ebp
movslq %ebp, %rbx
shlq $0x2, %rbx
movq %rcx, 0x38(%rsp)
cmpl $-0x1, %ecx
movq $-0x1, %rax
cmovlq %rax, %rbx
movq %rbx, %rdi
callq 0x2030
movq %rax, 0x10(%rsp)
movq %rbx, %rdi
callq 0x2030
movq %rax, 0x18(%rsp)
cmpl $0x0, 0x38(%rsp)
js 0x5949
movl %ebp, %eax
leaq -0x1(%rax), %rcx
movq %rcx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
leaq 0xc(,%rax,4), %rax
andq $-0x10, %rax
pxor 0x816a(%rip), %xmm0     # 0xdba0
xorl %ecx, %ecx
movdqa 0x8150(%rip), %xmm1     # 0xdb90
movdqa 0x8138(%rip), %xmm2     # 0xdb80
movdqa %xmm1, %xmm3
pxor 0x814c(%rip), %xmm3     # 0xdba0
movdqa %xmm3, %xmm4
pcmpgtd %xmm0, %xmm4
pcmpeqd %xmm0, %xmm3
pshufd $0xf5, %xmm3, %xmm5     # xmm5 = xmm3[1,1,3,3]
pand %xmm4, %xmm5
pshufd $0xf5, %xmm4, %xmm3     # xmm3 = xmm4[1,1,3,3]
por %xmm5, %xmm3
movd %xmm3, %edx
notl %edx
testb $0x1, %dl
je 0x5a89
movq 0x10(%rsp), %rdx
movl $0x2, (%rdx,%rcx)
pxor 0x812f(%rip), %xmm3     # 0xdbc0
pextrw $0x4, %xmm3, %edx
testb $0x1, %dl
je 0x5aa8
movq 0x10(%rsp), %rdx
movl $0x2, 0x4(%rdx,%rcx)
movdqa %xmm2, %xmm3
pxor 0x80ec(%rip), %xmm3     # 0xdba0
movdqa %xmm3, %xmm4
pcmpgtd %xmm0, %xmm4
pcmpeqd %xmm0, %xmm3
pshufd $0xf5, %xmm3, %xmm5     # xmm5 = xmm3[1,1,3,3]
pand %xmm4, %xmm5
pshufd $0xf5, %xmm4, %xmm3     # xmm3 = xmm4[1,1,3,3]
por %xmm5, %xmm3
pxor 0x80e6(%rip), %xmm3     # 0xdbc0
pextrw $0x0, %xmm3, %edx
testb $0x1, %dl
je 0x5af1
movq 0x10(%rsp), %rdx
movl $0x2, 0x8(%rdx,%rcx)
pextrw $0x4, %xmm3, %edx
testb $0x1, %dl
je 0x5b08
movq 0x10(%rsp), %rdx
movl $0x2, 0xc(%rdx,%rcx)
movdqa 0x80a0(%rip), %xmm3     # 0xdbb0
paddq %xmm3, %xmm1
paddq %xmm3, %xmm2
addq $0x10, %rcx
cmpq %rcx, %rax
jne 0x5a48
jmp 0x5949
movq %r12, %rdi
leaq 0x80e3(%rip), %rsi      # 0xdc17
leaq 0x8(%rsp), %rdx
leaq 0xc(%rsp), %rcx
xorl %eax, %eax
callq 0x2210
incl 0x34(%rsp)
movl 0xc(%rsp), %eax
movq 0x48(%rsp), %rcx
leal (%rcx,%rax,2), %ecx
decl %ecx
movq %rcx, 0x48(%rsp)
movq 0x40(%rsp), %rcx
leal -0x4(%rcx,%rax,4), %ecx
movq %rcx, 0x40(%rsp)
movslq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rdx
movl %eax, (%rdx,%rcx,4)
jmp 0x5949
testb $0x1, %r14b
jne 0x6063
movl $0x6, %edx
movq %r13, %rdi
leaq 0x7f85(%rip), %rsi      # 0xdb1a
callq 0x2270
movq 0x38(%rsp), %rax
subl 0x34(%rsp), %eax
movq 0x48(%rsp), %rsi
addl %eax, %esi
movq %r13, %rdi
movq %rsi, 0x48(%rsp)
callq 0x2390
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x767e(%rip), %rsi      # 0xd247
callq 0x2270
movq 0x40(%rsp), %rsi
addl 0x30(%rsp), %esi
movq %rbx, %rdi
movq %rsi, 0x40(%rsp)
callq 0x2390
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2180
movq 0x18(%rsp), %rax
movl $0x1, 0x4(%rax)
movq 0x38(%rsp), %rdi
cmpl $0x2, %edi
leaq 0x8(%rsp), %rbp
jl 0x5c68
movl %edi, %eax
decq %rax
xorl %ecx, %ecx
movq 0x10(%rsp), %rdx
movl 0x4(%rdx,%rcx,4), %edx
cmpl $0x2, %edx
jne 0x5c4c
movq 0x18(%rsp), %r8
movl 0x4(%r8,%rcx,4), %edx
incl %edx
jmp 0x5c5b
movq 0x18(%rsp), %r8
movl 0x4(%r8,%rcx,4), %esi
leal (%rsi,%rdx,2), %edx
decl %edx
movl %edx, 0x8(%r8,%rcx,4)
incq %rcx
cmpq %rcx, %rax
jne 0x5c30
testl %edi, %edi
js 0x6063
leal 0x1(%rdi), %eax
movq %rax, 0x58(%rsp)
xorl %r15d, %r15d
movq 0x10(%rsp), %rax
cmpl $0x3, (%rax,%r15,4)
jl 0x6040
xorl %ebx, %ebx
movq 0x18(%rsp), %rax
movl (%rax,%r15,4), %esi
addl %ebx, %esi
movq %r13, %rdi
callq 0x2390
movl $0x1, %edx
movq %rax, %rdi
leaq 0x7598(%rip), %rsi      # 0xd247
callq 0x2270
incl %ebx
movq 0x10(%rsp), %rax
cmpl (%rax,%r15,4), %ebx
jl 0x5c8d
movl $0x2, %edx
movq %r13, %rdi
leaq 0x7f4f(%rip), %rsi      # 0xdc1f
callq 0x2270
movq 0x68(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %r13, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2180
movq 0x18(%rsp), %rax
movl (%rax,%r15,4), %ecx
movq 0x10(%rsp), %rax
movl (%rax,%r15,4), %edx
movq %rcx, 0x28(%rsp)
addl %ecx, %edx
movq %rdx, 0x50(%rsp)
movl %edx, %esi
negl %esi
movq %r13, %rdi
callq 0x2390
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x750d(%rip), %rsi      # 0xd247
callq 0x2270
movq %rbx, %rdi
movq 0x28(%rsp), %rsi
callq 0x2390
movq %rax, %r14
movl $0x2, %edx
movq %rax, %rdi
leaq 0x7ec1(%rip), %rsi      # 0xdc1f
callq 0x2270
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2180
movq %r13, %rdi
movq 0x50(%rsp), %rsi
callq 0x2390
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x749e(%rip), %rsi      # 0xd247
callq 0x2270
movq 0x28(%rsp), %rax
movl %eax, %esi
negl %esi
movq %rbx, %rdi
callq 0x2390
movq %rax, %r14
movl $0x2, %edx
movq %rax, %rdi
leaq 0x7e4e(%rip), %rsi      # 0xdc1f
callq 0x2270
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2180
movq 0x10(%rsp), %rax
movl (%rax,%r15,4), %eax
cmpl $0x3, %eax
jl 0x5fcb
movq 0x50(%rsp), %rax
incl %eax
movq %rax, 0x60(%rsp)
movq 0x28(%rsp), %rax
incl %eax
movq %rax, 0x28(%rsp)
xorl %r13d, %r13d
movq 0x60(%rsp), %rax
leal (%rax,%r13), %r14d
movl %r14d, %esi
negl %esi
leaq 0x68(%rsp), %rdi
callq 0x2390
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x73f3(%rip), %rsi      # 0xd247
callq 0x2270
movq 0x50(%rsp), %rax
leal (%rax,%r13), %r12d
movq %rbx, %rdi
movl %r12d, %esi
callq 0x2390
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x73c8(%rip), %rsi      # 0xd247
callq 0x2270
movq 0x28(%rsp), %rax
leal (%rax,%r13), %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x2390
movq %rax, %rbx
movl $0x2, %edx
movq %rax, %rdi
leaq 0x7d76(%rip), %rsi      # 0xdc1f
callq 0x2270
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2180
leaq 0x68(%rsp), %rdi
movl %r14d, %esi
callq 0x2390
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x7353(%rip), %rsi      # 0xd247
callq 0x2270
negl %r12d
movq %rbx, %rdi
movl %r12d, %esi
callq 0x2390
movq %rax, %rbx
movl $0x2, %edx
movq %rax, %rdi
leaq 0x7d06(%rip), %rsi      # 0xdc1f
callq 0x2270
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2180
leaq 0x68(%rsp), %rdi
movl %r14d, %esi
callq 0x2390
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x72e3(%rip), %rsi      # 0xd247
callq 0x2270
negl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x2390
movq %rax, %rbx
movl $0x2, %edx
movq %rax, %rdi
leaq 0x7c98(%rip), %rsi      # 0xdc1f
callq 0x2270
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2180
incl %r13d
movq 0x10(%rsp), %rax
movl (%rax,%r15,4), %eax
leal -0x2(%rax), %ecx
cmpl %ecx, %r13d
jl 0x5e2a
cmpl $0x2, %eax
leaq 0x68(%rsp), %r13
jl 0x6040
xorl %ebp, %ebp
xorl %r12d, %r12d
movq 0x18(%rsp), %rcx
movl (%rcx,%r15,4), %ebx
addl %ebx, %eax
movl %ebp, %esi
subl %eax, %esi
movq %r13, %rdi
callq 0x2390
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0x7244(%rip), %rsi      # 0xd247
callq 0x2270
notl %ebx
addl %ebp, %ebx
movq %r14, %rdi
movl %ebx, %esi
callq 0x2390
movl $0x3, %edx
movq %rax, %rdi
leaq 0x7bfd(%rip), %rsi      # 0xdc22
callq 0x2270
incl %r12d
movq 0x10(%rsp), %rax
movl (%rax,%r15,4), %eax
leal -0x1(%rax), %ecx
decl %ebp
cmpl %ecx, %r12d
jl 0x5fda
incq %r15
cmpq 0x58(%rsp), %r15
jne 0x5c7b
leaq 0x268(%rsp), %r15
leaq 0x1030(%rsp), %r12
leaq 0x8(%rsp), %rbp
movq %r12, %rbx
movzbl (%rbx), %eax
cmpl $0x9, %eax
je 0x6073
cmpl $0x20, %eax
jne 0x6078
incq %rbx
jmp 0x6066
xorl %r14d, %r14d
cmpb $0x20, %al
ja 0x6092
movzbl %al, %ecx
movabsq $0x100000601, %rdx      # imm = 0x100000601
btq %rcx, %rdx
jb 0x60a4
movb %al, 0x470(%rsp,%r14)
movb 0x1(%rbx,%r14), %al
incq %r14
jmp 0x607b
movb $0x0, 0x470(%rsp,%r14)
cmpb $0x0, 0x470(%rsp)
je 0x6184
leaq 0x470(%rsp), %rdi
leaq 0x7b5c(%rip), %rsi      # 0xdc26
movq %rbp, %rdx
leaq 0x7(%rsp), %rcx
leaq 0xc(%rsp), %r8
xorl %eax, %eax
callq 0x2210
cmpb $0x21, 0x7(%rsp)
jne 0x610d
leaq 0x470(%rsp), %rdi
leaq 0x7b3b(%rip), %rsi      # 0xdc2f
movq %rbp, %rdx
leaq 0x7(%rsp), %rcx
leaq 0x27(%rsp), %r8
leaq 0xc(%rsp), %r9
xorl %eax, %eax
callq 0x2210
movslq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6184
movq 0x10(%rsp), %rcx
cmpl $0x3, (%rcx,%rax,4)
jl 0x6153
movl 0xc(%rsp), %esi
movq 0x18(%rsp), %rcx
addl (%rcx,%rax,4), %esi
movl %esi, 0x8(%rsp)
cmpb $0x21, 0x7(%rsp)
jne 0x6168
movl $0x1, %edx
movq %r13, %rdi
leaq 0x7af3(%rip), %rsi      # 0xdc3b
callq 0x2270
movl 0x8(%rsp), %esi
jmp 0x6168
cmpl $0x1, 0xc(%rsp)
movq 0x18(%rsp), %rcx
movl (%rcx,%rax,4), %esi
je 0x6164
negl %esi
movl %esi, 0x8(%rsp)
movq %r13, %rdi
callq 0x2390
movl $0x1, %edx
movq %rax, %rdi
leaq 0x70c8(%rip), %rsi      # 0xd247
callq 0x2270
addq %r14, %rbx
cmpb $0x0, (%rbx)
jne 0x6066
movl $0x1, %edx
movq %r13, %rdi
leaq 0x7a81(%rip), %rsi      # 0xdc20
callq 0x2270
movq 0x68(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %r13, %rdi
callq 0x2040
movb $0x1, %r14b
movq %rax, %rdi
callq 0x2180
jmp 0x5949
leaq 0x268(%rsp), %rdi
callq 0x2090
leaq 0x68(%rsp), %rdi
callq 0x22f0
movq 0xadd5(%rip), %rax      # 0x10fc8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x70(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x68(%rsp,%rcx)
callq 0x21c0
leaq 0x160(%rsp), %rdi
callq 0x20e0
leaq 0x268(%rsp), %rdi
callq 0x20a0
addq $0x1be8, %rsp           # imm = 0x1BE8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xad8c(%rip), %rdi      # 0x10fd0
callq 0x2120
movq 0xad80(%rip), %rdi      # 0x10fd0
leaq 0x787d(%rip), %rsi      # 0xdad4
movl $0xf, %edx
callq 0x2270
movq 0xad68(%rip), %rdi      # 0x10fd0
callq 0x2120
movq 0xad5c(%rip), %rdi      # 0x10fd0
leaq 0x7955(%rip), %rsi      # 0xdbd0
movl $0x1c, %edx
callq 0x2270
movq 0xad44(%rip), %rdi      # 0x10fd0
callq 0x2120
movq 0xad38(%rip), %rdi      # 0x10fd0
callq 0x2120
jmp 0x62ff
movq 0xad2a(%rip), %rdi      # 0x10fd0
callq 0x2120
movq 0xad1e(%rip), %rdi      # 0x10fd0
leaq 0x781b(%rip), %rsi      # 0xdad4
movl $0xf, %edx
callq 0x2270
movq 0xad06(%rip), %rdi      # 0x10fd0
callq 0x2120
movq 0xacfa(%rip), %rdi      # 0x10fd0
leaq 0x7910(%rip), %rsi      # 0xdbed
movl $0x1d, %edx
callq 0x2270
movq 0xace2(%rip), %rdi      # 0x10fd0
callq 0x2120
movq 0xacd6(%rip), %rdi      # 0x10fd0
callq 0x2120
movl $0x1, %edi
callq 0x2290
movq %rax, %rbx
jmp 0x6351
jmp 0x631c
jmp 0x631c
jmp 0x631c
jmp 0x631c
jmp 0x631c
jmp 0x631c
jmp 0x631c
movq %rax, %rbx
movq 0xaca2(%rip), %rax      # 0x10fc8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x70(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x68(%rsp,%rcx)
callq 0x21c0
leaq 0x160(%rsp), %rdi
callq 0x20e0
leaq 0x268(%rsp), %rdi
callq 0x20a0
movq %rbx, %rdi
callq 0x23a0
nop