LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: resolveUpvalue
static int32_t resolveUpvalue(bluCompiler* compiler, bluToken* name) {
	// If we are at the top level, we didn't find it.
	if (compiler->enclosing == NULL) return -1;

	// See if it's a local variable in the immediately enclosing function.
	int32_t local = resolveLocal(compiler->enclosing, name);
	if (local != -1) {
		// Mark the local as an upvalue so we know to close it when it goes out of scope.
		compiler->enclosing->locals.data[local].isUpvalue = true;
		return addUpvalue(compiler, (uint16_t)local, true);
	}

	// See if it's an upvalue in the immediately enclosing function. In other words, if it's a local variable in a
	// non-immediately enclosing function. This "flattens" closures automatically: it adds upvalues to all of the
	// intermediate functions to get from the function where a local is declared all the way into the possibly deeply
	// nested function that is closing over it.
	int32_t upvalue = resolveUpvalue(compiler->enclosing, name);
	if (upvalue != -1) {
		return addUpvalue(compiler, (uint16_t)upvalue, false);
	}

	// If we got here, we walked all the way up the parent chain and
	// couldn't find it.
	return -1;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
testq %rdi, %rdi
je 0x5e42
movq %rsi, %r14
callq 0x5d5a
movl %eax, %ebp
movq 0x10(%rbx), %rdi
cmpl $-0x1, %eax
je 0x5e21
movq 0x38(%rdi), %rax
movl %ebp, %ecx
leaq (%rcx,%rcx,4), %rcx
movb $0x1, 0x21(%rax,%rcx,8)
movl %ebp, %eax
jmp 0x5e2e
movq %r14, %rsi
callq 0x5deb
cmpl $-0x1, %eax
je 0x5e42
xorl %edx, %edx
cmpl $-0x1, %ebp
setne %dl
movzwl %ax, %esi
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x5e7e
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: expression
static void expression(bluCompiler* compiler) {
	if (match(compiler, TOKEN_FN)) {
		function(compiler, TYPE_ANONYMOUS);
	} else {
		parsePrecedence(compiler, PREC_ASSIGNMENT);
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rax
cmpl $0x23, 0x40(%rax)
jne 0x5e70
movq %rbx, %rdi
callq 0x553e
movq %rbx, %rdi
movl $0x2, %esi
popq %rbx
jmp 0x5f17
movq %rbx, %rdi
movl $0x1, %esi
popq %rbx
jmp 0x6144
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: addUpvalue
static int32_t addUpvalue(bluCompiler* compiler, uint16_t index, bool isLocal) {
	// Look for an existing one.
	uint16_t upvalueCount = compiler->function->upvalueCount;
	for (uint16_t i = 0; i < upvalueCount; i++) {
		bluUpvalue* upvalue = &compiler->upvalues.data[i];
		if (upvalue->index == index && upvalue->isLocal == isLocal) {
			return i;
		}
	}

	// If we got here, it's a new upvalue.
	if (upvalueCount == LOCALS_MAX) {
		error(compiler, "Too many closure variables in function.");
		return 0;
	}

	bluUpvalue upvalue;
	upvalue.isLocal = isLocal;
	upvalue.index = index;
	bluUpvalueBufferWrite(&compiler->upvalues, upvalue);

	return compiler->function->upvalueCount++;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %rax
movzwl 0x22(%rax), %ecx
testq %rcx, %rcx
setne %dil
je 0x5ec4
movq 0x48(%rbx), %r8
xorl %r9d, %r9d
movb $0x1, %r10b
cmpw %si, (%r8,%r9,4)
jne 0x5eb1
cmpb %dl, 0x2(%r8,%r9,4)
jne 0x5eb1
xorl %r10d, %r10d
movl %r9d, %eax
testb %r10b, %r10b
je 0x5ec4
incq %r9
cmpq %rcx, %r9
setb %dil
jne 0x5e9a
jmp 0x5ec4
testb $0x1, %dil
jne 0x5f15
cmpl $0xfffe, %ecx           # imm = 0xFFFE
jne 0x5eed
movq 0x8(%rbx), %rsi
addq $0x20, %rsi
leaq 0x4677(%rip), %rdx      # 0xa558
movq %rbx, %rdi
callq 0x5b1c
xorl %eax, %eax
jmp 0x5f15
leaq 0x48(%rbx), %rdi
movzbl %dl, %eax
shll $0x10, %eax
movzwl %si, %esi
orl %eax, %esi
movl $0x1, %edx
callq 0x4c49
movq 0x28(%rbx), %rcx
movzwl 0x22(%rcx), %eax
leal 0x1(%rax), %edx
movw %dx, 0x22(%rcx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: parsePrecedence
static void parsePrecedence(bluCompiler* compiler, Precedence precedence) {
	advance(compiler);

	ParseFn prefixRule = getRule(compiler->parser->previous.type)->prefix;
	if (prefixRule == NULL) {
		error(compiler, "Expect expression.");
		return;
	}

	bool canAssign = precedence <= PREC_ASSIGNMENT;
	prefixRule(compiler, canAssign);

	while (precedence <= getRule(compiler->parser->current.type)->precedence) {
		advance(compiler);

		ParseFn infixRule = getRule(compiler->parser->previous.type)->infix;
		infixRule(compiler, canAssign);
	}

	if (canAssign) {
		if (match(compiler, TOKEN_EQUAL)) {
			error(compiler, "Invalid assignment target.");

			// Parse the expression so compiler prints propper error messages.
			expression(compiler);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
callq 0x553e
movq 0x8(%rbx), %rsi
movl 0x20(%rsi), %eax
leaq (%rax,%rax,2), %rax
leaq 0x9fb9(%rip), %r15      # 0x10120
movq (%r15,%rax,8), %rax
testq %rax, %rax
je 0x61f9
xorl %esi, %esi
cmpl $0x2, %ebp
setb %sil
movq %rbx, %rdi
callq *%rax
movq 0x8(%rbx), %rax
movl 0x40(%rax), %eax
leaq (%rax,%rax,2), %rcx
cmpl %ebp, 0x10(%r15,%rcx,8)
jb 0x61be
xorl %r14d, %r14d
cmpl $0x2, %ebp
setb %r14b
movq %rbx, %rdi
callq 0x553e
movq 0x8(%rbx), %rax
movl 0x20(%rax), %eax
leaq (%rax,%rax,2), %rax
movq %rbx, %rdi
movl %r14d, %esi
callq *0x8(%r15,%rax,8)
jmp 0x6182
cmpl $0x1, %ebp
ja 0x6216
cmpl $0xf, %eax
jne 0x6216
movq %rbx, %rdi
callq 0x553e
movq 0x8(%rbx), %rsi
addq $0x20, %rsi
leaq 0x44ef(%rip), %rdx      # 0xa6ce
movq %rbx, %rdi
callq 0x5b1c
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x5e4c
addq $0x20, %rsi
leaq 0x44b7(%rip), %rdx      # 0xa6bb
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x5b1c
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: parseVariable
static uint16_t parseVariable(bluCompiler* compiler, const char* errorMessage) {
	consume(compiler, TOKEN_IDENTIFIER, errorMessage);

	declareVariable(compiler);
	if (compiler->scopeDepth > 0) {
		return 0;
	}

	return identifierConstant(compiler, &compiler->parser->previous);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
movl $0x19, %esi
callq 0x5d2c
cmpb $0x0, 0x58(%rbx)
je 0x62e2
movq 0x8(%rbx), %r12
leaq 0x20(%r12), %r15
movslq 0x40(%rbx), %r13
testq %r13, %r13
jle 0x62c8
leaq (,%r13,4), %rax
addq %r13, %rax
incq %r13
leaq -0x8(,%rax,8), %rbp
leaq 0x43b6(%rip), %r14      # 0xa62e
movq 0x38(%rbx), %rax
movb (%rax,%rbp), %cl
cmpb $-0x1, %cl
je 0x6289
cmpb 0x58(%rbx), %cl
jl 0x62c8
movzbl 0x30(%r12), %edx
cmpb -0x10(%rax,%rbp), %dl
jne 0x62bb
movq 0x28(%r12), %rdi
movq -0x18(%rax,%rbp), %rsi
callq 0x2190
testl %eax, %eax
jne 0x62bb
movq 0x8(%rbx), %rsi
addq $0x20, %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x5b1c
decq %r13
addq $-0x28, %rbp
cmpq $0x1, %r13
jg 0x6278
movups (%r15), %xmm0
movups 0x10(%r15), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %rbx, %rdi
callq 0x643b
cmpb $0x0, 0x58(%rbx)
jle 0x62f9
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rbx), %rdi
movq 0x8(%rbx), %rax
movq 0x28(%rax), %rsi
movzbl 0x30(%rax), %edx
callq 0x8411
movq %rbx, %rdi
movl $0x3, %esi
movq %rax, %rdx
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x5cf9
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: defineVariable
static void defineVariable(bluCompiler* compiler, uint16_t index) {
	if (compiler->scopeDepth > 0) {
		markInitialized(compiler);
		return;
	}

	emitByte(compiler, OP_DEFINE_GLOBAL);
	emitShort(compiler, index);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movb 0x58(%rdi), %al
testb %al, %al
jle 0x634f
movq 0x38(%rbx), %rcx
movslq 0x40(%rbx), %rdx
leaq (%rdx,%rdx,4), %rdx
movb %al, -0x8(%rcx,%rdx,8)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movl %esi, %ebp
movq 0x8(%rbx), %rax
movq 0x28(%rbx), %rdi
addq $0x28, %rdi
movl 0x54(%rax), %edx
movl 0x58(%rax), %ecx
movl $0x8, %esi
callq 0x4b23
movzwl %bp, %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x5cb5
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: endScope
static void endScope(bluCompiler* compiler) {
	compiler->scopeDepth--;

	while (compiler->locals.count > 0 &&
		   compiler->locals.data[compiler->locals.count - 1].depth > compiler->scopeDepth) {
		if (compiler->locals.data[compiler->locals.count - 1].isUpvalue) {
			emitByte(compiler, OP_CLOSE_OPVALUE);
		} else {
			emitByte(compiler, OP_POP);
		}

		compiler->locals.count--;
	}
}

// Assembly:
decb 0x58(%rdi)
movl 0x40(%rdi), %eax
testl %eax, %eax
jle 0x643a
pushq %rbx
movq %rdi, %rbx
movq 0x38(%rbx), %rcx
movl %eax, %eax
leaq (%rax,%rax,4), %rax
movb -0x8(%rcx,%rax,8), %dl
cmpb 0x58(%rbx), %dl
jle 0x6439
leaq (%rcx,%rax,8), %rax
cmpb $0x0, -0x7(%rax)
movl $0x27, %esi
jne 0x6414
movl $0x5, %esi
movq 0x8(%rbx), %rax
movq 0x28(%rbx), %rdi
addq $0x28, %rdi
movl 0x54(%rax), %edx
movl 0x58(%rax), %ecx
callq 0x4b23
movl 0x40(%rbx), %ecx
leal -0x1(%rcx), %eax
movl %eax, 0x40(%rbx)
cmpl $0x1, %ecx
jg 0x63ed
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: addLocal
static void addLocal(bluCompiler* compiler, bluToken name) {
	if (compiler->locals.count == LOCALS_MAX) {
		error(compiler, "Too many local variables in function.");
		return;
	}

	bluLocal local;
	local.name = name;
	local.depth = -1;
	local.isUpvalue = false;

	bluLocalBufferWrite(&compiler->locals, local);
}

// Assembly:
cmpl $0xfffe, 0x40(%rdi)     # imm = 0xFFFE
jne 0x6458
movq 0x8(%rdi), %rsi
addq $0x20, %rsi
leaq 0x4213(%rip), %rdx      # 0xa666
jmp 0x5b1c
subq $0x58, %rsp
leaq 0x60(%rsp), %rax
addq $0x38, %rdi
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movaps %xmm1, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
movw $0xff, 0x50(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x20(%rsp)
movaps 0x30(%rsp), %xmm0
movaps 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movl $0x1, %esi
callq 0x4b74
addq $0x58, %rsp
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: emitConstant
static uint16_t emitConstant(bluCompiler* compiler, bluValue value) {
	uint16_t constant = makeConstant(compiler, value);

	emitByte(compiler, OP_CONSTANT);
	emitShort(compiler, constant);

	return constant;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x5cf9
movl %eax, %ebp
movq 0x8(%rbx), %rax
movq 0x28(%rbx), %rdi
addq $0x28, %rdi
movl 0x54(%rax), %edx
movl 0x58(%rax), %ecx
xorl %esi, %esi
callq 0x4b23
movzwl %bp, %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x5cb5
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: varDeclaration
static void varDeclaration(bluCompiler* compiler) {
	uint8_t name = parseVariable(compiler, "Expect variable name.");

	if (match(compiler, TOKEN_EQUAL)) {
		expression(compiler);
	} else {
		emitByte(compiler, OP_NIL);
	}

	defineVariable(compiler, name);

	expectNewlineOrSemicolon(compiler);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x4275(%rip), %rsi      # 0xa7e6
callq 0x6221
movl %eax, %ebp
movq 0x8(%rbx), %rax
cmpl $0xf, 0x40(%rax)
jne 0x6594
movq %rbx, %rdi
callq 0x553e
movq %rbx, %rdi
callq 0x5e4c
jmp 0x65b0
movq 0x8(%rbx), %rax
movq 0x28(%rbx), %rdi
addq $0x28, %rdi
movl 0x54(%rax), %edx
movl 0x58(%rax), %ecx
movl $0x2, %esi
callq 0x4b23
movzbl %bpl, %esi
movq %rbx, %rdi
callq 0x632b
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x637e
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: importStatement
static void importStatement(bluCompiler* compiler) {
	emitByte(compiler, OP_IMPORT);

	consume(compiler, TOKEN_STRING, "Expect string after import.");

	bluToken previous = compiler->parser->previous;
	bluObjString* string = bluCopyString(compiler->vm, previous.start + 1, previous.length - 2);
	emitShort(compiler, makeConstant(compiler, OBJ_VAL(string)));

	expectNewlineOrSemicolon(compiler);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rax
movq 0x28(%rdi), %rdi
addq $0x28, %rdi
movl 0x54(%rax), %edx
movl 0x58(%rax), %ecx
movl $0x2e, %esi
callq 0x4b23
leaq 0x3e2b(%rip), %rdx      # 0xa9d5
movq %rbx, %rdi
movl $0x1b, %esi
callq 0x5d2c
movq (%rbx), %rdi
movq 0x8(%rbx), %rax
movq 0x28(%rax), %rsi
movzbl 0x30(%rax), %edx
incq %rsi
addl $-0x2, %edx
callq 0x8411
movq %rbx, %rdi
movl $0x3, %esi
movq %rax, %rdx
callq 0x5cf9
movzwl %ax, %esi
movq %rbx, %rdi
callq 0x5cb5
movq %rbx, %rdi
popq %rbx
jmp 0x637e
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: emitLoop
static void emitLoop(bluCompiler* compiler, int32_t loopStart) {
	emitByte(compiler, OP_LOOP);

	int32_t offset = compiler->function->chunk.code.count - loopStart + 2;

	if (offset > UINT16_MAX) error(compiler, "Loop body too large.");

	emitShort(compiler, offset);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movq 0x8(%rdi), %rax
movq 0x28(%rdi), %rdi
addq $0x28, %rdi
movl 0x54(%rax), %edx
movl 0x58(%rax), %ecx
movl $0x18, %esi
callq 0x4b23
movq 0x28(%rbx), %rax
movl 0x40(%rax), %r14d
subl %ebp, %r14d
cmpl $0xfffe, %r14d          # imm = 0xFFFE
jl 0x6ccf
movq 0x8(%rbx), %rsi
addq $0x20, %rsi
leaq 0x3c6d(%rip), %rdx      # 0xa934
movq %rbx, %rdi
callq 0x5b1c
addl $0x2, %r14d
movzwl %r14w, %esi
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x5cb5
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: emitReturn
static void emitReturn(bluCompiler* compiler) {
	// An initializer automatically returns "@".
	if (compiler->type == TYPE_INITIALIZER) {
		emitByte(compiler, OP_GET_LOCAL);
		emitShort(compiler, 0);
	} else {
		emitByte(compiler, OP_NIL);
	}

	emitByte(compiler, OP_RETURN);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rax
movq 0x28(%rdi), %rdi
addq $0x28, %rdi
cmpl $0x4, 0x30(%rbx)
movl 0x54(%rax), %edx
movl 0x58(%rax), %ecx
jne 0x6d15
movl $0x6, %esi
callq 0x4b23
movq %rbx, %rdi
xorl %esi, %esi
callq 0x5cb5
jmp 0x6d1f
movl $0x2, %esi
callq 0x4b23
movq 0x8(%rbx), %rax
movq 0x28(%rbx), %rdi
addq $0x28, %rdi
movl 0x54(%rax), %edx
movl 0x58(%rax), %ecx
movl $0x30, %esi
popq %rbx
jmp 0x4b23
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/debug/debug.c
// Function: constantInstruction
static int32_t constantInstruction(const char* name, bluChunk* chunk, int32_t offset) {
	uint16_t slot = ((chunk->code.data[offset + 1] << 8) & 0xff) | (chunk->code.data[offset + 2] & 0xff);
	printf("%-16s %6d '", name, slot);
	bluPrintValue(chunk->constants.data[slot]);
	printf("'\n");
	return offset + 3;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rsi
movq 0x10(%r14), %rax
movslq %edx, %rbx
movzbl 0x2(%rax,%rbx), %r15d
leaq 0x3b45(%rip), %rdi      # 0xad82
movl %r15d, %edx
xorl %eax, %eax
callq 0x20f0
movq 0x40(%r14), %rax
shll $0x4, %r15d
movl (%rax,%r15), %edi
movq 0x8(%rax,%r15), %rsi
callq 0x2981
leaq 0x3b28(%rip), %rdi      # 0xad8c
callq 0x2070
addl $0x3, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/debug/debug.c
// Function: bluDisassembleChunk
void bluDisassembleChunk(bluChunk* chunk) {
	printf("========= %s::%s\n", chunk->file, chunk->name);

	int32_t offset = 0;
	while (offset < chunk->code.count) {
		offset = bluDisassembleInstruction(chunk, offset);
	}

	printf("\n");
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rsi
movq 0x8(%rdi), %rdx
leaq 0x3ae8(%rip), %rdi      # 0xad70
xorl %ebp, %ebp
xorl %eax, %eax
callq 0x20f0
cmpl $0x0, 0x18(%rbx)
jle 0x72a8
movq %rbx, %rdi
movl %ebp, %esi
callq 0x6d3c
movl %eax, %ebp
cmpl 0x18(%rbx), %eax
jl 0x7297
movl $0xa, %edi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x2040
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/lib/core/core.c
// Function: Array_push
int8_t Array_push(bluVM* vm, int8_t argCount, bluValue* args) {
	bluObjArray* array = AS_ARRAY(args[0]);
	bluValue value = args[1];

	if (array->len == array->cap) {
		int32_t newCap = bluPowerOf2Ceil(array->cap * 2);

		if (newCap == 0) newCap = 8;

		array->data = bluReallocate(vm, array->data, (sizeof(bluValue) * array->cap), (sizeof(bluValue) * newCap));
		array->cap = newCap;
	}

	array->data[array->len++] = value;

	return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x8(%rdx), %r14
movups 0x10(%rdx), %xmm0
movaps %xmm0, (%rsp)
movslq 0x24(%r14), %rdi
cmpl %edi, 0x20(%r14)
jne 0x73a6
addq %rdi, %rdi
callq 0x49e0
testl %eax, %eax
movl $0x8, %ecx
cmovnel %eax, %ecx
movq 0x28(%r14), %rsi
movslq 0x24(%r14), %rdx
shlq $0x4, %rdx
movslq %ecx, %r15
movq %r15, %rcx
shlq $0x4, %rcx
movq %rbx, %rdi
callq 0x7fcb
movq %rax, 0x28(%r14)
movl %r15d, 0x24(%r14)
movq 0x28(%r14), %rax
movslq 0x20(%r14), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x20(%r14)
shlq $0x4, %rcx
movaps (%rsp), %xmm0
movups %xmm0, (%rax,%rcx)
movb $0x1, %al
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/lib/core/core.c
// Function: Array_at
int8_t Array_at(bluVM* vm, int8_t argCount, bluValue* args) {
	bluObjArray* array = AS_ARRAY(args[0]);
	int index = AS_NUMBER(args[1]);

	args[0] = array->data[index];

	return 1;
}

// Assembly:
cvttsd2si 0x18(%rdx), %eax
movq 0x8(%rdx), %rcx
movq 0x28(%rcx), %rcx
cltq
shlq $0x4, %rax
movups (%rcx,%rax), %xmm0
movups %xmm0, (%rdx)
movb $0x1, %al
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/lib/core/core.c
// Function: String_reverse
int8_t String_reverse(bluVM* vm, int8_t argCount, bluValue* args) {
	bluObjString* string = AS_STRING(args[0]);

	bluObjString* reversed = bluNewString(vm, string->length);

	reversed->chars[string->length] = '\0';
	for (int32_t i = 0; i < string->length; i++) {
		reversed->chars[i] = string->chars[string->length - 1 - i];
	}

	args[0] = OBJ_VAL(bluTakeString(vm, reversed));

	return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r14
movq 0x8(%rdx), %r15
movl 0x20(%r15), %esi
callq 0x87b6
movslq 0x20(%r15), %rcx
movb $0x0, 0x28(%rax,%rcx)
movl 0x20(%r15), %ecx
testl %ecx, %ecx
jle 0x7464
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
xorl %esi, %esi
addl %edx, %ecx
movslq %ecx, %rcx
movb 0x28(%r15,%rcx), %cl
movb %cl, 0x28(%rax,%rsi)
incq %rsi
movslq 0x20(%r15), %rcx
decl %edx
cmpq %rcx, %rsi
jl 0x7448
movq %r14, %rdi
movq %rax, %rsi
callq 0x885d
movl $0x3, (%rbx)
movq %rax, 0x8(%rbx)
movb $0x1, %al
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/lib/core/core.c
// Function: String_toNumber
int8_t String_toNumber(bluVM* vm, int8_t argCount, bluValue* args) {
	bluObjString* string = AS_STRING(args[0]);

	double number = atof(string->chars);

	args[0] = NUMBER_VAL(number);

	return 1;
}

// Assembly:
pushq %rbx
movq %rdx, %rbx
movq 0x8(%rdx), %rdi
addq $0x28, %rdi
callq 0x20a0
movl $0x2, (%rbx)
movsd %xmm0, 0x8(%rbx)
movb $0x1, %al
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/lib/core/core.c
// Function: String_split
int8_t String_split(bluVM* vm, int8_t argCount, bluValue* args) {
	bluObjString* string = AS_STRING(args[0]);
	bluObjString* delimeter = AS_STRING(args[1]);

	bluObjArray* array = bluNewArray(vm, 0);

	char *token, *str, *tofree;
	tofree = str = strdup(string->chars);

	while ((token = strsep(&str, delimeter->chars)) != NULL) {
		bluObjString* part = bluCopyString(vm, token, strlen(token));

		if (array->len == array->cap) {
			int32_t newCap = bluPowerOf2Ceil(array->cap * 2);

			if (newCap == 0) newCap = 8;

			array->data = bluReallocate(vm, array->data, (sizeof(bluValue) * array->cap), (sizeof(bluValue) * newCap));
			array->cap = newCap;
		}

		array->data[array->len++] = OBJ_VAL(part);
	}

	free(tofree);

	args[0] = OBJ_VAL(array);

	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
movq 0x8(%rdx), %r13
movq %rdx, 0x8(%rsp)
movq 0x18(%rdx), %r12
xorl %esi, %esi
callq 0x8504
movq %rax, %r15
addq $0x28, %r13
movq %r13, %rdi
callq 0x2210
leaq 0x10(%rsp), %rdi
movq %rax, (%rsp)
movq %rax, (%rdi)
addq $0x28, %r12
movq %r12, %rsi
callq 0x2180
testq %rax, %rax
je 0x758e
movq %rax, %r13
leaq 0x10(%rsp), %rbp
movq %r13, %rdi
callq 0x20e0
movq %r14, %rdi
movq %r13, %rsi
movl %eax, %edx
callq 0x8411
movq %rax, %r13
movslq 0x24(%r15), %rdi
cmpl %edi, 0x20(%r15)
jne 0x7558
addq %rdi, %rdi
callq 0x49e0
testl %eax, %eax
movl $0x8, %ecx
cmovel %ecx, %eax
movq 0x28(%r15), %rsi
movslq 0x24(%r15), %rdx
shlq $0x4, %rdx
movslq %eax, %rbx
movq %rbx, %rcx
shlq $0x4, %rcx
movq %r14, %rdi
callq 0x7fcb
movq %rax, 0x28(%r15)
movl %ebx, 0x24(%r15)
movq 0x28(%r15), %rax
movslq 0x20(%r15), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x20(%r15)
shlq $0x4, %rcx
movl $0x3, (%rax,%rcx)
movq %r13, 0x8(%rax,%rcx)
movq %rbp, %rdi
movq %r12, %rsi
callq 0x2180
movq %rax, %r13
testq %rax, %rax
jne 0x74fe
movq (%rsp), %rdi
callq 0x2030
movq 0x8(%rsp), %rax
movl $0x3, (%rax)
movq %r15, 0x8(%rax)
movb $0x1, %al
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/lib/core/core.c
// Function: String_at
int8_t String_at(bluVM* vm, int8_t argCount, bluValue* args) {
	bluObjString* string = AS_STRING(args[0]);
	int index = AS_NUMBER(args[1]);

	bluObjString* str = bluNewString(vm, 1);
	str->chars[0] = string->chars[index];
	str->chars[1] = '\0';

	args[0] = OBJ_VAL(bluTakeString(vm, str));

	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
movq 0x8(%rdx), %r15
cvttsd2si 0x18(%rdx), %ebp
movl $0x1, %esi
callq 0x87b6
movslq %ebp, %rcx
movb 0x28(%r15,%rcx), %cl
movb %cl, 0x28(%rax)
movb $0x0, 0x29(%rax)
movq %r14, %rdi
movq %rax, %rsi
callq 0x885d
movl $0x3, (%rbx)
movq %rax, 0x8(%rbx)
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/lib/core/core.c
// Function: String_substring
int8_t String_substring(bluVM* vm, int8_t argCount, bluValue* args) {
	bluObjString* string = AS_STRING(args[0]);
	int from = AS_NUMBER(args[1]);
	int length = AS_NUMBER(args[2]);

	bluObjString* str = bluNewString(vm, length);
	memcpy(str->chars, string->chars + from, length);
	str->chars[length] = '\0';

	args[0] = OBJ_VAL(bluTakeString(vm, str));

	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
cvttsd2si 0x18(%rdx), %r12d
movq 0x8(%rdx), %r13
cvttsd2si 0x28(%rdx), %ebp
movl %ebp, %esi
callq 0x87b6
movq %rax, %r15
leaq 0x28(%rax), %rdi
movslq %r12d, %rax
leaq (%rax,%r13), %rsi
addq $0x28, %rsi
movslq %ebp, %r12
movq %r12, %rdx
callq 0x2160
movb $0x0, 0x28(%r15,%r12)
movq %r14, %rdi
movq %r15, %rsi
callq 0x885d
movl $0x3, (%rbx)
movq %rax, 0x8(%rbx)
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/lib/file/file.c
// Function: File_open
int8_t File_open(bluVM* vm, int8_t argCount, bluValue* args) {
	bluValue value;
	bluObjInstance* receiver = AS_INSTANCE(args[0]);

	bluTableGet(vm, &receiver->fields, bluCopyString(vm, "_name", strlen("_name")), &value);
	bluObjString* name = AS_STRING(value);

	bluTableGet(vm, &receiver->fields, bluCopyString(vm, "_mode", strlen("_mode")), &value);
	bluObjString* mode = AS_STRING(value);

	FILE* file = fopen(name->chars, mode->chars);
	if (file == NULL) return -1;

	((FileData*)receiver->data)->fd = file;

	return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x8(%rdx), %r13
leaq 0x20(%r13), %r14
leaq 0x3ebe(%rip), %rsi      # 0xb812
movl $0x5, %edx
callq 0x8411
movq %rsp, %r15
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %r15, %rcx
callq 0x256c
movq 0x8(%r15), %r12
leaq 0x3e9b(%rip), %rsi      # 0xb818
movq %rbx, %rdi
movl $0x5, %edx
callq 0x8411
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %r15, %rcx
callq 0x256c
movq 0x8(%r15), %rsi
addq $0x28, %r12
addq $0x28, %rsi
movq %r12, %rdi
callq 0x21c0
testq %rax, %rax
je 0x79bf
movq 0x30(%r13), %rcx
movq %rax, (%rcx)
movb $0x1, %al
jmp 0x79c1
movb $-0x1, %al
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/lib/file/file.c
// Function: File_readLine
int8_t File_readLine(bluVM* vm, int8_t argCount, bluValue* args) {
	bluObjInstance* receiver = AS_INSTANCE(args[0]);

	FILE* file = ((FileData*)receiver->data)->fd;

	char* buffer = NULL;
	size_t len = 0;

	ssize_t read = getline(&buffer, &len, file);
	if (read == -1) {
		args[0] = NIL_VAL;
		free(buffer);
		return 1;
	}

	if (buffer[read - 1] == '\n') {
		buffer[--read] = '\0';
	}

	args[0] = OBJ_VAL(bluCopyString(vm, buffer, read));

	free(buffer);

	return 1;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rdi, %r14
movq 0x8(%rdx), %rax
movq 0x30(%rax), %rax
movq (%rax), %rdx
xorl %eax, %eax
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
callq 0x21e0
cmpq $-0x1, %rax
je 0x7a5d
movq 0x8(%rsp), %rcx
cmpb $0xa, -0x1(%rcx,%rax)
jne 0x7a42
movb $0x0, -0x1(%rcx,%rax)
decq %rax
movq 0x8(%rsp), %rsi
movq %r14, %rdi
movl %eax, %edx
callq 0x8411
movl $0x3, (%rbx)
movq %rax, 0x8(%rbx)
jmp 0x7a6b
movl $0x1, (%rbx)
movq $0x0, 0x8(%rbx)
movq 0x8(%rsp), %rdi
callq 0x2030
movb $0x1, %al
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/lib/file/file.c
// Function: bluInitFile
void bluInitFile(bluVM* vm) {
	bluInterpret(vm, fileSource, "__FILE__");

	bluObj* fileClass = bluGetGlobal(vm, "File");

	AS_CLASS(OBJ_VAL(fileClass))->construct = construct;
	AS_CLASS(OBJ_VAL(fileClass))->destruct = destruct;

	bluDefineMethod(vm, fileClass, "open", File_open, 0);
	bluDefineMethod(vm, fileClass, "close", File_close, 0);
	bluDefineMethod(vm, fileClass, "rewind", File_rewind, 0);
	bluDefineMethod(vm, fileClass, "readLine", File_readLine, 0);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x3dba(%rip), %rsi      # 0xb847
leaq 0x3d8a(%rip), %rdx      # 0xb81e
callq 0x2be7
leaq 0x3d87(%rip), %rsi      # 0xb827
movq %rbx, %rdi
callq 0x4692
movq %rax, %r14
leaq -0x1c6(%rip), %rax      # 0x78ec
movq %rax, 0x50(%r14)
leaq -0x1b6(%rip), %rax      # 0x7907
movq %rax, 0x58(%r14)
leaq 0x3d64(%rip), %rdx      # 0xb82c
leaq -0x19a(%rip), %rcx      # 0x7935
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
callq 0x46f4
leaq 0x3d4d(%rip), %rdx      # 0xb831
leaq -0x11c(%rip), %rcx      # 0x79cf
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
callq 0x46f4
leaq 0x3d37(%rip), %rdx      # 0xb837
leaq -0x123(%rip), %rcx      # 0x79e4
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
callq 0x46f4
leaq 0x3d22(%rip), %rdx      # 0xb83e
leaq -0x12a(%rip), %rcx      # 0x79f9
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x46f4
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/lib/system/system.c
// Function: System__println
int8_t System__println(bluVM* vm, int8_t argCount, bluValue* args) {
	if (argCount == 0) {
		printf("\n");
	}

	for (int32_t i = 1; i <= argCount; i++) {
		bluPrintValue(args[i]);
		printf("\n");
	}

	return 1;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movl %esi, %ebp
testb %bpl, %bpl
jne 0x7bc7
movl $0xa, %edi
callq 0x2040
testb %bpl, %bpl
jle 0x7bf1
movslq %ebp, %r14
addq $0x18, %rbx
movl -0x8(%rbx), %edi
movq (%rbx), %rsi
callq 0x2981
movl $0xa, %edi
callq 0x2040
addq $0x10, %rbx
decq %r14
jne 0x7bd3
movb $0x1, %al
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/lib/system/system.c
// Function: System__readln
int8_t System__readln(bluVM* vm, int8_t argCount, bluValue* args) {
	bluObjString* line = bluNewString(vm, 1024);

	if (!fgets(line->chars, 1024, stdin)) {
		printf("\n");
	}

	bluObjString* string = bluTakeString(vm, line);

	args[0] = OBJ_VAL(string);

	return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r14
movl $0x400, %esi            # imm = 0x400
callq 0x87b6
movq %rax, %r15
leaq 0x28(%rax), %rdi
movq 0x83bd(%rip), %rax      # 0xffd8
movq (%rax), %rdx
movl $0x400, %esi            # imm = 0x400
callq 0x2120
testq %rax, %rax
jne 0x7c37
movl $0xa, %edi
callq 0x2040
movq %r14, %rdi
movq %r15, %rsi
callq 0x885d
movl $0x3, (%rbx)
movq %rax, 0x8(%rbx)
movb $0x1, %al
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/lib/system/system.c
// Function: bluInitSystem
void bluInitSystem(bluVM* vm) {
	bluInterpret(vm, systemSource, "__SYSTEM__");

	bluObj* systemClass = bluGetGlobal(vm, "System");
	bluDefineStaticMethod(vm, systemClass, "print", System__print, 0);
	bluDefineStaticMethod(vm, systemClass, "println", System__println, 0);
	bluDefineStaticMethod(vm, systemClass, "readln", System__readln, 0);
	bluDefineStaticMethod(vm, systemClass, "clock", System__clock, 0);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x3dd6(%rip), %rsi      # 0xba5d
leaq 0x3da2(%rip), %rdx      # 0xba30
callq 0x2be7
leaq 0x3da1(%rip), %rsi      # 0xba3b
movq %rbx, %rdi
callq 0x4692
movq %rax, %r14
leaq 0x3d96(%rip), %rdx      # 0xba42
leaq -0x143(%rip), %rcx      # 0x7b70
movq %rbx, %rdi
movq %rax, %rsi
xorl %r8d, %r8d
callq 0x4756
leaq 0x3d80(%rip), %rdx      # 0xba48
leaq -0x120(%rip), %rcx      # 0x7baf
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
callq 0x4756
leaq 0x3d6c(%rip), %rdx      # 0xba50
leaq -0xf3(%rip), %rcx       # 0x7bf8
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
callq 0x4756
leaq 0x3d57(%rip), %rdx      # 0xba57
leaq -0xb3(%rip), %rcx       # 0x7c54
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4756
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/memory.c
// Function: bluGrayTable
void bluGrayTable(bluVM* vm, bluTable* table) {
	for (int32_t i = 0; i < table->capacityMask; i++) {
		bluEntry* entry = &table->entries[i];
		bluGrayObject(vm, (bluObj*)entry->key);
		bluGrayValue(vm, entry->value);
	}
}

// Assembly:
cmpl $0x0, 0x4(%rsi)
jle 0x7f61
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movl $0x10, %r15d
xorl %r12d, %r12d
movq 0x8(%rbx), %r13
movq -0x10(%r13,%r15), %rsi
movq %r14, %rdi
callq 0x7d31
movl -0x8(%r13,%r15), %eax
movsd (%r13,%r15), %xmm0
movsd %xmm0, 0x8(%rsp)
cmpl $0x3, %eax
jne 0x7f44
movq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x7d31
incq %r12
movslq 0x4(%rbx), %rax
addq $0x18, %r15
cmpq %rax, %r12
jl 0x7f0f
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/memory.c
// Function: bluReallocate
void* bluReallocate(bluVM* vm, void* previous, size_t oldSize, size_t newSize) {
	vm->bytesAllocated += newSize - oldSize;

#ifdef DEBUG_GC_STRESS
	vm->shouldGC = true;
#endif

	if (vm->bytesAllocated > vm->nextGC) {
		vm->shouldGC = true;
	}

	if (newSize == 0) {
		free(previous);
		return NULL;
	}

	return realloc(previous, newSize);
}

// Assembly:
movq %rdi, %rax
movq %rcx, %r8
subq %rdx, %r8
addq 0x101890(%rdi), %r8
movq %rsi, %rdi
movq %r8, 0x101890(%rax)
cmpq 0x101898(%rax), %r8
jbe 0x7ff5
movb $0x1, 0x1018a0(%rax)
testq %rcx, %rcx
je 0x8002
movq %rcx, %rsi
jmp 0x21b0
pushq %rax
callq 0x2030
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/memory.c
// Function: bluCollectMemory
void bluCollectMemory(bluVM* vm) {
	bluObj* object = vm->objects;
	while (object != NULL) {
		bluObj* next = object->next;
		freeObject(vm, object);
		object = next;
	}
}

// Assembly:
movq 0x101888(%rdi), %rsi
testq %rsi, %rsi
je 0x836d
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rsi), %r14
movq %rbx, %rdi
callq 0x8208
movq %r14, %rsi
testq %r14, %r14
jne 0x8352
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/object.c
// Function: bluCopyString
bluObjString* bluCopyString(bluVM* vm, const char* chars, int32_t length) {
	int32_t hash = hashString(chars, length);

	bluObjString* interned = bluTableFindString(vm, &vm->strings, chars, length, hash);
	if (interned != NULL) return interned;

	return allocateString(vm, chars, length, hash);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
testl %edx, %edx
jle 0x844b
movl %ebp, %eax
movl $0x811c9dc5, %r15d      # imm = 0x811C9DC5
xorl %ecx, %ecx
movsbl (%r14,%rcx), %edx
xorl %r15d, %edx
imull $0x1000193, %edx, %r15d # imm = 0x1000193
incq %rcx
cmpq %rcx, %rax
jne 0x8432
jmp 0x8451
movl $0x811c9dc5, %r15d      # imm = 0x811C9DC5
leaq 0x101820(%rbx), %r12
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rdx
movl %ebp, %ecx
movl %r15d, %r8d
callq 0x2815
movq %rax, %r13
testq %rax, %rax
jne 0x84f2
movslq %ebp, %rax
movq %rax, (%rsp)
leaq 0x29(%rax), %rsi
movq %rbx, %rdi
callq 0x7fbf
movq %rax, %r13
movl $0x7, (%rax)
movq $0x0, 0x8(%rax)
xorl %eax, %eax
movb %al, 0x10(%r13)
movq 0x101888(%rbx), %rax
movq %rax, 0x18(%r13)
movq %r13, 0x101888(%rbx)
movq 0x101868(%rbx), %rax
movq %rax, 0x8(%r13)
movl %ebp, 0x20(%r13)
movl %r15d, 0x24(%r13)
leaq 0x28(%r13), %rdi
movq %r14, %rsi
movq (%rsp), %r14
movq %r14, %rdx
callq 0x2050
xorl %eax, %eax
movb %al, 0x28(%r13,%r14)
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x25ec
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/object.c
// Function: bluNewArray
bluObjArray* bluNewArray(bluVM* vm, int32_t len) {
	bluObjArray* array = (bluObjArray*)allocateObject(vm, sizeof(bluObjArray), OBJ_ARRAY);
	array->obj.class = vm->arrayClass;
	array->cap = bluPowerOf2Ceil(len);
	array->len = len;
	array->data = bluAllocate(vm, (sizeof(bluValue) * array->cap));

	return array;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
movl $0x30, %esi
callq 0x7fbf
movq %rax, %r15
movl $0x0, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x101888(%r14), %rax
movq %rax, 0x18(%r15)
movq %r15, 0x101888(%r14)
movq 0x101850(%r14), %rax
movq %rax, 0x8(%r15)
movslq %ebx, %rbx
movq %rbx, %rdi
callq 0x49e0
movl %eax, 0x24(%r15)
movl %ebx, 0x20(%r15)
movslq %eax, %rsi
shlq $0x4, %rsi
movq %r14, %rdi
callq 0x7fbf
movq %rax, 0x28(%r15)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/object.c
// Function: bluNewBoundMethod
bluObjBoundMethod* bluNewBoundMethod(bluVM* vm, bluValue receiver, bluObjClosure* closure) {
	bluObjBoundMethod* method = (bluObjBoundMethod*)allocateObject(vm, sizeof(bluObjBoundMethod), OBJ_BOUND_METHOD);
	method->obj.class = vm->functionClass;
	method->receiver = receiver;
	method->closure = closure;

	return method;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %r15
movl $0x38, %esi
callq 0x7fbf
movl $0x1, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x101888(%r15), %rcx
movq %rcx, 0x18(%rax)
movq %rax, 0x101888(%r15)
movq 0x101860(%r15), %rcx
movq %rcx, 0x8(%rax)
movl %ebp, 0x20(%rax)
movq %r14, 0x28(%rax)
movq %rbx, 0x30(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/object.c
// Function: bluNewClass
bluObjClass* bluNewClass(bluVM* vm, bluObjString* name) {
	bluObjClass* class = (bluObjClass*)allocateObject(vm, sizeof(bluObjClass), OBJ_CLASS);
	class->obj.class = vm->classClass;
	class->superclass = NULL;
	class->name = name;
	class->construct = NULL;
	class->destruct = NULL;

	bluTableInit(vm, &class->methods);
	bluTableInit(vm, &class->fields);

	return class;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl $0x60, %esi
callq 0x7fbf
movq %rax, %r15
movl $0x2, (%rax)
xorl %eax, %eax
movq %rax, 0x8(%r15)
movb $0x0, 0x10(%r15)
movq 0x101888(%r14), %rcx
movq %rcx, 0x18(%r15)
movq %r15, 0x101888(%r14)
movq 0x101858(%r14), %rcx
movq %rcx, 0x8(%r15)
movq %rax, 0x28(%r15)
movq %rbx, 0x20(%r15)
leaq 0x30(%r15), %rsi
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%r15)
movq %r14, %rdi
callq 0x28c9
leaq 0x40(%r15), %rsi
movq %r14, %rdi
callq 0x28c9
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/object.c
// Function: newClosure
bluObjClosure* newClosure(bluVM* vm, bluObjFunction* function) {
	bluObjClosure* closure = (bluObjClosure*)allocateObject(vm, sizeof(bluObjClosure), OBJ_CLOSURE);
	closure->obj.class = vm->functionClass;
	closure->function = function;

	bluObjUpvalueBufferInit(&closure->upvalues);

	return closure;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x38, %esi
callq 0x7fbf
movl $0x3, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x101888(%r14), %rcx
movq %rcx, 0x18(%rax)
movq %rax, 0x101888(%r14)
movq 0x101860(%r14), %rcx
movq %rcx, 0x8(%rax)
movq %rbx, 0x20(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/object.c
// Function: bluNewFunction
bluObjFunction* bluNewFunction(bluVM* vm) {
	bluObjFunction* function = (bluObjFunction*)allocateObject(vm, sizeof(bluObjFunction), OBJ_FUNCTION);
	function->obj.class = vm->functionClass;
	function->arity = 0;
	function->upvalueCount = 0;
	function->name = NULL;

	bluChunkInit(&function->chunk);

	return function;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x80, %esi
callq 0x7fbf
movq %rax, %r14
movl $0x4, (%rax)
xorl %eax, %eax
movq %rax, 0x8(%r14)
movb %al, 0x10(%r14)
movq 0x101888(%rbx), %rcx
movq %rcx, 0x18(%r14)
movq %r14, 0x101888(%rbx)
movq 0x101860(%rbx), %rcx
movq %rcx, 0x8(%r14)
movb %al, 0x20(%r14)
movw $0x0, 0x22(%r14)
movq %rax, 0x78(%r14)
leaq 0x28(%r14), %rdi
callq 0x4abc
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/object.c
// Function: bluNewInstance
bluObjInstance* bluNewInstance(bluVM* vm, bluObjClass* class) {
	bluObjInstance* instance = (bluObjInstance*)allocateObject(vm, sizeof(bluObjInstance), OBJ_INSTANCE);
	instance->obj.class = class;
	instance->data = NULL;

	bluTableInit(vm, &instance->fields);

	return instance;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl $0x38, %esi
callq 0x7fbf
movq %rax, %r15
movl $0x5, (%rax)
xorl %eax, %eax
movq %rax, 0x8(%r15)
movb $0x0, 0x10(%r15)
movq 0x101888(%r14), %rcx
movq %rcx, 0x18(%r15)
movq %r15, 0x101888(%r14)
movq %rbx, 0x8(%r15)
movq %rax, 0x30(%r15)
leaq 0x20(%r15), %rsi
movq %r14, %rdi
callq 0x28c9
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/object.c
// Function: bluNewNative
bluObjNative* bluNewNative(bluVM* vm, bluNativeFn function, int8_t arity) {
	bluObjNative* native = (bluObjNative*)allocateObject(vm, sizeof(bluObjNative), OBJ_NATIVE);
	native->obj.class = vm->functionClass;
	native->function = function;
	native->arity = arity;

	return native;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movl $0x30, %esi
callq 0x7fbf
movl $0x6, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x101888(%r15), %rcx
movq %rcx, 0x18(%rax)
movq %rax, 0x101888(%r15)
movq 0x101860(%r15), %rcx
movq %rcx, 0x8(%rax)
movq %r14, 0x28(%rax)
movb %bl, 0x20(%rax)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/object.c
// Function: bluNewString
bluObjString* bluNewString(bluVM* vm, int32_t length) {
	size_t totalSize = sizeof(bluObjString) + (sizeof(char) * (length + 1));

	bluObjString* string = (bluObjString*)allocateObject(vm, totalSize, OBJ_STRING);
	string->obj.class = vm->stringClass;
	string->length = length;
	string->hash = 0;

	return string;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movslq %esi, %r14
leaq 0x29(%r14), %rsi
callq 0x7fbf
movl $0x7, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x101888(%rbx), %rcx
movq %rcx, 0x18(%rax)
movq %rax, 0x101888(%rbx)
movq 0x101868(%rbx), %rcx
movq %rcx, 0x8(%rax)
movl %r14d, 0x20(%rax)
movl $0x0, 0x24(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/object.c
// Function: bluNewUpvalue
bluObjUpvalue* bluNewUpvalue(bluVM* vm, bluValue* slot) {
	bluObjUpvalue* upvalue = (bluObjUpvalue*)allocateObject(vm, sizeof(bluObjUpvalue), OBJ_UPVALUE);
	// TODO : This should not be needed.
	// upvalue->obj.class = bluGetClass(vm, *slot);
	upvalue->closed = NIL_VAL;
	upvalue->value = slot;
	upvalue->next = NULL;

	return upvalue;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x40, %esi
callq 0x7fbf
movl $0x8, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x101888(%r14), %rcx
movq %rcx, 0x18(%rax)
movq %rax, 0x101888(%r14)
movl $0x1, 0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x30(%rax)
movq %rbx, 0x20(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/object.c
// Function: bluTakeString
bluObjString* bluTakeString(bluVM* vm, bluObjString* string) {
	string->hash = hashString(string->chars, string->length);

	bluObjString* interned = bluTableFindString(vm, &vm->strings, string->chars, string->length, string->hash);
	if (interned != NULL) {
		return interned;
	}

	bluTableSet(vm, &vm->strings, string, NIL_VAL);

	return string;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x28(%rsi), %rdx
movslq 0x20(%rsi), %rcx
movl $0x811c9dc5, %r8d       # imm = 0x811C9DC5
testq %rcx, %rcx
jle 0x8893
xorl %eax, %eax
movsbl (%rdx,%rax), %esi
xorl %r8d, %esi
imull $0x1000193, %esi, %r8d  # imm = 0x1000193
incq %rax
cmpq %rax, %rcx
jne 0x887d
movl %r8d, 0x24(%rbx)
leaq 0x101820(%r14), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x2815
testq %rax, %rax
jne 0x88c7
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x25ec
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/object.c
// Function: bluPrintObject
void bluPrintObject(bluValue value) {

	switch (OBJ_TYPE(value)) {

	case OBJ_ARRAY: {
		bluObjArray* array = AS_ARRAY(value);

		printf("[");
		for (int32_t i = 0; i < array->len; i++) {
			if (i > 0) {
				printf(", ");
			}

			bluPrintValue(array->data[i]);
		}
		printf("]");
		break;
	}

	case OBJ_BOUND_METHOD: {
		printf("<method %s>", AS_BOUND_METHOD(value)->closure->function->name->chars);
		break;
	}

	case OBJ_CLASS: {
		printf("<class %s>", AS_CLASS(value)->name->chars);
		break;
	}

	case OBJ_CLOSURE:
		if (AS_CLOSURE(value)->function->name == NULL) {
			printf("<anonymous fn>");
		} else {
			printf("<fn %s>", AS_CLOSURE(value)->function->name->chars);
		}
		break;

	case OBJ_FUNCTION: {
		if (AS_FUNCTION(value)->name == NULL) {
			printf("<anonymous fn>");
		} else {
			printf("<fn %s>", AS_FUNCTION(value)->name->chars);
		}
		break;
	}

	case OBJ_INSTANCE: {
		printf("<instance of %s>", AS_INSTANCE(value)->obj.class->name->chars);
		break;
	}

	case OBJ_NATIVE: {
		printf("<native fn>");
		break;
	}

	case OBJ_UPVALUE: {
		printf("upvalue");
		break;
	}

	case OBJ_STRING: {
		printf("%s", AS_CSTRING(value));
		break;
	}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl (%rsi), %eax
cmpq $0x8, %rax
ja 0x89e8
movq %rsi, %rbx
leaq 0x3241(%rip), %rcx      # 0xbb2c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x5b, %edi
callq 0x2040
cmpl $0x0, 0x20(%rbx)
jle 0x8942
leaq 0x3245(%rip), %r14      # 0xbb50
xorl %r15d, %r15d
xorl %r12d, %r12d
testq %r15, %r15
je 0x8920
movq %r14, %rdi
xorl %eax, %eax
callq 0x20f0
movq 0x28(%rbx), %rax
movl (%rax,%r15), %edi
movq 0x8(%rax,%r15), %rsi
callq 0x2981
incq %r12
movslq 0x20(%rbx), %rax
addq $0x10, %r15
cmpq %rax, %r12
jl 0x8911
movl $0x5d, %edi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2040
movq 0x78(%rbx), %rsi
jmp 0x8976
movq 0x20(%rbx), %rsi
addq $0x28, %rsi
leaq 0x31f3(%rip), %rdi      # 0xbb5f
jmp 0x89c4
movq 0x20(%rbx), %rax
movq 0x78(%rax), %rsi
testq %rsi, %rsi
je 0x89f4
addq $0x28, %rsi
leaq 0x31f3(%rip), %rdi      # 0xbb79
jmp 0x89c4
addq $0x28, %rbx
leaq 0x320b(%rip), %rdi      # 0xbb9e
movq %rbx, %rsi
jmp 0x89c4
movq 0x30(%rbx), %rax
movq 0x20(%rax), %rax
movq 0x78(%rax), %rsi
addq $0x28, %rsi
leaq 0x31a4(%rip), %rdi      # 0xbb53
jmp 0x89c4
movq 0x8(%rbx), %rax
movq 0x20(%rax), %rsi
addq $0x28, %rsi
leaq 0x31bd(%rip), %rdi      # 0xbb81
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x20f0
leaq 0x31b5(%rip), %rdi      # 0xbb92
jmp 0x89fb
leaq 0x2308(%rip), %rdi      # 0xacee
jmp 0x89fb
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x316f(%rip), %rdi      # 0xbb6a
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x20f0
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/parser/parser.c
// Function: makeToken
static bluToken makeToken(bluParser* parser, bluTokenType type) {
	bluToken token;
	token.type = type;

	switch (type) {
	case TOKEN_NEWLINE:
		token.start = "<NEWLINE>";
		token.length = 9;
		break;

	case TOKEN_EOF:
		token.start = "<EOF>";
		token.length = 5;
		break;

	default:
		token.start = parser->source + parser->from;
		token.length = parser->at - parser->from;
		break;
	}

	token.line = parser->lineFrom;
	token.column = parser->columnFrom;

	return token;
}

// Assembly:
movq %rdi, %rax
movl %edx, (%rdi)
cmpl $0x2f, %edx
je 0x917c
cmpl $0x30, %edx
jne 0x918b
leaq 0x2b68(%rip), %rcx      # 0xbcdc
movq %rcx, 0x8(%rax)
movb $0x9, %cl
jmp 0x919e
leaq 0x2b63(%rip), %rcx      # 0xbce6
movq %rcx, 0x8(%rax)
movb $0x5, %cl
jmp 0x919e
movslq 0x8(%rsi), %rdx
movq %rdx, %rcx
addq (%rsi), %rcx
movq %rcx, 0x8(%rax)
movl 0xc(%rsi), %ecx
subl %edx, %ecx
movb %cl, 0x10(%rax)
movl 0x10(%rsi), %ecx
movl %ecx, 0x14(%rax)
movl 0x18(%rsi), %ecx
movl %ecx, 0x18(%rax)
retq
// File: /workspace/github_c_makefile_star2_O1/adamjedlicka[P]blu/src/vm/parser/parser.c
// Function: string
static bluToken string(bluParser* parser) {
	while (peek(parser) != '"' && !isAtEnd(parser)) {
		if (peek(parser) == '\n') {
			newline(parser);
		}

		advance(parser);
	}

	if (isAtEnd(parser)) {
		return errorToken(parser, "Unterminated string.");
	}

	// The closing ".
	advance(parser);

	return makeToken(parser, TOKEN_STRING);
}

// Assembly:
movq %rdi, %rax
movq (%rsi), %rdx
movslq 0xc(%rsi), %rdi
leal 0x1(%rdi), %ecx
addq %rdx, %rdi
movzbl (%rdi), %r8d
cmpl $0xa, %r8d
je 0x91d5
testl %r8d, %r8d
je 0x920e
cmpl $0x22, %r8d
jne 0x91df
jmp 0x91ec
incl 0x14(%rsi)
movl $0x0, 0x1c(%rsi)
incl 0x1c(%rsi)
movl %ecx, 0xc(%rsi)
incl %ecx
incq %rdi
jmp 0x91be
incl 0x1c(%rsi)
movl %ecx, 0xc(%rsi)
movl $0x1b, (%rax)
movslq 0x8(%rsi), %rdi
addq %rdi, %rdx
movq %rdx, 0x8(%rax)
negb %dil
movzbl %dil, %edx
addl %ecx, %edx
jmp 0x9221
movl $0x31, (%rax)
leaq 0x2ad1(%rip), %rcx      # 0xbcec
movq %rcx, 0x8(%rax)
movb $0x14, %dl
movb %dl, 0x10(%rax)
movl 0x10(%rsi), %ecx
movl %ecx, 0x14(%rax)
movl 0x18(%rsi), %ecx
movl %ecx, 0x18(%rax)
retq
nopl (%rax)