LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/wjmelements[P]evm/src/scan.c
// Function: scanDataLen
static void scanDataLen(const char **iter) {
    (*iter)++; // '#'
    scanWaste(iter);
    const char *start = *iter;
    if (!isLowerCase(*start)) {
        fprintf(stderr, "Data section #keys should be lowercase; instead found unexpected character %c at line %u\n", *start, lineNumber);
    }
    for (char ch; isLowerCase(**iter); (*iter)++);
    const char *end = *iter;

    scanstackPushLabel(start, end - start, CODESIZE);
    scanstackPush(PUSH1);

    scanWaste(iter);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %r15
incq %r15
movq %r15, (%rdi)
movl 0x20481b7(%rip), %ecx   # 0x2058e28
movabsq $0x400330800000000, %r14 # imm = 0x400330800000000
movzbl (%r15), %edx
cmpq $0x3a, %rdx
ja 0x10c91
cmpq $0x2f, %rdx
je 0x10cd4
btq %rdx, %r14
jb 0x10cf1
cmpl $0x7b, %edx
je 0x10cf1
cmpl $0x7d, %edx
je 0x10cf1
leal -0x3a(%rdx), %eax
cmpb $-0xb, %al
ja 0x10cf1
leal -0x5b(%rdx), %eax
cmpb $-0x1b, %al
ja 0x10cf1
leal -0x7b(%rdx), %eax
cmpb $-0x1a, %al
setae %sil
testl %edx, %edx
sete %dil
orb %sil, %dil
jne 0x10ccf
cmpl $0xa, %edx
jne 0x10cca
incl %ecx
movl %ecx, 0x204815e(%rip)   # 0x2058e28
incq %r15
jmp 0x10cec
cmpl $0x2f, %edx
jne 0x10cf4
incq %r15
movq %r15, (%rbx)
cmpb $0xa, (%r15)
leaq 0x1(%r15), %r15
jne 0x10cd7
incl %ecx
movl %ecx, 0x204813c(%rip)   # 0x2058e28
movq %r15, (%rbx)
jmp 0x10c7b
leal -0x7b(%rdx), %eax
movq %r15, %r12
cmpb $-0x1b, %al
jbe 0x10de7
incq %r12
movq %r12, (%rbx)
movb (%r12), %al
addb $-0x7b, %al
incq %r12
cmpb $-0x1a, %al
jae 0x10d02
decq %r12
movq %r12, %r13
subq %r15, %r13
movl $0x10, %edi
callq 0x3200
movq %r15, (%rax)
movq %r13, 0x8(%rax)
movzbl 0x20480f9(%rip), %ecx   # 0x2058e2c
leal 0x1(%rcx), %edx
leaq 0x204d913(%rip), %rsi   # 0x205e650
movb $0x38, (%rcx,%rsi)
movzbl %dl, %edx
leaq 0x204dd05(%rip), %rdi   # 0x205ea50
movq %rax, (%rdi,%rdx,8)
leal 0x2(%rcx), %eax
movb %al, 0x20480d4(%rip)    # 0x2058e2c
movb $0x60, (%rdx,%rsi)
movl 0x20480c6(%rip), %eax   # 0x2058e28
movzbl (%r12), %ecx
cmpq $0x3a, %rcx
ja 0x10d79
cmpq $0x2f, %rcx
je 0x10dbe
btq %rcx, %r14
jb 0x10ddd
cmpl $0x7b, %ecx
je 0x10ddd
cmpl $0x7d, %ecx
je 0x10ddd
leal -0x3a(%rcx), %edx
cmpb $-0xb, %dl
ja 0x10ddd
leal -0x5b(%rcx), %edx
cmpb $-0x1b, %dl
ja 0x10ddd
leal -0x7b(%rcx), %edx
cmpb $-0x1a, %dl
setae %dl
testb %cl, %cl
sete %sil
orb %dl, %sil
jne 0x10db9
cmpb $0xa, %cl
jne 0x10db4
incl %eax
movl %eax, 0x2048074(%rip)   # 0x2058e28
incq %r12
jmp 0x10dd8
cmpb $0x2f, %cl
jne 0x10ddd
incq %r12
movq %r12, (%rbx)
cmpb $0xa, (%r12)
leaq 0x1(%r12), %r12
jne 0x10dc1
incl %eax
movl %eax, 0x2048050(%rip)   # 0x2058e28
movq %r12, (%rbx)
jmp 0x10d62
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq 0x720a(%rip), %rax      # 0x17ff8
movq (%rax), %rdi
leaq 0x35b1(%rip), %rsi      # 0x143a9
xorl %eax, %eax
callq 0x31d0
movq (%rbx), %r12
movb (%r12), %al
addb $-0x7b, %al
cmpb $-0x1a, %al
jae 0x10cff
jmp 0x10d15
// File: /workspace/github_c_makefile_star2_O3/wjmelements[P]evm/src/scan.c
// Function: scanChar
static void scanChar(const char **iter, char expected) {
    for (char ch; (ch = **iter) != expected; (*iter)++) {
        if (ch == '\n') {
            lineNumber++;
        }
        if (!shouldIgnore(ch)) {
            fprintf(stderr, "When seeking %c found unexpected character %c at line %u", expected, ch, lineNumber);
            exit(1);
        }
    }
    (*iter)++;
}

// Assembly:
pushq %rax
movq (%rdi), %rax
movb (%rax), %cl
cmpb %sil, %cl
je 0x10e8d
movl 0x2048001(%rip), %r8d   # 0x2058e28
incq %rax
movabsq $0x400b30800000000, %rdx # imm = 0x400B30800000000
movzbl %cl, %r9d
cmpb $0x3a, %r9b
ja 0x10e56
cmpq $0xa, %r9
jne 0x10e50
incl %r8d
movl %r8d, 0x2047fda(%rip)   # 0x2058e28
jmp 0x10e62
btq %r9, %rdx
jb 0x10e95
cmpl $0x7b, %r9d
je 0x10e95
cmpl $0x7d, %r9d
je 0x10e95
leal -0x30(%rcx), %r9d
cmpb $0xa, %r9b
jb 0x10e95
movl %ecx, %r9d
andb $-0x21, %r9b
addb $-0x41, %r9b
cmpb $0x19, %r9b
jbe 0x10e95
movq %rax, (%rdi)
movb (%rax), %cl
incq %rax
cmpb %sil, %cl
jne 0x10e34
decq %rax
incq %rax
movq %rax, (%rdi)
popq %rax
retq
movsbl %cl, %ecx
movzbl %sil, %edx
movq 0x7155(%rip), %rax      # 0x17ff8
movq (%rax), %rdi
leaq 0x3556(%rip), %rsi      # 0x14403
xorl %eax, %eax
callq 0x31d0
movl $0x1, %edi
callq 0x3280
nop
// File: /workspace/github_c_makefile_star2_O3/wjmelements[P]evm/src/disassemble.c
// Function: disassembleWaste
static void disassembleWaste(const char **iter) {
    while (**iter && !isHex(**iter)) {
        (*iter)++;
    }
    if (**iter == '0' && *(*iter + 1) == 'x') {
        *iter += 2;
        disassembleWaste(iter);
    }
}

// Assembly:
movq (%rdi), %rax
movb (%rax), %cl
testb %cl, %cl
je 0x116e1
leal -0x3a(%rcx), %edx
cmpb $-0xb, %dl
ja 0x116c7
movl %ecx, %edx
andb $-0x21, %dl
addb $-0x47, %dl
cmpb $-0x7, %dl
ja 0x116c7
leaq 0x1(%rax), %rdx
movq %rdx, (%rdi)
movb 0x1(%rax), %cl
jmp 0x116dc
cmpb $0x30, %cl
jne 0x116e1
cmpb $0x78, 0x1(%rax)
jne 0x116e1
leaq 0x2(%rax), %rdx
movq %rdx, (%rdi)
movb 0x2(%rax), %cl
movq %rdx, %rax
jmp 0x116a2
retq
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/primatesv1ape80/ref/primate.cpp
// Function: PrintElementsStateHex(unsigned char*)
void PrintElementsStateHex(unsigned char *state) //prints the state in hexadecimal format element by element starting from a_{0,0} and row by row
{
	for(int j=0; j<NumberRows; j++){
		for(int i=0; i<NumberColumns; i++)
			printf(" %.2x", state[NumberColumns*j+i]);
		printf("\n");
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x11be(%rip), %r14      # 0x41b6
xorl %r15d, %r15d
xorl %r12d, %r12d
movzbl (%rbx,%r12), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x2030
incq %r12
cmpq $0x8, %r12
jne 0x2ffe
movl $0xa, %edi
callq 0x2080
incq %r15
addq $0x8, %rbx
cmpq $0x5, %r15
jne 0x2ffb
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/primatesv1ape80/ref/primate.cpp
// Function: PrintElementsStateDec(unsigned char*)
void PrintElementsStateDec(unsigned char *state) //prints the state in decimal format element by element starting from a_{0,0} and row by row
{
	for(int j=0; j<NumberRows; j++){
		for(int i=0; i<NumberColumns; i++)
			printf(" %d", state[NumberColumns*j+i]);
		printf("\n");
	}
	printf("\n");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x1171(%rip), %r14      # 0x41bc
xorl %r15d, %r15d
xorl %r12d, %r12d
movzbl (%rbx,%r12), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x2030
incq %r12
cmpq $0x8, %r12
jne 0x3051
movl $0xa, %edi
callq 0x2080
incq %r15
addq $0x8, %rbx
cmpq $0x5, %r15
jne 0x304e
movl $0xa, %edi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2080
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/primatesv1ape80/ref/primate.cpp
// Function: ShiftRows(unsigned char*)
void ShiftRows(unsigned char *state) //ShiftRows operation on the state
{
	unsigned char tmp[StateSize];
	for(int j=0; j<NumberRows; j++){
		for(int i=0; i<NumberColumns; i++){
			tmp[NumberColumns*j+i]=state[NumberColumns*j+((i+shiftconst[j])%NumberColumns)];
		}
	}
	for(int j=0; j<StateSize; j++)
		state[j]=tmp[j];
}

// Assembly:
pushq %r14
pushq %rbx
movq 0x2e29(%rip), %rax      # 0x5fe8
xorl %ecx, %ecx
vpmovsxbd 0xfba(%rip), %ymm0 # 0x4184
vpbroadcastd 0xfad(%rip), %ymm1 # 0x4180
vpbroadcastd %ecx, %ymm2
vpaddd (%rax){1to8}, %ymm0, %ymm3
vpsrad $0x1f, %ymm3, %ymm4
vpsrld $0x1d, %ymm4, %ymm4
vpaddd %ymm4, %ymm3, %ymm4
vpand %ymm1, %ymm4, %ymm4
vpsubd %ymm4, %ymm3, %ymm3
vpaddd %ymm2, %ymm3, %ymm2
vextracti128 $0x1, %ymm2, %xmm3
vpmovsxdq %xmm3, %ymm3
vpmovsxdq %xmm2, %ymm2
vmovq %xmm2, %rdx
vpextrq $0x1, %xmm2, %rsi
vextracti128 $0x1, %ymm2, %xmm2
vpextrq $0x1, %xmm2, %r8
vmovq %xmm2, %r9
vmovq %xmm3, %r10
vpextrq $0x1, %xmm3, %r11
vextracti128 $0x1, %ymm3, %xmm2
vmovq %xmm2, %rbx
vpextrq $0x1, %xmm2, %r14
movzbl (%rdi,%rdx), %edx
vmovd %edx, %xmm2
vpinsrb $0x1, (%rdi,%rsi), %xmm2, %xmm2
vpinsrb $0x2, (%rdi,%r9), %xmm2, %xmm2
vpinsrb $0x3, (%rdi,%r8), %xmm2, %xmm2
vpinsrb $0x4, (%rdi,%r10), %xmm2, %xmm2
vpinsrb $0x5, (%rdi,%r11), %xmm2, %xmm2
vpinsrb $0x6, (%rdi,%rbx), %xmm2, %xmm2
vpinsrb $0x7, (%rdi,%r14), %xmm2, %xmm2
vmovq %xmm2, -0x28(%rsp,%rcx)
addq $0x8, %rcx
addq $0x4, %rax
cmpq $0x28, %rcx
jne 0x31d3
movq -0x8(%rsp), %rax
movq %rax, 0x20(%rdi)
vmovups -0x28(%rsp), %ymm0
vmovups %ymm0, (%rdi)
popq %rbx
popq %r14
vzeroupper
retq
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/primatesv1ape80/ref/primate.cpp
// Function: ShiftRowsInv(unsigned char*)
void ShiftRowsInv(unsigned char *state) //Inverse ShiftRows operation on the state
{
	unsigned char tmp[StateSize];
	for(int j=0; j<NumberRows; j++){
		for(int i=0; i<NumberColumns; i++){
			tmp[NumberColumns*j+i]=state[NumberColumns*j+((i-shiftconst[j]+NumberColumns)%NumberColumns)];
		}
	}
	for(int j=0; j<StateSize; j++)
		state[j]=tmp[j];
}

// Assembly:
pushq %r14
pushq %rbx
movq 0x2d32(%rip), %rax      # 0x5fe8
xorl %ecx, %ecx
vpmovsxbd 0xecb(%rip), %ymm0 # 0x418c
vpbroadcastd 0xeb6(%rip), %ymm1 # 0x4180
vpbroadcastd %ecx, %ymm2
vpsubd (%rax){1to8}, %ymm0, %ymm3
vpsrad $0x1f, %ymm3, %ymm4
vpsrld $0x1d, %ymm4, %ymm4
vpaddd %ymm4, %ymm3, %ymm4
vpand %ymm1, %ymm4, %ymm4
vpsubd %ymm4, %ymm3, %ymm3
vpaddd %ymm2, %ymm3, %ymm2
vextracti128 $0x1, %ymm2, %xmm3
vpmovsxdq %xmm3, %ymm3
vpmovsxdq %xmm2, %ymm2
vmovq %xmm2, %rdx
vpextrq $0x1, %xmm2, %rsi
vextracti128 $0x1, %ymm2, %xmm2
vpextrq $0x1, %xmm2, %r8
vmovq %xmm2, %r9
vmovq %xmm3, %r10
vpextrq $0x1, %xmm3, %r11
vextracti128 $0x1, %ymm3, %xmm2
vmovq %xmm2, %rbx
vpextrq $0x1, %xmm2, %r14
movzbl (%rdi,%rdx), %edx
vmovd %edx, %xmm2
vpinsrb $0x1, (%rdi,%rsi), %xmm2, %xmm2
vpinsrb $0x2, (%rdi,%r9), %xmm2, %xmm2
vpinsrb $0x3, (%rdi,%r8), %xmm2, %xmm2
vpinsrb $0x4, (%rdi,%r10), %xmm2, %xmm2
vpinsrb $0x5, (%rdi,%r11), %xmm2, %xmm2
vpinsrb $0x6, (%rdi,%rbx), %xmm2, %xmm2
vpinsrb $0x7, (%rdi,%r14), %xmm2, %xmm2
vmovq %xmm2, -0x28(%rsp,%rcx)
addq $0x8, %rcx
addq $0x4, %rax
cmpq $0x28, %rcx
jne 0x32ca
movq -0x8(%rsp), %rax
movq %rax, 0x20(%rdi)
vmovups -0x28(%rsp), %ymm0
vmovups %ymm0, (%rdi)
popq %rbx
popq %r14
vzeroupper
retq
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/primatesv1ape80/ref/primate.cpp
// Function: MixColumnsInv(unsigned char*)
void MixColumnsInv(unsigned char *state) //Inverse MixColumns operation on the state
{
	unsigned char tmp[StateSize];
	for(int p=0; p<NumberRows; p++){
		for(int i=0; i<NumberColumns; i++){
			tmp[i]=T18(state[i])^T2(state[NumberColumns*1+i])^T2(state[NumberColumns*2+i])^T18(state[NumberColumns*3+i])^state[NumberColumns*4+i];
 			for(int j=1; j<NumberRows; j++)
				tmp[NumberColumns*j+i]=state[NumberColumns*(j-1)+i];
		}
		for(int j=0; j<StateSize; j++)
			state[j]=tmp[j];
	}
}

// Assembly:
pushq %rbp
pushq %rbx
xorl %eax, %eax
leaq -0x20(%rsp), %rcx
vpbroadcastb 0xc1c(%rip), %xmm0 # 0x41b1
vpbroadcastb 0xc15(%rip), %xmm1 # 0x41b3
vpbroadcastb 0xc0d(%rip), %xmm2 # 0x41b4
vmovd 0xbf1(%rip), %xmm3      # 0x41a0
movq %rcx, %rdx
movq %rdi, %rsi
xorl %r8d, %r8d
movzbl (%rdi,%r8), %r11d
leal (%r11,%r11), %r10d
andb $0x1e, %r10b
leal (,%r11,8), %r9d
sarb $0x7, %r9b
andb $0x5, %r9b
xorb %r10b, %r9b
movzbl 0x18(%rdi,%r8), %ebx
leal (%rbx,%rbx), %ebp
andb $0x1e, %bpl
leal (,%rbx,8), %r10d
sarb $0x7, %r10b
andb $0x5, %r10b
xorb %bpl, %r10b
vmovd %r11d, %xmm4
vpinsrb $0x1, %ebx, %xmm4, %xmm4
vptestmb %xmm0, %xmm4, %k1
vpbroadcastb 0xb9f(%rip), %xmm5 {%k1} {z} # 0x41b2
vptestnmb %xmm1, %xmm4, %k1
vpor %xmm2, %xmm5, %xmm4
movzbl 0x10(%rdi,%r8), %r11d
movzbl 0x8(%rdi,%r8), %ebx
vmovd %ebx, %xmm6
vpinsrb $0x1, %r11d, %xmm6, %xmm6
vmovdqu8 %xmm5, %xmm4 {%k1}
vpinsrb $0x2, %r9d, %xmm6, %xmm5
vpinsrb $0x3, %r10d, %xmm5, %xmm5
vptestmb %xmm3, %xmm5, %k1
vpbroadcastb 0xb60(%rip), %xmm5 {%k1} {z} # 0x41b5
xorl %ebx, %r11d
addb %r11b, %r11b
andb $0x1e, %r11b
vpsrld $0x10, %xmm5, %xmm6
vpxor %xmm6, %xmm5, %xmm5
vpsrlw $0x8, %xmm5, %xmm6
vpxor %xmm6, %xmm5, %xmm5
vmovd %xmm5, %ebx
xorb %r9b, %r10b
leal (,%r10,8), %r9d
andb $0x18, %r9b
xorb %r11b, %r9b
vpsrlw $0x8, %xmm4, %xmm5
vpxor %xmm5, %xmm4, %xmm4
vmovd %xmm4, %r11d
xorb %r10b, %r11b
xorb %r9b, %r11b
xorb %bl, %r11b
xorb 0x20(%rdi,%r8), %r11b
movb %r11b, -0x28(%rsp,%r8)
xorl %r9d, %r9d
movb (%rsi,%r9,8), %r10b
movb %r10b, (%rdx,%r9,8)
incq %r9
cmpq $0x4, %r9
jne 0x36ab
incq %r8
incq %rsi
incq %rdx
cmpq $0x8, %r8
jne 0x35b8
movq -0x8(%rsp), %rdx
movq %rdx, 0x20(%rdi)
vmovdqu -0x28(%rsp), %ymm4
vmovdqu %ymm4, (%rdi)
incl %eax
cmpl $0x5, %eax
jne 0x35af
popq %rbx
popq %rbp
vzeroupper
retq
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/primatesv1ape80/ref/primate.cpp
// Function: primate(unsigned char*)
void primate(unsigned char *state) //One round Primate permutation without constant addition 
{
	
	//SubElements
	SubElements(state);	
	//printf("\nState after SubElements:\n"); PrintElementsStateDec(state);

	//ShiftRows
	ShiftRows(state);
	//printf("\nState after ShiftRows:\n"); PrintElementsStateDec(state);

	//MixColumns
	MixColumns(state);
	//printf("\nState after Mixcolumn:\n"); PrintElementsStateDec(state);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
xorl %eax, %eax
movq 0x28f8(%rip), %rcx      # 0x5ff8
movzbl (%rbx,%rax), %edx
movb (%rcx,%rdx), %dl
movb %dl, (%rbx,%rax)
incq %rax
cmpq $0x28, %rax
jne 0x3700
movq %rbx, %rdi
callq 0x2050
movq %rbx, %rdi
popq %rbx
jmp 0x20d0
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/primatesv1ape80/ref/primate.cpp
// Function: primateInv(unsigned char*)
void primateInv(unsigned char *state) //One round Primate permutation without constant addition 
{
	//MixColumnsInv
	MixColumnsInv(state);
	//printf("\nState after MixcolumnInv:\n"); PrintElementsStateDec(state);

	//SubElementsInv
	SubElementsInv(state);	
	//printf("\nState after SubElementsInv:\n"); PrintElementsStateDec(state);

	//ShiftRowsInv
	ShiftRowsInv(state);
	//printf("\nState after ShiftRowsInv:\n"); PrintElementsStateDec(state);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x2140
xorl %eax, %eax
movq 0x28ba(%rip), %rcx      # 0x5ff0
movzbl (%rbx,%rax), %edx
movb (%rcx,%rdx), %dl
movb %dl, (%rbx,%rax)
incq %rax
cmpq $0x28, %rax
jne 0x3736
movq %rbx, %rdi
popq %rbx
jmp 0x2120
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/primatesv1ape80/ref/primate.cpp
// Function: InitializeState(unsigned char*, unsigned char*)
void GenerateRoundConstants() //Generation of 5-bit round constant by using the primitive polynomial x^5+x^2+1 with initial value 1.
{
	//Round constants for p_1
	rc_p1[0]=1;
	//printf("\nRound constants for p_1: \n %.2x", rc_p1[0]);
	for(int i=1; i<p1rounds; i++){
		rc_p1[i] = ((rc_p1[i-1]<<1) ^ ((rc_p1[i-1]>>1)&1) ^ ((rc_p1[i-1]>>4)&1))&31;
		//printf("\n %.2x", rc_p1[i]);
	}
}

// Assembly:
movq 0x2832(%rip), %rax      # 0x5fc8
movb $0x1, (%rax)
movl $0x1, %ecx
movb $0x1, %dl
leal (%rdx,%rdx), %r8d
movl %edx, %r9d
shrb %r9b
andb $0x1, %r9b
shrb $0x4, %dl
andb $0x1, %dl
andb $0x1e, %r8b
orb %r9b, %r8b
xorb %dl, %r8b
movb %r8b, (%rax,%rcx)
incq %rcx
movl %r8d, %edx
cmpq $0xc, %rcx
jne 0x37a0
movq $0x0, (%rdi)
xorl %eax, %eax
movb (%rsi,%rax), %cl
movb %cl, 0x8(%rdi,%rax)
incq %rax
cmpq $0x20, %rax
jne 0x37d7
retq
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/o.c
// Function: dlo
V dlo(O o){
    switch(o->t){
    case TS:case TCB:DL(o->s.s);BK;
    case TA:while(len(o->a))dlo(pop(o->a));dls(o->a);BK;
    case TD:BK;
    case TR:dlo(o->e.k);dlo(o->e.v);BK;
    }if(!rcy(&ofl,o))DL(o);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl (%rdi), %eax
decl %eax
cmpl $0x3, %eax
ja 0x2ed9
leaq 0x618e(%rip), %rcx      # 0x9018
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%rbx), %rdi
callq 0x2030
jmp 0x2ed9
movq (%rdi), %rcx
leaq -0x1(%rax), %rdx
movq %rdx, 0x8(%rdi)
movq -0x8(%rcx,%rax,8), %rdi
callq 0x2e71
movq 0x8(%rbx), %rdi
movq 0x8(%rdi), %rax
testq %rax, %rax
jne 0x2e9e
callq 0x28eb
jmp 0x2ed9
movq 0x8(%rbx), %rdi
callq 0x2e71
movq 0x10(%rbx), %rdi
callq 0x2e71
movq 0xa950(%rip), %rax      # 0xd830
movq %rax, %rcx
subq 0xa93e(%rip), %rcx      # 0xd828
cmpq $0x7ff, %rcx            # imm = 0x7FF
ja 0x2f15
movq 0xa926(%rip), %rcx      # 0xd820
leaq 0x1(%rax), %rdx
movq %rdx, 0xa92b(%rip)      # 0xd830
andl $0x7ff, %eax            # imm = 0x7FF
movq %rbx, (%rcx,%rax,8)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x2030
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/o.c
// Function: dup
O dup(O o){
    L z;S s;switch(o->t){
    case TCB:R newocb(o->s.s,o->s.z);BK;
    case TS:R newos(o->s.s,o->s.z);BK;
    case TD:R newod(o->d);BK;
    case TA:R dupa(o);BK;
    case TR:R newoe(dup(o->e.k),dup(o->e.v));BK;
    }R 0; //appease the compiler
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl (%rdi), %eax
cmpq $0x4, %rax
ja 0x3085
movq %rdi, %rbx
leaq 0x6034(%rip), %rcx      # 0x9028
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movsd 0x8(%rbx), %xmm0
movsd %xmm0, -0x18(%rbp)
callq 0x2c1f
movl $0x0, (%rax)
movsd -0x18(%rbp), %xmm0
movsd %xmm0, 0x8(%rax)
jmp 0x3087
movq 0x8(%rbx), %rdi
callq 0x2fd3
movq %rax, %r14
movq 0x10(%rbx), %rdi
callq 0x2fd3
movq %rax, %rbx
callq 0x2c1f
movl $0x4, (%rax)
movq %r14, 0x8(%rax)
movq %rbx, 0x10(%rax)
jmp 0x3087
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x2f58
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x2cae
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x2d36
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/o.c
// Function: eqo
I eqo(O a,O b){
    if(a->t!=b->t)R 0;
    switch(a->t){
    case TS:case TCB:R a->s.z!=b->s.z?0:memcmp(a->s.s,b->s.s,a->s.z)==0;
    case TD:R a->d==b->d;
    case TR:R eqo(a->e.k,b->e.k)&&eqo(a->e.v,b->e.v);
    default:ex("non-TS-TD in eqo");R 0;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl (%rdi), %eax
cmpl (%rsi), %eax
jne 0x3110
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x4, %eax
jne 0x30e4
movq 0x8(%r14), %rdi
movq 0x8(%rbx), %rsi
callq 0x30aa
testl %eax, %eax
je 0x3110
movq 0x10(%r14), %r14
movq 0x10(%rbx), %rbx
movl (%r14), %eax
cmpl (%rbx), %eax
je 0x30bd
jmp 0x3110
testl %eax, %eax
je 0x311a
cmpl $0x3, %eax
je 0x30f2
cmpl $0x1, %eax
jne 0x3130
movq 0x10(%r14), %rdx
cmpq 0x10(%rbx), %rdx
jne 0x3110
movq 0x8(%r14), %rdi
movq 0x8(%rbx), %rsi
callq 0x21c0
testl %eax, %eax
sete %al
jmp 0x3112
xorl %eax, %eax
movzbl %al, %eax
popq %rbx
popq %r14
popq %rbp
retq
movsd 0x8(%rbx), %xmm0
cmpeqsd 0x8(%r14), %xmm0
movq %xmm0, %rax
andl $0x1, %eax
jmp 0x3112
leaq 0x6210(%rip), %rdi      # 0x9347
callq 0x23ac
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/o.c
// Function: truth
I truth(O o){
    switch(o->t){
    case TD:R o->d!=0;BK;
    case TS:R o->s.z!=0;BK;
    case TA:R len(o->a)!=0;BK;
    case TCB:{O t;I r;excb(o);t=pop(top(rst));r=truth(t);dlo(t);R r;}
    case TR:R truth(o->e.k)&&truth(o->e.v);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl (%rdi), %eax
cmpq $0x4, %rax
ja 0x3201
movq %rdi, %rbx
leaq 0x5ee3(%rip), %rcx      # 0x903c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
xorpd %xmm0, %xmm0
cmpneqsd 0x8(%rbx), %xmm0
movq %xmm0, %rax
andl $0x1, %eax
jmp 0x3205
movq 0x8(%rbx), %rdi
callq 0x313c
testl %eax, %eax
je 0x3203
movq 0x10(%rbx), %rdi
callq 0x313c
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
jmp 0x31fc
movq 0x8(%rbx), %rcx
xorl %eax, %eax
cmpq $0x0, 0x8(%rcx)
jmp 0x31fc
movq %rbx, %rdi
callq 0x3216
movq 0xa665(%rip), %rax      # 0xd818
movq 0x8(%rax), %rcx
testq %rcx, %rcx
je 0x320a
movq (%rax), %rax
movq -0x8(%rax,%rcx,8), %rax
movq 0x8(%rax), %rcx
testq %rcx, %rcx
je 0x320a
movq (%rax), %rdx
leaq -0x1(%rcx), %rsi
movq %rsi, 0x8(%rax)
movq -0x8(%rdx,%rcx,8), %rbx
movq %rbx, %rdi
callq 0x313c
movl %eax, %r14d
movq %rbx, %rdi
callq 0x2e71
movl %r14d, %eax
jmp 0x3205
xorl %eax, %eax
cmpq $0x0, 0x10(%rbx)
setne %al
jmp 0x3205
jmp 0x3205
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x6434(%rip), %rdi      # 0x9645
callq 0x23ac
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/o.c
// Function: eq
V eq(ST s){O a,b;b=pop(s);a=pop(s);
    if(b->t==TA){I i,w=0;if(a->t!=TR)a=newoe(a,pop(s));for(i=0;i<len(b->a);++i){O e=b->a->st[i];if(e->t!=TR)TE;if(eqo(e->e.k,a->e.k)){dlo(e);b->a->st[i]=a;w=1;BK;}}if(!w)psh(b->a,a);psh(s,b);} //set
    else if(a->t!=TA){psh(s,newod(eqo(a,b)));dlo(a);dlo(b);} //equal
    else TE;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x4439
movq %rdi, %r12
movq (%rdi), %rcx
movq %rax, %rdx
decq %rdx
movq %rdx, 0x8(%rdi)
je 0x4439
movq -0x8(%rcx,%rax,8), %r14
leaq -0x2(%rax), %rdx
movq %rdx, 0x8(%r12)
movq -0x10(%rcx,%rax,8), %r15
cmpl $0x2, (%r14)
movl (%r15), %esi
jne 0x4361
cmpl $0x4, %esi
je 0x430b
testq %rdx, %rdx
je 0x4439
leaq -0x3(%rax), %rdx
movq %rdx, 0x8(%r12)
movq -0x18(%rcx,%rax,8), %rbx
callq 0x2c1f
movl $0x4, (%rax)
movq %r15, 0x8(%rax)
movq %rbx, 0x10(%rax)
movq %rax, %r15
movq %r12, -0x30(%rbp)
movq 0x8(%r14), %rax
cmpq $0x0, 0x8(%rax)
je 0x43d2
xorl %r13d, %r13d
xorl %ebx, %ebx
movq (%rax), %rax
movq (%rax,%r13), %r12
cmpl $0x4, (%r12)
jne 0x442d
movq 0x8(%r12), %rdi
movq 0x8(%r15), %rsi
callq 0x30aa
testl %eax, %eax
jne 0x43ee
incq %rbx
movq 0x8(%r14), %rax
movq 0x8(%rax), %rcx
addq $0x8, %r13
cmpq %rbx, %rcx
ja 0x4323
jmp 0x43d4
cmpl $0x2, %esi
je 0x442d
movq %r15, %rdi
movq %r14, %rsi
callq 0x30aa
cvtsi2sd %eax, %xmm0
movsd %xmm0, -0x30(%rbp)
callq 0x2c1f
movl $0x0, (%rax)
movsd -0x30(%rbp), %xmm0
movsd %xmm0, 0x8(%rax)
movq 0x8(%r12), %rcx
leaq 0x1(%rcx), %rdx
cmpq 0x10(%r12), %rdx
ja 0x4445
movq (%r12), %rsi
movq %rdx, 0x8(%r12)
movq %rax, (%rsi,%rcx,8)
movq %r15, %rdi
callq 0x2e71
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2e71
xorl %ecx, %ecx
leaq 0x1(%rcx), %rdx
cmpq 0x10(%rax), %rdx
ja 0x4445
movq %rdx, 0x8(%rax)
shlq $0x3, %rcx
addq (%rax), %rcx
movq %rcx, %r13
jmp 0x43fd
movq %r12, %rdi
callq 0x2e71
movq 0x8(%r14), %rax
addq (%rax), %r13
movq -0x30(%rbp), %rsi
movq %r15, (%r13)
movq 0x8(%rsi), %rax
leaq 0x1(%rax), %rcx
cmpq 0x10(%rsi), %rcx
ja 0x4445
movq (%rsi), %rdx
movq %rcx, 0x8(%rsi)
movq %r14, (%rdx,%rax,8)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4f24(%rip), %rdi      # 0x9358
callq 0x23ac
leaq 0x5205(%rip), %rdi      # 0x9645
callq 0x23ac
leaq 0x51c3(%rip), %rdi      # 0x960f
callq 0x23ac
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/o.c
// Function: fdo
V fdo(ST s){
    I d;O b=pop(s);O n=pop(s);if(b->t!=TCB)TE;
    if(n->t==TD){O on=v['n'];for(d=0;d<n->d;++d){v['n']=newod(d);excb(b);dlo(v['n']);}dlo(n);dlo(b);v['n']=on;} //for loop
    else if(n->t==TA||n->t==TS){I ts;O on=v['n'];ts=n->t==TS;for(d=0;d<(ts?n->s.z:len(n->a));++d){v['n']=ts?newosc(n->s.s[d]):n->a->st[d];excb(b);if(ts)dlo(v['n']);}v['n']=on;dlo(n);dlo(b);} //for each
    else TE;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x623d
movq (%rdi), %rcx
movq %rax, %rdx
decq %rdx
movq %rdx, 0x8(%rdi)
je 0x623d
movq -0x8(%rcx,%rax,8), %rbx
leaq -0x2(%rax), %rdx
movq %rdx, 0x8(%rdi)
cmpl $0x3, (%rbx)
jne 0x6249
movq -0x10(%rcx,%rax,8), %r14
movl (%r14), %r12d
leal -0x1(%r12), %eax
cmpl $0x2, %eax
jae 0x61a5
movq 0x7aa9(%rip), %rax      # 0xdbb0
movq %rax, -0x38(%rbp)
xorl %r13d, %r13d
leaq -0x2a(%rbp), %r15
cmpl $0x1, %r12d
jne 0x6157
cmpq %r13, 0x10(%r14)
jbe 0x617c
movq 0x8(%r14), %rax
movb (%rax,%r13), %al
movb %al, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movl $0x1, %esi
movq %r15, %rdi
callq 0x2d36
movq %rax, 0x7a6f(%rip)      # 0xdbb0
movq %rbx, %rdi
callq 0x3216
movq 0x7a60(%rip), %rdi      # 0xdbb0
callq 0x2e71
jmp 0x6177
movq 0x8(%r14), %rax
cmpq %r13, 0x8(%rax)
jbe 0x617c
movq (%rax), %rax
movq (%rax,%r13,8), %rax
movq %rax, 0x7a41(%rip)      # 0xdbb0
movq %rbx, %rdi
callq 0x3216
incq %r13
jmp 0x6112
movq -0x38(%rbp), %rax
movq %rax, 0x7a29(%rip)      # 0xdbb0
movq %r14, %rdi
callq 0x2e71
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2e71
testl %r12d, %r12d
jne 0x6249
movq 0x79fb(%rip), %r15      # 0xdbb0
movsd 0x8(%r14), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x6217
movl $0x1, %r12d
movsd %xmm1, -0x38(%rbp)
callq 0x2c1f
movl $0x0, (%rax)
movsd -0x38(%rbp), %xmm0
movsd %xmm0, 0x8(%rax)
movq %rax, 0x79c4(%rip)      # 0xdbb0
movq %rbx, %rdi
callq 0x3216
movq 0x79b5(%rip), %rdi      # 0xdbb0
callq 0x2e71
xorps %xmm1, %xmm1
cvtsi2sd %r12d, %xmm1
movsd 0x8(%r14), %xmm0
incl %r12d
ucomisd %xmm1, %xmm0
ja 0x61cb
movq %r14, %rdi
callq 0x2e71
movq %rbx, %rdi
callq 0x2e71
movq %r15, 0x7982(%rip)      # 0xdbb0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3401(%rip), %rdi      # 0x9645
callq 0x23ac
leaq 0x3108(%rip), %rdi      # 0x9358
callq 0x23ac
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/o.c
// Function: toca
V toca(ST st,O o){
    if(o->t==TS){ST ca=newst();I p=0;for(;p<o->s.z;++p)psh(ca,newosc(o->s.s[p]));psh(st,newoa(ca));dlo(o);}
    else if(o->t==TA){msrt(dfsrt,0,st,o->a);psh(st,o);}
    else if(o->t==TCB){O a=pop(st);if(a->t!=TA)TE;msrt(cbsrt,o,st,a->a);psh(st,a);}
    else TE;}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl (%rsi), %eax
cmpl $0x3, %eax
je 0x6785
cmpl $0x2, %eax
je 0x6755
cmpl $0x1, %eax
jne 0x67ee
callq 0x268a
movq %rax, %r15
cmpq $0x0, 0x10(%r14)
je 0x6713
xorl %r13d, %r13d
leaq -0x2a(%rbp), %r12
movq 0x8(%r14), %rax
movb (%rax,%r13), %al
movb %al, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movl $0x1, %esi
movq %r12, %rdi
callq 0x2d36
movq 0x8(%r15), %rcx
leaq 0x1(%rcx), %rdx
cmpq 0x10(%r15), %rdx
ja 0x67e2
movq (%r15), %rsi
movq %rdx, 0x8(%r15)
movq %rax, (%rsi,%rcx,8)
incq %r13
cmpq %r13, 0x10(%r14)
ja 0x66d1
callq 0x2c1f
movl $0x2, (%rax)
movq %r15, 0x8(%rax)
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rdx
cmpq 0x10(%rbx), %rdx
ja 0x67e2
movq (%rbx), %rsi
movq %rdx, 0x8(%rbx)
movq %rax, (%rsi,%rcx,8)
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2e71
movq 0x8(%r14), %rcx
leaq -0x248(%rip), %rdi      # 0x6518
xorl %esi, %esi
movq %rbx, %rdx
callq 0x6547
movq 0x8(%rbx), %rax
leaq 0x1(%rax), %rcx
cmpq 0x10(%rbx), %rcx
ja 0x67e2
movq (%rbx), %rdx
movq %rcx, 0x8(%rbx)
movq %r14, (%rdx,%rax,8)
jmp 0x67d3
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x67fa
movq (%rbx), %rcx
leaq -0x1(%rax), %rdx
movq %rdx, 0x8(%rbx)
movq -0x8(%rcx,%rax,8), %r15
cmpl $0x2, (%r15)
jne 0x67ee
movq 0x8(%r15), %rcx
leaq -0x272(%rip), %rdi      # 0x653d
movq %r14, %rsi
movq %rbx, %rdx
callq 0x6547
movq 0x8(%rbx), %rax
leaq 0x1(%rax), %rcx
cmpq 0x10(%rbx), %rcx
ja 0x67e2
movq (%rbx), %rdx
movq %rcx, 0x8(%rbx)
movq %r15, (%rdx,%rax,8)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2e26(%rip), %rdi      # 0x960f
callq 0x23ac
leaq 0x2b63(%rip), %rdi      # 0x9358
callq 0x23ac
leaq 0x2e44(%rip), %rdi      # 0x9645
callq 0x23ac
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/o.c
// Function: dumpo
V dumpo(O o,I n){
    L i;I m=n*2;while(m-->0)putchar(' ');
    switch(o->t){
    case TD:printf("%f\n",o->d);BK;
    case TS:putchar('"');for(i=0;i<o->s.z;i++){C c=o->s.s[i];if(c>=ECOFF&&c<(ECOFF+sizeof(ecm)))printf("\\%c",ecm[c-ECOFF]);else putchar(c);}puts("\"");BK;
    case TA:puts("[]");for(i=0;i<len(o->a);++i)dumpo(o->a->st[i],n+1);BK;
    case TCB:printf("{%s}\n",o->s.s);BK;
    case TR:puts(":");dumpo(o->e.k,n+1);dumpo(o->e.v,n+1);BK;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %r14d
movq %rdi, %rbx
leal 0x1(,%r14,2), %r12d
leaq 0x26bf(%rip), %r15      # 0x93ea
testl %r14d, %r14d
jle 0x6d46
movl %r12d, %r13d
movl $0x20, %edi
callq 0x2040
decl %r13d
cmpl $0x1, %r13d
jg 0x6d33
movl (%rbx), %eax
cmpl $0x4, %eax
jne 0x6d6e
movq %r15, %rdi
callq 0x2080
movq 0x8(%rbx), %rdi
incl %r14d
movl %r14d, %esi
callq 0x6d08
movq 0x10(%rbx), %rbx
addl $0x2, %r12d
jmp 0x6d2b
jae 0x6ddc
movl %eax, %eax
leaq 0x253b(%rip), %rcx      # 0x92b4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movsd 0x8(%rbx), %xmm0
leaq 0x2649(%rip), %rdi      # 0x93d7
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2100
leaq 0x2637(%rip), %rdi      # 0x93e1
callq 0x2080
movq 0x8(%rbx), %rax
cmpq $0x0, 0x8(%rax)
je 0x6ddc
incl %r14d
xorl %r15d, %r15d
movq (%rax), %rax
movq (%rax,%r15,8), %rdi
movl %r14d, %esi
callq 0x6d08
incq %r15
movq 0x8(%rbx), %rax
cmpq 0x8(%rax), %r15
jb 0x6dc0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rbx), %rsi
leaq 0x25ee(%rip), %rdi      # 0x93e4
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2100
movl $0x22, %edi
callq 0x2040
cmpq $0x0, 0x10(%rbx)
je 0x6e5f
leaq 0x64d1(%rip), %r15      # 0xd2f4
leaq 0x25b1(%rip), %r14      # 0x93db
xorl %r12d, %r12d
movq 0x8(%rbx), %rax
movsbl (%rax,%r12), %edi
leal -0x7(%rdi), %eax
cmpb $0x6, %al
ja 0x6e51
addl $-0x7, %edi
movsbl (%rdi,%r15), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x2100
jmp 0x6e56
callq 0x2040
incq %r12
cmpq 0x10(%rbx), %r12
jb 0x6e2d
leaq 0x2579(%rip), %rdi      # 0x93df
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2080
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/o.c
// Function: repl
V repl(){ //repl
    C b[BZ];isrepl=1;printf("O REPL");for(;;){
        printf("\n>>> ");if(!fgets(b,BZ,stdin))BK; //get line
        if(!setjmp(jb))excs(b,0); //run line
    }excs("",1); //cleanup
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x808, %rsp            # imm = 0x808
movl $0x1, 0x6323(%rip)      # 0xd310
leaq 0x2453(%rip), %rdi      # 0x9447
xorl %eax, %eax
movl %eax, %ebx
callq 0x2100
leaq 0x244a(%rip), %rdi      # 0x944e
movl %ebx, %eax
callq 0x2100
movq 0x5f7e(%rip), %rax      # 0xcf90
movq (%rax), %rdx
leaq -0x830(%rbp), %rdi
movl $0x800, %esi            # imm = 0x800
callq 0x2150
testq %rax, %rax
je 0x7086
leaq 0x66ee(%rip), %rbx      # 0xd720
leaq -0x830(%rbp), %r14
xorl %eax, %eax
leaq 0x240c(%rip), %r12      # 0x944e
movl %eax, %r13d
movl $0x800, %r15d           # imm = 0x800
movq %rbx, %rdi
callq 0x2160
testl %eax, %eax
jne 0x7061
movq %r14, %rdi
xorl %esi, %esi
callq 0x6ec3
movq %r12, %rdi
movl %r13d, %eax
callq 0x2100
movq 0x5f1d(%rip), %rax      # 0xcf90
movq (%rax), %rdx
movq %r14, %rdi
movl %r15d, %esi
callq 0x2150
testq %rax, %rax
jne 0x704b
leaq 0x234d(%rip), %rdi      # 0x93da
movl $0x1, %esi
callq 0x6ec3
addq $0x808, %rsp            # imm = 0x808
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/libregexp/regaux.c
// Function: renewmatch
extern void
_renewmatch(Resub *mp, int ms, Resublist *sp)
{
	int i;

	if(mp==0 || ms<=0)
		return;
	if(mp[0].s.sp==0 || sp->m[0].s.sp<mp[0].s.sp ||
	   (sp->m[0].s.sp==mp[0].s.sp && sp->m[0].e.ep>mp[0].e.ep)){
		for(i=0; i<ms && i<NSUBEXP; i++)
			mp[i] = sp->m[i];
		for(; i<ms; i++)
			mp[i].s.sp = mp[i].e.ep = 0;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %esi, %eax
testq %rdi, %rdi
sete %cl
testl %esi, %esi
setle %sil
orb %cl, %sil
jne 0x7313
movq (%rdi), %rcx
testq %rcx, %rcx
je 0x72a8
cmpq %rcx, (%rdx)
jae 0x7307
leal -0x1(%rax), %esi
cmpl $0x1f, %esi
movl $0x1f, %ecx
cmovbl %esi, %ecx
cmpq $0x1f, %rsi
movl $0x1f, %r8d
cmovbq %rsi, %r8
leal 0x1(%rcx), %esi
shll $0x4, %r8d
addq $0x10, %r8
xorl %r9d, %r9d
movups (%rdx,%r9), %xmm0
movups %xmm0, (%rdi,%r9)
addq $0x10, %r9
cmpq %r9, %r8
jne 0x72d2
cmpl %eax, %esi
jge 0x7313
shll $0x4, %esi
addq %rsi, %rdi
subl %ecx, %eax
addl $-0x2, %eax
shlq $0x4, %rax
addq $0x10, %rax
xorl %esi, %esi
movq %rax, %rdx
popq %rbp
jmp 0x2120
jne 0x7313
movq 0x8(%rdx), %rcx
cmpq 0x8(%rdi), %rcx
ja 0x72a8
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/libregexp/regaux.c
// Function: renewthread
extern Relist*
_renewthread(Relist *lp,	/* _relist to add to */
	Reinst *ip,		/* instruction to add */
	int ms,
	Resublist *sep)		/* pointers to subexpressions */
{
	Relist *p;

	for(p=lp; p->inst; p++){
		if(p->inst == ip){
			if(sep->m[0].s.sp < p->se.m[0].s.sp){
				if(ms > 1)
					p->se = *sep;
				else
					p->se.m[0] = sep->m[0];
			}
			return 0;
		}
	}
	p->inst = ip;
	if(ms > 1)
		p->se = *sep;
	else
		p->se.m[0] = sep->m[0];
	(++p)->inst = 0;
	return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rax
testq %rax, %rax
je 0x733b
cmpq %rsi, %rax
je 0x7370
movq 0x208(%rbx), %rax
addq $0x208, %rbx            # imm = 0x208
jmp 0x7321
movq %rsi, (%rbx)
leaq 0x8(%rbx), %rdi
cmpl $0x2, %edx
jl 0x7356
movl $0x200, %edx            # imm = 0x200
movq %rcx, %rsi
callq 0x21a0
jmp 0x735c
movups (%rcx), %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x208(%rbx)
addq $0x208, %rbx            # imm = 0x208
jmp 0x739c
movq (%rcx), %rax
cmpq 0x8(%rbx), %rax
jae 0x739a
addq $0x8, %rbx
cmpl $0x2, %edx
jl 0x7394
movl $0x200, %edx            # imm = 0x200
movq %rbx, %rdi
movq %rcx, %rsi
callq 0x21a0
jmp 0x739a
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/libregexp/regaux.c
// Function: renewemptythread
extern Relist*
_renewemptythread(Relist *lp,	/* _relist to add to */
	Reinst *ip,		/* instruction to add */
	int ms,
	char *sp)		/* pointers to subexpressions */
{
	Relist *p;

	for(p=lp; p->inst; p++){
		if(p->inst == ip){
			if(sp < p->se.m[0].s.sp) {
				if(ms > 1)
					memset(&p->se, 0, sizeof(p->se));
				p->se.m[0].s.sp = sp;
			}
			return 0;
		}
	}
	p->inst = ip;
	if(ms > 1)
		memset(&p->se, 0, sizeof(p->se));
	p->se.m[0].s.sp = sp;
	(++p)->inst = 0;
	return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rcx, %r14
movq %rdi, %rbx
movq (%rdi), %rax
testq %rax, %rax
je 0x73d0
cmpq %rsi, %rax
je 0x7400
movq 0x208(%rbx), %rax
addq $0x208, %rbx            # imm = 0x208
jmp 0x73b6
movq %rsi, (%rbx)
cmpl $0x2, %edx
jl 0x73e8
leaq 0x10(%rbx), %rdi
movl $0x1f8, %edx            # imm = 0x1F8
xorl %esi, %esi
callq 0x2120
movq %r14, 0x8(%rbx)
movq $0x0, 0x208(%rbx)
addq $0x208, %rbx            # imm = 0x208
jmp 0x7423
cmpq %r14, 0x8(%rbx)
jbe 0x7421
addq $0x8, %rbx
cmpl $0x2, %edx
jl 0x741e
movl $0x200, %edx            # imm = 0x200
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2120
movq %r14, (%rbx)
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/libregexp/regaux.c
// Function: rrenewemptythread
extern Relist*
_rrenewemptythread(Relist *lp,	/* _relist to add to */
	Reinst *ip,		/* instruction to add */
	int ms,
	Rune *rsp)		/* pointers to subexpressions */
{
	Relist *p;

	for(p=lp; p->inst; p++){
		if(p->inst == ip){
			if(rsp < p->se.m[0].s.rsp) {
				if(ms > 1)
					memset(&p->se, 0, sizeof(p->se));
				p->se.m[0].s.rsp = rsp;
			}
			return 0;
		}
	}
	p->inst = ip;
	if(ms > 1)
		memset(&p->se, 0, sizeof(p->se));
	p->se.m[0].s.rsp = rsp;
	(++p)->inst = 0;
	return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rcx, %r14
movq %rdi, %rbx
movq (%rdi), %rax
testq %rax, %rax
je 0x7455
cmpq %rsi, %rax
je 0x7485
movq 0x208(%rbx), %rax
addq $0x208, %rbx            # imm = 0x208
jmp 0x743b
movq %rsi, (%rbx)
cmpl $0x2, %edx
jl 0x746d
leaq 0x10(%rbx), %rdi
movl $0x1f8, %edx            # imm = 0x1F8
xorl %esi, %esi
callq 0x2120
movq %r14, 0x8(%rbx)
movq $0x0, 0x208(%rbx)
addq $0x208, %rbx            # imm = 0x208
jmp 0x74a8
cmpq %r14, 0x8(%rbx)
jbe 0x74a6
addq $0x8, %rbx
cmpl $0x2, %edx
jl 0x74a3
movl $0x200, %edx            # imm = 0x200
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2120
movq %r14, (%rbx)
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/libregexp/regcomp.c
// Function: operator
static	void
operator(int t)
{
	if(t==RBRA && --nbra<0)
		rcerror("unmatched right paren");
	if(t==LBRA){
		if(++cursubid >= NSUBEXP)
			rcerror ("too many subexpressions");
		nbra++;
		if(lastwasand)
			operator(CAT);
	} else
		evaluntil(t);
	if(t != RBRA)
		pushator(t);
	lastwasand = FALSE;
	if(t==STAR || t==QUEST || t==PLUS || t==RBRA)
		lastwasand = TRUE;	/* these look like operands */
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
cmpl $0x81, %edi
jne 0x7aaf
movl 0x66fd(%rip), %eax      # 0xe18c
leal -0x1(%rax), %ecx
movl %ecx, 0x66f4(%rip)      # 0xe18c
testl %eax, %eax
jle 0x7bb1
movl $0x81, %edi
callq 0x7c80
jmp 0x7b74
cmpl $0x82, %ebx
jne 0x7b33
movl 0x68df(%rip), %eax      # 0xe39c
leal 0x1(%rax), %ecx
movl %ecx, 0x68d6(%rip)      # 0xe39c
cmpl $0x1f, %eax
jge 0x7bc0
incl 0x66b7(%rip)            # 0xe18c
cmpb $0x1, 0x68bc(%rip)      # 0xe398
jne 0x7b3a
movl $0x84, %edi
callq 0x7c80
movq 0x66f1(%rip), %rax      # 0xe1e0
leaq 0x66ea(%rip), %rcx      # 0xe1e0
cmpq %rcx, %rax
jae 0x7ba5
leaq 0x4(%rax), %rcx
movq %rcx, 0x66d6(%rip)      # 0xe1e0
movl $0x84, (%rax)
movl 0x6886(%rip), %eax      # 0xe39c
movq 0x6873(%rip), %rcx      # 0xe390
leaq 0x4(%rcx), %rdx
movq %rdx, 0x6868(%rip)      # 0xe390
movl %eax, (%rcx)
movb $0x0, 0x6867(%rip)      # 0xe398
jmp 0x7b3a
movl %ebx, %edi
callq 0x7c80
movq 0x669f(%rip), %rax      # 0xe1e0
leaq 0x6698(%rip), %rcx      # 0xe1e0
cmpq %rcx, %rax
jae 0x7ba5
leaq 0x4(%rax), %rcx
movq %rcx, 0x6688(%rip)      # 0xe1e0
movl %ebx, (%rax)
movl 0x683c(%rip), %eax      # 0xe39c
movq 0x6829(%rip), %rcx      # 0xe390
leaq 0x4(%rcx), %rdx
movq %rdx, 0x681e(%rip)      # 0xe390
movl %eax, (%rcx)
cmpl $0x81, %ebx
sete %al
movl %ebx, %ecx
andl $-0x3, %ecx
cmpl $0x85, %ecx
sete %cl
cmpl $0x86, %ebx
sete %dl
orb %al, %dl
orb %cl, %dl
movb %dl, 0x67fa(%rip)       # 0xe398
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x1997(%rip), %rdi      # 0x9543
callq 0x7f99
incl 0x64e9(%rip)            # 0xe0a0
leaq 0x1a15(%rip), %rdi      # 0x95d3
jmp 0x7bcd
incl 0x64da(%rip)            # 0xe0a0
leaq 0x1a1c(%rip), %rdi      # 0x95e9
callq 0x80d0
leaq 0x64d7(%rip), %rdi      # 0xe0b0
movl $0x1, %esi
callq 0x21f0
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/libregexp/regcomp.c
// Function: operand
static	void
operand(int t)
{
	Reinst *i;

	if(lastwasand)
		operator(CAT);	/* catenate is implicit */
	i = newinst(t);

	if(t == CCLASS || t == NCCLASS)
		i->r.cp = yyclassp;
	if(t == RUNE)
		i->r.r = yyrune;

	pushand(i, i);
	lastwasand = TRUE;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
cmpb $0x1, 0x67a6(%rip)      # 0xe398
jne 0x7bfe
movl $0x84, %edi
callq 0x7a79
movq 0x648b(%rip), %rax      # 0xe090
movl %ebx, (%rax)
leaq 0x8(%rax), %rcx
leaq 0x18(%rax), %rdx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movq %rdx, 0x6473(%rip)      # 0xe090
leal -0xc5(%rbx), %edx
cmpl $0x1, %edx
ja 0x7c34
movq 0x6779(%rip), %rdx      # 0xe3a8
movq %rdx, (%rcx)
jmp 0x7c41
cmpl $0x7f, %ebx
jne 0x7c41
movl 0x6761(%rip), %edx      # 0xe3a0
movl %edx, (%rcx)
movq 0x66e8(%rip), %rcx      # 0xe330
leaq 0x66e1(%rip), %rdx      # 0xe330
cmpq %rdx, %rcx
jae 0x7c74
movq %rax, (%rcx)
movq %rax, 0x8(%rcx)
addq $0x10, %rcx
movq %rcx, 0x66ca(%rip)      # 0xe330
movb $0x1, 0x672b(%rip)      # 0xe398
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x1986(%rip), %rdi      # 0x9601
callq 0x7f99
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/libregexp/regcomp.c
// Function: cant
static	void
cant(char *s)
{
	char buf[100];
	strncpy(buf, "can't happen: ", sizeof(buf));
	strncat(buf, s, sizeof(buf)-1);
	rcerror(buf);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x70, %rsp
movq %rdi, %rbx
leaq 0x14fa(%rip), %rsi      # 0x94a8
leaq -0x80(%rbp), %r14
movl $0x64, %edx
movq %r14, %rdi
callq 0x21a0
movl $0x63, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2130
incl 0x60cb(%rip)            # 0xe0a0
movq %r14, %rdi
callq 0x80d0
leaq 0x60cc(%rip), %rdi      # 0xe0b0
movl $0x1, %esi
callq 0x21f0
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/libregexp/regcomp.c
// Function: nextc
static	int
nextc(Rune *rp)
{
	if(lexdone){
		*rp = 0;
		return 1;
	}
	exprp += chartorune(rp, exprp);
	if(*rp == '\\'){
		exprp += chartorune(rp, exprp);
		return 1;
	}
	if(*rp == 0)
		lexdone = 1;
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpb $0x1, 0x617a(%rip)      # 0xe178
jne 0x8008
movl $0x0, (%rbx)
jmp 0x8046
movq 0x6171(%rip), %rsi      # 0xe180
movq %rbx, %rdi
callq 0x8be8
movslq %eax, %rsi
addq 0x615f(%rip), %rsi      # 0xe180
movq %rsi, 0x6158(%rip)      # 0xe180
movl (%rbx), %ecx
xorl %eax, %eax
testl %ecx, %ecx
je 0x8052
cmpl $0x5c, %ecx
jne 0x804b
movq %rbx, %rdi
callq 0x8be8
cltq
addq %rax, 0x613a(%rip)      # 0xe180
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movb $0x1, 0x611f(%rip)      # 0xe178
jmp 0x804b
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/libregexp/regcomp.c
// Function: popand
static	Node*
popand(int op)
{
	Reinst *inst;

	if(andp <= &andstack[0]){
		regerr2("missing operand for ", op);
		inst = newinst(NOP);
		pushand(inst,inst);
	}
	return --andp;
}

// Assembly:
movq 0x62ce(%rip), %rax      # 0xe330
leaq 0x6187(%rip), %rcx      # 0xe1f0
cmpq %rcx, %rax
jbe 0x807a
addq $-0x10, %rax
movq %rax, 0x62b7(%rip)      # 0xe330
retq
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movb $0x6d, %al
xorl %edx, %edx
leaq 0x15c2(%rip), %rcx      # 0x964f
movb %al, -0x70(%rbp,%rdx)
movb 0x1(%rdx,%rcx), %al
leaq 0x1(%rdx), %rsi
movq %rsi, %rdx
cmpq $0x14, %rsi
jne 0x808d
leaq -0x70(%rbp), %rax
movb %dil, 0x14(%rax)
movb $0x0, 0x15(%rax)
incl 0x5fec(%rip)            # 0xe0a0
movq %rax, %rdi
callq 0x80d0
leaq 0x5fed(%rip), %rdi      # 0xe0b0
movl $0x1, %esi
callq 0x21f0
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/libregexp/regerror.c
// Function: regerror9
void
regerror(char *s)
{
	char buf[132];

	strncpy(buf, "regerror: ", sizeof(buf));
	strncat(buf, s, sizeof(buf)-1);
	strncat(buf, "\n", sizeof(buf)-1);
	write(2, buf, strlen(buf));
	exit(1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x90, %rsp
movq %rdi, %r14
leaq 0x157c(%rip), %rsi      # 0x9664
leaq -0xa0(%rbp), %rbx
movl $0x84, %edx
movq %rbx, %rdi
callq 0x2060
movl $0x83, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2130
movq %rbx, %rdi
callq 0x20e0
movw $0xa, -0xa0(%rbp,%rax)
movq %rbx, %rdi
callq 0x20e0
movl $0x2, %edi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x20b0
movl $0x1, %edi
callq 0x2230
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/libregexp/regexec.c
// Function: regexec9
extern int
regexec(Reprog *progp,	/* program to run */
	char *bol,	/* string to run machine on */
	Resub *mp,	/* subexpression elements */
	int ms)		/* number of elements at mp */
{
	Reljunk j;
	Relist relist0[LISTSIZE], relist1[LISTSIZE];
	int rv;

	/*
 	 *  use user-specified starting/ending location if specified
	 */
	j.starts = bol;
	j.eol = 0;
	if(mp && ms>0){
		if(mp->s.sp)
			j.starts = mp->s.sp;
		if(mp->e.ep)
			j.eol = mp->e.ep;
	}
	j.starttype = 0;
	j.startchar = 0;
	if(progp->startinst->type == RUNE && progp->startinst->r.r < Runeself) {
		j.starttype = RUNE;
		j.startchar = progp->startinst->r.r;
	}
	if(progp->startinst->type == BOL)
		j.starttype = BOL;

	/* mark space */
	j.relist[0] = relist0;
	j.relist[1] = relist1;
	j.reliste[0] = relist0 + nelem(relist0) - 2;
	j.reliste[1] = relist1 + nelem(relist1) - 2;

	rv = regexec1(progp, bol, mp, ms, &j);
	if(rv >= 0)
		return rv;
	rv = regexec2(progp, bol, mp, ms, &j);
	if(rv >= 0)
		return rv;
	return -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28f8, %rsp           # imm = 0x28F8
movl %ecx, %ebx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq %rsi, -0x58(%rbp)
movq $0x0, -0x50(%rbp)
testq %rdx, %rdx
sete %al
testl %ecx, %ecx
setle %cl
orb %al, %cl
jne 0x8193
movq (%r14), %rax
testq %rax, %rax
je 0x8186
movq %rax, -0x58(%rbp)
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x8193
movq %rax, -0x50(%rbp)
movq $0x0, -0x60(%rbp)
movq (%r12), %rax
movl (%rax), %ecx
cmpl $0xc3, %ecx
je 0x81c2
cmpl $0x7f, %ecx
jne 0x81c9
movl 0x8(%rax), %eax
cmpl $0x7f, %eax
ja 0x81c9
movl $0x7f, -0x60(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x81c9
movl $0xc3, -0x60(%rbp)
leaq -0x2920(%rbp), %rax
leaq -0x80(%rbp), %r8
movq %rax, (%r8)
leaq -0x14d0(%rbp), %rcx
movq %rcx, 0x8(%r8)
movl $0x1040, %edx           # imm = 0x1040
addq %rdx, %rax
movq %rax, 0x10(%r8)
addq %rdx, %rcx
movq %rcx, 0x18(%r8)
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebx, %ecx
callq 0x82ba
movl %eax, %r13d
testl %eax, %eax
js 0x8221
movl %r13d, %eax
addq $0x28f8, %rsp           # imm = 0x28F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x1fbd0, %edi          # imm = 0x1FBD0
callq 0x21b0
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x820c
movq %rax, -0x30(%rbp)
movl $0x1fbd0, %edi          # imm = 0x1FBD0
callq 0x21b0
testq %rax, %rax
je 0x82ac
leaq -0x80(%rbp), %r8
movq -0x30(%rbp), %r13
movq %r13, (%r8)
movq %rax, 0x8(%r8)
movq %rax, %rdx
movq %rax, -0x38(%rbp)
movl $0x1f7c0, %eax          # imm = 0x1F7C0
movq %r13, %rcx
addq %rax, %rcx
movq %rcx, 0x10(%r8)
movq %rdx, %rcx
addq %rax, %rcx
movq %rcx, 0x18(%r8)
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebx, %ecx
callq 0x82ba
movl %eax, %ebx
movq %r13, %rdi
callq 0x2030
movq -0x38(%rbp), %rdi
callq 0x2030
testl %ebx, %ebx
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
cmovnsl %ebx, %r13d
jmp 0x820c
movq -0x30(%rbp), %rdi
callq 0x2030
jmp 0x820c
// File: /workspace/github_c_makefile_star2_O3/phase[P]o/libregexp/regsub.c
// Function: regsub9
extern	void
regsub(char *sp,	/* source string */
	char *dp,	/* destination string */
	int dlen,
	Resub *mp,	/* subexpression elements */
	int ms)		/* number of elements pointed to by mp */
{
	char *ssp, *ep;
	int i;

	ep = dp+dlen-1;
	while(*sp != '\0'){
		if(*sp == '\\'){
			switch(*++sp){
			case '0':
			case '1':
			case '2':
			case '3':
			case '4':
			case '5':
			case '6':
			case '7':
			case '8':
			case '9':
				i = *sp-'0';
				if(mp!=0 && mp[i].s.sp != 0 && ms>i)
					for(ssp = mp[i].s.sp;
					     ssp < mp[i].e.ep;
					     ssp++)
						if(dp < ep)
							*dp++ = *ssp;
				break;
			case '\\':
				if(dp < ep)
					*dp++ = '\\';
				break;
			case '\0':
				sp--;
				break;
			default:
				if(dp < ep)
					*dp++ = *sp;
				break;
			}
		}else if(*sp == '&'){
			if(mp!=0 && mp[0].s.sp != 0 && ms>0)
				for(ssp = mp[0].s.sp;
				     ssp < mp[0].e.ep; ssp++)
					if(dp < ep)
						*dp++ = *ssp;
		}else{
			if(dp < ep)
				*dp++ = *sp;
		}
		sp++;
	}
	*dp = '\0';
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movslq %edx, %rax
addq %rsi, %rax
decq %rax
movzbl (%rdi), %r9d
cmpl $0x26, %r9d
je 0x8671
cmpl $0x5c, %r9d
je 0x860d
testl %r9d, %r9d
je 0x86ce
movq %rdi, %rdx
cmpq %rax, %rsi
jae 0x86c6
movb %r9b, (%rsi)
incq %rsi
jmp 0x86c3
leaq 0x1(%rdi), %rdx
movb 0x1(%rdi), %r9b
movzbl %r9b, %r11d
leal -0x30(%r11), %r10d
cmpl $0xa, %r10d
jae 0x86ac
testq %rcx, %rcx
je 0x86c3
movq %r10, %rdi
shlq $0x4, %rdi
movq (%rcx,%rdi), %r9
testq %r9, %r9
sete %r11b
cmpl %r8d, %r10d
setge %r10b
orb %r11b, %r10b
jne 0x86c3
addq %rcx, %rdi
movq 0x8(%rdi), %r10
cmpq %r10, %r9
jae 0x86c3
cmpq %rax, %rsi
jae 0x866c
movb (%r9), %r10b
movb %r10b, (%rsi)
incq %rsi
movq 0x8(%rdi), %r10
incq %r9
jmp 0x8655
testq %rcx, %rcx
je 0x86c6
testl %r8d, %r8d
setle %r9b
movq (%rcx), %rdx
testq %rdx, %rdx
sete %r10b
orb %r9b, %r10b
jne 0x86c6
movq 0x8(%rcx), %r9
cmpq %r9, %rdx
jae 0x86c6
cmpq %rax, %rsi
jae 0x86a7
movb (%rdx), %r9b
movb %r9b, (%rsi)
incq %rsi
movq 0x8(%rcx), %r9
incq %rdx
jmp 0x8690
testl %r11d, %r11d
je 0x86c6
cmpl $0x5c, %r11d
jne 0x86ba
movb $0x5c, %r9b
cmpq %rax, %rsi
jb 0x8602
movq %rdx, %rdi
incq %rdi
jmp 0x85d9
movb $0x0, (%rsi)
popq %rbp
retq
nop