LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/gl/gl_3.c
// Function: ogl_IsVersionGEQ
int ogl_IsVersionGEQ(int majorVersion, int minorVersion)
{
	if(g_major_version == 0)
		GetGLVersion();
	
	if(majorVersion < g_major_version) return 1;
	if(majorVersion > g_major_version) return 0;
	if(minorVersion <= g_minor_version) return 1;
	return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebx
movl %edi, %ebp
movl 0x636d(%rip), %ecx      # 0xcc60
testl %ecx, %ecx
jne 0x6921
leaq 0x6362(%rip), %rsi      # 0xcc60
movl $0x821b, %edi           # imm = 0x821B
callq *0x5947(%rip)           # 0xc250
leaq 0x6354(%rip), %rsi      # 0xcc64
movl $0x821c, %edi           # imm = 0x821C
callq *0x5935(%rip)           # 0xc250
movl 0x633f(%rip), %ecx      # 0xcc60
movl $0x1, %eax
cmpl %ebp, %ecx
jg 0x693b
xorl %eax, %eax
cmpl %ebp, %ecx
jl 0x693b
xorl %eax, %eax
cmpl %ebx, 0x632c(%rip)      # 0xcc64
setge %al
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/gutils.c
// Function: createShader
void createShader(ShaderPrg *prg, const char *vs, const char *fs){
	char *vsData = readFile(vs);
	char *fsData = readFile(fs);

	prg->vs = compileShader(vsData, GL_VERTEX_SHADER);
	prg->fs = compileShader(fsData, GL_FRAGMENT_SHADER);

	linkPrg(prg);

	free(vsData);
	free(fsData);
	return;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x69a4
movq %rax, %r15
movq %rbx, %rdi
callq 0x69a4
movq %rax, %rbx
movq %r15, %rdi
movl $0x8b31, %esi           # imm = 0x8B31
callq 0x6a2e
movl %eax, 0x4(%r14)
movq %rbx, %rdi
movl $0x8b30, %esi           # imm = 0x8B30
callq 0x6a2e
movl %eax, 0x8(%r14)
movq %r14, %rdi
callq 0x6ab4
movq %r15, %rdi
callq 0x1150
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x1150
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/gutils.c
// Function: readFile
static char *readFile(const char *filename){
	FILE *fp = fopen(filename, "r");
	if(fp == NULL){
		printf("Could not open file: %s\n", filename);
		return NULL;
	}

	// Get size of file
	fseek(fp, 0, SEEK_END);
	int fileSize = ftell(fp);
	fseek(fp, 0, SEEK_SET);

	char *data = malloc(fileSize);
	fread(data, 1, fileSize, fp);
	fclose(fp);
	return data;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r15
leaq 0x17d7(%rip), %rsi      # 0x818a
callq 0x1140
testq %rax, %rax
je 0x6a11
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x1130
movq %rbx, %rdi
callq 0x1030
movq %rax, %r14
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x1130
movslq %r14d, %r15
movq %r15, %rdi
callq 0x1160
movq %rax, %r14
movl $0x1, %esi
movq %rax, %rdi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x11b0
movq %rbx, %rdi
callq 0x1100
jmp 0x6a25
leaq 0x2f4b(%rip), %rdi      # 0x9963
xorl %r14d, %r14d
movq %r15, %rsi
xorl %eax, %eax
callq 0x1040
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/gutils.c
// Function: compileShader
GLuint compileShader(const char *shader, GLenum type){
	GLuint s = glCreateShader(type);
	glShaderSource(s, 1, &shader, NULL);
	glCompileShader(s);

	// Check if shader compiled okay
	GLint okay = GL_FALSE;
	glGetShaderiv(s, GL_COMPILE_STATUS, &okay);
	if(okay == GL_FALSE){
		printf("Error compiling shader\n");
		printErrLog(s);
		return 0;
	}

	return s;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
leaq 0x8(%rsp), %r14
movq %rdi, (%r14)
leaq 0x5ab3(%rip), %rax      # 0xc4f8
movl %esi, %edi
callq *(%rax)
movl %eax, %ebp
leaq 0x5b76(%rip), %rax      # 0xc5c8
xorl %ebx, %ebx
movl %ebp, %edi
movl $0x1, %esi
movq %r14, %rdx
xorl %ecx, %ecx
callq *(%rax)
leaq 0x5a7f(%rip), %rax      # 0xc4e8
movl %ebp, %edi
callq *(%rax)
leaq 0x4(%rsp), %r14
movl $0x0, (%r14)
leaq 0x5af0(%rip), %rax      # 0xc570
movl %ebp, %edi
movl $0x8b81, %esi           # imm = 0x8B81
movq %r14, %rdx
callq *(%rax)
cmpl $0x0, (%r14)
je 0x6a96
movl %ebp, %ebx
jmp 0x6aa9
leaq 0x2f06(%rip), %rdi      # 0x99a3
callq 0x11c0
movl %ebp, %edi
callq 0x6b39
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/gutils.c
// Function: linkPrg
void linkPrg(ShaderPrg *prg){
	prg->prgID = glCreateProgram();
	glAttachShader(prg->prgID, prg->vs);
	glAttachShader(prg->prgID, prg->fs);
	glLinkProgram(prg->prgID);

	// Check if program linked okay
	GLint okay = GL_FALSE;
	glGetProgramiv(prg->prgID, GL_LINK_STATUS, &okay);
	if(okay == GL_FALSE){
		printf("Error linking program\n");
		printErrLog(prg->prgID);
		glDeleteProgram(prg->prgID);
		prg->prgID = 0;
		return;
	}
	return;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x5a2e(%rip), %rax      # 0xc4f0
callq *(%rax)
movl %eax, (%rbx)
leaq 0x5a03(%rip), %r14      # 0xc4d0
movl 0x4(%rbx), %esi
movl %eax, %edi
callq *(%r14)
movl (%rbx), %edi
movl 0x8(%rbx), %esi
callq *(%r14)
leaq 0x5adc(%rip), %rax      # 0xc5c0
movl (%rbx), %edi
callq *(%rax)
leaq 0x4(%rsp), %r14
movl $0x0, (%r14)
leaq 0x5a5d(%rip), %rax      # 0xc558
movl (%rbx), %edi
movl $0x8b82, %esi           # imm = 0x8B82
movq %r14, %rdx
callq *(%rax)
cmpl $0x0, (%r14)
jne 0x6b31
leaq 0x2ea6(%rip), %rdi      # 0x99ba
callq 0x11c0
movl (%rbx), %edi
callq 0x6b39
leaq 0x59d9(%rip), %rax      # 0xc500
movl (%rbx), %edi
callq *(%rax)
movl $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/gutils.c
// Function: printErrLog
static void printErrLog(GLuint obj){
	GLint logLen = 0;
	bool isShader;
	if(glIsShader(obj)){
		isShader = true;
		glGetShaderiv(obj, GL_INFO_LOG_LENGTH, &logLen);
	} else if (glIsProgram(obj)){
		isShader = false;
		glGetProgramiv(obj, GL_INFO_LOG_LENGTH, &logLen);
	} else {
		printf("Object is neither shader or program");
		return;
	}

	char *log = malloc(logLen);
	if(isShader){
		glGetShaderInfoLog(obj, logLen, NULL, log);
	} else {
		glGetProgramInfoLog(obj, logLen, NULL, log);
	}

	printf("%s", log);
	free(log);
	return;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %edi, %ebx
movl $0x0, 0x4(%rsp)
leaq 0x5a66(%rip), %rax      # 0xc5b8
callq *(%rax)
testb %al, %al
je 0x6b68
leaq 0x5a01(%rip), %r12      # 0xc560
leaq 0x5a0a(%rip), %rax      # 0xc570
jmp 0x6b85
leaq 0x5a41(%rip), %rax      # 0xc5b0
movl %ebx, %edi
callq *(%rax)
testb %al, %al
je 0x6bda
leaq 0x59d2(%rip), %r12      # 0xc550
leaq 0x59d3(%rip), %rax      # 0xc558
leaq 0x4(%rsp), %r14
movl %ebx, %edi
movl $0x8b84, %esi           # imm = 0x8B84
movq %r14, %rdx
callq *(%rax)
movl (%r14), %eax
movslq %eax, %r14
movq %r14, %rdi
callq 0x1160
movq %rax, %r15
movl %ebx, %edi
movl %r14d, %esi
xorl %edx, %edx
movq %rax, %rcx
callq *(%r12)
leaq 0x2de4(%rip), %rdi      # 0x99a0
movq %r15, %rsi
xorl %eax, %eax
callq 0x1040
movq %r15, %rdi
callq 0x1150
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x2d9b(%rip), %rdi      # 0x997c
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x1040
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/gutils.c
// Function: getAttribLoc
GLint getAttribLoc(ShaderPrg *prg, const char *name){
	GLint attrib = glGetAttribLocation(prg->prgID, name);
	if(attrib == -1){
		printf("Could not find vertex attribute: %s\n", name);
		return -1;
	}
	
	return attrib;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
leaq 0x5948(%rip), %rax      # 0xc548
movl (%rdi), %edi
callq *(%rax)
movl %eax, %ebp
cmpl $-0x1, %eax
jne 0x6c1c
leaq 0x2d10(%rip), %rdi      # 0x9922
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1040
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/gutils.c
// Function: getUniformLoc
GLint getUniformLoc(ShaderPrg *prg, const char *name){
	GLint uniform = glGetUniformLocation(prg->prgID, name);
	if(uniform == -1){
		printf("Could not find uniform: %s\n", name);
		return -1;
	}

	return uniform;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
leaq 0x5946(%rip), %rax      # 0xc578
movl (%rdi), %edi
callq *(%rax)
movl %eax, %ebp
cmpl $-0x1, %eax
jne 0x6c4e
leaq 0x2d03(%rip), %rdi      # 0x9947
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1040
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/mat.c
// Function: mulMat
void mulMat(mat4 *dst, mat4 *a, mat4 *b){
	mat4 aa = *a;
	mat4 bb = *b;
	float *dm = &dst->m[0];
	float *am = &aa.m[0];
	float *bm = &bb.m[0];

	for(int j=0; j<4; j++){
		for(int i=0; i<4; i++){
			int index = j*4 + i;
			dm[index] = am[0*4 + i]*bm[j*4 + 0] + am[1*4 + i]*bm[j*4 + 1]
			+ am[2*4 + i]*bm[j*4 + 2] + am[3*4 + i]*bm[j*4 + 3]; 
		}
	}
}

// Assembly:
movups (%rsi), %xmm0
movups 0x10(%rsi), %xmm1
movups 0x20(%rsi), %xmm2
movups 0x30(%rsi), %xmm3
movups (%rdx), %xmm4
movups 0x10(%rdx), %xmm5
movups 0x20(%rdx), %xmm6
movups 0x30(%rdx), %xmm7
movaps %xmm7, -0x18(%rsp)
movaps %xmm6, -0x28(%rsp)
movaps %xmm5, -0x38(%rsp)
movaps %xmm4, -0x48(%rsp)
xorl %eax, %eax
movss -0x48(%rsp,%rax), %xmm4
movss -0x44(%rsp,%rax), %xmm5
movss -0x40(%rsp,%rax), %xmm6
movss -0x3c(%rsp,%rax), %xmm7
shufps $0x0, %xmm5, %xmm5      # xmm5 = xmm5[0,0,0,0]
mulps %xmm1, %xmm5
shufps $0x0, %xmm4, %xmm4      # xmm4 = xmm4[0,0,0,0]
mulps %xmm0, %xmm4
addps %xmm5, %xmm4
shufps $0x0, %xmm6, %xmm6      # xmm6 = xmm6[0,0,0,0]
mulps %xmm2, %xmm6
addps %xmm4, %xmm6
shufps $0x0, %xmm7, %xmm7      # xmm7 = xmm7[0,0,0,0]
mulps %xmm3, %xmm7
addps %xmm6, %xmm7
movups %xmm7, (%rdi,%rax)
addq $0x10, %rax
cmpq $0x40, %rax
jne 0x6cd2
retq
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/mat.c
// Function: frustrum
void frustrum(mat4 *mat, float left, float right, float bottom, float top, float near, float far){
	mat4 r;
	float *m = &r.m[0];
	float n2 = 2.0*near;
	float rml = right - left;
	float fmn = far - near;
	float tmb = top - bottom;

	m[0] = n2/rml;
	m[1] = 0;
	m[2] = 0;
	m[3] = 0;

	m[4] = 0;
	m[5] = n2/tmb;
	m[6] = 0;
	m[7] = 0;
	
	m[8] = (right + left)/rml;
	m[9] = (top + bottom)/tmb;
	m[10]= -(far + near)/fmn;
	m[11]= -1;

	m[12]= 0;
	m[13]= 0;
	m[14]= -n2/fmn;
	m[15]= 0;

	mulMat(mat, mat, &r);
}

// Assembly:
subq $0x48, %rsp
movaps %xmm4, %xmm6
addss %xmm4, %xmm6
unpcklps %xmm3, %xmm1            # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
unpcklps %xmm2, %xmm0            # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
movaps %xmm1, %xmm3
subps %xmm0, %xmm3
movaps %xmm5, %xmm2
subss %xmm4, %xmm2
movaps %xmm6, %xmm7
divss %xmm3, %xmm7
leaq 0x8(%rsp), %rdx
movss %xmm7, (%rdx)
addps %xmm1, %xmm0
divps %xmm3, %xmm0
shufps $0x55, %xmm3, %xmm3     # xmm3 = xmm3[1,1,1,1]
movaps %xmm6, %xmm1
divss %xmm3, %xmm1
xorps %xmm3, %xmm3
movups %xmm3, 0x4(%rdx)
movss %xmm1, 0x14(%rdx)
movlhps %xmm0, %xmm3            # xmm3 = xmm3[0],xmm0[0]
movups %xmm3, 0x18(%rdx)
addss %xmm5, %xmm4
movaps 0x1295(%rip), %xmm0     # 0x8010
xorps %xmm0, %xmm4
divss %xmm2, %xmm4
movss %xmm4, 0x28(%rdx)
movss 0x12c9(%rip), %xmm1     # 0x8058
movlps %xmm1, 0x2c(%rdx)
xorl %eax, %eax
movl %eax, 0x34(%rdx)
xorps %xmm0, %xmm6
divss %xmm2, %xmm6
movss %xmm6, 0x38(%rdx)
movl %eax, 0x3c(%rdx)
movq %rdi, %rsi
callq 0x6c9e
addq $0x48, %rsp
retq
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/mat.c
// Function: perspective
void perspective(mat4 *mat, float fovy, float aspect, float near, float far){
	mat4 r;
	float *m = &r.m[0];
	float range = tanf(fovy)*near;
	float sx = (2.0f*near)/(range*aspect + range*aspect);
	float sy = near/range;
	float sz = -(far + near)/(far - near);
	float pz = -(2.0f*far*near)/(far - near);

	m[0] = sx;
	m[1] = 0;
	m[2] = 0;
	m[3] = 0;

	m[4] = 0;
	m[5] = sy;
	m[6] = 0;
	m[7] = 0;

	m[8] = 0;
	m[9] = 0;
	m[10]= sz;
	m[11]= -1;

	m[12]= 0;
	m[13]= 0;
	m[14]= pz;
	m[15]= 0;

	mulMat(mat, mat, &r);
}

// Assembly:
pushq %rbx
subq $0x50, %rsp
movss %xmm3, 0xc(%rsp)
movss %xmm2, 0x4(%rsp)
movss %xmm1, 0x8(%rsp)
movq %rdi, %rbx
callq 0x11a0
movss 0x4(%rsp), %xmm5
mulss %xmm5, %xmm0
movaps %xmm5, %xmm1
addss %xmm5, %xmm1
movss 0x8(%rsp), %xmm2
mulss %xmm0, %xmm2
addss %xmm2, %xmm2
divss %xmm2, %xmm1
movaps %xmm5, %xmm2
divss %xmm0, %xmm2
movaps %xmm5, %xmm0
movss 0xc(%rsp), %xmm4
addss %xmm4, %xmm0
xorps 0x11ff(%rip), %xmm0     # 0x8010
movaps %xmm4, %xmm3
subss %xmm5, %xmm3
mulss 0x2bb0(%rip), %xmm4     # 0x99d0
divss %xmm3, %xmm0
mulss %xmm5, %xmm4
divss %xmm3, %xmm4
leaq 0x10(%rsp), %rdx
movss %xmm1, (%rdx)
xorps %xmm1, %xmm1
movups %xmm1, 0x4(%rdx)
movss %xmm2, 0x14(%rdx)
movups %xmm1, 0x18(%rdx)
movss %xmm0, 0x28(%rdx)
movss 0x1206(%rip), %xmm0     # 0x8058
movlps %xmm0, 0x2c(%rdx)
xorl %eax, %eax
movl %eax, 0x34(%rdx)
movss %xmm4, 0x38(%rdx)
movl %eax, 0x3c(%rdx)
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x6c9e
addq $0x50, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/mat.c
// Function: translate
void translate(mat4 *mat, float x, float y, float z){
	mat4 r;
	float *m = &r.m[0];
	m[0] = 1;m[4] = 0;m[8] = 0;m[12]= x;
	m[1] = 0;m[5] = 1;m[9] = 0;m[13]= y;
	m[2] = 0;m[6] = 0;m[10]= 1;m[14]= z;
	m[3] = 0;m[7] = 0;m[11]= 0;m[15]= 1;


	mulMat(mat, mat, &r);
}

// Assembly:
subq $0x48, %rsp
movq %rsp, %rdx
movss %xmm0, 0x30(%rdx)
movss %xmm1, 0x34(%rdx)
movss %xmm2, 0x38(%rdx)
movss 0x11ca(%rip), %xmm0     # 0x805c
movaps %xmm0, (%rdx)
movsd 0x2b43(%rip), %xmm0     # 0x99e0
movaps %xmm0, 0x10(%rdx)
movaps 0x2b48(%rip), %xmm0     # 0x99f0
movaps %xmm0, 0x20(%rdx)
movl $0x3f800000, 0x3c(%rdx) # imm = 0x3F800000
movq %rdi, %rsi
callq 0x6c9e
addq $0x48, %rsp
retq
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/mat.c
// Function: rotateY
void rotateY(mat4 *mat, float angle){
	mat4 r;
	float *m = &r.m[0];
	m[0] = cosf(angle);
	m[1] = 0;
	m[2] = -sinf(angle);
	m[3] = 0;

	m[4] = 0;
	m[5] = 1;
	m[6] = 0;
	m[7] = 0;

	m[8] = sinf(angle);
	m[9] = 0;
	m[10]= cosf(angle);
	m[11]= 0;

	m[12]= 0;
	m[13]= 0;
	m[14]= 0;
	m[15]= 1;

	mulMat(mat, mat, &r);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x50, %rsp
movss %xmm0, 0xc(%rsp)
movq %rdi, %rbx
callq 0x10a0
leaq 0x10(%rsp), %r14
movss %xmm0, (%r14)
xorl %ebp, %ebp
movl %ebp, 0x4(%r14)
movss 0xc(%rsp), %xmm0
callq 0x10d0
xorps 0x1118(%rip), %xmm0     # 0x8010
movss %xmm0, 0x8(%r14)
movaps 0x2aeb(%rip), %xmm0     # 0x99f0
movups %xmm0, 0xc(%r14)
movl %ebp, 0x1c(%r14)
movss 0xc(%rsp), %xmm0
callq 0x10d0
movss %xmm0, 0x20(%r14)
movl %ebp, 0x24(%r14)
movss 0xc(%rsp), %xmm0
callq 0x10a0
movss %xmm0, 0x28(%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x2c(%r14)
movl $0x3f800000, 0x3c(%r14) # imm = 0x3F800000
movq %rbx, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x6c9e
addq $0x50, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/mat.c
// Function: lookAt
void lookAt(mat4 *mat, vec3Float *pos, vec3Float *fwd, vec3Float *right, vec3Float *up){
	mat4 r;
	float *m = &r.m[0];

	m[0] = right->x;
	m[1] = up->x;
	m[2] = -fwd->x;
	m[3] = 0;

	m[4] = right->y;
	m[5] = up->y;
	m[6] = -fwd->y;
	m[7] = 0;	

	m[8] = right->z;
	m[9] = up->z;
	m[10]= -fwd->z;
	m[11]= 0;

	m[12]= -pos->x;
	m[13]= -pos->y;
	m[14]= -pos->z;
	m[15]= 1;

	mulMat(mat, mat, &r);
}

// Assembly:
subq $0x48, %rsp
movq %rdx, %rax
movss (%rcx), %xmm0
leaq 0x8(%rsp), %rdx
movss %xmm0, (%rdx)
movss (%r8), %xmm0
movss %xmm0, 0x4(%rdx)
movss (%rax), %xmm1
movaps 0x108c(%rip), %xmm0     # 0x8010
xorps %xmm0, %xmm1
movss %xmm1, 0x8(%rdx)
xorl %r9d, %r9d
movl %r9d, 0xc(%rdx)
movss 0x4(%rcx), %xmm1
movss %xmm1, 0x10(%rdx)
movss 0x4(%r8), %xmm1
movss %xmm1, 0x14(%rdx)
movss 0x4(%rax), %xmm1
xorps %xmm0, %xmm1
movss %xmm1, 0x18(%rdx)
movl %r9d, 0x1c(%rdx)
movss 0x8(%rcx), %xmm1
movss %xmm1, 0x20(%rdx)
movss 0x8(%r8), %xmm1
movss %xmm1, 0x24(%rdx)
movss 0x8(%rax), %xmm1
xorps %xmm0, %xmm1
movss %xmm1, 0x28(%rdx)
movl %r9d, 0x2c(%rdx)
movsd (%rsi), %xmm1
xorps %xmm0, %xmm1
movlps %xmm1, 0x30(%rdx)
movss 0x8(%rsi), %xmm1
xorps %xmm0, %xmm1
movss %xmm1, 0x38(%rdx)
movl $0x3f800000, 0x3c(%rdx) # imm = 0x3F800000
movq %rdi, %rsi
callq 0x6c9e
addq $0x48, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/pak.c
// Function: readPakFile
PakFile *readPakFile(const char *filename){
	PakFile *pak = malloc(sizeof(PakFile));
	FILE *fp = fopen(filename, "rb");
	if(fp == NULL){
		printf("Could not open file: %s\n", filename);
		return NULL;
	}

	PakHeader header;

	// Read in PAK header
	fread(&header, sizeof(PakHeader), 1, fp);

	// Verify that this is a valid pak file
	if(header.magic[0] != 'P' || header.magic[1] != 'A' ||
			header.magic[2] != 'C' || header.magic[3] != 'K'){
		printf("Invalid pak file: %s\n", filename);
		return NULL;
	}
	
	PakEntry *entries = malloc(header.size);
	int numEntries = header.size/sizeof(PakEntry);
	pak->numFiles = numEntries;
	pak->files = malloc(sizeof(FILE)*numEntries);
	
	// Go to first entry
	fseek(fp, header.offset, SEEK_SET);
	// Read in all entries
	fread(entries, sizeof(PakEntry), numEntries, fp);

	// Read all file entries
	for(int i=0; i < numEntries; i++){
		int filenameLength = strlen(entries[i].filename);
		pak->files[i].filename = malloc(filenameLength+1);
		strcpy(pak->files[i].filename, entries[i].filename);

		pak->files[i].size = entries[i].size;
		pak->files[i].data = malloc(pak->files[i].size);
		fseek(fp, entries[i].offset, SEEK_SET);
		fread(pak->files[i].data, 1, pak->files[i].size, fp);
	}


	fclose(fp);

	free(entries);
	return pak;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r15
movl $0x10, %edi
callq 0x1160
movq %rax, %rbx
leaq 0x29df(%rip), %rsi      # 0x9a10
movq %r15, %rdi
callq 0x1140
testq %rax, %rax
je 0x714f
movq %rax, %r14
leaq 0xc(%rsp), %r12
movl $0xc, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %rax, %rcx
callq 0x11b0
cmpl $0x4b434150, (%r12)     # imm = 0x4B434150
jne 0x7158
movslq 0x14(%rsp), %r13
movq %r13, %rdi
callq 0x1160
movq %rax, %r15
sarl $0x6, %r13d
movl %r13d, 0x8(%rbx)
movslq %r13d, %rbp
imulq $0xd8, %rbp, %rdi
callq 0x1160
movq %rax, %r12
movq %rax, (%rbx)
movslq 0x10(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x1130
movl $0x40, %esi
movq %r15, (%rsp)
movq %r15, %rdi
movq %rbp, %rdx
movq %r14, %rcx
callq 0x11b0
testl %ebp, %ebp
jle 0x713c
movl %r13d, %eax
shlq $0x3, %rax
leaq (%rax,%rax,2), %rbp
xorl %r15d, %r15d
movq (%rsp), %r13
movq %r13, %rdi
callq 0x1080
incl %eax
movslq %eax, %rdi
callq 0x1160
movq %rax, (%r12,%r15)
movq %rax, %rdi
movq %r13, %rsi
callq 0x10f0
movslq 0x3c(%r13), %rdi
movl %edi, 0x8(%r12,%r15)
callq 0x1160
movq %rax, 0x10(%r12,%r15)
movslq 0x38(%r13), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x1130
movq 0x10(%r12,%r15), %rdi
movslq 0x8(%r12,%r15), %rdx
movl $0x1, %esi
movq %r14, %rcx
callq 0x11b0
addq $0x18, %r15
addq $0x40, %r13
cmpq %r15, %rbp
jne 0x70d6
movq %r14, %rdi
callq 0x1100
movq (%rsp), %rdi
callq 0x1150
jmp 0x716b
leaq 0x280d(%rip), %rdi      # 0x9963
jmp 0x715f
leaq 0x28b4(%rip), %rdi      # 0x9a13
xorl %ebx, %ebx
movq %r15, %rsi
xorl %eax, %eax
callq 0x1040
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/pak.c
// Function: readFile
void *readFile(PakFile *pf, const char *filename, int *size){
	for(int i=0; i<pf->numFiles; i++){
		if(strcmp(filename, pf->files[i].filename) == 0){
			// If size pointer isn't NULL set file size
			if(size != NULL){
				*size = pf->files[i].size;
			}
			return pf->files[i].data;
		}
	}

	return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movslq 0x8(%rdi), %rax
testq %rax, %rax
jle 0x71c3
movq %rdx, %rbx
movq %rsi, %r15
movq (%rdi), %r12
shlq $0x3, %rax
leaq (%rax,%rax,2), %rbp
xorl %r14d, %r14d
xorl %r13d, %r13d
movq (%r12,%r13), %rsi
movq %r15, %rdi
callq 0x1170
testl %eax, %eax
je 0x71c8
addq $0x18, %r13
cmpq %r13, %rbp
jne 0x71a8
jmp 0x71d9
xorl %r14d, %r14d
jmp 0x71d9
testq %rbx, %rbx
je 0x71d4
movl 0x8(%r12,%r13), %eax
movl %eax, (%rbx)
movq 0x10(%r12,%r13), %r14
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/pak.c
// Function: freePak
void freePak(PakFile *pf){
	for(int i=0; i<pf->numFiles; i++){
		free(pf->files[i].filename);
		free(pf->files[i].data);
	}
	
	free(pf->files);
	free(pf);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpl $0x0, 0x8(%rdi)
jle 0x7228
xorl %r14d, %r14d
xorl %r15d, %r15d
movq (%rbx), %rax
movq (%rax,%r14), %rdi
callq 0x1150
movq (%rbx), %rax
movq 0x10(%rax,%r14), %rdi
callq 0x1150
incq %r15
movslq 0x8(%rbx), %rax
addq $0x18, %r14
cmpq %rax, %r15
jl 0x71ff
movq (%rbx), %rdi
callq 0x1150
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x1150
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/quad.c
// Function: initQuad
void initQuad(){
	glGenBuffers(2, bufferIds);
	glBindBuffer(GL_ARRAY_BUFFER, bufferIds[0]);
	glBufferData(GL_ARRAY_BUFFER, sizeof(verts), &verts[0], GL_STATIC_DRAW);
	
	glBindBuffer(GL_ARRAY_BUFFER, bufferIds[1]);
	glBufferData(GL_ARRAY_BUFFER, sizeof(texCoords), &texCoords[0], GL_STATIC_DRAW);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
leaq 0x51e9(%rip), %rax      # 0xc470
leaq 0x59da(%rip), %rsi      # 0xcc68
movl $0x2, %edi
callq *(%rax)
leaq 0x51a4(%rip), %rbx      # 0xc440
movl 0x59c6(%rip), %esi      # 0xcc68
movl $0x8892, %edi           # imm = 0x8892
callq *(%rbx)
leaq 0x5198(%rip), %r14      # 0xc448
leaq 0x4e59(%rip), %rdx      # 0xc110
movl $0x30, %esi
movl $0x8892, %edi           # imm = 0x8892
movl $0x88e4, %ecx           # imm = 0x88E4
callq *(%r14)
movl 0x599d(%rip), %esi      # 0xcc6c
movl $0x8892, %edi           # imm = 0x8892
callq *(%rbx)
movq (%r14), %rax
leaq 0x4e60(%rip), %rdx      # 0xc140
movl $0x20, %esi
movl $0x8892, %edi           # imm = 0x8892
movl $0x88e4, %ecx           # imm = 0x88E4
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%rax
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/quad.c
// Function: drawQuad
void drawQuad(ShaderPrg *prg){
	GLint pos = getAttribLoc(prg, "position");
	GLint tex = getAttribLoc(prg, "texCoord");
	glEnableVertexAttribArray(pos);
	glBindBuffer(GL_ARRAY_BUFFER, bufferIds[0]);
	glVertexAttribPointer(
			pos,
			3,
			GL_FLOAT,
			GL_FALSE,
			0,
			NULL);

	glEnableVertexAttribArray(tex);
	glBindBuffer(GL_ARRAY_BUFFER, bufferIds[1]);
	glVertexAttribPointer(
			tex,
			2,
			GL_FLOAT,
			GL_FALSE,
			0,
			NULL);

	glDrawArrays(GL_TRIANGLE_FAN, 0, 4);

	glDisableVertexAttribArray(pos);
	glDisableVertexAttribArray(tex);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %r14
leaq 0x271f(%rip), %rsi      # 0x9a29
callq 0x6bf3
movl %eax, %ebx
leaq 0x271a(%rip), %rsi      # 0x9a32
movq %r14, %rdi
callq 0x6bf3
movl %eax, %ebp
leaq 0x51ff(%rip), %r14      # 0xc528
movl %ebx, %edi
callq *(%r14)
leaq 0x510b(%rip), %r15      # 0xc440
movl 0x592d(%rip), %esi      # 0xcc68
movl $0x8892, %edi           # imm = 0x8892
callq *(%r15)
leaq 0x5466(%rip), %r12      # 0xc7b0
movl %ebx, %edi
movl $0x3, %esi
movl $0x1406, %edx           # imm = 0x1406
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq *(%r12)
movl %ebp, %edi
callq *(%r14)
movl 0x58ff(%rip), %esi      # 0xcc6c
movl $0x8892, %edi           # imm = 0x8892
callq *(%r15)
movl %ebp, %edi
movl $0x2, %esi
movl $0x1406, %edx           # imm = 0x1406
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq *(%r12)
leaq 0x4fcc(%rip), %rax      # 0xc360
movl $0x6, %edi
xorl %esi, %esi
movl $0x4, %edx
callq *(%rax)
leaq 0x516f(%rip), %r14      # 0xc518
movl %ebx, %edi
callq *(%r14)
movl %ebp, %edi
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *(%rax)
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/texture.c
// Function: readPltTex
Texture *readPltTex(uint8_t *texData, int width, int height, Palette *plt, const char *name){
	Texture *tex = malloc(sizeof(Texture));
	tex->width = width;
	tex->height = height;
	tex->data = malloc(sizeof(colour3UByte)*width*height);
	tex->name = malloc(strlen(name)+1);

	// Copy name
	strcpy(tex->name, name);

	// Load and convert all paletted colour data	
	for(int i = 0; i < width*height; i++){
		tex->data[i] = getPaletteColour(plt, texData[i]);
	}

	glGenTextures(1, &tex->glId);
	glBindTexture(GL_TEXTURE_2D, tex->glId);
	glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
	glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
	glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
	glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
	glTexImage2D(GL_TEXTURE_2D,
			0,
			GL_RGB,
			width,
			height,
			0,
			GL_RGB,
			GL_UNSIGNED_BYTE,
			tex->data);


	return tex;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, (%rsp)
movq %rcx, %r15
movl %edx, %r14d
movl %esi, %ebp
movq %rdi, %r12
movl $0x20, %edi
callq 0x1160
movq %rax, %rbx
movl %ebp, 0xc(%rax)
movl %r14d, 0x10(%rax)
movslq %ebp, %rax
movslq %r14d, %rcx
imulq %rax, %rcx
leaq (%rcx,%rcx,2), %rdi
callq 0x1160
movq %rax, %r13
movq %rax, 0x18(%rbx)
movq (%rsp), %rdi
callq 0x1080
leaq 0x1(%rax), %rdi
callq 0x1160
movq %rbx, 0x10(%rsp)
movq %rax, (%rbx)
movq %rax, %rdi
movq (%rsp), %rsi
callq 0x10f0
movl %r14d, (%rsp)
movl %ebp, 0xc(%rsp)
imull %ebp, %r14d
testl %r14d, %r14d
jle 0x746d
movl %r14d, %ebp
xorl %r14d, %r14d
movzbl (%r12,%r14), %esi
movq %r15, %rdi
callq 0x725f
movw %ax, (%r13)
shrl $0x10, %eax
movb %al, 0x2(%r13)
incq %r14
addq $0x3, %r13
cmpq %r14, %rbp
jne 0x7448
leaq 0x4efc(%rip), %rax      # 0xc370
movq 0x10(%rsp), %rbx
movq %rbx, %rsi
addq $0x8, %rsi
movl $0x1, %edi
callq *(%rax)
leaq 0x4ea2(%rip), %rax      # 0xc330
movl 0x8(%rbx), %esi
movl $0xde1, %edi            # imm = 0xDE1
callq *(%rax)
leaq 0x4e79(%rip), %r14      # 0xc318
movl $0xde1, %edi            # imm = 0xDE1
movl $0x2801, %esi           # imm = 0x2801
movl $0x2600, %edx           # imm = 0x2600
callq *(%r14)
movl $0xde1, %edi            # imm = 0xDE1
movl $0x2800, %esi           # imm = 0x2800
movl $0x2600, %edx           # imm = 0x2600
callq *(%r14)
movl $0xde1, %edi            # imm = 0xDE1
movl $0x2802, %esi           # imm = 0x2802
movl $0x2901, %edx           # imm = 0x2901
callq *(%r14)
movl $0xde1, %edi            # imm = 0xDE1
movl $0x2803, %esi           # imm = 0x2803
movl $0x2901, %edx           # imm = 0x2901
callq *(%r14)
leaq 0x4e12(%rip), %rax      # 0xc300
subq $0x8, %rsp
movl $0xde1, %edi            # imm = 0xDE1
xorl %esi, %esi
movl $0x1907, %edx           # imm = 0x1907
movl 0x14(%rsp), %ecx
movl 0x8(%rsp), %r8d
xorl %r9d, %r9d
pushq 0x18(%rbx)
pushq $0x1401                 # imm = 0x1401
pushq $0x1907                 # imm = 0x1907
callq *(%rax)
addq $0x20, %rsp
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/Hazematman[P]BSP-Renderer/texture.c
// Function: writePPM
void writePPM(Texture *tex, const char *filename){
	FILE *fp = fopen(filename, "wb");
	if(fp == NULL){
		printf("Could not create file: %s\n", filename);
		return;
	}

	fprintf(fp, "P6 %d %d 255\n", tex->width, tex->height);
	fwrite(tex->data, sizeof(colour3UByte), tex->width*tex->height, fp);
	fclose(fp);
	
	return;	
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x24ee(%rip), %rsi      # 0x9a3b
movq %r15, %rdi
callq 0x1140
testq %rax, %rax
je 0x75a0
movq %rax, %rbx
movl 0xc(%r14), %edx
movl 0x10(%r14), %ecx
leaq 0x24ed(%rip), %rsi      # 0x9a59
movq %rax, %rdi
xorl %eax, %eax
callq 0x1190
movq 0x18(%r14), %rdi
movslq 0xc(%r14), %rax
movslq 0x10(%r14), %rdx
imulq %rax, %rdx
movl $0x3, %esi
movq %rbx, %rcx
callq 0x11e0
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x1100
leaq 0x2497(%rip), %rdi      # 0x9a3e
movq %r15, %rsi
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
jmp 0x1040
// File: /workspace/github_c_makefile_star2_O3/antonblanchard[P]will-it-scale/tests/pwrite1.c
// Function: testcase
void testcase(unsigned long long *iterations, unsigned long nr)
{
	char buf[BUFLEN];
	char tmpfile[] = "/tmp/willitscale.XXXXXX";
	int fd = mkstemp(tmpfile);

	memset(buf, 0, sizeof(buf));
	assert(fd >= 0);
	unlink(tmpfile);

	while (1) {
		assert(pwrite(fd, buf, BUFLEN, 0) == BUFLEN);

		(*iterations)++;
	}
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x1020, %rsp           # imm = 0x1020
movq %rdi, %rbx
movaps 0x697(%rip), %xmm0      # 0x3320
movq %rsp, %rdi
movaps %xmm0, (%rdi)
movabsq $0x5858585858582e, %rax # imm = 0x5858585858582E
movq %rax, 0x10(%rdi)
callq 0x21c0
movl %eax, %ebp
leaq 0x20(%rsp), %rdi
movl $0x1000, %edx           # imm = 0x1000
xorl %esi, %esi
callq 0x2130
testl %ebp, %ebp
js 0x2d1c
movq %rsp, %rdi
callq 0x2080
leaq 0x20(%rsp), %rsi
movl $0x1000, %edx           # imm = 0x1000
movl %ebp, %edi
xorl %ecx, %ecx
callq 0x21d0
cmpq $0x1000, %rax           # imm = 0x1000
jne 0x2cfd
leaq 0x20(%rsp), %r14
incq (%rbx)
movl $0x1000, %edx           # imm = 0x1000
movl %ebp, %edi
movq %r14, %rsi
xorl %ecx, %ecx
callq 0x21d0
cmpq $0x1000, %rax           # imm = 0x1000
je 0x2ce1
leaq 0x5f4(%rip), %rdi       # 0x32f8
leaq 0x5aa(%rip), %rsi       # 0x32b5
leaq 0x5b3(%rip), %rcx       # 0x32c5
movl $0x16, %edx
callq 0x2120
leaq 0x58a(%rip), %rdi       # 0x32ad
leaq 0x58b(%rip), %rsi       # 0x32b5
leaq 0x594(%rip), %rcx       # 0x32c5
movl $0x12, %edx
callq 0x2120
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: ntoa
char *ntoa(int x, int r) {
	static char	buf[200];
	int		i = 0, neg;
	char		*p = &buf[sizeof(buf)-1];
	char		d[] = "0123456789abcdefghijklmnopqrstuvwxyz";

	neg = x<0;
	*p = 0;
	while (x || 0 == i) {
		i++;
		p--;
		*p = d[abs(x % r)];
		x = x / r;
	}
	if (neg) {
		p--;
		*p = '-';
	}
	return p;
}

// Assembly:
movb $0x0, 0x1710e(%rip)     # 0x19717
leaq 0x17106(%rip), %rcx     # 0x19716
leaq 0x11d19(%rip), %r8      # 0x14330
movl %edi, %eax
cltd
idivl %esi
movl %edx, %r9d
negl %r9d
cmovsl %edx, %r9d
movb (%r9,%r8), %dl
movb %dl, (%rcx)
decq %rcx
testl %eax, %eax
jne 0x2619
testl %edi, %edi
js 0x263c
incq %rcx
jmp 0x263f
movb $0x2d, (%rcx)
movq %rcx, %rax
retq
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: error
void error(char *s, cell x) {
	cell	n;

	n = assq(S_errtag, Glob);
	Handler = (NIL == n)? NIL: cadr(n);
	if (Handler != NIL) {
		n = assq(S_errval, Glob);
		if (n != NIL && cadr(n) == Handler)
			bindset(S_errval, mkstr(s, strlen(s)));
		longjmp(Errtag, 1);
	}
	report(s, x);
	longjmp(Restart, 1);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x16af5(%rip), %edx     # 0x19144
cmpl $-0x1, %edx
je 0x268a
movl 0x16d42(%rip), %edi     # 0x1939c
movq 0x16cdf(%rip), %rax     # 0x19340
movq 0x16ce0(%rip), %rcx     # 0x19348
movl %edx, %r8d
movslq %r8d, %r9
movslq (%rax,%r9,4), %r8
cmpl %edi, (%rax,%r8,4)
je 0x2684
movl (%rcx,%r9,4), %r8d
cmpl $-0x1, %r8d
jne 0x266b
jmp 0x268a
cmpl $-0x1, %r8d
jne 0x26ad
movl $0xffffffff, 0x16aac(%rip) # imm = 0xFFFFFFFF
movq %rbx, %rdi
callq 0x237e
leaq 0x16ddd(%rip), %rdi     # 0x19480
movl $0x1, %esi
callq 0x21a0
movslq (%rcx,%r8,4), %rdi
movl (%rax,%rdi,4), %edi
movl %edi, 0x16a86(%rip)     # 0x19140
cmpl $-0x1, %edi
je 0x2694
movl 0x16cdb(%rip), %ebp     # 0x193a0
movslq %edx, %rsi
movslq (%rax,%rsi,4), %rdx
cmpl %ebp, (%rax,%rdx,4)
je 0x26db
movl (%rcx,%rsi,4), %edx
cmpl $-0x1, %edx
jne 0x26c5
jmp 0x2736
cmpl $-0x1, %edx
je 0x2736
movslq (%rcx,%rdx,4), %rcx
cmpl %edi, (%rax,%rcx,4)
jne 0x2736
movq %rbx, %rdi
callq 0x2080
movq %rbx, %rdi
movl %eax, %esi
callq 0x27b0
movl 0x16a43(%rip), %esi     # 0x19144
cmpl $-0x1, %esi
je 0x2736
movq 0x16c33(%rip), %rcx     # 0x19340
movq 0x16c34(%rip), %rdx     # 0x19348
movslq %esi, %rdi
movslq (%rcx,%rdi,4), %rsi
cmpl %ebp, (%rcx,%rsi,4)
je 0x272a
movl (%rdx,%rdi,4), %esi
cmpl $-0x1, %esi
jne 0x2714
jmp 0x2736
cmpl $-0x1, %esi
je 0x2736
movslq (%rdx,%rsi,4), %rdx
movl %eax, (%rcx,%rdx,4)
leaq 0x16c73(%rip), %rdi     # 0x193b0
jmp 0x26a3
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: mkstr
cell mkstr(char *s, int k) {
	cell	n;

	if (0 == k) return Nullstr;
	n = newvec(T_STRING, k+1);
	if (NULL == s) {
		memset(string(n), 0, k+1);
	}
	else {
		memcpy(string(n), s, k);
		string(n)[k] = 0;
	}
	return n;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testl %esi, %esi
je 0x281d
movl %esi, %r15d
movq %rdi, %r14
leal 0x1(%r15), %ebp
movl $0xffffffef, %edi       # imm = 0xFFFFFFEF
movl %ebp, %esi
callq 0x32cf
movl %eax, %ebx
movq 0x16b6d(%rip), %rax     # 0x19348
movslq %ebx, %r12
movslq (%rax,%r12,4), %rdi
shlq $0x2, %rdi
addq 0x16b6b(%rip), %rdi     # 0x19358
testq %r14, %r14
je 0x2825
movslq %r15d, %r15
movq %r14, %rsi
movq %r15, %rdx
callq 0x2140
movq 0x16b41(%rip), %rax     # 0x19348
movslq (%rax,%r12,4), %rax
shlq $0x2, %rax
addq 0x16b42(%rip), %rax     # 0x19358
movb $0x0, (%r15,%rax)
jmp 0x282f
movl 0x16955(%rip), %ebx     # 0x19178
jmp 0x282f
movslq %ebp, %rdx
xorl %esi, %esi
callq 0x20b0
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: readc
int readc(void) {
	int	c;

	if (Instr != NULL) {
		if (Rejected > -1) {
			c = Rejected;
			Rejected = -1;
			return c;
		}
		if (0 == *Instr) {
			return EOF;
		}
		else {
			return *Instr++;
		}
	}
	else {
		if (NULL == Ports[Inport])
			fatal("readc: input port is not open");
		return getc(Ports[Inport]);
	}
}

// Assembly:
movq 0x16ca5(%rip), %rcx     # 0x19558
testq %rcx, %rcx
je 0x28cb
movsbl 0x16895(%rip), %eax     # 0x19154
testl %eax, %eax
js 0x28e7
movb $-0x1, 0x1688a(%rip)    # 0x19154
retq
movslq 0x16c76(%rip), %rax     # 0x19548
leaq 0x16c87(%rip), %rcx     # 0x19560
movq (%rcx,%rax,8), %rdi
testq %rdi, %rdi
je 0x2901
jmp 0x2210
cmpb $0x0, (%rcx)
je 0x28fb
leaq 0x1(%rcx), %rax
movq %rax, 0x16c61(%rip)     # 0x19558
movsbl (%rcx), %eax
retq
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
retq
pushq %rax
leaq 0x10a68(%rip), %rdi     # 0x13371
callq 0x2867
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: mkport
cell mkport(int portno, cell type) {
	cell	n;
	int	pf;

	pf = Port_flags[portno];
	Port_flags[portno] |= LOCK_TAG;
	n = mkatom(portno, NIL);
	n = cons3(type, n, ATOM_TAG|PORT_TAG);
	Port_flags[portno] = pf;
	return n;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movslq %edi, %r14
leaq 0x16c7a(%rip), %r15     # 0x19600
movb (%r14,%r15), %bpl
movl %ebp, %eax
orb $0x40, %al
movb %al, (%r14,%r15)
movl %r14d, %edi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0x1, %edx
callq 0x30e7
movl %ebx, %edi
movl %eax, %esi
movl $0x11, %edx
callq 0x30e7
movb %bpl, (%r14,%r15)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: blockwrite
void blockwrite(char *s, int k) {
	cell	n;

	if (1 == Plimit) return;
	if (Outstr != NIL) {
		while (Outptr + k >= Outmax) {
			n = mkstr(NULL, Outmax+1000);
			memcpy(string(n), string(Outstr), Outptr);
			Outmax += 1000;
			Outstr = n;
		}
		memcpy(&string(Outstr)[Outptr], s, k);
		Outptr += k;
		string(Outstr)[Outptr] = 0;
		return;
	}
	if (NULL == Ports[Outport])
		fatal("blockwrite: output port is not open");
	if (fwrite(s, 1, k, Ports[Outport]) != k)
		error("file write error, port",
			mkport(Outport, T_OUTPORT));
	if ((1 == Outport || 2 == Outport) && '\n' == s[k-1])
		flush();
	if (Plimit) {
		Plimit -= k;
		if (Plimit < 1) Plimit = 1;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
cmpl $0x1, 0x169c9(%rip)     # 0x19398
je 0x2b25
movl %esi, %ebx
movq %rdi, %r14
movslq 0x1676f(%rip), %r15     # 0x19150
cmpq $-0x1, %r15
je 0x2abf
movl 0x16b5f(%rip), %eax     # 0x19550
leal (%rax,%rbx), %ecx
movl 0x16b52(%rip), %esi     # 0x1954c
cmpl %esi, %ecx
jl 0x2a62
movl $0x3e8, %ebp            # imm = 0x3E8
addl %ebp, %esi
xorl %edi, %edi
callq 0x27b0
movq 0x16945(%rip), %rcx     # 0x19358
movq 0x1692e(%rip), %rdx     # 0x19348
movslq %eax, %r15
movslq (%rdx,%r15,4), %rax
leaq (%rcx,%rax,4), %rdi
movslq 0x16724(%rip), %rax     # 0x19150
movslq (%rdx,%rax,4), %rax
leaq (%rcx,%rax,4), %rsi
movslq 0x16b15(%rip), %rdx     # 0x19550
callq 0x2140
movl 0x16b06(%rip), %esi     # 0x1954c
addl %ebp, %esi
movl %esi, 0x16afe(%rip)     # 0x1954c
movl %r15d, 0x166fb(%rip)    # 0x19150
movl 0x16af5(%rip), %eax     # 0x19550
leal (%rax,%rbx), %ecx
cmpl %esi, %ecx
jge 0x2a03
movq 0x168df(%rip), %rcx     # 0x19348
movslq (%rcx,%r15,4), %rcx
shlq $0x2, %rcx
addq 0x168e0(%rip), %rcx     # 0x19358
movslq %eax, %rdi
addq %rcx, %rdi
movslq %ebx, %rbx
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2140
movslq 0x16abd(%rip), %rax     # 0x19550
addq %rbx, %rax
movl %eax, 0x16ab4(%rip)     # 0x19550
movq 0x168a5(%rip), %rcx     # 0x19348
movslq 0x166a6(%rip), %rdx     # 0x19150
movslq (%rcx,%rdx,4), %rcx
shlq $0x2, %rcx
addq 0x1689f(%rip), %rcx     # 0x19358
movb $0x0, (%rcx,%rax)
jmp 0x2b25
movslq 0x16682(%rip), %rax     # 0x19148
leaq 0x16a93(%rip), %rcx     # 0x19560
movq (%rcx,%rax,8), %rcx
testq %rcx, %rcx
je 0x2b30
movslq %ebx, %r15
movl $0x1, %esi
movq %r14, %rdi
movq %r15, %rdx
callq 0x2200
movl 0x16659(%rip), %edi     # 0x19148
cmpq %r15, %rax
jne 0x2b3c
decl %edi
cmpl $0x1, %edi
ja 0x2b08
cmpb $0xa, -0x1(%r14,%r15)
jne 0x2b08
callq 0x2937
movl 0x1688a(%rip), %eax     # 0x19398
testl %eax, %eax
je 0x2b25
subl %ebx, %eax
cmpl $0x2, %eax
movl $0x1, %ecx
cmovgel %eax, %ecx
movl %ecx, 0x16873(%rip)     # 0x19398
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1086f(%rip), %rdi     # 0x133a6
callq 0x2867
movl $0xfffffff0, %esi       # imm = 0xFFFFFFF0
callq 0x2973
leaq 0x10842(%rip), %rdi     # 0x1338f
movl %eax, %esi
callq 0x2643
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: alloc_nodepool
void alloc_nodepool(void) {
	Car = malloc(sizeof(cell) * NNODES);
	Cdr = malloc(sizeof(cell) * NNODES);
	Tag = malloc(NNODES);
	if (NULL == Car || NULL == Cdr || NULL == Tag)
		fatal("alloc_nodepool: out of physical memory");
	memset(Car, 0, sizeof(cell) * NNODES);
	memset(Cdr, 0, sizeof(cell) * NNODES);
	memset(Tag, 0, NNODES);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl $0x100000, %edi         # imm = 0x100000
callq 0x2160
movq %rax, %r15
movq %rax, 0x167bb(%rip)     # 0x19340
movl $0x100000, %edi         # imm = 0x100000
callq 0x2160
movq %rax, %r14
movq %rax, 0x167af(%rip)     # 0x19348
movl $0x40000, %edi          # imm = 0x40000
callq 0x2160
movq %rax, 0x167a6(%rip)     # 0x19350
testq %r15, %r15
je 0x2bee
testq %r14, %r14
je 0x2bee
movq %rax, %rbx
testq %rax, %rax
je 0x2bee
movl $0x100000, %edx         # imm = 0x100000
movq %r15, %rdi
xorl %esi, %esi
callq 0x20b0
movl $0x100000, %edx         # imm = 0x100000
movq %r14, %rdi
xorl %esi, %esi
callq 0x20b0
movl $0x40000, %edx          # imm = 0x40000
movq %rbx, %rdi
xorl %esi, %esi
popq %rbx
popq %r14
popq %r15
jmp 0x20b0
leaq 0x107d5(%rip), %rdi     # 0x133ca
callq 0x2867
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: alloc_vecpool
void alloc_vecpool(void) {
	Vectors = malloc(sizeof(cell) * NVCELLS);
	if (NULL == Vectors)
		fatal("alloc_vecpool: out of physical memory");
	memset(Vectors, 0, sizeof(cell) * NVCELLS);
}

// Assembly:
pushq %rax
movl $0x1, %edi
movl $0x100000, %esi         # imm = 0x100000
callq 0x2100
movq %rax, 0x16747(%rip)     # 0x19358
testq %rax, %rax
je 0x2c18
popq %rax
retq
leaq 0x107d2(%rip), %rdi     # 0x133f1
callq 0x2867
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: marklit
void marklit(cell p) {
	int	i, k, op;
	byte	*v, *m;

	k = stringlen(p);
	v = string(p);
	m = string(Obmap);
	for (i=0; i<k; ) {
		op = v[i];
		if (OP_QUOTE == op) {
			m[fetcharg(v, i+1)] = OBUSED;
			i += ISIZE1;
		}
		else if (OP_ARG == op || OP_PUSHVAL == op || OP_JMP == op ||
			 OP_BRF == op || OP_BRT == op || OP_CLOSURE == op ||
			 OP_MKENV == op || OP_ENTER == op || OP_ENTCOL == op ||
			 OP_SETARG == op || OP_SETREF == op || OP_MACRO == op)
		{
			i += ISIZE1;
		}
		else if (OP_REF == op || OP_CPARG == op || OP_CPREF == op) {
			i += ISIZE2;
		}
		else {
			i += ISIZE0;
		}
	}
}

// Assembly:
movq 0x1672d(%rip), %rdx     # 0x19358
movq 0x16716(%rip), %rsi     # 0x19348
movslq %edi, %rax
movslq (%rsi,%rax,4), %rcx
movl -0x4(%rdx,%rcx,4), %eax
testl %eax, %eax
jle 0x2cb5
leaq (%rdx,%rcx,4), %rcx
movslq 0x1650c(%rip), %rdi     # 0x19158
movslq (%rsi,%rdi,4), %rsi
leaq (%rdx,%rsi,4), %rdx
xorl %esi, %esi
movl $0x3b18e440, %edi       # imm = 0x3B18E440
movl $0xc00080, %r8d         # imm = 0xC00080
movl %esi, %esi
movzbl (%rcx,%rsi), %r10d
cmpl $0x1d, %r10d
ja 0x2cad
movl $0x3, %r9d
btl %r10d, %edi
jae 0x2c83
addl %r9d, %esi
cmpl %eax, %esi
jl 0x2c61
jmp 0x2cb5
btl %r10d, %r8d
jae 0x2c91
movl $0x5, %r9d
jmp 0x2c7a
cmpl $0x5, %r10d
jne 0x2cad
movzwl 0x1(%rcx,%rsi), %r10d
rolw $0x8, %r10w
movzwl %r10w, %r10d
movb $0x2, (%rdx,%r10)
jmp 0x2c7a
movl $0x1, %r9d
jmp 0x2c7a
retq
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: cons3
cell cons3(cell pcar, cell pcdr, int ptag) {
	cell	n;
	int	k;

	if (NIL == Freelist) {
		if (0 == (ptag & ~CONST_TAG))
			Tmp_car = pcar;
		if (!(ptag & VECTOR_TAG))
			Tmp_cdr = pcdr;
		k = gc();
		if (k < NNODES / 2) {
			/* memory low! */
		}
		Tmp_car = Tmp_cdr = NIL;
		if (NIL == Freelist)
			error("cons3: out of nodes", UNDEF);
	}
	n = Freelist;
	Freelist = cdr(Freelist);
	car(n) = pcar;
	cdr(n) = pcdr;
	tag(n) = ptag;
	return n;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebx
movl %esi, %ebp
movl %edi, %r14d
movl 0x16038(%rip), %eax     # 0x19130
cmpl $-0x1, %eax
jne 0x3137
testl $0xffffff7f, %ebx       # imm = 0xFFFFFF7F
jne 0x310c
movl %r14d, 0x1605c(%rip)    # 0x19168
testb $0x8, %bl
jne 0x3117
movl %ebp, 0x16055(%rip)     # 0x1916c
callq 0x2ec4
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movl %ecx, 0x16045(%rip)     # 0x1916c
movl %ecx, 0x1603b(%rip)     # 0x19168
movl 0x15ffd(%rip), %eax     # 0x19130
cmpl %ecx, %eax
je 0x3166
movq 0x1620a(%rip), %rcx     # 0x19348
cltq
movl (%rcx,%rax,4), %edx
movl %edx, 0x15fe7(%rip)     # 0x19130
movq 0x161f0(%rip), %rdx     # 0x19340
movl %r14d, (%rdx,%rax,4)
movl %ebp, (%rcx,%rax,4)
movq 0x161f2(%rip), %rcx     # 0x19350
movb %bl, (%rcx,%rax)
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x102c1(%rip), %rdi     # 0x1342e
movl $0xfffffffc, %esi       # imm = 0xFFFFFFFC
callq 0x2643
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: unmark_vecs
void unmark_vecs(void) {
	int	p, k, link;

	p = 0;
	while (p < Freevec) {
		link = p;
		k = Vectors[p + RAW_VECSIZE];
		p += vecsize(k);
		Vectors[link] = NIL;
	}
}

// Assembly:
cmpl $0x0, 0x161e2(%rip)     # 0x19360
jle 0x31ad
xorl %ecx, %ecx
movq 0x161cf(%rip), %rax     # 0x19358
movslq %ecx, %rdx
movslq 0x4(%rax,%rdx,4), %rcx
addq $0x3, %rcx
shrq $0x2, %rcx
addl %edx, %ecx
addl $0x2, %ecx
movl $0xffffffff, (%rax,%rdx,4) # imm = 0xFFFFFFFF
cmpl 0x161b5(%rip), %ecx     # 0x19360
jl 0x3189
retq
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: gcv
int gcv(void) {
	int	v, k, to, from;
	char	buf[100];

	unmark_vecs();
	gc();		/* re-mark live vectors */
	to = from = 0;
	while (from < Freevec) {
		v = Vectors[from + RAW_VECSIZE];
		k = vecsize(v);
		if (Vectors[from + RAW_VECLINK] != NIL) {
			if (to != from) {
				memmove(&Vectors[to], &Vectors[from],
					k * sizeof(cell));
				cdr(Vectors[to + RAW_VECLINK]) =
					to + RAW_VECDATA;
			}
			to += k;
		}
		from += k;
	}
	k = Freevec - to;
	if (GC_verbose) {
		sprintf(buf, "GCV: %d cells reclaimed", k);
		prints(buf); nl();
		flush();
	}
	Freevec = to;
	return k;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x68, %rsp
cmpl $0x0, 0x161a1(%rip)     # 0x19360
jle 0x31ee
xorl %ecx, %ecx
movq 0x1618e(%rip), %rax     # 0x19358
movslq %ecx, %rdx
movslq 0x4(%rax,%rdx,4), %rcx
addq $0x3, %rcx
shrq $0x2, %rcx
addl %edx, %ecx
addl $0x2, %ecx
movl $0xffffffff, (%rax,%rdx,4) # imm = 0xFFFFFFFF
cmpl 0x16174(%rip), %ecx     # 0x19360
jl 0x31ca
callq 0x2ec4
movl 0x16167(%rip), %ebx     # 0x19360
testl %ebx, %ebx
jle 0x326e
xorl %ebp, %ebp
movq 0x16152(%rip), %rax     # 0x19358
xorl %r15d, %r15d
movslq %ebp, %rcx
movslq 0x4(%rax,%rcx,4), %r14
addq $0x3, %r14
shrq $0x2, %r14
addl $0x2, %r14d
cmpl $-0x1, (%rax,%rcx,4)
je 0x3261
cmpl %ebp, %r15d
je 0x325e
leaq (%rax,%rcx,4), %rsi
movslq %r15d, %rbx
leaq (%rax,%rbx,4), %rdi
movslq %r14d, %rdx
shlq $0x2, %rdx
callq 0x21b0
leal 0x2(%r15), %ecx
movq 0x160fe(%rip), %rdx     # 0x19348
movq 0x16107(%rip), %rax     # 0x19358
movslq (%rax,%rbx,4), %rsi
movl %ecx, (%rdx,%rsi,4)
movl 0x16102(%rip), %ebx     # 0x19360
addl %r14d, %r15d
addl %ebp, %r14d
movl %r14d, %ebp
cmpl %ebx, %r14d
jl 0x3209
jmp 0x3271
xorl %r15d, %r15d
subl %r15d, %ebx
cmpl $0x0, 0x16399(%rip)     # 0x19614
je 0x32bb
leaq 0x101be(%rip), %rsi     # 0x13442
movq %rsp, %r14
movq %r14, %rdi
movl %ebx, %edx
xorl %eax, %eax
callq 0x21e0
movq %r14, %rdi
callq 0x2080
movq %r14, %rdi
movl %eax, %esi
callq 0x29c1
leaq 0x10f5c(%rip), %rdi     # 0x14208
movl $0x1, %esi
callq 0x29c1
callq 0x2937
movl %r15d, 0x1609e(%rip)    # 0x19360
movl %ebx, %eax
addq $0x68, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: newvec
cell newvec(cell type, int size) {
	cell	n;
	int	v, wsize;

	wsize = vecsize(size);
	if (Freevec + wsize >= NVCELLS) {
		gcv();
		if (Freevec + wsize >= NVCELLS)
			error("newvec: out of vector space", UNDEF);
	}
	v = Freevec;
	Freevec += wsize;
	n = cons3(type, v + RAW_VECDATA, VECTOR_TAG);
	Vectors[v + RAW_VECLINK] = n;
	Vectors[v + RAW_VECSIZE] = size;
	return n;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movl %edi, %ebp
movslq %esi, %r15
addq $0x3, %r15
shrq $0x2, %r15
movl 0x16074(%rip), %r14d    # 0x19360
leal (%r14,%r15), %eax
addl $0x2, %eax
cmpl $0x40000, %eax          # imm = 0x40000
jl 0x3319
addl $0x2, %r15d
callq 0x31ae
movl 0x16056(%rip), %r14d    # 0x19360
addl %r14d, %r15d
movl %r15d, %eax
cmpl $0x40000, %r15d         # imm = 0x40000
jge 0x334b
movl %eax, 0x16041(%rip)     # 0x19360
leal 0x2(%r14), %esi
movl %ebp, %edi
movl $0x8, %edx
callq 0x30e7
movq 0x16022(%rip), %rcx     # 0x19358
movslq %r14d, %rdx
movl %eax, (%rcx,%rdx,4)
movl %ebx, 0x4(%rcx,%rdx,4)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10108(%rip), %rdi     # 0x1345a
movl $0xfffffffc, %esi       # imm = 0xFFFFFFFC
callq 0x2643
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: unprot
cell unprot(int k) {
	cell	n = NIL; /*LINT*/

	while (k) {
		if (NIL == Protected)
			error("unprot: stack underflow", UNDEF);
		n = car(Protected);
		Protected = cdr(Protected);
		k--;
	}
	return n;
}

// Assembly:
pushq %rax
testl %edi, %edi
je 0x338f
movl 0x15e09(%rip), %esi     # 0x19170
movq 0x15fd2(%rip), %rcx     # 0x19340
movq 0x15fd3(%rip), %rdx     # 0x19348
cmpl $-0x1, %esi
je 0x3396
movslq %esi, %rsi
movl (%rcx,%rsi,4), %eax
movl (%rdx,%rsi,4), %esi
movl %esi, 0x15de7(%rip)     # 0x19170
decl %edi
jne 0x3375
jmp 0x3394
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rcx
retq
leaq 0x100d9(%rip), %rdi     # 0x13476
movl $0xfffffffc, %esi       # imm = 0xFFFFFFFC
callq 0x2643
// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: mkvec
cell mkvec(int k) {
	cell	n, *v;
	int	i;

	if (0 == k) return Nullvec;
	n = newvec(T_VECTOR, k * sizeof(cell));
	v = vector(n);
	for (i=0; i<k; i++) v[i] = NIL;
	return n;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testl %edi, %edi
je 0x33f7
movl %edi, %r14d
leal (,%r14,4), %esi
movl $0xffffffed, %edi       # imm = 0xFFFFFFED
callq 0x32cf
movl %eax, %ebx
testl %r14d, %r14d
jle 0x33fd
movq 0x15f76(%rip), %rax     # 0x19348
movslq %ebx, %rcx
movslq (%rax,%rcx,4), %rdi
shlq $0x2, %rdi
addq 0x15f74(%rip), %rdi     # 0x19358
movl %r14d, %edx
shlq $0x2, %rdx
movl $0xff, %esi
callq 0x20b0
jmp 0x33fd
movl 0x15d7f(%rip), %ebx     # 0x1917c
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq