LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/dgboy2000[P]compress/compress.cpp
// Function: DATCompression::burrows_wheeler_decode(int*, int)
int *DATCompression::burrows_wheeler_decode(int *data, int n) {
    long int dollar_pos = 256*256*data[n+1] + 256*data[n+2] + data[n+3];
    int bwt_size = n + 1;
    
    pair<int,int> *f = (pair<int,int> *) calloc(bwt_size, sizeof(pair<int,int>));
    int *t = (int *) calloc(bwt_size, sizeof(int));
    int *s = (int *) calloc(n, sizeof(int));
    
    for (int i=0; i<bwt_size; ++i) f[i] = pair<int,int>(data[i], i);
    stable_sort(f, f + bwt_size, pair_comparator);
    
    for (int i=0; i<bwt_size; ++i) t[f[i].second] = i;
    free(f);
    
    int last_t = dollar_pos;
    for (int i=1; i<=n; ++i) {
        last_t = t[last_t];
        s[n-i] = data[last_t];
    }
    free(t);
    
    return s;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rbx
leal 0x1(%rdx), %eax
movl %eax, 0x4(%rsp)
movslq %eax, %r15
movl (%rsi,%r15,4), %eax
shll $0x10, %eax
movq %rdx, 0x18(%rsp)
movslq %edx, %r13
movl 0x8(%rsi,%r13,4), %r12d
shll $0x8, %r12d
addl %eax, %r12d
addl 0xc(%rsi,%r13,4), %r12d
movl $0x8, %esi
movq %r15, %rdi
callq 0x2110
movq %rax, %rbp
movl $0x4, %esi
movq %r15, %rdi
callq 0x2110
movq %rax, %r14
movl $0x4, %esi
movq %r13, %rdi
callq 0x2110
movq %rax, 0x10(%rsp)
testl %r13d, %r13d
js 0x525b
movl 0x4(%rsp), %eax
xorl %ecx, %ecx
movl (%rbx,%rcx,4), %edx
movl %edx, (%rbp,%rcx,8)
movl %ecx, 0x4(%rbp,%rcx,8)
incq %rcx
cmpq %rcx, %rax
jne 0x5248
cmpl $0x0, 0x4(%rsp)
je 0x5345
leaq (,%r15,8), %rax
addq %rbp, %rax
movq %rax, 0x8(%rsp)
leaq 0x1(%r15), %rax
shrq $0x3f, %rax
addq %r15, %rax
incq %rax
shrq %rax
movslq %eax, %rdx
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %rbp, %rsi
callq 0x6834
movq 0x10(%r15), %rdx
testq %rdx, %rdx
je 0x52be
movq 0x28(%rsp), %rcx
leaq -0xe6(%rip), %r8        # 0x51c9
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0x6927
jmp 0x52d2
leaq -0xfc(%rip), %rdx       # 0x51c9
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0x68a4
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdi
shlq $0x3, %rsi
callq 0x21b0
cmpl $0x0, 0x18(%rsp)
js 0x5345
movl 0x4(%rsp), %r15d
xorl %eax, %eax
movslq 0x4(%rbp,%rax,8), %rcx
movl %eax, (%r14,%rcx,4)
incq %rax
cmpq %rax, %r15
jne 0x52f3
movq %rbp, %rdi
callq 0x21f0
cmpl $0x0, 0x18(%rsp)
movq 0x10(%rsp), %rbp
je 0x5352
leaq (,%r13,4), %rax
addq %rbp, %rax
negq %r15
movq $-0x1, %rcx
movslq %r12d, %rdx
movslq (%r14,%rdx,4), %r12
movl (%rbx,%r12,4), %edx
movl %edx, (%rax,%rcx,4)
decq %rcx
cmpq %rcx, %r15
jne 0x532d
jmp 0x5352
movq %rbp, %rdi
callq 0x21f0
movq 0x10(%rsp), %rbp
movq %r14, %rdi
callq 0x21f0
movq %rbp, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdi
shlq $0x3, %rsi
callq 0x21b0
movq %rbx, %rdi
callq 0x22c0
// File: /workspace/github_cpp_makefile_star2_O3/dgboy2000[P]compress/compress.cpp
// Function: DATCompression::compute_diff_statistics(std::vector<int, std::allocator<int>>)
vector<int> DATCompression::compute_diff_statistics(vector<int> data) {
    vector<int> diffs = compute_diffs(data);
    map<int, int> diff_counts;

    for (vector<int>::iterator viter = diffs.begin(); viter < diffs.end(); ++viter) {
        int val = *viter;
        if (diff_counts.count(val) == 0) diff_counts[val] = 0;
        ++diff_counts[val];
    }
    
    cout << "Counts of each difference in the data:" << endl;
    for (map<int, int>::iterator miter = diff_counts.begin(); miter != diff_counts.end(); ++miter) {
        printf("%d: %d\n", (*miter).first, (*miter).second);
    }
    
    return diffs;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rdx, %rsi
callq 0x6284
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4b14
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x53cc
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x21b0
leaq 0x28(%rsp), %r12
movl $0x0, (%r12)
xorl %eax, %eax
movq %rax, 0x8(%r12)
movq %r12, 0x10(%r12)
movq %r12, 0x18(%r12)
movq %rax, 0x20(%r12)
movq (%rbx), %r13
cmpq 0x8(%rbx), %r13
jae 0x5471
leaq 0x20(%rsp), %r14
leaq 0x4(%rsp), %r15
movl (%r13), %eax
movl %eax, 0x4(%rsp)
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x5449
movq %r12, %r8
movq %r8, %rcx
movq %rdi, %rdx
movl 0x20(%rdi), %esi
xorl %edi, %edi
cmpl %eax, %esi
setl %dil
movq %rdx, %r8
cmovlq %rcx, %r8
movq 0x10(%rdx,%rdi,8), %rdi
testq %rdi, %rdi
jne 0x5417
cmpq %r12, %r8
je 0x5449
cmpl %eax, %esi
cmovlq %rcx, %rdx
cmpl 0x20(%rdx), %eax
jge 0x545a
movq %r14, %rdi
movq %r15, %rsi
callq 0x63d2
movl $0x0, (%rax)
movq %r14, %rdi
movq %r15, %rsi
callq 0x63d2
incl (%rax)
addq $0x4, %r13
cmpq 0x8(%rbx), %r13
jb 0x5402
movq 0x5b60(%rip), %r14      # 0xafd8
leaq 0x2c47(%rip), %rsi      # 0x80c6
movl $0x26, %edx
movq %r14, %rdi
callq 0x21e0
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq 0x5b2e(%rip), %rdi      # 0xafd8
callq 0x2040
movq %rax, %rdi
callq 0x2120
movq 0x38(%rsp), %r14
cmpq %r12, %r14
je 0x54ea
leaq 0x2c25(%rip), %r15      # 0x80ed
movl 0x20(%r14), %esi
movl 0x24(%r14), %edx
movq %r15, %rdi
xorl %eax, %eax
callq 0x2050
movq %r14, %rdi
callq 0x2130
movq %rax, %r14
cmpq %r12, %rax
jne 0x54c8
leaq 0x20(%rsp), %rdi
callq 0x64be
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
movq 0x8(%rsp), %rdi
movq %r15, %rbx
jmp 0x5524
jmp 0x5514
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x64be
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x5535
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x21b0
movq %r14, %rdi
callq 0x22c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/dgboy2000[P]compress/compress.cpp
// Function: SuffixArray::prepareSuffixArray()
void SuffixArray::prepareSuffixArray() {
    // Add 3 trailing zeroes for skew algorithm
    int i;
    int *cur_data_elt = s + n;
    *cur_data_elt = 0; ++cur_data_elt;
    *cur_data_elt = 0; ++cur_data_elt;
    *cur_data_elt = 0; ++cur_data_elt;
    
    sa = (int *) calloc(n, sizeof(int));
    
    // Suffix array computation requires values in [1,256] instead of [0,255]
    for (i=0; i<n; ++i) ++s[i];
    doSuffixArrayComputation(s, sa, n, 256);
    for (i=0; i<n; ++i) --s[i];
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %r14
movslq (%rdi), %rax
movq $0x0, (%r14,%rax,4)
movl $0x0, 0x8(%r14,%rax,4)
movslq (%rdi), %r15
movl $0x4, %esi
movq %r15, %rdi
callq 0x2110
movq %rax, 0x8(%rbx)
testq %r15, %r15
jle 0x55e8
xorl %ecx, %ecx
incl (%r14,%rcx,4)
incq %rcx
movslq (%rbx), %r15
cmpq %r15, %rcx
jl 0x55d9
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
movl %r15d, %ecx
movl $0x100, %r8d            # imm = 0x100
callq 0x5660
cmpl $0x0, (%rbx)
jle 0x5618
movq 0x10(%rbx), %rax
xorl %ecx, %ecx
decl (%rax,%rcx,4)
incq %rcx
movslq (%rbx), %rdx
cmpq %rdx, %rcx
jl 0x560a
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/dgboy2000[P]compress/compress.cpp
// Function: SuffixArray::print()
void SuffixArray::print() {
    for (int i=0; i<(n+3); ++i) {
        printf("s[%d] = %d\n", i, s[i]);
    }
    for (int i=0; i<n; ++i) {
        printf("sa[%d] = %d\n", i, sa[i]);
    }
}

// Assembly:
cmpl $-0x2, (%rdi)
jl 0x5cca
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x2489(%rip), %r14      # 0x80f5
xorl %r15d, %r15d
movq 0x10(%rbx), %rax
movl (%rax,%r15,4), %edx
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq 0x2050
leaq 0x1(%r15), %rcx
movslq (%rbx), %rax
leaq 0x2(%rax), %rdx
cmpq %rdx, %r15
movq %rcx, %r15
jl 0x5c6f
testl %eax, %eax
jle 0x5cc5
leaq 0x245f(%rip), %r14      # 0x8101
xorl %r15d, %r15d
movq 0x8(%rbx), %rax
movl (%rax,%r15,4), %edx
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq 0x2050
incq %r15
movslq (%rbx), %rax
cmpq %rax, %r15
jl 0x5ca5
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/dgboy2000[P]compress/compress.cpp
// Function: SuffixArray::radixPass(int*, int*, int*, int, int)
void SuffixArray::radixPass(int* a, int* b, int* r, int n, int K)
{// count occurrences
    int* c = new int[K + 1]; // counter array
    for (int i = 0; i <= K; i++) c[i] = 0; // reset counters
    for (int i = 0; i < n; i++) c[r[a[i]]]++; // count occurrences
    for (int i = 0, sum = 0; i <= K; i++) // exclusive prefix sums
    {int t = c[i]; c[i] = sum; sum += t; }
    for (int i = 0; i < n; i++) b[c[r[a[i]]]++] = a[i]; // sort
    delete [] c;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, %r13d
movl %r8d, 0xc(%rsp)
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
leal 0x1(%r13), %ebp
leaq (,%rbp,4), %rax
cmpl $-0x1, %r9d
movq $-0x1, %rdi
movq %rax, 0x10(%rsp)
cmovgeq %rax, %rdi
callq 0x2030
movq %rax, %r12
testl %r13d, %r13d
js 0x5d27
movq %r12, %rdi
xorl %esi, %esi
movq 0x10(%rsp), %rdx
callq 0x20f0
movl 0xc(%rsp), %edi
movl %edi, %eax
testl %edi, %edi
jle 0x5d47
xorl %ecx, %ecx
movslq (%r15,%rcx,4), %rdx
movslq (%rbx,%rdx,4), %rdx
incl (%r12,%rdx,4)
incq %rcx
cmpq %rcx, %rax
jne 0x5d33
testl %r13d, %r13d
js 0x5d64
xorl %ecx, %ecx
xorl %edx, %edx
movl (%r12,%rcx,4), %esi
addl %edx, %esi
movl %edx, (%r12,%rcx,4)
incq %rcx
movl %esi, %edx
cmpq %rcx, %rbp
jne 0x5d50
testl %edi, %edi
jle 0x5d8a
xorl %ecx, %ecx
movslq (%r15,%rcx,4), %rdx
movslq (%rbx,%rdx,4), %rsi
movslq (%r12,%rsi,4), %rdi
leal 0x1(%rdi), %r8d
movl %r8d, (%r12,%rsi,4)
movl %edx, (%r14,%rdi,4)
incq %rcx
cmpq %rcx, %rax
jne 0x5d6a
movq %r12, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2210
// File: /workspace/github_cpp_makefile_star2_O3/dgboy2000[P]compress/compress.cpp
// Function: test_suffix_arrays()
void test_suffix_arrays() {
    int len = 9;
    int word[] = {1, 2, 3, 4, 5, 4, 3, 2, 1};
    int true_suffixes[] = {8, 0, 7, 1, 6, 2, 5, 3, 4};
    
    SuffixArray sa(word, len);
    int *suffixes = sa.getSuffixArray();
    
    
    for (int i=0; i<len; ++i) {
        if (suffixes[i] == true_suffixes[i]) {
            //printf("CORRECT: True suffix SA[%d] = %d\n", i, suffixes[i]);
        } else {
            printf("FAIL: True suffix SA[%d] is %d but found %d\n", i, true_suffixes[i], suffixes[i]);
            return;
        }
    }
    printf("PASS: suffix array is correct\n");
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
leaq 0x8(%rsp), %rbx
movl $0x9, (%rbx)
movl $0xc, %edi
movl $0x4, %esi
callq 0x2110
movq %rax, 0x10(%rbx)
movaps 0x24d6(%rip), %xmm0     # 0x82a0
movups %xmm0, (%rax)
movaps 0x24dc(%rip), %xmm0     # 0x82b0
movups %xmm0, 0x10(%rax)
movl $0x1, 0x20(%rax)
movq %rbx, %rdi
callq 0x559e
leaq 0x24e2(%rip), %rax      # 0x82d0
xorl %esi, %esi
movq 0x8(%rbx), %rbx
movl (%rbx,%rsi,4), %ecx
movl (%rax), %edx
cmpl %edx, %ecx
jne 0x5e18
incq %rsi
addq $0x4, %rax
cmpq $0x9, %rsi
jne 0x5df4
leaq 0x2464(%rip), %rdi      # 0x8275
callq 0x2240
jmp 0x5e26
leaq 0x22ef(%rip), %rdi      # 0x810e
xorl %eax, %eax
callq 0x2050
movq %rbx, %rdi
callq 0x21f0
movq 0x18(%rsp), %rdi
addq $0x20, %rsp
popq %rbx
jmp 0x21f0
// File: /workspace/github_cpp_makefile_star2_O3/syusui-s[P]old_rpn_language/strfunc.cpp
// Function: delsp(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::string delsp(std::string input){
	//str+=(std::string)" ";
	input.insert(input.length()," ");
	while(1){
		if(input.find("  ",0)==std::string::npos) break;
		input.erase(input.find("  ",0),1);
	}
	if(input[0]==' ') input.erase(0,1);
	#ifdef DEBUG
	std::cout << input << std::endl;
	#endif

	return input;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
leaq 0x4bc3(%rip), %rcx      # 0x7005
movl $0x1, %r8d
movq %rbx, %rdi
xorl %edx, %edx
callq 0x21c0
leaq 0x4bab(%rip), %rsi      # 0x7004
movl $0x2, %ecx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x2290
cmpq $-0x1, %rax
je 0x24af
leaq 0x4b8f(%rip), %r15      # 0x7004
movl $0x2, %ecx
movq %rbx, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x2290
movl $0x1, %edx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x2060
movl $0x2, %ecx
movq %rbx, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x2290
cmpq $-0x1, %rax
jne 0x2475
movq (%rbx), %rax
cmpb $0x20, (%rax)
jne 0x24c9
movl $0x1, %edx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2060
movq (%rbx), %rax
leaq 0x10(%r14), %rdx
movq %rdx, (%r14)
leaq 0x10(%rbx), %rcx
cmpq %rcx, %rax
je 0x24e5
movq %rax, (%r14)
movq (%rcx), %rax
movq %rax, 0x10(%r14)
jmp 0x24eb
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq 0x8(%rbx), %rax
movq %rax, 0x8(%r14)
movq %rcx, (%rbx)
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/syusui-s[P]old_rpn_language/./element.h
// Function: is_float(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool is_float(std::string input){
	unsigned int i;
	bool dec=false;

	for(i=0;i<input.length();i++){
		if(is_dec(input[i]) && dec){
			throw((std::string)"小数点を2個以上指定することはできません。");
			return false;
		}
		if(!is_dig(input[i]) && !is_dec(input[i])) return false;
		if(is_dec(input[i])) dec=true;

		if(dec && input.length()==1){
			//「.」のみの小数は扱えません
			return false;
		}
	}
	return true;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x8(%rdi), %rcx
movb $0x1, %al
testq %rcx, %rcx
je 0x2930
movq (%rdi), %rdx
movl $0x1, %esi
xorl %r8d, %r8d
xorl %edi, %edi
movb (%rdx,%r8), %r8b
cmpb $0x2e, %r8b
jne 0x290c
testb $0x1, %dil
movb $0x1, %dil
je 0x291c
jmp 0x2938
addb $-0x30, %r8b
cmpb $0x9, %r8b
ja 0x292e
testb $0x1, %dil
je 0x2922
cmpq $0x1, %rcx
je 0x292e
movl %esi, %r8d
incl %esi
cmpq %r8, %rcx
ja 0x28f7
jmp 0x2930
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x20, %edi
callq 0x20c0
movq %rax, %rbx
addq $0x10, %rax
movq %rax, (%rbx)
leaq 0x4766(%rip), %rsi      # 0x70b9
leaq 0x479c(%rip), %rdx      # 0x70f6
movq %rbx, %rdi
callq 0x610e
leaq 0x741f(%rip), %rsi      # 0x9d88
movq 0x7648(%rip), %rdx      # 0x9fb8
movq %rbx, %rdi
callq 0x2280
movq %rax, %r14
movq %rbx, %rdi
callq 0x2110
movq %r14, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/syusui-s[P]old_rpn_language/./element.h
// Function: is_alphastr(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool is_alphastr(std::string input){
	unsigned int i;

	for(i=0;i<input.length();i++){
		if(!is_alphabet(input[i])){
			return false;
		}
	}
	return true;
}

// Assembly:
movq 0x8(%rdi), %rcx
testq %rcx, %rcx
je 0x29b6
movq (%rdi), %rdx
movl $0x1, %esi
xorl %edi, %edi
movb (%rdx,%rdi), %al
andb $-0x21, %al
addb $-0x41, %al
cmpb $0x1a, %al
setb %al
jae 0x29b5
movl %esi, %edi
incl %esi
cmpq %rdi, %rcx
ja 0x299e
retq
movb $0x1, %al
retq
// File: /workspace/github_cpp_makefile_star2_O3/syusui-s[P]old_rpn_language/./element.h
// Function: findop(Element**, int)
int findop(Element** input,int length){
	int i,output=-1;

	for(i=0;i<length;i++){
		//std::cout << i + " ";
		#if MYDEBUG
		std::cout << input[i]->data_is() << ".type_is() --->" << input[i]->type_is() << std::endl;
		#endif

		if((input[i]->type_is()) == "op"){
			output=i;
			break;
		}
	}
	if(output==-1) throw((std::string)"演算子が見つかりませんでした。");

	return output;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
testl %esi, %esi
jle 0x36be
movq %rdi, %rbx
leaq 0x18(%rsp), %r13
movl %esi, %r12d
xorl %r14d, %r14d
leaq 0x8(%rsp), %r15
movq (%rbx,%r14,8), %rax
movq %r13, 0x8(%rsp)
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x6078
movq %r15, %rdi
leaq 0x3ac2(%rip), %rsi      # 0x7156
callq 0x2080
movl %eax, %ebp
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x36b2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2190
testl %ebp, %ebp
je 0x36fe
incq %r14
cmpq %r14, %r12
jne 0x366e
movl $0x20, %edi
callq 0x20c0
movq %rax, %rbx
addq $0x10, %rax
movq %rax, (%rbx)
leaq 0x3ad6(%rip), %rsi      # 0x71af
leaq 0x3afc(%rip), %rdx      # 0x71dc
movq %rbx, %rdi
callq 0x610e
leaq 0x6699(%rip), %rsi      # 0x9d88
movq 0x68c2(%rip), %rdx      # 0x9fb8
movq %rbx, %rdi
callq 0x2280
movl %r14d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x2110
movq %r14, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/syusui-s[P]old_rpn_language/./element.h
// Function: take_elements(Element**, int, int)
Element** take_elements(Element** elements, int pos, int num){
	int i;
	Element **output = new Element*[num];

	for(i=pos;i<pos+num;i++){
		output[i-pos] = elements[i];
	}
	return output;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebx
movl %esi, %ebp
movq %rdi, %r14
movl %edx, %eax
shlq $0x3, %rax
testl %edx, %edx
movq $-0x1, %rdi
cmovnsq %rax, %rdi
callq 0x2030
testl %ebx, %ebx
jle 0x3773
addl %ebp, %ebx
movslq %ebp, %rcx
leaq (%r14,%rcx,8), %rsi
leal 0x1(%rcx), %edx
cmpl %edx, %ebx
cmovlel %edx, %ebx
notl %ecx
addl %ebx, %ecx
leaq 0x8(,%rcx,8), %rdx
movq %rax, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x2140
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/syusui-s[P]old_rpn_language/./element.h
// Function: op_divide(Element*, Element*)
Element* op_divide(Element* op1,Element* op2){
	//long a;
	double b;
	Element *rtn;
	
	b = atof(op1->data_is().c_str()) / atof(op2->data_is().c_str());
	rtn = new Element(ftoa(b));

	return rtn;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x70, %rsp
movq %rsi, %rbx
leaq 0x40(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rdi), %rsi
movq 0x8(%rdi), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %r14
movq %r14, %rdi
callq 0x6078
movq (%r14), %rdi
callq 0x2210
movsd %xmm0, (%rsp)
leaq 0x60(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
callq 0x6078
movq 0x50(%rsp), %rbx
movq %rbx, %rdi
callq 0x2210
movapd %xmm0, %xmm1
cmpq %r14, %rbx
je 0x445a
movq 0x60(%rsp), %rsi
incq %rsi
movq %rbx, %rdi
movsd %xmm1, 0x8(%rsp)
callq 0x2190
movsd 0x8(%rsp), %xmm1
movsd (%rsp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, (%rsp)
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x447f
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2190
movl $0x40, %edi
callq 0x2180
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
movsd (%rsp), %xmm0
callq 0x273f
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x322c
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x44c3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2190
movq %rbx, %rax
addq $0x70, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x44f3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x44f3
movq %rax, %r14
movl $0x40, %esi
movq %rbx, %rdi
jmp 0x4512
movq %rax, %r14
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x4517
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2190
movq %r14, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/syusui-s[P]old_rpn_language/./element.h
// Function: fn_absolute(Element*)
Element* fn_absolute(Element* op){
	long a;
	double b;
	Element *rtn;
	
	if(op->type_is() == "int"){
		a = atol(op->data_is().c_str());
		if(a<0) a*=-1;
		rtn = new Element(ltoa(a));
	}else if(op->type_is() == "float"){
		b = atof(op->data_is().c_str());
		if(b<0) b*=-1;
		rtn = new Element(ftoa(b));
	}

	return rtn;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x20(%rdi), %rsi
movq 0x28(%rdi), %rdx
addq %rsi, %rdx
movq %rsp, %r14
movq %r14, %rdi
callq 0x6078
leaq 0x28ad(%rip), %rsi      # 0x714a
movq %r14, %rdi
callq 0x2080
movl %eax, %ebp
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x48bc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2190
movq %rsp, %r14
testl %ebp, %ebp
je 0x498a
movq %r15, (%r14)
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x6078
leaq 0x2875(%rip), %rsi      # 0x7159
movq %r14, %rdi
callq 0x2080
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x4901
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2190
movq %rsp, %r14
movq %r15, (%r14)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x6078
movq (%r14), %rbx
movq %rbx, %rdi
callq 0x2210
cmpq %r15, %rbx
je 0x4944
movq 0x10(%rsp), %rsi
incq %rsi
movq %rbx, %rdi
movaps %xmm0, 0x20(%rsp)
callq 0x2190
movapd 0x20(%rsp), %xmm0
movapd 0x26c4(%rip), %xmm1     # 0x7010
xorpd %xmm0, %xmm1
maxsd %xmm0, %xmm1
movapd %xmm1, 0x20(%rsp)
movl $0x40, %edi
callq 0x2180
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
movaps 0x20(%rsp), %xmm0
callq 0x273f
leaq 0x38(%rsp), %rsi
movq %rbx, %rdi
callq 0x322c
leaq 0x48(%rsp), %rax
jmp 0x49f8
movq %r15, (%r14)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x6078
movq (%r14), %r14
movq %r14, %rdi
callq 0x21e0
movq %rax, %rbx
cmpq %r15, %r14
je 0x49c2
movq 0x10(%rsp), %rsi
incq %rsi
movq %r14, %rdi
callq 0x2190
movq %rbx, %r14
negq %r14
cmovsq %rbx, %r14
movl $0x40, %edi
callq 0x2180
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
movq %r14, %rsi
callq 0x26bc
leaq 0x58(%rsp), %rsi
movq %rbx, %rdi
callq 0x322c
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4a0c
movq (%rax), %rsi
incq %rsi
callq 0x2190
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4a57
movq 0x68(%rsp), %rsi
jmp 0x4a4a
jmp 0x4a54
movq %rax, %r14
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4a57
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x4a57
movq %rax, %r14
movl $0x40, %esi
movq %rbx, %rdi
callq 0x2190
movq %r14, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/syusui-s[P]old_rpn_language/./element.h
// Function: fn_pm(Element*)
Element* fn_pm(Element* op){
	long a;
	double b;
	Element *rtn;
	
	if(op->type_is() == "int"){
		a = atol(op->data_is().c_str());
		a*=-1;
		rtn = new Element(ltoa(a));
	}else if(op->type_is() == "float"){
		b = atof(op->data_is().c_str());
		b*=-1;
		rtn = new Element(ftoa(b));
	}

	return rtn;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x20(%rdi), %rsi
movq 0x28(%rdi), %rdx
addq %rsi, %rdx
movq %rsp, %r14
movq %r14, %rdi
callq 0x6078
leaq 0x26ab(%rip), %rsi      # 0x714a
movq %r14, %rdi
callq 0x2080
movl %eax, %ebp
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x4abe
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2190
movq %rsp, %r14
testl %ebp, %ebp
je 0x4b81
movq %r15, (%r14)
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x6078
leaq 0x2673(%rip), %rsi      # 0x7159
movq %r14, %rdi
callq 0x2080
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x4b03
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2190
movq %rsp, %r14
movq %r15, (%r14)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x6078
movq (%r14), %rbx
movq %rbx, %rdi
callq 0x2210
movaps %xmm0, 0x20(%rsp)
cmpq %r15, %rbx
je 0x4b40
movq 0x10(%rsp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x2190
movaps 0x20(%rsp), %xmm0
xorps 0x24c4(%rip), %xmm0     # 0x7010
movaps %xmm0, 0x20(%rsp)
movl $0x40, %edi
callq 0x2180
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
movaps 0x20(%rsp), %xmm0
callq 0x273f
leaq 0x38(%rsp), %rsi
movq %rbx, %rdi
callq 0x322c
leaq 0x48(%rsp), %rax
jmp 0x4be8
movq %r15, (%r14)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x6078
movq (%r14), %rbx
movq %rbx, %rdi
callq 0x21e0
movq %rax, %r14
cmpq %r15, %rbx
je 0x4bb9
movq 0x10(%rsp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x2190
negq %r14
movl $0x40, %edi
callq 0x2180
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
movq %r14, %rsi
callq 0x26bc
leaq 0x58(%rsp), %rsi
movq %rbx, %rdi
callq 0x322c
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4bfc
movq (%rax), %rsi
incq %rsi
callq 0x2190
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c47
movq 0x68(%rsp), %rsi
jmp 0x4c3a
jmp 0x4c44
movq %rax, %r14
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c47
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x4c47
movq %rax, %r14
movl $0x40, %esi
movq %rbx, %rdi
callq 0x2190
movq %r14, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/syusui-s[P]old_rpn_language/./element.h
// Function: fn_pow(Element*, Element*)
Element* fn_pow(Element* op1,Element* op2){
	double b;
	Element *rtn;
	
	b = std::pow(atof(op1->data_is().c_str()), atof(op2->data_is().c_str()));
	rtn = new Element(ftoa(b));

	return rtn;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x70, %rsp
movq %rsi, %rbx
leaq 0x40(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rdi), %rsi
movq 0x8(%rdi), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %r14
movq %r14, %rdi
callq 0x6078
movq (%r14), %rdi
callq 0x2210
movsd %xmm0, 0x8(%rsp)
leaq 0x60(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
callq 0x6078
movq 0x50(%rsp), %rdi
callq 0x2210
movaps %xmm0, %xmm1
movsd 0x8(%rsp), %xmm0
callq 0x22a0
movsd %xmm0, 0x8(%rsp)
movq 0x50(%rsp), %rdi
cmpq %r14, %rdi
je 0x4dc3
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x2190
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x4dda
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2190
movl $0x40, %edi
callq 0x2180
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
movsd 0x8(%rsp), %xmm0
callq 0x273f
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x322c
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4e1f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2190
movq %rbx, %rax
addq $0x70, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4e4f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x4e4f
movq %rax, %r14
movl $0x40, %esi
movq %rbx, %rdi
jmp 0x4e6e
movq %rax, %r14
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x4e73
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2190
movq %r14, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/syusui-s[P]old_rpn_language/./element.h
// Function: fn_cbrt(Element*)
Element* fn_cbrt(Element* op1){
	double b;
	Element *op2;
	
	//b = cbrtf(atof(op1->data_is().c_str()));
	//rtn = new Element(ftoa(b));
	op2 = new Element("0.333333333"); // あとで修正

	return fn_pow(op1,op2);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %r14
movl $0x40, %edi
callq 0x2180
movq %rax, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x209e(%rip), %rsi      # 0x71dd
leaq 0x20a2(%rip), %rdx      # 0x71e8
movq %rsp, %rdi
callq 0x610e
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x322c
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x516f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2190
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4d37
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x51a2
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x51a2
movq %rax, %r14
movl $0x40, %esi
movq %rbx, %rdi
callq 0x2190
movq %r14, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/syusui-s[P]old_rpn_language/./element.h
// Function: del_array(Element**, int, int, int)
Element** del_array(Element** input, int length, int pos, int num){
	// 入力配列 Element** input
	// 入力のサイズ int length <- 配列のサイズを指定
	// 削除開始位置 int pos    <- 開始位置なので、演算子の個数を
	// 削除個数     int num    <- 演算子を含める場合は、呼び出し時に引数に+1する。

	int i,j;
	Element **rtn = new Element*[length-num];

	for(i=0;i<pos;i++) rtn[i] = input[i];
	j = i;

	for(;i<pos+num;i++){
		// delete input[i];
	}

	for(i=pos+num;i<length;i++){
		rtn[j] = input[i];
		j++;
	}

	return rtn;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movl %edx, %r14d
movl %esi, %ebp
movq %rdi, %r12
movl %esi, %eax
subl %ecx, %eax
leaq (,%rax,8), %rcx
testl %eax, %eax
movq $-0x1, %rdi
cmovnsq %rcx, %rdi
callq 0x2030
movq %rax, %r15
testl %r14d, %r14d
jle 0x55e4
movl %r14d, %r13d
shlq $0x3, %r13
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x2140
jmp 0x55e7
xorl %r13d, %r13d
leal (%rbx,%r14), %eax
cmpl %ebp, %eax
jge 0x560f
movq %r15, %rdi
addq %r13, %rdi
cltq
leaq (%r12,%rax,8), %rsi
notl %ebx
addl %ebp, %ebx
subl %r14d, %ebx
leaq 0x8(,%rbx,8), %rdx
callq 0x2140
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/syusui-s[P]old_rpn_language/./element.h
// Function: ins_element(Element**, Element*, int, int)
Element** ins_element(Element **inp_arr, Element* inp_elm, int length, int pos){
	int i;
	Element **rtn = new Element*[length+1];
	
	for(i=0;i<pos;i++) rtn[i] = inp_arr[i];
	rtn[i] = inp_elm;
	#if MYDEBUG
	std::cout << "debug:" << inp_elm->data_is() << std::endl;
	#endif
	// ここで、iはrtnに合わせる
	for(i=i+1;i<length+1;i++) rtn[i] = inp_arr[i-1];
	
	return rtn;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebp
movl %edx, %ebx
movq %rsi, %r12
movq %rdi, %r15
leal 0x1(%rbx), %eax
shlq $0x3, %rax
cmpl $-0x1, %edx
movq $-0x1, %rdi
cmovgeq %rax, %rdi
callq 0x2030
movq %rax, %r14
testl %ebp, %ebp
jle 0x5667
movl %ebp, %edx
shlq $0x3, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2140
jmp 0x5669
xorl %ebp, %ebp
movl %ebp, %eax
movq %r12, (%r14,%rax,8)
cmpl %ebx, %ebp
jge 0x5690
leaq (%r14,%rax,8), %rdi
addq $0x8, %rdi
leaq (%r15,%rax,8), %rsi
notl %eax
addl %ebx, %eax
leaq 0x8(,%rax,8), %rdx
callq 0x2140
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/syusui-s[P]old_rpn_language/./element.h
// Function: calc_array(Element**, int)
Element** calc_array(Element** x, int length){
	Element* ins;
	int pos=0;
	int numop=0;

	if(length == 1){
		
	}

	while(length > 1){
		pos=-1;
		pos = findop(x,length); //	演算子の位置をposに代入
		numop = op_num(x[pos]->data_is()); // オペランド数を調べる
		if(pos-numop<0) throw((std::string)"書式が間違っています。演算子の位置がおかしいようです。");
		ins = calc_elements(take_elements(x, pos-numop, numop),x[pos]->data_is()); // 演算子とオペランドをcalc_elementsに渡し、計算結果を得る
		pos-=numop; // 削除および挿入の開始位置を指定
		x = ins_element(del_array(x,length,pos,numop+1), ins, length-numop-1, pos);
		length-=numop; // 計算後の配列の長さをlengthに代入
	}
	return x;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r12
cmpl $0x2, %esi
jl 0x579f
movl %esi, %ebx
movq %r12, %rdi
movl %ebx, %esi
callq 0x3649
movl %eax, %ebp
movslq %eax, %r15
movq (%r12,%r15,8), %rax
leaq 0x38(%rsp), %r14
movq %r14, 0x28(%rsp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %r13
movq %r13, %rdi
callq 0x6078
movq %r13, %rdi
callq 0x3778
movl %eax, %r13d
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x570e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2190
subl %r13d, %ebp
js 0x57b1
movq %r12, %rdi
movl %ebp, %esi
movl %r13d, %edx
callq 0x3723
movq %rax, %r14
movq (%r12,%r15,8), %rax
leaq 0x18(%rsp), %r15
movq %r15, 0x8(%rsp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x6078
movq %r14, %rdi
leaq 0x8(%rsp), %rsi
callq 0x52f2
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5770
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2190
leal 0x1(%r13), %ecx
movq %r12, %rdi
movl %ebx, %esi
movl %ebp, %edx
callq 0x5592
subl %r13d, %ebx
leal -0x1(%rbx), %edx
movq %rax, %rdi
movq %r14, %rsi
movl %ebp, %ecx
callq 0x5621
movq %rax, %r12
cmpl $0x1, %ebx
ja 0x56b8
movq %r12, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0x20c0
movq %rax, %r14
addq $0x10, %rax
movq %rax, (%r14)
leaq 0x1a70(%rip), %rsi      # 0x723c
leaq 0x1aba(%rip), %rdx      # 0x728d
movq %r14, %rdi
callq 0x610e
leaq 0x45a6(%rip), %rsi      # 0x9d88
movq 0x47cf(%rip), %rdx      # 0x9fb8
movq %r14, %rdi
callq 0x2280
movq %rax, %rbx
movq %r14, %rdi
callq 0x2110
jmp 0x5818
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5818
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2190
movq %rbx, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/syusui-s[P]old_rpn_language/main.cpp
// Function: main
int main(void){
	std::string input;
	
	////////////////////////////////////
	std::cout << PROGNAME << ", version " << PROGVER << std::endl;
	while(1){
		std::cout << INPUTSTR;
		std::getline(std::cin, input);
		interpret(input);
	}

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0x4185(%rip), %rdi      # 0x9fc8
leaq 0x149d(%rip), %rsi      # 0x72e7
movl $0xc, %edx
callq 0x21d0
movq 0x416d(%rip), %rdi      # 0x9fc8
leaq 0x14c1(%rip), %rsi      # 0x7323
movl $0xa, %edx
callq 0x21d0
movq 0x4155(%rip), %rbx      # 0x9fc8
leaq 0x14b4(%rip), %rsi      # 0x732e
movl $0x10, %edx
movq %rbx, %rdi
callq 0x21d0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %esi
movq 0x4123(%rip), %rdi      # 0x9fc8
callq 0x2040
movq %rax, %rdi
callq 0x20e0
leaq 0x18(%rsp), %rbp
movq 0x410a(%rip), %rbx      # 0x9fc8
leaq 0x147a(%rip), %r14      # 0x733f
movq 0x410c(%rip), %r15      # 0x9fd8
leaq 0x28(%rsp), %r12
leaq 0x8(%rsp), %r13
movl $0x8, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x21d0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2170
movsbl %al, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x22d0
movq %rbp, 0x8(%rsp)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x6078
movq %r13, %rdi
callq 0x5b94
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5ed6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x5ed6
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5f64
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2190
jmp 0x5f64
jmp 0x5f61
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x5f80
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2190
movq %rbx, %rdi
callq 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/DoubleString[P]RtConverter/src/Json/json_reader.cpp
// Function: Json::Reader::parse(char const*, char const*, Json::Value&, bool)
bool Reader::parse(const char* beginDoc,
                   const char* endDoc,
                   Value& root,
                   bool collectComments) {
  if (!features_.allowComments_) {
    collectComments = false;
  }

  begin_ = beginDoc;
  end_ = endDoc;
  collectComments_ = collectComments;
  current_ = begin_;
  lastValueEnd_ = 0;
  lastValue_ = 0;
  commentsBefore_.clear();
  errors_.clear();
  while (!nodes_.empty())
    nodes_.pop();
  nodes_.push(&root);

  bool successful = readValue();
  Token token;
  skipCommentTokens(token);
  if (collectComments_ && !commentsBefore_.empty())
    root.setComment(commentsBefore_, commentAfter);
  if (features_.strictRoot_) {
    if (!root.isArray() && !root.isObject()) {
      // Set error location to start of doc, ideally should be first token found
      // in doc
      token.type_ = tokenError;
      token.start_ = beginDoc;
      token.end_ = endDoc;
      addError(
          "A valid JSON document must be either an array or an object value.",
          token);
      return false;
    }
  }
  return successful;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
andb 0x108(%rdi), %r8b
movq %rsi, 0xc0(%rdi)
movq %rdx, 0xc8(%rdi)
movb %r8b, 0x10c(%rdi)
movq %rsi, 0xd0(%rdi)
movq $0x0, 0xf0(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0xd8(%rdi)
movq 0xe8(%rdi), %rax
movb $0x0, (%rax)
addq $0x50, %rdi
callq 0xfc8c
movq 0x30(%rbx), %rax
cmpq 0x10(%rbx), %rax
je 0x9552
movq %rbx, %rdi
callq 0x10dae
jmp 0x953e
movq %r12, -0x48(%rbp)
movq 0x40(%rbx), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0x956d
movq %r12, (%rax)
addq $0x8, 0x30(%rbx)
jmp 0x9579
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x10e00
movq %rbx, %rdi
callq 0x96f2
movl %eax, %r13d
leaq -0x60(%rbp), %rsi
movq %rbx, %rdi
callq 0x9bc6
cmpb $0x1, 0x10c(%rbx)
jne 0x95b7
cmpq $0x0, 0xf0(%rbx)
je 0x95b7
leaq 0xe8(%rbx), %rsi
movq %r12, %rdi
movl $0x2, %edx
callq 0x15ff6
cmpb $0x1, 0x109(%rbx)
jne 0x9631
movq %r12, %rdi
callq 0x1464e
testb %al, %al
jne 0x9631
movq %r12, %rdi
callq 0x1465c
testb %al, %al
jne 0x9631
leaq -0x60(%rbp), %r12
movl $0xd, (%r12)
movq %r15, 0x8(%r12)
movq %r14, 0x10(%r12)
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x5fbf3(%rip), %rsi     # 0x691f0
leaq 0x5fc2d(%rip), %rdx     # 0x69231
leaq -0x48(%rbp), %r14
movq %r14, %rdi
callq 0x1100a
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0x9c00
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x962e
callq 0x85d0
xorl %r13d, %r13d
movl %r13d, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x9654
callq 0x85d0
movq %rbx, %rdi
callq 0x8b30
// File: /workspace/github_cpp_makefile_star2_O3/DoubleString[P]RtConverter/src/Json/json_reader.cpp
// Function: Json::Reader::parse(std::istream&, Json::Value&, bool)
bool Reader::parse(std::istream& is, Value& root, bool collectComments) {
  // std::istream_iterator<char> begin(is);
  // std::istream_iterator<char> end;
  // Those would allow streamed input from a file, if parse() were a
  // template function.

  // Since JSONCPP_STRING is reference-counted, this at least does not
  // create an extra copy.
  JSONCPP_STRING doc;
  std::getline(is, doc, (char)EOF);
  return parse(doc.data(), doc.data() + doc.size(), root, collectComments);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %ecx, %r14d
movq %rdx, %rbx
movq %rsi, %rax
movq %rdi, %r15
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq -0x40(%rbp), %rsi
movq %rax, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x8bd0
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
addq %rsi, %rdx
movzbl %r14b, %r8d
movq %r15, %rdi
movq %rbx, %rcx
callq 0x94d6
movl %eax, %ebx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x96c9
callq 0x85d0
movl %ebx, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x96e9
callq 0x85d0
movq %rbx, %rdi
callq 0x8b30
nop
// File: /workspace/github_cpp_makefile_star2_O3/DoubleString[P]RtConverter/src/Json/json_reader.cpp
// Function: Json::Reader::decodeNumber(Json::Reader::Token&)
bool Reader::decodeNumber(Token& token) {
  Value decoded;
  if (!decodeNumber(token, decoded))
    return false;
  currentValue().swapPayload(decoded);
  currentValue().setOffsetStart(token.start_ - begin_);
  currentValue().setOffsetLimit(token.end_ - begin_);
  return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq -0x40(%rbp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x12ab8
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xaef4
movl %eax, %ebx
testb %al, %al
je 0xa3b5
movq 0x30(%r14), %rax
cmpq 0x38(%r14), %rax
jne 0xa352
movq 0x48(%r14), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rdi
leaq -0x40(%rbp), %rsi
callq 0x13288
movq 0x30(%r14), %rax
cmpq 0x38(%r14), %rax
jne 0xa376
movq 0x48(%r14), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rdi
movq 0x8(%r15), %rsi
subq 0xc0(%r14), %rsi
callq 0x16076
movq 0x30(%r14), %rax
cmpq 0x38(%r14), %rax
jne 0xa3a1
movq 0x48(%r14), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rdi
movq 0x10(%r15), %rsi
subq 0xc0(%r14), %rsi
callq 0x16080
leaq -0x40(%rbp), %rdi
callq 0x1315e
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x1315e
movq %rbx, %rdi
callq 0x8b30
nop
// File: /workspace/github_cpp_makefile_star2_O3/DoubleString[P]RtConverter/src/Json/json_reader.cpp
// Function: Json::Reader::decodeString(Json::Reader::Token&)
bool Reader::decodeString(Token& token) {
  JSONCPP_STRING decoded_string;
  if (!decodeString(token, decoded_string))
    return false;
  Value decoded(decoded_string);
  currentValue().swapPayload(decoded);
  currentValue().setOffsetStart(token.start_ - begin_);
  currentValue().setOffsetLimit(token.end_ - begin_);
  return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq -0x30(%rbp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq -0x40(%rbp), %rdx
callq 0xac02
movl %eax, %ebx
testb %al, %al
je 0xa4af
leaq -0x68(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x12e9e
movq 0x30(%r14), %rax
cmpq 0x38(%r14), %rax
jne 0xa443
movq 0x48(%r14), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rdi
leaq -0x68(%rbp), %rsi
callq 0x13288
movq 0x30(%r14), %rax
cmpq 0x38(%r14), %rax
jne 0xa467
movq 0x48(%r14), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rdi
movq 0x8(%r15), %rsi
subq 0xc0(%r14), %rsi
callq 0x16076
movq 0x30(%r14), %rax
cmpq 0x38(%r14), %rax
jne 0xa492
movq 0x48(%r14), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rdi
movq 0x10(%r15), %rsi
subq 0xc0(%r14), %rsi
callq 0x16080
leaq -0x68(%rbp), %rdi
callq 0x1315e
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0xa4bd
callq 0x85d0
movl %ebx, %eax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0xa4ce
movq %rax, %rbx
jmp 0xa4df
movq %rax, %rbx
leaq -0x68(%rbp), %rdi
callq 0x1315e
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0xa4ed
callq 0x85d0
movq %rbx, %rdi
callq 0x8b30
nop
// File: /workspace/github_cpp_makefile_star2_O3/DoubleString[P]RtConverter/src/Json/json_reader.cpp
// Function: Json::Reader::readString()
bool Reader::readString() {
  Char c = '\0';
  while (current_ != end_) {
    c = getNextChar();
    if (c == '\\')
      getNextChar();
    else if (c == '"')
      break;
  }
  return c == '"';
}

// Assembly:
movq 0xc8(%rdi), %rax
movq 0xd0(%rdi), %rdx
cmpq %rax, %rdx
je 0xa7d4
pushq %rbp
movq %rsp, %rbp
leaq 0x1(%rdx), %rsi
movq %rsi, 0xd0(%rdi)
movzbl (%rdx), %ecx
cmpl $0x5c, %ecx
je 0xa7b1
cmpl $0x22, %ecx
jne 0xa7c4
jmp 0xa7cc
cmpq %rax, %rsi
je 0xa7c4
addq $0x2, %rdx
movq %rdx, 0xd0(%rdi)
movq %rdx, %rsi
movq %rsi, %rdx
cmpq %rax, %rsi
jne 0xa797
cmpb $0x22, %cl
sete %al
popq %rbp
retq
xorl %eax, %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/DoubleString[P]RtConverter/src/Json/json_reader.cpp
// Function: Json::Reader::readNumber()
void Reader::readNumber() {
  const char* p = current_;
  char c = '0'; // stopgap for already consumed character
  // integral part
  while (c >= '0' && c <= '9')
    c = (current_ = p) < end_ ? *p++ : '\0';
  // fractional part
  if (c == '.') {
    c = (current_ = p) < end_ ? *p++ : '\0';
    while (c >= '0' && c <= '9')
      c = (current_ = p) < end_ ? *p++ : '\0';
  }
  // exponential part
  if (c == 'e' || c == 'E') {
    c = (current_ = p) < end_ ? *p++ : '\0';
    if (c == '+' || c == '-')
      c = (current_ = p) < end_ ? *p++ : '\0';
    while (c >= '0' && c <= '9')
      c = (current_ = p) < end_ ? *p++ : '\0';
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0xc8(%rdi), %rax
movq 0xd0(%rdi), %rcx
movq %rcx, 0xd0(%rdi)
cmpq %rax, %rcx
jae 0xa9a2
movb (%rcx), %dl
incq %rcx
leal -0x30(%rdx), %esi
cmpb $0xa, %sil
jb 0xa8e8
cmpb $0x2e, %dl
jne 0xa943
movq %rcx, 0xd0(%rdi)
cmpq %rax, %rcx
jae 0xa9a2
movb (%rcx), %dl
incq %rcx
leal -0x30(%rdx), %esi
cmpb $0x9, %sil
ja 0xa943
movq %rcx, 0xd0(%rdi)
cmpq %rax, %rcx
jae 0xa9a2
movb (%rcx), %dl
incq %rcx
leal -0x30(%rdx), %esi
cmpb $0xa, %sil
jb 0xa929
andb $-0x21, %dl
cmpb $0x45, %dl
jne 0xa9a2
movq %rcx, 0xd0(%rdi)
cmpq %rax, %rcx
jae 0xa9a2
leaq 0x1(%rcx), %rdx
movzbl (%rcx), %esi
cmpl $0x2d, %esi
je 0xa968
cmpl $0x2b, %esi
jne 0xa97f
movq %rdx, 0xd0(%rdi)
cmpq %rax, %rdx
jae 0xa9a2
movb 0x1(%rcx), %sil
addq $0x2, %rcx
movq %rcx, %rdx
addb $-0x30, %sil
cmpb $0x9, %sil
ja 0xa9a2
movq %rdx, 0xd0(%rdi)
cmpq %rax, %rdx
jae 0xa9a2
movb (%rdx), %cl
incq %rdx
addb $-0x30, %cl
cmpb $0xa, %cl
jb 0xa989
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/DoubleString[P]RtConverter/src/Json/json_reader.cpp
// Function: Json::Reader::match(char const*, int)
bool Reader::match(Location pattern, int patternLength) {
  if (end_ - current_ < patternLength)
    return false;
  int index = patternLength;
  while (index--)
    if (current_[index] != pattern[index])
      return false;
  current_ += patternLength;
  return true;
}

// Assembly:
movq 0xc8(%rdi), %r8
movq 0xd0(%rdi), %rax
subq %rax, %r8
movslq %edx, %rcx
cmpq %rcx, %r8
jge 0xa9c0
xorl %eax, %eax
retq
pushq %rbp
movq %rsp, %rbp
movq %rcx, %r8
movq %rcx, %rdx
subq $0x1, %rdx
jb 0xa9e3
movb -0x1(%rax,%r8), %r9b
cmpb -0x1(%rsi,%r8), %r9b
movq %rdx, %r8
je 0xa9ca
xorl %eax, %eax
jmp 0xa9ef
addq %rcx, %rax
movq %rax, 0xd0(%rdi)
movb $0x1, %al
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/DoubleString[P]RtConverter/src/Json/json_reader.cpp
// Function: Json::Reader::readCStyleComment()
bool Reader::readCStyleComment() {
  while ((current_ + 1) < end_) {
    Char c = getNextChar();
    if (c == '*' && *current_ == '/')
      break;
  }
  return getNextChar() == '/';
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0xc8(%rdi), %rcx
movq 0xd0(%rdi), %rax
leaq 0x1(%rax), %rdx
cmpq %rcx, %rdx
jae 0xaa24
movq %rax, %rsi
movq %rdx, %rax
movq %rdx, 0xd0(%rdi)
cmpb $0x2a, (%rsi)
jne 0xaa04
cmpb $0x2f, (%rax)
jne 0xaa04
cmpq %rcx, %rax
je 0xaa3c
leaq 0x1(%rax), %rcx
movq %rcx, 0xd0(%rdi)
cmpb $0x2f, (%rax)
sete %al
jmp 0xaa3e
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/DoubleString[P]RtConverter/src/Json/json_reader.cpp
// Function: Json::Reader::addComment(char const*, char const*, Json::CommentPlacement)
void Reader::addComment(Location begin,
                        Location end,
                        CommentPlacement placement) {
  assert(collectComments_);
  const JSONCPP_STRING& normalized = normalizeEOL(begin, end);
  if (placement == commentAfterOnSameLine) {
    assert(lastValue_ != 0);
    lastValue_->setComment(normalized, placement);
  } else {
    commentsBefore_ += normalized;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
cmpb $0x0, 0x10c(%rdi)
je 0xab01
movl %ecx, %r14d
movq %rdi, %rbx
leaq -0x30(%rbp), %rdi
callq 0xab5c
cmpl $0x1, %r14d
jne 0xaacf
movq 0xe0(%rbx), %rdi
testq %rdi, %rdi
je 0xab20
leaq -0x30(%rbp), %rsi
movl $0x1, %edx
callq 0x15ff6
jmp 0xaae6
addq $0xe8, %rbx
movq -0x30(%rbp), %rsi
movq -0x28(%rbp), %rdx
movq %rbx, %rdi
callq 0x81f0
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xaaf8
callq 0x85d0
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x5e77d(%rip), %rdi     # 0x69285
leaq 0x5e787(%rip), %rsi     # 0x69296
leaq 0x5e79a(%rip), %rcx     # 0x692b0
movl $0x18a, %edx            # imm = 0x18A
callq 0x8420
leaq 0x5e7cd(%rip), %rdi     # 0x692f4
leaq 0x5e768(%rip), %rsi     # 0x69296
leaq 0x5e77b(%rip), %rcx     # 0x692b0
movl $0x18d, %edx            # imm = 0x18D
callq 0x8420
movq %rax, %rbx
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xab54
callq 0x85d0
movq %rbx, %rdi
callq 0x8b30