LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/medvedevgroup[P]varmatch/src/./diploidvariant.h
// Function: DiploidVariant::DiploidVariant(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, bool, bool, int, int, bool, double, bool)
DiploidVariant(int pos_ = -1,
        string ref_ = "",
        vector<string> alts_ = {"",""},
        bool heterozygous_ = false,
        bool multi_alts_ = false,
        int mdl_ = 0,
        int mil_ = 0,
        bool flag_ = false,
        double qual_ = 0.0,
        bool zero_one_var_ = false) :
        pos(pos_),
        ref(ref_),
        alts(alts_),
        heterozygous(heterozygous_),
        multi_alts(multi_alts_),
        mdl(mdl_),
        mil(mil_),
        flag(flag_),
        qual(qual_),
        zero_one_var(zero_one_var_){}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movsd %xmm0, (%rsp)
movl %r9d, %ebp
movl %r8d, %r14d
movq %rcx, %r12
movq %rdi, %rbx
movl %esi, (%rdi)
leaq 0x8(%rdi), %r15
leaq 0x18(%rdi), %r13
movq %r13, 0x8(%rdi)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x112ce
leaq 0x28(%rbx), %rdi
movq %r12, %rsi
callq 0x289ec
movb 0x58(%rsp), %al
movb 0x50(%rsp), %cl
movl 0x48(%rsp), %edx
movl 0x40(%rsp), %esi
movb %r14b, 0x40(%rbx)
movb %bpl, 0x41(%rbx)
movb %al, 0x42(%rbx)
movl %esi, 0x44(%rbx)
movl %edx, 0x48(%rbx)
movb %cl, 0x4c(%rbx)
movsd (%rsp), %xmm0
movsd %xmm0, 0x50(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x28b12
movq (%r13), %rsi
incq %rsi
callq 0x5340
movq %rbx, %rdi
callq 0x55c0
// File: /workspace/github_cpp_makefile_star2_O1/medvedevgroup[P]varmatch/src/./wholegenome.h
// Function: WholeGenome::merge(std::vector<Interval, std::allocator<Interval>>&)
vector<Interval> merge(vector<Interval> &intervals) {
        sort(intervals.begin(),intervals.end(),compInterval());
        vector<Interval> results;
        for(int i=0; i<intervals.size(); i++) {
            if(results.empty() || results.back().end < intervals[i].start)  // no overlap
                results.push_back(intervals[i]);
            else   // overlap
                results.back().end = max(results.back().end, intervals[i].end);
        }
        return results;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdx), %r15
movq 0x8(%rdx), %r12
cmpq %r12, %r15
je 0x291ad
movq %r12, %rax
subq %r15, %rax
sarq $0x3, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x29ef3
movq %r15, %rdi
movq %r12, %rsi
callq 0x29ff0
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
movq (%r14), %rdx
cmpq %rdx, 0x8(%r14)
je 0x2922c
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x8(%rbx), %rsi
cmpq %rsi, (%rbx)
je 0x291dc
movl -0x4(%rsi), %eax
cmpl (%rdx,%r15), %eax
jge 0x291f2
addq %r15, %rdx
cmpq 0x10(%rbx), %rsi
je 0x2920a
movq (%rdx), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x29212
addq $-0x4, %rsi
leaq (%rdx,%r15), %rcx
addq $0x4, %rcx
cmpl (%rcx), %eax
cmovgeq %rsi, %rcx
movl (%rcx), %eax
movl %eax, (%rsi)
jmp 0x29212
movq %rbx, %rdi
callq 0x2a29a
incq %r12
movq (%r14), %rdx
movq 0x8(%r14), %rax
subq %rdx, %rax
sarq $0x3, %rax
addq $0x8, %r15
cmpq %r12, %rax
ja 0x291ca
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29252
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x5340
movq %r14, %rdi
callq 0x55c0
// File: /workspace/github_cpp_makefile_star2_O1/medvedevgroup[P]varmatch/src/./diploidvariant.h
// Function: DiploidVariant::CompareNoGenotype(DiploidVariant const&)
bool CompareNoGenotype(const DiploidVariant & y){
        if(pos == y.pos && ref == y.ref){
            if(alts[0] == y.alts[0]) return true;
            if(multi_alts){
                if(alts[1] == y.alts[0]) return true;
                if(y.multi_alts && alts[1] == y.alts[1]){
                    return true;
                }
            }
            if(y.multi_alts && alts[0] == y.alts[1]){
                return true;
            }
        }
        return false;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl (%rdi), %eax
cmpl (%rsi), %eax
jne 0x29cfa
movq %rsi, %rbx
movq %rdi, %r14
movq 0x10(%rdi), %rdx
cmpq 0x10(%rsi), %rdx
jne 0x29cfa
testq %rdx, %rdx
je 0x29c4f
movq 0x8(%rbx), %rsi
movq 0x8(%r14), %rdi
callq 0x5350
testl %eax, %eax
jne 0x29cfa
movq 0x28(%r14), %r12
movq 0x28(%rbx), %r15
movq 0x8(%r12), %rdx
movq 0x8(%r15), %r13
cmpq %r13, %rdx
jne 0x29c81
movb $0x1, %bpl
testq %rdx, %rdx
je 0x29cfc
movq (%r15), %rsi
movq (%r12), %rdi
callq 0x5350
testl %eax, %eax
je 0x29cfc
cmpb $0x1, 0x41(%r14)
jne 0x29cca
movq 0x28(%r12), %rdx
addq $0x20, %r12
cmpq %r13, %rdx
jne 0x29cae
movb $0x1, %bpl
testq %rdx, %rdx
je 0x29cfc
movq (%r15), %rsi
movq (%r12), %rdi
callq 0x5350
testl %eax, %eax
je 0x29cfc
cmpb $0x1, 0x41(%rbx)
jne 0x29cca
addq $0x20, %r15
movq %r12, %rdi
movq %r15, %rsi
callq 0x29330
movb $0x1, %bpl
testb %al, %al
jne 0x29cfc
cmpb $0x1, 0x41(%rbx)
jne 0x29cfa
movq 0x28(%r14), %rax
movq 0x28(%rbx), %rcx
movq 0x8(%rax), %rdx
cmpq 0x28(%rcx), %rdx
jne 0x29cfa
movb $0x1, %bpl
testq %rdx, %rdx
je 0x29cfc
movq 0x20(%rcx), %rsi
movq (%rax), %rdi
callq 0x5350
testl %eax, %eax
je 0x29cfc
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/medvedevgroup[P]varmatch/src/util.cpp
// Function: split(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, char, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
std::vector<std::string> &split(const std::string &s, char delim, std::vector<std::string> &elems) {
	std::stringstream ss(s);
	std::string item;
	while (std::getline(ss, item, delim)) {
		if (!item.empty()) {
			elems.push_back(item);
		}
	}
	return elems;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %rsi
leaq 0x28(%rsp), %r14
movq %r14, %rdi
movl $0x18, %edx
callq 0x54f0
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
movsbl %bpl, %ebp
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x5600
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2f3e6
cmpq $0x0, 0x10(%rsp)
je 0x2f3b6
movq %rbx, %rdi
movq %r15, %rsi
callq 0x10ca6
jmp 0x2f3b6
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2f3fd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0xcb8c(%rip), %rsi      # 0x3bf90
leaq 0x28(%rsp), %rdi
callq 0x5280
leaq 0xa8(%rsp), %rdi
callq 0x5100
movq %rbx, %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2f448
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0xcb41(%rip), %rsi      # 0x3bf90
leaq 0x28(%rsp), %rdi
callq 0x5280
leaq 0xa8(%rsp), %rdi
callq 0x5100
movq %rbx, %rdi
callq 0x55c0
// File: /workspace/github_cpp_makefile_star2_O1/shangjingbo1226[P]MACFP/src/methods/../utils/helper.h
// Function: makeMaximal(std::vector<std::pair<int, int>, std::allocator<std::pair<int, int>>>&)
vector<PII> makeMaximal(vector<PII> &maximal)
{
    sort(maximal.begin(), maximal.end(), bySecond);
    maximal.erase(unique(maximal.begin(), maximal.end()), maximal.end());
    vector<PII> ret;
    int maxi = -1;
    for (size_t i = 0; i < maximal.size(); ++ i) {
        if (maximal[i].first <= maxi) {
            continue;
        }
        ret.push_back(maximal[i]);
        maxi = maximal[i].second;
    }
    return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %r15
movq 0x8(%rsi), %r12
cmpq %r12, %r15
je 0x282a
movq %r12, %rax
subq %r15, %rax
sarq $0x3, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
leaq -0x52(%rip), %r13       # 0x27bc
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rcx
callq 0x7954
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x7a91
movq (%r14), %rdi
movq 0x8(%r14), %rsi
callq 0x7e96
movq 0x8(%r14), %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0x7f04
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x28ab
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r15d, %r15d
cmpl %ecx, (%rax,%r15,8)
jle 0x2895
leaq (%rax,%r15,8), %rdx
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x2885
movq (%rdx), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x288d
movq %rbx, %rdi
callq 0x7f56
movq (%r14), %rax
movl 0x4(%rax,%r15,8), %ecx
incq %r15
movq (%r14), %rax
movq 0x8(%r14), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %rdx, %r15
jb 0x2864
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x28cf
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x21f0
movq %r14, %rdi
callq 0x2330
// File: /workspace/github_cpp_makefile_star2_O1/shangjingbo1226[P]MACFP/src/methods/../utils/helper.h
// Function: writeBinary(_IO_FILE*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void writeBinary(FILE* out, const string &s)
{
	int n = s.size();
	fwrite(&n, sizeof(n), 1, out);
	if (n > 0) {
		fwrite(&s[0], sizeof(s[0]), n, out);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl 0x8(%rsi), %eax
leaq 0xc(%rsp), %r15
movl %eax, (%r15)
movl $0x4, %esi
movl $0x1, %edx
movq %r15, %rdi
movq %rbx, %rcx
callq 0x2360
movslq (%r15), %rdx
testq %rdx, %rdx
jle 0x299e
movq (%r14), %rdi
movl $0x1, %esi
movq %rbx, %rcx
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
jmp 0x2360
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/shangjingbo1226[P]MACFP/src/methods/../utils/helper.h
// Function: readBinary(_IO_FILE*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void readBinary(FILE* in, string &s)
{
	int n;
	fread(&n, sizeof(n), 1, in);
	s.resize(n);
	if (n > 0) {
		fread(&s[0], sizeof(s[0]), n, in);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xc(%rsp), %r15
movl $0x4, %esi
movl $0x1, %edx
movq %r15, %rdi
movq %rbx, %rcx
callq 0x22a0
movslq (%r15), %r15
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x2090
testq %r15, %r15
jle 0x2a02
movq (%r14), %rdi
movl $0x1, %esi
movq %r15, %rdx
movq %rbx, %rcx
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
jmp 0x22a0
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/shangjingbo1226[P]MACFP/src/methods/../utils/helper.h
// Function: getLine(_IO_FILE*)
bool getLine(FILE* in)
{
	bool ret = fgets(line, maxlength, in);
	int len = strlen(line);
	while (len > 0 && (line[len - 1] == '\n' || line[len - 1] == '\r')) {
		line[len - 1] = 0;
		-- len;
	}
	return ret;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rdx
leaq 0xb7e6(%rip), %rbx      # 0xe200
movq %rbx, %rdi
movl $0x5f5e100, %esi        # imm = 0x5F5E100
callq 0x22e0
movq %rax, %r14
movq %rbx, %rdi
callq 0x20d0
testl %eax, %eax
jle 0x2a5b
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
incq %rax
movzbl -0x2(%rax,%rbx), %ecx
cmpl $0xd, %ecx
je 0x2a4d
cmpl $0xa, %ecx
jne 0x2a5b
movb $0x0, -0x2(%rax,%rbx)
decq %rax
cmpq $0x1, %rax
jg 0x2a3e
testq %r14, %r14
setne %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/shangjingbo1226[P]MACFP/src/methods/../utils/helper.h
// Function: tryOpen(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
FILE* tryOpen(string filename, string param)
{
	FILE* ret = fopen(filename.c_str(), param.c_str());
	if (ret == NULL) {
		fprintf(stderr, "error while opening %s\n", filename.c_str());
	}
	return ret;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
movq (%rsi), %rsi
callq 0x2220
movq %rax, %r14
testq %rax, %rax
je 0x2a8e
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rdi
callq 0x2380
jmp 0x2a83
// File: /workspace/github_cpp_makefile_star2_O1/shangjingbo1226[P]MACFP/src/methods/../utils/helper.h
// Function: splitBy(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, char)
vector<string> splitBy(const string &line, char comma)
{
	vector<string> tokens;
	string token = "";
	bool inside = false;
	for (size_t i = 0; i < line.size(); ++ i) {
		if (line[i] == '"') {
			inside ^= 1;
		} else if (line[i] == comma && !inside) {
			tokens.push_back(token);
			token = "";
		} else {
			token += line[i];
		}
	}
	tokens.push_back(token);
	return tokens;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x76bd(%rip), %rdx      # 0xa189
leaq 0x8(%rsp), %rdi
movq %rdx, %rsi
callq 0x809c
cmpq $0x0, 0x8(%r14)
je 0x2b41
xorl %r13d, %r13d
leaq 0x8(%rsp), %r15
xorl %r12d, %r12d
movq (%r14), %rax
movb (%rax,%r13), %al
cmpb $0x22, %al
jne 0x2afc
xorb $0x1, %r12b
jmp 0x2b38
cmpb %bpl, %al
jne 0x2b07
testb $0x1, %r12b
je 0x2b14
movsbl %al, %esi
movq %r15, %rdi
callq 0x2190
jmp 0x2b38
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5598
movq 0x10(%rsp), %rdx
movq %r15, %rdi
xorl %esi, %esi
leaq 0x7659(%rip), %rcx      # 0xa189
xorl %r8d, %r8d
callq 0x22c0
incq %r13
cmpq 0x8(%r14), %r13
jb 0x2aeb
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x5598
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2b6a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2b83
movq %rax, %r14
jmp 0x2ba2
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2ba2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x55d6
movq %r14, %rdi
callq 0x2330
// File: /workspace/github_cpp_makefile_star2_O1/shangjingbo1226[P]MACFP/src/methods/../config/dna.h
// Function: loadDNASequence[abi:cxx11]()
string loadDNASequence()
{
    FILE* in = tryOpen(DNA_FILENAME, "r");
    string dna = "";
    while (getLine(in)) {
        for (size_t i = 0; line[i]; ++ i) {
            line[i] = tolower(line[i]);
            myAssert(alphabet.find(line[i]) != -1, "Unknown Character: " + line[i]);
        }
        dna += line;
    }
    fclose(in);
    return dna;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, (%rsp)
leaq 0x48(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x5f694ef(%rip), %rsi   # 0x5f6c308
movq 0x5f694f0(%rip), %rdx   # 0x5f6c310
addq %rsi, %rdx
leaq 0x38(%rsp), %rdi
callq 0x78c4
leaq 0x68(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x72ac(%rip), %rsi      # 0xa0e9
leaq 0x72a6(%rip), %rdx      # 0xa0ea
leaq 0x58(%rsp), %rdi
callq 0x809c
leaq 0x38(%rsp), %rdi
leaq 0x58(%rsp), %r15
movq %r15, %rsi
callq 0x2a69
movq %rax, 0x10(%rsp)
movq (%r15), %rdi
cmpq %rbx, %rdi
je 0x2e7a
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x21f0
movq 0x38(%rsp), %rdi
cmpq %r14, %rdi
je 0x2e91
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x21f0
movq (%rsp), %rdi
leaq 0x10(%rdi), %rax
movq %rax, 0x8(%rsp)
movq %rax, (%rdi)
leaq 0x72e1(%rip), %rdx      # 0xa189
movq %rdx, %rsi
callq 0x809c
leaq 0x28(%rsp), %r14
leaq 0x71e9(%rip), %r15      # 0xa0a5
leaq 0x18(%rsp), %r13
movq 0x10(%rsp), %rdi
callq 0x2a0c
testb %al, %al
je 0x2f76
movb 0xb327(%rip), %al       # 0xe200
testb %al, %al
je 0x2f61
leaq 0xb318(%rip), %r12      # 0xe200
movsbl %al, %edi
callq 0x2280
movb %al, (%r12)
movsbl %al, %esi
leaq 0x5f6944a(%rip), %rdi   # 0x5f6c348
xorl %edx, %edx
callq 0x2250
movq %rax, %rbp
movsbq (%r12), %rbx
addq %r15, %rbx
movq %r14, 0x18(%rsp)
movq %rbx, %rdi
callq 0x20d0
leaq (%rax,%rbx), %rdx
movq %r13, %rdi
movq %rbx, %rsi
callq 0x809c
xorl %edi, %edi
cmpq $-0x1, %rbp
setne %dil
movq %r13, %rsi
callq 0x28d7
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x2f55
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x21f0
movb 0x1(%r12), %al
incq %r12
testb %al, %al
jne 0x2ee8
movq (%rsp), %rdi
leaq 0xb294(%rip), %rsi      # 0xe200
callq 0x2350
jmp 0x2ec1
movq 0x10(%rsp), %rdi
callq 0x21d0
movq (%rsp), %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x38(%rsp), %rdi
jmp 0x2fcf
jmp 0x2f9f
movq %rax, %rbx
movq 0x8(%rsp), %r14
jmp 0x2fc8
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
movq 0x8(%rsp), %r14
je 0x2fc8
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x21f0
movq (%rsp), %rax
movq (%rax), %rdi
cmpq %r14, %rdi
je 0x2fdf
movq (%r14), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2330
// File: /workspace/github_cpp_makefile_star2_O1/shangjingbo1226[P]MACFP/src/methods/MACFP.cpp
// Function: getOccurrence(int, int)
vector<int> getOccurrence(int i, int j)
{
    vector<int> ret(1, i);
    int ptr = s->sa->rank[i];
    myAssert(s->sa->sa[ptr] == i, "Wrong SA rank");
    int length = j - i + 1;
    while (ptr > 0 && s->sa->height[ptr] >= length) {
        -- ptr;
        ret.push_back(s->sa->sa[ptr]);
    }
    ptr = s->sa->rank[i];
    while (ptr + 1 < s->size() && s->sa->height[ptr + 1] >= length) {
        ++ ptr;
        ret.push_back(s->sa->sa[ptr]);
    }
    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl $0x4, %edi
callq 0x21e0
movq %rax, (%rbx)
movq %rax, 0x8(%rbx)
leaq 0x4(%rax), %rcx
movq %rcx, 0x10(%rbx)
movl %r14d, (%rax)
movq %rcx, 0x8(%rbx)
movq 0x5f69336(%rip), %rax   # 0x5f6c368
movq 0x20(%rax), %rax
movslq %r14d, %rdx
movq 0x28(%rax), %rcx
movq 0xa0(%rax), %rax
movq %rdx, (%rsp)
movq (%rax,%rdx,8), %r12
movslq %r12d, %rax
movl (%rcx,%rax,4), %r15d
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x7056(%rip), %rsi      # 0xa0b9
leaq 0x705c(%rip), %rdx      # 0xa0c6
leaq 0x8(%rsp), %rdi
callq 0x809c
xorl %edi, %edi
cmpl %r14d, %r15d
sete %dil
leaq 0x8(%rsp), %rsi
callq 0x28d7
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x309e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
subl %r14d, %ebp
incl %ebp
movslq %ebp, %r14
testl %r12d, %r12d
jle 0x3107
leal -0x1(%r12), %r13d
shlq $0x2, %r13
movq 0x5f692ad(%rip), %rax   # 0x5f6c368
movq 0x20(%rax), %rax
movl %r12d, %ecx
movq 0xb8(%rax), %rdx
cmpq %r14, (%rdx,%rcx,8)
jl 0x3107
movq 0x28(%rax), %rdx
addq %r13, %rdx
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x30ee
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x30f6
movq %rbx, %rdi
callq 0x8370
decl %r12d
leal 0x1(%r12), %eax
addq $-0x4, %r13
cmpl $0x1, %eax
jg 0x30b4
movq 0x5f6925a(%rip), %rax   # 0x5f6c368
movq 0x20(%rax), %rcx
movq 0xa0(%rcx), %rcx
movq (%rsp), %rdx
movl (%rcx,%rdx,8), %ecx
incl %ecx
movslq %ecx, %r15
cmpq %r15, 0x8(%rax)
jbe 0x317f
leaq (,%r15,4), %r12
movq 0x20(%rax), %rax
movq 0xb8(%rax), %rcx
cmpq %r14, (%rcx,%r12,2)
jl 0x317f
movq 0x28(%rax), %rdx
addq %r12, %rdx
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x3163
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x316b
movq %rbx, %rdi
callq 0x8370
incq %r15
movq 0x5f691f3(%rip), %rax   # 0x5f6c368
addq $0x4, %r12
cmpq %r15, 0x8(%rax)
ja 0x3133
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x31b4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
jmp 0x31b4
jmp 0x31b1
jmp 0x31b1
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x31c8
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x21f0
movq %r14, %rdi
callq 0x2330
// File: /workspace/github_cpp_makefile_star2_O1/shangjingbo1226[P]MACFP/src/methods/MACFP.cpp
// Function: checkSmallPatch(int, int)
vector<PII> checkSmallPatch(int l, int r)
{
    int length = r - l + 1;
    //myAssert(length <= SMALL_PATCH, "only for small patch!");
    vector<PII> ret(1, make_pair(l, r));
    enumerateEdit(l, 0, l, r, 1, s->size(), EDIT_DIS_THRES, ret);
    return makeMaximal(ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movl %edx, %r14d
movl %esi, %ebp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %r15
movaps %xmm0, (%r15)
movq $0x0, 0x10(%r15)
movl $0x8, %edi
callq 0x21e0
movq %rax, (%r15)
movq %rax, 0x8(%r15)
leaq 0x8(%rax), %rcx
movq %rcx, 0x10(%r15)
movq %r14, %rdx
shlq $0x20, %rdx
movl %ebp, %esi
orq %rdx, %rsi
movq %rsi, (%rax)
movq %rcx, 0x8(%r15)
movq 0x5f6789b(%rip), %rax   # 0x5f6c368
movl 0x8(%rax), %r9d
movl 0x96f9(%rip), %eax      # 0xe1d0
movl %ebp, %edi
xorl %esi, %esi
movl %ebp, %edx
movl %r14d, %ecx
movl $0x1, %r8d
pushq %r15
pushq %rax
callq 0x4543
addq $0x10, %rsp
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x27d5
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x4b13
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x21f0
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x4b3a
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2330
// File: /workspace/github_cpp_makefile_star2_O1/shangjingbo1226[P]MACFP/src/methods/../utils/suffix_array.h
// Function: SuffixArray::lcp(long long, long long)
long long lcp(long long i, long long j) {
        long long ret = 0;
        if (i == j) {
            ret = n - 1 - i;
        } else {
            long long l = rank[i], r = rank[j];
            if (l > r) {
                swap(l, r);
            }
            l += 1;
            ret = getMin(0, n - 1, l, r);
        }
        return ret;
    }

// Assembly:
cmpq %rdx, %rsi
jne 0x5793
notq %rsi
addq (%rdi), %rsi
movq %rsi, %rax
retq
movq 0xa0(%rdi), %rax
movq (%rax,%rsi,8), %rsi
movq (%rax,%rdx,8), %r8
cmpq %r8, %rsi
movq %r8, %rcx
cmovlq %rsi, %rcx
cmovgq %rsi, %r8
movq (%rdi), %rdx
incq %rcx
decq %rdx
xorl %esi, %esi
jmp 0x5f4a
// File: /workspace/github_cpp_makefile_star2_O1/shangjingbo1226[P]MACFP/src/methods/../utils/suffix_array.h
// Function: SuffixArray::getMin(long long, long long, long long, long long)
long long getMin(long long l, long long r, long long ll, long long rr) {
        if (r < ll || l > rr) {
            return INF_LL;
        }
        if (ll <= l && r <= rr) {
            return segment_tree[ID(l, r)];
        }
        long long mid = l + r >> 1;
        return min(getMin(l, mid, ll, rr), getMin(mid + 1, r, ll, rr));
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %r15
movq %rdi, %r14
movabsq $0x7fffffffffffffff, %rbx # imm = 0x7FFFFFFFFFFFFFFF
cmpq %r13, %r15
jl 0x5fac
cmpq %r12, %rsi
jg 0x5fac
cmpq %rsi, %r13
setg %al
cmpq %r12, %r15
setg %cl
orb %al, %cl
je 0x5fb8
leaq (%r15,%rsi), %rbp
sarq %rbp
movq %r14, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq %r12, %r8
callq 0x5f4a
incq %rbp
cmpq %rax, %rbx
cmovgeq %rax, %rbx
movq %rbp, %rsi
jmp 0x5f6b
movabsq $0xde0b6b3a7640000, %rax # imm = 0xDE0B6B3A7640000
jmp 0x5fd2
leaq (%r15,%rsi), %rax
xorl %ecx, %ecx
cmpq %r15, %rsi
setne %cl
orq %rax, %rcx
movq 0xd0(%r14), %rax
movq (%rax,%rcx,8), %rax
cmpq %rax, %rbx
cmovlq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/shangjingbo1226[P]MACFP/src/methods/../utils/suffix_array.h
// Function: SuffixArray::build_tree(long long, long long)
void build_tree(long long l, long long r) {
        if (l == r) {
            segment_tree[ID(l, r)] = height[l];
            return;
        }
        long long mid = l + r >> 1;
        build_tree(l, mid);
        build_tree(mid + 1, r);
        segment_tree[ID(l, r)] = min(segment_tree[ID(l, mid)], segment_tree[ID(mid + 1, r)]);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
cmpq %rdx, %rsi
jne 0x6e3d
movq 0xb8(%r14), %rax
movq (%rax,%r15,8), %rax
shlq $0x3, %r15
addq 0xd0(%r14), %r15
movq %rax, (%r15,%rbx,8)
jmp 0x6eac
leaq (%rbx,%r15), %rbp
movq %rbp, %r12
sarq %r12
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x6e08
leaq 0x1(%r12), %r13
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x6e08
leaq (%r12,%r15), %rax
xorl %ecx, %ecx
cmpq %r15, %r12
setne %cl
orq %rax, %rcx
movq 0xd0(%r14), %rax
leaq (%r12,%rbx), %rdx
incq %rdx
xorl %esi, %esi
cmpq %rbx, %r13
setne %sil
orq %rdx, %rsi
movq (%rax,%rsi,8), %rdx
movq (%rax,%rcx,8), %rcx
cmpq %rcx, %rdx
cmovlq %rdx, %rcx
shlq $0x3, %rbp
orq $0x8, %rbp
movq %rcx, (%rax,%rbp)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/shangjingbo1226[P]MACFP/src/methods/../utils/suffix_array.h
// Function: SuffixArray::sort(int*, int*, int*, long long, int)
void sort(int *r, int *a, int *b, long long n, int m) {
        for (long long i = 0; i < n; ++ i) {
            wv[i] = r[a[i]];
        }
        for (int i = 0; i < m; ++ i) {
            wss[i]=0;
        }
        for (long long i = 0; i < n; ++ i) {
            ++ wss[wv[i]];
        }
        for (int i = 1; i < m; ++ i) {
            wss[i] += wss[i - 1];
        }
        for (long long i = n - 1; i >= 0; -- i) {
            b[-- wss[wv[i]]] = a[i];
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %ebp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %r12
testq %r8, %r8
jle 0x71f6
movq 0x70(%r12), %rax
xorl %ecx, %ecx
movslq (%r15,%rcx,4), %rdx
movl (%rsi,%rdx,4), %edx
movl %edx, (%rax,%rcx,4)
incq %rcx
cmpq %rcx, %rbx
jne 0x71e4
movl %ebp, %r13d
testl %ebp, %ebp
jle 0x7214
movq 0x88(%r12), %rdi
leaq (,%r13,4), %rdx
xorl %esi, %esi
callq 0x2110
testq %rbx, %rbx
jle 0x7237
movq 0x70(%r12), %rax
movq 0x88(%r12), %rcx
xorl %edx, %edx
movslq (%rax,%rdx,4), %rsi
incl (%rcx,%rsi,4)
incq %rdx
cmpq %rdx, %rbx
jne 0x7228
cmpl $0x2, %ebp
jl 0x7259
movq 0x88(%r12), %rax
movl (%rax), %ecx
movl $0x1, %edx
addl (%rax,%rdx,4), %ecx
movl %ecx, (%rax,%rdx,4)
incq %rdx
cmpq %rdx, %r13
jne 0x724b
testq %rbx, %rbx
jle 0x7292
movq 0x70(%r12), %rax
movq 0x88(%r12), %rcx
incq %rbx
movl -0x8(%r15,%rbx,4), %edx
movslq -0x8(%rax,%rbx,4), %rsi
movslq (%rcx,%rsi,4), %rdi
leaq -0x1(%rdi), %r8
movl %r8d, (%rcx,%rsi,4)
movl %edx, -0x4(%r14,%rdi,4)
decq %rbx
cmpq $0x1, %rbx
jg 0x726e
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/shangjingbo1226[P]MACFP/src/methods/../utils/suffix_array.h
// Function: SuffixArray::c12(int, int*, long long, long long)
int c12(int k, int *r, long long a, long long b) {
        if (k == 2) {
            return r[a] < r[b] || r[a] == r[b] && c12(1, r, a + 1, b + 1);
        } else {
            return r[a] < r[b] || r[a] == r[b] && wv[a + 1] < wv[b + 1];
        }
    }

// Assembly:
movl (%rdx,%rcx,4), %r9d
movl (%rdx,%r8,4), %r10d
movb $0x1, %al
cmpl $0x2, %esi
jne 0x72d4
cmpl %r10d, %r9d
jl 0x72ef
jne 0x72ed
pushq %rax
incq %rcx
incq %r8
movl $0x1, %esi
callq 0x72a2
testl %eax, %eax
setne %al
addq $0x8, %rsp
jmp 0x72ef
cmpl %r10d, %r9d
jl 0x72ef
jne 0x72ed
movq 0x70(%rdi), %rax
movl 0x4(%rax,%rcx,4), %ecx
cmpl 0x4(%rax,%r8,4), %ecx
setl %al
jmp 0x72ef
xorl %eax, %eax
movzbl %al, %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/akshithasriraman[P]Accelerometer/run.cc
// Function: ExecuteShellCommand[abi:cxx11](char const*)
std::string ExecuteShellCommand(const char* cmd)
{
    char buffer[128];
    std::string result = "";
    std::shared_ptr<FILE> pipe(popen(cmd, "r"), pclose);
    if (!pipe) throw std::runtime_error("popen() failed!");
    while (!feof(pipe.get())) {
        if (fgets(buffer, 128, pipe.get()) != NULL)
            result += buffer;
    }
    return result;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %r12
movq %r12, (%rdi)
leaq 0x12aa(%rip), %rdx      # 0x3588
movq %rdx, %rsi
callq 0x27e2
leaq 0xd17(%rip), %rsi       # 0x3004
movq %r14, %rdi
callq 0x2040
leaq 0x8(%rsp), %rdi
movq %rax, -0x8(%rdi)
movq 0x2ccb(%rip), %rdx      # 0x4fd0
movq %rax, %rsi
callq 0x2872
cmpq $0x0, (%rsp)
je 0x2375
movq (%rsp), %rdi
callq 0x2120
testl %eax, %eax
jne 0x2354
leaq 0x10(%rsp), %r14
movq (%rsp), %rdx
movq %r14, %rdi
movl $0x80, %esi
callq 0x2130
testq %rax, %rax
je 0x2347
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2180
movq (%rsp), %rdi
callq 0x2120
testl %eax, %eax
je 0x2326
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2363
callq 0x2768
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl $0x10, %edi
callq 0x2070
movq %rax, %r15
leaq 0xc7d(%rip), %rsi       # 0x3006
movq %rax, %rdi
callq 0x2050
movq 0x2c58(%rip), %rsi      # 0x4ff0
movq 0x2c19(%rip), %rdx      # 0x4fb8
movq %r15, %rdi
callq 0x2150
jmp 0x23bb
movq %rax, %r14
movq %r15, %rdi
callq 0x2090
jmp 0x23be
movq %rax, %r14
jmp 0x23cd
movq %rax, %r14
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x23cd
callq 0x2768
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x23e1
movq (%r12), %rsi
incq %rsi
callq 0x20d0
movq %r14, %rdi
callq 0x2160
// File: /workspace/github_cpp_makefile_star2_O1/essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: add_message(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void add_message(std::string msg)
{
	//if(msg.length() > viewport_width) return 1;
	rlmessages.push_back(msg);
	std::string word_so_far = "";
	for(unsigned int i=0; i<msg.length();i++)
	{
		if(msg[i] == ' ' || msg[i] == '\t' || msg[i] == '\n')
		{
			rlmessage_words.push_back(word_so_far);
			word_so_far = "";
		}
		else
		{
			word_so_far = word_so_far + msg[i];
		}
	}
	rlmessage_words.push_back(word_so_far);
	//return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x68382(%rip), %rdi     # 0x6e248
movq %rbx, %rsi
callq 0x15e2e
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x14215(%rip), %rdx     # 0x1a0f3
leaq 0x8(%rsp), %rdi
movq %rdx, %rsi
callq 0x16274
cmpq $0x0, 0x8(%rbx)
je 0x5fc9
movl $0x1, %ebp
xorl %eax, %eax
leaq 0x28(%rsp), %r12
leaq 0x8(%rsp), %r15
movabsq $0x100000600, %r14      # imm = 0x100000600
leaq 0x68348(%rip), %r13     # 0x6e260
movq (%rbx), %rcx
movzbl (%rcx,%rax), %edx
cmpq $0x20, %rdx
ja 0x5f51
btq %rdx, %r14
jae 0x5f51
movq %r13, %rdi
movq %r15, %rsi
callq 0x15e2e
movq 0x10(%rsp), %rdx
movq %r15, %rdi
xorl %esi, %esi
leaq 0x141ac(%rip), %rcx     # 0x1a0f3
xorl %r8d, %r8d
callq 0x5380
jmp 0x5fbb
movq %r13, %r14
movb (%rcx,%rax), %r13b
leaq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x166e0
movq 0x30(%rsp), %rsi
movsbl %r13b, %r8d
movl $0x1, %ecx
movq %r12, %rdi
xorl %edx, %edx
callq 0x5400
movq %r15, %rdi
movq %r12, %rsi
callq 0x5300
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
movq %r14, %r13
je 0x5fb1
callq 0x5230
movabsq $0x100000600, %r14      # imm = 0x100000600
movl %ebp, %eax
incl %ebp
cmpq %rax, 0x8(%rbx)
ja 0x5f18
leaq 0x68290(%rip), %rdi     # 0x6e260
leaq 0x8(%rsp), %rsi
callq 0x15e2e
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5fee
callq 0x5230
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x601a
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x601d
callq 0x5230
jmp 0x601d
jmp 0x601a
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x6031
callq 0x5230
movq %rbx, %rdi
callq 0x53d0
// File: /workspace/github_cpp_makefile_star2_O1/essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: draw_text_wodge(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void draw_text_wodge(std::string s)
{
	int lines = (int)ceil(((float)s.length())/viewport_width);
	attron(COLOR_PAIR(COLOR_WHITE));
	mvaddstr(lines-1,0,std::string(viewport_width,' ').c_str());
	for(int i=0;i<lines;i++)
	{
		mvaddstr(i,0,(s.substr(viewport_width*i,viewport_width).c_str()));
	}
	//getch();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rax
testq %rax, %rax
js 0x72f5
cvtsi2ss %rax, %xmm0
jmp 0x730a
movq %rax, %rcx
shrq %rcx
andl $0x1, %eax
orq %rcx, %rax
cvtsi2ss %rax, %xmm0
addss %xmm0, %xmm0
divss 0x10cf6(%rip), %xmm0    # 0x18008
callq 0x5190
cvttss2si %xmm0, %r15d
movq 0x19cb5(%rip), %rbp     # 0x20fd8
movq (%rbp), %rdi
movl $0x700, %esi            # imm = 0x700
xorl %edx, %edx
callq 0x5150
movq (%rbp), %rdi
leal -0x1(%r15), %esi
xorl %edx, %edx
callq 0x5280
cmpl $-0x1, %eax
je 0x738a
movq (%rbp), %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x8(%rsp), %rdi
movl $0x31, %esi
movl $0x20, %edx
callq 0x52c0
movq 0x8(%rsp), %rsi
movq %r14, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x50d0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x738a
callq 0x5230
testl %r15d, %r15d
jle 0x73fa
movl %r15d, %eax
imulq $0x31, %rax, %r15
xorl %r14d, %r14d
xorl %r12d, %r12d
movq (%rbp), %rdi
movl %r14d, %esi
xorl %edx, %edx
callq 0x5280
cmpl $-0x1, %eax
je 0x73ee
movq (%rbp), %r13
movl $0x31, %ecx
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x5270
movq 0x8(%rsp), %rsi
movq %r13, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x50d0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x73ee
callq 0x5230
addq $0x31, %r12
incl %r14d
cmpq %r12, %r15
jne 0x739c
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
jne 0x742f
jmp 0x7434
movq %rax, %rbx
jmp 0x7434
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x7434
callq 0x5230
movq %rbx, %rdi
callq 0x53d0
// File: /workspace/github_cpp_makefile_star2_O1/essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: draw_last_msg()
void draw_last_msg()
{
	//attron(COLOR_PAIR(COLOR_WHITE));
	clear_area(0,0,viewport_width,message_area_height+1);
	pretty_print_message_words();
	/*std::string s = "";
	for(unsigned int i = last_message_seen; i < rlmessages.size(); i++)
	{
		s += rlmessages[i]; s += " ";
	}
	pretty_print(s);
	last_message_seen = std::max(last_message_seen,(int)rlmessages.size()-2);*/
	last_word_seen  = (int)rlmessage_words.size()-1;
	//mvaddstr(0,0,padmsg(rlmessages.back()).c_str());
}

// Assembly:
pushq %rax
xorl %edi, %edi
xorl %esi, %esi
movl $0x31, %edx
movl $0x7, %ecx
callq 0x743c
callq 0x6039
movq 0x66d5f(%rip), %rax     # 0x6e268
subq 0x66d50(%rip), %rax     # 0x6e260
shrq $0x5, %rax
decl %eax
movl %eax, 0x66d60(%rip)     # 0x6e27c
popq %rax
retq
// File: /workspace/github_cpp_makefile_star2_O1/essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: random_start_cluster[abi:cxx11]()
std::string random_start_cluster()
{
	switch (rand()%10)
	{
	case 0: case 1: case 2: case 3:
		return clusters_1[rand()%vclusters_1.size()];
	case 4: case 5: case 6:
		return start_clusters_2[rand()%vstart_clusters_2.size()];
	default:
		return start_clusters_3[rand()%vstart_clusters_3.size()];
	}
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
callq 0x5070
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x22, %rcx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
cmpl $0x4, %eax
jae 0x757d
callq 0x5070
movq 0x66eef(%rip), %rcx     # 0x6e448
subq 0x66ee0(%rip), %rcx     # 0x6e440
cltq
sarq $0x5, %rcx
xorl %edx, %edx
divq %rcx
leaq 0x18e1e(%rip), %rax     # 0x20390
movq (%rax,%rdx,8), %rsi
leaq 0xf(%rsp), %rdx
jmp 0x75e3
addl $-0x4, %eax
cmpl $0x3, %eax
jae 0x75b5
callq 0x5070
movq 0x66ecf(%rip), %rcx     # 0x6e460
subq 0x66ec0(%rip), %rcx     # 0x6e458
cltq
sarq $0x5, %rcx
xorl %edx, %edx
divq %rcx
leaq 0x18e86(%rip), %rax     # 0x20430
movq (%rax,%rdx,8), %rsi
leaq 0xe(%rsp), %rdx
jmp 0x75e3
callq 0x5070
movq 0x66eb7(%rip), %rcx     # 0x6e478
subq 0x66ea8(%rip), %rcx     # 0x6e470
cltq
sarq $0x5, %rcx
xorl %edx, %edx
divq %rcx
leaq 0x19336(%rip), %rax     # 0x20910
movq (%rax,%rdx,8), %rsi
leaq 0xd(%rsp), %rdx
movq %rbx, %rdi
callq 0x5110
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: random_vowel[abi:cxx11]()
std::string random_vowel()
{
	switch (rand()%5)
	{
	case 0: case 1: case 2:
		return pure_vowels[rand()%vpure_vowels.size()];
	default:
		return diphthongs[rand()%vdiphthongs.size()];
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x5070
movslq %eax, %r14
imulq $0x66666667, %r14, %rax # imm = 0x66666667
movq %rax, %rcx
shrq $0x3f, %rcx
sarq $0x21, %rax
addl %ecx, %eax
leal (%rax,%rax,4), %eax
subl %eax, %r14d
callq 0x5070
cltq
cmpl $0x2, %r14d
ja 0x7653
movq 0x66e5f(%rip), %rcx     # 0x6e490
subq 0x66e50(%rip), %rcx     # 0x6e488
sarq $0x5, %rcx
xorl %edx, %edx
divq %rcx
leaq 0x19318(%rip), %rax     # 0x20960
movq (%rax,%rdx,8), %rsi
leaq 0x7(%rsp), %rdx
jmp 0x767a
movq 0x66e4e(%rip), %rcx     # 0x6e4a8
subq 0x66e3f(%rip), %rcx     # 0x6e4a0
sarq $0x5, %rcx
xorl %edx, %edx
divq %rcx
leaq 0x1932f(%rip), %rax     # 0x209a0
movq (%rax,%rdx,8), %rsi
leaq 0x6(%rsp), %rdx
movq %rbx, %rdi
callq 0x5110
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: random_end_cluster[abi:cxx11]()
std::string random_end_cluster()
{
	switch (rand()%7)
	{
	case 0: case 1: case 2: case 3:
		return clusters_1[rand()%vclusters_1.size()];
	default://case 4: case 5: case 6:
		return end_clusters_2[rand()%vend_clusters_2.size()];
	//default:
	//	return start_clusters_3[rand()%start_clusters_3->length()];
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x5070
cltq
imulq $-0x6db6db6d, %rax, %r14 # imm = 0x92492493
shrq $0x20, %r14
addl %eax, %r14d
movl %r14d, %ecx
shrl $0x1f, %ecx
sarl $0x2, %r14d
addl %ecx, %r14d
leal (,%r14,8), %ecx
subl %ecx, %r14d
addl %eax, %r14d
callq 0x5070
cltq
cmpl $0x3, %r14d
ja 0x76fa
movq 0x66d70(%rip), %rcx     # 0x6e448
subq 0x66d61(%rip), %rcx     # 0x6e440
sarq $0x5, %rcx
xorl %edx, %edx
divq %rcx
leaq 0x18ca1(%rip), %rax     # 0x20390
movq (%rax,%rdx,8), %rsi
leaq 0x7(%rsp), %rdx
jmp 0x7721
movq 0x66dbf(%rip), %rcx     # 0x6e4c0
subq 0x66db0(%rip), %rcx     # 0x6e4b8
sarq $0x5, %rcx
xorl %edx, %edx
divq %rcx
leaq 0x19368(%rip), %rax     # 0x20a80
movq (%rax,%rdx,8), %rsi
leaq 0x6(%rsp), %rdx
movq %rbx, %rdi
callq 0x5110
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: random_occupiable_square_away_from_player()
std::pair<int,int> random_occupiable_square_away_from_player()
{
	int target_x = rand()%MAP_SIZE; int target_y = rand()%MAP_SIZE;
	while((map_terrain[target_x][target_y] != DIRT && map_terrain[target_x][target_y] != FLOOR) || d22(target_x,target_y,p_ptr->x,p_ptr->y) <= (vis_range+2)*(vis_range+2))
	{
		target_x = rand()%MAP_SIZE; target_y = rand()%MAP_SIZE;
	}
	return std::make_pair(target_x,target_y);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
leaq 0x15f53(%rip), %r14     # 0x21350
callq 0x5070
movl %eax, %ebx
callq 0x5070
movslq %ebx, %rcx
imulq $0x1b4e81b5, %rcx, %rdx # imm = 0x1B4E81B5
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x24, %rdx
addl %esi, %edx
imull $0x96, %edx, %edx
subl %edx, %ecx
movslq %eax, %rdx
imulq $0x1b4e81b5, %rdx, %rax # imm = 0x1B4E81B5
movq %rax, %rsi
shrq $0x3f, %rsi
sarq $0x24, %rax
addl %esi, %eax
imull $0x96, %eax, %eax
subl %eax, %edx
movslq %ecx, %rax
movslq %edx, %rsi
imulq $0x258, %rax, %rax      # imm = 0x258
addq %r14, %rax
movl (%rax,%rsi,4), %eax
cmpl $0x3, %eax
je 0xb463
testl %eax, %eax
jne 0xb3fd
movq 0x63086(%rip), %rax     # 0x6e4f0
movl %ecx, %esi
subl 0x20(%rax), %esi
movl %edx, %edi
subl 0x24(%rax), %edi
imull %esi, %esi
imull %edi, %edi
addl %esi, %edi
cmpl $0x65, %edi
jb 0xb3fd
shlq $0x20, %rdx
movl %ecx, %eax
orq %rdx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: count_inv_devices(int)
int count_inv_devices(int dev_type)
{
	int ret = 0;
	for(int i=0; i<DEVICE_CONFIGURATIONS;i++)
	{
		ret += dev_inv[dev_type][i].size();
	}
	return ret;
}

// Assembly:
movslq %edi, %rax
movq 0xbabe0(%rip), %rcx     # 0xc6450
leaq (%rax,%rax,2), %rax
movq (%rcx,%rax,8), %rcx
xorl %eax, %eax
movl $0x8, %edx
movq (%rcx,%rdx), %rsi
subq -0x8(%rcx,%rdx), %rsi
shrq $0x3, %rsi
addl %esi, %eax
addq $0x18, %rdx
cmpq $0x50, %rdx
jne 0xb87f
retq
// File: /workspace/github_cpp_makefile_star2_O1/essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: total_inv_devices()
int total_inv_devices()
{
	int ret = 0;
	for(int i=0;i<DEVICE_TYPES;i++)
		ret += count_inv_devices(i);
	return ret;
}

// Assembly:
xorl %ecx, %ecx
movq 0xbabae(%rip), %rdx     # 0xc6450
xorl %eax, %eax
leaq (%rcx,%rcx,2), %rsi
movq (%rdx,%rsi,8), %rsi
movl $0x8, %r8d
xorl %edi, %edi
movq (%rsi,%r8), %r9
subq -0x8(%rsi,%r8), %r9
shrq $0x3, %r9
addl %r9d, %edi
addq $0x18, %r8
cmpq $0x50, %r8
jne 0xb8b4
addl %edi, %eax
incq %rcx
cmpq $0x6, %rcx
jne 0xb8a4
retq
// File: /workspace/github_cpp_makefile_star2_O1/essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: nearby_home_for_item(int, int)
std::pair<int,int> nearby_home_for_item(int x,int y)
{
	if(map_items[x][y] == NULL && !(map_terrain[x][y]==WALL))
	{
		return std::make_pair(x,y);
	}
	for(int d=0;d<8;d++)
	{
		std::pair<int,int> dir = directions[d];
		int xx = x+dir.first; int yy =y+dir.second;
		if(map_items[xx][yy] == NULL && !(map_terrain[xx][yy]==WALL))
		{
			return std::make_pair(xx,yy);
		}
	}
	return std::make_pair(-1,-1);

}

// Assembly:
movslq %edi, %rcx
movslq %esi, %rdx
imulq $0x4b0, %rcx, %rax      # imm = 0x4B0
leaq 0x8ebe2(%rip), %r8      # 0x9a4d0
addq %r8, %rax
cmpq $0x0, (%rax,%rdx,8)
leaq 0x15a53(%rip), %r9      # 0x21350
jne 0xb90f
imulq $0x258, %rcx, %rax      # imm = 0x258
addq %r9, %rax
cmpl $0x4, (%rax,%rdx,4)
jne 0xb972
pushq %r14
pushq %rbx
xorl %esi, %esi
leaq 0xcbd5(%rip), %rdi      # 0x184f0
movslq (%rdi,%rsi,8), %r11
movslq 0x4(%rdi,%rsi,8), %r10
addq %rcx, %r11
addq %rdx, %r10
imulq $0x4b0, %r11, %r14      # imm = 0x4B0
addq %r8, %r14
movb $0x1, %bl
cmpq $0x0, (%r14,%r10,8)
jne 0xb95a
imulq $0x258, %r11, %r14      # imm = 0x258
addq %r9, %r14
cmpl $0x4, (%r14,%r10,4)
je 0xb95a
shlq $0x20, %r10
movl %r11d, %eax
orq %r10, %rax
xorl %ebx, %ebx
testb %bl, %bl
je 0xb96e
incq %rsi
cmpq $0x8, %rsi
jne 0xb91b
movq $-0x1, %rax
popq %rbx
popq %r14
retq
shlq $0x20, %rsi
movl %edi, %eax
orq %rsi, %rax
retq
// File: /workspace/github_cpp_makefile_star2_O1/essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: item_to_location(item*, int, int)
void item_to_location(item* a, int x, int y)
{
	if(a->player_has)
	{
		inv_remove(a);
		a->player_has = false;
	}
	std::pair<int,int> place_here = nearby_home_for_item(x,y);
	if(place_here != std::make_pair(-1,-1))
	{
		map_items[place_here.first][place_here.second] = a;
		a->x = place_here.first; a->y = place_here.second;
	}
	else
	{
		add_message("Abnormal item placement! Maybe it's in a wall, maybe it just squashed another item.");
		//draw_last_msg();
		map_items[x][y] = a;
		a->x = x; a->y = y;
	}

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
cmpb $0x1, 0x98(%rdi)
jne 0xb9f4
movslq 0x70(%rbx), %rax
movq 0xbaa82(%rip), %rcx     # 0xc6450
leaq (%rax,%rax,2), %rax
movslq 0x8c(%rbx), %rdx
leaq (%rdx,%rdx,2), %rdi
shlq $0x3, %rdi
addq (%rcx,%rax,8), %rdi
movq %rbx, %rsi
callq 0x16158
movb $0x0, 0x98(%rbx)
movl %r14d, %edi
movl %ebp, %esi
callq 0xb8da
movq %rax, %rcx
shrq $0x20, %rcx
cmpl $-0x1, %eax
sete %dl
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
cmpq %rsi, %rcx
sete %sil
testb %sil, %dl
jne 0xba42
movslq %eax, %rdx
movq %rax, %rsi
sarq $0x20, %rsi
imulq $0x4b0, %rdx, %rdx      # imm = 0x4B0
leaq 0x8ea9c(%rip), %rdi     # 0x9a4d0
addq %rdx, %rdi
leaq (%rdi,%rsi,8), %rdx
movl %eax, %r14d
movl %ecx, %ebp
jmp 0xba96
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xd113(%rip), %rsi      # 0x18b66
leaq 0xd15f(%rip), %rdx      # 0x18bb9
movq %rsp, %r15
movq %r15, %rdi
callq 0x16274
movq %r15, %rdi
callq 0x5eae
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0xba7b
callq 0x5230
movslq %r14d, %rax
movslq %ebp, %rcx
imulq $0x4b0, %rax, %rax      # imm = 0x4B0
leaq 0x8ea41(%rip), %rdx     # 0x9a4d0
addq %rax, %rdx
leaq (%rdx,%rcx,8), %rdx
movq %rbx, (%rdx)
movl %r14d, 0x90(%rbx)
movl %ebp, 0x94(%rbx)
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0xbac4
callq 0x5230
movq %rbx, %rdi
callq 0x53d0
// File: /workspace/github_cpp_makefile_star2_O1/essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: device_to_inventory(item*)
void device_to_inventory(item* a)
{
	if(!a->player_has)
	{
		map_items[a->x][a->y] = NULL;
		a->player_has = true;
		dev_inv[a->device_type][a->configuration].push_back(a);
	}

}

// Assembly:
pushq %rax
movq %rdi, (%rsp)
cmpb $0x0, 0x98(%rdi)
jne 0xbb49
movslq 0x90(%rdi), %rax
movslq 0x94(%rdi), %rcx
imulq $0x4b0, %rax, %rax      # imm = 0x4B0
leaq 0x8e9da(%rip), %rdx     # 0x9a4d0
addq %rax, %rdx
movq $0x0, (%rdx,%rcx,8)
movb $0x1, 0x98(%rdi)
movslq 0x70(%rdi), %rax
movq 0xba93d(%rip), %rcx     # 0xc6450
leaq (%rax,%rax,2), %rax
movslq 0x8c(%rdi), %rdx
movq (%rcx,%rax,8), %rax
leaq (%rdx,%rdx,2), %rcx
leaq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rsi
cmpq 0x10(%rax), %rsi
je 0xbb3e
movq %rdi, (%rsi)
addq $0x8, 0x8(%rax)
jmp 0xbb49
movq %rsp, %rdx
movq %rax, %rdi
callq 0x16d04
popq %rax
retq
// File: /workspace/github_cpp_makefile_star2_O1/essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: add_junk(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, char, int, int, int)
void add_junk(std::string name, std::string description, char ch, int colour, int x, int y)
{
	item* it = new item();
	it->projection = NULL;
	it->colour = colour;
	it->ch = ch;
	it->device_type = NOT_DEVICE;
	it->name = name;
	it->description = description;
	it->base_description = "";
	it->player_has = false;
	items.push_back(it);
	item_to_location(it,x,y);

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, 0x14(%rsp)
movl %r8d, 0x10(%rsp)
movl %ecx, %r13d
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, %r15
movl $0xa0, %edi
callq 0x5250
movq %rax, %rbx
xorl %ebp, %ebp
movl $0xa0, %edx
movq %rax, %rdi
xorl %esi, %esi
callq 0x5180
leaq 0x10(%rbx), %rdi
leaq 0x20(%rbx), %rax
movq %rax, 0x10(%rbx)
movq %rbp, 0x18(%rbx)
movb %bpl, 0x20(%rbx)
leaq 0x40(%rbx), %rax
movq %rax, 0x30(%rbx)
movq %rbp, 0x38(%rbx)
movb %bpl, 0x40(%rbx)
leaq 0x60(%rbx), %rax
movq %rax, 0x50(%rbx)
movq %rbp, 0x58(%rbx)
movb %bpl, 0x60(%rbx)
movq %rbx, 0x8(%rsp)
movq %rbp, (%rbx)
movl %r13d, 0x8(%rbx)
movb %r12b, 0xc(%rbx)
movl $0xffffffff, 0x70(%rbx) # imm = 0xFFFFFFFF
movq %r15, %rsi
callq 0x5170
movq 0x8(%rsp), %rdi
addq $0x30, %rdi
movq %r14, %rsi
callq 0x5170
movq 0x8(%rsp), %rdi
movq 0x58(%rdi), %rdx
addq $0x50, %rdi
leaq 0xe4ee(%rip), %rcx      # 0x1a0f3
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x5380
movq 0x8(%rsp), %rax
movb %bpl, 0x98(%rax)
movq 0xba7ee(%rip), %rsi     # 0xc6410
cmpq 0xba7ef(%rip), %rsi     # 0xc6418
je 0xbc38
movq %rax, (%rsi)
addq $0x8, 0xba7da(%rip)     # 0xc6410
jmp 0xbc49
leaq 0xba7c9(%rip), %rdi     # 0xc6408
leaq 0x8(%rsp), %rdx
callq 0x16d04
movq 0x8(%rsp), %rdi
movl 0x10(%rsp), %esi
movl 0x14(%rsp), %edx
callq 0xb9a6
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq