LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/sopanpatra160[P]OOO_Superscalar_Processor_Simulator/cache.cc
// Function: cache::print_tag_store()
void cache::print_tag_store(){
//printf("num set = %d \n",num_set);
	for(unsigned int i=0; i<num_set; i++){
	printf("set  %4d:  ",i);
		for(unsigned int j=0; j<a; j++){
			printf ("%8x ",tag_store[i][j]);
			if(wp == 0){
				if(dirty_store[i][j]==1)
					printf ("D");
				else
					printf (" ");
			}
		}
	printf ("\n");
	}
}

// Assembly:
cmpl $0x0, 0x70(%rdi)
je 0x2c1e
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x164c(%rip), %r14      # 0x41e1
leaq 0x1651(%rip), %r15      # 0x41ed
movl $0x44, %ebp
xorl %r12d, %r12d
movq %r14, %rdi
movl %r12d, %esi
xorl %eax, %eax
callq 0x1040
cmpl $0x0, 0x18(%rbx)
je 0x2bfb
xorl %r13d, %r13d
movq 0x28(%rbx), %rax
movq (%rax,%r12,8), %rax
movl (%rax,%r13,4), %esi
movq %r15, %rdi
xorl %eax, %eax
callq 0x1040
cmpl $0x0, 0x20(%rbx)
jne 0x2bf0
movq 0x38(%rbx), %rax
movq (%rax,%r12,8), %rax
cmpl $0x1, (%rax,%r13,4)
movl $0x20, %edi
cmovel %ebp, %edi
callq 0x10e0
incq %r13
movl 0x18(%rbx), %eax
cmpq %rax, %r13
jb 0x2bba
movl $0xa, %edi
callq 0x10e0
incq %r12
movl 0x70(%rbx), %eax
cmpq %rax, %r12
jb 0x2ba4
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/iZhangHui[P]CppPrimer/CH16_TemplatesAndGenericProgramming/examples/typealias.cc
// Function: main
int main()
{
	// authors is a pair<string, string>
	twin<string> author("Mark", "Twain");
	
	twin<int> win_loss(2, 45);  // win_loss is a pair<int, int>
	
	typedef string Vehicle;
	partNo<Vehicle> car("volvo", 242);  // car is a pair<Vehicle, unsigned>

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x68, %rsp
leaq 0xe08(%rip), %rsi       # 0x2004
leaq 0xe06(%rip), %rdx       # 0x2009
leaq -0x70(%rbp), %rdi
callq 0x1296
leaq -0x20(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xdf4(%rip), %rsi       # 0x200f
leaq 0xdf2(%rip), %rdx       # 0x2014
leaq -0x30(%rbp), %rdi
callq 0x135a
movl $0xf2, -0x10(%rbp)
movq -0x30(%rbp), %rdi
cmpq %rbx, %rdi
je 0x1247
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x1070
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1260
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x1070
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1279
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x1070
xorl %eax, %eax
addq $0x68, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x1314
movq %rbx, %rdi
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O1/kerolloz[P]os/sum.c
// Function: count
void *count(void *args) {
  pthread_mutex_lock(&lock);
  // lock other threads from entring this critical section

  for (int i = 0; i < MAX_N; i++)
    sum++;

  pthread_mutex_unlock(&lock);
  // after finishing unlock this section so, other threads can access it
  return NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
leaq 0x2ecf(%rip), %rbx      # 0x4068
movq %rbx, %rdi
callq 0x1080
addq $0xf4240, 0x2eb4(%rip) # imm = 0xF4240
movq %rbx, %rdi
callq 0x1040
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/kerolloz[P]os/sum.c
// Function: main
int main() {
  pthread_t threads[N_THREADS];

  pthread_mutex_init(&lock, NULL);

  // create the threads
  for (int i = 0; i < N_THREADS; i++)
    pthread_create(&threads[i], NULL, count, NULL);

  // wait for all the threads to finish executing
  for (int i = 0; i < N_THREADS; i++)
    pthread_join(threads[i], NULL);

  printf("%lld\n", sum);

  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
leaq 0x2e99(%rip), %rdi      # 0x4068
xorl %r14d, %r14d
xorl %esi, %esi
callq 0x1070
leaq -0x54(%rip), %rbx       # 0x118c
leaq (%r14,%rbp), %rdi
addq $-0x40, %rdi
xorl %esi, %esi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x1050
addq $0x8, %r14
cmpq $0x28, %r14
jne 0x11e0
xorl %ebx, %ebx
movq -0x40(%rbp,%rbx,8), %rdi
xorl %esi, %esi
callq 0x1060
incq %rbx
cmpq $0x5, %rbx
jne 0x1200
movq 0x2e44(%rip), %rsi      # 0x4060
leaq 0xde1(%rip), %rdi       # 0x2004
xorl %eax, %eax
callq 0x1030
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/real_number.cpp
// Function: RealNumber::assign_value(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void RealNumber::assign_value(const std::string& str) {
    std::size_t dot_position = str.find('.');
		std::size_t i;
    int integer_part = 0;
    if (dot_position > MAX_DECIMAL_INTEGER_DIGITS) {
        throw std::invalid_argument("Too many digits before decimal!");
    }
    for (i = 0; i < dot_position; ++i) {
        if (0 <= str[i] - '0' && str[i] - '0' <= 9) {
            integer_part = 10 * integer_part + (str[i] - '0');
        }
        else {
            throw std::invalid_argument("Input can contain only decimal digits!");
        }   
    }
    set_integer_part(integer_part);
		std::size_t fractional_digits_len = str.size() - dot_position - 1;
    unsigned char* decimal_digits = array_arithmetic::convert::helpers::to_digit_array(str.substr(dot_position + 1));
    for (i = INTEGER_DIGITS; i < ARRAY_SIZE; ++i) {
        value[i] = array_arithmetic::convert::helpers::times_radix(decimal_digits, fractional_digits_len);
    }
    delete[] decimal_digits;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorl %r15d, %r15d
movq %rsi, %rdi
movl $0x2e, %esi
xorl %edx, %edx
callq 0x21a0
cmpq $0x9, %rax
ja 0x2fc0
testq %rax, %rax
je 0x2eeb
movq (%r14), %rcx
xorl %edx, %edx
xorl %r15d, %r15d
movzbl (%rcx,%rdx), %esi
leal -0x30(%rsi), %edi
cmpb $0x9, %dil
ja 0x2f8e
leal (%r15,%r15,4), %edi
leal (%rsi,%rdi,2), %r15d
addl $-0x30, %r15d
incq %rdx
cmpq %rdx, %rax
jne 0x2ec6
movl $0x4, %ecx
movq (%rbx), %rdx
movb %r15b, -0x1(%rdx,%rcx)
shrl $0x8, %r15d
decq %rcx
jne 0x2ef0
movq %rax, %rcx
notq %rcx
addq 0x8(%r14), %rcx
movq %rcx, -0x28(%rbp)
incq %rax
leaq -0x48(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq $-0x1, %rcx
callq 0x2170
movq %r15, %rdi
callq 0x408d
movq %rax, %r14
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2f4f
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2160
movl $0x4, %r12d
leaq -0x28(%rbp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x4119
movq (%rbx), %rcx
movb %al, (%rcx,%r12)
incq %r12
cmpq $0x36, %r12
jne 0x2f59
testq %r14, %r14
je 0x2f81
movq %r14, %rdi
callq 0x2190
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x20a0
movq %rax, %r14
leaq 0x2134(%rip), %rsi      # 0x50d6
movq %rax, %rdi
callq 0x2230
movq 0x502f(%rip), %rsi      # 0x7fe0
movq 0x5018(%rip), %rdx      # 0x7fd0
movq %r14, %rdi
callq 0x21f0
movl $0x10, %edi
callq 0x20a0
movq %rax, %r14
leaq 0x20e2(%rip), %rsi      # 0x50b6
movq %rax, %rdi
callq 0x2230
jmp 0x2faa
jmp 0x2ffe
movq %rax, %rbx
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3009
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2160
jmp 0x3009
movq %rax, %rbx
movq %r14, %rdi
callq 0x2100
movq %rbx, %rdi
callq 0x2210
nop
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/real_number.cpp
// Function: RealNumber::to_decimal_string[abi:cxx11]() const
std::string RealNumber::to_decimal_string() const {
    std::stringstream result;
    result << get_integer_part() << '.';
    // make a copy of value because we will be changing it
    unsigned char* fractional_part = new unsigned char[PRECISION];
    std::size_t i;
    for (i = 0; i < PRECISION; ++i) { fractional_part[i] = value[i + INTEGER_DIGITS]; }
		for (i = 0; i < DECIMAL_PRECISION; ++i) { 
			result << (int)(array_arithmetic::convert::helpers::times_ten(fractional_part, PRECISION)); 
		}    
    delete[] fractional_part;
    return result.str();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %rsi, %r15
movq %rdi, %rbx
leaq -0x1b8(%rbp), %rdi
callq 0x20e0
movq (%r15), %rax
xorl %ecx, %ecx
xorl %edx, %edx
movl %edx, %esi
shll $0x8, %esi
movzbl (%rax,%rcx), %edx
orl %esi, %edx
incq %rcx
cmpq $0x4, %rcx
jne 0x3089
leaq -0x1a8(%rbp), %r14
movl %edx, %esi
movq %r14, %rdi
callq 0x20c0
leaq -0x30(%rbp), %rsi
movb $0x2e, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x2180
movl $0x32, %edi
callq 0x2030
movq %rax, %r12
movq (%r15), %rax
xorl %ecx, %ecx
movb 0x4(%rax,%rcx), %dl
movb %dl, (%r12,%rcx)
incq %rcx
cmpq $0x32, %rcx
jne 0x30d4
movl $0x78, %r13d
leaq -0x30(%rbp), %r15
movq $0x32, -0x30(%rbp)
movq %r12, %rdi
movq %r15, %rsi
callq 0x4154
movzbl %al, %esi
movq %r14, %rdi
callq 0x2200
decq %r13
jne 0x30ef
movq %r12, %rdi
callq 0x2190
leaq -0x1a0(%rbp), %rsi
movq %rbx, %rdi
callq 0x21d0
movq 0x4e70(%rip), %rsi      # 0x7fa0
leaq -0x1b8(%rbp), %rdi
callq 0x2110
leaq -0x138(%rbp), %rdi
callq 0x2070
movq %rbx, %rax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3163
jmp 0x3163
jmp 0x3163
movq %rax, %rbx
movq 0x4e33(%rip), %rsi      # 0x7fa0
leaq -0x1b8(%rbp), %rdi
callq 0x2110
leaq -0x138(%rbp), %rdi
callq 0x2070
movq %rbx, %rdi
callq 0x2210
nop
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/real_number.cpp
// Function: RealNumber::get_integer_part() const
unsigned int RealNumber::get_integer_part() const {
    unsigned int result = 0;
    for (std::size_t i = 0; i < INTEGER_DIGITS; ++i) {
        result = result * array_arithmetic::RADIX + value[i];
    }
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rcx
xorl %edx, %edx
xorl %eax, %eax
movl %eax, %esi
shll $0x8, %esi
movzbl (%rcx,%rdx), %eax
orl %esi, %eax
incq %rdx
cmpq $0x4, %rdx
jne 0x3199
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/real_number.cpp
// Function: RealNumber::operator=(RealNumber const&)
RealNumber& RealNumber::operator=(const RealNumber& num) {
    if (this == &num) { return *this; }
    for (std::size_t i = 0; i < ARRAY_SIZE; ++i) {
        this->value[i] = num.value[i];
    }
    return *this;
}

// Assembly:
movq %rdi, %rax
cmpq %rsi, %rdi
je 0x31d4
pushq %rbp
movq %rsp, %rbp
xorl %ecx, %ecx
movq (%rsi), %rdx
movb (%rdx,%rcx), %dl
movq (%rax), %rdi
movb %dl, (%rdi,%rcx)
incq %rcx
cmpq $0x36, %rcx
jne 0x31be
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/real_number.cpp
// Function: RealNumber::operator>(RealNumber const&) const
bool RealNumber::operator>(const RealNumber& num_to_compare) const {
    for (std::size_t i = 0; i < ARRAY_SIZE; ++i) {
        if (this->value[i] > num_to_compare.value[i]) { return true; }
        else if (this->value[i] < num_to_compare.value[i]) { return false; }
    }
    return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rcx
movq (%rsi), %rdx
movb (%rcx), %sil
movb (%rdx), %r8b
movb $0x1, %al
cmpb %r8b, %sil
ja 0x3219
xorl %edi, %edi
cmpb %r8b, %sil
jb 0x3213
cmpq $0x35, %rdi
setb %al
je 0x3217
movb 0x1(%rcx,%rdi), %sil
movb 0x1(%rdx,%rdi), %r8b
incq %rdi
cmpb %r8b, %sil
jbe 0x31ef
movb $0x1, %cl
jmp 0x3217
xorl %ecx, %ecx
jmp 0x3217
andb %cl, %al
andb $0x1, %al
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/real_number.cpp
// Function: RealNumber::operator>=(RealNumber const&) const
bool RealNumber::operator>=(const RealNumber& num_to_compare) const {
    for (std::size_t i = 0; i < ARRAY_SIZE; ++i) {
        if (this->value[i] > num_to_compare.value[i]) { return true; }
        else if (this->value[i] < num_to_compare.value[i]) { return false; }
    }
    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rcx
movq (%rsi), %rdx
movb (%rcx), %sil
movb (%rdx), %r8b
movb $0x1, %al
cmpb %r8b, %sil
ja 0x3263
xorl %edi, %edi
xorl %eax, %eax
cmpb %r8b, %sil
jb 0x325d
cmpq $0x35, %rdi
setae %al
je 0x3261
movb 0x1(%rcx,%rdi), %sil
movb 0x1(%rdx,%rdi), %r8b
incq %rdi
cmpb %r8b, %sil
jbe 0x3239
movb $0x1, %cl
jmp 0x3261
xorl %ecx, %ecx
jmp 0x3261
orb %cl, %al
andb $0x1, %al
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/real_number.cpp
// Function: RealNumber::equals(RealNumber const&) const
bool RealNumber::equals(const RealNumber& num_to_compare) const {
	// get the real number against which to measure difference
	std::size_t total_bits = ARRAY_SIZE * 8;
	std::size_t first_bit_to_set = total_bits - BITS_FOR_EQUALITY;
	RealNumber max_diff;
	for (std::size_t i = first_bit_to_set; i < total_bits; ++i) {
		array_arithmetic::bits::set(max_diff.value, i);
	}
	return this->difference(num_to_compare) <= max_diff;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %r15
movl $0x36, %edi
callq 0x2030
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movq $0x0, 0x2e(%rax)
leaq -0x28(%rbp), %r12
movq $0x1ac, (%r12)          # imm = 0x1AC
movq %rbx, %rdi
movq %r12, %rsi
callq 0x4572
movq -0x28(%rbp), %rax
incq %rax
movq %rax, -0x28(%rbp)
cmpq $0x1b0, %rax            # imm = 0x1B0
jb 0x33ae
leaq -0x28(%rbp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x3460
movq -0x28(%rbp), %rdi
movb (%rdi), %al
movb (%rbx), %cl
cmpb %cl, %al
jae 0x33ee
movb $0x1, %al
xorl %r14d, %r14d
jmp 0x3427
jbe 0x33f7
xorl %r14d, %r14d
xorl %eax, %eax
jmp 0x3427
xorl %eax, %eax
movq %rax, %rcx
cmpq $0x35, %rcx
je 0x341f
movb 0x1(%rdi,%rcx), %dl
movb 0x1(%rbx,%rcx), %sil
cmpb %sil, %dl
jb 0x341d
leaq 0x1(%rcx), %rax
cmpb %sil, %dl
jbe 0x33f9
xorl %eax, %eax
jmp 0x341f
movb $0x1, %al
cmpq $0x35, %rcx
setae %r14b
orb %al, %r14b
callq 0x2190
movq %rbx, %rdi
callq 0x2190
andb $0x1, %r14b
movl %r14d, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x344d
movq %rax, %r14
movq %rbx, %rdi
callq 0x2190
movq %r14, %rdi
callq 0x2210
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/real_number.cpp
// Function: RealNumber::operator+(RealNumber const&) const
RealNumber RealNumber::operator+(const RealNumber& num_to_add) const {
    RealNumber result = RealNumber();
    int carry = 0, tmp_sum = 0;
    for (int i = ARRAY_SIZE - 1; i >= 0; --i) {
        tmp_sum = carry + this->value[i] + num_to_add.value[i];
        result.value[i] = tmp_sum % array_arithmetic::RADIX;
        carry = tmp_sum / array_arithmetic::RADIX;
    }
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl $0x36, %edi
callq 0x2030
movq %rax, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movq $0x0, 0x2e(%rax)
movq (%r15), %rcx
movq (%r14), %rdx
xorl %edi, %edi
movl $0x35, %esi
movzbl (%rcx,%rsi), %r8d
addl %edi, %r8d
movzbl (%rdx,%rsi), %edi
addl %r8d, %edi
movb %dil, (%rax,%rsi)
shrl $0x8, %edi
addq $-0x1, %rsi
jb 0x351b
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/real_number.cpp
// Function: RealNumber::operator*(RealNumber const&) const
RealNumber RealNumber::operator*(const RealNumber& multiplier) const {
	unsigned char* result_arr = new unsigned char[2 * ARRAY_SIZE + 1];
	RealNumber result;
	array_arithmetic::school_multiply(this->value, multiplier.value, result_arr, ARRAY_SIZE,
			ARRAY_SIZE);
	std::size_t offset = INTEGER_DIGITS + 1;
	for (std::size_t i = 0; i < ARRAY_SIZE; ++i) {
		result.value[i] = result_arr[i + offset];
	}
	delete[] result_arr;
	return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movl $0x6d, %edi
callq 0x2030
movq %rax, %r14
movl $0x36, %edi
callq 0x2030
movq %rax, %r15
movq %rax, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movq $0x0, 0x2e(%rax)
movq (%r13), %rdi
movq (%r12), %rsi
leaq -0x38(%rbp), %rcx
movl $0x36, %eax
movq %rax, (%rcx)
leaq -0x30(%rbp), %r8
movq %rax, (%r8)
movq %r14, %rdx
callq 0x4594
movq 0x33(%r14), %rax
movq %rax, 0x2e(%r15)
movups 0x5(%r14), %xmm0
movups 0x15(%r14), %xmm1
movups 0x25(%r14), %xmm2
movups %xmm2, 0x20(%r15)
movups %xmm1, 0x10(%r15)
movups %xmm0, (%r15)
movq %r14, %rdi
callq 0x2190
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r15, %rdi
callq 0x2190
movq %rbx, %rdi
callq 0x2210
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/real_number.cpp
// Function: RealNumber::set_integer_part(int const&)
void RealNumber::set_integer_part(const int& integer_part) {
    unsigned int tmp = integer_part;
    for (int i = INTEGER_DIGITS - 1; i >= 0; --i) {
        value[i] = tmp % array_arithmetic::RADIX;
        tmp /= array_arithmetic::RADIX;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl (%rsi), %eax
movl $0x4, %ecx
movq (%rdi), %rdx
movb %al, -0x1(%rdx,%rcx)
shrl $0x8, %eax
decq %rcx
jne 0x3715
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/convergent_series.cpp
// Function: ConvergentSeries::babylonian_sqrt(RealNumber const&, RealNumber const&, unsigned long const&)
RealNumber ConvergentSeries::babylonian_sqrt(const RealNumber& num, const RealNumber& guess,
                                            const std::size_t& iterations) {
    RealNumber result = guess;
    RealNumber two("2.0");
    for (std::size_t i = 0; i < iterations; ++i) {
        result = (result + (num / result)) / two;
    }
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, -0x38(%rbp)
movq %rsi, -0x60(%rbp)
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x3012
leaq -0x48(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x1908(%rip), %rsi      # 0x5063
leaq 0x1904(%rip), %rdx      # 0x5066
leaq -0x58(%rbp), %rdi
callq 0x2d52
leaq -0x30(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x2e4c
movq -0x58(%rbp), %rdi
cmpq %r15, %rdi
je 0x378d
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x2160
movq -0x38(%rbp), %rax
cmpq $0x0, (%rax)
je 0x3801
xorl %r14d, %r14d
leaq -0x68(%rbp), %r12
leaq -0x70(%rbp), %r13
leaq -0x58(%rbp), %r15
movq %r12, %rdi
movq -0x60(%rbp), %rsi
movq %rbx, %rdx
callq 0x3684
movq %r13, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x34d8
movq %r15, %rdi
movq %r13, %rsi
leaq -0x30(%rbp), %rdx
callq 0x3684
movq %rbx, %rdi
movq %r15, %rsi
callq 0x31b0
movq %r15, %rdi
callq 0x3048
movq %r13, %rdi
callq 0x3048
movq %r12, %rdi
callq 0x3048
incq %r14
movq -0x38(%rbp), %rax
cmpq (%rax), %r14
jb 0x37a6
leaq -0x30(%rbp), %rdi
callq 0x3048
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x58(%rbp), %rdi
cmpq %r15, %rdi
je 0x3871
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x2160
jmp 0x3871
movq %rax, %r14
jmp 0x3871
movq %rax, %r14
jmp 0x3868
movq %rax, %r14
jmp 0x385f
movq %rax, %r14
jmp 0x3856
movq %rax, %r14
leaq -0x58(%rbp), %rdi
callq 0x3048
leaq -0x70(%rbp), %rdi
callq 0x3048
leaq -0x68(%rbp), %rdi
callq 0x3048
leaq -0x30(%rbp), %rdi
callq 0x3048
movq %rbx, %rdi
callq 0x3048
movq %r14, %rdi
callq 0x2210
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::convert::from_int(unsigned int const&, unsigned char*, unsigned long const&)
void from_int(const unsigned int& num, unsigned char* result, 
				const std::size_t& result_len) {
			unsigned int num_copy = num;
			std::size_t i = result_len;
			while (i > 0) {
				--i;
				result[i] = num_copy % RADIX;
				num_copy /= RADIX;
			}
		}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdx), %rax
testq %rax, %rax
je 0x4062
movl (%rdi), %edx
movl %edx, %ecx
shrl $0x8, %ecx
movb %dl, -0x1(%rsi,%rax)
movl %ecx, %edx
decq %rax
jne 0x4054
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::convert::to_int(unsigned char const*, unsigned long const&)
unsigned int to_int(const unsigned char* arr, const std::size_t& arr_len) {
			unsigned int result = 0;
			for (std::size_t i = 0; i < arr_len; ++i) {
				result = result * RADIX + arr[i];
			}
			return result;
		}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rsi), %rcx
testq %rcx, %rcx
je 0x4089
xorl %edx, %edx
xorl %esi, %esi
shll $0x8, %esi
movzbl (%rdi,%rdx), %eax
orl %esi, %eax
incq %rdx
movl %eax, %esi
cmpq %rdx, %rcx
jne 0x4074
jmp 0x408b
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::convert::helpers::to_digit_array(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
unsigned char* to_digit_array(const std::string& str) {
				std::size_t len = str.size();
				unsigned char* result = new unsigned char[len];
				std::size_t i = 0;
				while (i < len) {
					if (0 <= str[i] - '0' && str[i] - '0' <= 9) {
						result[i] = str[i] - '0';
					}
					else {
						delete[] result;
						throw std::invalid_argument("Input can contain only decimal digits!");
					}
					++i;
				}
				return result;
			}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rbx
movq %rbx, %rdi
callq 0x2030
testq %rbx, %rbx
je 0x40c7
movq (%r14), %rcx
xorl %edx, %edx
movb (%rcx,%rdx), %sil
addb $-0x30, %sil
cmpb $0x9, %sil
ja 0x40cc
movb %sil, (%rax,%rdx)
incq %rdx
cmpq %rdx, %rbx
jne 0x40ad
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rdi
callq 0x2190
movl $0x10, %edi
callq 0x20a0
movq %rax, %rbx
leaq 0xfee(%rip), %rsi       # 0x50d6
movq %rax, %rdi
callq 0x2230
movq 0x3ee9(%rip), %rsi      # 0x7fe0
movq 0x3ed2(%rip), %rdx      # 0x7fd0
movq %rbx, %rdi
callq 0x21f0
movq %rax, %r14
movq %rbx, %rdi
callq 0x2100
movq %r14, %rdi
callq 0x2210
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::convert::helpers::times_radix(unsigned char*, unsigned long const&)
unsigned char times_radix(unsigned char* decimal_digits, 
					const std::size_t& arr_len) {
				unsigned char carry = 0;
				unsigned int tmp;
				std::size_t i = arr_len;
				while (i > 0) {
					--i;
					tmp = carry + decimal_digits[i] * RADIX;
					decimal_digits[i] = tmp % 10;
					carry = tmp / 10;
				}
				return carry;
			}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rsi), %rcx
xorl %eax, %eax
testq %rcx, %rcx
je 0x4152
movl %eax, %edx
movzbl %dl, %eax
movzbl -0x1(%rdi,%rcx), %esi
shll $0x8, %esi
orl %eax, %esi
imulq $0x1999999a, %rsi, %rax # imm = 0x1999999A
shrq $0x20, %rax
leal (%rax,%rax), %esi
leal (%rsi,%rsi,4), %esi
subl %esi, %edx
movb %dl, -0x1(%rdi,%rcx)
decq %rcx
jne 0x4127
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::convert::helpers::times_ten(unsigned char*, unsigned long const&)
unsigned char times_ten(unsigned char* radix_digits, const std::size_t& arr_len) {
				unsigned char carry = 0;
				unsigned int tmp;
				std::size_t i = arr_len;
				while (i > 0) {
					--i;
					tmp = carry + radix_digits[i] * 10;
					radix_digits[i] = tmp % RADIX;
					carry = tmp / RADIX;
				}
				return carry;
			}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rsi), %rcx
xorl %eax, %eax
testq %rcx, %rcx
je 0x4179
movzbl -0x1(%rdi,%rcx), %edx
leal (%rdx,%rdx,4), %edx
leal (%rax,%rdx,2), %eax
movb %al, -0x1(%rdi,%rcx)
shrl $0x8, %eax
decq %rcx
jne 0x4162
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::helpers::copy_into(unsigned char const*, unsigned char*, unsigned long const&, unsigned long const&)
void copy_into(const unsigned char* source, unsigned char* target, const std::size_t&
				source_len, const std::size_t& target_len) {
			std::size_t i;
			for (i = 0; i < source_len; ++i) {
				target[i] = source[i];
			}
			for ( ; i < target_len; ++i) {
				target[i] = 0;
			}
		}

// Assembly:
pushq %rbp
movq %rsp, %rbp
cmpq $0x0, (%rdx)
je 0x4199
xorl %eax, %eax
movb (%rdi,%rax), %r8b
movb %r8b, (%rsi,%rax)
incq %rax
cmpq (%rdx), %rax
jb 0x4187
jmp 0x41a4
xorl %eax, %eax
jmp 0x41a4
movb $0x0, (%rsi,%rax)
incq %rax
cmpq (%rcx), %rax
jb 0x419d
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::helpers::shift_right(unsigned char*, unsigned long const&, unsigned long const&)
void shift_right(unsigned char* arr, const size_t& places, const size_t& arr_size) {
			std::size_t i = arr_size - places;
			while (i > 0) {
				--i;
				arr[i + places] = arr[i];
			}
			i = places;
			while (i > 0) {
				--i;
				arr[i] = 0;
			}
		}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdx), %rax
subq (%rsi), %rax
je 0x41cf
leaq -0x1(%rdi), %rcx
leaq (%rcx,%rax), %rdx
movb (%rcx,%rax), %r8b
movq (%rsi), %r9
movb %r8b, (%r9,%rdx)
decq %rax
jne 0x41bb
movq (%rsi), %rdx
testq %rdx, %rdx
je 0x41df
xorl %esi, %esi
popq %rbp
jmp 0x20b0
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::helpers::less_or_equal(unsigned char const*, unsigned char const*, unsigned long const&)
bool less_or_equal(const unsigned char* arr1, const unsigned char* arr2, 
															 const std::size_t& len) {
			for (std::size_t i = 0; i < len; ++i) {
				if (arr1[i] < arr2[i]) { return true; }
				if (arr1[i] > arr2[i]) { return false; }
				// loop continues only when arr1[i] == arr2[i]
			}
			// nothing was returned in the loop, so values are equal
			return true;
		}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdx), %rdx
testq %rdx, %rdx
sete %al
je 0x4222
movb (%rdi), %r9b
movb (%rsi), %r10b
movb $0x1, %cl
cmpb %r10b, %r9b
jb 0x4222
movl $0x1, %r8d
cmpb %r10b, %r9b
ja 0x4228
cmpq %rdx, %r8
setae %al
je 0x4222
movb (%rdi,%r8), %r9b
movb (%rsi,%r8), %r10b
incq %r8
cmpb %r10b, %r9b
jae 0x4203
jmp 0x4222
orb %cl, %al
andb $0x1, %al
popq %rbp
retq
xorl %ecx, %ecx
jmp 0x4222
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::helpers::division::align_dividend(unsigned char*, unsigned char const*, unsigned long const&)
int align_dividend(unsigned char* dividend, const unsigned char* divisor, const std::size_t& len) {
				int result = 0;
				while (less_or_equal(divisor, dividend, len)) {
					bits::shift_right(dividend, 1, len);
					--result;
				}
				return result;
			}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
xorl %r15d, %r15d
leaq -0x30(%rbp), %r13
movq (%rbx), %rax
testq %rax, %rax
sete %dl
je 0x42b6
movb (%r14), %sil
movb (%r12), %dil
movb $0x1, %cl
cmpb %dil, %sil
jb 0x42e7
jbe 0x42b8
xorl %ecx, %ecx
jmp 0x42e7
jmp 0x42e7
movl $0x1, %ecx
movq %rcx, %rdx
cmpq %rdx, %rax
je 0x42e1
movb (%r14,%rdx), %sil
movb (%r12,%rdx), %dil
cmpb %dil, %sil
jb 0x42df
leaq 0x1(%rdx), %rcx
cmpb %dil, %sil
jbe 0x42bd
xorl %ecx, %ecx
jmp 0x42e1
movb $0x1, %cl
cmpq %rax, %rdx
setae %dl
orb %cl, %dl
testb $0x1, %dl
je 0x4309
movq $0x1, -0x30(%rbp)
movq %r12, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x431b
decl %r15d
jmp 0x4297
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::bits::shift_right(unsigned char*, unsigned long const&, unsigned long const&)
void shift_right(unsigned char* arr, const std::size_t& places, const std::size_t& arr_size) {
			std::size_t byte_places = places / 8;
			std::size_t bit_places = places % 8;
			helpers::shift_right(arr, byte_places, arr_size);
			// now we only have to worry about bit_places
			if (bit_places == 0) { return; }
			unsigned char mask = get_mask(bit_places);
			std::size_t offset = 8 - bit_places;
			unsigned char tmp;
			std::size_t i = arr_size - 1;
			// the first byte_places positions are all 0, so we don't have to worry about them
			while (i > byte_places) {
				// shift the given position
				arr[i] >>= bit_places;
				// get the relevant bits from the position to the left and add them in
				tmp = arr[i - 1] & mask;
				arr[i] += (tmp << offset);
				--i;
			}
			arr[byte_places] >>= bit_places;
		}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r12
movq %rdi, %rbx
movq (%rsi), %rax
movq %rax, %r14
shrq $0x3, %r14
movl %eax, %r15d
andl $0x7, %r15d
movq (%rdx), %rcx
cmpq %r14, %rcx
je 0x4368
movq %r14, %rdx
negq %rdx
leaq -0x1(%rbx), %rsi
movq %rsi, %rdi
subq %r14, %rdi
movb (%rdi,%rcx), %r8b
movb %r8b, (%rsi,%rcx)
decq %rcx
movq %rdx, %r8
addq %rcx, %r8
jne 0x4355
cmpq $0x8, %rax
jb 0x437b
movq %rbx, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x20b0
testq %r15, %r15
je 0x43d2
xorl %edx, %edx
movq %r15, %rax
addb %dl, %dl
movzbl %dl, %edx
incl %edx
decq %rax
jne 0x4385
movq (%r12), %rsi
decq %rsi
cmpq %r14, %rsi
jbe 0x43cb
movl $0x8, %eax
subl %r15d, %eax
movzbl (%rbx,%rsi), %edi
movl %r15d, %ecx
shrl %cl, %edi
movzbl -0x1(%rbx,%rsi), %r8d
andl %edx, %r8d
movl %eax, %ecx
shll %cl, %r8d
addl %edi, %r8d
movb %r8b, (%rbx,%rsi)
decq %rsi
cmpq %r14, %rsi
ja 0x43a5
movl %r15d, %ecx
shrb %cl, (%rbx,%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::helpers::division::align_divisor(unsigned char const*, unsigned char*, unsigned long const&)
int align_divisor(const unsigned char* dividend, unsigned char* divisor, const std::size_t& len) {
			  int result = 0;
				while (!less_or_equal(divisor, dividend, len)) {
					bits::shift_right(divisor, 1, len);
					++result;
				}
				return result;
			}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
xorl %r15d, %r15d
leaq -0x30(%rbp), %r13
movq (%rbx), %rax
testq %rax, %rax
sete %dl
je 0x4418
movb (%r14), %sil
movb (%r12), %dil
movb $0x1, %cl
cmpb %dil, %sil
jb 0x4449
jbe 0x441a
xorl %ecx, %ecx
jmp 0x4449
jmp 0x4449
movl $0x1, %ecx
movq %rcx, %rdx
cmpq %rdx, %rax
je 0x4443
movb (%r14,%rdx), %sil
movb (%r12,%rdx), %dil
cmpb %dil, %sil
jb 0x4441
leaq 0x1(%rdx), %rcx
cmpb %dil, %sil
jbe 0x441f
xorl %ecx, %ecx
jmp 0x4443
movb $0x1, %cl
cmpq %rax, %rdx
setae %dl
testb %dl, %dl
jne 0x446d
testb $0x1, %cl
jne 0x446d
movq $0x1, -0x30(%rbp)
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x431b
incl %r15d
jmp 0x43f9
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::helpers::division::readjust(unsigned char const*, unsigned char*, unsigned long const&)
int readjust(const unsigned char* dividend, unsigned char* divisor, const std::size_t& len) {
				int adjustment = 0;
				while (!less_or_equal(divisor, dividend, len)) {
					bits::shift_right(divisor, 1, len);
					++adjustment;
				}
				return adjustment;
			}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
xorl %r15d, %r15d
leaq -0x30(%rbp), %r13
movq (%rbx), %rax
testq %rax, %rax
sete %dl
je 0x44f2
movb (%r14), %sil
movb (%r12), %dil
movb $0x1, %cl
cmpb %dil, %sil
jb 0x4523
jbe 0x44f4
xorl %ecx, %ecx
jmp 0x4523
jmp 0x4523
movl $0x1, %ecx
movq %rcx, %rdx
cmpq %rdx, %rax
je 0x451d
movb (%r14,%rdx), %sil
movb (%r12,%rdx), %dil
cmpb %dil, %sil
jb 0x451b
leaq 0x1(%rdx), %rcx
cmpb %dil, %sil
jbe 0x44f9
xorl %ecx, %ecx
jmp 0x451d
movb $0x1, %cl
cmpq %rax, %rdx
setae %dl
testb %dl, %dl
jne 0x4547
testb $0x1, %cl
jne 0x4547
movq $0x1, -0x30(%rbp)
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x431b
incl %r15d
jmp 0x44d3
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::bits::set(unsigned char*, unsigned long const&)
void set(unsigned char* arr, const std::size_t& bit_to_set) {
			std::size_t array_index = bit_to_set / 8;
			std::size_t bit_position = bit_to_set % 8;
			unsigned char mask = 1 << (7 - bit_position);
			arr[array_index] |= mask;
		}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rsi), %rcx
movq %rcx, %rax
notb %cl
andb $0x7, %cl
movb $0x1, %dl
shlb %cl, %dl
shrq $0x3, %rax
orb %dl, (%rdi,%rax)
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::school_multiply(unsigned char const*, unsigned char const*, unsigned char*, unsigned long const&, unsigned long const&)
void school_multiply(const unsigned char* a, const unsigned char* b,
			unsigned char* result, const std::size_t& a_len, const std::size_t& b_len) {
		// end_pos tracks the least significant digit in the result array
		std::size_t a_index, b_index, result_index, end_pos;
		unsigned int carry, tmp;
		const std::size_t RESULT_LEN = a_len + b_len + 1;
		// initialize result to 0
		for (result_index = 0; result_index < RESULT_LEN; ++result_index) {
			result[result_index] = 0;
		}
		b_index = b_len;
		end_pos = RESULT_LEN;
		while (b_index > 0) {
			--b_index;
			result_index = end_pos;
			a_index = a_len;
			carry = 0;
			while (a_index > 0) {
				--a_index;
				--result_index;
				tmp = carry + result[result_index] + a[a_index] * b[b_index];
				result[result_index] = tmp % RADIX;
				carry = tmp / RADIX;
			}
			result[result_index - 1] = carry;
			--end_pos;
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r11
movq (%r8), %r13
addq (%rcx), %r13
movq %r13, %r12
incq %r12
je 0x45dc
movq %r14, %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %r11, -0x38(%rbp)
movq %r8, -0x30(%rbp)
callq 0x20b0
movq -0x30(%rbp), %r8
movq -0x38(%rbp), %r11
movq (%r8), %rax
testq %rax, %rax
je 0x4646
decq %r11
leaq (%r14,%r13), %rcx
notq %r13
decq %rax
movq (%rbx), %rdi
xorl %edx, %edx
testq %rdi, %rdi
je 0x4630
leaq (%r11,%rdi), %r8
negq %rdi
xorl %esi, %esi
movzbl (%rcx,%rsi), %r9d
addl %edx, %r9d
movzbl (%r8,%rsi), %r10d
movzbl (%r15,%rax), %edx
imull %r10d, %edx
addl %r9d, %edx
movb %dl, (%rcx,%rsi)
shrl $0x8, %edx
decq %rsi
cmpq %rsi, %rdi
jne 0x4604
subq %r13, %rsi
jmp 0x4633
movq %r12, %rsi
movb %dl, -0x1(%r14,%rsi)
decq %r12
incq %r13
decq %rcx
testq %rax, %rax
jne 0x45ee
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::add(unsigned char const*, unsigned char const*, unsigned char*, unsigned long const&)
void add(const unsigned char* a, const unsigned char* b, unsigned char* result,
			const std::size_t& len) {
		unsigned int carry = 0, tmp_sum;
		std::size_t i = len;
		while (i > 0) {
			--i;
			tmp_sum = carry + a[i] + b[i];
			result[i] = tmp_sum % RADIX;
			carry = tmp_sum / RADIX;
		}
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rcx), %rax
testq %rax, %rax
je 0x4680
xorl %ecx, %ecx
movzbl -0x1(%rdi,%rax), %r8d
addl %ecx, %r8d
movzbl -0x1(%rsi,%rax), %ecx
addl %r8d, %ecx
movb %cl, -0x1(%rdx,%rax)
shrl $0x8, %ecx
decq %rax
jne 0x4663
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::add(unsigned char const*, unsigned char const*, unsigned char*, unsigned long const&, unsigned long const&)
void add(const unsigned char* a, const unsigned char* b,
			unsigned char* result, const std::size_t& a_len, const std::size_t& b_len) {
		unsigned int carry = 0, tmp_sum;
		unsigned int a_b_diff = a_len - b_len;
		std::size_t i = b_len;
		while (i > 0) {
			--i;
			tmp_sum = carry + a[i + a_b_diff] + b[i];
			result[i + a_b_diff + 1] = tmp_sum % RADIX;
			carry = tmp_sum / RADIX;
		}
		i = a_b_diff;
		while (i > 0) {
			--i;
			tmp_sum = carry + a[i];
			result[i + 1] = tmp_sum % RADIX;
			carry = tmp_sum / RADIX;
		}
		result[0] = carry;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rcx), %rax
movq (%r8), %r8
subq %r8, %rax
testq %r8, %r8
je 0x46c2
movl %eax, %ecx
leaq (%rdx,%rcx), %r9
leaq (%rcx,%rdi), %r10
decq %r10
xorl %ecx, %ecx
movzbl (%r10,%r8), %r11d
addl %ecx, %r11d
movzbl -0x1(%rsi,%r8), %ecx
addl %r11d, %ecx
movb %cl, (%r9,%r8)
shrl $0x8, %ecx
decq %r8
jne 0x46a3
jmp 0x46c4
xorl %ecx, %ecx
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
andq %rsi, %rax
je 0x46e3
movzbl -0x1(%rdi,%rax), %esi
addl %ecx, %esi
movl %esi, %ecx
shrl $0x8, %ecx
movb %sil, (%rdx,%rax)
decq %rax
jne 0x46ce
movb %cl, (%rdx)
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::subtract(unsigned char const*, unsigned char const*, unsigned char*, unsigned long const&)
void subtract(const unsigned char* a, const unsigned char* b, unsigned char* result,
			const std::size_t& len) {
		std::size_t i;
		// copy of a is needed because we have to modify it when we borrow
		unsigned char* a_copy = new unsigned char[len];
		for (i = 0; i < len; ++i) { a_copy[i] = a[i]; }
		i = len;
		int borrow_index;
		while (i > 0) {
			--i;
			if (a_copy[i] >= b[i]) { result[i] = a_copy[i] - b[i]; }
			else {
				result[i] = RADIX + a_copy[i] - b[i];
				borrow_index = i - 1;
				// get to a point where there is something to borrow
				while (borrow_index > 0 && a_copy[borrow_index] == 0) {
					a_copy[borrow_index--] = RADIX_MINUS_ONE;
				}
				--a_copy[borrow_index];
			}
		}
		delete[] a_copy;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r13
movq (%rcx), %r15
movq %r15, %rdi
callq 0x2030
movq %rax, %r12
testq %r15, %r15
je 0x475d
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x2120
movb -0x1(%r12,%r15), %al
subb -0x1(%r14,%r15), %al
movb %al, -0x1(%rbx,%r15)
jae 0x4758
leal -0x2(%r15), %eax
testl %eax, %eax
jle 0x4752
movl %eax, %ecx
cmpb $0x0, (%r12,%rcx)
jne 0x4752
leal -0x1(%rax), %edx
movb $-0x1, (%r12,%rcx)
cmpl $0x1, %eax
movl %edx, %eax
jg 0x4738
xorl %eax, %eax
cltq
decb (%r12,%rax)
decq %r15
jne 0x471f
movq %r12, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2190
// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/src/array_arithmetic.cpp
// Function: array_arithmetic::subtract(unsigned char const*, unsigned char const*, unsigned char*, unsigned long const&, unsigned long const&)
void subtract(const unsigned char* a, const unsigned char* b, unsigned char* result,
			const std::size_t& a_len, const std::size_t& b_len) {
		std::size_t i;
		// copy of a is needed because we have to modify it when we borrow
		unsigned char* a_copy = new unsigned char[a_len];
		for (i = 0; i < a_len; ++i) { a_copy[i] = a[i]; }
		std::size_t ab_len_diff = a_len - b_len;
		i = b_len;
		int borrow_index;
		while (i > 0) {
			--i;
			if (a_copy[i + ab_len_diff] >= b[i]) { result[i + ab_len_diff] = a_copy[i + ab_len_diff] - b[i]; }
			else {
				result[i + ab_len_diff] = RADIX + a_copy[i + ab_len_diff] - b[i];
				borrow_index = i + ab_len_diff - 1;
				// get to a point where there is something to borrow
				while (borrow_index > 0 && a_copy[borrow_index] == 0) {
					a_copy[borrow_index--] = RADIX_MINUS_ONE;
				}
				--a_copy[borrow_index];
			}
		}
		i = ab_len_diff;
		while (i > 0) {
			--i;
			result[i] = a_copy[i];
		}
		delete[] a_copy;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r13
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, -0x30(%rbp)
movq (%rcx), %r12
movq %r12, %rdi
callq 0x2030
movq %rax, %r14
testq %r12, %r12
je 0x47b0
movq %r14, %rdi
movq -0x30(%rbp), %rsi
movq %r12, %rdx
callq 0x2120
movq (%r13), %rax
movq %r12, %rdx
subq %rax, %rdx
testq %rax, %rax
je 0x4804
movq %rax, %rcx
leaq (%rcx,%rdx), %rsi
decq %rsi
movb (%r14,%rsi), %dil
subb -0x1(%r15,%rcx), %dil
movb %dil, (%rbx,%rsi)
jae 0x47ff
decl %esi
testl %esi, %esi
jle 0x47f8
movl %esi, %edi
cmpb $0x0, (%r14,%rdi)
jne 0x47f8
movb $-0x1, (%r14,%rdi)
leal -0x1(%rsi), %edi
cmpl $0x1, %esi
movl %edi, %esi
jg 0x47de
xorl %esi, %esi
movslq %esi, %rsi
decb (%r14,%rsi)
decq %rcx
jne 0x47c2
cmpq %rax, %r12
je 0x4814
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2120
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2190
// File: /workspace/github_cpp_makefile_star2_O1/Mespyr[P]bop-lisp/src/env.cpp
// Function: Env::at_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
object Env::at_key(std::string key) 
{
    if (has_key(key))
    {
        return dict.at(key);
    }
    else 
    {
        return make_object(BOP_NUMBER, "0");
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq %rax, -0x10(%rax)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq -0x50(%rbp), %r12
movq %r12, %rdi
callq 0x367e
movq %r15, %rdi
movq %r12, %rsi
callq 0x3800
movq %rax, %r12
leaq 0x8(%r15), %r13
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x27b3
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2240
cmpq %r13, %r12
je 0x27fb
movq %r15, %rdi
movq %r14, %rsi
callq 0x2bc2
movq %rax, %r15
movl (%rax), %eax
movl %eax, (%rbx)
leaq 0x8(%rbx), %r14
leaq 0x18(%rbx), %r12
movq %r12, 0x8(%rbx)
movq 0x8(%r15), %rsi
movq 0x10(%r15), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x367e
leaq 0x28(%rbx), %rdi
addq $0x28, %r15
movq %r15, %rsi
callq 0x2e00
jmp 0x2863
leaq -0x60(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x116ab(%rip), %rsi     # 0x13eb5
leaq 0x116a5(%rip), %rdx     # 0x13eb6
leaq -0x70(%rbp), %r14
movq %r14, %rdi
callq 0x3766
xorps %xmm0, %xmm0
leaq -0x90(%rbp), %rcx
movaps %xmm0, (%rcx)
movq $0x0, 0x10(%rcx)
movq %rbx, %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x11f24
leaq -0x90(%rbp), %rdi
callq 0x2c20
movq -0x70(%rbp), %rdi
cmpq %r15, %rdi
je 0x2863
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2240
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
callq 0x2c20
movq -0x70(%rbp), %rdi
movq %r15, -0x30(%rbp)
cmpq %r15, %rdi
jne 0x28b4
jmp 0x28c3
movq %rax, %rbx
movq (%r14), %rdi
movq %r12, -0x30(%rbp)
cmpq %r12, %rdi
jne 0x28b4
jmp 0x28c3
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x28c3
movq -0x30(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x2240
movq %rbx, %rdi
callq 0x23a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Mespyr[P]bop-lisp/src/env.cpp
// Function: Env::set_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, object)
void Env::set_key(std::string key, object value) 
{
    if (has_key(key)) 
    {
        dict.find(key)->second = value;
    } 
    else 
    {
        add_key(key, value);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq -0x38(%rbp), %rax
movq %rax, -0x10(%rax)
movq (%rsi), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %r12
movq %r12, %rdi
callq 0x367e
movq %r14, %rdi
movq %r12, %rsi
callq 0x3800
movq %rax, %r12
leaq 0x8(%r14), %r13
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x29d2
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2240
cmpq %r13, %r12
je 0x2a10
movq %r14, %rdi
movq %r15, %rsi
callq 0x3b04
movq %rax, %r14
movl (%rbx), %eax
movl %eax, 0x40(%r14)
leaq 0x48(%r14), %rdi
leaq 0x8(%rbx), %rsi
callq 0x2150
addq $0x68, %r14
addq $0x28, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2fce
jmp 0x2ab1
leaq -0x58(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %rdi
callq 0x367e
movl (%rbx), %eax
leaq -0xa0(%rbp), %rdi
movl %eax, -0x8(%rdi)
leaq -0x90(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
addq %rsi, %rdx
callq 0x367e
leaq -0x80(%rbp), %r15
addq $0x28, %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2e00
leaq -0x68(%rbp), %rsi
leaq -0xa8(%rbp), %rdx
movq %r14, %rdi
callq 0x28ec
movq %r15, %rdi
callq 0x2c20
movq -0xa0(%rbp), %rdi
cmpq %r12, %rdi
je 0x2a9c
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x2240
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x2ab1
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2240
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0xa8(%rbp), %rdi
callq 0x2d8c
jmp 0x2af7
movq %rax, %rbx
movq -0xa0(%rbp), %rdi
cmpq %r12, %rdi
je 0x2af7
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x2240
jmp 0x2af7
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x2b0c
movq (%r13), %rsi
incq %rsi
callq 0x2240
movq %rbx, %rdi
callq 0x23a0
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
movq %rax, %r13
cmpq %rax, %rdi
jne 0x2b00
jmp 0x2b0c
nop
// File: /workspace/github_cpp_makefile_star2_O1/Mespyr[P]bop-lisp/src/errors.cpp
// Function: ErrorMap::error[abi:cxx11]()
std::string ErrorMap::error() 
{
    if (type == ARGUMENT_ERROR) 
    {
        return arg.error();
    }
    else if (type == KEYWORD_ERROR) 
    {
        return keyword.error();
    }
    else if (type == DIVISION_BY_ZERO_ERROR) 
    {
        return division.error();
    }
    else if (type == TYPE_ERROR) 
    {
        return type_.error();
    }
    else if (type == INDEX_ERROR) 
    {
        return index.error();
    }
    else 
    {
        return "Error Found with Bop: Can't get Error Type.";
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl (%rsi), %eax
cmpq $0x4, %rax
ja 0x4bf8
leaq 0xe4c6(%rip), %rcx      # 0x1306c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
addq $0x8, %rsi
movq %rbx, %rdi
callq 0x4026
jmp 0x4c15
addq $0x88, %rsi
movq %rbx, %rdi
callq 0x4944
jmp 0x4c15
subq $-0x80, %rsi
movq %rbx, %rdi
callq 0x44ba
jmp 0x4c15
addq $0x58, %rsi
movq %rbx, %rdi
callq 0x46fa
jmp 0x4c15
addq $0x30, %rsi
movq %rbx, %rdi
callq 0x4270
jmp 0x4c15
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0xe53b(%rip), %rsi      # 0x13141
leaq 0xe55f(%rip), %rdx      # 0x1316c
movq %rbx, %rdi
callq 0x3766
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq