LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/gogakoreli[P]snake/snake_map.cpp
// Function: SnakeMap::redraw()
void SnakeMap::redraw(void)
{
    clear_map(this->map_array);
    for (int i = 0; i < MAP_END; i++)
    {
        cout << endl;
    }
    update_score();
    vector<pair<int, int>> snake_parts = snake->snake_parts;
    for (int i = 0; i < snake_parts.size(); i++)
    {
        pair<int, int> tmp = snake_parts[i];
        map_array[tmp.first][tmp.second] = SNAKE_CHAR;
    }
    update_snake_head(map_array, snake);
    update_snake_food(false);
    map_array[snake_food.first][snake_food.second] = SNAKE_FOOD_CHAR;
    for (int i = 0; i < MAP_HEIGHT; i++)
    {
        for (int j = 0; j < MAP_WIDTH; j++)
        {
            cout << map_array[i][j] << " ";
        }
        cout << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x8(%rdi), %r15
movl $0x190, %edx            # imm = 0x190
movq %r15, %rdi
movl $0x2e, %esi
callq 0x1070
movl $0x1e, %r12d
movq 0x23a3(%rip), %r14      # 0x3fd8
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x1100
movsbl %al, %esi
movq %r14, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1090
decl %r12d
jne 0x1c35
movq %rbx, %rdi
callq 0x1d9c
movq 0x198(%rbx), %rsi
leaq -0x50(%rbp), %r12
movq %r12, %rdi
callq 0x1e48
movq (%r12), %rax
movq 0x8(%r12), %rcx
subq %rax, %rcx
je 0x1cb5
sarq $0x3, %rcx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %edx, %edx
movslq (%rax,%rdx,8), %rsi
movslq 0x4(%rax,%rdx,8), %rdi
leaq (%rsi,%rsi,4), %rsi
leaq (%r15,%rsi,4), %rsi
movb $0x4f, (%rdi,%rsi)
incq %rdx
cmpq %rdx, %rcx
jne 0x1c98
movq 0x198(%rbx), %rsi
movq %r15, %rdi
callq 0x1e01
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1b50
movslq (%rbx), %rax
movslq 0x4(%rbx), %rcx
leaq (%rax,%rax,4), %rax
leaq (%r15,%rax,4), %rax
movb $0x2a, (%rcx,%rax)
xorl %r13d, %r13d
leaq -0x29(%rbp), %r15
leaq 0x37b(%rip), %r12       # 0x206a
movq %r13, -0x38(%rbp)
movl $0x8, %r13d
movb (%rbx,%r13), %al
movb %al, -0x29(%rbp)
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x1130
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x1130
incq %r13
cmpq $0x1c, %r13
jne 0x1cf9
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x1100
movq -0x38(%rbp), %r13
movsbl %al, %esi
movq %r14, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1090
incq %r13
addq $0x14, %rbx
cmpq $0x14, %r13
jne 0x1cef
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1d6f
callq 0x10e0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1d82
jmp 0x1d82
movq %rax, %rbx
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x1d93
callq 0x10e0
movq %rbx, %rdi
callq 0x11a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/fasta_stats.cc
// Function: print_usage()
static void print_usage() {
	fprintf(stderr, "usage: fasta_stats [options] <fasta_file>\n");
	fprintf(stderr, "\t-b ##\tsize of big scaffold cutoff in kb [50]\n");
	fprintf(stderr, "\t-g ##\tminimum size bin to display for gaps [none]\n");
	fprintf(stderr, "\t-l ##\tminimum size bin to display [1000]\n");
	fprintf(stderr, "\t-N ##\texact length of N's to signal scaffold end [-1]\n");
	fprintf(stderr, "\t-n ##\tminimum length of N's to signal contig end [9]\n");
	exit(0);
}

// Assembly:
pushq %rbx
movq 0x5677(%rip), %rbx      # 0x8fd0
movq (%rbx), %rcx
leaq 0x26e8(%rip), %rdi      # 0x604b
movl $0x2a, %esi
movl $0x1, %edx
callq 0x23b0
movq (%rbx), %rcx
leaq 0x26fa(%rip), %rdi      # 0x6076
movl $0x2e, %esi
movl $0x1, %edx
callq 0x23b0
movq (%rbx), %rcx
leaq 0x2710(%rip), %rdi      # 0x60a5
movl $0x33, %esi
movl $0x1, %edx
callq 0x23b0
movq (%rbx), %rcx
leaq 0x272b(%rip), %rdi      # 0x60d9
movl $0x2a, %esi
movl $0x1, %edx
callq 0x23b0
movq (%rbx), %rcx
leaq 0x273d(%rip), %rdi      # 0x6104
movl $0x37, %esi
movl $0x1, %edx
callq 0x23b0
movq (%rbx), %rcx
leaq 0x275c(%rip), %rdi      # 0x613c
movl $0x36, %esi
movl $0x1, %edx
callq 0x23b0
xorl %edi, %edi
callq 0x2270
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/fasta_stats.cc
// Function: scaled_print(long)
static void scaled_print(long i) {
	if (i > 999999) {
		printf("%.1f MB", (double)i / 1000000);
	} else if (i > 999) {
		printf("%.1f KB", (double)i / 1000);
	} else {
		printf("%ld", i);
	}
}

// Assembly:
movq %rdi, %rsi
cmpq $0xf4240, %rdi          # imm = 0xF4240
jl 0x3a18
cvtsi2sd %rsi, %xmm0
divsd 0x2609(%rip), %xmm0     # 0x6018
leaq 0x28b7(%rip), %rdi      # 0x62cd
jmp 0x3a35
cmpq $0x3e8, %rsi            # imm = 0x3E8
jl 0x3a3c
cvtsi2sd %rsi, %xmm0
divsd 0x25e2(%rip), %xmm0     # 0x6010
leaq 0x28a0(%rip), %rdi      # 0x62d5
movb $0x1, %al
jmp 0x2050
leaq 0x289a(%rip), %rdi      # 0x62dd
xorl %eax, %eax
jmp 0x2050
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/fasta_stats.cc
// Function: print_size(int const*, int, int, int)
static void print_size(const int lengths[], int i, int one_less = 0, int right_justify = 0) {
	int x = lengths[i] - (one_less ? 1 : 0);
	if ((i % 3) == 2) {	// 250... line
		if (x >= 1000000) {
			printf("%3.1f mb", (double)x / 1000000);
		} else if (x >= 10000) {
			printf("%3d kb", x / 1000);
		} else if (x >= 1000) {
			printf("%3.1f kb", (double)x / 1000);
		} else if (right_justify) {
			printf("   %3d", x);
		} else {
			printf("%3d   ", x);
		}
	} else {
		if (x >= 1000000) {
			printf("%3d mb", x / 1000000);
		} else if (x >= 1000) {
			printf("%3d kb", x / 1000);
		} else if (right_justify) {
			printf("   %3d", x);
		} else {
			printf("%3d   ", x);
		}
	}
}

// Assembly:
movslq %esi, %rax
movl (%rdi,%rax,4), %esi
cmpl $0x1, %edx
adcl $-0x1, %esi
imulq $0x55555556, %rax, %rdx # imm = 0x55555556
movq %rdx, %rdi
shrq $0x3f, %rdi
shrq $0x20, %rdx
addl %edi, %edx
leal (%rdx,%rdx,2), %edx
subl %edx, %eax
cmpl $0x2, %eax
jne 0x3a96
cmpl $0xf4240, %esi          # imm = 0xF4240
jl 0x3ab4
cvtsi2sd %esi, %xmm0
divsd 0x2590(%rip), %xmm0     # 0x6018
leaq 0x287f(%rip), %rdi      # 0x630e
movb $0x1, %al
jmp 0x2050
cmpl $0xf4240, %esi          # imm = 0xF4240
jl 0x3ad9
movl %esi, %eax
imulq $0x431bde83, %rax, %rsi # imm = 0x431BDE83
shrq $0x32, %rsi
leaq 0x2883(%rip), %rdi      # 0x6335
jmp 0x3af5
cmpl $0x2710, %esi           # imm = 0x2710
jge 0x3ae1
cmpl $0x3e8, %esi            # imm = 0x3E8
jl 0x3afc
cvtsi2sd %esi, %xmm0
divsd 0x2540(%rip), %xmm0     # 0x6010
leaq 0x2847(%rip), %rdi      # 0x631e
jmp 0x3a8f
cmpl $0x3e8, %esi            # imm = 0x3E8
jl 0x3afc
movl %esi, %eax
imulq $0x10624dd3, %rax, %rsi # imm = 0x10624DD3
shrq $0x26, %rsi
leaq 0x2822(%rip), %rdi      # 0x6317
xorl %eax, %eax
jmp 0x2050
testl %ecx, %ecx
je 0x3b09
leaq 0x2820(%rip), %rdi      # 0x6327
jmp 0x3af5
leaq 0x281e(%rip), %rdi      # 0x632e
jmp 0x3af5
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/fasta_stats.cc
// Function: Scaffold::empty()
bool empty(void) {
		if (contigs.back().empty() && contigs.size() > 1) {
			contigs.pop_back();
			gaps.pop_back();
		}
		if (contigs.size() == 1 && contigs.back().total_size == 0) {
			total_size = 0;
			return 1;
		}
		return 0;
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x28(%rdi), %rax
movq 0x10(%rax), %rcx
cmpq 0x18(%rax), %rcx
jne 0x3bb6
addq $0x10, %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq 0x30(%rbx), %rax
cmpq $0x2, %rax
jb 0x3bb6
movq 0x28(%rbx), %r14
decq %rax
movq %rax, 0x30(%rbx)
movq %r14, %rdi
callq 0x2330
movq %r14, %rdi
callq 0x2220
movq 0x40(%rbx), %r14
decq 0x48(%rbx)
movq %r14, %rdi
callq 0x2330
movq %r14, %rdi
callq 0x2220
cmpq $0x1, 0x30(%rbx)
jne 0x3bc8
movq 0x28(%rbx), %rax
cmpq $0x0, 0x10(%rax)
je 0x3bd2
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq $0x0, (%rbx)
movb $0x1, %al
jmp 0x3bca
nop
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/fasta_stats.cc
// Function: Scaffold::calc_contig_sizes()
void calc_contig_sizes(void) {
		gap_size = total_size;
		std::list<Contig>::const_iterator __b = contigs.begin();
		std::list<Contig>::const_iterator __end_b = contigs.end();
		for (; __b != __end_b; ++__b) {
			contig_size += __b->size();
			gap_size -= __b->total_size;
		}
		std::list<long>::const_iterator __c = gaps.begin();
		std::list<long>::const_iterator __end_c = gaps.end();
		for (; __c != __end_c; ++__c) {
			captured_gap_size += *__c;
		}
	}

// Assembly:
movq (%rdi), %rax
movq 0x20(%rdi), %rdx
movq %rax, 0x10(%rdi)
leaq 0x20(%rdi), %rcx
cmpq %rcx, %rdx
je 0x3c17
movq 0x8(%rdi), %rsi
movq 0x10(%rdx), %r8
subq %r8, %rax
subq 0x18(%rdx), %r8
movq (%rdx), %r9
addq %r8, %rsi
movq %r9, %rdx
cmpq %rcx, %r9
jne 0x3bf6
movq %rsi, 0x8(%rdi)
movq %rax, 0x10(%rdi)
leaq 0x38(%rdi), %rax
movq 0x38(%rdi), %rcx
cmpq %rax, %rcx
je 0x3c38
movq 0x18(%rdi), %rdx
addq 0x10(%rcx), %rdx
movq %rdx, 0x18(%rdi)
movq (%rcx), %rcx
cmpq %rax, %rcx
jne 0x3c28
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/itoa.cc
// Function: itoa[abi:cxx11](unsigned long, bool)
std::string itoa(unsigned long x, bool negative) {
	int length = negative ? 2 : 1;
	if (x > 9) {
		length += (int)floor(log10(x));
	}
	std::string value;
	value.resize(length);
	std::string::reverse_iterator a = value.rbegin();
	std::string::reverse_iterator end = value.rend();
	if (negative) {
		value[0] = '-';
		--end;
	}
	for (; a != end; ++a, x /= 10) {
		*a = '0' + (x % 10);
	}
	return value;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
leal 0x1(%r15), %ebp
cmpq $0xa, %rsi
jb 0x45e8
movq %r14, %xmm1
punpckldq 0x208c(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x2094(%rip), %xmm1     # 0x6660
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
callq 0x2140
callq 0x2350
cvttsd2si %xmm0, %eax
addl %eax, %ebp
leaq 0x10(%rbx), %r12
movq %r12, (%rbx)
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
movslq %ebp, %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x20d0
movq (%rbx), %rcx
movq 0x8(%rbx), %rsi
addq %rcx, %rsi
testb %r15b, %r15b
je 0x461d
movb $0x2d, (%rcx)
incq %rcx
cmpq %rcx, %rsi
je 0x4652
movabsq $-0x3333333333333333, %rdi # imm = 0xCCCCCCCCCCCCCCCD
movq %r14, %rax
mulq %rdi
shrq $0x3, %rdx
leal (%rdx,%rdx), %eax
leal (%rax,%rax,4), %eax
subl %eax, %r14d
orb $0x30, %r14b
movb %r14b, -0x1(%rsi)
decq %rsi
movq %rdx, %r14
cmpq %rcx, %rsi
jne 0x462c
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x466e
callq 0x2220
movq %r14, %rdi
callq 0x2370
nop
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/open_compressed.cc
// Function: get_suffix(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>>&)
void get_suffix(const std::string &filename, std::string &suffix) {
	const char *suffix_list[3] = { ".gz", ".bz2", ".Z" };
	const size_t suffix_size[3] = { 3, 4, 2 };
	suffix.clear();
	for (int i = 0; i != 3; ++i) {
		const size_t &j = suffix_size[i];
		if (filename.size() > j && filename.compare(filename.size() - j, j, suffix_list[i]) == 0) {
			suffix = suffix_list[i];
			break;
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq $0x0, 0x8(%rsi)
movq (%rsi), %rax
movb $0x0, (%rax)
xorl %r12d, %r12d
leaq 0x21ff(%rip), %r13      # 0x68a0
leaq 0x46e8(%rip), %rbp      # 0x8d90
movq 0x8(%r14), %rsi
movq (%r12,%r13), %rdx
subq %rdx, %rsi
jbe 0x46c8
movq (%r12,%rbp), %r15
movq %r14, %rdi
movq %r15, %rcx
callq 0x2290
testl %eax, %eax
je 0x46e1
addq $0x8, %r12
cmpq $0x18, %r12
jne 0x46a8
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rbx), %r14
movq %r15, %rdi
callq 0x2130
movq %rbx, %rdi
xorl %esi, %esi
movq %r14, %rdx
movq %r15, %rcx
movq %rax, %r8
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2310
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/open_compressed.cc
// Function: pfgets(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
ssize_t pfgets(const int fd, std::string &line) {
	if (fd < 0 || local.open_max <= fd) {
		fprintf(stderr, "Error: pfgets: fd out of range: %d\n", fd);
		return -1;
	}
	if (local.buffers[fd].empty()) {
		fprintf(stderr, "Error: pfgets: buffer unallocated\n");
		return -1;
	}
	line.clear();
	char * const buf = local.buffers[fd].array();
	ssize_t &i = local.buffer_start[fd];
	ssize_t &j = local.buffer_length[fd];
	for (;;) {
		char * const end_of_line = strchr(buf + i, '\n');
		if (end_of_line != NULL) {
			*end_of_line = '\0';
			line += buf + i;
			i = end_of_line - buf + 1;
			return (ssize_t)line.size();
		}
		line += buf + i;
		i = 0;
		j = read(fd, buf, BUFSIZE);
		if (j <= 0) {
			if (j == -1) {
				fprintf(stderr, "Error: read(%d): %s\n", fd, strerror(errno));
			}
			buf[j = 0] = '\0';
			/* only return -1 if we don't return anything else */
			return line.empty() ? -1 : (ssize_t)line.size();
		}
		buf[j] = '\0';
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, 0x8(%rsp)
movl %edi, %edx
testl %edi, %edi
js 0x4d6f
movl %edx, %r13d
cmpq %r13, 0x45f8(%rip)      # 0x9260
jle 0x4d6f
movq 0x45f3(%rip), %rax      # 0x9268
movq (%rax,%r13,8), %rax
cmpq $0x0, 0x8(%rax)
je 0x4d89
movl %edx, 0x14(%rsp)
movq 0x8(%rsp), %rax
movq $0x0, 0x8(%rax)
movq (%rax), %rax
movb $0x0, (%rax)
movq 0x45c6(%rip), %rax      # 0x9268
movq (%rax,%r13,8), %rax
movq 0x10(%rax), %r14
movq 0x45bf(%rip), %rbx      # 0x9270
movq 0x45c0(%rip), %rbp      # 0x9278
movq (%rbx,%r13,8), %r15
addq %r14, %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x2100
testq %rax, %rax
jne 0x4d0c
movq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x23a0
movq $0x0, (%rbx,%r13,8)
movl $0x8000, %edx           # imm = 0x8000
movl 0x14(%rsp), %r12d
movl %r12d, %edi
movq %r14, %rsi
callq 0x22d0
movq %rax, (%rbp,%r13,8)
testq %rax, %rax
jle 0x4d43
movb $0x0, (%r14,%rax)
jmp 0x4cb8
movq %rax, %r12
movb $0x0, (%rax)
movq (%rbx,%r13,8), %rsi
addq %r14, %rsi
movq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x23a0
subq %r14, %r12
incq %r12
movq %r12, (%rbx,%r13,8)
movq 0x8(%r15), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbp, %r15
cmpq $-0x1, %rax
je 0x4d97
movq $0x0, (%r15,%r13,8)
movb $0x0, (%r14)
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rcx
xorl %eax, %eax
cmpq $0x1, %rcx
sbbq %rax, %rax
orq %rcx, %rax
jmp 0x4d34
movq 0x425a(%rip), %rax      # 0x8fd0
movq (%rax), %rdi
leaq 0x19a3(%rip), %rsi      # 0x6723
xorl %eax, %eax
callq 0x22c0
jmp 0x4d8e
callq 0x2610
movq $-0x1, %rax
jmp 0x4d34
movl %r12d, %edi
callq 0x25d7
jmp 0x4d4c
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/open_compressed.cc
// Function: pfread(int, void*, unsigned long)
ssize_t pfread(const int fd, void *ptr, const size_t size) {
	if (fd < 0 || local.open_max <= fd) {
		fprintf(stderr, "Error: pfgets: fd out of range: %d\n", fd);
		return -1;
	}
	if (local.buffers[fd].empty()) {
		fprintf(stderr, "Error: pfgets: buffer unallocated\n");
		return -1;
	}
	char *s = (char *)ptr;
	size_t k = size;
	char * const buf = local.buffers[fd].array();
	ssize_t &i = local.buffer_start[fd];
	ssize_t &j = local.buffer_length[fd];
	for (;;) {
		if ((size_t)(j - i) >= k) {
			memcpy(s, buf + i, k);
			i += k;
			return size;
		}
		const size_t n = j - i;
		memcpy(s, buf + i, n);
		s += n;
		k -= n;
		i = 0;
		j = read(fd, buf, BUFSIZE);
		if (j <= 0) {
			if (j == -1) {
				fprintf(stderr, "Error: read(%d): %s\n", fd, strerror(errno));
			}
			buf[j = 0] = '\0';
			/* only return -1 if we don't return anything else */
			return k == size ? -1 : (ssize_t)(size - k);
		}
		buf[j] = '\0';
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edi, %ecx
testl %edi, %edi
js 0x4ebc
movl %ecx, %ebx
cmpq %rbx, 0x449e(%rip)      # 0x9260
jle 0x4ebc
movq 0x4499(%rip), %rax      # 0x9268
movq (%rax,%rbx,8), %rax
cmpq $0x0, 0x8(%rax)
je 0x4ed8
movq %rsi, %r14
movq 0x10(%rax), %rbp
movq 0x4484(%rip), %rax      # 0x9270
movq 0x4485(%rip), %rdi      # 0x9278
movq (%rdi,%rbx,8), %r13
movq (%rax,%rbx,8), %rsi
subq %rsi, %r13
cmpq %rdx, %r13
movq %rdx, 0x10(%rsp)
movq %rax, 0x8(%rsp)
jae 0x4e71
movl %ecx, 0x4(%rsp)
movq %rdx, %r12
addq %rbp, %rsi
movq %rdi, %r15
movq %r14, %rdi
movq %r13, %rdx
callq 0x21e0
subq %r13, %r12
movq 0x8(%rsp), %rax
movq $0x0, (%rax,%rbx,8)
movl $0x8000, %edx           # imm = 0x8000
movl 0x4(%rsp), %edi
movq %rbp, %rsi
callq 0x22d0
movq %r15, %rdi
movq %rax, (%r15,%rbx,8)
testq %rax, %rax
jle 0x4e95
addq %r13, %r14
movb $0x0, (%rbp,%rax)
movq (%rdi,%rbx,8), %r13
movq 0x8(%rsp), %rax
movq (%rax,%rbx,8), %rsi
subq %rsi, %r13
cmpq %r12, %r13
jb 0x4e14
jmp 0x4e74
movq %rdx, %r12
addq %rsi, %rbp
movq %r14, %rdi
movq %rbp, %rsi
movq %r12, %rdx
callq 0x21e0
movq 0x8(%rsp), %rax
addq %r12, (%rax,%rbx,8)
movq 0x10(%rsp), %rax
jmp 0x4ee4
cmpq $-0x1, %rax
je 0x4ef3
movq $0x0, (%rdi,%rbx,8)
movb $0x0, (%rbp)
movq 0x10(%rsp), %rax
subq %r12, %rax
movq $-0x1, %rcx
cmoveq %rcx, %rax
jmp 0x4ee4
movq 0x410d(%rip), %rax      # 0x8fd0
movq (%rax), %rdi
leaq 0x1856(%rip), %rsi      # 0x6723
movl %ecx, %edx
xorl %eax, %eax
callq 0x22c0
jmp 0x4edd
callq 0x2665
movq $-0x1, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x4(%rsp), %edi
callq 0x262c
movq %r15, %rdi
jmp 0x4e9b
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/open_compressed.cc
// Function: pfread2(int, void*, unsigned long)
ssize_t pfread2(const int fd, void *ptr, const size_t size) {
	assert(-1 < fd && fd < local.open_max);
	char *buf = (char *)ptr;
	ssize_t i = size;
	while (i != 0) {
		const ssize_t j = read(fd, buf, i);
		if (j == -1) {
			fprintf(stderr, "Error: read (%d %p): %s\n", fd, ptr, strerror(errno));
			return -1;
		}
		i -= j;
		buf += j;
	}
	return size;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testl %edi, %edi
js 0x4f69
movl %edi, %ebp
movl %edi, %eax
cmpq %rax, 0x4348(%rip)      # 0x9260
jle 0x4f69
movq %rdx, %rbx
testq %rdx, %rdx
je 0x4f48
movq %rsi, %r14
movq %rbx, %r15
movq %rsi, %r12
movl %ebp, %edi
movq %r12, %rsi
movq %r15, %rdx
callq 0x22d0
cmpq $-0x1, %rax
je 0x4f56
addq %rax, %r12
subq %rax, %r15
jne 0x4f2b
jmp 0x4f4a
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl %ebp, %edi
movq %r14, %rsi
callq 0x2681
movq $-0x1, %rbx
jmp 0x4f4a
leaq 0x180f(%rip), %rdi      # 0x677f
leaq 0x1827(%rip), %rsi      # 0x679e
leaq 0x1837(%rip), %rcx      # 0x67b5
movl $0x140, %edx            # imm = 0x140
callq 0x2190
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/open_compressed.cc
// Function: LocalData::LocalData()
LocalData(void) : open_max(sysconf(_SC_OPEN_MAX)) {
		assert(open_max != 0);
		buffers = new refcount_array<char>[open_max];
		assert(buffers != NULL);
		buffer_start = new ssize_t[open_max];
		assert(buffer_start != NULL);
		buffer_length = new ssize_t[open_max];
		assert(buffer_length != NULL);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x8(%rdi), %rax
movl $0x0, 0x8(%rdi)
xorl %ecx, %ecx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
movq %rcx, 0x28(%rdi)
leaq 0x30(%rdi), %r12
movq %r12, 0x38(%rdi)
movq %r12, 0x30(%rdi)
movq %rcx, 0x40(%rdi)
movl $0x4, %edi
callq 0x2180
movq %rax, 0x48(%rbx)
testq %rax, %rax
je 0x5083
movq %rax, %r15
movq %rax, %rbp
shrq $0x3d, %rbp
leaq (,%rax,8), %r13
movq %r13, %rax
addq $0x8, %rax
movq $-0x1, %rcx
cmovaeq %rax, %rcx
xorl %edi, %edi
movq %rbp, %rax
negq %rax
sbbq %rdi, %rdi
orq %rcx, %rdi
callq 0x2030
movq %rax, %r14
movq %r15, (%rax)
addq $0x8, %rax
movq %rax, (%rsp)
xorl %r15d, %r15d
movl $0x18, %edi
callq 0x2230
movq $0x1, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movq %rax, 0x8(%r14,%r15)
addq $0x8, %r15
cmpq %r15, %r13
jne 0x5022
movq (%rsp), %rax
movq %rax, 0x50(%rbx)
xorl %r14d, %r14d
negq %rbp
sbbq %r14, %r14
orq %r13, %r14
movq %r14, %rdi
callq 0x2030
movq %rax, 0x58(%rbx)
movq %r14, %rdi
callq 0x2030
movq %rax, 0x60(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1775(%rip), %rdi      # 0x67ff
leaq 0x170d(%rip), %rsi      # 0x679e
leaq 0x1775(%rip), %rcx      # 0x680d
movl $0x2e, %edx
callq 0x2190
movq %rax, %r13
jmp 0x50c6
movq %rax, %r13
testq %r15, %r15
je 0x50be
leaq (%r14,%r15), %rdi
callq 0x52b2
addq $-0x8, %r15
jne 0x50af
movq %r14, %rdi
callq 0x2280
movq (%r12), %rdi
cmpq %r12, %rdi
je 0x50df
movq (%rdi), %r14
callq 0x2220
movq %r14, %rdi
cmpq %r12, %r14
jne 0x50cf
movq %rbx, %rdi
callq 0x52d4
movq %r13, %rdi
callq 0x2370
nop
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/open_compressed.cc
// Function: LocalData::~LocalData()
~LocalData(void) {
		delete[] buffers;
		delete[] buffer_start;
		delete[] buffer_length;
		std::map<int, pid_t>::const_iterator __a = open_processes.begin();
		const std::map<int, pid_t>::const_iterator __end_a = open_processes.end();
		for (; __a != __end_a; ++__a) {
			close(__a->first);
		}
		std::list<pid_t>::const_iterator __b = closed_processes.begin();
		const std::list<pid_t>::const_iterator __end_b = closed_processes.end();
		for (; __b != __end_b; ++__b) {
			waitpid(*__b, NULL, 0);
		}
		for (__a = open_processes.begin(); __a != __end_a; ++__a) {
			waitpid(__a->second, NULL, 0);
		}
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x50(%rdi), %r14
testq %r14, %r14
je 0x512c
movq -0x8(%r14), %r15
addq $-0x8, %r14
testq %r15, %r15
je 0x5124
shlq $0x3, %r15
leaq (%r14,%r15), %rdi
callq 0x52b2
addq $-0x8, %r15
jne 0x5115
movq %r14, %rdi
callq 0x2280
movq 0x58(%rbx), %rdi
testq %rdi, %rdi
je 0x513a
callq 0x2280
movq 0x60(%rbx), %rdi
testq %rdi, %rdi
je 0x5148
callq 0x2280
movq 0x18(%rbx), %r14
leaq 0x8(%rbx), %r15
cmpq %r15, %r14
je 0x516e
movl 0x20(%r14), %edi
callq 0x23c0
movq %r14, %rdi
callq 0x2250
movq %rax, %r14
cmpq %r15, %rax
jne 0x5155
leaq 0x30(%rbx), %r12
movq %r12, %r14
movq (%r14), %r14
cmpq %r12, %r14
je 0x518c
movl 0x10(%r14), %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x21d0
jmp 0x5175
movq 0x18(%rbx), %r14
cmpq %r15, %r14
je 0x51b2
movl 0x24(%r14), %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x21d0
movq %r14, %rdi
callq 0x2250
movq %rax, %r14
cmpq %r15, %rax
jne 0x5195
movq (%r12), %rdi
cmpq %r12, %rdi
je 0x51cb
movq (%rdi), %r14
callq 0x2220
movq %r14, %rdi
cmpq %r12, %r14
jne 0x51bb
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x52d4
jmp 0x51e2
jmp 0x51e2
movq %rax, %rdi
callq 0x3e88
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/open_compressed.cc
// Function: LocalData::close_process(int)
void close_process(const int __i) {
		assert(-1 < __i && __i < open_max);
		close(__i);
		buffers[__i].resize(0);
		std::map<int, pid_t>::iterator __a = open_processes.find(__i);
		if (__a != open_processes.end()) {
			closed_processes.push_back(__a->second);
			open_processes.erase(__a);
		}
		finish_nohang();
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testl %esi, %esi
js 0x5293
movl %esi, %ebp
movq %rdi, %rbx
movl %esi, %r14d
cmpq %r14, 0x48(%rdi)
jle 0x5293
movl %ebp, %edi
callq 0x23c0
movq 0x50(%rbx), %rax
movq (%rax,%r14,8), %rdi
xorl %esi, %esi
callq 0x560e
movq 0x10(%rbx), %rax
testq %rax, %rax
je 0x5281
leaq 0x8(%rbx), %rcx
movq %rcx, %r14
xorl %edx, %edx
cmpl %ebp, 0x20(%rax)
setl %dl
cmovgeq %rax, %r14
movq 0x10(%rax,%rdx,8), %rax
testq %rax, %rax
jne 0x5231
cmpq %rcx, %r14
je 0x5281
cmpl %ebp, 0x20(%r14)
jg 0x5281
leaq 0x30(%rbx), %r15
movl $0x18, %edi
callq 0x2230
movl 0x24(%r14), %ecx
movl %ecx, 0x10(%rax)
movq %rax, %rdi
movq %r15, %rsi
callq 0x2060
incq 0x40(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x55d6
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x557e
leaq 0x158a(%rip), %rdi      # 0x6824
leaq 0x14fd(%rip), %rsi      # 0x679e
leaq 0x1597(%rip), %rcx      # 0x683f
movl $0x3a, %edx
callq 0x2190
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/open_compressed.cc
// Function: LocalData::finish_nohang()
void finish_nohang(void) {
		std::list<pid_t>::iterator __a = closed_processes.begin();
		const std::list<pid_t>::iterator __end_a = closed_processes.end();
		while (__a != __end_a) {
			if (waitpid(*__a, NULL, WNOHANG) > 0) {
				__a = closed_processes.erase(__a);
			} else {
				++__a;
			}
		}
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
leaq 0x30(%rdi), %r15
movq 0x30(%rdi), %r14
cmpq %r15, %r14
je 0x55c9
movq %rdi, %rbx
movl 0x10(%r14), %edi
xorl %esi, %esi
movl $0x1, %edx
callq 0x21d0
movq (%r14), %r12
testl %eax, %eax
jle 0x55c1
decq 0x40(%rbx)
movq %r14, %rdi
callq 0x2330
movq %r14, %rdi
callq 0x2220
movq %r12, %r14
cmpq %r15, %r12
jne 0x5596
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/refcount_array.h
// Function: refcount_array<char>::resize(unsigned long)
void resize(size_type __n) {
		if (_M_size != __n) {
			_M_size = __n;
			if (_M_array != NULL) {
				delete[] _M_array;
			}
			if (_M_size == 0) {
				_M_array = NULL;
			} else {
				_M_array = new value_type[_M_size];
			}
		}
	}

// Assembly:
cmpq %rsi, 0x8(%rdi)
je 0x5644
pushq %rbx
movq %rdi, %rbx
movq %rsi, 0x8(%rdi)
movq 0x10(%rdi), %rdi
testq %rdi, %rdi
je 0x562e
callq 0x2280
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x563d
movq %rsi, %rdi
callq 0x2030
jmp 0x563f
xorl %eax, %eax
movq %rax, 0x10(%rbx)
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/conchoecia[P]fasta_stats/src/pretty_print.cc
// Function: pretty_print[abi:cxx11](unsigned long, bool)
std::string pretty_print(unsigned long x, bool negative) {
	std::string s = itoa(x, negative);
	int commas = (s.length() - 1 - (negative ? 1 : 0)) / 3;
	size_t a = s.length() - 1;
	size_t b = a + commas;
	s.resize(b + 1);
	int i;
	for (i = 0; a < b; --a, --b, ++i) {
		s[b] = s[a];
		if (i == 2) {
			i = -1;
			s[--b] = ',';
		}
	}
	return s;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rdi, %rbx
callq 0x459c
movq 0x8(%rbx), %rsi
leaq -0x1(%rsi), %r14
movl %ebp, %ecx
movq %r14, %rax
subq %rcx, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rcx
shrq %rdx
movslq %edx, %r15
addq %r15, %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x20d0
addq %r14, %r15
cmpq %r15, %r14
jae 0x5755
xorl %eax, %eax
movq (%rbx), %rcx
movb (%rcx,%r14), %dl
movb %dl, (%rcx,%r15)
cmpl $0x2, %eax
jne 0x5748
movq (%rbx), %rax
movb $0x2c, -0x1(%rax,%r15)
decq %r15
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
decq %r14
decq %r15
incl %eax
cmpq %r15, %r14
jb 0x5727
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
addq $0x10, %rbx
cmpq %rbx, %rdi
je 0x5777
callq 0x2220
movq %r14, %rdi
callq 0x2370
// File: /workspace/github_cpp_makefile_star2_O3/bsegovia[P]boodew/boodew.cpp
// Function: boodew::format[abi:cxx11](char const*, ...)
string format(const char *fmt, ...) {
  int size = 256;
  string str;
  va_list ap;
  for (;;) {
    str.resize(size);
    va_start(ap, fmt);
    const auto n = vsnprintf((char*)str.c_str(), size, fmt, ap);
    if (n < 0) throw boodew_exception("format string issue");
    va_end(ap);
    if (n < size) {
      str.resize(n);
      return str;
    }
    size = n+1;
  }
  return str;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x50(%rsp), %rsi
movq %rdx, 0x10(%rsi)
movq %rcx, 0x18(%rsi)
movq %r8, 0x20(%rsi)
movq %r9, 0x28(%rsi)
testb %al, %al
je 0x463c
movaps %xmm0, 0x80(%rsp)
movaps %xmm1, 0x90(%rsp)
movaps %xmm2, 0xa0(%rsp)
movaps %xmm3, 0xb0(%rsp)
movaps %xmm4, 0xc0(%rsp)
movaps %xmm5, 0xd0(%rsp)
movaps %xmm6, 0xe0(%rsp)
movaps %xmm7, 0xf0(%rsp)
leaq 0x10(%rdi), %rax
movq %rax, 0x8(%rsp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movl $0x100, %eax            # imm = 0x100
leaq 0x140(%rsp), %r13
movabsq $0x3000000010, %rbp     # imm = 0x3000000010
leaq 0x10(%rsp), %r15
movl %eax, %r12d
movq %rbx, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x3080
leaq 0x50(%rsp), %rax
movq %rax, 0x20(%rsp)
movq %r13, 0x18(%rsp)
movq %rbp, 0x10(%rsp)
movq (%rbx), %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %r15, %rcx
callq 0x3348
testl %eax, %eax
js 0x46d3
cmpl %r12d, %eax
jl 0x46b2
incl %eax
jmp 0x4670
movl %eax, %esi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x3080
movq %rbx, %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x28, %edi
callq 0x30f0
movq %rax, %r14
leaq 0x40(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x592f(%rip), %rsi      # 0xa020
leaq 0x593b(%rip), %rdx      # 0xa033
leaq 0x30(%rsp), %rdi
callq 0x7ffa
movb $0x1, %bpl
leaq 0x30(%rsp), %rsi
movq %r14, %rdi
callq 0x6e4a
xorl %ebp, %ebp
leaq 0xa49d(%rip), %rsi      # 0xebb8
leaq 0x2772(%rip), %rdx      # 0x6e94
movq %r14, %rdi
callq 0x32f0
jmp 0x475a
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x4746
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3200
testb %bpl, %bpl
jne 0x4750
jmp 0x475d
movq %rax, %r15
movq %r14, %rdi
callq 0x3180
jmp 0x475d
movq %rax, %r15
movq (%rbx), %rdi
cmpq 0x8(%rsp), %rdi
je 0x4777
movq 0x8(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3200
movq %r15, %rdi
callq 0x3300
// File: /workspace/github_cpp_makefile_star2_O3/bsegovia[P]boodew/boodew.cpp
// Function: boodew::while_builtin(std::vector<boodew::value, std::allocator<boodew::value>> const&)
static value while_builtin(args arg) {
  value last;
  while (vtob(ex(vtos(get(arg,1))))) try {return last=ex(vtos(get(arg,2))); }
    catch (bool b) { if (b) break; else continue; }
  return last;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x48(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x10(%rdi), %rax
movq %rax, 0x30(%rsp)
leaq 0x10(%rsp), %r14
leaq 0x68(%rsp), %r12
leaq 0x38(%rsp), %r13
movl $0x1, %esi
movq %r15, %rdi
callq 0x48d3
movq %r14, %rdi
movq %rax, %rsi
callq 0x477f
movq %r12, %rdi
movq %r14, %rsi
callq 0x542c
movq %r12, %rdi
callq 0x4899
movl %eax, %ebp
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x4b64
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3200
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x4b80
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3200
testb %bpl, %bpl
je 0x4c68
movq %r13, %rbp
movl $0x2, %esi
movq %r15, %rdi
callq 0x48d3
movq %r14, %rdi
movq %rax, %rsi
callq 0x477f
movq %r12, %rdi
movq %r14, %rsi
callq 0x542c
movq %rbp, %rdi
movq %r12, %rsi
callq 0x3260
leaq 0x78(%rsp), %rbp
movups 0x10(%rbp), %xmm0
leaq 0x48(%rsp), %r14
movups %xmm0, 0x10(%r14)
movq 0x30(%rsp), %rax
movq %rax, (%rbx)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x7070
jmp 0x4c8d
movq %rdx, 0x8(%rsp)
movq %rax, %r14
jmp 0x4c22
movq %rdx, 0x8(%rsp)
movq %rax, %r14
jmp 0x4c3e
movq %rdx, 0x8(%rsp)
movq %rax, %r14
movq 0x68(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4c22
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3200
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x4c3e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3200
cmpl $0x1, 0x8(%rsp)
jne 0x4d32
movq %r14, %rdi
callq 0x30d0
movb (%rax), %bpl
callq 0x32e0
cmpb $0x1, %bpl
leaq 0x10(%rsp), %r14
jne 0x4b1b
movq 0x30(%rsp), %rcx
movq %rcx, (%rbx)
movq 0x38(%rsp), %rax
leaq 0x48(%rsp), %rdx
cmpq %rdx, %rax
je 0x4cf5
movq %rax, (%rbx)
movq 0x48(%rsp), %rax
movq %rax, 0x10(%rbx)
jmp 0x4cfb
movups 0x10(%r14), %xmm0
movups %xmm0, 0x20(%rbx)
movq 0x68(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4cad
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3200
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x4cc9
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3200
movq 0x38(%rsp), %rdi
cmpq %r14, %rdi
je 0x4ce0
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x3200
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movups (%rdx), %xmm0
movups %xmm0, (%rcx)
movq 0x40(%rsp), %rax
movq %rax, 0x8(%rbx)
movups 0x10(%rdx), %xmm0
movups %xmm0, 0x20(%rbx)
jmp 0x4ce0
movq %rax, %r14
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x4d32
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3200
jmp 0x4d32
movq %rax, %r14
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x4d4e
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x3200
movq %r14, %rdi
callq 0x3300
// File: /workspace/github_cpp_makefile_star2_O3/bsegovia[P]boodew/boodew.cpp
// Function: boodew::getvar(std::vector<boodew::value, std::allocator<boodew::value>> const&)
static value getvar(args arg) {
  const auto key = vtos(get(arg,1));
  for (auto it = unique<stack>()->rbegin(); it != unique<stack>()->rend(); ++it) {
    auto local = it->find(key);
    if (local != it->end()) return local->second;
  }
  const auto it = unique<cvar_map>()->find(key);
  if (it != unique<cvar_map>()->end()) return it->second();
  throw boodew_exception(format("unknown identifier %s", key.c_str()));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rsi, %rax
movq %rdi, %rbx
movl $0x1, %esi
movq %rax, %rdi
callq 0x48d3
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x477f
callq 0x729b
movq 0x8(%rax), %r15
callq 0x729b
cmpq (%rax), %r15
je 0x524a
addq $-0x38, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x7ad4
movq %rax, %r12
testq %rax, %rax
je 0x5201
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x28(%r12), %rsi
movq 0x30(%r12), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x7070
movups 0x48(%r12), %xmm0
movups %xmm0, 0x20(%rbx)
jmp 0x5280
callq 0x6f1f
movq %rsp, %rsi
movq %rax, %rdi
callq 0x7b0e
movq %rax, %r14
callq 0x6f1f
testq %r14, %r14
je 0x52ab
cmpq $0x0, 0x38(%r14)
je 0x52f7
movq %r14, %rsi
addq $0x28, %rsi
movq %rbx, %rdi
callq *0x40(%r14)
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x529b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3200
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x28, %edi
callq 0x30f0
movq %rax, %rbx
movq (%rsp), %rdx
leaq 0x4df7(%rip), %rsi      # 0xa0ba
leaq 0x20(%rsp), %rdi
xorl %eax, %eax
callq 0x45cc
movb $0x1, %bpl
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x6e4a
xorl %ebp, %ebp
leaq 0x98d0(%rip), %rsi      # 0xebb8
leaq 0x1ba5(%rip), %rdx      # 0x6e94
movq %rbx, %rdi
callq 0x32f0
callq 0x30c0
movq %rax, %r14
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x531a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3200
testb %bpl, %bpl
jne 0x5324
jmp 0x5335
movq %rax, %r14
movq %rbx, %rdi
callq 0x3180
jmp 0x5335
jmp 0x5332
jmp 0x5332
movq %rax, %r14
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5350
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3200
movq %r14, %rdi
callq 0x3300
// File: /workspace/github_cpp_makefile_star2_O3/bsegovia[P]boodew/tests.cpp
// Function: run(char const*, bool)
static void run(const char *str, bool fails=false) {
  const auto r = boodew::exec(str);
  if (!r.second != fails)
    cout << "FAILED with " << r.first;
  if (!fails)
    cout << endl;
  else
    cout << r.first << endl;
}

// Assembly:
pushq %rbx
subq $0x50, %rsp
movl %esi, %ebx
movq %rdi, %rsi
leaq 0x30(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x6e0c
leaq 0x8(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x5358
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8e37
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3200
cmpb %bl, 0x28(%rsp)
jne 0x8e6b
movq 0x618c(%rip), %rdi      # 0xefd0
leaq 0x1ac8(%rip), %rsi      # 0xa913
movl $0xc, %edx
callq 0x3240
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x616a(%rip), %rdi      # 0xefd0
callq 0x3240
testb %bl, %bl
je 0x8e9e
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x6150(%rip), %rdi      # 0xefd0
callq 0x3240
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x31e0
jmp 0x8eb9
movq 0x612b(%rip), %rbx      # 0xefd0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x31e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3150
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8ee7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3200
addq $0x50, %rsp
popq %rbx
retq
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8f28
movq 0x40(%rsp), %rsi
jmp 0x8f20
movq %rax, %rbx
jmp 0x8f28
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8f28
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3200
movq %rbx, %rdi
callq 0x3300
// File: /workspace/github_cpp_makefile_star2_O3/tplinderoth[P]introDist/Dxyz.cpp
// Function: setPopTable(std::basic_ifstream<char, std::char_traits<char>>&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, int>>>&)
int setPopTable(std::ifstream &popfile, std::map<std::string, int> &popmap) {
	std::string sample;
	int pop;
	while (popfile >> sample) {
		popfile >> pop;
		switch (pop) {
			case 0:
				break;
			case 1:
				break;
			case 2:
				break;
			default:
				std::cerr << "Invalid population label " << pop << "\n";
				return -1;
		}
		popmap.insert(std::pair<std::string, int>(sample, pop));
	}
	if (popmap.size() == 0) {
		std::cerr << "Population map is empty\n";
	}
	return popmap.size();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x40(%rsp), %rbp
leaq 0x10(%rsp), %r15
leaq 0xc(%rsp), %r12
leaq 0x30(%rsp), %r13
movq %r14, %rdi
movq %r15, %rsi
callq 0x63f0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x7f17
movq %r14, %rdi
movq %r12, %rsi
callq 0x61c0
cmpl $0x3, 0xc(%rsp)
jae 0x7f3e
movq %rbp, 0x30(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x8d52
movl 0xc(%rsp), %eax
movl %eax, 0x50(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0xe2ca
movq 0x30(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7ea6
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6310
jmp 0x7ea6
movq 0x28(%rbx), %r14
testq %r14, %r14
jne 0x7f80
movq 0xf0c1(%rip), %rdi      # 0x16fe8
leaq 0x7582(%rip), %rsi      # 0xf4b0
movl $0x18, %edx
callq 0x6390
movq 0x28(%rbx), %r14
jmp 0x7f80
movq 0xf0a3(%rip), %rdi      # 0x16fe8
leaq 0x754a(%rip), %rsi      # 0xf496
movl $0x19, %edx
callq 0x6390
movl 0xc(%rsp), %esi
movq 0xf087(%rip), %rdi      # 0x16fe8
callq 0x6580
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
leaq 0x7118(%rip), %rsi      # 0xf08b
movl $0x1, %edx
movq %rax, %rdi
callq 0x6390
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x7f9c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6310
movl %r14d, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7fce
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7fd1
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6310
jmp 0x7fd1
jmp 0x7fce
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x7fed
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6310
movq %rbx, %rdi
callq 0x6590
// File: /workspace/github_cpp_makefile_star2_O3/tplinderoth[P]introDist/Dxyz.cpp
// Function: parseGenotype(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<int, std::allocator<int>>&)
std::vector<int>::iterator& parseGenotype (const std::string &gt, std::vector<int> &alleles) {
	// sets the alleles in the allele vector and advances the iterator to the last set position
	static std::vector<int>::iterator it = alleles.begin();

	if (gt[1] == '/' || gt[1] == '|') {
		for (unsigned int i=0; i<3; i+=2) {
			switch (gt[i]) {
				case '0':
					*it = 0;
					break;
				case '1':
					*it = 1;
					break;
				case '.':
					*it = -9;
					break;
				default:
					std::cerr << "Unrecognized allele " << gt[i] << "\n";
					it = alleles.end();
					return it;
			}
			++it;
		}
	} else {
		std::cerr << "Invalid genotype subfield format\n";
		it=alleles.end();
		return it;
	}

	if (it == alleles.end()) {
		it = alleles.begin();
	}

	return it;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movb 0xf332(%rip), %al       # 0x17378
testb %al, %al
je 0x8135
movq (%r14), %rax
movzbl 0x1(%rax), %ecx
cmpl $0x7c, %ecx
je 0x805f
cmpl $0x2f, %ecx
jne 0x80b5
movb $0x1, %dl
movq 0xf308(%rip), %rcx      # 0x17370
xorl %r12d, %r12d
movzbl (%rax,%r12), %esi
cmpl $0x2e, %esi
je 0x808b
movl $0x0, %edi
cmpl $0x30, %esi
je 0x8090
cmpl $0x31, %esi
jne 0x80ca
movl $0x1, %edi
jmp 0x8090
movl $0xfffffff7, %edi       # imm = 0xFFFFFFF7
movl %edi, (%rcx)
addq $0x4, %rcx
movq %rcx, 0xf2d3(%rip)      # 0x17370
movl $0x2, %r12d
testb $0x1, %dl
movl $0x0, %edx
jne 0x806b
cmpq 0x8(%rbx), %rcx
jne 0x8122
jmp 0x8118
movq 0xef2c(%rip), %rdi      # 0x16fe8
leaq 0x741b(%rip), %rsi      # 0xf4de
movl $0x21, %edx
jmp 0x810f
movq 0xef17(%rip), %r15      # 0x16fe8
leaq 0x73f1(%rip), %rsi      # 0xf4c9
movl $0x14, %edx
movq %r15, %rdi
callq 0x6390
movq (%r14), %rax
movb (%rax,%r12), %al
leaq 0x7(%rsp), %rsi
movb %al, (%rsi)
movl $0x1, %edx
movq %r15, %rdi
callq 0x6390
leaq 0x6f84(%rip), %rsi      # 0xf08b
movl $0x1, %edx
movq %rax, %rdi
callq 0x6390
addq $0x8, %rbx
movq (%rbx), %rax
movq %rax, 0xf24e(%rip)      # 0x17370
leaq 0xf247(%rip), %rax      # 0x17370
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rbx, %rdi
callq 0x6622
jmp 0x804e
// File: /workspace/github_cpp_makefile_star2_O3/tplinderoth[P]introDist/Dxyz.cpp
// Function: calcDxyzWindow(Matrix<double> const&, unsigned int, double*, int*, double, double*)
double calcDxyzWindow(const Matrix<double> &dxy, unsigned int lastidx, double* nseqavg, int *nsites, const double minmaf, double* dxy_comp) {
	/*
	 * calculates Dxyz statistic as average_Dxy(source_pop,sink_pop)/average_Dxy(source_pop,outgroup_pop)
	 * average_Dxy = 1/N*[sum_i=1_to_i=N(Dxy)], N = number of sites
	 *
	 * Encode windows with no data or with no source-outgroup differences as -9
	 */

	dxy_comp[0] = 0; // Source-Sink average dxy
	dxy_comp[1] = 0; // Source-Outgroup average dxy
	*nseqavg = 0;
	*nsites = 0;

	unsigned int i;
	for (i=0; i<=lastidx; ++i) {
		if (dxy(i,0) != -9 && dxy(i,1) != -9 && dxy(i,4) >= minmaf) {
			dxy_comp[0] += dxy(i,0);
			dxy_comp[1] += dxy(i,1);
			*nseqavg += dxy(i,3);
			++*nsites;
		}
	}

	dxy_comp[0] /= *nsites;
	dxy_comp[1] /= *nsites;
	*nseqavg /= *nsites;

	if (*nsites < 1) return -9;

	return (dxy_comp[1] > 0 ? dxy_comp[0]/dxy_comp[1] : -9);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %rbx
movsd %xmm0, 0x10(%rsp)
movq %rcx, %r15
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %r12
xorps %xmm0, %xmm0
movups %xmm0, (%r8)
movq $0x0, (%rdx)
movl $0x0, (%rcx)
xorl %r13d, %r13d
movsd 0x6bb2(%rip), %xmm0     # 0xf018
movsd %xmm0, 0x8(%rsp)
movq %r12, %rdi
movl %r13d, %esi
xorl %edx, %edx
callq 0x8c0c
ucomisd 0x6b97(%rip), %xmm0     # 0xf018
jne 0x8489
jnp 0x8509
movq %r12, %rdi
movl %r13d, %esi
movl $0x1, %edx
callq 0x8c0c
ucomisd 0x6b77(%rip), %xmm0     # 0xf018
jne 0x84a5
jnp 0x8509
movq %r12, %rdi
movl %r13d, %esi
movl $0x4, %edx
callq 0x8c0c
ucomisd 0x10(%rsp), %xmm0
jb 0x8509
movq %r12, %rdi
movl %r13d, %esi
xorl %edx, %edx
callq 0x8c0c
addsd (%rbx), %xmm0
movsd %xmm0, (%rbx)
movq %r12, %rdi
movl %r13d, %esi
movl $0x1, %edx
callq 0x8c0c
addsd 0x8(%rbx), %xmm0
movsd %xmm0, 0x8(%rbx)
movq %r12, %rdi
movl %r13d, %esi
movl $0x3, %edx
callq 0x8c0c
addsd (%r14), %xmm0
movsd %xmm0, (%r14)
incl (%r15)
incl %r13d
cmpl %ebp, %r13d
jbe 0x846c
movl (%r15), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movupd (%rbx), %xmm1
movapd %xmm0, %xmm2
unpcklpd %xmm0, %xmm2            # xmm2 = xmm2[0],xmm0[0]
divpd %xmm2, %xmm1
movupd %xmm1, (%rbx)
movsd (%r14), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%r14)
testl %eax, %eax
jle 0x8562
movsd 0x8(%rbx), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x8562
movsd (%rbx), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movsd 0x8(%rsp), %xmm0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/tplinderoth[P]introDist/Dxyz.cpp
// Function: printWindow(std::ostream&, double const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int const&, unsigned int const&, double const&, double const&, double*)
void printWindow (std::ostream &outstream, const double &dxyz, const std::string &seqid, const unsigned int &startpos, const unsigned int &endpos,
		const double &nseq, const double &nsites, double* dxy_comp) {
	outstream << seqid << "\t" << startpos << "\t" << endpos << "\t" << dxy_comp[0] << "\t" << dxy_comp[1] << "\t";
	if (dxyz != -9) {
		outstream << dxyz << "\t";
	} else {
		outstream << "NA\t";
	}
	outstream << nseq << "\t" << nsites << "\n";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, 0x8(%rsp)
movq %r8, %r13
movq %rcx, %rbp
movq %rsi, (%rsp)
movq %rdi, %r14
movq 0x50(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x58(%rsp), %r15
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
callq 0x6390
movq %rax, %rbx
leaq 0x6ed8(%rip), %r12      # 0xf494
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x6390
movl (%rbp), %esi
movq %rbx, %rdi
callq 0x6210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x6390
movl (%r13), %esi
movq %rbx, %rdi
callq 0x6210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x6390
movsd (%r15), %xmm0
movq %rbx, %rdi
callq 0x6510
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x6390
movsd 0x8(%r15), %xmm0
movq %rbx, %rdi
callq 0x6510
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x6390
movq (%rsp), %rax
movsd (%rax), %xmm0
ucomisd 0x69c1(%rip), %xmm0     # 0xf018
jne 0x865b
jnp 0x8674
movq %r14, %rdi
callq 0x6510
leaq 0x6e2a(%rip), %rsi      # 0xf494
movl $0x1, %edx
movq %rax, %rdi
jmp 0x8683
leaq 0x6e17(%rip), %rsi      # 0xf492
movl $0x3, %edx
movq %r14, %rdi
callq 0x6390
movq 0x8(%rsp), %rax
movsd (%rax), %xmm0
movq %r14, %rdi
callq 0x6510
movq %rax, %rbx
leaq 0x6df1(%rip), %rsi      # 0xf494
movl $0x1, %edx
movq %rax, %rdi
callq 0x6390
movq 0x10(%rsp), %rax
movsd (%rax), %xmm0
movq %rbx, %rdi
callq 0x6510
leaq 0x69c3(%rip), %rsi      # 0xf08b
movl $0x1, %edx
movq %rax, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6390
// File: /workspace/github_cpp_makefile_star2_O3/tplinderoth[P]introDist/Dxyz.cpp
// Function: slideWindow(Matrix<double>&, unsigned int, unsigned int, unsigned int)
unsigned int slideWindow (Matrix<double> &win, const unsigned int winsize, const unsigned int step, unsigned int nsites) {
	/*
	 * Advances window along chromosome
	 * returns the number of sites shifted to the beginning of the window
	 */

	unsigned int nshift = 0;
	if (nsites == winsize) {
		// advance existing window
		nshift = winsize - step;
		for (unsigned int i=0; i<nshift; ++i) {
			int k=step+i;
			for (unsigned int j=0; j<win.ncol(); ++j) {
				win(i,j) = win(k,j);
			}
		}
	}

	return nshift;
}

// Assembly:
xorl %eax, %eax
cmpl %esi, %ecx
jne 0x8767
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movl %edx, %r14d
subl %edx, %ebx
je 0x8759
movq %rdi, %r15
movl 0x4(%rdi), %eax
xorl %r12d, %r12d
testl %eax, %eax
movl $0x0, %eax
je 0x874f
leal (%r12,%r14), %ebp
xorl %r13d, %r13d
movq %r15, %rdi
movl %ebp, %esi
movl %r13d, %edx
callq 0x8af6
movsd (%rax), %xmm0
movsd %xmm0, (%rsp)
movq %r15, %rdi
movl %r12d, %esi
movl %r13d, %edx
callq 0x8af6
movsd (%rsp), %xmm0
movsd %xmm0, (%rax)
incl %r13d
movl 0x4(%r15), %eax
cmpl %eax, %r13d
jb 0x8716
incl %r12d
cmpl %ebx, %r12d
jne 0x8706
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq