LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: namedVariable
static void namedVariable(bluCompiler* compiler, bluToken name, bool canAssign) {
	uint8_t getOp, setOp;

	int32_t arg = resolveLocal(compiler, &name);

	if (arg != -1) {
		getOp = OP_GET_LOCAL;
		setOp = OP_SET_LOCAL;
	} else if ((arg = resolveUpvalue(compiler, &name)) != -1) {
		getOp = OP_GET_UPVALUE;
		setOp = OP_SET_UPVALUE;
	} else {
		arg = identifierConstant(compiler, &name);
		getOp = OP_GET_GLOBAL;
		setOp = OP_SET_GLOBAL;
	}

	if (canAssign && match(compiler, TOKEN_EQUAL)) {
		expression(compiler);
		emitByte(compiler, setOp);
		emitShort(compiler, (uint16_t)arg);
	} else {
		emitByte(compiler, getOp);
		emitShort(compiler, (uint16_t)arg);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %r14d
movq %rdi, %rbx
leaq 0x30(%rsp), %r15
movq %r15, %rsi
callq 0x3c5e
cmpl $-0x1, %eax
je 0x3a7c
movl %eax, %ebp
movb $0x7, %r15b
movb $0x6, %al
jmp 0x3abe
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3cf5
cmpl $-0x1, %eax
je 0x3a95
movl %eax, %ebp
movb $0xc, %r15b
movb $0xb, %al
jmp 0x3abe
movq 0x8(%r15), %rsi
movzbl 0x10(%r15), %edx
movq (%rbx), %rdi
callq 0x6239
movq %rbx, %rdi
movl $0x3, %esi
movq %rax, %rdx
callq 0x3c03
movzwl %ax, %ebp
movb $0xa, %r15b
movb $0x9, %al
movq 0x8(%rbx), %rcx
testb %r14b, %r14b
je 0x3ae4
cmpl $0xf, 0x40(%rcx)
jne 0x3ae4
movq %rbx, %rdi
callq 0x34a2
movq %rbx, %rdi
callq 0x3d56
movq 0x8(%rbx), %rcx
movl %r15d, %eax
movq 0x28(%rbx), %rdi
movl 0x54(%rcx), %edx
movl 0x58(%rcx), %ecx
addq $0x28, %rdi
movzbl %al, %esi
callq 0x2a5f
movzwl %bp, %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3bbf
// File: /workspace/github_c_makefile_star2_O3/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: argumentList
static uint8_t argumentList(bluCompiler* compiler) {
	uint8_t argCount = 0;

	if (!check(compiler, TOKEN_RIGHT_PAREN)) {
		do {
			expression(compiler);
			argCount++;

			if (argCount > 16) {
				error(compiler, "Cannot have more than 16 arguments.");
			}
		} while (match(compiler, TOKEN_COMMA));
	}

	consume(compiler, TOKEN_RIGHT_PAREN, "Expect ')' after arguments.");

	return argCount;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rax
cmpl $0xa, 0x40(%rax)
jne 0x3b3d
xorl %ebp, %ebp
leaq 0x58ae(%rip), %rdx      # 0x93d7
movq %rbx, %rdi
movl $0xa, %esi
callq 0x3c36
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
movb $0x1, %bpl
leaq 0x586c(%rip), %r14      # 0x93b3
movq %rbx, %rdi
callq 0x3d56
cmpb $0x11, %bpl
jb 0x3b68
movq 0x8(%rbx), %rsi
addq $0x20, %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x3a3b
movq 0x8(%rbx), %rax
cmpl $0x3, 0x40(%rax)
jne 0x3b22
movq %rbx, %rdi
callq 0x34a2
incb %bpl
jmp 0x3b47
// File: /workspace/github_c_makefile_star2_O3/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: makeConstant
static uint16_t makeConstant(bluCompiler* compiler, bluValue value) {
	int32_t constant = bluValueBufferWrite(&compiler->function->chunk.constants, value);
	if (constant > LOCALS_MAX) {
		error(compiler, "Too many constants in one chunk.");
		return 0;
	}

	return (uint16_t)constant;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
addq $0x68, %rdi
callq 0x29e3
cmpl $0xffff, %eax           # imm = 0xFFFF
jl 0x3c34
movq 0x8(%rbx), %rsi
addq $0x20, %rsi
leaq 0x57cb(%rip), %rdx      # 0x93f5
movq %rbx, %rdi
callq 0x3a3b
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: consume
static void consume(bluCompiler* compiler, bluTokenType type, const char* message) {
	if (check(compiler, type)) {
		advance(compiler);
		return;
	}

	errorAtCurrent(compiler, message);
}

// Assembly:
movl %esi, %eax
movq 0x8(%rdi), %rsi
cmpl $0x30, %eax
jne 0x3c4b
cmpl $0x8, 0x20(%rsi)
je 0x34a2
cmpl %eax, 0x40(%rsi)
jne 0x3c55
jmp 0x34a2
addq $0x40, %rsi
jmp 0x3a3b
// File: /workspace/github_c_makefile_star2_O3/adamjedlicka[P]blu/src/vm/compiler/compiler.c
// Function: resolveLocal
static int32_t resolveLocal(bluCompiler* compiler, bluToken* name) {
	for (int32_t i = compiler->locals.count - 1; i >= 0; i--) {
		bluLocal* local = &compiler->locals.data[i];
		if (identifiersEqual(name, &local->name)) {
			if (local->depth == -1) {
				error(compiler, "Cannot read local variable in its own initializer.");
			}

			return i;
		}
	}

	return -1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movslq 0x40(%rdi), %r12
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testq %r12, %r12
jle 0x3ce4
movq %rsi, %r14
movq %rdi, %rbx
movq 0x38(%rdi), %rax
movzbl 0x10(%rsi), %r15d
leaq (%r12,%r12,4), %rcx
leaq (%rax,%rcx,8), %r13
addq $-0x8, %r13
cmpb -0x10(%r13), %r15b
jne 0x3cac
movq 0x8(%r14), %rdi
movq -0x18(%r13), %rsi
movq %r15, %rdx
callq 0x2190
testl %eax, %eax
je 0x3cc0
decq %r12
leaq 0x1(%r12), %rax
addq $-0x28, %r13
cmpq $0x1, %rax
ja 0x3c92
jmp 0x3ce4
decq %r12
cmpb $-0x1, (%r13)
jne 0x3ce1
movq 0x8(%rbx), %rsi
addq $0x20, %rsi
leaq 0x5516(%rip), %rdx      # 0x91ef
movq %rbx, %rdi
callq 0x3a3b
movl %r12d, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x3d4c
movq %rsi, %r14
callq 0x3c5e
movl %eax, %ebp
movq 0x10(%rbx), %rdi
cmpl $-0x1, %eax
je 0x3d2b
movq 0x38(%rdi), %rax
movl %ebp, %ecx
leaq (%rcx,%rcx,4), %rcx
movb $0x1, 0x21(%rax,%rcx,8)
movl %ebp, %eax
jmp 0x3d38
movq %r14, %rsi
callq 0x3cf5
cmpl $-0x1, %eax
je 0x3d4c
xorl %edx, %edx
cmpl $-0x1, %ebp
setne %dl
movzwl %ax, %esi
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x3d88
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x3d7a
movq %rbx, %rdi
callq 0x34a2
movq %rbx, %rdi
movl $0x2, %esi
popq %rbx
jmp 0x3e04
movq %rbx, %rdi
movl $0x1, %esi
popq %rbx
jmp 0x404d
// File: /workspace/github_c_makefile_star2_O3/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
je 0x3dd6
movq 0x48(%rbx), %rdi
xorl %eax, %eax
cmpw %si, (%rdi,%rax,4)
jne 0x3dab
cmpb %dl, 0x2(%rdi,%rax,4)
je 0x3dff
incq %rax
cmpq %rax, %rcx
jne 0x3d9f
cmpl $0xfffe, %ecx           # imm = 0xFFFE
jne 0x3dd6
movq 0x8(%rbx), %rsi
addq $0x20, %rsi
leaq 0x5458(%rip), %rdx      # 0x9222
movq %rbx, %rdi
callq 0x3a3b
xorl %eax, %eax
jmp 0x3dff
leaq 0x48(%rbx), %rdi
movzbl %dl, %eax
shll $0x10, %eax
movzwl %si, %esi
orl %eax, %esi
movl $0x1, %edx
callq 0x2b85
movq 0x28(%rbx), %rcx
movzwl 0x22(%rcx), %eax
movl %eax, %edx
incl %edx
movw %dx, 0x22(%rcx)
movzwl %ax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x34a2
movq 0x8(%rbx), %rsi
movl 0x20(%rsi), %eax
leaq (%rax,%rax,2), %rax
leaq 0xb0b0(%rip), %r15      # 0xf120
movq (%r15,%rax,8), %rax
testq %rax, %rax
je 0x4102
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 0x40c7
xorl %r14d, %r14d
cmpl $0x2, %ebp
setb %r14b
movq %rbx, %rdi
callq 0x34a2
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 0x408b
cmpl $0x1, %ebp
ja 0x411f
cmpl $0xf, %eax
jne 0x411f
movq %rbx, %rdi
callq 0x34a2
movq 0x8(%rbx), %rsi
addq $0x20, %rsi
leaq 0x52b0(%rip), %rdx      # 0x9398
movq %rbx, %rdi
callq 0x3a3b
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3d56
addq $0x20, %rsi
leaq 0x5278(%rip), %rdx      # 0x9385
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3a3b
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x3c36
cmpb $0x0, 0x58(%rbx)
je 0x4202
movq 0x8(%rbx), %r12
leaq 0x20(%r12), %r15
movslq 0x40(%rbx), %r13
testq %r13, %r13
jle 0x41d1
leaq (,%r13,4), %rax
addq %r13, %rax
incq %r13
leaq -0x8(,%rax,8), %rbp
leaq 0x5177(%rip), %r14      # 0x92f8
movq 0x38(%rbx), %rax
movb (%rax,%rbp), %cl
cmpb $-0x1, %cl
je 0x4192
cmpb 0x58(%rbx), %cl
jl 0x41d1
movzbl 0x30(%r12), %edx
cmpb -0x10(%rax,%rbp), %dl
jne 0x41c4
movq 0x28(%r12), %rdi
movq -0x18(%rax,%rbp), %rsi
callq 0x2190
testl %eax, %eax
jne 0x41c4
movq 0x8(%rbx), %rsi
addq $0x20, %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x3a3b
decq %r13
addq $-0x28, %rbp
cmpq $0x1, %r13
ja 0x4181
movups (%r15), %xmm0
movups 0x10(%r15), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %rbx, %rdi
callq 0x4344
cmpb $0x0, 0x58(%rbx)
jle 0x4202
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 0x6239
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 0x3c03
// File: /workspace/github_c_makefile_star2_O3/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 0x4258
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
movl 0x54(%rax), %edx
movl 0x58(%rax), %ecx
addq $0x28, %rdi
movl $0x8, %esi
callq 0x2a5f
movzwl %bp, %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x3bbf
// File: /workspace/github_c_makefile_star2_O3/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 0x4343
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 0x4342
leaq (%rcx,%rax,8), %rax
cmpb $0x0, -0x7(%rax)
movl $0x27, %esi
jne 0x431d
movl $0x5, %esi
movq 0x8(%rbx), %rax
movq 0x28(%rbx), %rdi
movl 0x54(%rax), %edx
movl 0x58(%rax), %ecx
addq $0x28, %rdi
callq 0x2a5f
movl 0x40(%rbx), %ecx
leal -0x1(%rcx), %eax
movl %eax, 0x40(%rbx)
cmpl $0x1, %ecx
jg 0x42f6
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x4361
movq 0x8(%rdi), %rsi
addq $0x20, %rsi
leaq 0x4fd4(%rip), %rdx      # 0x9330
jmp 0x3a3b
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 0x2ab0
addq $0x58, %rsp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x3c03
movl %eax, %ebp
movq 0x8(%rbx), %rax
movq 0x28(%rbx), %rdi
movl 0x54(%rax), %edx
movl 0x58(%rax), %ecx
addq $0x28, %rdi
xorl %esi, %esi
callq 0x2a5f
movzwl %bp, %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x3bbf
// File: /workspace/github_c_makefile_star2_O3/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 0x5036(%rip), %rsi      # 0x94b0
callq 0x412a
movl %eax, %ebp
movq 0x8(%rbx), %rax
cmpl $0xf, 0x40(%rax)
jne 0x449d
movq %rbx, %rdi
callq 0x34a2
movq %rbx, %rdi
callq 0x3d56
jmp 0x44b5
movq 0x28(%rbx), %rdi
movl 0x54(%rax), %edx
movl 0x58(%rax), %ecx
addq $0x28, %rdi
movl $0x2, %esi
callq 0x2a5f
movzbl %bpl, %esi
movq %rbx, %rdi
callq 0x4234
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x4287
// File: /workspace/github_c_makefile_star2_O3/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
movl 0x54(%rax), %edx
movl 0x58(%rax), %ecx
addq $0x28, %rdi
movl $0x18, %esi
callq 0x2a5f
movq 0x28(%rbx), %rax
movl 0x40(%rax), %r14d
subl %ebp, %r14d
cmpl $0xfffe, %r14d          # imm = 0xFFFE
jl 0x4b54
movq 0x8(%rbx), %rsi
addq $0x20, %rsi
leaq 0x4ab2(%rip), %rdx      # 0x95fe
movq %rbx, %rdi
callq 0x3a3b
addl $0x2, %r14d
movzwl %r14w, %esi
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x3bbf
// File: /workspace/github_c_makefile_star2_O3/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 0x4b9a
movl $0x6, %esi
callq 0x2a5f
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3bbf
jmp 0x4ba4
movl $0x2, %esi
callq 0x2a5f
movq 0x8(%rbx), %rax
movq 0x28(%rbx), %rdi
movl 0x54(%rax), %edx
movl 0x58(%rax), %ecx
addq $0x28, %rdi
movl $0x30, %esi
popq %rbx
jmp 0x2a5f
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/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 0x496e(%rip), %rdi      # 0x9a32
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 0x7487
leaq 0x4951(%rip), %rdi      # 0x9a3c
callq 0x2070
addl $0x3, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x4911(%rip), %rdi      # 0x9a20
xorl %ebp, %ebp
xorl %eax, %eax
callq 0x20f0
cmpl $0x0, 0x18(%rbx)
jle 0x512f
movq %rbx, %rdi
movl %ebp, %esi
callq 0x4bc4
movl %eax, %ebp
cmpl 0x18(%rbx), %eax
jl 0x511e
movl $0xa, %edi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x2040
nop
// File: /workspace/github_c_makefile_star2_O3/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 0x8(%rdx), %r14
movups 0x10(%rdx), %xmm0
movaps %xmm0, (%rsp)
movl 0x20(%r14), %ecx
cmpl 0x24(%r14), %ecx
jne 0x5237
movq %rdi, %rbx
movslq %ecx, %rdi
addq %rdi, %rdi
callq 0x291c
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 0x5dfc
movq %rax, 0x28(%r14)
movl %r15d, 0x24(%r14)
movl 0x20(%r14), %ecx
jmp 0x523b
movq 0x28(%r14), %rax
leal 0x1(%rcx), %edx
movl %edx, 0x20(%r14)
movslq %ecx, %rcx
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_O3/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 0x65b0
movslq 0x20(%r15), %rcx
movb $0x0, 0x28(%rax,%rcx)
movl 0x20(%r15), %ecx
testl %ecx, %ecx
jle 0x52f4
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 0x52d8
movq %r14, %rdi
movq %rax, %rsi
callq 0x664f
movl $0x3, (%rbx)
movq %rax, 0x8(%rbx)
movb $0x1, %al
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x6324
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 0x5426
movq %rax, %r13
leaq 0x10(%rsp), %rbp
movq %r13, %rdi
callq 0x20e0
movq %r14, %rdi
movq %r13, %rsi
movl %eax, %edx
callq 0x6239
movq %rax, %r13
movl 0x20(%r15), %ecx
cmpl 0x24(%r15), %ecx
jne 0x53f1
movslq %ecx, %rdi
addq %rdi, %rdi
callq 0x291c
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 0x5dfc
movq %rax, 0x28(%r15)
movl %ebx, 0x24(%r15)
movl 0x20(%r15), %ecx
jmp 0x53f5
movq 0x28(%r15), %rax
leal 0x1(%rcx), %edx
movl %edx, 0x20(%r15)
movslq %ecx, %rcx
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 0x538e
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_O3/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 0x65b0
movslq %ebp, %rcx
movb 0x28(%r15,%rcx), %cl
movb %cl, 0x28(%rax)
movb $0x0, 0x29(%rax)
movq %r14, %rdi
movq %rax, %rsi
callq 0x664f
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_O3/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 0x65b0
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 0x664f
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_O3/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 0x4cdd(%rip), %rsi      # 0xa4c9
movl $0x5, %edx
callq 0x6239
movq %rsp, %r15
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %r15, %rcx
callq 0x707c
movq 0x8(%r15), %r12
leaq 0x4cba(%rip), %rsi      # 0xa4cf
movq %rbx, %rdi
movl $0x5, %edx
callq 0x6239
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %r15, %rcx
callq 0x707c
movq 0x8(%r15), %rsi
addq $0x28, %r12
addq $0x28, %rsi
movq %r12, %rdi
callq 0x21c0
testq %rax, %rax
je 0x5857
movq 0x30(%r13), %rcx
movq %rax, (%rcx)
movb $0x1, %al
jmp 0x5859
movb $-0x1, %al
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x58f5
movq 0x8(%rsp), %rsi
cmpb $0xa, -0x1(%rsi,%rax)
jne 0x58df
movb $0x0, -0x1(%rsi,%rax)
decq %rax
movq 0x8(%rsp), %rsi
movq %r14, %rdi
movl %eax, %edx
callq 0x6239
movl $0x3, (%rbx)
movq %rax, 0x8(%rbx)
jmp 0x5903
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_O3/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 0x4bd9(%rip), %rsi      # 0xa4fe
leaq 0x4ba9(%rip), %rdx      # 0xa4d5
callq 0x76df
leaq 0x4ba6(%rip), %rsi      # 0xa4de
movq %rbx, %rdi
callq 0x8c9a
movq %rax, %r14
leaq -0x1c6(%rip), %rax      # 0x5784
movq %rax, 0x50(%r14)
leaq -0x1b6(%rip), %rax      # 0x579f
movq %rax, 0x58(%r14)
leaq 0x4b83(%rip), %rdx      # 0xa4e3
leaq -0x19a(%rip), %rcx      # 0x57cd
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
callq 0x8cfc
leaq 0x4b6c(%rip), %rdx      # 0xa4e8
leaq -0x11c(%rip), %rcx      # 0x5867
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
callq 0x8cfc
leaq 0x4b56(%rip), %rdx      # 0xa4ee
leaq -0x123(%rip), %rcx      # 0x587c
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
callq 0x8cfc
leaq 0x4b41(%rip), %rdx      # 0xa4f5
leaq -0x12a(%rip), %rcx      # 0x5891
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x8cfc
// File: /workspace/github_c_makefile_star2_O3/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 %r14
pushq %rbx
pushq %rax
testb %sil, %sil
je 0x5a7c
jle 0x5a86
movq %rdx, %rbx
movslq %esi, %r14
addq $0x18, %rbx
movl -0x8(%rbx), %edi
movq (%rbx), %rsi
callq 0x7487
movl $0xa, %edi
callq 0x2040
addq $0x10, %rbx
decq %r14
jne 0x5a5c
jmp 0x5a86
movl $0xa, %edi
callq 0x2040
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x65b0
movq %rax, %r15
leaq 0x28(%rax), %rdi
movq 0x9525(%rip), %rax      # 0xefd8
movq (%rax), %rdx
movl $0x400, %esi            # imm = 0x400
callq 0x2120
testq %rax, %rax
jne 0x5acf
movl $0xa, %edi
callq 0x2040
movq %r14, %rdi
movq %r15, %rsi
callq 0x664f
movl $0x3, (%rbx)
movq %rax, 0x8(%rbx)
movb $0x1, %al
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x4bf6(%rip), %rsi      # 0xa715
leaq 0x4bc2(%rip), %rdx      # 0xa6e8
callq 0x76df
leaq 0x4bc1(%rip), %rsi      # 0xa6f3
movq %rbx, %rdi
callq 0x8c9a
movq %rax, %r14
leaq 0x4bb6(%rip), %rdx      # 0xa6fa
leaq -0x143(%rip), %rcx      # 0x5a08
movq %rbx, %rdi
movq %rax, %rsi
xorl %r8d, %r8d
callq 0x8d5e
leaq 0x4ba0(%rip), %rdx      # 0xa700
leaq -0x120(%rip), %rcx      # 0x5a47
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
callq 0x8d5e
leaq 0x4b8c(%rip), %rdx      # 0xa708
leaq -0xf3(%rip), %rcx       # 0x5a90
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
callq 0x8d5e
leaq 0x4b77(%rip), %rdx      # 0xa70f
leaq -0xb3(%rip), %rcx       # 0x5aec
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x8d5e
// File: /workspace/github_c_makefile_star2_O3/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 0x5d9c
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
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 0x5bc2
cmpl $0x3, -0x8(%r13,%r15)
jne 0x5d83
movq (%r13,%r15), %rsi
movq %r14, %rdi
callq 0x5bc2
incq %r12
movslq 0x4(%rbx), %rax
addq $0x18, %r15
cmpq %rax, %r12
jl 0x5d5d
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x5e26
movb $0x1, 0x1018a0(%rax)
testq %rcx, %rcx
je 0x5e33
movq %rcx, %rsi
jmp 0x21b0
pushq %rax
callq 0x2030
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x6197
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rsi), %r14
movq %rbx, %rdi
callq 0x6032
movq %r14, %rsi
testq %r14, %r14
jne 0x617c
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x6273
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 0x625a
jmp 0x6279
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 0x734b
movq %rax, %r13
testq %rax, %rax
jne 0x6312
movslq %ebp, %rax
movq %rax, (%rsp)
leaq 0x29(%rax), %rsi
movq %rbx, %rdi
callq 0x5df0
movq %rax, %r13
movl $0x7, (%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 0x70d6
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_O3/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 0x5df0
movq %rax, %r15
movl $0x0, (%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 0x291c
movl %eax, 0x24(%r15)
movl %ebx, 0x20(%r15)
movslq %eax, %rsi
shlq $0x4, %rsi
movq %r14, %rdi
callq 0x5df0
movq %rax, 0x28(%r15)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x5df0
movl $0x1, (%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_O3/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 0x5df0
movq %rax, %r15
movl $0x2, (%rax)
movb $0x0, 0x10(%rax)
movq 0x101888(%r14), %rax
movq %rax, 0x18(%r15)
movq %r15, 0x101888(%r14)
movq 0x101858(%r14), %rax
movq %rax, 0x8(%r15)
movq $0x0, 0x28(%r15)
movq %rbx, 0x20(%r15)
leaq 0x30(%r15), %rsi
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%r15)
movq %r14, %rdi
callq 0x73e5
leaq 0x40(%r15), %rsi
movq %r14, %rdi
callq 0x73e5
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x5df0
movl $0x3, (%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_O3/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 0x5df0
movq %rax, %r14
movl $0x4, (%rax)
xorl %eax, %eax
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 $0x0, 0x78(%r14)
leaq 0x28(%r14), %rdi
callq 0x29f8
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x5df0
movq %rax, %r15
movl $0x5, (%rax)
movb $0x0, 0x10(%rax)
movq 0x101888(%r14), %rax
movq %rax, 0x18(%r15)
movq %r15, 0x101888(%r14)
movq %rbx, 0x8(%r15)
movq $0x0, 0x30(%r15)
leaq 0x20(%r15), %rsi
movq %r14, %rdi
callq 0x73e5
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x5df0
movl $0x6, (%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_O3/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 0x5df0
movl $0x7, (%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_O3/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 0x6685
xorl %eax, %eax
movsbl (%rdx,%rax), %esi
xorl %r8d, %esi
imull $0x1000193, %esi, %r8d  # imm = 0x1000193
incq %rax
cmpq %rax, %rcx
jne 0x666f
movl %r8d, 0x24(%rbx)
leaq 0x101820(%r14), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x734b
testq %rax, %rax
jne 0x66b9
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x70d6
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x67da
movq %rsi, %rbx
leaq 0x4107(%rip), %rcx      # 0xa7e4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x5b, %edi
callq 0x2040
cmpl $0x0, 0x20(%rbx)
jle 0x6734
leaq 0x410b(%rip), %r14      # 0xa808
xorl %r15d, %r15d
xorl %r12d, %r12d
testq %r15, %r15
je 0x6712
movq %r14, %rdi
xorl %eax, %eax
callq 0x20f0
movq 0x28(%rbx), %rax
movl (%rax,%r15), %edi
movq 0x8(%rax,%r15), %rsi
callq 0x7487
incq %r12
movslq 0x20(%rbx), %rax
addq $0x10, %r15
cmpq %rax, %r12
jl 0x6703
movl $0x5d, %edi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2040
movq 0x78(%rbx), %rsi
jmp 0x6768
movq 0x20(%rbx), %rsi
addq $0x28, %rsi
leaq 0x40b9(%rip), %rdi      # 0xa817
jmp 0x67b6
movq 0x20(%rbx), %rax
movq 0x78(%rax), %rsi
testq %rsi, %rsi
je 0x67e6
addq $0x28, %rsi
leaq 0x40b9(%rip), %rdi      # 0xa831
jmp 0x67b6
addq $0x28, %rbx
leaq 0x40d1(%rip), %rdi      # 0xa856
movq %rbx, %rsi
jmp 0x67b6
movq 0x30(%rbx), %rax
movq 0x20(%rax), %rax
movq 0x78(%rax), %rsi
addq $0x28, %rsi
leaq 0x406a(%rip), %rdi      # 0xa80b
jmp 0x67b6
movq 0x8(%rbx), %rax
movq 0x20(%rax), %rsi
addq $0x28, %rsi
leaq 0x4083(%rip), %rdi      # 0xa839
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x20f0
leaq 0x407b(%rip), %rdi      # 0xa84a
jmp 0x67ed
leaq 0x31c6(%rip), %rdi      # 0x999e
jmp 0x67ed
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x4035(%rip), %rdi      # 0xa822
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x20f0
nop