// File: /workspace/github_c_makefile_star2_O2/fuldaros[P]akb_sources/cc/akb_cc.c
// Function: make
int make(void)
{
	char * cc, * cflags;
	char cmd[SIZE];

	cc = getenv("CC");
	if (!cc)
		cc = "cc";
	cflags = getenv("CFLAGS");
	if (!cflags)
		cflags = "";

if(!file2){
file2=(char*)realloc(file2,strlen(file)+3);
strcpy(file2,file);
file2=strcat(file2,".x");

}
	sprintf(cmd, "%s %s %s.x.c -o %s", cc, cflags, file, file2);
	if (verbose) fprintf(stderr, "%s: %s\n", my_name, cmd);
	if (system(cmd))
		return -1;
	sprintf(cmd, "strip %s", file2);
	if (verbose) fprintf(stderr, "%s: %s\n", my_name, cmd);
	if (system(cmd))
		fprintf(stderr, "%s: never mind\n", my_name);
	sprintf(cmd, "chmod ug=rwx,o=rx %s", file2);
	if (verbose) fprintf(stderr, "%s: %s\n", my_name, cmd);
	if (system(cmd))
		fprintf(stderr, "%s: remove read permission\n", my_name);

	return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1008, %rsp           # imm = 0x1008
leaq 0x11c3(%rip), %rdi      # 0x668a
callq 0x4030
testq %rax, %rax
leaq 0x1153(%rip), %rbx      # 0x6629
cmovneq %rax, %rbx
leaq 0x11ac(%rip), %rdi      # 0x668d
callq 0x4030
testq %rax, %rax
leaq 0x10f7(%rip), %r14      # 0x65e7
cmovneq %rax, %r14
movq 0x5f95(%rip), %r12      # 0xb490
movq 0x5f96(%rip), %r15      # 0xb498
testq %r12, %r12
jne 0x5542
movq %r15, %rdi
callq 0x40b0
leaq 0x3(%rax), %rdi
callq 0x4170
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x4060
movq %r12, %rdi
callq 0x40b0
movw $0x782e, (%r12,%rax)    # imm = 0x782E
movb $0x0, 0x2(%r12,%rax)
movq %r12, 0x5f4e(%rip)      # 0xb490
leaq 0x114e(%rip), %rsi      # 0x6697
movq %rsp, %rdi
movq %rbx, %rdx
movq %r14, %rcx
movq %r15, %r8
movq %r12, %r9
xorl %eax, %eax
callq 0x4210
cmpl $0x0, 0x5eca(%rip)      # 0xb430
jne 0x55f6
movq %rsp, %rdi
callq 0x40c0
testl %eax, %eax
je 0x557d
pushq $-0x1
popq %rbx
jmp 0x55e5
movq 0x5f0c(%rip), %rdx      # 0xb490
leaq 0x1127(%rip), %rsi      # 0x66b2
movq %rsp, %rdi
xorl %eax, %eax
callq 0x4210
cmpl $0x0, 0x5e94(%rip)      # 0xb430
jne 0x561d
movq %rsp, %rdi
callq 0x40c0
testl %eax, %eax
jne 0x5644
movq 0x5edb(%rip), %rdx      # 0xb490
leaq 0x110f(%rip), %rsi      # 0x66cb
xorl %ebx, %ebx
movq %rsp, %rdi
xorl %eax, %eax
callq 0x4210
cmpl $0x0, 0x5e61(%rip)      # 0xb430
jne 0x5668
movq %rsp, %rdi
callq 0x40c0
testl %eax, %eax
jne 0x568f
movl %ebx, %eax
addq $0x1008, %rsp           # imm = 0x1008
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x59fb(%rip), %rax      # 0xaff8
movq (%rax), %rdi
leaq 0x10a3(%rip), %rsi      # 0x66aa
leaq 0xafa(%rip), %rdx       # 0x6108
movq %rsp, %rcx
xorl %eax, %eax
callq 0x4140
jmp 0x556c
movq 0x59d4(%rip), %rax      # 0xaff8
movq (%rax), %rdi
leaq 0x107c(%rip), %rsi      # 0x66aa
leaq 0xad3(%rip), %rdx       # 0x6108
movq %rsp, %rcx
xorl %eax, %eax
callq 0x4140
jmp 0x559e
movq 0x59ad(%rip), %rax      # 0xaff8
movq (%rax), %rdi
leaq 0x1066(%rip), %rsi      # 0x66bb
leaq 0xaac(%rip), %rdx       # 0x6108
xorl %eax, %eax
callq 0x4140
jmp 0x55ae
movq 0x5989(%rip), %rax      # 0xaff8
movq (%rax), %rdi
leaq 0x1031(%rip), %rsi      # 0x66aa
leaq 0xa88(%rip), %rdx       # 0x6108
movq %rsp, %rcx
xorl %eax, %eax
callq 0x4140
jmp 0x55d5
movq 0x5962(%rip), %rax      # 0xaff8
movq (%rax), %rdi
leaq 0x1040(%rip), %rsi      # 0x66e0
leaq 0xa61(%rip), %rdx       # 0x6108
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x4140
jmp 0x55e5