LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/knei-knurow[P]lidar-visualizations/src/main.cpp
// Function: main
int main(int argc, char** argv) {
  std::vector<std::string> args;
  for (int i = 1; i < argc; i++) {
    args.push_back(std::string(argv[i]));
  }
  return App(args).run();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
xorps %xmm0, %xmm0
movaps %xmm0, -0x70(%rbp)
movq $0x0, -0x60(%rbp)
cmpl $0x2, %edi
jl 0x37e1
movq %rsi, %rbx
movl %edi, %r13d
movl $0x1, %r15d
leaq -0x50(%rbp), %r14
leaq -0x70(%rbp), %r12
movq (%rbx,%r15,8), %rsi
movq %r14, %rdi
leaq -0x29(%rbp), %rdx
callq 0x385e
movq %r12, %rdi
movq %r14, %rsi
callq 0x39a0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x37d9
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3260
incq %r15
cmpq %r15, %r13
jne 0x37a5
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x3c20
leaq -0x50(%rbp), %rdi
callq 0x4b80
movl %eax, %ebx
leaq -0x50(%rbp), %rdi
callq 0x4b26
leaq -0x70(%rbp), %rdi
callq 0x389c
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x4b26
jmp 0x384d
jmp 0x382c
movq %rax, %rbx
jmp 0x384d
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x384d
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3260
leaq -0x70(%rbp), %rdi
callq 0x389c
movq %rbx, %rdi
callq 0x3430
// File: /workspace/github_cpp_makefile_star2_O1/knei-knurow[P]lidar-visualizations/src/app.cpp
// Function: App::run()
int App::run() {
  Cloud cloud;

  while (running_) {
    // Grab cloud
    if (running_ && cloud_grabber_) {
      if (!cloud_grabber_->read(cloud)) {
        running_ = false;
      }
    }

    // Do some additional things, depending on the selected scenario
    if (running_ && scenario_) {
      if (!scenario_->update(cloud)) {
        running_ = false;
      }
    }

    // Update the GUI with new data
    // Save output files on user's request
    if (running_ && gui_) {
      if (!gui_->update(cloud)) {
        running_ = false;
      }
    }
  }

  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x50, %rsp
pxor %xmm0, %xmm0
movdqa %xmm0, -0x40(%rbp)
movdqa %xmm0, -0x50(%rbp)
movdqa %xmm0, -0x60(%rbp)
movq $0x7f7fffff, -0x30(%rbp) # imm = 0x7F7FFFFF
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, -0x28(%rbp)
movq $0x0, -0x18(%rbp)
cmpb $0x1, (%rdi)
jne 0x4c1c
movq %rdi, %rbx
leaq -0x60(%rbp), %r14
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x4bdc
movq (%rdi), %rax
movq %r14, %rsi
callq *0x10(%rax)
testb %al, %al
jne 0x4bdc
movb $0x0, (%rbx)
cmpb $0x1, (%rbx)
jne 0x4bfa
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x4bfa
movq (%rdi), %rax
movq %r14, %rsi
callq *0x10(%rax)
testb %al, %al
jne 0x4bfa
movb $0x0, (%rbx)
cmpb $0x1, (%rbx)
jne 0x4c17
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x4c17
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
testb %al, %al
jne 0x4c17
movb $0x0, (%rbx)
cmpb $0x0, (%rbx)
jne 0x4bc3
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x4c31
movq -0x38(%rbp), %rsi
subq %rdi, %rsi
callq 0x3260
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x4c46
movq -0x50(%rbp), %rsi
subq %rdi, %rsi
callq 0x3260
xorl %eax, %eax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
callq 0x5a64
movq %rbx, %rdi
callq 0x3430
nop
// File: /workspace/github_cpp_makefile_star2_O1/knei-knurow[P]lidar-visualizations/src/cloud-grabbers.cpp
// Function: CloudFileGrabber::CloudFileGrabber(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, float)
CloudFileGrabber::CloudFileGrabber(const std::string& filename, float rot_angle) {
  filename_ = filename;
  rot_angle_ = rot_angle;
  status_ = std::ifstream(filename_).good();
  if (!status_) {
    std::cerr << "Error: File does not contain a valid cloud." << std::endl;
    status_ = false;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x210, %rsp            # imm = 0x210
movd %xmm0, -0x24(%rbp)
movq %rdi, %rbx
movb $0x1, 0x8(%rdi)
leaq 0x6cfb(%rip), %rax      # 0xcae0
movq %rax, (%rdi)
leaq 0x10(%rdi), %r14
leaq 0x20(%rdi), %r12
movq %r12, 0x10(%rdi)
xorl %eax, %eax
movq %rax, 0x18(%rdi)
movb $0x0, 0x20(%rdi)
pxor %xmm0, %xmm0
movdqu %xmm0, 0x38(%rdi)
movdqu %xmm0, 0x48(%rdi)
movdqu %xmm0, 0x58(%rdi)
movq $0x7f7fffff, 0x68(%rdi) # imm = 0x7F7FFFFF
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, 0x70(%rdi)
movq %rax, 0x80(%rdi)
movq %r14, %rdi
callq 0x3140
movd -0x24(%rbp), %xmm0
movd %xmm0, 0x30(%rbx)
leaq -0x230(%rbp), %rdi
movq %r14, %rsi
movl $0x8, %edx
callq 0x33c0
leaq -0x230(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
cmpl $0x0, -0x210(%rbp,%rax)
sete 0x8(%rbx)
callq 0x3070
cmpb $0x0, 0x8(%rbx)
jne 0x5ebe
movq 0x7175(%rip), %r15      # 0xcff0
leaq 0x35aa(%rip), %rsi      # 0x942c
movl $0x2b, %edx
movq %r15, %rdi
callq 0x32a0
movq (%r15), %rax
addq -0x18(%rax), %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x3230
movsbl %al, %esi
movq 0x7143(%rip), %rdi      # 0xcff0
callq 0x3030
movq %rax, %rdi
callq 0x3170
movb $0x0, 0x8(%rbx)
addq $0x210, %rsp            # imm = 0x210
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5ed0
movq %rax, %r15
addq $0x38, %rbx
movq %rbx, %rdi
callq 0x5a64
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x5ef3
movq (%r12), %rsi
incq %rsi
callq 0x3260
movq %r15, %rdi
callq 0x3430
nop
// File: /workspace/github_cpp_makefile_star2_O1/knei-knurow[P]lidar-visualizations/src/cloud-grabbers.cpp
// Function: CloudFileSeriesGrabber::CloudFileSeriesGrabber(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
CloudFileSeriesGrabber::CloudFileSeriesGrabber(const std::string& filename) {
  filename_ = filename;
  clouds_cnt_ = 0;
  file_.open(filename_);
  open();
  next_cloud_time_ = std::chrono::steady_clock::now();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r12
movq %rdi, %r14
movb $0x1, 0x8(%rdi)
leaq 0x689b(%rip), %rax      # 0xcb10
movq %rax, (%rdi)
leaq 0x10(%rdi), %rbx
leaq 0x20(%rdi), %r13
movq %r13, 0x10(%rdi)
movq $0x0, 0x18(%rdi)
movb $0x0, 0x20(%rdi)
leaq 0x30(%rdi), %r15
movq %r15, %rdi
callq 0x3290
movq $0x0, 0x240(%r14)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3140
movq $0x0, 0x238(%r14)
movq %r15, %rdi
movq %rbx, %rsi
movl $0x8, %edx
callq 0x31f0
movq %r14, %rdi
callq 0x631c
callq 0x32f0
movq %rax, 0x240(%r14)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x6300
movq %rax, %r14
movq %r15, %rdi
callq 0x3070
movq (%rbx), %rdi
cmpq %r13, %rdi
je 0x6314
movq (%r13), %rsi
incq %rsi
callq 0x3260
movq %r14, %rdi
callq 0x3430
// File: /workspace/github_cpp_makefile_star2_O1/knei-knurow[P]lidar-visualizations/src/cloud-grabbers.cpp
// Function: CloudFileSeriesGrabber::open()
bool CloudFileSeriesGrabber::open() {
  while (file_.good()) {
    std::string line;
    std::getline(file_, line);
    if (line.empty() || line[0] == '!') {
      break;
    }
  }

  if (!file_.good()) {
    std::cerr << "Error: File does not contain a valid cloud series." << std::endl;
    status_ = false;
  }
  return status_;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x30(%rdi), %r14
leaq -0x38(%rbp), %r12
leaq -0x48(%rbp), %r15
movq 0x30(%rbx), %rax
movq -0x18(%rax), %rcx
cmpl $0x0, 0x50(%rbx,%rcx)
jne 0x63ab
movq %r12, -0x48(%rbp)
movq $0x0, -0x40(%rbp)
movb $0x0, -0x38(%rbp)
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3230
movsbl %al, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x3450
cmpq $0x0, -0x40(%rbp)
je 0x638e
movq -0x48(%rbp), %rax
cmpb $0x21, (%rax)
setne %r13b
jmp 0x6391
xorl %r13d, %r13d
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x63a6
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3260
testb %r13b, %r13b
jne 0x633c
movq (%r14), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x20(%r14,%rax)
je 0x6400
movq 0x6c2f(%rip), %r14      # 0xcff0
leaq 0x30a2(%rip), %rsi      # 0x946a
movl $0x32, %edx
movq %r14, %rdi
callq 0x32a0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3230
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
movb $0x0, 0x8(%rbx)
movb 0x8(%rbx), %al
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x642a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3260
movq %rbx, %rdi
callq 0x3430
// File: /workspace/github_cpp_makefile_star2_O1/knei-knurow[P]lidar-visualizations/src/cloud-writers.cpp
// Function: CloudFileSeriesWriter::write(Cloud const&)
bool CloudFileSeriesWriter::write(const Cloud& cloud) {
  if (clouds_cnt_ == 0) {
    time_begin_ = std::chrono::steady_clock::now();
  }
  auto time_now = std::chrono::steady_clock::now();
  auto time_diff =
      std::chrono::duration_cast<std::chrono::milliseconds>(time_now - time_begin_).count();
  time_begin_ = time_now;

  file_ << "! " << ++clouds_cnt_ << " " << time_diff << "\n";
  if (coord_sys_ == CoordSystem::CART) {
    for (const auto& pt : cloud.pts_cart) {
      file_ << pt.x << " " << pt.y << "\n";
    }
  } else if (coord_sys_ == CoordSystem::CYL) {
    for (const auto& pt : cloud.pts_cyl) {
      file_ << pt.angle << " " << pt.dist << "\n";
    }
  }

  file_.flush();
  status_ = file_.good();
  return status_;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
cmpq $0x0, 0x230(%rdi)
jne 0x7f94
callq 0x32f0
movq %rax, 0x240(%rbx)
callq 0x32f0
movq %rax, %rcx
subq 0x240(%rbx), %rax
movabsq $0x431bde82d7b634db, %rdx # imm = 0x431BDE82D7B634DB
imulq %rdx
movq %rdx, %r12
shrq $0x3f, %r12
sarq $0x12, %rdx
addq %rdx, %r12
movq %rcx, 0x240(%rbx)
leaq 0x30(%rbx), %r14
leaq 0x1721(%rip), %rsi      # 0x96f1
movl $0x2, %edx
movq %r14, %rdi
callq 0x32a0
movq 0x230(%rbx), %rsi
incq %rsi
movq %rsi, 0x230(%rbx)
movq %r14, %rdi
callq 0x3160
movq %rax, %r13
leaq 0x16f2(%rip), %rsi      # 0x96f2
movl $0x1, %edx
movq %rax, %rdi
callq 0x32a0
movq %r13, %rdi
movq %r12, %rsi
callq 0x3220
leaq 0x1201(%rip), %rsi      # 0x9220
movl $0x1, %edx
movq %rax, %rdi
callq 0x32a0
movl 0x238(%rbx), %eax
cmpl $0x1, %eax
je 0x809b
testl %eax, %eax
jne 0x80fc
movq %r15, %rax
movq 0x18(%r15), %r15
movq 0x20(%rax), %r12
cmpq %r12, %r15
je 0x80fc
movl (%r15), %esi
movq %r14, %rdi
callq 0x3420
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1682(%rip), %rsi      # 0x96f2
callq 0x32a0
movl 0x4(%r15), %esi
movq %r13, %rdi
callq 0x3420
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1190(%rip), %rsi      # 0x9220
callq 0x32a0
addq $0x8, %r15
jmp 0x804a
movq %r15, %rax
movq (%r15), %r15
movq 0x8(%rax), %r12
cmpq %r12, %r15
je 0x80fc
xorps %xmm0, %xmm0
cvtss2sd (%r15), %xmm0
movq %r14, %rdi
callq 0x33b0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1626(%rip), %rsi      # 0x96f2
callq 0x32a0
xorps %xmm0, %xmm0
cvtss2sd 0x4(%r15), %xmm0
movq %r13, %rdi
callq 0x33b0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x112f(%rip), %rsi      # 0x9220
callq 0x32a0
addq $0x8, %r15
jmp 0x80a5
movq %r14, %rdi
callq 0x3170
movq 0x30(%rbx), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x50(%rbx,%rax)
sete %al
sete 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/knei-knurow[P]lidar-visualizations/src/guis.cpp
// Function: TerminalGUI::update(Cloud const&)
bool TerminalGUI::update(const Cloud& cloud) {
  std::cout << "!\t" << ++count_ << std::endl;
  if (verbose_) {
    for (const auto& pt : cloud.pts_cyl) {
      std::cout << pt.angle << "\t" << pt.dist << std::endl;
    }
  }
  return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x4b31(%rip), %r15      # 0xcfd0
leaq 0x1353(%rip), %rsi      # 0x97f9
movl $0x2, %edx
movq %r15, %rdi
callq 0x32a0
movq 0x10(%r14), %rsi
incq %rsi
movq %rsi, 0x10(%r14)
movq %r15, %rdi
callq 0x3160
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x3230
movsbl %al, %esi
movq %r15, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
cmpb $0x1, 0x8(%r14)
jne 0x857e
movq (%rbx), %r12
movq 0x8(%rbx), %r13
cmpq %r13, %r12
je 0x857e
movq 0x4ac2(%rip), %rbx      # 0xcfd0
leaq 0x12e5(%rip), %r14      # 0x97fa
xorps %xmm0, %xmm0
cvtss2sd (%r12), %xmm0
movq %rbx, %rdi
callq 0x33b0
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x32a0
xorps %xmm0, %xmm0
cvtss2sd 0x4(%r12), %xmm0
movq %r15, %rdi
callq 0x33b0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x3230
movsbl %al, %esi
movq %r15, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
addq $0x8, %r12
cmpq %r13, %r12
jne 0x8515
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/ebwt_search.cpp
// Function: del_pid(char const*, int)
void del_pid(const char* dirname,int pid) {
	struct stat finfo;
	char* fname = (char*) calloc(FNAME_SIZE,sizeof(char));
	sprintf(fname,"%s/%d",dirname,pid);
	if(stat( fname, &finfo) != 0) {
		free(fname);
		return;
	}
	unlink(fname);
	free(fname);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x90, %rsp
movl %esi, %ebp
xorl %eax, %eax
cmpb $0x0, 0x60205(%rip)     # 0x6e200
movq %rdi, %r14
movl $0xc8, %edi
cmoveq %rax, %rdi
movl $0x1, %esi
callq 0x92c0
movq %rax, %rbx
leaq 0x45bbe(%rip), %rsi     # 0x53bd9
movq %rax, %rdi
movq %r14, %rdx
movl %ebp, %ecx
xorl %eax, %eax
callq 0x90d0
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x9900
testl %eax, %eax
jne 0xe041
movq %rbx, %rdi
callq 0x91e0
movq %rbx, %rdi
addq $0x90, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x9580
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./tokenize.h
// Function: tokenize(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>> const&, EList<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, 128>&, unsigned long)
static inline void tokenize(
	const string& s,
	const string& delims,
	EList<string>& ss,
	size_t max = std::numeric_limits<size_t>::max())
{
	string::size_type lastPos = s.find_first_not_of(delims, 0);
	string::size_type pos = s.find_first_of(delims, lastPos);
	while (string::npos != pos || string::npos != lastPos) {
		ss.push_back(s.substr(lastPos, pos - lastPos));
		lastPos = s.find_first_not_of(delims, pos);
		pos = s.find_first_of(delims, lastPos);
		if(ss.size() == (max - 1)) {
			pos = string::npos;
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, (%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq (%rsi), %rsi
movq 0x8(%r15), %rcx
xorl %edx, %edx
callq 0x98a0
movq %rax, %rbx
movq (%r15), %rsi
movq 0x8(%r15), %rcx
movq %r12, %rdi
movq %rax, %rdx
callq 0x9770
movq %rax, %rbp
movq %rbx, %rax
andq %rbp, %rax
cmpq $-0x1, %rax
je 0x11ebf
decq (%rsp)
leaq 0x8(%rsp), %r13
movq %rbp, %rcx
subq %rbx, %rcx
movq %r13, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x94e0
movq %r14, %rdi
movq %r13, %rsi
callq 0x1c634
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11e72
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x94c0
movq (%r15), %rsi
movq 0x8(%r15), %rcx
movq %r12, %rdi
movq %rbp, %rdx
callq 0x98a0
movq %rax, %rbx
movq (%r15), %rsi
movq 0x8(%r15), %rcx
movq %r12, %rdi
movq %rax, %rdx
callq 0x9770
movq %rax, %rbp
movq (%rsp), %rax
cmpq %rax, 0x18(%r14)
movq $-0x1, %rax
cmoveq %rax, %rbp
movq %rbx, %rax
andq %rbp, %rax
cmpq $-0x1, %rax
jne 0x11e37
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11eed
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x94c0
movq %rbx, %rdi
callq 0x9930
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/ebwt_search.cpp
// Function: parseInt(int, int, char const*, char const*)
static int parseInt(int lower, int upper, const char *errmsg, const char *arg) {
	long l;
	char *endPtr= NULL;
	l = strtol(arg, &endPtr, 10);
	if (endPtr != NULL) {
		if (l < lower || l > upper) {
			cerr << errmsg << endl;
			printUsage(cerr);
			throw 1;
		}
		return (int32_t)l;
	}
	cerr << errmsg << endl;
	printUsage(cerr);
	throw 1;
	return -1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %ebp
movl %edi, %r14d
movq %rsp, %r15
movq $0x0, (%r15)
movq %rcx, %rdi
movq %r15, %rsi
movl $0xa, %edx
callq 0x9690
cmpq $0x0, (%r15)
je 0x15d75
movslq %r14d, %rcx
cmpq %rcx, %rax
jl 0x15d75
movl %ebp, %ecx
cmpq %rcx, %rax
jg 0x15d75
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x55274(%rip), %r14     # 0x6aff0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9490
movq %rax, %rdi
callq 0x91f0
movq %r14, %rdi
callq 0x106fa
movl $0x4, %edi
callq 0x9200
movl $0x1, (%rax)
movq 0x5518a(%rip), %rsi     # 0x6af38
movq %rax, %rdi
xorl %edx, %edx
callq 0x98f0
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/ebwt_search.cpp
// Function: write_pid(char const*, int)
static void write_pid(const char* dirname,int pid) {
	struct stat dinfo;
	if(stat(dirname, &dinfo) != 0) {
		mkdir(dirname,0755);
	}
	char* fname = (char*) calloc(FNAME_SIZE,sizeof(char));
	sprintf(fname,"%s/%d",dirname,pid);
	FILE* f = fopen(fname,"w");
	fclose(f);
	free(fname);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x90, %rsp
movl %esi, %ebx
movq %rdi, %r14
movq %rsp, %rsi
callq 0x9900
testl %eax, %eax
je 0x16080
movq %r14, %rdi
movl $0x1ed, %esi            # imm = 0x1ED
callq 0x91d0
xorl %eax, %eax
cmpb $0x0, 0x58177(%rip)     # 0x6e200
movl $0xc8, %edi
cmoveq %rax, %rdi
movl $0x1, %esi
callq 0x92c0
movq %rax, %r15
leaq 0x3db33(%rip), %rsi     # 0x53bd9
movq %rax, %rdi
movq %r14, %rdx
movl %ebx, %ecx
xorl %eax, %eax
callq 0x90d0
leaq 0x3d394(%rip), %rsi     # 0x53450
movq %r15, %rdi
callq 0x9530
movq %rax, %rdi
callq 0x94a0
movq %r15, %rdi
addq $0x90, %rsp
popq %rbx
popq %r14
popq %r15
jmp 0x9580
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/ebwt_search.cpp
// Function: steal_thread(int, int)
static bool steal_thread(int pid, int orig_nthreads) {
	int ncpu = thread_ceiling;
	if(thread_ceiling <= nthreads) {
		return false;
	}
	int num_pids = 0;
	int lowest_pid = read_dir(thread_stealing_dir.c_str(), &num_pids);
	if(lowest_pid != pid) {
		return false;
	}
	int in_use = ((num_pids-1) * orig_nthreads) + nthreads; //in_use is now baseline + ours
	float spare = ncpu - in_use;
	int spare_r = floor(spare);
	float r = rand() % 100/100.0;
	if(r <= (spare - spare_r)) {
		spare_r = ceil(spare);
	}
	return spare_r > 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl 0x558e9(%rip), %ebx     # 0x6e294
cmpl 0x558db(%rip), %ebx     # 0x6e28c
jle 0x18ab4
movl %edi, %ebp
movl %esi, 0x10(%rsp)
xorl %eax, %eax
cmpb $0x0, 0x5583a(%rip)     # 0x6e200
movq 0x556bb(%rip), %r15     # 0x6e088
movl $0xc8, %edi
cmoveq %rax, %rdi
movl $0x1, %esi
callq 0x92c0
movq %rax, %r14
movq %r15, %rdi
callq 0x9740
testq %rax, %rax
je 0x18ac5
movq %rax, %r15
movl %ebp, 0x14(%rsp)
movl $0xffffffff, 0xc(%rsp)  # imm = 0xFFFFFFFF
xorl %ebp, %ebp
movq %r15, %rdi
callq 0x9260
testq %rax, %rax
je 0x18a68
movq %rax, %r12
cmpb $0x2e, 0x13(%rax)
je 0x18a05
addq $0x13, %r12
movq %r12, %rdi
callq 0x97b0
movl %eax, %r13d
movq %r14, %rdi
leaq 0x3e697(%rip), %rsi     # 0x570cb
movq %r12, %rdx
xorl %eax, %eax
callq 0x90d0
movl %r13d, %edi
xorl %esi, %esi
callq 0x96a0
testl %eax, %eax
jne 0x18a05
incl %ebp
movl 0xc(%rsp), %ecx
cmpl %ecx, %r13d
movl %ecx, %eax
cmovll %r13d, %eax
cmpl $-0x1, %ecx
cmovel %r13d, %eax
movl %eax, 0xc(%rsp)
jmp 0x18a05
movq %r15, %rdi
callq 0x9810
movl $0x1, %r15d
subl %ebp, %r15d
movl 0x14(%rsp), %ebp
movl 0xc(%rsp), %r12d
movq %r14, %rdi
callq 0x9580
cmpl %ebp, %r12d
jne 0x18ab4
imull 0x10(%rsp), %r15d
addl %ebx, %r15d
subl 0x557ed(%rip), %r15d    # 0x6e28c
cvtsi2ss %r15d, %xmm0
cvttss2si %xmm0, %ebx
callq 0x9120
testl %ebx, %ebx
setg %al
jmp 0x18ab6
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3fa89(%rip), %rdi     # 0x58555
callq 0x93e0
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
movl $0x1, %r15d
jmp 0x18a82
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/ebwt_search.cpp
// Function: createSinkFactory(HitSink&, unsigned long)
static HitSinkPerThreadFactory*
createSinkFactory(HitSink& _sink, size_t threadId) {
	HitSinkPerThreadFactory *sink = NULL;
	if(!strata) {
		// Unstratified
		if(!allHits) {
			// First N good; "good" inherently ignores strata
			sink = new NGoodHitSinkPerThreadFactory(_sink, khits, mhits, defaultMapq, threadId);
		} else {
			// All hits, spanning strata
			sink = new AllHitSinkPerThreadFactory(_sink, mhits, defaultMapq, threadId);
		}
	} else {
		// Stratified
		assert(stateful);
		if(!allHits) {
			assert(stateful);
			// Buffer best hits, assuming they're arriving in best-
			// to-worst order
			sink = new NBestFirstStratHitSinkPerThreadFactory(_sink, khits, mhits, defaultMapq, threadId);
		} else {
			assert(stateful);
			// Buffer best hits, assuming they're arriving in best-
			// to-worst order
			sink = new NBestFirstStratHitSinkPerThreadFactory(_sink, 0xffffffff/2, mhits, defaultMapq, threadId);
		}
	}
	assert(sink != NULL);
	return sink;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movb 0x55760(%rip), %bpl     # 0x6e250
cmpb $0x0, 0x557b6(%rip)     # 0x6e2ad
je 0x18b35
movl $0x28, %edi
callq 0x94b0
testb $0x1, %bpl
je 0x18b6e
movl 0x55799(%rip), %ecx     # 0x6e2a8
movl 0x5580b(%rip), %edx     # 0x6e320
leaq 0x512a4(%rip), %rsi     # 0x69dc0
movq %rsi, (%rax)
movq %r14, 0x8(%rax)
movl $0x7fffffff, 0x10(%rax) # imm = 0x7FFFFFFF
movl %ecx, 0x14(%rax)
movl %edx, 0x18(%rax)
jmp 0x18bbc
testb $0x1, %bpl
je 0x18b89
movl $0x20, %edi
callq 0x94b0
movl 0x5575d(%rip), %ecx     # 0x6e2a8
movl 0x557cf(%rip), %edx     # 0x6e320
leaq 0x51190(%rip), %rsi     # 0x69ce8
movq %rsi, (%rax)
movq %r14, 0x8(%rax)
movl %ecx, 0x10(%rax)
movl %edx, 0x14(%rax)
movq %rax, %rcx
addq $0x18, %rcx
jmp 0x18bc3
movl 0x55730(%rip), %ecx     # 0x6e2a4
movl 0x5572e(%rip), %edx     # 0x6e2a8
movl 0x557a0(%rip), %esi     # 0x6e320
leaq 0x51239(%rip), %rdi     # 0x69dc0
jmp 0x18bac
movl $0x28, %edi
callq 0x94b0
movl 0x5570b(%rip), %ecx     # 0x6e2a4
movl 0x55709(%rip), %edx     # 0x6e2a8
movl 0x5577b(%rip), %esi     # 0x6e320
leaq 0x50fd4(%rip), %rdi     # 0x69b80
movq %rdi, (%rax)
movq %r14, 0x8(%rax)
movl %ecx, 0x10(%rax)
movl %edx, 0x14(%rax)
movl %esi, 0x18(%rax)
movq %rax, %rcx
addq $0x20, %rcx
movq %rbx, (%rcx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/ebwt_search.cpp
// Function: std::pair<unsigned long, unsigned long> parsePair<unsigned long>(char const*, char)
pair<T, T> parsePair(const char *str, char delim) {
	string s(str);
	EList<string> ss;
	tokenize(s, delim, ss);
	pair<T, T> ret;
	ret.first = parse<T>(ss[0].c_str());
	ret.second = parse<T>(ss[1].c_str());
	return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1e0, %rsp            # imm = 0x1E0
movl %esi, %ebx
movq %rdi, %rsi
leaq 0x40(%rsp), %r14
leaq 0x60(%rsp), %rdx
movq %r14, %rdi
callq 0x1b200
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
movq %rax, (%rsp)
xorl %eax, %eax
movq %rax, 0x8(%rsp)
movq $0x80, 0x10(%rsp)
movq %rax, 0x18(%rsp)
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
movq %rax, -0x8(%r13)
movb $0x0, (%r13)
leaq 0x60(%rsp), %rdi
movq %r14, %rsi
movl $0x8, %edx
callq 0x9890
movsbl %bl, %ebx
leaq 0x60(%rsp), %r14
leaq 0x20(%rsp), %r15
movq %rsp, %r12
movq %r14, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq 0x9980
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x1db05
movq %r12, %rdi
movq %r15, %rsi
callq 0x1c634
jmp 0x1dadd
movq 0x4d484(%rip), %rsi     # 0x6af90
leaq 0x60(%rsp), %rdi
callq 0x96c0
leaq 0xd8(%rsp), %rdi
callq 0x9180
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x1db3a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x94c0
movq 0x8(%rsp), %rax
movq (%rax), %rdi
callq 0x1dd0f
movq %rax, %rbx
movq 0x8(%rsp), %rax
movq 0x20(%rax), %rdi
callq 0x1dd0f
movq %rax, %r14
movq %rsp, %rdi
callq 0x1fefe
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1db7e
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x94c0
movq %rbx, %rax
movq %r14, %rdx
addq $0x1e0, %rsp            # imm = 0x1E0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
jmp 0x1dbc0
movq %rax, %rbx
jmp 0x1dbd7
movq %rax, %rbx
movq 0x4d3e7(%rip), %rsi     # 0x6af90
leaq 0x60(%rsp), %rdi
callq 0x96c0
leaq 0xd8(%rsp), %rdi
callq 0x9180
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x1dbd7
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x94c0
movq %rsp, %rdi
callq 0x1fefe
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1dbfa
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x94c0
movq %rbx, %rdi
callq 0x9930
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/ebwt_search.cpp
// Function: int parse<int>(char const*)
T parse(const char *s) {
	T tmp;
	stringstream ss(s);
	ss >> tmp;
	return tmp;
}

// Assembly:
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdi, %rsi
leaq 0x8(%rsp), %rdi
leaq 0x3(%rsp), %rdx
callq 0x1b200
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
movl $0x18, %edx
callq 0x97f0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1dc85
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x94c0
leaq 0x28(%rsp), %rdi
leaq 0x4(%rsp), %rsi
callq 0x9290
movl 0x4(%rsp), %ebx
movq 0x4d2a9(%rip), %rsi     # 0x6af48
leaq 0x28(%rsp), %rdi
callq 0x9340
leaq 0xa8(%rsp), %rdi
callq 0x9180
movl %ebx, %eax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
retq
movq %rax, %rbx
movq 0x4d27d(%rip), %rsi     # 0x6af48
leaq 0x28(%rsp), %rdi
callq 0x9340
leaq 0xa8(%rsp), %rdi
callq 0x9180
jmp 0x1dd07
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1dd07
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x94c0
jmp 0x1dd07
movq %rax, %rbx
movq %rbx, %rdi
callq 0x9930
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./pat.h
// Function: DualPatternComposer::DualPatternComposer(EList<PatternSource*, 128> const&, EList<PatternSource*, 128> const&)
DualPatternComposer(const EList<PatternSource*>& srca,
	                        const EList<PatternSource*>& srcb) :
		PatternComposer(),
		cur_(0),
		srca_(srca),
		srcb_(srcb)
	{
		// srca_ and srcb_ must be parallel
		assert_eq(srca_.size(), srcb_.size());
		for(size_t i = 0; i < srca_.size(); i++) {
			// Can't have NULL first-mate sources.  Second-mate sources
			// can be NULL, in the case when the corresponding first-
			// mate source is unpaired.
			assert(srca_[i] != NULL);
			for(size_t j = 0; j < srcb_.size(); j++) {
				assert_neq(srca_[i], srcb_[j]);
			}
		}
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r14
movb $0x0, 0x8(%rdi)
leaq 0x4cb6a(%rip), %rax     # 0x6ac00
addq $0x10, %rax
movq %rax, (%rdi)
movl $0x0, 0xc(%rdi)
addq $0x10, %rdi
movabsq $-0x100000000, %r12     # imm = 0xFFFFFFFF00000000
movq %r12, 0x10(%r14)
leaq 0x18(%r14), %r15
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%r14)
xorl %r13d, %r13d
movq %r13, 0x28(%r14)
callq 0x200fc
leaq 0x30(%r14), %rdi
movq %r12, 0x30(%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x38(%r14)
movq %r13, 0x48(%r14)
movq %rbx, %rsi
callq 0x200fc
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%r15), %rdi
testq %rdi, %rdi
je 0x1e113
callq 0x95e0
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
movq $0x0, 0x10(%r15)
movq %rbx, %rdi
callq 0x9930
nop
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./filebuf.h
// Function: OutFileBuf::OutFileBuf(char const*, bool)
OutFileBuf(const char *out, bool binary = false) :
		name_(out), cur_(0), closed_(false)
	{
		assert(out != NULL);
		out_ = fopen(out, binary ? "wb" : "w");
		if(out_ == NULL) {
			std::cerr << "Error: Could not open alignment output file " << out << std::endl;
			throw 1;
		}
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, (%rdi)
movq $0x0, 0x10(%rdi)
movb $0x0, 0x4018(%rdi)
leaq 0x38249(%rip), %rax     # 0x56388
leaq 0x3530a(%rip), %rsi     # 0x53450
testl %edx, %edx
cmovneq %rax, %rsi
movq %rbx, %rdi
callq 0x9530
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1e165
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x4ce84(%rip), %rdi     # 0x6aff0
leaq 0x38218(%rip), %rsi     # 0x5638b
callq 0x9490
movq %rax, %rdi
movq %rbx, %rsi
callq 0x9490
movq %rax, %rdi
callq 0x91f0
movl $0x4, %edi
callq 0x9200
movl $0x1, (%rax)
movq 0x4cd96(%rip), %rsi     # 0x6af38
movq %rax, %rdi
xorl %edx, %edx
callq 0x98f0
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./pat.h
// Function: CFilePatternSource::~CFilePatternSource()
virtual ~CFilePatternSource() {
		if(is_open_) {
			if (compressed_) {
				gzclose(zfp_);
				zfp_ = NULL;
			}
			else if (fp_ != stdin) {
				fclose(fp_);
				fp_ = NULL;
			}
			if(qfp_ != NULL && qfp_ != stdin) {
				fclose(qfp_);
				qfp_ = NULL;
			}
			assert(zfp_ == NULL);
			assert(fp_ == NULL || fp_ == stdin);
			assert(qfp_ == NULL || qfp_ == stdin);
		}
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x4a936(%rip), %rax     # 0x6a938
addq $0x10, %rax
movq %rax, (%rdi)
cmpb $0x1, 0xa0(%rdi)
jne 0x2007e
cmpb $0x1, 0x200a2(%rbx)
jne 0x20030
movq 0x98(%rbx), %rdi
callq 0x98b0
leaq 0x98(%rbx), %r14
jmp 0x2004f
movq 0x88(%rbx), %rdi
movq 0x4af42(%rip), %rax     # 0x6af80
cmpq (%rax), %rdi
je 0x20056
leaq 0x88(%rbx), %r14
callq 0x94a0
movq $0x0, (%r14)
movq 0x90(%rbx), %rdi
testq %rdi, %rdi
je 0x2007e
movq 0x4af17(%rip), %rax     # 0x6af80
cmpq (%rax), %rdi
je 0x2007e
callq 0x94a0
movq $0x0, 0x90(%rbx)
movq 0x68(%rbx), %rdi
testq %rdi, %rdi
je 0x2009f
leaq 0x68(%rbx), %r14
callq 0x95e0
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq $0x0, 0x10(%r14)
leaq 0x40(%rbx), %rdi
callq 0x1fefe
addq $0x20, %rbx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1fefe
movq %rax, %rdi
callq 0x1b23d
nop
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./hit.h
// Function: HitSink::~HitSink()
virtual ~HitSink() {
		if(ptNumAligned_ != NULL) {
			delete[] ptNumAligned_;
			ptNumAligned_ = NULL;
		}
		closeOuts();
		destroyDumps();
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x49128(%rip), %rax     # 0x69900
movq %rax, (%rdi)
movq 0x1c8(%rdi), %rdi
testq %rdi, %rdi
je 0x207f7
callq 0x95e0
movq $0x0, 0x1c8(%rbx)
movq 0x8(%rbx), %rdi
callq 0x215aa
movq %rbx, %rdi
callq 0x21468
movq 0x148(%rbx), %rdi
leaq 0x158(%rbx), %rax
cmpq %rax, %rdi
je 0x20826
movq (%rax), %rsi
incq %rsi
callq 0x94c0
movq 0x128(%rbx), %rdi
leaq 0x138(%rbx), %rax
cmpq %rax, %rdi
je 0x20844
movq (%rax), %rsi
incq %rsi
callq 0x94c0
movq 0x108(%rbx), %rdi
leaq 0x118(%rbx), %rax
cmpq %rax, %rdi
je 0x20862
movq (%rax), %rsi
incq %rsi
callq 0x94c0
leaq 0xc8(%rbx), %rdi
callq 0x207ae
movq 0x88(%rbx), %rdi
testq %rdi, %rdi
je 0x20895
leaq 0x88(%rbx), %r14
callq 0x95e0
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq $0x0, 0x10(%r14)
movq 0x50(%rbx), %rdi
testq %rdi, %rdi
je 0x208b6
leaq 0x50(%rbx), %r14
callq 0x95e0
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq $0x0, 0x10(%r14)
addq $0x28, %rbx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x20cfe
movq %rax, %rdi
callq 0x1b23d
nop
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./hit.h
// Function: HitSink::reportHits(Hit const*, EList<Hit, 128>*, unsigned long, unsigned long, unsigned long, int, int, bool, PatternSourcePerThread&)
virtual void reportHits(
		const Hit *hptr,
		EList<Hit> *hsptr,
		size_t start,
		size_t end,
		size_t threadId,
		int mapq,
		int xms,
		bool tally,
		PatternSourcePerThread& p)
	{
		assert_geq(end, start);
		assert(nthreads_ > 1 || threadId == 0);
		if(end == start) {
			return;
		}
		const Hit& firstHit = (hptr == NULL) ? (*hsptr)[start] : *hptr;
		bool paired = firstHit.mate > 0;
		BTString& o = ptBufs_[threadId];
		// Per-thread buffering is active
		for(size_t i = start; i < end; i++) {
			const Hit& h = (hptr == NULL) ? (*hsptr)[i] : *hptr;
			assert(h.repOk());
			append(o, h, mapq, xms);
			if(nthreads_ == 1) {
				out_.writeString(o);
				o.clear();
			}
		}
		ptCounts_[threadId]++;
		if (reorder_ && reorderInfo_[threadId].flushed) {
			reorderInfo_[threadId].batchId = p.batch_id();
			reorderInfo_[threadId].flushed = false;
		}
		maybeFlush(threadId);
		if(tally) {
			tallyAlignments(threadId, end - start, paired);
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, 0x20(%rsp)
cmpq %rcx, %r8
je 0x20a21
movq %rsi, %r13
movq %rdi, %r15
movq %r9, 0x18(%rsp)
movq %rsi, %rax
testq %rsi, %rsi
jne 0x20911
imulq $0x190, %rcx, %rax      # imm = 0x190
movq 0x20(%rsp), %rdx
addq 0x8(%rdx), %rax
movb 0x188(%rax), %al
movb %al, 0xf(%rsp)
subq %rcx, %r8
movq %r8, 0x10(%rsp)
jbe 0x20994
movl 0x60(%rsp), %ebx
movq 0x18(%rsp), %rax
leaq (%rax,%rax,2), %r14
shlq $0x4, %r14
addq 0x30(%r15), %r14
imulq $0x190, %rcx, %r12      # imm = 0x190
movq 0x10(%rsp), %rbp
movq %r13, %rdx
testq %r13, %r13
jne 0x2095a
movq 0x20(%rsp), %rax
movq 0x8(%rax), %rdx
addq %r12, %rdx
movq (%r15), %rax
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %ecx
movl 0x68(%rsp), %r8d
callq *0x10(%rax)
cmpq $0x1, 0x20(%r15)
jne 0x20988
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0x20e76
movq $0x0, 0x20(%r14)
addq $0x190, %r12            # imm = 0x190
decq %rbp
jne 0x20946
movq 0x50(%r15), %rax
movq 0x18(%rsp), %r14
incq (%rax,%r14,8)
cmpb $0x0, 0x78(%r15)
je 0x209d8
movq 0x88(%r15), %rcx
movq %r14, %rax
shlq $0x4, %rax
cmpb $0x1, 0x8(%rcx,%rax)
jne 0x209d8
movq 0x78(%rsp), %rdx
addq %rax, %rcx
movq 0x78(%rdx), %rdx
movq %rdx, (%rcx)
movq 0x88(%r15), %rcx
movb $0x0, 0x8(%rcx,%rax)
movb 0x70(%rsp), %bl
movq 0x50(%r15), %rax
movq (%rax,%r14,8), %rax
cmpq 0x68(%r15), %rax
jb 0x209f7
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x20ff0
testb %bl, %bl
movq 0x10(%rsp), %rdx
je 0x20a21
xorl %eax, %eax
cmpb $0x0, 0xf(%rsp)
setne %al
movq 0x1c8(%r15), %rcx
incq (%rcx,%r14,8)
movq 0x1d0(%r15,%rax,8), %rax
addq %rdx, (%rax,%r14,8)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./sstring.h
// Function: SStringExpandable<char, 25, 2, 0>::toZBuf() const
virtual const T* toZBuf() const {
		if(empty()) {
			const_cast<T&>(zeroT_) = 0;
			return &zeroT_;
		}
		assert_leq(len_, sz_);
		const_cast<T*>(cs_)[len_] = 0;
		return cs_;
	}

// Assembly:
movq %rdi, %rax
movq 0x20(%rdi), %rcx
testq %rcx, %rcx
je 0x20c21
movq 0x8(%rax), %rdx
movb $0x0, (%rdx,%rcx)
movq 0x8(%rax), %rax
retq
movb $0x0, 0x19(%rax)
addq $0x19, %rax
retq
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./sstring.h
// Function: SStringExpandable<char, 25, 2, 0>::expandNoCopy(unsigned long)
void expandNoCopy(size_t sz) {
		if(sz_ >= sz) return; // done!
		if(cs_      != NULL) delete[] cs_;
		if(printcs_ != NULL) delete[] printcs_;
		cs_ = new T[sz + 1];
		printcs_ = new char[sz + 1];
		sz_ = sz;
	}

// Assembly:
cmpq %rsi, 0x28(%rdi)
jae 0x20c7c
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x20c49
callq 0x95e0
movq 0x10(%r14), %rdi
testq %rdi, %rdi
je 0x20c57
callq 0x95e0
leaq 0x1(%rbx), %r15
movq %r15, %rdi
callq 0x9030
movq %rax, 0x8(%r14)
movq %r15, %rdi
callq 0x9030
movq %rax, 0x10(%r14)
movq %rbx, 0x28(%r14)
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./filebuf.h
// Function: void OutFileBuf::writeString<SStringExpandable<char, 25, 2, 0>>(SStringExpandable<char, 25, 2, 0> const&)
void writeString(const T& s) {
		assert(!closed_);
		size_t slen = s.length();
		if(cur_ + slen > BUF_SZ) {
			if(cur_ > 0) flush();
			if(slen >= BUF_SZ) {
				if (slen != fwrite(s.toZBuf(), 1, slen, out_)) {
					std::cerr << "Error outputting data" << std::endl;
					throw 1;
				}
			} else {
				memcpy(&buf_[cur_], s.toZBuf(), slen);
				assert_eq(0, cur_);
				cur_ = slen;
			}
		} else {
			memcpy(&buf_[cur_], s.toZBuf(), slen);
			cur_ += slen;
		}
		assert_leq(cur_, BUF_SZ);
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r14
movq 0x20(%rsi), %rbx
movq 0x10(%rdi), %rax
leaq (%rax,%rbx), %rcx
cmpq $0x4001, %rcx           # imm = 0x4001
jb 0x20f15
testq %rax, %rax
je 0x20ea6
movq %r14, %rdi
callq 0x20f6e
cmpq $0x4000, %rbx           # imm = 0x4000
jb 0x20f3a
movq (%r15), %rax
movq %r15, %rdi
callq *0x18(%rax)
movq 0x8(%r14), %rcx
movl $0x1, %esi
movq %rax, %rdi
movq %rbx, %rdx
callq 0x9a10
cmpq %rax, %rbx
je 0x20f61
movq 0x4a110(%rip), %rdi     # 0x6aff0
leaq 0x354de(%rip), %rsi     # 0x563c5
callq 0x9490
movq %rax, %rdi
callq 0x91f0
movl $0x4, %edi
callq 0x9200
movl $0x1, (%rax)
movq 0x4a02d(%rip), %rsi     # 0x6af38
movq %rax, %rdi
xorl %edx, %edx
callq 0x98f0
leaq (%r14,%rax), %r12
addq $0x18, %r12
movq (%r15), %rax
movq %r15, %rdi
callq *0x18(%rax)
movq %r12, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x93c0
addq 0x10(%r14), %rbx
jmp 0x20f5d
movq 0x10(%r14), %rax
leaq (%r14,%rax), %r12
addq $0x18, %r12
movq (%r15), %rax
movq %r15, %rdi
callq *0x18(%rax)
movq %r12, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x93c0
movq %rbx, 0x10(%r14)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./filebuf.h
// Function: OutFileBuf::flush()
void flush() {
		if(cur_ != fwrite((const void *)buf_, 1, cur_, out_)) {
			if (errno == EPIPE) {
				exit(EXIT_SUCCESS);
			}
			std::cerr << "Error while flushing and closing output" << std::endl;
			throw 1;
		}
		cur_ = 0;
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rcx
movq 0x10(%rdi), %r14
addq $0x18, %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x9a10
cmpq %rax, %r14
jne 0x20fa3
movq $0x0, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x9060
cmpl $0x20, (%rax)
jne 0x20fb4
xorl %edi, %edi
callq 0x9590
movq 0x4a035(%rip), %rdi     # 0x6aff0
leaq 0x35419(%rip), %rsi     # 0x563db
callq 0x9490
movq %rax, %rdi
callq 0x91f0
movl $0x4, %edi
callq 0x9200
movl $0x1, (%rax)
movq 0x49f52(%rip), %rsi     # 0x6af38
movq %rax, %rdi
xorl %edx, %edx
callq 0x98f0
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./hit.h
// Function: HitSink::flush(unsigned long, bool)
void flush(size_t threadId, bool force) {
		if (reorder_) {
			reorder(threadId, force);
		} else {
			ThreadSafe _ts(&mutex_); // flush
			out_.writeString(ptBufs_[threadId]);
		}
		ptCounts_[threadId] = 0;
		ptBufs_[threadId].clear();
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
cmpb $0x1, 0x78(%rdi)
jne 0x21011
movzbl %dl, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x21078
jmp 0x2103a
leaq 0x18(%r14), %r15
movq %r15, %rdi
callq 0x4bff0
movq 0x8(%r14), %rdi
leaq (%rbx,%rbx,2), %rsi
shlq $0x4, %rsi
addq 0x30(%r14), %rsi
callq 0x20e76
movq %r15, %rdi
callq 0x4c02c
movq 0x50(%r14), %rax
xorl %ecx, %ecx
movq %rcx, (%rax,%rbx,8)
movq 0x30(%r14), %rax
leaq (%rbx,%rbx,2), %rdx
shlq $0x4, %rdx
movq %rcx, 0x20(%rax,%rdx)
popq %rbx
popq %r14
popq %r15
retq
jmp 0x21070
movq %rax, %rbx
movq %r15, %rdi
callq 0x4c02c
movq %rbx, %rdi
callq 0x9930
movq %rax, %rdi
callq 0x1b23d
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./hit.h
// Function: HitSink::reorder(unsigned long, bool)
void reorder(size_t threadId, bool force) {
		COND_LOCK_T<COND_MUTEX_T> l(reorder_mutex_);
		size_t last_batch_flushed = next_batch_to_flush_;
		if (next_batch_to_flush_ == reorderInfo_[threadId].batchId || force) {
			if (!force) {
				out_.writeString(ptBufs_[threadId]);
				next_batch_to_flush_ += 1;
				reorderInfo_[threadId].flushed = true;
			}
			for (size_t i = 0; i < reorderInfo_.size();) {
				if (reorderInfo_[i].batchId == next_batch_to_flush_ &&
				    (reorderInfo_[i].waiting  || force)) {
					out_.writeString(ptBufs_[i]);
					reorderInfo_[i].flushed = true;
					next_batch_to_flush_ += 1;
					i = 0; // we may have skipped over a flushable batch
				} else
					i++;
			}
			if (next_batch_to_flush_ - last_batch_flushed > 1)
				output_cond.notify_all();
		} else {
			reorderInfo_[threadId].waiting = true;
			while (!reorderInfo_[threadId].flushed) {
				output_cond.wait(reorder_mutex_);
			}
			reorderInfo_[threadId].waiting = false;
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebp
movq %rsi, %r13
movq %rdi, %rbx
movl %ebp, %r15d
xorb $0x1, %r15b
leaq 0xa0(%rdi), %r14
leaq 0x8(%rsp), %r12
movq %r14, (%r12)
movb $0x0, 0x8(%r12)
movq %r12, %rdi
callq 0x2131e
movq %r13, %rdx
movb $0x1, 0x8(%r12)
movq 0x70(%rbx), %r12
movq 0x88(%rbx), %rax
shlq $0x4, %r13
cmpq (%rax,%r13), %r12
setne %cl
testb %r15b, %cl
jne 0x2118c
testb %bpl, %bpl
jne 0x21106
movq 0x8(%rbx), %rdi
leaq (%rdx,%rdx,2), %rsi
shlq $0x4, %rsi
addq 0x30(%rbx), %rsi
callq 0x20e76
incq 0x70(%rbx)
movq 0x88(%rbx), %rax
movb $0x1, 0x8(%rax,%r13)
cmpq $0x0, 0x98(%rbx)
je 0x2116e
xorl %eax, %eax
movq 0x88(%rbx), %rcx
movq %rax, %r14
shlq $0x4, %r14
movq (%rcx,%r14), %rdx
cmpq 0x70(%rbx), %rdx
jne 0x21162
addq %r14, %rcx
movb 0x9(%rcx), %cl
orb %bpl, %cl
cmpb $0x1, %cl
jne 0x21162
movq 0x8(%rbx), %rdi
leaq (%rax,%rax,2), %rsi
shlq $0x4, %rsi
addq 0x30(%rbx), %rsi
callq 0x20e76
movq 0x88(%rbx), %rax
movb $0x1, 0x8(%rax,%r14)
incq 0x70(%rbx)
xorl %eax, %eax
jmp 0x21165
incq %rax
cmpq 0x98(%rbx), %rax
jb 0x21112
movq 0x70(%rbx), %rax
subq %r12, %rax
cmpq $0x1, %rax
jbe 0x211bd
addq $0xc8, %rbx
movq %rbx, %rdi
callq 0x211f0
jmp 0x211bd
addq %r13, %rax
movb $0x1, 0x9(%rax)
leaq 0xc8(%rbx), %r15
movq 0x88(%rbx), %rax
cmpb $0x0, 0x8(%rax,%r13)
jne 0x211b6
movq %r15, %rdi
movq %r14, %rsi
callq 0x2122e
jmp 0x2119a
addq %r13, %rax
movb $0x0, 0x9(%rax)
leaq 0x8(%rsp), %rdi
callq 0x21308
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x211da
jmp 0x211da
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x21308
movq %rbx, %rdi
callq 0x9930
nop
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./bitset.h
// Function: Bitset::operator=(Bitset const&)
Bitset& operator=(const Bitset& o) {
		_errmsg = o._errmsg;
		_sz = o._sz;
		_cnt = o._cnt;
		if(_words != NULL) delete[] _words;
		_words = new TIndexOffU[(_sz+BITSET_MASK) / WORD_SIZE];
		for(size_t i = 0; i < (_sz+BITSET_MASK) / WORD_SIZE; i++) {
			_words[i] = o._words[i];
		}
		return *this;
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rax
movq %rax, 0x8(%rdi)
movl 0x10(%rsi), %eax
movl %eax, 0x10(%rdi)
movl (%rsi), %eax
movl %eax, (%rdi)
movq 0x18(%rdi), %rdi
testq %rdi, %rdi
je 0x2141c
callq 0x95e0
movl 0x10(%rbx), %edi
addl $0x1f, %edi
shrl $0x3, %edi
andl $-0x4, %edi
callq 0x9030
movq %rax, 0x18(%rbx)
movl 0x10(%rbx), %eax
addl $0x1f, %eax
cmpl $0x20, %eax
jb 0x2145d
xorl %eax, %eax
movq 0x18(%r14), %rcx
movl (%rcx,%rax,4), %ecx
movq 0x18(%rbx), %rdx
movl %ecx, (%rdx,%rax,4)
incq %rax
movl 0x10(%rbx), %ecx
addl $0x1f, %ecx
shrl $0x5, %ecx
cmpq %rcx, %rax
jb 0x2143e
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./hit.h
// Function: HitSink::destroyDumps()
void destroyDumps() {
		if(dumpAl_       != NULL) { dumpAl_->close();       delete dumpAl_; }
		if(dumpAl_1_     != NULL) { dumpAl_1_->close();     delete dumpAl_1_; }
		if(dumpAl_2_     != NULL) { dumpAl_2_->close();     delete dumpAl_2_; }
		if(dumpUnal_     != NULL) { dumpUnal_->close();     delete dumpUnal_; }
		if(dumpUnal_1_   != NULL) { dumpUnal_1_->close();   delete dumpUnal_1_; }
		if(dumpUnal_2_   != NULL) { dumpUnal_2_->close();   delete dumpUnal_2_; }
		if(dumpMax_      != NULL) { dumpMax_->close();      delete dumpMax_; }
		if(dumpMax_1_    != NULL) { dumpMax_1_->close();    delete dumpMax_1_; }
		if(dumpMax_2_    != NULL) { dumpMax_2_->close();    delete dumpMax_2_; }
	}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x170(%rdi), %rdi
testq %rdi, %rdi
je 0x2148f
callq 0x96b0
movq 0x170(%rbx), %rdi
testq %rdi, %rdi
je 0x2148f
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x178(%rbx), %rdi
testq %rdi, %rdi
je 0x214b2
callq 0x96b0
movq 0x178(%rbx), %rdi
testq %rdi, %rdi
je 0x214b2
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x180(%rbx), %rdi
testq %rdi, %rdi
je 0x214d5
callq 0x96b0
movq 0x180(%rbx), %rdi
testq %rdi, %rdi
je 0x214d5
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x188(%rbx), %rdi
testq %rdi, %rdi
je 0x214f8
callq 0x96b0
movq 0x188(%rbx), %rdi
testq %rdi, %rdi
je 0x214f8
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x190(%rbx), %rdi
testq %rdi, %rdi
je 0x2151b
callq 0x96b0
movq 0x190(%rbx), %rdi
testq %rdi, %rdi
je 0x2151b
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x198(%rbx), %rdi
testq %rdi, %rdi
je 0x2153e
callq 0x96b0
movq 0x198(%rbx), %rdi
testq %rdi, %rdi
je 0x2153e
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x1a0(%rbx), %rdi
testq %rdi, %rdi
je 0x21561
callq 0x96b0
movq 0x1a0(%rbx), %rdi
testq %rdi, %rdi
je 0x21561
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x1a8(%rbx), %rdi
testq %rdi, %rdi
je 0x21584
callq 0x96b0
movq 0x1a8(%rbx), %rdi
testq %rdi, %rdi
je 0x21584
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x1b0(%rbx), %rdi
testq %rdi, %rdi
je 0x215a8
callq 0x96b0
movq 0x1b0(%rbx), %rdi
testq %rdi, %rdi
je 0x215a8
movq (%rdi), %rax
popq %rbx
jmpq *0x8(%rax)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./filebuf.h
// Function: OutFileBuf::close()
void close() {
		if(closed_) return;
		if(cur_ > 0) flush();
		closed_ = true;
		if(out_ != stdout) {
			fclose(out_);
		}
	}

// Assembly:
cmpb $0x0, 0x4018(%rdi)
jne 0x215e2
pushq %rbx
movq %rdi, %rbx
cmpq $0x0, 0x10(%rdi)
je 0x215c6
movq %rbx, %rdi
callq 0x20f6e
movb $0x1, 0x4018(%rbx)
movq 0x8(%rbx), %rdi
movq 0x49968(%rip), %rax     # 0x6af40
cmpq (%rax), %rdi
popq %rbx
jne 0x94a0
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./pool.h
// Function: ChunkPool::ChunkPool(unsigned int, unsigned int, bool)
ChunkPool(uint32_t chunkSz, uint32_t totSz, bool verbose_) :
		verbose(verbose_), patid(0), pool_(NULL), cur_(0),
		chunkSz_(chunkSz), totSz_(totSz), lim_(totSz/chunkSz),
		bits_(lim_), exhaustCrash_(false),
		lastSkippedRead_(0xffffffff), readName_(NULL)
	{
		assert_gt(lim_, 0);
		try {
			if((pool_ = new int8_t[totSz_]) == NULL) {
				throw std::bad_alloc();
			}
		} catch(std::bad_alloc& e) {
			ThreadSafe _ts(&gLock);
			std::cerr << "Error: Could not allocate ChunkPool of "
			          << totSz << " bytes" << std::endl;
			exhausted();
			throw 1; // Exit if we haven't already
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rdi, %rbx
movb %cl, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x4(%rdi)
movl %esi, 0x14(%rdi)
movl %edx, 0x18(%rdi)
xorl %r15d, %r15d
movl %edx, %eax
xorl %edx, %edx
divl %esi
movl %eax, 0x1c(%rdi)
movl %eax, 0x20(%rdi)
movq %r15, 0x24(%rdi)
shrl $0x5, %eax
leal 0x4(,%rax,4), %r14d
movq %r14, %rdi
callq 0x9030
movq %rax, 0x30(%rbx)
movq %rax, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x9250
movb $0x0, 0x38(%rbx)
movl $0xffffffff, 0x3c(%rbx) # imm = 0xFFFFFFFF
movq %r15, 0x40(%rbx)
movl %ebp, %r14d
movq %r14, %rdi
callq 0x9030
movq %rax, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
cmpl $0x1, %edx
jne 0x232e3
movq %r15, %rdi
callq 0x91a0
leaq 0x4afa4(%rip), %rdi     # 0x6e1f8
callq 0x4bff0
movq 0x47d90(%rip), %rdi     # 0x6aff0
leaq 0x335cb(%rip), %rsi     # 0x56832
movl $0x27, %edx
callq 0x9560
movq 0x47d78(%rip), %rdi     # 0x6aff0
movq %r14, %rsi
callq 0x92e0
movq %rax, %r14
leaq 0x335d0(%rip), %rsi     # 0x5685a
movl $0x6, %edx
movq %rax, %rdi
callq 0x9560
movq %r14, %rdi
callq 0x91f0
movq %rbx, %rdi
callq 0x27a24
movl $0x4, %edi
callq 0x9200
movl $0x1, (%rax)
movq 0x47c7a(%rip), %rsi     # 0x6af38
movq %rax, %rdi
xorl %edx, %edx
callq 0x98f0
movq %rax, %r15
leaq 0x4af26(%rip), %rdi     # 0x6e1f8
callq 0x4c02c
jmp 0x232de
jmp 0x232f9
movq %rax, %r15
callq 0x9840
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x232f1
callq 0x95e0
movq %r15, %rdi
callq 0x9930
movq %rax, %rdi
callq 0x1b23d
nop