LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/Wheatwizard[P]Waldo/Well.cpp
// Function: Well::pop()
Capsule Well::pop() {
	Capsule result = *locationMarker;
	++locationMarker;
	//I should probably make a Well iterator
	if (locationMarker == loopPath.end() || locationMarker == startPath.end()) {
		locationMarker = loopPath.begin();
	}
	return result;
}

// Assembly:
movq %rdi, %rax
movq 0x30(%rsi), %rcx
movups (%rcx), %xmm0
movups %xmm0, (%rdi)
addq $0x10, %rcx
movq %rcx, 0x30(%rsi)
cmpq 0x20(%rsi), %rcx
je 0x4a56
cmpq 0x8(%rsi), %rcx
je 0x4a56
retq
movq 0x18(%rsi), %rcx
movq %rcx, 0x30(%rsi)
retq
// File: /workspace/github_cpp_makefile_star2_O2/gogakoreli[P]snake/main.cpp
// Function: start_game()
void start_game()
{
    while (true)
    {
        snake.update_movement();
        if (is_game_end())
        {
            game_over();
            break;
        }
        snake_map.redraw();

        usleep(PAUSE_LENGTH);

        snake.validate_direction();
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
leaq 0x2cfd(%rip), %rbx      # 0x40f8
leaq 0x3396(%rip), %r14      # 0x4798
movq %rbx, %rdi
callq 0x166c
callq 0x13ab
testb %al, %al
jne 0x142f
movq %r14, %rdi
callq 0x1af0
movl $0x30d40, %edi          # imm = 0x30D40
callq 0x1140
movq %rbx, %rdi
callq 0x1658
jmp 0x1402
popq %rbx
popq %r14
popq %rbp
jmp 0x13cd
// File: /workspace/github_cpp_makefile_star2_O2/gogakoreli[P]snake/snake.cpp
// Function: Snake::Snake()
Snake::Snake(void)
{
    direction = East;
    next_direction = direction;
    food_eaten = false;
    is_dead = false;
    length = INITIAL_SNAKE_LENGTH;
    clear_snake_world();
    initialize_snake();
    sem_init(&snake_sema, 0, 1);
    pthread_create(&input_thread, NULL, input_thread_work, this);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
andq $0x0, 0x58(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movups %xmm0, 0x10(%rdi)
movabsq $0x200000002, %rax      # imm = 0x200000002
movq %rax, 0x50(%rdi)
andw $0x0, 0x20(%rdi)
movl $0x3, 0x24(%rdi)
callq 0x1500
movq %rbx, %rdi
callq 0x152c
leaq 0x30(%rbx), %rdi
pushq $0x1
popq %rdx
xorl %esi, %esi
callq 0x1090
leaq 0x28(%rbx), %rdi
leaq -0x77(%rip), %rdx       # 0x1468
xorl %esi, %esi
movq %rbx, %rcx
popq %rbx
popq %r14
popq %rbp
jmp 0x1190
movq %rax, %r14
movq %rbx, %rdi
callq 0x1454
movq %r14, %rdi
callq 0x1180
// File: /workspace/github_cpp_makefile_star2_O2/gogakoreli[P]snake/snake.cpp
// Function: Snake::initialize_snake()
void Snake::initialize_snake(void)
{
    for (int i = 0; i < INITIAL_SNAKE_LENGTH; i++)
    {
        pair<int, int> snake_part = make_pair(MAP_HEIGHT / 2, MAP_WIDTH / 2 - (INITIAL_SNAKE_LENGTH / 2) + i);
        snake_parts.push_back(snake_part);
        snake_world_array[snake_part.first][snake_part.second] = 1;
    }
    snake_head = snake_parts[snake_parts.size() - 1];
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x60(%rdi), %r15
movabsq $0x90000000a, %r12      # imm = 0x90000000A
pushq $0x3
popq %r13
movabsq $0x100000000, %r14      # imm = 0x100000000
subq $0x1, %r13
jb 0x158a
movq %r12, -0x30(%rbp)
movq %rbx, %rdi
leaq -0x30(%rbp), %rsi
callq 0x174e
movslq -0x30(%rbp), %rax
movslq -0x2c(%rbp), %rcx
imulq $0x50, %rax, %rax
addq %r15, %rax
movl $0x1, (%rax,%rcx,4)
addq %r14, %r12
jmp 0x1559
movq 0x8(%rbx), %rax
movl -0x8(%rax), %ecx
movl %ecx, 0x18(%rbx)
movl -0x4(%rax), %eax
movl %eax, 0x1c(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/gogakoreli[P]snake/snake.cpp
// Function: Snake::update_direction(Direction)
void Snake::update_direction(enum Direction direction)
{
    sem_wait(&this->snake_sema);
    switch (direction)
    {
    case West:
        if (this->direction != East)
        {
            this->direction = direction;
        }
        break;
    case North:
        if (this->direction != South)
        {
            this->direction = direction;
        }
        break;
    case East:
        if (this->direction != West)
        {
            this->direction = direction;
        }
        break;
    case South:
        if (this->direction != North)
        {
            this->direction = direction;
        }
        break;
    }
    sem_post(&this->snake_sema);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %r15d
movq %rdi, %r14
leaq 0x30(%rdi), %rbx
movq %rbx, %rdi
callq 0x1070
cmpl $0x3, %r15d
ja 0x161e
movl %r15d, %eax
leaq 0xa3e(%rip), %rcx       # 0x2014
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpl $0x2, 0x50(%r14)
je 0x161e
andl $0x0, 0x50(%r14)
jmp 0x161e
cmpl $0x0, 0x50(%r14)
je 0x161e
movl $0x2, 0x50(%r14)
jmp 0x161e
cmpl $0x1, 0x50(%r14)
je 0x161e
movl $0x3, 0x50(%r14)
jmp 0x161e
cmpl $0x3, 0x50(%r14)
je 0x161e
movl $0x1, 0x50(%r14)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x1160
// File: /workspace/github_cpp_makefile_star2_O2/gogakoreli[P]snake/snake.cpp
// Function: Snake::get_direction()
enum Direction Snake::get_direction(void)
{
    enum Direction result = East;
    sem_wait(&this->snake_sema);
    result = this->direction;
    sem_post(&this->snake_sema);
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x30(%rdi), %r14
movq %r14, %rdi
callq 0x1070
movl 0x50(%rbx), %ebx
movq %r14, %rdi
callq 0x1160
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/gogakoreli[P]snake/snake.cpp
// Function: Snake::update_movement()
void Snake::update_movement(void)
{
    pair<int, int> movement_part;
    enum Direction direction = get_direction();
    switch (direction)
    {
    case West:
        movement_part = make_pair(snake_head.first, snake_head.second - 1);
        break;
    case North:
        movement_part = make_pair(snake_head.first - 1, snake_head.second);
        break;
    case East:
        movement_part = make_pair(snake_head.first, snake_head.second + 1);
        break;
    case South:
        movement_part = make_pair(snake_head.first + 1, snake_head.second);
        break;
    }
    snake_head = movement_part;
    snake_parts.push_back(movement_part);
    food_eaten = snake_head.first == snake_food.first && snake_head.second == snake_food.second;
    if (food_eaten)
    {
        length++;
    }
    else
    {
        pair<int, int> tail = snake_parts.front();
        snake_world_array[tail.first][tail.second]--;
        snake_parts.erase(snake_parts.begin());
    }
    int head_value = ++snake_world_array[snake_head.first][snake_head.second];
    if (head_value > 1)
    {
        is_dead = true;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
andq $0x0, -0x10(%rbp)
callq 0x1630
cmpl $0x3, %eax
ja 0x173e
movl %eax, %eax
leaq 0x993(%rip), %rcx       # 0x2024
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x18(%rbx), %eax
movl 0x1c(%rbx), %ecx
decl %ecx
jmp 0x16c0
movl 0x18(%rbx), %eax
movl 0x1c(%rbx), %ecx
incl %ecx
jmp 0x16c0
movl 0x18(%rbx), %eax
movl 0x1c(%rbx), %ecx
incl %eax
jmp 0x16c0
movl 0x18(%rbx), %eax
movl 0x1c(%rbx), %ecx
decl %eax
movl %eax, -0x10(%rbp)
movl %ecx, -0xc(%rbp)
movl %eax, 0x18(%rbx)
movl %ecx, 0x1c(%rbx)
leaq -0x10(%rbp), %rsi
movq %rbx, %rdi
callq 0x174e
movl 0x18(%rbx), %ecx
movl 0x1c(%rbx), %eax
movl 0x58(%rbx), %edx
xorl %ecx, %edx
movl 0x5c(%rbx), %esi
xorl %eax, %esi
orl %edx, %esi
sete 0x20(%rbx)
jne 0x16f5
incl 0x24(%rbx)
jmp 0x1718
movq (%rbx), %rsi
movslq (%rsi), %rax
movslq 0x4(%rsi), %rcx
imulq $0x50, %rax, %rax
addq %rbx, %rax
decl 0x60(%rax,%rcx,4)
movq %rbx, %rdi
callq 0x1772
movl 0x18(%rbx), %ecx
movl 0x1c(%rbx), %eax
movslq %ecx, %rcx
imulq $0x50, %rcx, %rcx
addq %rbx, %rcx
cltq
movl 0x60(%rcx,%rax,4), %edx
leal 0x1(%rdx), %esi
movl %esi, 0x60(%rcx,%rax,4)
testl %edx, %edx
jle 0x1737
movb $0x1, 0x21(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
xorl %ecx, %ecx
xorl %eax, %eax
jmp 0x16c6
// File: /workspace/github_cpp_makefile_star2_O2/gogakoreli[P]snake/input.cpp
// Function: get_input()
enum Direction get_input()
{
    enum Direction result = East;
    char user_input = getchar();
    switch (user_input)
    {
    case 'a':
        result = West;
        break;
    case 'w':
        result = North;
        break;
    case 'd':
        result = East;
        break;
    case 's':
        result = South;
        break;
    default:
        result = Error;
        cout << "Incorrect button clicked(" << user_input << ")" << endl;
        break;
    }
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
callq 0x1130
movl %eax, %ebx
cmpb $0x61, %bl
je 0x19c8
movsbl %bl, %eax
cmpl $0x64, %eax
je 0x19c0
cmpl $0x73, %eax
je 0x19c4
cmpl $0x77, %eax
jne 0x19cc
pushq $0x1
jmp 0x1a03
pushq $0x2
jmp 0x1a03
pushq $0x3
jmp 0x1a03
xorl %eax, %eax
jmp 0x1a04
movq 0x2605(%rip), %rdi      # 0x3fd8
leaq 0x674(%rip), %rsi       # 0x204e
callq 0x10e0
movsbl %bl, %esi
movq %rax, %rdi
callq 0x1110
leaq 0x677(%rip), %rsi       # 0x2068
movq %rax, %rdi
callq 0x10e0
movq %rax, %rdi
callq 0x1050
pushq $-0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/gogakoreli[P]snake/snake_map.cpp
// Function: SnakeMap::SnakeMap(Snake*)
SnakeMap::SnakeMap(Snake *snake)
{
    this->snake = snake;
    clear_map(this->map_array);
    srand(time(NULL));
    update_snake_food(true);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
andq $0x0, (%rdi)
movq %rsi, 0x198(%rdi)
addq $0x8, %rdi
callq 0x1a50
xorl %edi, %edi
callq 0x10b0
movl %eax, %edi
callq 0x10d0
pushq $0x1
popq %rsi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x1a78
// File: /workspace/github_cpp_makefile_star2_O2/gogakoreli[P]snake/snake_map.cpp
// Function: SnakeMap::update_snake_food(bool)
void SnakeMap::update_snake_food(bool force_update)
{
    if (snake->food_eaten || force_update)
    {
        while (true)
        {
            int random_i = rand() % MAP_WIDTH;
            int random_j = rand() % MAP_HEIGHT;
            if (map_array[random_i][random_j] == MAP_CHAR)
            {
                snake_food = make_pair(random_i, random_j);
                snake->set_snake_food(snake_food);
                snake->food_eaten = false;
                break;
            }
        }
    }
}

// Assembly:
movq 0x198(%rdi), %rax
orb 0x20(%rax), %sil
cmpb $0x1, %sil
jne 0x1aef
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
leaq 0x8(%rdi), %r15
pushq $0x14
popq %r12
callq 0x1030
cltd
idivl %r12d
movl %edx, %r14d
callq 0x1030
cltd
idivl %r12d
movslq %r14d, %rax
movslq %edx, %rcx
imulq $0x14, %rax, %rax
addq %r15, %rax
cmpb $0x2e, (%rcx,%rax)
jne 0x1a9f
movl %r14d, (%rbx)
movl %edx, 0x4(%rbx)
movq 0x198(%rbx), %rdi
movq (%rbx), %rsi
callq 0x1744
movq 0x198(%rbx), %rax
movb $0x0, 0x20(%rax)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 $0x18, %rsp
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
movq %r14, %rdi
callq 0x1a50
pushq $0x1e
popq %r12
movq 0x24bd(%rip), %r15      # 0x3fd8
subl $0x1, %r12d
jb 0x1b2b
movq %r15, %rdi
callq 0x1050
jmp 0x1b1b
movq %rbx, %rdi
callq 0x1c20
movq 0x198(%rbx), %rsi
leaq -0x40(%rbp), %r15
movq %r15, %rdi
callq 0x1ca0
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
xorl %edx, %edx
cmpq %rdx, %rcx
jbe 0x1b74
movslq (%rax,%rdx,8), %rsi
movslq 0x4(%rax,%rdx,8), %rdi
imulq $0x14, %rsi, %rsi
addq %r14, %rsi
movb $0x4f, (%rdi,%rsi)
incq %rdx
jmp 0x1b56
movq 0x198(%rbx), %rsi
movq %r14, %rdi
callq 0x1c5c
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1a78
movslq (%rbx), %rax
movslq 0x4(%rbx), %rcx
imulq $0x14, %rax, %rax
addq %rax, %r14
movb $0x2a, (%rcx,%r14)
xorl %r12d, %r12d
movq 0x242e(%rip), %r14      # 0x3fd8
leaq 0x4b9(%rip), %r15       # 0x206a
cmpq $0x14, %r12
je 0x1bef
pushq $0x8
popq %r13
cmpq $0x1c, %r13
je 0x1bde
movsbl (%rbx,%r13), %esi
movq %r14, %rdi
callq 0x1110
movq %rax, %rdi
movq %r15, %rsi
callq 0x10e0
incq %r13
jmp 0x1bbb
movq %r14, %rdi
callq 0x1050
incq %r12
addq $0x14, %rbx
jmp 0x1bb1
leaq -0x40(%rbp), %rdi
callq 0x1454
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1c0b
jmp 0x1c0b
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x1454
movq %rbx, %rdi
callq 0x1180
nop
// File: /workspace/github_cpp_makefile_star2_O2/gogakoreli[P]snake/snake_map.cpp
// Function: update_snake_head(char (*) [20], Snake*)
void update_snake_head(char map_array[MAP_HEIGHT][MAP_WIDTH], Snake *snake)
{
    char snake_head_char = SNAKE_CHAR;
    enum Direction direction = snake->get_direction();
    switch (direction)
    {
    case West:
        snake_head_char = SNAKE_HEAD_WEST;
        break;
    case North:
        snake_head_char = SNAKE_HEAD_NORTH;
        break;
    case East:
        snake_head_char = SNAKE_HEAD_EAST;
        break;
    case South:
        snake_head_char = SNAKE_HEAD_SOUTH;
        break;
    }
    pair<int, int> snake_head = snake->snake_head;
    map_array[snake_head.first][snake_head.second] = snake_head_char;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x1630
leal (,%rax,8), %ecx
movl $0x5e3c763e, %edx       # imm = 0x5E3C763E
shrl %cl, %edx
cmpl $0x4, %eax
pushq $0x4f
popq %rax
cmovbl %edx, %eax
movslq 0x18(%rbx), %rcx
movslq 0x1c(%rbx), %rdx
imulq $0x14, %rcx, %rcx
addq %r14, %rcx
movb %al, (%rdx,%rcx)
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %r15
pushq %r14
pushq %rbx
movq 0x6ccc(%rip), %r15      # 0x9fd0
movq (%r15), %rcx
leaq 0x2d3d(%rip), %rdi      # 0x604b
pushq $0x2a
popq %r14
pushq $0x1
popq %rbx
movq %r14, %rsi
movq %rbx, %rdx
callq 0x23b0
movq (%r15), %rcx
leaq 0x2d4c(%rip), %rdi      # 0x6076
pushq $0x2e
popq %rsi
movq %rbx, %rdx
callq 0x23b0
movq (%r15), %rcx
leaq 0x2d66(%rip), %rdi      # 0x60a5
pushq $0x33
popq %rsi
movq %rbx, %rdx
callq 0x23b0
movq (%r15), %rcx
leaq 0x2d85(%rip), %rdi      # 0x60d9
movq %r14, %rsi
movq %rbx, %rdx
callq 0x23b0
movq (%r15), %rcx
leaq 0x2d9b(%rip), %rdi      # 0x6104
pushq $0x37
popq %rsi
movq %rbx, %rdx
callq 0x23b0
movq (%r15), %rcx
leaq 0x2dbe(%rip), %rdi      # 0x613c
pushq $0x36
popq %rsi
movq %rbx, %rdx
callq 0x23b0
xorl %edi, %edi
callq 0x2280
// File: /workspace/github_cpp_makefile_star2_O2/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 0x33b2
cvtsi2sd %rsi, %xmm0
divsd 0x2c6f(%rip), %xmm0     # 0x6018
leaq 0x2f1d(%rip), %rdi      # 0x62cd
jmp 0x33cf
cmpq $0x3e8, %rsi            # imm = 0x3E8
jl 0x33d6
cvtsi2sd %rsi, %xmm0
divsd 0x2c48(%rip), %xmm0     # 0x6010
leaq 0x2f06(%rip), %rdi      # 0x62d5
movb $0x1, %al
jmp 0x2050
leaq 0x2f00(%rip), %rdi      # 0x62dd
xorl %eax, %eax
jmp 0x2050
// File: /workspace/github_cpp_makefile_star2_O2/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
pushq $0x3
popq %rdi
cltd
idivl %edi
cmpl $0x2, %edx
jne 0x341d
cmpl $0xf4240, %esi          # imm = 0xF4240
jl 0x3439
cvtsi2sd %esi, %xmm0
divsd 0x2c09(%rip), %xmm0     # 0x6018
leaq 0x2f29(%rip), %rdi      # 0x633f
movb $0x1, %al
jmp 0x2050
cmpl $0xf4240, %esi          # imm = 0xF4240
jl 0x345e
movl $0xf4240, %ecx          # imm = 0xF4240
movl %esi, %eax
xorl %edx, %edx
divl %ecx
leaq 0x2f2f(%rip), %rdi      # 0x6366
jmp 0x3478
cmpl $0x2710, %esi           # imm = 0x2710
jge 0x3466
cmpl $0x3e8, %esi            # imm = 0x3E8
jl 0x3481
cvtsi2sd %esi, %xmm0
divsd 0x2bbb(%rip), %xmm0     # 0x6010
leaq 0x2ef3(%rip), %rdi      # 0x634f
jmp 0x3416
cmpl $0x3e8, %esi            # imm = 0x3E8
jl 0x3481
movl $0x3e8, %ecx            # imm = 0x3E8
movl %esi, %eax
xorl %edx, %edx
divl %ecx
leaq 0x2ed0(%rip), %rdi      # 0x6348
movl %eax, %esi
xorl %eax, %eax
jmp 0x2050
testl %ecx, %ecx
je 0x348e
leaq 0x2ecc(%rip), %rdi      # 0x6358
jmp 0x347a
leaq 0x2eca(%rip), %rdi      # 0x635f
jmp 0x347a
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %rax
movq 0x10(%rax), %rcx
cmpq 0x18(%rax), %rcx
jne 0x3535
addq $0x10, %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
cmpq $0x2, 0x30(%rbx)
jb 0x3535
leaq 0x20(%rbx), %rdi
callq 0x3ba4
leaq 0x38(%rbx), %rdi
callq 0x3bae
cmpq $0x1, 0x30(%rbx)
jne 0x3547
movq 0x28(%rbx), %rax
cmpq $0x0, 0x10(%rax)
je 0x354b
xorl %eax, %eax
popq %rbx
retq
andq $0x0, (%rbx)
movb $0x1, %al
jmp 0x3549
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x8(%rdi), %rcx
movq %rax, 0x10(%rdi)
leaq 0x20(%rdi), %rdx
movq %rdx, %rsi
movq (%rsi), %rsi
cmpq %rdx, %rsi
je 0x35ab
movq 0x10(%rsi), %r8
movq %r8, %r9
subq 0x18(%rsi), %r9
subq %r8, %rax
addq %r9, %rcx
movq %rcx, 0x8(%rdi)
movq %rax, 0x10(%rdi)
jmp 0x3588
leaq 0x38(%rdi), %rax
movq 0x18(%rdi), %rcx
movq %rax, %rdx
movq (%rdx), %rdx
cmpq %rax, %rdx
je 0x35c8
addq 0x10(%rdx), %rcx
movq %rcx, 0x18(%rdi)
jmp 0x35b6
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/conchoecia[P]fasta_stats/src/fasta_stats.cc
// Function: Stats::add(Scaffold const&)
void add(const Scaffold &__a) {
		++scaffolds;
		contigs += __a.contigs.size();
		s_size += __a.total_size;
		c_size += __a.contig_size;
	}

// Assembly:
movq 0x30(%rsi), %xmm0
movdqa 0x1e43(%rip), %xmm1     # 0x6030
punpcklqdq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0]
movdqu (%rdi), %xmm0
paddq %xmm1, %xmm0
movdqu 0x10(%rdi), %xmm1
movdqu %xmm0, (%rdi)
movdqu (%rsi), %xmm0
paddq %xmm1, %xmm0
movdqu %xmm0, 0x10(%rdi)
retq
// File: /workspace/github_cpp_makefile_star2_O2/conchoecia[P]fasta_stats/src/fasta_stats.cc
// Function: Stats::add(Stats const&)
void add(const Stats &__a) {
		scaffolds += __a.scaffolds;
		contigs += __a.contigs;
		s_size += __a.s_size;
		c_size += __a.c_size;
	}

// Assembly:
movdqu (%rsi), %xmm0
movdqu (%rdi), %xmm1
paddq %xmm0, %xmm1
movdqu 0x10(%rdi), %xmm0
movdqu %xmm1, (%rdi)
movdqu 0x10(%rsi), %xmm1
paddq %xmm0, %xmm1
movdqu %xmm1, 0x10(%rdi)
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
pushq %rax
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
leal 0x1(%r15), %ebp
cmpq $0xa, %rsi
jb 0x4471
movq %r14, %rdi
callq 0x44e0
callq 0x2360
cvttsd2si %xmm0, %eax
addl %eax, %ebp
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
andq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
movslq %ebp, %rsi
movq %rbx, %rdi
callq 0x22d0
movq (%rbx), %rcx
movq 0x8(%rbx), %rsi
addq %rcx, %rsi
testb %r15b, %r15b
je 0x44a1
movb $0x2d, (%rcx)
incq %rcx
pushq $0xa
popq %rdi
cmpq %rcx, %rsi
je 0x44bf
movq %r14, %rax
xorl %edx, %edx
divq %rdi
orb $0x30, %dl
movb %dl, -0x1(%rsi)
decq %rsi
movq %rax, %r14
jmp 0x44a4
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x2120
movq %r14, %rdi
callq 0x2370
// File: /workspace/github_cpp_makefile_star2_O2/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
andq $0x0, 0x8(%rsi)
movq (%rsi), %rax
movb $0x0, (%rax)
xorl %r12d, %r12d
leaq 0x2372(%rip), %r13      # 0x68a0
leaq 0x585b(%rip), %rbp      # 0x9d90
cmpq $0x18, %r12
je 0x4561
movq 0x8(%r14), %rsi
movq (%r12,%r13), %rdx
subq %rdx, %rsi
jbe 0x455b
movq (%r12,%rbp), %r15
movq %r14, %rdi
movq %r15, %rcx
callq 0x22a0
testl %eax, %eax
je 0x4570
addq $0x8, %r12
jmp 0x4535
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
movq %r15, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x23a0
// File: /workspace/github_cpp_makefile_star2_O2/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 $0x28, %rsp
movl %edi, %ecx
testl %edi, %edi
js 0x4d54
movl %ecx, %r14d
cmpq %r14, 0x55ee(%rip)      # 0xa268
jle 0x4d54
movq 0x55e9(%rip), %rax      # 0xa270
movq (%rax,%r14,8), %rax
cmpq $0x0, 0x8(%rax)
je 0x4d70
movq %rsi, %r13
movl %ecx, 0xc(%rsp)
movq 0x10(%rax), %rbx
movq 0x55d0(%rip), %rbp      # 0xa278
movq 0x55d1(%rip), %rcx      # 0xa280
movq %rdx, 0x10(%rsp)
movq %rdx, %rax
movq %rcx, 0x18(%rsp)
movq (%rcx,%r14,8), %r12
movq (%rbp,%r14,8), %rsi
subq %rsi, %r12
addq %rbx, %rsi
subq %r12, %rax
jbe 0x4d1c
movq %rax, 0x20(%rsp)
movq %r13, %rdi
movq %r12, %rdx
callq 0x21f0
movq %rbp, %r15
andq $0x0, (%rbp,%r14,8)
movl $0x8000, %edx           # imm = 0x8000
movl 0xc(%rsp), %edi
movq %rbx, %rsi
callq 0x2300
movq 0x18(%rsp), %rcx
movq %rax, (%rcx,%r14,8)
testq %rax, %rax
jle 0x4d33
addq %r12, %r13
movb $0x0, (%rbx,%rax)
movq 0x20(%rsp), %rax
movq %rax, %rdx
movq %r15, %rbp
jmp 0x4cbc
movq %r13, %rdi
movq %rdx, %rbx
callq 0x21f0
addq %rbx, (%rbp,%r14,8)
movq 0x10(%rsp), %rax
jmp 0x4d8f
cmpq $-0x1, %rax
je 0x4d9e
andq $0x0, (%rcx,%r14,8)
movb $0x0, (%rbx)
movq 0x10(%rsp), %rax
subq 0x20(%rsp), %rax
pushq $-0x1
popq %rcx
cmoveq %rcx, %rax
jmp 0x4d8f
movq 0x5275(%rip), %rax      # 0x9fd0
movq (%rax), %rdi
leaq 0x19ee(%rip), %rsi      # 0x6753
movl %ecx, %edx
xorl %eax, %eax
callq 0x22f0
jmp 0x4d8c
movq 0x5259(%rip), %rax      # 0x9fd0
movq (%rax), %rcx
leaq 0x19f6(%rip), %rdi      # 0x6777
pushq $0x22
popq %rsi
pushq $0x1
popq %rdx
callq 0x23b0
pushq $-0x1
popq %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x522b(%rip), %rax      # 0x9fd0
movq (%rax), %r15
callq 0x2040
movl (%rax), %edi
callq 0x20d0
leaq 0x19df(%rip), %rsi      # 0x679a
movq %r15, %rdi
movl 0xc(%rsp), %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0x22f0
movq 0x18(%rsp), %rcx
jmp 0x4d39
// File: /workspace/github_cpp_makefile_star2_O2/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 0x4e5a
movl %edi, %ebp
movl %edi, %eax
cmpq %rax, 0x547b(%rip)      # 0xa268
jle 0x4e5a
movq %rdx, %r14
movq %rsi, %rbx
movq %rsi, %r15
movq %rdx, %r12
testq %r12, %r12
je 0x4e4e
movl %ebp, %edi
movq %r15, %rsi
movq %r12, %rdx
callq 0x2300
cmpq $-0x1, %rax
je 0x4e1b
subq %rax, %r12
addq %rax, %r15
jmp 0x4dfb
movq 0x51ae(%rip), %rax      # 0x9fd0
movq (%rax), %r14
callq 0x2040
movl (%rax), %edi
callq 0x20d0
leaq 0x19de(%rip), %rsi      # 0x6816
movq %r14, %rdi
movl %ebp, %edx
movq %rbx, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x22f0
pushq $-0x1
popq %r14
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x194e(%rip), %rdi      # 0x67af
leaq 0x1966(%rip), %rsi      # 0x67ce
leaq 0x1976(%rip), %rcx      # 0x67e5
movl $0x140, %edx            # imm = 0x140
callq 0x21a0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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
andl $0x0, 0x8(%rdi)
andq $0x0, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
andq $0x0, 0x28(%rdi)
leaq 0x30(%rdi), %rax
movq %rax, 0x38(%rdi)
movq %rax, (%rsp)
movq %rax, 0x30(%rdi)
andq $0x0, 0x40(%rdi)
pushq $0x4
popq %rdi
callq 0x2190
movq %rax, 0x48(%rbx)
testq %rax, %rax
je 0x4f6c
movq %rax, %r12
shrq $0x3d, %rax
leaq (,%r12,8), %rbp
movq %rbp, %rcx
addq $0x8, %rcx
pushq $-0x1
popq %rdx
cmovbq %rdx, %rcx
xorl %edi, %edi
negq %rax
sbbq %rdi, %rdi
orq %rcx, %rdi
callq 0x2030
movq %rax, %r15
movq %r12, (%rax)
leaq 0x8(%rax), %r14
negq %rbp
xorl %r13d, %r13d
movq %r14, %r12
movq %r12, %rdi
callq 0x51aa
addq $-0x8, %r13
addq $0x8, %r12
cmpq %r13, %rbp
jne 0x4f0c
movq %r14, 0x50(%rbx)
movq 0x48(%rbx), %rax
leaq (,%rax,8), %r15
movabsq $0x1fffffffffffffff, %rcx # imm = 0x1FFFFFFFFFFFFFFF
cmpq %rcx, %rax
pushq $-0x1
popq %rax
cmovaq %rax, %r15
movq %r15, %rdi
callq 0x2030
movq %rax, 0x58(%rbx)
movq %r15, %rdi
callq 0x2030
movq %rax, 0x60(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18bc(%rip), %rdi      # 0x682f
leaq 0x1854(%rip), %rsi      # 0x67ce
leaq 0x18bc(%rip), %rcx      # 0x683d
pushq $0x2e
popq %rdx
callq 0x21a0
movq %rax, %r12
jmp 0x4fb0
movq %rax, %r12
testq %r13, %r13
je 0x4fa8
negq %r13
leaq (%r15,%r13), %rdi
callq 0x51ca
addq $-0x8, %r13
jne 0x4f99
movq %r15, %rdi
callq 0x2290
movq (%rsp), %rdi
callq 0x51f4
movq %rbx, %rdi
callq 0x5218
movq %r12, %rdi
callq 0x2370
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x5006
movq -0x8(%r14), %r15
addq $-0x8, %r14
testq %r15, %r15
je 0x4ffe
shlq $0x3, %r15
leaq (%r14,%r15), %rdi
callq 0x51ca
addq $-0x8, %r15
jne 0x4fef
movq %r14, %rdi
callq 0x2290
movq 0x58(%rbx), %rdi
testq %rdi, %rdi
je 0x5014
callq 0x2290
movq 0x60(%rbx), %rdi
testq %rdi, %rdi
je 0x5022
callq 0x2290
movq 0x18(%rbx), %r14
leaq 0x8(%rbx), %r12
cmpq %r12, %r14
je 0x5045
movl 0x20(%r14), %edi
callq 0x23d0
movq %r14, %rdi
callq 0x2260
movq %rax, %r14
jmp 0x502a
leaq 0x30(%rbx), %r14
movq %r14, %r15
movq (%r15), %r15
cmpq %r14, %r15
je 0x5063
movl 0x10(%r15), %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x21e0
jmp 0x504c
movq 0x18(%rbx), %r15
cmpq %r12, %r15
je 0x5086
movl 0x24(%r15), %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x21e0
movq %r15, %rdi
callq 0x2260
movq %rax, %r15
jmp 0x5067
movq %r14, %rdi
callq 0x51f4
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x5218
jmp 0x50a5
jmp 0x50a5
movq %rax, %rdi
callq 0x3779
// File: /workspace/github_cpp_makefile_star2_O2/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 %r14
pushq %rbx
pushq %rax
movl %esi, 0x4(%rsp)
testl %esi, %esi
js 0x518d
movq %rdi, %rbx
movl %esi, %r14d
cmpq %r14, 0x48(%rdi)
jle 0x518d
movl %esi, %edi
callq 0x23d0
shlq $0x3, %r14
addq 0x50(%rbx), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x5110
leaq 0x4(%rsp), %rsi
movq %rbx, %rdi
callq 0x5564
movq %rax, %r14
leaq 0x8(%rbx), %rax
cmpq %rax, %r14
je 0x517d
leaq 0x30(%rbx), %rdi
movq %r14, %rsi
addq $0x24, %rsi
callq 0x5516
movq %rbx, %rdi
movq %r14, %rsi
callq 0x564e
movq %rbx, %rdi
callq 0x5522
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x16c0(%rip), %rdi      # 0x6854
leaq 0x1633(%rip), %rsi      # 0x67ce
leaq 0x16cd(%rip), %rcx      # 0x686f
pushq $0x3a
popq %rdx
callq 0x21a0
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x30(%rdi), %r14
addq $0x30, %rbx
pushq $0x1
popq %rbp
cmpq %rbx, %r14
je 0x555f
movl 0x10(%r14), %edi
xorl %esi, %esi
movl %ebp, %edx
callq 0x21e0
testl %eax, %eax
jle 0x555a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x569a
movq %rax, %r14
jmp 0x5534
movq (%r14), %r14
jmp 0x5534
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 0x56f8
pushq %rbx
movq %rdi, %rbx
movq %rsi, 0x8(%rdi)
movq 0x10(%rdi), %rdi
testq %rdi, %rdi
je 0x56e2
callq 0x2290
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x56f1
movq %rsi, %rdi
callq 0x2030
jmp 0x56f3
xorl %eax, %eax
movq %rax, 0x10(%rbx)
popq %rbx
retq
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O2/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 %r12
pushq %rbx
movl %edx, %ebp
movq %rdi, %rbx
callq 0x4444
movq 0x8(%rbx), %rsi
leaq -0x1(%rsi), %r14
movl %ebp, %ecx
movq %r14, %rax
subq %rcx, %rax
xorl %r15d, %r15d
pushq $0x3
popq %rcx
xorl %edx, %edx
divq %rcx
movslq %eax, %r12
addq %r12, %rsi
movq %rbx, %rdi
callq 0x22d0
addq %r14, %r12
pushq $-0x1
popq %rax
cmpq %r12, %r14
jae 0x576d
movq (%rbx), %rcx
movb (%rcx,%r14), %dl
movb %dl, (%rcx,%r12)
cmpl $0x2, %r15d
jne 0x5762
movq (%rbx), %rcx
movb $0x2c, -0x1(%rcx,%r12)
decq %r12
movl %eax, %r15d
decq %r14
decq %r12
incl %r15d
jmp 0x573d
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x2120
movq %r14, %rdi
callq 0x2370
// File: /workspace/github_cpp_makefile_star2_O2/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 0x3e6c
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, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movl $0x100, %eax            # imm = 0x100
leaq 0x140(%rsp), %rbp
movabsq $0x3000000010, %r13     # imm = 0x3000000010
leaq 0x10(%rsp), %r15
movl %eax, %r12d
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3280
leaq 0x50(%rsp), %rax
movq %rax, 0x20(%rsp)
movq %rbp, 0x18(%rsp)
movq %r13, 0x10(%rsp)
movq (%rbx), %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %r15, %rcx
callq 0x3358
testl %eax, %eax
js 0x3ef7
cmpl %r12d, %eax
jl 0x3ed8
incl %eax
jmp 0x3e98
movl %eax, %esi
movq %rbx, %rdi
callq 0x3280
movq %rbx, %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x28
popq %rdi
callq 0x30e0
movq %rax, %r14
leaq 0x4117(%rip), %rsi      # 0x8020
leaq 0x30(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x580a
movb $0x1, %bpl
leaq 0x30(%rsp), %rsi
movq %r14, %rdi
callq 0x5846
xorl %ebp, %ebp
leaq 0x8c87(%rip), %rsi      # 0xcbb8
leaq 0x1944(%rip), %rdx      # 0x587c
movq %r14, %rdi
callq 0x32f0
jmp 0x3f63
movq %rax, %r15
leaq 0x30(%rsp), %rdi
callq 0x30c0
testb %bpl, %bpl
jne 0x3f59
jmp 0x3f66
movq %rax, %r15
movq %r14, %rdi
callq 0x3170
jmp 0x3f66
movq %rax, %r15
movq %rbx, %rdi
callq 0x30c0
movq %r15, %rdi
callq 0x3300
// File: /workspace/github_cpp_makefile_star2_O2/bsegovia[P]boodew/boodew.cpp
// Function: boodew::loop_builtin(std::vector<boodew::value, std::allocator<boodew::value>> const&)
static value loop_builtin(args arg) {
  value last;
  auto const n = int(vtod(get(arg,2)));
  for (int i = 0; i < n; ++i) {
    try {
      new_local(vtos(get(arg,1)), stov(to_string(i)));
      last = ex(vtos(get(arg,3)));
    } catch (bool b) { if (b) break; else continue; }
  }
  return last;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %r14
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movq %rdi, 0x8(%rsp)
movb $0x0, 0x10(%rdi)
pushq $0x2
popq %rsi
movq %r14, %rdi
callq 0x4035
movq %rax, %rdi
callq 0x3fd2
cvttsd2si %xmm0, %eax
xorl %ebp, %ebp
testl %eax, %eax
cmovlel %ebp, %eax
movl %eax, 0x14(%rsp)
leaq 0x38(%rsp), %r12
leaq 0x18(%rsp), %r13
leaq 0x58(%rsp), %r15
cmpl %ebp, 0x14(%rsp)
je 0x4475
movq %r14, %rdi
pushq $0x1
popq %rsi
callq 0x4035
movq %r12, %rdi
movq %rax, %rsi
callq 0x3f76
movq %r13, %rdi
movl %ebp, %esi
callq 0x5df9
movq %r15, %rdi
movq %r13, %rsi
callq 0x5dde
leaq 0x88(%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x4b32
movq %rbx, %rdi
callq 0x30c0
movq %r15, %rdi
callq 0x30c0
movq %r13, %rdi
callq 0x30c0
movq %r12, %rdi
callq 0x30c0
movq %r14, %rdi
pushq $0x3
popq %rsi
callq 0x4035
movq %r12, %rdi
movq %rax, %rsi
callq 0x3f76
movq %r15, %rdi
movq %r12, %rsi
callq 0x4774
movq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x5d7a
movq %r15, %rdi
callq 0x30c0
movq %r12, %rdi
callq 0x30c0
incl %ebp
jmp 0x4368
jmp 0x443c
movq %rdx, (%rsp)
movq %rax, %rbx
movq %r15, %rdi
callq 0x30c0
jmp 0x4432
movq %rdx, (%rsp)
movq %rax, %rbx
movq %r13, %rdi
callq 0x30c0
jmp 0x4443
movq %rdx, (%rsp)
movq %rax, %rbx
movq %r12, %rdi
callq 0x30c0
jmp 0x4454
movq %rdx, (%rsp)
movq %rax, %rbx
movq (%rsp), %rdx
jmp 0x445d
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x448f
movq %rbx, %rdi
callq 0x3090
movb (%rax), %bl
callq 0x32e0
testb %bl, %bl
je 0x4411
movq 0x8(%rsp), %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
callq 0x30c0
movq %rbx, %rdi
callq 0x3300
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
subq $0x48, %rsp
movq %rsi, %rax
movq %rdi, %rbx
pushq $0x1
popq %rsi
movq %rax, %rdi
callq 0x4035
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x3f76
callq 0x5e52
movq 0x8(%rax), %r15
callq 0x5e52
cmpq (%rax), %r15
je 0x45c7
addq $-0x38, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x6832
testq %rax, %rax
je 0x4598
addq $0x28, %rax
movq %rbx, %rdi
movq %rax, %rsi
callq 0x5d9e
jmp 0x45f5
callq 0x597e
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x6860
movq %rax, %r14
callq 0x597e
testq %r14, %r14
je 0x460d
addq $0x28, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x681a
leaq 0x8(%rsp), %rdi
callq 0x30c0
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $0x28
popq %rdi
callq 0x30e0
movq %rax, %rbx
movq 0x8(%rsp), %rdx
leaq 0x3acf(%rip), %rsi      # 0x80f3
leaq 0x28(%rsp), %rdi
xorl %eax, %eax
callq 0x3dfc
movb $0x1, %bpl
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x5846
xorl %ebp, %ebp
leaq 0x856f(%rip), %rsi      # 0xcbb8
leaq 0x122c(%rip), %rdx      # 0x587c
movq %rbx, %rdi
callq 0x32f0
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x30c0
testb %bpl, %bpl
jne 0x466f
jmp 0x4680
movq %rax, %r14
movq %rbx, %rdi
callq 0x3170
jmp 0x4680
jmp 0x467d
jmp 0x467d
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x30c0
movq %r14, %rdi
callq 0x3300
// File: /workspace/github_cpp_makefile_star2_O2/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 0x580a
leaq 0x8(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x4692
leaq 0x30(%rsp), %rdi
callq 0x30c0
cmpb %bl, 0x28(%rsp)
jne 0x7aca
movq 0x551f(%rip), %rdi      # 0xcfd0
leaq 0xe8b(%rip), %rsi       # 0x8943
callq 0x31d0
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x31c0
testb %bl, %bl
je 0x7ae4
movq 0x54fb(%rip), %rdi      # 0xcfd0
leaq 0x8(%rsp), %rsi
callq 0x31c0
movq %rax, %rdi
jmp 0x7aeb
movq 0x54e5(%rip), %rdi      # 0xcfd0
callq 0x30d0
leaq 0x8(%rsp), %rdi
callq 0x30c0
addq $0x50, %rsp
popq %rbx
retq
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
jmp 0x7b17
movq %rax, %rbx
jmp 0x7b1c
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x30c0
movq %rbx, %rdi
callq 0x3300
// File: /workspace/github_cpp_makefile_star2_O2/zengfenfei[P]codility/src/OddOccurrencesInArray.cpp
// Function: solution(std::vector<int, std::allocator<int>>&)
int solution(vector<int> &A) {
	// write your code in C++11 (g++ 4.8.2)
	int odd = A[0];
	for (int i = 1; i < A.size(); i++) {
		odd ^= A[i];
	}
	return odd;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rcx
movq 0x8(%rdi), %rdx
movl (%rcx), %eax
subq %rcx, %rdx
sarq $0x2, %rdx
movabsq $0x1, %rsi
cmpq %rsi, %rdx
jbe 0x1267
xorl (%rcx,%rsi,4), %eax
incq %rsi
jmp 0x125a
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/zengfenfei[P]codility/src/OddOccurrencesInArray.cpp
// Function: main
int main() {
	int a[] = { 9, 3, 9, 3, 9, 7, 9 };
	vector<int> vec(a, a + sizeof(a) / sizeof(int));
	cout << solution(vec) << "\n";	//7
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x48, %rsp
movups 0xda3(%rip), %xmm0      # 0x201c
leaq -0x34(%rbp), %rdx
movups %xmm0, -0x10(%rdx)
movaps 0xd88(%rip), %xmm0      # 0x2010
movaps %xmm0, -0x1c(%rdx)
leaq -0x28(%rbp), %rbx
leaq -0x50(%rbp), %rsi
leaq -0x9(%rbp), %rcx
movq %rbx, %rdi
callq 0x12ec
movq %rbx, %rdi
callq 0x123c
movq 0x2d29(%rip), %rdi      # 0x3fd8
movl %eax, %esi
callq 0x10e0
leaq 0xd6f(%rip), %rsi       # 0x202c
movq %rax, %rdi
callq 0x1090
leaq -0x28(%rbp), %rdi
callq 0x137a
xorl %eax, %eax
addq $0x48, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
leaq -0x28(%rbp), %rdi
callq 0x137a
movq %rbx, %rdi
callq 0x10f0
nop
// File: /workspace/github_cpp_makefile_star2_O2/tismith[P]tmp-play/conditional.cpp
// Function: main
int main() {
    std::cout << "true = " << IF<true, A, B>::TEST::RESULT << std::endl;
    std::cout << "false = " << IF<false, A, B>::TEST::RESULT << std::endl;

    std::cout << "true = ";
    IF<true, A1, B1>::TEST::EXEC();
    std::cout << std::endl;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x2e21(%rip), %rbx      # 0x3fd8
leaq 0xe46(%rip), %r14       # 0x2004
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1050
pushq $0x1
popq %rsi
movq %rax, %rdi
callq 0x1070
movq %rax, %rdi
callq 0x1030
leaq 0xe29(%rip), %rsi       # 0x200c
movq %rbx, %rdi
callq 0x1050
movq %rax, %rdi
xorl %esi, %esi
callq 0x1070
movq %rax, %rdi
callq 0x1030
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1050
callq 0x1220
movq %rbx, %rdi
callq 0x1030
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/tplinderoth[P]introDist/Dxyz.cpp
// Function: main
int main (int argc, char** argv) {
	int rv = 0;

	std::ifstream poptable;
	/*
	 * The poptable is a 2-column text file
	 * column 1: sample name in VCF
	 * column 2: INT indicating population, 0 = source, 1 = sink, 2 = outgroup
	*/
	std::ifstream vcf; // input VCF file
	std::ofstream outf; // output file
	double minmaf = 0; // minimum minor allele frequency
	int winsize = 15; // Number of SNPs in a window
	int step = 5; // step size in terms of number of SNPs
	int infmt; // input vcf forma:, 0 = uncompressed, 1 = gzipped/bgzipped, 2 = stdin

	if (!(rv=parseArgs(argc, argv, poptable, vcf, outf, winsize, step, minmaf, infmt))) {
		rv = vcf2Dxyz(poptable, vcf, outf, winsize, step, minmaf, infmt);
	}

	if (poptable.is_open()) poptable.close();
	if (vcf.is_open()) vcf.close();
	if (outf.is_open()) outf.close();

	return rv;
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x628, %rsp            # imm = 0x628
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x420(%rsp), %rdi
callq 0x6390
leaq 0x218(%rsp), %rdi
callq 0x6390
leaq 0x18(%rsp), %rdi
callq 0x65a0
leaq 0x10(%rsp), %rax
andq $0x0, (%rax)
leaq 0xc(%rsp), %r9
movl $0xf, (%r9)
leaq 0x8(%rsp), %r10
movl $0x5, (%r10)
subq $0x8, %rsp
leaq 0xc(%rsp), %r11
leaq 0x428(%rsp), %rdx
leaq 0x220(%rsp), %rcx
leaq 0x20(%rsp), %r8
movl %ebp, %edi
movq %rbx, %rsi
pushq %r11
pushq %rax
pushq %r10
callq 0x68e6
addq $0x20, %rsp
movl %eax, %ebx
testl %eax, %eax
jne 0x6826
movl 0xc(%rsp), %ecx
movl 0x8(%rsp), %r8d
movsd 0x10(%rsp), %xmm0
movl 0x4(%rsp), %r9d
leaq 0x420(%rsp), %rdi
leaq 0x218(%rsp), %rsi
leaq 0x18(%rsp), %rdx
callq 0x6bfa
movl %eax, %ebx
leaq 0x498(%rsp), %rdi
callq 0x60c0
testb %al, %al
je 0x6844
leaq 0x420(%rsp), %rdi
callq 0x60a0
leaq 0x290(%rsp), %rdi
callq 0x60c0
testb %al, %al
je 0x6862
leaq 0x218(%rsp), %rdi
callq 0x60a0
leaq 0x88(%rsp), %rdi
callq 0x60c0
testb %al, %al
je 0x687d
leaq 0x18(%rsp), %rdi
callq 0x6480
leaq 0x18(%rsp), %rdi
callq 0x64c0
leaq 0x218(%rsp), %rdi
callq 0x60d0
leaq 0x420(%rsp), %rdi
callq 0x60d0
movl %ebx, %eax
addq $0x628, %rsp            # imm = 0x628
popq %rbx
popq %rbp
retq
movq %rax, %rbx
jmp 0x68c4
movq %rax, %rbx
jmp 0x68d1
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x64c0
leaq 0x218(%rsp), %rdi
callq 0x60d0
leaq 0x420(%rsp), %rdi
callq 0x60d0
movq %rbx, %rdi
callq 0x65d0