// File: /workspace/github_cpp_makefile_star2_O3/Altius[P]hotspot2/src/findVarWidthPeaks.cpp
// Function: parseInputFindPeaksWriteOutput(char const*, long const&)
bool parseInputFindPeaksWriteOutput(const char* pExeName, const long& minWidth)
{
  const int BUFSIZE(1000);
  char buf[BUFSIZE], *p;
  Region region;
  string curChrom;
  vector<Range> peaksPossiblyWithOverlaps;
  Position curPosn, prevPosn;
  Range curRange;
  short fieldnum;
  long begCoord, curPosSummit, prevPosSummit(0);
  bool ascending(true);
  long linenum(0);

  prevPosn.x = 0;
  region.chrom = string("xxxNONExxx");
  
  while (cin.getline(buf, BUFSIZE))
    {
      linenum++;
      fieldnum = 1;
      bool newChrom(false);
      if (!(p = strtok(buf,"\t")) || !*p)
	{
	MissingField:
	  cerr << "Error:  Failed to find required field "
	       << fieldnum << " on line " << linenum
	       << " of the input to program " << pExeName
	       << '.' << endl << endl;
	  return false;
	}
      if (0 != strcmp(p, region.chrom.c_str()))
	{
	  curChrom = string(p);
	  newChrom = true;
	}
      fieldnum++;
      if (!(p = strtok(NULL,"\t")))
	goto MissingField;
      begCoord = atol(p); // used only for sanity check below
      fieldnum++;
      if (!(p = strtok(NULL,"\t")))
	goto MissingField;
      curPosn.x = atol(p);
      if (curPosn.x != begCoord + 1)
	{
	  cerr << "Error:  Interval on line " << linenum
	       << " of the input to program " << pExeName << " is not 1bp wide as expected; "
	       << "interval is " << curChrom << ':' << begCoord
	       << '-' << curPosn.x << '.' << endl << endl;
	  return false;
	}
      fieldnum++;
      if (!(p = strtok(NULL,"\t")))
	goto MissingField;
      if (1 == linenum) // we currently assume/require the same id in all lines of input
	region.id = string(p);
      fieldnum++;
      if (!(p = strtok(NULL,"\t")))
	goto MissingField;
      curPosn.y = atof(p);
      fieldnum++;
      if (!(p = strtok(NULL,"\t")))
	goto MissingField;
      curPosSummit = atol(p);
      fieldnum++;
      if ((p = strtok(NULL,"\t")))
	{
	  cerr << "Error:  Expected exactly " << fieldnum - 1 << " columns of input for program "
	       << pExeName << ", but encountered at least " << fieldnum
	       << " on line " << linenum << '.' << endl << endl;
	  return false;
	}
      
      if (curPosSummit != prevPosSummit || (!newChrom && curPosn.x != prevPosn.x + 1))
	{
	  if (linenum > 1)
	    {
	      if (curPosSummit == prevPosSummit && curPosn.x != prevPosn.x + 1)
		{
		  cerr << "Error:  In the input to program " << pExeName << ", line " << linenum-1
		       << " contains " << region.chrom << ':'
		       << prevPosn.x-1 << '-' << prevPosn.x
		       << " for summit " << prevPosSummit
		       << ", but line " << linenum << " contains "
		       << curChrom << ':' << curPosn.x-1
		       << '-' << curPosn.x << " for the same summit.\n"
		       << "All entries for a given summit must be in ascending order by column 3."
		       << endl << endl;
		  return false;
		}
	      // Check whether curRange, at the right boundary of region,
	      // is a local maximum.
	      if (region.localMaxima.empty() || ascending)
		region.localMaxima.push_back(curRange);
	    }
	  processRegionAndFlushIt(region, minWidth, peaksPossiblyWithOverlaps); // this will simply return if region.localMaxima is empty
	  region.posSummit = curPosSummit;
	  if (newChrom)
	    region.chrom = curChrom;
	  curPosn.idx = 0;
	  curRange.beg = curPosn;
	  curRange.maxY = curPosn.y;
	  ascending = true; // if the next y value is lower, we want this one stored as a local maximum
	}
      else
	curPosn.idx++;
      region.posns.push_back(curPosn);
      if (fabs(curPosn.y - curRange.beg.y) < 0.0001)
	curRange.end = curPosn;
      else
	{
	  if (curRange.beg.y - curPosn.y > 0.0001)
	    {
	      if (ascending)
		region.localMaxima.push_back(curRange);
	      ascending = false;
	    }
	  else
	    ascending = true;
	  curRange.beg = curRange.end = curPosn;
	  curRange.maxY = curPosn.y;
	}
      prevPosn = curPosn;
      prevPosSummit = curPosSummit;
    }

  // Process the final region.
  // Check whether curRange, at the right boundary of region,
  // is a local maximum.
  if (region.localMaxima.empty() || curRange.beg.y - region.posns[curRange.beg.idx - 1].y > 0.0001)
    region.localMaxima.push_back(curRange);
  processRegionAndFlushIt(region, minWidth, peaksPossiblyWithOverlaps);

  cleanUpAnyOverlapsAndWriteOutput(peaksPossiblyWithOverlaps, minWidth);
  
  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x588, %rsp            # imm = 0x588
movq %rsi, 0x50(%rsp)
movq %rdi, %rbx
leaq 0x98(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xb8(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rcx)
movq %rax, 0x28(%rcx)
leaq 0xe8(%rsp), %rcx
movq %rcx, 0x8(%rcx)
movq %rcx, (%rcx)
movq %rax, 0x10(%rcx)
leaq 0x70(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq %rax, 0x110(%rsp)
movaps %xmm0, 0x100(%rsp)
leaq 0x130(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x150(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x2ea4(%rip), %rsi      # 0x608a
leaq 0x2ea7(%rip), %rdx      # 0x6094
leaq 0x20(%rsp), %rdi
callq 0x59da
movq %rbx, 0x40(%rsp)
leaq 0x88(%rsp), %rdi
leaq 0x20(%rsp), %rbx
movq %rbx, %rsi
callq 0x2200
movq (%rbx), %rdi
cmpq %r14, %rdi
je 0x3226
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21a0
movb $0x1, 0xf(%rsp)
movq $0x0, 0x48(%rsp)
movq 0x5d9d(%rip), %r15      # 0x8fd8
leaq 0x1a0(%rsp), %rbp
leaq 0x2e4b(%rip), %r12      # 0x6095
leaq 0x20(%rsp), %rbx
movq $0x0, 0x80(%rsp)
xorl %r14d, %r14d
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %ecx
movl $0x3e8, %edx            # imm = 0x3E8
movq %r15, %rdi
movq %rbp, %rsi
callq 0x2310
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x20(%rax,%rcx), %eax
movl %eax, 0x5c(%rsp)
testb $0x5, %al
jne 0x3648
movq %rbp, %rdi
movq %r12, %rsi
callq 0x2250
movw $0x1, %r13w
testq %rax, %rax
je 0x3777
movq %rax, %r12
cmpb $0x0, (%rax)
je 0x3777
movq 0x88(%rsp), %rsi
movq %r12, %rdi
callq 0x2220
movl %eax, %r13d
testl %eax, %eax
je 0x3330
movq %r14, %r15
leaq 0x30(%rsp), %rbp
movq %rbp, 0x20(%rsp)
movq %r12, %rdi
callq 0x20a0
movq %r12, %rdx
addq %rax, %rdx
movq %rbx, %r14
movq %rbx, %rdi
movq %r12, %rsi
callq 0x59da
leaq 0x60(%rsp), %rdi
movq %r14, %rsi
callq 0x2200
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3325
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x1a0(%rsp), %rbp
movq %r15, %r14
xorl %edi, %edi
leaq 0x2d5c(%rip), %r15      # 0x6095
movq %r15, %rsi
callq 0x2250
testq %rax, %rax
je 0x36e9
movq %rax, %rdi
callq 0x21e0
movq %rax, %r12
xorl %edi, %edi
movq %r15, %rsi
callq 0x2250
testq %rax, %rax
je 0x36f3
movq %rax, %rdi
callq 0x21e0
movq %rax, 0x10(%rsp)
leaq 0x1(%r12), %rcx
cmpq %rcx, %rax
jne 0x36fa
xorl %edi, %edi
leaq 0x2d09(%rip), %rsi      # 0x6095
callq 0x2250
testq %rax, %rax
je 0x3764
testq %r14, %r14
jne 0x33fd
movq %rax, %r12
movq %r14, %r15
leaq 0x30(%rsp), %rbp
movq %rbp, 0x20(%rsp)
movq %rax, %rdi
callq 0x20a0
movq %r12, %rdx
addq %rax, %rdx
movq %rbx, %r14
movq %rbx, %rdi
movq %r12, %rsi
callq 0x59da
leaq 0xa8(%rsp), %rdi
movq %r14, %rsi
callq 0x2200
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x33f2
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x1a0(%rsp), %rbp
movq %r15, %r14
xorl %edi, %edi
leaq 0x2c8f(%rip), %r15      # 0x6095
movq %r15, %rsi
callq 0x2250
testq %rax, %rax
je 0x376b
movq %rax, %rdi
callq 0x2210
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x18(%rsp)
xorl %edi, %edi
movq %r15, %rsi
callq 0x2250
testq %rax, %rax
je 0x3772
movq %rax, %rdi
callq 0x21e0
movq %rax, %r12
xorl %edi, %edi
movq %r15, %rsi
callq 0x2250
testq %rax, %rax
jne 0x3980
movq 0x80(%rsp), %r15
cmpq %r15, %r12
jne 0x3484
testl %r13d, %r13d
jne 0x347b
movq 0x48(%rsp), %rax
incq %rax
cmpq %rax, 0x10(%rsp)
jne 0x34d1
incl 0x1c(%rsp)
jmp 0x354d
testq %r14, %r14
je 0x34da
leaq 0xe8(%rsp), %rax
cmpq %rax, 0xe8(%rsp)
je 0x34a2
testb $0x1, 0xf(%rsp)
je 0x34da
leaq 0xe8(%rsp), %rdi
leaq 0x120(%rsp), %rsi
callq 0x5a70
movq %rax, %rdi
leaq 0xe8(%rsp), %rsi
callq 0x2050
incq 0xf8(%rsp)
jmp 0x34da
testq %r14, %r14
jne 0x3b93
leaq 0x88(%rsp), %rdi
movq 0x50(%rsp), %rsi
leaq 0x100(%rsp), %rdx
callq 0x27e8
movq %r12, 0xc8(%rsp)
testl %r13d, %r13d
je 0x3513
leaq 0x88(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x20e0
movl $0x0, 0x1c(%rsp)
movq 0x10(%rsp), %rax
leaq 0x160(%rsp), %rcx
movq %rax, (%rcx)
movl 0x18(%rsp), %eax
movl %eax, 0x8(%rcx)
movl 0x1c(%rsp), %eax
movl %eax, 0xc(%rcx)
movss 0x18(%rsp), %xmm0
movss %xmm0, 0x180(%rsp)
movb $0x1, 0xf(%rsp)
movq 0xd8(%rsp), %rsi
cmpq 0xe0(%rsp), %rsi
je 0x3572
movups 0x10(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x10, 0xd8(%rsp)
jmp 0x3584
leaq 0xd0(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x5b40
movss 0x18(%rsp), %xmm0
movss 0x168(%rsp), %xmm1
movaps %xmm0, %xmm2
subss %xmm1, %xmm2
andps 0x2a6f(%rip), %xmm2     # 0x6010
cvtss2sd %xmm2, %xmm2
movsd 0x2a73(%rip), %xmm3     # 0x6020
ucomisd %xmm2, %xmm3
jbe 0x35c6
movups 0x10(%rsp), %xmm0
leaq 0x160(%rsp), %rax
movups %xmm0, 0x10(%rax)
jmp 0x3620
subss %xmm0, %xmm1
cvtss2sd %xmm1, %xmm1
movb $0x1, %al
ucomisd %xmm3, %xmm1
jbe 0x35fa
testb $0x1, 0xf(%rsp)
je 0x35f8
leaq 0xe8(%rsp), %rdi
leaq 0x120(%rsp), %rsi
callq 0x425e
movss 0x18(%rsp), %xmm0
xorl %eax, %eax
movups 0x10(%rsp), %xmm1
leaq 0x160(%rsp), %rcx
movups %xmm1, 0x10(%rcx)
movups 0x10(%rsp), %xmm1
movups %xmm1, (%rcx)
movss %xmm0, 0x180(%rsp)
movb %al, 0xf(%rsp)
movq 0x10(%rsp), %rax
movq %rax, 0x48(%rsp)
incq %r14
movq %r12, 0x80(%rsp)
movq 0x599c(%rip), %r15      # 0x8fd8
leaq 0x2a52(%rip), %r12      # 0x6095
jmp 0x325e
leaq 0xe8(%rsp), %rax
cmpq %rax, 0xe8(%rsp)
je 0x368b
movss 0x168(%rsp), %xmm0
movslq 0x16c(%rsp), %rax
movq 0xd0(%rsp), %rcx
shlq $0x4, %rax
subss -0x8(%rcx,%rax), %xmm0
cvtss2sd %xmm0, %xmm0
ucomisd 0x2997(%rip), %xmm0     # 0x6020
jbe 0x36b8
leaq 0x120(%rsp), %rsi
leaq 0xe8(%rsp), %rdi
callq 0x5a70
movq %rax, %rdi
leaq 0xe8(%rsp), %rsi
callq 0x2050
incq 0xf8(%rsp)
leaq 0x88(%rsp), %rdi
leaq 0x100(%rsp), %rdx
movq 0x50(%rsp), %rsi
callq 0x27e8
leaq 0x100(%rsp), %rdi
movq 0x50(%rsp), %rsi
callq 0x29c5
jmp 0x387f
movw $0x2, %r13w
jmp 0x3777
movw $0x3, %r13w
jmp 0x3777
movq 0x58ef(%rip), %rdi      # 0x8ff0
leaq 0x29d0(%rip), %rsi      # 0x60d8
movl $0x19, %edx
callq 0x21c0
incq %r14
movq 0x58d4(%rip), %rdi      # 0x8ff0
movq %r14, %rsi
callq 0x2160
movq %rax, %rbx
leaq 0x2990(%rip), %rsi      # 0x60be
movl $0x19, %edx
movq %rax, %rdi
callq 0x21c0
movq 0x40(%rsp), %r14
testq %r14, %r14
je 0x39e9
movq %r14, %rdi
callq 0x20a0
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x21c0
jmp 0x3a02
movw $0x4, %r13w
jmp 0x3777
movw $0x5, %r13w
jmp 0x3777
movw $0x6, %r13w
movq 0x5872(%rip), %rdi      # 0x8ff0
leaq 0x2912(%rip), %rsi      # 0x6097
movl $0x26, %edx
callq 0x21c0
movzwl %r13w, %esi
movq 0x5856(%rip), %rdi      # 0x8ff0
callq 0x2150
movq %rax, %rbx
leaq 0x293f(%rip), %rsi      # 0x60e8
movl $0x9, %edx
movq %rax, %rdi
callq 0x21c0
incq %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2160
movq %rax, %rbx
leaq 0x28f0(%rip), %rsi      # 0x60be
movl $0x19, %edx
movq %rax, %rdi
callq 0x21c0
movq 0x40(%rsp), %r14
testq %r14, %r14
je 0x37fd
movq %r14, %rdi
callq 0x20a0
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x21c0
jmp 0x3816
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x22b0
leaq 0x20(%rsp), %rsi
movb $0x2e, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0x21c0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
je 0x38a4
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
je 0x38c9
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x100(%rsp), %rdi
callq 0x4278
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x38f2
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0xe8(%rsp), %rdi
callq 0x439c
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x391c
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x21a0
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x3941
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x3966
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x21a0
testb $0x5, 0x5c(%rsp)
setne %al
addq $0x588, %rsp            # imm = 0x588
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x5669(%rip), %rdi      # 0x8ff0
leaq 0x2790(%rip), %rsi      # 0x611e
movl $0x19, %edx
callq 0x21c0
movq 0x5651(%rip), %rdi      # 0x8ff0
movl $0x6, %esi
callq 0x22c0
movq %rax, %rbx
leaq 0x2785(%rip), %rsi      # 0x6138
movl $0x1e, %edx
movq %rax, %rdi
callq 0x21c0
movq 0x40(%rsp), %r15
testq %r15, %r15
je 0x3ad9
movq %r15, %rdi
callq 0x20a0
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x21c0
jmp 0x3af2
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x22b0
leaq 0x26e9(%rip), %rsi      # 0x60f2
movl $0x1e, %edx
movq %rbx, %rdi
callq 0x21c0
leaq 0x26f4(%rip), %rsi      # 0x6111
movl $0xc, %edx
movq %rbx, %rdi
callq 0x21c0
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
movq %rbx, %rdi
callq 0x21c0
leaq 0x20(%rsp), %rsi
movb $0x3a, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21c0
movq %rax, %rdi
movq %r12, %rsi
callq 0x2160
leaq 0x20(%rsp), %rsi
movb $0x2d, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21c0
movq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x2160
leaq 0x20(%rsp), %rsi
movb $0x2e, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21c0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2170
jmp 0x386c
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x22b0
leaq 0x265e(%rip), %rsi      # 0x6157
movl $0x1b, %edx
movq %rbx, %rdi
callq 0x21c0
movq %rbx, %rdi
movl $0x7, %esi
callq 0x2150
movq %rax, %rbx
leaq 0x25cb(%rip), %rsi      # 0x60e8
movl $0x9, %edx
movq %rax, %rdi
callq 0x21c0
incq %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2160
leaq 0x20(%rsp), %rsi
movb $0x2e, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21c0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2170
jmp 0x386c
movq 0x5456(%rip), %rdi      # 0x8ff0
leaq 0x25d2(%rip), %rsi      # 0x6173
movl $0x20, %edx
callq 0x21c0
movq 0x543e(%rip), %rdi      # 0x8ff0
movq 0x40(%rsp), %rsi
callq 0x2180
movq %rax, %rbx
leaq 0x25ce(%rip), %rsi      # 0x6194
movl $0x7, %edx
movq %rax, %rdi
callq 0x21c0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2160
movq %rax, %rbx
leaq 0x25b4(%rip), %rsi      # 0x619c
movl $0xa, %edx
movq %rax, %rdi
callq 0x21c0
movq 0x88(%rsp), %rsi
movq 0x90(%rsp), %rdx
movq %rbx, %rdi
callq 0x21c0
leaq 0x20(%rsp), %rsi
movb $0x3a, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21c0
movq 0x48(%rsp), %rcx
leaq -0x1(%rcx), %rsi
movq %rax, %rdi
callq 0x2160
leaq 0x20(%rsp), %rsi
movb $0x2d, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21c0
movq %rax, %rdi
movq 0x48(%rsp), %rsi
callq 0x2160
movq %rax, %rbx
leaq 0x2548(%rip), %rsi      # 0x61a7
movl $0xc, %edx
movq %rax, %rdi
callq 0x21c0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2160
movq %rax, %rbx
leaq 0x2533(%rip), %rsi      # 0x61b4
movl $0xb, %edx
movq %rax, %rdi
callq 0x21c0
incq %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2160
movq %rax, %rbx
leaq 0x24f6(%rip), %rsi      # 0x619c
movl $0xa, %edx
movq %rax, %rdi
callq 0x21c0
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
movq %rbx, %rdi
callq 0x21c0
leaq 0x20(%rsp), %rsi
movb $0x3a, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21c0
movq 0x10(%rsp), %rsi
decq %rsi
movq %rax, %rdi
callq 0x2160
leaq 0x20(%rsp), %rsi
movb $0x2d, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21c0
movq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x2160
movq %rax, %rbx
leaq 0x24aa(%rip), %rsi      # 0x61c0
movl $0x16, %edx
movq %rax, %rdi
callq 0x21c0
leaq 0x24ad(%rip), %rsi      # 0x61d7
movl $0x46, %edx
movq %rbx, %rdi
callq 0x21c0
movq %rbx, %rdi
callq 0x20b0
movq %rax, %rdi
callq 0x20b0
jmp 0x387f
jmp 0x3d58
jmp 0x3d58
jmp 0x3d58
jmp 0x3d58
jmp 0x3d58
jmp 0x3d58
movq %rax, %rbx
leaq 0x120(%rsp), %rdi
callq 0x4228
leaq 0x100(%rsp), %rdi
callq 0x4278
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x3d91
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x88(%rsp), %rdi
callq 0x42a8
movq %rbx, %rdi
callq 0x22d0