LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/procenv.cc
// Function: asbi::load_procenv(asbi::Context*, int, char const**, int)
void asbi::load_procenv(Context* ctx, int argc, const char* argv[], int scriptArgs) {
	auto env = new MapContainer(ctx);
	auto args = new MapContainer(ctx);
	for (int i = scriptArgs, j = 0; i < argc; ++i, ++j)
		args->set(Value::number(j), Value::string(ctx->new_string(argv[i])));

	env->set(Value::symbol("all",  ctx), Value::macro(all_env_vars));
	env->set(Value::symbol("set",  ctx), Value::macro(set_env_var));
	env->set(Value::symbol("get",  ctx), Value::macro(get_env_var));
	env->set(Value::symbol("argv", ctx), Value::map(args));
	env->set(Value::symbol("$",    ctx), Value::macro(macro_system));
	env->set(Value::symbol("exit", ctx), Value::macro(macro_exit));
	ctx->global_env->decl(ctx, "env", Value::map(env));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %ebp
movq %rdx, %r13
movl %esi, %r12d
movq %rdi, %r14
movl $0x68, %edi
callq 0x5380
movq %rax, 0x8(%rsp)
movq %rax, %rdi
movq %r14, %rsi
callq 0xf274
movl $0x68, %edi
callq 0x5380
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0xf274
subl %ebp, %r12d
jle 0x136be
movslq %ebp, %rax
leaq (,%rax,8), %rbp
addq %r13, %rbp
pxor %xmm0, %xmm0
xorl %ebx, %ebx
movq %xmm0, 0x10(%rsp)
movq %xmm0, %r13
movq (%rbp,%rbx,8), %rsi
movq %r14, %rdi
callq 0x1140c
movq %r15, %rdi
movl $0x1, %esi
movq %r13, %rdx
movl $0x4, %ecx
movq %rax, %r8
callq 0xf382
movsd 0x10(%rsp), %xmm0
addsd 0x4d02(%rip), %xmm0     # 0x183b8
incq %rbx
cmpl %ebx, %r12d
jne 0x13678
leaq 0x4819(%rip), %rdi      # 0x17ede
movq %r14, %rsi
callq 0xf538
leaq 0x119(%rip), %r8        # 0x137ed
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
movl %eax, %esi
movl $0x7, %ecx
callq 0xf382
leaq 0x4d20(%rip), %rdi      # 0x1840f
movq %r14, %rsi
callq 0xf538
leaq 0x303(%rip), %r8        # 0x13a01
movq %rbx, %rdi
movl %eax, %esi
movl $0x7, %ecx
callq 0xf382
leaq 0x4cff(%rip), %rdi      # 0x18413
movq %r14, %rsi
callq 0xf538
leaq 0x3b8(%rip), %r8        # 0x13adb
movq %rbx, %rdi
movl %eax, %esi
movl $0x7, %ecx
callq 0xf382
leaq 0x4cde(%rip), %rdi      # 0x18417
movq %r14, %rsi
callq 0xf538
movq %rbx, %rdi
movl %eax, %esi
movl $0x6, %ecx
movq %r15, %r8
callq 0xf382
leaq 0x4cc2(%rip), %rdi      # 0x1841c
movq %r14, %rsi
callq 0xf538
leaq 0x41f(%rip), %r8        # 0x13b88
movq %rbx, %rdi
movl %eax, %esi
movl $0x7, %ecx
callq 0xf382
leaq 0x4c9f(%rip), %rdi      # 0x1841e
movq %r14, %rsi
callq 0xf538
leaq 0x63d(%rip), %r8        # 0x13dcb
movq %rbx, %rdi
movl %eax, %esi
movl $0x7, %ecx
callq 0xf382
movq 0x4f8(%r14), %rdi
leaq 0x4824(%rip), %rdx      # 0x17fcf
movq %r14, %rsi
movl $0x6, %ecx
movq %rbx, %r8
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x10b76
movq %rax, %r14
movq %r15, 0x8(%rsp)
jmp 0x137d6
movq %rax, %r14
movl $0x68, %esi
movq 0x8(%rsp), %rdi
callq 0x5390
movq %r14, %rdi
callq 0x55e0
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/procenv.cc
// Function: all_env_vars(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value all_env_vars(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n != 0)
		throw std::runtime_error("env:all usage error");

	auto vars = new MapContainer(ctx);
	for (int i = 0; environ[i] != NULL; ++i) {
		const char* str = environ[i];
		const char* pos = std::strchr(str, '=');
		if (pos == NULL)
			throw std::runtime_error("unexpected environment variable format");

		std::size_t len = std::abs(str - pos);
		std::string name(str, len);
		std::string value(str + len + 1);
		vars->set(Value::string(name, ctx), Value::string(value, ctx));
	}
	return Value::map(vars);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
testl %edi, %edi
jne 0x13979
movq %rsi, %rbx
movl $0x68, %edi
callq 0x5380
movq %rax, (%rsp)
movq %rax, %rdi
movq %rbx, %rsi
callq 0xf274
movq 0xd7a2(%rip), %rax      # 0x20fc8
movq (%rax), %rax
movq (%rax), %r13
testq %r13, %r13
je 0x1392f
movl $0x8, %r14d
leaq 0x28(%rsp), %r15
leaq 0x8(%rsp), %r12
movq %r13, %rdi
movl $0x3d, %esi
callq 0x5130
testq %rax, %rax
je 0x13947
movq %r13, %rcx
subq %rax, %rcx
movq %rcx, %rbp
negq %rbp
cmovsq %rcx, %rbp
leaq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
addq %r13, %rbp
movq %r15, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x6646
leaq 0x1(%rbp), %r13
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %r13, %rdi
callq 0x5180
leaq (%rax,%rbp), %rdx
incq %rdx
movq %r12, %rdi
movq %r13, %rsi
callq 0x6646
movq %r15, %rdi
movq %rbx, %rsi
callq 0xf634
movl %eax, %ebp
movq %rdx, %r13
movq %r12, %rdi
movq %rbx, %rsi
callq 0xf634
movq %rdx, %r8
movq (%rsp), %rdi
movl %ebp, %esi
movq %r13, %rdx
movl %eax, %ecx
callq 0xf382
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x138f8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x13914
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0xd6ad(%rip), %rax      # 0x20fc8
movq (%rax), %rax
movq (%rax,%r14), %r13
addq $0x8, %r14
testq %r13, %r13
jne 0x13845
movl $0x6, %eax
movq (%rsp), %rdx
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x51b0
movq %rax, %r14
leaq 0x4adc(%rip), %rsi      # 0x18437
movq %rax, %rdi
callq 0x5150
movq 0xd686(%rip), %rsi      # 0x20ff0
movq 0xd63f(%rip), %rdx      # 0x20fb0
movq %r14, %rdi
callq 0x55d0
movl $0x10, %edi
callq 0x51b0
movq %rax, %r14
leaq 0x4a96(%rip), %rsi      # 0x18423
movq %rax, %rdi
callq 0x5150
jmp 0x13963
jmp 0x139a7
movq %rax, %rbx
movl $0x68, %esi
movq (%rsp), %rdi
jmp 0x139f4
movq %rax, %rbx
movq %r14, %rdi
callq 0x5280
jmp 0x139f9
movq %rax, %rbx
jmp 0x139f9
movq %rax, %rbx
jmp 0x139dd
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x139dd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x139f9
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5390
movq %rbx, %rdi
callq 0x55e0
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/procenv.cc
// Function: set_env_var(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value set_env_var(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n != 2)
		throw std::runtime_error("env:set usage error");

	auto name = ctx->pop();
	auto value = ctx->pop();
	if (name.type != type_t::String || value.type != type_t::String)
		throw std::runtime_error("env:set usage error");

	if(setenv(name._string->data.c_str(), value._string->data.c_str(), 1) != 0)
		throw std::runtime_error(std::strerror(errno));

	return Value::nil();
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
cmpl $0x2, %edi
jne 0x13a4e
movq %rsi, %r14
movq %rsi, %rdi
callq 0x11122
movl %eax, %ebp
movq %rdx, %rbx
movq %r14, %rdi
callq 0x11122
cmpl $0x4, %ebp
jne 0x13a6c
cmpl $0x4, %eax
jne 0x13a6c
movq 0x20(%rbx), %rdi
movq 0x20(%rdx), %rsi
movl $0x1, %edx
callq 0x5520
testl %eax, %eax
jne 0x13a8a
movl $0x2, %eax
xorl %edx, %edx
popq %rbx
popq %r14
popq %rbp
retq
movl $0x10, %edi
callq 0x51b0
movq %rax, %rbx
leaq 0x49fc(%rip), %rsi      # 0x1845e
movq %rax, %rdi
callq 0x5150
jmp 0x13aae
movl $0x10, %edi
callq 0x51b0
movq %rax, %rbx
leaq 0x49de(%rip), %rsi      # 0x1845e
movq %rax, %rdi
callq 0x5150
jmp 0x13aae
movl $0x10, %edi
callq 0x51b0
movq %rax, %rbx
callq 0x5050
movl (%rax), %edi
callq 0x5100
movq %rbx, %rdi
movq %rax, %rsi
callq 0x5150
movq 0xd53b(%rip), %rsi      # 0x20ff0
movq 0xd4f4(%rip), %rdx      # 0x20fb0
movq %rbx, %rdi
callq 0x55d0
jmp 0x13ac8
jmp 0x13ac8
movq %rax, %r14
movq %rbx, %rdi
callq 0x5280
movq %r14, %rdi
callq 0x55e0
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/procenv.cc
// Function: get_env_var(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value get_env_var(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n != 1)
		throw std::runtime_error("env:get usage error");

	auto name = ctx->pop();
	if (name.type != type_t::String)
		throw std::runtime_error("env:get usage error");

	const char* value = std::getenv(name._string->data.c_str());
	return value == NULL ? Value::nil() : Value::string(value, ctx);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpl $0x1, %edi
jne 0x13b23
movq %rsi, %rbx
movq %rsi, %rdi
callq 0x11122
cmpl $0x4, %eax
jne 0x13b41
movq 0x20(%rdx), %rdi
callq 0x5440
testq %rax, %rax
je 0x13b14
movq %rax, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xf5b6
movl $0x2, %eax
xorl %edx, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x10, %edi
callq 0x51b0
movq %rax, %rbx
leaq 0x493b(%rip), %rsi      # 0x18472
movq %rax, %rdi
callq 0x5150
jmp 0x13b5d
movl $0x10, %edi
callq 0x51b0
movq %rax, %rbx
leaq 0x491d(%rip), %rsi      # 0x18472
movq %rax, %rdi
callq 0x5150
movq 0xd48c(%rip), %rsi      # 0x20ff0
movq 0xd445(%rip), %rdx      # 0x20fb0
movq %rbx, %rdi
callq 0x55d0
jmp 0x13b75
movq %rax, %r14
movq %rbx, %rdi
callq 0x5280
movq %r14, %rdi
callq 0x55e0
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/procenv.cc
// Function: macro_exit(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value macro_exit(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n != 1)
		throw std::runtime_error("exit macro usage error");

	auto exitcode = ctx->pop();
	if (exitcode.type != type_t::Number)
		throw std::runtime_error("exit macro usage error");

	std::exit(static_cast<unsigned int>(exitcode._number));
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpl $0x1, %edi
jne 0x13df0
movq %rsi, %rdi
callq 0x11122
cmpl $0x1, %eax
jne 0x13e0e
movq %rdx, %xmm0
cvttsd2si %xmm0, %rdi
callq 0x5430
movl $0x10, %edi
callq 0x51b0
movq %rax, %rbx
leaq 0x46b4(%rip), %rsi      # 0x184b8
movq %rax, %rdi
callq 0x5150
jmp 0x13e2a
movl $0x10, %edi
callq 0x51b0
movq %rax, %rbx
leaq 0x4696(%rip), %rsi      # 0x184b8
movq %rax, %rdi
callq 0x5150
movq 0xd1bf(%rip), %rsi      # 0x20ff0
movq 0xd178(%rip), %rdx      # 0x20fb0
movq %rbx, %rdi
callq 0x55d0
jmp 0x13e42
movq %rax, %r14
movq %rbx, %rdi
callq 0x5280
movq %r14, %rdi
callq 0x55e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/events/utils.cc
// Function: asbi::evts::Semaphore::tryAcquire()
bool Semaphore::tryAcquire() {
	std::unique_lock<std::mutex> lock(mut);
	if (counter > 0) {
		counter--;
		return true;
	}
	return false;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %rdi, (%r14)
movb $0x0, 0x8(%r14)
movq %r14, %rdi
callq 0x1445a
movb $0x1, 0x8(%r14)
movl 0x58(%rbx), %eax
testl %eax, %eax
jle 0x1433d
leal -0x1(%rax), %ecx
movl %ecx, 0x58(%rbx)
testl %eax, %eax
setg %bl
leaq 0x8(%rsp), %rdi
callq 0x14444
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/events/utils.cc
// Function: asbi::evts::Semaphore::acquireFor(std::chrono::duration<double, std::ratio<1l, 1000l>>)
bool Semaphore::acquireFor(std::chrono::duration<double, std::milli> timeout) {
	std::unique_lock<std::mutex> lock(mut);
	if (condvar.wait_for(lock, timeout, [this](){ return this->counter > 0; })) {
		counter--;
		return true;
	}
	return false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movsd %xmm0, 0x8(%rsp)
movq %rdi, %rbx
leaq 0x10(%rsp), %r14
movq %rdi, (%r14)
movb $0x0, 0x8(%r14)
movq %r14, %rdi
callq 0x1445a
movb $0x1, 0x8(%r14)
leaq 0x28(%rbx), %r15
callq 0x54a0
movsd 0x8(%rsp), %xmm0
mulsd 0x4135(%rip), %xmm0     # 0x184d0
cvttsd2si %xmm0, %rcx
movapd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2sd %rcx, %xmm0
xorl %edx, %edx
ucomisd %xmm0, %xmm1
seta %dl
addq %rcx, %rax
addq %rdx, %rax
leaq 0x20(%rsp), %r12
movq %rax, (%r12)
movl 0x58(%rbx), %eax
testl %eax, %eax
jg 0x143e5
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x144be
cmpl $0x1, %eax
jne 0x143c4
movl 0x58(%rbx), %eax
testl %eax, %eax
jle 0x14404
decl %eax
movl %eax, 0x58(%rbx)
movb $0x1, %bl
leaq 0x10(%rsp), %rdi
callq 0x14444
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
xorl %ebx, %ebx
jmp 0x143ec
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x14444
movq %rbx, %rdi
callq 0x55e0
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/events/loop.cc
// Function: worker(asbi::evts::Loop*)
static void worker(evts::Loop* evtloop) {
	evts::Task* task = nullptr;
	while ((task = evtloop->getTask()) != nullptr) {
		task->fn([evtloop, task](std::vector<Value> *args, bool done) -> void {
			evtloop->addEvent(task, args, done);
		});

		// std::cerr << "Worker#" << std::this_thread::get_id() << " finished Task " << (void*)task << '\n';

		delete task;
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
callq 0x14e10
testq %rax, %rax
je 0x14964
movq %rax, %r14
leaq 0x744(%rip), %r12       # 0x15030
leaq 0x759(%rip), %r13       # 0x1504c
movq %rsp, %r15
movq %rbx, (%rsp)
movq %r14, 0x8(%rsp)
movq %r12, 0x18(%rsp)
movq %r13, 0x10(%rsp)
cmpq $0x0, 0x10(%r14)
je 0x14972
movq %r14, %rdi
movq %r15, %rsi
callq *0x18(%r14)
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x14931
movq %r15, %rdi
movq %r15, %rsi
movl $0x3, %edx
callq *%rax
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x14947
movq %r14, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq *%rax
movl $0x28, %esi
movq %r14, %rdi
callq 0x5390
movq %rbx, %rdi
callq 0x14e10
movq %rax, %r14
testq %rax, %rax
jne 0x148f6
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x5140
jmp 0x1499f
jmp 0x1499f
jmp 0x1497d
movq %rax, %rbx
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x14997
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rbx, %rdi
callq 0x55e0
movq %rax, %rdi
callq 0x647b
nop
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/events/loop.cc
// Function: asbi::evts::Loop::start()
void evts::Loop::start() {
	evts::Event* evt;
	while ((evt = getEvent()) != nullptr) {
		for (auto rit = evt->args.rbegin(); rit != evt->args.rend(); ++rit)
			ctx->push(*rit);

		Value::lambda(evt->callback).call(ctx, evt->args.size(), nullptr);
		delete evt;
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
callq 0x14a92
testq %rax, %rax
je 0x14a6a
movq %rax, %r15
leaq 0x10(%rsp), %r14
movq %rsp, %r12
movq 0x8(%r15), %rax
cmpq (%r15), %rax
je 0x149f5
movq (%rbx), %rdi
leaq -0x10(%rax), %r13
movl -0x10(%rax), %esi
movq -0x8(%rax), %rdx
callq 0x110dc
movq %r13, %rax
cmpq (%r15), %r13
jne 0x149da
movq 0x18(%r15), %rax
movl $0x5, 0x10(%rsp)
movq %rax, 0x18(%rsp)
movq (%rbx), %rsi
movq 0x8(%r15), %rdx
subq (%r15), %rdx
shrq $0x4, %rdx
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq %r14, %rdi
movq %r12, %rcx
callq 0xf64e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x14a35
callq 0x65d6
movq (%r15), %rdi
testq %rdi, %rdi
je 0x14a49
movq 0x10(%r15), %rsi
subq %rdi, %rsi
callq 0x5390
movl $0x28, %esi
movq %r15, %rdi
callq 0x5390
movq %rbx, %rdi
callq 0x14a92
movq %rax, %r15
testq %rax, %rax
jne 0x149d1
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x14a8a
callq 0x65d6
movq %rbx, %rdi
callq 0x55e0
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/events/loop.cc
// Function: asbi::evts::Loop::addTask(asbi::evts::Task*)
void evts::Loop::addTask(evts::Task* task) {
	std::unique_lock<std::mutex> lock(tasksMtx);
	task->callback->gc_manage = false;
	tasks.push_back(task);
	if (tasksRunning >= threads.size())
		newThread();

	tasksSem.release();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, (%rsp)
leaq 0x10(%rdi), %rax
leaq 0x8(%rsp), %r15
movq %rax, (%r15)
xorl %ebp, %ebp
movb %bpl, 0x8(%r15)
movq %r15, %rdi
callq 0x1445a
movb $0x1, 0x8(%r15)
movq 0x20(%r14), %rax
movb %bpl, 0x11(%rax)
movq 0xc8(%rbx), %rax
movq 0xd8(%rbx), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0x14da9
movq %r14, (%rax)
addq $0x8, 0xc8(%rbx)
jmp 0x14db8
leaq 0x98(%rbx), %rdi
movq %rsp, %rsi
callq 0x15bf8
movl 0x8(%rbx), %eax
movq 0x1d0(%rbx), %rcx
subq 0x1c8(%rbx), %rcx
sarq $0x3, %rcx
cmpq %rax, %rcx
ja 0x14dda
movq %rbx, %rdi
callq 0x146e4
addq $0x38, %rbx
movq %rbx, %rdi
callq 0x1426c
leaq 0x8(%rsp), %rdi
callq 0x14444
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x14444
movq %rbx, %rdi
callq 0x55e0
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/events/loop.cc
// Function: asbi::evts::Loop::getTask()
evts::Task* evts::Loop::getTask() {
	tasksSem.acquire();

	std::unique_lock<std::mutex> lock(tasksMtx);
	auto task = tasks.front();
	tasks.pop_front();
	tasksRunning++;
	return task;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
addq $0x38, %rdi
callq 0x142b0
leaq 0x10(%rbx), %rax
movq %rsp, %r14
movq %rax, (%r14)
movb $0x0, 0x8(%r14)
movq %r14, %rdi
callq 0x1445a
movb $0x1, 0x8(%r14)
leaq 0x98(%rbx), %rdi
movq 0xa8(%rbx), %rax
movq (%rax), %r15
callq 0x15196
incl 0x8(%rbx)
movq %r14, %rdi
callq 0x14444
movq %r15, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/events/loop.cc
// Function: asbi::evts::Loop::addEvent(asbi::evts::Task*, std::vector<asbi::Value, std::allocator<asbi::Value>>*, bool)
void evts::Loop::addEvent(evts::Task* task, std::vector<Value> *args, bool done) {
	auto evt = new evts::Event();
	evt->taskDone = done;
	evt->callback = task->callback;
	if (args == nullptr) {
		evt->doCall = false;
	} else {
		evt->args = *args;
		evt->doCall = true;
	}
	addEvent(evt);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movl $0x28, %edi
callq 0x5380
movq %rax, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movq $0x0, 0x20(%rax)
movb %bpl, 0x20(%rax)
movq 0x20(%r12), %rax
movq %rax, 0x18(%r14)
testq %r15, %r15
je 0x14ec3
movq %r14, %rdi
movq %r15, %rsi
callq 0x151e4
movb $0x1, %al
jmp 0x14ec5
xorl %eax, %eax
movb %al, 0x21(%r14)
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x14edc
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/events/loop.cc
// Function: asbi::evts::Loop::addEvent(asbi::evts::Event*)
void evts::Loop::addEvent(evts::Event* evt) {
	std::unique_lock<std::mutex> lock(eventsMtx);

	if (evt->taskDone) {
		std::unique_lock<std::mutex> lock(tasksMtx);
		tasksRunning--;
	}

	events.push_back(evt);
	eventsSem.release();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, 0x8(%rsp)
leaq 0xe8(%rdi), %rax
leaq 0x10(%rsp), %r15
movq %rax, (%r15)
movb $0x0, 0x8(%r15)
movq %r15, %rdi
callq 0x1445a
movb $0x1, 0x8(%r15)
cmpb $0x1, 0x20(%r14)
jne 0x14f3e
leaq 0x10(%rbx), %rax
leaq 0x20(%rsp), %rdi
movq %rax, (%rdi)
movb $0x0, 0x8(%rdi)
callq 0x1445a
leaq 0x20(%rsp), %rdi
movb $0x1, 0x8(%rdi)
decl 0x8(%rbx)
callq 0x14444
movq 0x1a0(%rbx), %rax
movq 0x1b0(%rbx), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0x14f62
movq %r14, (%rax)
addq $0x8, 0x1a0(%rbx)
jmp 0x14f73
leaq 0x170(%rbx), %rdi
leaq 0x8(%rsp), %rsi
callq 0x15cc0
addq $0x110, %rbx            # imm = 0x110
movq %rbx, %rdi
callq 0x1426c
leaq 0x10(%rsp), %rdi
callq 0x14444
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x14f98
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x14444
movq %rbx, %rdi
callq 0x55e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/events/utils.hh
// Function: asbi::evts::SortedQueue<asbi::evts::Timer, std::less<asbi::evts::Timer>>::removeFirst()
void removeFirst() {
			assert(head != nullptr);
			auto tmp = head->next;
			delete head;
			head = tmp;
		}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x1537c
movq 0x10(%rdi), %r14
movl $0x18, %esi
callq 0x5390
movq %r14, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x3237(%rip), %rdi      # 0x185ba
leaq 0x3240(%rip), %rsi      # 0x185ca
leaq 0x32bc(%rip), %rcx      # 0x1864d
movl $0x61, %edx
callq 0x5210
nop
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/events/utils.hh
// Function: asbi::evts::SortedQueue<asbi::evts::Timer, std::less<asbi::evts::Timer>>::insert(asbi::evts::Timer)
void insert(T in) {
			Comp cmp = Comp();

			/*int s1 = size();
			Node **p = &head;
			while (*p != nullptr && cmp((*p)->value, in))
				p = &((*p)->next);

			if (*p == nullptr) {
				*p = node;
			} else {
			 	node->next = (*p)->next;
				*p = node;
			}
			assert(s1 + 1 == size());*/



			Node *drag = nullptr, *curr = head;
			while (curr != nullptr && cmp(curr->value, in)) {
				drag = curr;
				curr = curr->next;
			}

			if (drag == nullptr)
				head = new Node(in, head);
			else
				drag->next = new Node(in, curr);

		}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %r15
testq %r15, %r15
movsd %xmm0, 0x8(%rsp)
je 0x153e9
ucomisd 0x8(%r15), %xmm0
jbe 0x153de
movq %r15, %r13
movq %r13, %r12
movq 0x10(%r13), %r13
testq %r13, %r13
je 0x1540a
ucomisd 0x8(%r13), %xmm0
ja 0x153c8
jmp 0x153e4
xorl %r12d, %r12d
movq %r15, %r13
testq %r12, %r12
jne 0x1540d
movl $0x18, %edi
callq 0x5380
movq %rbx, (%rax)
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x8(%rax)
movq %r15, 0x10(%rax)
movq %rax, (%r14)
jmp 0x1542e
xorl %r13d, %r13d
movl $0x18, %edi
callq 0x5380
movq %rbx, (%rax)
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x8(%rax)
movq %r13, 0x10(%rax)
movq %rax, 0x10(%r12)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/iamlouk[P]asbi/src/tests.cc
// Function: tests::test(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, asbi::Value)
void test(const std::string code, Value expected) {
		Context ctx;
		std::cout << "test(\'" << code << "\'): " << std::flush;
		Value res = ctx.run(code);
		assert(res == expected);
		std::cout << "SUCCESS\n";
	}

// Assembly:
pushq %r14
pushq %rbx
subq $0x588, %rsp            # imm = 0x588
movq %rdi, %rbx
movl %esi, (%rsp)
movq %rdx, 0x8(%rsp)
leaq 0x20(%rsp), %rdi
callq 0x10cba
movq 0xb0c6(%rip), %rdi      # 0x20fc0
leaq 0x2838(%rip), %rsi      # 0x18739
movl $0x6, %edx
callq 0x5400
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0xb0a7(%rip), %rdi      # 0x20fc0
callq 0x5400
movq %rax, %r14
leaq 0x2818(%rip), %rsi      # 0x18740
movl $0x4, %edx
movq %rax, %rdi
callq 0x5400
movq %r14, %rdi
callq 0x5240
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq 0x11166
leaq 0x10(%rsp), %rdi
movl %eax, (%rdi)
movq %rdx, 0x8(%rdi)
movq %rsp, %rsi
callq 0xf8a8
testb %al, %al
je 0x15f8e
movq 0xb058(%rip), %rdi      # 0x20fc0
leaq 0x281a(%rip), %rsi      # 0x18789
movl $0x8, %edx
callq 0x5400
leaq 0x20(%rsp), %rdi
callq 0x10f66
addq $0x588, %rsp            # imm = 0x588
popq %rbx
popq %r14
retq
leaq 0x27b0(%rip), %rdi      # 0x18745
leaq 0x27b9(%rip), %rsi      # 0x18755
leaq 0x27bb(%rip), %rcx      # 0x1875e
movl $0x17, %edx
callq 0x5210
jmp 0x15faf
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x10f66
movq %rbx, %rdi
callq 0x55e0
// File: /workspace/github_cpp_makefile_star2_O3/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 0x37d1
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 0x384e
movq %r12, %rdi
movq %r14, %rsi
callq 0x3998
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x37c9
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3260
incq %r15
cmpq %r15, %r13
jne 0x3795
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x3c20
leaq -0x50(%rbp), %rdi
callq 0x4bf6
movl %eax, %ebx
leaq -0x50(%rbp), %rdi
callq 0x4b9c
leaq -0x70(%rbp), %rdi
callq 0x388c
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 0x4b9c
jmp 0x383d
jmp 0x381c
movq %rax, %rbx
jmp 0x383d
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x383d
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x3260
leaq -0x70(%rbp), %rdi
callq 0x388c
movq %rbx, %rdi
callq 0x3430
// File: /workspace/github_cpp_makefile_star2_O3/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)
movb (%rdi), %al
cmpb $0x1, %al
jne 0x4ca7
movq %rdi, %rbx
leaq -0x60(%rbp), %r14
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x4c52
movq (%rdi), %rax
movq %r14, %rsi
callq *0x10(%rax)
testb %al, %al
je 0x4c8f
movb (%rbx), %al
testb $0x1, %al
je 0x4c6e
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x4c6e
movq (%rdi), %rax
movq %r14, %rsi
callq *0x10(%rax)
testb %al, %al
je 0x4c8f
movb (%rbx), %al
testb $0x1, %al
je 0x4c89
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x4c89
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
testb %al, %al
je 0x4c8f
movb (%rbx), %al
testb $0x1, %al
jne 0x4c3a
jmp 0x4c92
movb $0x0, (%rbx)
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x4ca7
movq -0x38(%rbp), %rsi
subq %rdi, %rsi
callq 0x3260
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x4cbc
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 0x5ad0
movq %rbx, %rdi
callq 0x3430
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x6d17(%rip), %rax      # 0xcb78
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 0x5f3a
movq 0x70f9(%rip), %r15      # 0xcff0
leaq 0x352e(%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 0x70c7(%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 0x5f4c
movq %rax, %r15
addq $0x38, %rbx
movq %rbx, %rdi
callq 0x5ad0
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x5f6f
movq (%r12), %rsi
incq %rsi
callq 0x3260
movq %r15, %rdi
callq 0x3430
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x68bb(%rip), %rax      # 0xcba8
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 0x6394
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 0x6378
movq %rax, %r14
movq %r15, %rdi
callq 0x3070
movq (%rbx), %rdi
cmpq %r13, %rdi
je 0x638c
movq (%r13), %rsi
incq %rsi
callq 0x3260
movq %r14, %rdi
callq 0x3430
// File: /workspace/github_cpp_makefile_star2_O3/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 0x6426
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)
movq -0x48(%rbp), %rdi
je 0x6406
cmpb $0x21, (%rdi)
setne %r13b
jmp 0x6409
xorl %r13d, %r13d
cmpq %r12, %rdi
je 0x641a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3260
testb %r13b, %r13b
jne 0x63b4
movq (%r14), %rax
movq -0x18(%rax), %rcx
cmpl $0x0, 0x20(%r14,%rcx)
je 0x6478
movq 0x6bbb(%rip), %r14      # 0xcff0
leaq 0x302e(%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)
xorl %eax, %eax
jmp 0x647b
movb 0x8(%rbx), %al
andb $0x1, %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 0x64a4
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3260
movq %rbx, %rdi
callq 0x3430
// File: /workspace/github_cpp_makefile_star2_O3/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 0x7f6e
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 0x1747(%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 0x1718(%rip), %rsi      # 0x96f2
movl $0x1, %edx
movq %rax, %rdi
callq 0x32a0
movq %r13, %rdi
movq %r12, %rsi
callq 0x3220
leaq 0x1227(%rip), %rsi      # 0x9220
movl $0x1, %edx
movq %rax, %rdi
callq 0x32a0
movl 0x238(%rbx), %eax
cmpl $0x1, %eax
je 0x8075
testl %eax, %eax
jne 0x80d6
movq %r15, %rax
movq 0x18(%r15), %r15
movq 0x20(%rax), %r12
cmpq %r12, %r15
je 0x80d6
movl (%r15), %esi
movq %r14, %rdi
callq 0x3420
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x16a8(%rip), %rsi      # 0x96f2
callq 0x32a0
movl 0x4(%r15), %esi
movq %r13, %rdi
callq 0x3420
movl $0x1, %edx
movq %rax, %rdi
leaq 0x11b6(%rip), %rsi      # 0x9220
callq 0x32a0
addq $0x8, %r15
jmp 0x8024
movq %r15, %rax
movq (%r15), %r15
movq 0x8(%rax), %r12
cmpq %r12, %r15
je 0x80d6
xorps %xmm0, %xmm0
cvtss2sd (%r15), %xmm0
movq %r14, %rdi
callq 0x33b0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x164c(%rip), %rsi      # 0x96f2
callq 0x32a0
xorps %xmm0, %xmm0
cvtss2sd 0x4(%r15), %xmm0
movq %r13, %rdi
callq 0x33b0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1155(%rip), %rsi      # 0x9220
callq 0x32a0
addq $0x8, %r15
jmp 0x807f
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_O3/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 0x4b61(%rip), %r15      # 0xcfd0
leaq 0x1383(%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 0x854e
movq (%rbx), %r12
movq 0x8(%rbx), %r13
cmpq %r13, %r12
je 0x854e
movq 0x4af2(%rip), %rbx      # 0xcfd0
leaq 0x1315(%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 0x84e5
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_O3/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, 0x5f157(%rip)     # 0x6d200
movq %rdi, %r14
movl $0xc8, %edi
cmoveq %rax, %rdi
movl $0x1, %esi
callq 0x92c0
movq %rax, %rbx
leaq 0x44bf0(%rip), %rsi     # 0x52cb9
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 0xe0ef
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_O3/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 0x11fc1
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 0x1c39a
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x11f74
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 0x11f39
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 0x11fef
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x94c0
movq %rbx, %rdi
callq 0x9930
// File: /workspace/github_cpp_makefile_star2_O3/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 0x15c25
movslq %r14d, %rcx
cmpq %rcx, %rax
jl 0x15c25
movl %ebp, %ecx
cmpq %rcx, %rax
jg 0x15c25
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x543c4(%rip), %r14     # 0x69ff0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9490
movq %rax, %rdi
callq 0x91f0
movq %r14, %rdi
callq 0x107fc
movl $0x4, %edi
callq 0x9200
movl $0x1, (%rax)
movq 0x542da(%rip), %rsi     # 0x69f38
movq %rax, %rdi
xorl %edx, %edx
callq 0x98f0
// File: /workspace/github_cpp_makefile_star2_O3/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 0x15f30
movq %r14, %rdi
movl $0x1ed, %esi            # imm = 0x1ED
callq 0x91d0
xorl %eax, %eax
cmpb $0x0, 0x572c7(%rip)     # 0x6d200
movl $0xc8, %edi
cmoveq %rax, %rdi
movl $0x1, %esi
callq 0x92c0
movq %rax, %r15
leaq 0x3cd63(%rip), %rsi     # 0x52cb9
movq %rax, %rdi
movq %r14, %rdx
movl %ebx, %ecx
xorl %eax, %eax
callq 0x90d0
leaq 0x3c5c4(%rip), %rsi     # 0x52530
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_O3/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 0x54b15(%rip), %ebx     # 0x6d294
cmpl 0x54b07(%rip), %ebx     # 0x6d28c
jle 0x18888
movl %edi, %ebp
movl %esi, 0x10(%rsp)
xorl %eax, %eax
cmpb $0x0, 0x54a66(%rip)     # 0x6d200
movq 0x548e7(%rip), %r15     # 0x6d088
movl $0xc8, %edi
cmoveq %rax, %rdi
movl $0x1, %esi
callq 0x92c0
movq %rax, %r14
movq %r15, %rdi
callq 0x9740
testq %rax, %rax
je 0x18899
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 0x1883c
movq %rax, %r12
cmpb $0x2e, 0x13(%rax)
je 0x187d9
addq $0x13, %r12
movq %r12, %rdi
callq 0x97b0
movl %eax, %r13d
movq %r14, %rdi
leaq 0x3d9a3(%rip), %rsi     # 0x561ab
movq %r12, %rdx
xorl %eax, %eax
callq 0x90d0
movl %r13d, %edi
xorl %esi, %esi
callq 0x96a0
testl %eax, %eax
jne 0x187d9
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 0x187d9
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 0x18888
imull 0x10(%rsp), %r15d
addl %ebx, %r15d
subl 0x54a19(%rip), %r15d    # 0x6d28c
cvtsi2ss %r15d, %xmm0
cvttss2si %xmm0, %ebx
callq 0x9120
testl %ebx, %ebx
setg %al
jmp 0x1888a
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3ed97(%rip), %rdi     # 0x57637
callq 0x93e0
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
movl $0x1, %r15d
jmp 0x18856
// File: /workspace/github_cpp_makefile_star2_O3/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 0x5498c(%rip), %bpl     # 0x6d250
cmpb $0x0, 0x549e2(%rip)     # 0x6d2ad
je 0x18909
movl $0x28, %edi
callq 0x94b0
testb $0x1, %bpl
je 0x18942
movl 0x549c5(%rip), %ecx     # 0x6d2a8
movl 0x54a37(%rip), %edx     # 0x6d320
leaq 0x50550(%rip), %rsi     # 0x68e40
movq %rsi, (%rax)
movq %r14, 0x8(%rax)
movl $0x7fffffff, 0x10(%rax) # imm = 0x7FFFFFFF
movl %ecx, 0x14(%rax)
movl %edx, 0x18(%rax)
jmp 0x18990
testb $0x1, %bpl
je 0x1895d
movl $0x20, %edi
callq 0x94b0
movl 0x54989(%rip), %ecx     # 0x6d2a8
movl 0x549fb(%rip), %edx     # 0x6d320
leaq 0x5043c(%rip), %rsi     # 0x68d68
movq %rsi, (%rax)
movq %r14, 0x8(%rax)
movl %ecx, 0x10(%rax)
movl %edx, 0x14(%rax)
movq %rax, %rcx
addq $0x18, %rcx
jmp 0x18997
movl 0x5495c(%rip), %ecx     # 0x6d2a4
movl 0x5495a(%rip), %edx     # 0x6d2a8
movl 0x549cc(%rip), %esi     # 0x6d320
leaq 0x504e5(%rip), %rdi     # 0x68e40
jmp 0x18980
movl $0x28, %edi
callq 0x94b0
movl 0x54937(%rip), %ecx     # 0x6d2a4
movl 0x54935(%rip), %edx     # 0x6d2a8
movl 0x549a7(%rip), %esi     # 0x6d320
leaq 0x50280(%rip), %rdi     # 0x68c00
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_O3/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 0x1af66
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 0x1d8cb
movq %r12, %rdi
movq %r15, %rsi
callq 0x1c39a
jmp 0x1d8a3
movq 0x4c6be(%rip), %rsi     # 0x69f90
leaq 0x60(%rsp), %rdi
callq 0x96c0
leaq 0xd8(%rsp), %rdi
callq 0x9180
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x1d900
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x94c0
movq 0x8(%rsp), %rax
movq (%rax), %rdi
callq 0x1dad5
movq %rax, %rbx
movq 0x8(%rsp), %rax
movq 0x20(%rax), %rdi
callq 0x1dad5
movq %rax, %r14
movq %rsp, %rdi
callq 0x1fc3c
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1d944
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 0x1d986
movq %rax, %rbx
jmp 0x1d99d
movq %rax, %rbx
movq 0x4c621(%rip), %rsi     # 0x69f90
leaq 0x60(%rsp), %rdi
callq 0x96c0
leaq 0xd8(%rsp), %rdi
callq 0x9180
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x1d99d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x94c0
movq %rsp, %rdi
callq 0x1fc3c
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1d9c0
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x94c0
movq %rbx, %rdi
callq 0x9930