LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/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:
pushq %rax
movups (%rsi), %xmm0
movups 0x10(%rsi), %xmm1
movups 0x20(%rsi), %xmm2
movups 0x30(%rsi), %xmm3
movaps %xmm3, -0x10(%rsp)
movaps %xmm2, -0x20(%rsp)
movaps %xmm1, -0x30(%rsp)
movaps %xmm0, -0x40(%rsp)
movups (%rdx), %xmm0
movups 0x10(%rdx), %xmm1
movups 0x20(%rdx), %xmm2
movups 0x30(%rdx), %xmm3
movaps %xmm3, -0x50(%rsp)
movaps %xmm2, -0x60(%rsp)
movaps %xmm1, -0x70(%rsp)
movaps %xmm0, -0x80(%rsp)
xorl %eax, %eax
movq %rax, %rcx
shlq $0x4, %rcx
movss -0x80(%rsp,%rcx), %xmm0
movss -0x7c(%rsp,%rcx), %xmm1
movss -0x78(%rsp,%rcx), %xmm2
movss -0x74(%rsp,%rcx), %xmm3
xorl %ecx, %ecx
movss -0x30(%rsp,%rcx,4), %xmm4
mulss %xmm1, %xmm4
movss -0x40(%rsp,%rcx,4), %xmm5
mulss %xmm0, %xmm5
addss %xmm4, %xmm5
movss -0x20(%rsp,%rcx,4), %xmm4
mulss %xmm2, %xmm4
addss %xmm5, %xmm4
movss -0x10(%rsp,%rcx,4), %xmm5
mulss %xmm3, %xmm5
addss %xmm4, %xmm5
movss %xmm5, (%rdi,%rcx,4)
incq %rcx
cmpq $0x4, %rcx
jne 0x48f2
incq %rax
addq $0x10, %rdi
cmpq $0x4, %rax
jne 0x48d1
popq %rax
retq
// File: /workspace/github_c_makefile_star2_O1/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
movaps %xmm1, %xmm8
subss %xmm0, %xmm8
movaps %xmm5, %xmm7
subss %xmm4, %xmm7
movaps %xmm3, %xmm9
subss %xmm2, %xmm9
movaps %xmm6, %xmm10
divss %xmm8, %xmm10
leaq 0x8(%rsp), %rdx
movss %xmm10, (%rdx)
movaps %xmm6, %xmm10
divss %xmm9, %xmm10
xorps %xmm11, %xmm11
movups %xmm11, 0x4(%rdx)
movss %xmm10, 0x14(%rdx)
movq $0x0, 0x18(%rdx)
addss %xmm1, %xmm0
divss %xmm8, %xmm0
movss %xmm0, 0x20(%rdx)
addss %xmm3, %xmm2
divss %xmm9, %xmm2
movss %xmm2, 0x24(%rdx)
addss %xmm5, %xmm4
movaps 0x164f(%rip), %xmm0     # 0x6010
xorps %xmm0, %xmm4
divss %xmm7, %xmm4
movss %xmm4, 0x28(%rdx)
movl $0xbf800000, %eax       # imm = 0xBF800000
movq %rax, 0x2c(%rdx)
xorl %eax, %eax
movl %eax, 0x34(%rdx)
xorps %xmm0, %xmm6
divss %xmm7, %xmm6
movss %xmm6, 0x38(%rdx)
movl %eax, 0x3c(%rdx)
movq %rdi, %rsi
callq 0x4888
addq $0x48, %rsp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x15bc(%rip), %xmm0     # 0x6010
movaps %xmm4, %xmm3
subss %xmm5, %xmm3
mulss 0x2f7d(%rip), %xmm4     # 0x79e0
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)
movl $0xbf800000, %eax       # imm = 0xBF800000
movq %rax, 0x2c(%rdx)
xorl %eax, %eax
movl %eax, 0x34(%rdx)
movss %xmm4, 0x38(%rdx)
movl %eax, 0x3c(%rdx)
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x4888
addq $0x50, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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
movl $0x3f800000, %eax       # imm = 0x3F800000
leaq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movabsq $0x3f80000000000000, %rcx # imm = 0x3F80000000000000
movq %rcx, 0x10(%rdx)
movss %xmm0, 0x30(%rdx)
movss %xmm1, 0x34(%rdx)
movq $0x0, 0x8(%rdx)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rdx)
movq %rax, 0x28(%rdx)
movss %xmm2, 0x38(%rdx)
movl $0x3f800000, 0x3c(%rdx) # imm = 0x3F800000
movq %rdi, %rsi
callq 0x4888
addq $0x48, %rsp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x14cf(%rip), %xmm0     # 0x6010
movss %xmm0, 0x8(%r14)
movaps 0x2e82(%rip), %xmm0     # 0x79d0
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 0x4888
addq $0x50, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x1443(%rip), %xmm0     # 0x6010
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)
movss (%rsi), %xmm1
xorps %xmm0, %xmm1
movss %xmm1, 0x30(%rdx)
movss 0x4(%rsi), %xmm1
xorps %xmm0, %xmm1
movss %xmm1, 0x34(%rdx)
movss 0x8(%rsi), %xmm1
xorps %xmm0, %xmm1
movss %xmm1, 0x38(%rdx)
movl $0x3f800000, 0x3c(%rdx) # imm = 0x3F800000
movq %rdi, %rsi
callq 0x4888
addq $0x48, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/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 0x2d5b(%rip), %rsi      # 0x79e4
movq %r15, %rdi
callq 0x1140
testq %rax, %rax
je 0x4dc8
movq %rax, %r14
leaq 0x4(%rsp), %r12
movl $0xc, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %rax, %rcx
callq 0x11b0
cmpb $0x50, (%r12)
jne 0x4dd1
cmpb $0x41, 0x5(%rsp)
jne 0x4dd1
cmpb $0x43, 0x6(%rsp)
jne 0x4dd1
cmpb $0x4b, 0x7(%rsp)
jne 0x4dd1
movslq 0xc(%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 0x8(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x1130
movl $0x40, %esi
movq %r15, 0x10(%rsp)
movq %r15, %rdi
movq %rbp, %rdx
movq %r14, %rcx
callq 0x11b0
testl %ebp, %ebp
jle 0x4db4
movl %r13d, %eax
shlq $0x3, %rax
leaq (%rax,%rax,2), %rbp
xorl %r15d, %r15d
movq 0x10(%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 0x4d4e
movq %r14, %rdi
callq 0x1100
movq 0x10(%rsp), %rdi
callq 0x1150
jmp 0x4de4
leaq 0x2b94(%rip), %rdi      # 0x7963
jmp 0x4dd8
leaq 0x2c0f(%rip), %rdi      # 0x79e7
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_O1/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 0x4e3c
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 0x4e41
addq $0x18, %r13
cmpq %r13, %rbp
jne 0x4e21
jmp 0x4e52
xorl %r14d, %r14d
jmp 0x4e52
testq %rbx, %rbx
je 0x4e4d
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_O1/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 0x4ea1
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 0x4e78
movq (%rbx), %rdi
callq 0x1150
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x1150
nop
// File: /workspace/github_c_makefile_star2_O1/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 0x5571(%rip), %rax      # 0xa470
leaq 0x5d62(%rip), %rsi      # 0xac68
movl $0x2, %edi
callq *(%rax)
leaq 0x552c(%rip), %rbx      # 0xa440
movl 0x5d4e(%rip), %esi      # 0xac68
movl $0x8892, %edi           # imm = 0x8892
callq *(%rbx)
leaq 0x5520(%rip), %r14      # 0xa448
leaq 0x51e1(%rip), %rdx      # 0xa110
movl $0x30, %esi
movl $0x8892, %edi           # imm = 0x8892
movl $0x88e4, %ecx           # imm = 0x88E4
callq *(%r14)
movl 0x5d25(%rip), %esi      # 0xac6c
movl $0x8892, %edi           # imm = 0x8892
callq *(%rbx)
movq (%r14), %rax
leaq 0x51e8(%rip), %rdx      # 0xa140
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_O1/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 0x2a7b(%rip), %rsi      # 0x79fd
callq 0x47e7
movl %eax, %ebx
leaq 0x2a76(%rip), %rsi      # 0x7a06
movq %r14, %rdi
callq 0x47e7
movl %eax, %ebp
leaq 0x5587(%rip), %r14      # 0xa528
movl %ebx, %edi
callq *(%r14)
leaq 0x5493(%rip), %r15      # 0xa440
movl 0x5cb5(%rip), %esi      # 0xac68
movl $0x8892, %edi           # imm = 0x8892
callq *(%r15)
leaq 0x57ee(%rip), %r12      # 0xa7b0
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 0x5c87(%rip), %esi      # 0xac6c
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 0x5354(%rip), %rax      # 0xa360
movl $0x6, %edi
xorl %esi, %esi
movl $0x4, %edx
callq *(%rax)
leaq 0x54f7(%rip), %r14      # 0xa518
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_O1/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
pushq %rax
movq %r8, %r13
movq %rcx, %r15
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %r12
movl $0x20, %edi
callq 0x1160
movq %rax, %rbx
movl %r14d, 0xc(%rax)
movl %ebp, 0x10(%rax)
movslq %r14d, %rax
movslq %ebp, %rcx
imulq %rax, %rcx
leaq (%rcx,%rcx,2), %rdi
callq 0x1160
movq %rax, 0x18(%rbx)
movq %r13, %rdi
callq 0x1080
leaq 0x1(%rax), %rdi
callq 0x1160
movq %rax, (%rbx)
movq %rax, %rdi
movq %r13, %rsi
callq 0x10f0
movl %ebp, 0x4(%rsp)
movl %r14d, (%rsp)
imull %r14d, %ebp
testl %ebp, %ebp
jle 0x50dd
movl %ebp, %eax
leaq (%rax,%rax,2), %r13
xorl %ebp, %ebp
movq 0x18(%rbx), %r14
movzbl (%r12), %esi
movq %r15, %rdi
callq 0x4ed7
movw %ax, (%r14,%rbp)
shrl $0x10, %eax
movb %al, 0x2(%r14,%rbp)
incq %r12
addq $0x3, %rbp
cmpq %rbp, %r13
jne 0x50b3
leaq 0x528c(%rip), %rax      # 0xa370
movq %rbx, %rsi
addq $0x8, %rsi
movl $0x1, %edi
callq *(%rax)
leaq 0x5237(%rip), %rax      # 0xa330
movl 0x8(%rbx), %esi
movl $0xde1, %edi            # imm = 0xDE1
callq *(%rax)
leaq 0x520e(%rip), %r15      # 0xa318
movl $0xde1, %edi            # imm = 0xDE1
movl $0x2801, %esi           # imm = 0x2801
movl $0x2600, %edx           # imm = 0x2600
callq *(%r15)
movl $0xde1, %edi            # imm = 0xDE1
movl $0x2800, %esi           # imm = 0x2800
movl $0x2600, %edx           # imm = 0x2600
callq *(%r15)
movl $0xde1, %edi            # imm = 0xDE1
movl $0x2802, %esi           # imm = 0x2802
movl $0x2901, %edx           # imm = 0x2901
callq *(%r15)
movl $0xde1, %edi            # imm = 0xDE1
movl $0x2803, %esi           # imm = 0x2803
movl $0x2901, %edx           # imm = 0x2901
callq *(%r15)
leaq 0x51a7(%rip), %rax      # 0xa300
subq $0x8, %rsp
movl $0xde1, %edi            # imm = 0xDE1
xorl %esi, %esi
movl $0x1907, %edx           # imm = 0x1907
movl 0x8(%rsp), %ecx
movl 0xc(%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 $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x2857(%rip), %rsi      # 0x7a0f
movq %r15, %rdi
callq 0x1140
testq %rax, %rax
je 0x520b
movq %rax, %rbx
movl 0xc(%r14), %edx
movl 0x10(%r14), %ecx
leaq 0x2856(%rip), %rsi      # 0x7a2d
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 0x11f0
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x1100
leaq 0x2800(%rip), %rdi      # 0x7a12
movq %r15, %rsi
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
jmp 0x1040
// File: /workspace/github_c_makefile_star2_O1/Hazematman[P]BSP-Renderer/vec.c
// Function: vec3Normalize
void vec3Normalize(vec3Float *v){
	float len = vec3Len(v);
	v->x /= len;
	v->y /= len;
	v->z /= len;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movss (%rdi), %xmm1
movss 0x4(%rdi), %xmm0
mulss %xmm0, %xmm0
mulss %xmm1, %xmm1
addss %xmm0, %xmm1
movss 0x8(%rdi), %xmm0
mulss %xmm0, %xmm0
addss %xmm1, %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb 0x5314
sqrtss %xmm0, %xmm0
jmp 0x5319
callq 0x11e0
movss (%rbx), %xmm1
movss 0x4(%rbx), %xmm2
divss %xmm0, %xmm1
movss %xmm1, (%rbx)
divss %xmm0, %xmm2
movss %xmm2, 0x4(%rbx)
movss 0x8(%rbx), %xmm1
divss %xmm0, %xmm1
movss %xmm1, 0x8(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/Hazematman[P]BSP-Renderer/vec.c
// Function: vec3Cross
void vec3Cross(vec3Float *dst, vec3Float *a, vec3Float *b){
	vec3Float aa = *a;
	vec3Float bb = *b;

	dst->x = aa.y*bb.z - aa.z*bb.y;
	dst->y = aa.z*bb.x - aa.x*bb.z;
	dst->z = aa.x*bb.y - aa.y*bb.x;
}

// Assembly:
movss (%rsi), %xmm0
movss 0x4(%rsi), %xmm1
movss 0x8(%rsi), %xmm2
movss (%rdx), %xmm3
movss 0x4(%rdx), %xmm4
movss 0x8(%rdx), %xmm5
movaps %xmm1, %xmm6
mulss %xmm5, %xmm6
mulss %xmm0, %xmm5
mulss %xmm4, %xmm0
mulss %xmm2, %xmm4
subss %xmm4, %xmm6
movss %xmm6, (%rdi)
mulss %xmm3, %xmm2
subss %xmm5, %xmm2
movss %xmm2, 0x4(%rdi)
mulss %xmm1, %xmm3
subss %xmm3, %xmm0
movss %xmm0, 0x8(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x6ff(%rip), %xmm0      # 0x32f0
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 0x2c84
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 0x2c65
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 0x2c49
leaq 0x65c(%rip), %rdi       # 0x32c8
leaq 0x612(%rip), %rsi       # 0x3285
leaq 0x61b(%rip), %rcx       # 0x3295
movl $0x16, %edx
callq 0x2120
leaq 0x5f2(%rip), %rdi       # 0x327d
leaq 0x5f3(%rip), %rsi       # 0x3285
leaq 0x5fc(%rip), %rcx       # 0x3295
movl $0x12, %edx
callq 0x2120
// File: /workspace/github_c_makefile_star2_O1/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, 0x17105(%rip)     # 0x19717
leaq 0x170fd(%rip), %rcx     # 0x19716
leaq 0x11cf0(%rip), %r8      # 0x14310
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 0x2622
testl %edi, %edi
js 0x2645
incq %rcx
jmp 0x2648
movb $0x2d, (%rcx)
movq %rcx, %rax
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x16aec(%rip), %ecx     # 0x19144
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmpl $-0x1, %ecx
je 0x2698
movl 0x16d2f(%rip), %edi     # 0x1939c
movq 0x16ccc(%rip), %r8      # 0x19340
movq 0x16ccd(%rip), %r9      # 0x19348
movl %ecx, %edx
movslq %edx, %r10
movslq (%r8,%r10,4), %rdx
cmpl %edi, (%r8,%rdx,4)
je 0x2698
movl (%r9,%r10,4), %edx
cmpl $-0x1, %edx
jne 0x267d
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmpl $-0x1, %edx
je 0x26b5
movq 0x16c9c(%rip), %rax     # 0x19340
movq 0x16c9d(%rip), %rdi     # 0x19348
movslq %edx, %rdx
movslq (%rdi,%rdx,4), %rdx
movl (%rax,%rdx,4), %eax
movl %eax, 0x16a85(%rip)     # 0x19140
cmpl $-0x1, %eax
jne 0x26d1
movq %rbx, %rdi
callq 0x237e
leaq 0x16db1(%rip), %rdi     # 0x19480
jmp 0x274a
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl 0x16cc4(%rip), %ebp     # 0x193a0
cmpl $-0x1, %ecx
je 0x2709
movq 0x16c58(%rip), %rsi     # 0x19340
movq 0x16c59(%rip), %rdi     # 0x19348
movslq %ecx, %rcx
movslq (%rsi,%rcx,4), %r8
cmpl %ebp, (%rsi,%r8,4)
je 0x2706
movl (%rdi,%rcx,4), %ecx
cmpl $-0x1, %ecx
jne 0x26ef
jmp 0x2709
movl %r8d, %edx
cmpl $-0x1, %edx
je 0x2743
movq 0x16c2b(%rip), %rcx     # 0x19340
movq 0x16c2c(%rip), %rsi     # 0x19348
movslq %edx, %rdx
movslq (%rsi,%rdx,4), %rdx
cmpl %eax, (%rcx,%rdx,4)
jne 0x2743
movq %rbx, %rdi
callq 0x2080
movq %rbx, %rdi
movl %eax, %esi
callq 0x27dc
movl %ebp, %edi
movl %eax, %esi
callq 0x2786
leaq 0x16c66(%rip), %rdi     # 0x193b0
movl $0x1, %esi
callq 0x21a0
// File: /workspace/github_c_makefile_star2_O1/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 0x2849
movl %esi, %r15d
movq %rdi, %r14
leal 0x1(%r15), %ebp
movl $0xffffffef, %edi       # imm = 0xFFFFFFEF
movl %ebp, %esi
callq 0x334b
movl %eax, %ebx
movq 0x16b41(%rip), %rax     # 0x19348
movslq %ebx, %r12
movslq (%rax,%r12,4), %rdi
shlq $0x2, %rdi
addq 0x16b3f(%rip), %rdi     # 0x19358
testq %r14, %r14
je 0x2851
movslq %r15d, %r15
movq %r14, %rsi
movq %r15, %rdx
callq 0x2140
movq 0x16b15(%rip), %rax     # 0x19348
movslq (%rax,%r12,4), %rax
shlq $0x2, %rax
addq 0x16b16(%rip), %rax     # 0x19358
movb $0x0, (%r15,%rax)
jmp 0x285b
movl 0x16929(%rip), %ebx     # 0x19178
jmp 0x285b
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_O1/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 0x16c79(%rip), %rcx     # 0x19558
testq %rcx, %rcx
je 0x28f7
movsbl 0x16869(%rip), %eax     # 0x19154
testl %eax, %eax
js 0x291c
movb $-0x1, 0x1685e(%rip)    # 0x19154
retq
movslq 0x16c4a(%rip), %rcx     # 0x19548
leaq 0x16c5b(%rip), %rax     # 0x19560
cmpq $0x0, (%rax,%rcx,8)
je 0x2936
movslq 0x16c35(%rip), %rcx     # 0x19548
movq (%rax,%rcx,8), %rdi
jmp 0x2210
cmpb $0x0, (%rcx)
je 0x2930
leaq 0x1(%rcx), %rax
movq %rax, 0x16c2c(%rip)     # 0x19558
movsbl (%rcx), %eax
retq
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
retq
pushq %rax
leaq 0x10a03(%rip), %rdi     # 0x13341
callq 0x2893
// File: /workspace/github_c_makefile_star2_O1/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 0x16c45(%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 0x3162
movl %ebx, %edi
movl %eax, %esi
movl $0x11, %edx
callq 0x3162
movb %bpl, (%r14,%r15)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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, 0x16994(%rip)     # 0x19398
je 0x2b66
movl %esi, %ebx
movq %rdi, %r14
cmpl $-0x1, 0x1673a(%rip)    # 0x19150
je 0x2af7
movl 0x16b2e(%rip), %eax     # 0x19550
leal (%rax,%rbx), %ecx
movl 0x16b21(%rip), %esi     # 0x1954c
cmpl %esi, %ecx
jl 0x2a93
movl $0x3e8, %ebp            # imm = 0x3E8
addl %ebp, %esi
xorl %edi, %edi
callq 0x27dc
movq 0x16914(%rip), %rcx     # 0x19358
movq 0x168fd(%rip), %rdx     # 0x19348
movslq %eax, %r15
movslq (%rdx,%r15,4), %rax
leaq (%rcx,%rax,4), %rdi
movslq 0x166f3(%rip), %rax     # 0x19150
movslq (%rdx,%rax,4), %rax
leaq (%rcx,%rax,4), %rsi
movslq 0x16ae4(%rip), %rdx     # 0x19550
callq 0x2140
movl 0x16ad5(%rip), %esi     # 0x1954c
addl %ebp, %esi
movl %esi, 0x16acd(%rip)     # 0x1954c
movl %r15d, 0x166ca(%rip)    # 0x19150
movl 0x16ac4(%rip), %eax     # 0x19550
leal (%rax,%rbx), %ecx
cmpl %esi, %ecx
jge 0x2a34
movq 0x168ae(%rip), %rcx     # 0x19348
movslq 0x166af(%rip), %rdx     # 0x19150
movslq (%rcx,%rdx,4), %rcx
shlq $0x2, %rcx
addq 0x168a8(%rip), %rcx     # 0x19358
movslq %eax, %rdi
addq %rcx, %rdi
movslq %ebx, %rbx
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2140
movslq 0x16a85(%rip), %rax     # 0x19550
addq %rbx, %rax
movl %eax, 0x16a7c(%rip)     # 0x19550
movq 0x1686d(%rip), %rcx     # 0x19348
movslq 0x1666e(%rip), %rdx     # 0x19150
movslq (%rcx,%rdx,4), %rcx
shlq $0x2, %rcx
addq 0x16867(%rip), %rcx     # 0x19358
movb $0x0, (%rcx,%rax)
jmp 0x2b66
movslq 0x1664a(%rip), %rcx     # 0x19148
leaq 0x16a5b(%rip), %rax     # 0x19560
cmpq $0x0, (%rax,%rcx,8)
je 0x2b71
movslq %ebx, %r15
movslq 0x16632(%rip), %rcx     # 0x19148
movq (%rax,%rcx,8), %rcx
movl $0x1, %esi
movq %r14, %rdi
movq %r15, %rdx
callq 0x2200
movl 0x16618(%rip), %edi     # 0x19148
cmpq %r15, %rax
jne 0x2b7d
decl %edi
cmpl $0x1, %edi
ja 0x2b49
cmpb $0xa, -0x1(%r14,%r15)
jne 0x2b49
callq 0x296c
movl 0x16849(%rip), %eax     # 0x19398
testl %eax, %eax
je 0x2b66
subl %ebx, %eax
cmpl $0x2, %eax
movl $0x1, %ecx
cmovgel %eax, %ecx
movl %ecx, 0x16832(%rip)     # 0x19398
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x107fe(%rip), %rdi     # 0x13376
callq 0x2893
movl $0xfffffff0, %esi       # imm = 0xFFFFFFF0
callq 0x29a8
leaq 0x107d1(%rip), %rdi     # 0x1335f
movl %eax, %esi
callq 0x264c
// File: /workspace/github_c_makefile_star2_O1/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 %r14
pushq %rbx
pushq %rax
movl $0x100000, %edi         # imm = 0x100000
callq 0x2160
movq %rax, %r14
movq %rax, 0x1677b(%rip)     # 0x19340
movl $0x100000, %edi         # imm = 0x100000
callq 0x2160
movq %rax, %rbx
movq %rax, 0x1676f(%rip)     # 0x19348
movl $0x40000, %edi          # imm = 0x40000
callq 0x2160
movq %rax, 0x16766(%rip)     # 0x19350
testq %r14, %r14
je 0x2c39
testq %rbx, %rbx
je 0x2c39
testq %rax, %rax
je 0x2c39
movq 0x16740(%rip), %rdi     # 0x19340
movl $0x100000, %edx         # imm = 0x100000
xorl %esi, %esi
callq 0x20b0
movq 0x16735(%rip), %rdi     # 0x19348
movl $0x100000, %edx         # imm = 0x100000
xorl %esi, %esi
callq 0x20b0
movq 0x1672a(%rip), %rdi     # 0x19350
movl $0x40000, %edx          # imm = 0x40000
xorl %esi, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x20b0
leaq 0x1075a(%rip), %rdi     # 0x1339a
callq 0x2893
// File: /workspace/github_c_makefile_star2_O1/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 $0x100000, %edi         # imm = 0x100000
callq 0x2160
movq %rax, 0x16701(%rip)     # 0x19358
testq %rax, %rax
je 0x2c70
movq 0x166f5(%rip), %rdi     # 0x19358
movl $0x100000, %edx         # imm = 0x100000
xorl %esi, %esi
popq %rax
jmp 0x20b0
leaq 0x1074a(%rip), %rdi     # 0x133c1
callq 0x2893
// File: /workspace/github_c_makefile_star2_O1/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 0x166d5(%rip), %rdx     # 0x19358
movq 0x166be(%rip), %rsi     # 0x19348
movslq %edi, %rax
movslq (%rsi,%rax,4), %rcx
movl -0x4(%rdx,%rcx,4), %eax
testl %eax, %eax
jle 0x2d0d
leaq (%rdx,%rcx,4), %rcx
movslq 0x164b4(%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 0x2d05
movl $0x3, %r9d
btl %r10d, %edi
jae 0x2cdb
addl %r9d, %esi
cmpl %eax, %esi
jl 0x2cb9
jmp 0x2d0d
btl %r10d, %r8d
jae 0x2ce9
movl $0x5, %r9d
jmp 0x2cd2
cmpl $0x5, %r10d
jne 0x2d05
movzwl 0x1(%rcx,%rsi), %r10d
rolw $0x8, %r10w
movzwl %r10w, %r10d
movb $0x2, (%rdx,%r10)
jmp 0x2cd2
movl $0x1, %r9d
jmp 0x2cd2
retq
// File: /workspace/github_c_makefile_star2_O1/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
cmpl $-0x1, 0x15fbc(%rip)    # 0x19130
jne 0x31ae
testl $0xffffff7f, %ebx       # imm = 0xFFFFFF7F
jne 0x3185
movl %r14d, 0x15fe3(%rip)    # 0x19168
testb $0x8, %bl
jne 0x3190
movl %ebp, 0x15fdc(%rip)     # 0x1916c
callq 0x2f2c
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %eax, 0x15fcc(%rip)     # 0x1916c
movl %eax, 0x15fc2(%rip)     # 0x19168
cmpl %eax, 0x15f84(%rip)     # 0x19130
je 0x31e2
movslq 0x15f7b(%rip), %rax     # 0x19130
movq 0x1618c(%rip), %rcx     # 0x19348
movl (%rcx,%rax,4), %edx
movl %edx, 0x15f6b(%rip)     # 0x19130
movq 0x16174(%rip), %rdx     # 0x19340
movl %r14d, (%rdx,%rax,4)
movl %ebp, (%rcx,%rax,4)
movq 0x16176(%rip), %rcx     # 0x19350
movb %bl, (%rcx,%rax)
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x10215(%rip), %rdi     # 0x133fe
movl $0xfffffffc, %esi       # imm = 0xFFFFFFFC
callq 0x264c
// File: /workspace/github_c_makefile_star2_O1/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, 0x16166(%rip)     # 0x19360
jle 0x3229
xorl %ecx, %ecx
movq 0x16153(%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 0x16139(%rip), %ecx     # 0x19360
jl 0x3205
retq
// File: /workspace/github_c_makefile_star2_O1/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, 0x16125(%rip)     # 0x19360
jle 0x326a
xorl %ecx, %ecx
movq 0x16112(%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 0x160f8(%rip), %ecx     # 0x19360
jl 0x3246
callq 0x2f2c
movl 0x160eb(%rip), %ebx     # 0x19360
testl %ebx, %ebx
jle 0x32ea
xorl %ebp, %ebp
xorl %r15d, %r15d
movq 0x160d3(%rip), %rax     # 0x19358
movslq %ebp, %rcx
movslq 0x4(%rax,%rcx,4), %r14
addq $0x3, %r14
shrq $0x2, %r14
addl $0x2, %r14d
cmpl $-0x1, (%rax,%rcx,4)
je 0x32d7
cmpl %ebp, %r15d
je 0x32d4
leaq (%rax,%rcx,4), %rsi
movslq %r15d, %rbx
leaq (%rax,%rbx,4), %rdi
movslq %r14d, %rdx
shlq $0x2, %rdx
callq 0x21b0
leal 0x2(%r15), %eax
movq 0x16082(%rip), %rcx     # 0x19348
movq 0x1608b(%rip), %rdx     # 0x19358
movslq (%rdx,%rbx,4), %rdx
movl %eax, (%rcx,%rdx,4)
addl %r14d, %r15d
addl %ebp, %r14d
movl 0x16080(%rip), %ebx     # 0x19360
movl %r14d, %ebp
cmpl %ebx, %r14d
jl 0x327e
jmp 0x32ed
xorl %r15d, %r15d
subl %r15d, %ebx
cmpl $0x0, 0x1631d(%rip)     # 0x19614
je 0x3337
leaq 0x10112(%rip), %rsi     # 0x13412
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 0x29f6
leaq 0x10eb0(%rip), %rdi     # 0x141d8
movl $0x1, %esi
callq 0x29f6
callq 0x296c
movl %r15d, 0x16022(%rip)    # 0x19360
movl %ebx, %eax
addq $0x68, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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, %r14
addq $0x3, %r14
shrq $0x2, %r14
addl $0x2, %r14d
movl 0x15ff5(%rip), %eax     # 0x19360
addl %r14d, %eax
cmpl $0x40000, %eax          # imm = 0x40000
jl 0x338a
callq 0x322a
movl 0x15fe0(%rip), %eax     # 0x19360
addl %r14d, %eax
cmpl $0x40000, %eax          # imm = 0x40000
jge 0x33c6
movslq 0x15fcf(%rip), %r15     # 0x19360
addl %r15d, %r14d
movl %r14d, 0x15fc5(%rip)    # 0x19360
leal 0x2(%r15), %esi
movl %ebp, %edi
movl $0x8, %edx
callq 0x3162
movq 0x15fa6(%rip), %rcx     # 0x19358
movl %eax, (%rcx,%r15,4)
movl %ebx, 0x4(%rcx,%r15,4)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1005d(%rip), %rdi     # 0x1342a
movl $0xfffffffc, %esi       # imm = 0xFFFFFFFC
callq 0x264c
// File: /workspace/github_c_makefile_star2_O1/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 0x340a
movl 0x15d8e(%rip), %esi     # 0x19170
movq 0x15f57(%rip), %rcx     # 0x19340
movq 0x15f58(%rip), %rdx     # 0x19348
cmpl $-0x1, %esi
je 0x3411
movslq %esi, %rsi
movl (%rcx,%rsi,4), %eax
movl (%rdx,%rsi,4), %esi
movl %esi, 0x15d6c(%rip)     # 0x19170
decl %edi
jne 0x33f0
jmp 0x340f
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rcx
retq
leaq 0x1002e(%rip), %rdi     # 0x13446
movl $0xfffffffc, %esi       # imm = 0xFFFFFFFC
callq 0x264c
// File: /workspace/github_c_makefile_star2_O1/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 0x3472
movl %edi, %r14d
leal (,%r14,4), %esi
movl $0xffffffed, %edi       # imm = 0xFFFFFFED
callq 0x334b
movl %eax, %ebx
testl %r14d, %r14d
jle 0x3478
movq 0x15efb(%rip), %rax     # 0x19348
movslq %ebx, %rcx
movslq (%rax,%rcx,4), %rdi
shlq $0x2, %rdi
addq 0x15ef9(%rip), %rdi     # 0x19358
movl %r14d, %edx
shlq $0x2, %rdx
movl $0xff, %esi
callq 0x20b0
jmp 0x3478
movl 0x15d04(%rip), %ebx     # 0x1917c
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/blakemcbride[P]LISP9/ls9.c
// Function: htsize
int htsize(int n) {
	if (n < 47) return 47;
	if (n < 97) return 97;
	if (n < 199) return 199;
	if (n < 499) return 499;
	if (n < 997) return 997;
	if (n < 9973) return 9973;
	if (n < 19997) return 19997;
	return 39989;
}

// Assembly:
movl $0x2f, %eax
cmpl $0x2f, %edi
jl 0x34d9
movl $0x61, %eax
cmpl $0x61, %edi
jl 0x34d9
movl $0xc7, %eax
cmpl $0xc7, %edi
jl 0x34d9
movl $0x1f3, %eax            # imm = 0x1F3
cmpl $0x1f3, %edi            # imm = 0x1F3
jl 0x34d9
movl $0x3e5, %eax            # imm = 0x3E5
cmpl $0x3e5, %edi            # imm = 0x3E5
jl 0x34d9
movl $0x26f5, %eax           # imm = 0x26F5
cmpl $0x26f5, %edi           # imm = 0x26F5
jl 0x34d9
movl $0x4e1d, %ecx           # imm = 0x4E1D
cmpl %ecx, %edi
movl $0x9c35, %eax           # imm = 0x9C35
cmovll %ecx, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/blakemcbride[P]LISP9/ls9.c
// Function: mkht
cell mkht(int k) {
	cell	n;

	n = mkfix(0); /* mutable, can't use Zero */
	protect(n);
	n = cons(n, mkvec(htsize(k)));
	unprot(1);
	return n;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
xorl %edi, %edi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0x1, %edx
callq 0x3162
movl $0xfffffff2, %edi       # imm = 0xFFFFFFF2
movl %eax, %esi
movl $0x1, %edx
callq 0x3162
movl %eax, %ebp
movl 0x15c67(%rip), %esi     # 0x19170
movl %eax, %edi
xorl %edx, %edx
callq 0x3162
movl %eax, 0x15c58(%rip)     # 0x19170
movl $0x2f, %edi
cmpl $0x2f, %ebx
jl 0x356f
movl $0x61, %edi
cmpl $0x61, %ebx
jl 0x356f
movl $0xc7, %edi
cmpl $0xc7, %ebx
jl 0x356f
movl $0x1f3, %edi            # imm = 0x1F3
cmpl $0x1f3, %ebx            # imm = 0x1F3
jl 0x356f
movl $0x3e5, %edi            # imm = 0x3E5
cmpl $0x3e5, %ebx            # imm = 0x3E5
jl 0x356f
movl $0x26f5, %edi           # imm = 0x26F5
cmpl $0x26f5, %ebx           # imm = 0x26F5
jl 0x356f
movl $0x4e1d, %eax           # imm = 0x4E1D
cmpl %eax, %ebx
movl $0x9c35, %edi           # imm = 0x9C35
cmovll %eax, %edi
callq 0x3422
movl %ebp, %edi
movl %eax, %esi
xorl %edx, %edx
callq 0x3162
movl %eax, %ebx
movl $0x1, %edi
callq 0x33d7
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/blakemcbride[P]LISP9/ls9.c
// Function: obhash
uint obhash(cell x, uint k) {
	if (specialp(x))
		return abs(x) % k;
	if (symbolp(x))
		return hash(symname(x), k);
	if (fixp(x))
		return abs(fixval(x)) % k;
	if (charp(x))
		return charval(x) % k;
	if (stringp(x))
		return hash(string(x), k);
	return 0;
}

// Assembly:
testl %edi, %edi
js 0x368b
movq 0x15d7c(%rip), %rax     # 0x19350
movl %edi, %ecx
movb (%rax,%rcx), %dl
testb $0x8, %dl
je 0x362e
movq 0x15d5b(%rip), %rax     # 0x19340
cmpl $-0x12, (%rax,%rcx,4)
jne 0x362e
movq 0x15d66(%rip), %rdx     # 0x19358
movq 0x15d4f(%rip), %rax     # 0x19348
movslq (%rax,%rcx,4), %rcx
movb (%rdx,%rcx,4), %al
testb %al, %al
je 0x36dd
leaq (%rdx,%rcx,4), %rcx
incq %rcx
movl $0xabcd, %edi           # imm = 0xABCD
movl %edi, %edx
shll $0x5, %edx
addl %edi, %edx
movzbl %al, %edi
xorl %edx, %edi
movb (%rcx), %al
incq %rcx
testb %al, %al
jne 0x3614
jmp 0x36e2
testb $0x1, %dl
jne 0x368f
xorl %eax, %eax
testb $0x8, %dl
je 0x36ea
movq 0x15cfb(%rip), %rdx     # 0x19340
cmpl $-0x11, (%rdx,%rcx,4)
jne 0x36ea
movq 0x15d02(%rip), %rdx     # 0x19358
movq 0x15ceb(%rip), %rax     # 0x19348
movslq (%rax,%rcx,4), %rcx
movb (%rdx,%rcx,4), %al
testb %al, %al
je 0x36dd
leaq (%rdx,%rcx,4), %rcx
incq %rcx
movl $0xabcd, %edi           # imm = 0xABCD
movl %edi, %edx
shll $0x5, %edx
addl %edi, %edx
movzbl %al, %edi
xorl %edx, %edi
movb (%rcx), %al
incq %rcx
testb %al, %al
jne 0x3674
jmp 0x36e2
negl %edi
jmp 0x36e2
movq 0x15caa(%rip), %rax     # 0x19340
cmpl $-0xe, (%rax,%rcx,4)
jne 0x36b3
movq 0x15ca5(%rip), %rdx     # 0x19348
movslq (%rdx,%rcx,4), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, %edi
negl %edi
cmovsl %eax, %edi
jmp 0x36e2
testb $0x1, %dl
je 0x3633
movq 0x15c7d(%rip), %rax     # 0x19340
cmpl $-0xc, (%rax,%rcx,4)
jne 0x3633
movq 0x15c74(%rip), %rdx     # 0x19348
movslq (%rdx,%rcx,4), %rcx
movl (%rax,%rcx,4), %edi
jmp 0x36e2
movl $0xabcd, %edi           # imm = 0xABCD
movl %edi, %eax
xorl %edx, %edx
divl %esi
movl %edx, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/blakemcbride[P]LISP9/ls9.c
// Function: match
int match(cell a, cell b) {
	int	k;

	if (a == b) {
		return 1;
	}
	if (fixp(a) && fixp(b)) {
		return fixval(a) == fixval(b);
	}
	if (charp(a) && charp(b)) {
		return charval(a) == charval(b);
	}
	if (symbolp(a) && symbolp(b)) {
		k = symlen(a);
		if (symlen(b) != k) return 0;
		return memcmp(symname(a), symname(b), k) == 0;
	}
	if (stringp(a) && stringp(b)) {
		k = stringlen(a);
		if (stringlen(b) != k) return 0;
		return memcmp(string(a), string(b), k) == 0;
	}
	return 0;
}

// Assembly:
movb $0x1, %dl
cmpl %esi, %edi
je 0x378f
testl %edi, %edi
js 0x3780
pushq %rax
movq 0x15c4b(%rip), %rcx     # 0x19350
movl %edi, %eax
movb (%rcx,%rax), %dl
testb $0x1, %dl
je 0x373a
testl %esi, %esi
js 0x3735
movq 0x15c26(%rip), %rdi     # 0x19340
cmpl $-0xe, (%rdi,%rax,4)
jne 0x3735
movl %esi, %r8d
testb $0x1, (%rcx,%r8)
je 0x3735
cmpl $-0xe, (%rdi,%r8,4)
je 0x37b5
testb $0x1, %dl
jne 0x3793
testb $0x8, %dl
je 0x3789
testl %esi, %esi
js 0x3784
movq 0x15bf6(%rip), %r8      # 0x19340
cmpl $-0x12, (%r8,%rax,4)
jne 0x3784
movl %esi, %edi
testb $0x8, (%rcx,%rdi)
je 0x3784
cmpl $-0x12, (%r8,%rdi,4)
jne 0x3784
movq 0x15bf1(%rip), %rcx     # 0x19358
movq 0x15bda(%rip), %rsi     # 0x19348
movslq (%rsi,%rax,4), %rax
movslq -0x4(%rcx,%rax,4), %rdx
movslq (%rsi,%rdi,4), %rsi
jmp 0x3808
xorl %edx, %edx
jmp 0x378f
testb $0x8, %dl
jne 0x37cc
xorl %edx, %edx
addq $0x8, %rsp
movzbl %dl, %eax
retq
testl %esi, %esi
js 0x373a
movq 0x15ba2(%rip), %rdi     # 0x19340
cmpl $-0xc, (%rdi,%rax,4)
jne 0x373a
movl %esi, %r8d
testb $0x1, (%rcx,%r8)
je 0x373a
cmpl $-0xc, (%rdi,%r8,4)
jne 0x373a
movq 0x15b8c(%rip), %rcx     # 0x19348
movslq (%rcx,%rax,4), %rax
movl (%rdi,%rax,4), %eax
movslq (%rcx,%r8,4), %rcx
cmpl (%rdi,%rcx,4), %eax
jmp 0x3821
xorl %edx, %edx
testl %esi, %esi
js 0x378b
movq 0x15b67(%rip), %rdi     # 0x19340
cmpl $-0x11, (%rdi,%rax,4)
jne 0x378b
movl %esi, %esi
testb $0x8, (%rcx,%rsi)
je 0x3789
cmpl $-0x11, (%rdi,%rsi,4)
jne 0x3789
movq 0x15b64(%rip), %rcx     # 0x19358
movq 0x15b4d(%rip), %rdi     # 0x19348
movslq (%rdi,%rax,4), %rax
movslq -0x4(%rcx,%rax,4), %rdx
movslq (%rdi,%rsi,4), %rsi
cmpl %edx, -0x4(%rcx,%rsi,4)
jne 0x3789
leaq (%rcx,%rax,4), %rdi
leaq (%rcx,%rsi,4), %rsi
callq 0x2190
testl %eax, %eax
sete %dl
jmp 0x378b