LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_expression.c
// Function: parse_inclusive_OR_expression
static struct UntypedExpr
parse_inclusive_OR_expression(const struct Token **ptr_tokvec)
{
	const struct Token *tokvec = *ptr_tokvec;

	struct UntypedExpr expr = parse_exclusive_OR_expression(&tokvec);

	while (1) {
		enum TokenKind kind = tokvec[0].kind;
		if (kind != OP_OR) {
			break;
		}
		++tokvec;

		const struct UntypedExpr expr2 = parse_exclusive_OR_expression(&tokvec);
		expr = binary_op_untyped(&expr, &expr2, kind);
	}
	*ptr_tokvec = tokvec;
	return expr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %r14
movq %rsi, -0x38(%rbp)
movq (%rsi), %rax
leaq -0x30(%rbp), %r15
movq %rax, (%r15)
movq %r15, %rsi
callq 0x8d99
movq (%r15), %rax
cmpl $0x12, (%rax)
jne 0x8d79
leaq -0xd8(%rbp), %r15
leaq -0x30(%rbp), %r12
addq $0x20, %rax
movq %rax, -0x30(%rbp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x8d99
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %r13
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %rbx
movl $0xa0, %edx
movq %r13, %rdi
movq %r14, %rsi
callq 0x1100
movl $0xa0, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1100
movq $0x12, (%r14)
movq %r13, 0x8(%r14)
movq %rbx, 0x10(%r14)
movq $0x0, 0x18(%r14)
movq -0x30(%rbp), %rax
cmpl $0x12, (%rax)
je 0x8d02
movq -0x30(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
movq %r14, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_expression.c
// Function: parse_exclusive_OR_expression
static struct UntypedExpr
parse_exclusive_OR_expression(const struct Token **ptr_tokvec)
{
	const struct Token *tokvec = *ptr_tokvec;

	struct UntypedExpr expr = parse_AND_expression(&tokvec);

	while (1) {
		enum TokenKind kind = tokvec[0].kind;
		if (kind != OP_HAT) {
			break;
		}
		++tokvec;

		const struct UntypedExpr expr2 = parse_AND_expression(&tokvec);
		expr = binary_op_untyped(&expr, &expr2, kind);
	}
	*ptr_tokvec = tokvec;

	return expr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %r14
movq %rsi, -0x38(%rbp)
movq (%rsi), %rax
leaq -0x30(%rbp), %r15
movq %rax, (%r15)
movq %r15, %rsi
callq 0x8e74
movq (%r15), %rax
cmpl $0x1b, (%rax)
jne 0x8e54
leaq -0xd8(%rbp), %r15
leaq -0x30(%rbp), %r12
addq $0x20, %rax
movq %rax, -0x30(%rbp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x8e74
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %r13
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %rbx
movl $0xa0, %edx
movq %r13, %rdi
movq %r14, %rsi
callq 0x1100
movl $0xa0, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1100
movq $0x1b, (%r14)
movq %r13, 0x8(%r14)
movq %rbx, 0x10(%r14)
movq $0x0, 0x18(%r14)
movq -0x30(%rbp), %rax
cmpl $0x1b, (%rax)
je 0x8ddd
movq -0x30(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
movq %r14, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_expression.c
// Function: parse_AND_expression
static struct UntypedExpr parse_AND_expression(const struct Token **ptr_tokvec)
{
	const struct Token *tokvec = *ptr_tokvec;

	struct UntypedExpr expr = parse_equality_expression(&tokvec);

	while (1) {
		enum TokenKind kind = tokvec[0].kind;
		if (kind != OP_AND) {
			break;
		}
		++tokvec;

		struct UntypedExpr expr2 = parse_equality_expression(&tokvec);
		expr = binary_op_untyped(&expr, &expr2, kind);
	}
	*ptr_tokvec = tokvec;

	return expr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %r14
movq %rsi, -0x38(%rbp)
movq (%rsi), %rax
leaq -0x30(%rbp), %r15
movq %rax, (%r15)
movq %r15, %rsi
callq 0x8f4f
movq (%r15), %rax
cmpl $0x11, (%rax)
jne 0x8f2f
leaq -0xd8(%rbp), %r15
leaq -0x30(%rbp), %r12
addq $0x20, %rax
movq %rax, -0x30(%rbp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x8f4f
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %r13
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %rbx
movl $0xa0, %edx
movq %r13, %rdi
movq %r14, %rsi
callq 0x1100
movl $0xa0, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1100
movq $0x11, (%r14)
movq %r13, 0x8(%r14)
movq %rbx, 0x10(%r14)
movq $0x0, 0x18(%r14)
movq -0x30(%rbp), %rax
cmpl $0x11, (%rax)
je 0x8eb8
movq -0x30(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
movq %r14, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_expression.c
// Function: parse_equality_expression
static struct UntypedExpr
parse_equality_expression(const struct Token **ptr_tokvec)
{
	const struct Token *tokvec = *ptr_tokvec;
	struct UntypedExpr expr = parse_relational_expression(&tokvec);

	while (1) {
		enum TokenKind kind = tokvec[0].kind;
		if (kind != OP_EQ_EQ && kind != OP_NOT_EQ) {
			break;
		}
		++tokvec;

		struct UntypedExpr expr2 = parse_relational_expression(&tokvec);
		expr = binary_op_untyped(&expr, &expr2, kind);
	}
	*ptr_tokvec = tokvec;
	return expr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %r14
movq %rsi, -0x38(%rbp)
movq (%rsi), %rax
leaq -0x30(%rbp), %r15
movq %rax, (%r15)
movq %r15, %rsi
callq 0x903f
movq (%r15), %rax
movl (%rax), %r12d
leal -0x13(%r12), %ecx
cmpl $0x1, %ecx
ja 0x901f
leaq -0xd8(%rbp), %r15
addq $0x20, %rax
movq %rax, -0x30(%rbp)
movq %r15, %rdi
leaq -0x30(%rbp), %rsi
callq 0x903f
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %r13
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %rbx
movl $0xa0, %edx
movq %r13, %rdi
movq %r14, %rsi
callq 0x1100
movl $0xa0, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1100
movl %r12d, (%r14)
movl $0x0, 0x4(%r14)
movq %r13, 0x8(%r14)
movq %rbx, 0x10(%r14)
movq $0x0, 0x18(%r14)
movq -0x30(%rbp), %rax
movl (%rax), %r12d
leal -0x13(%r12), %ecx
cmpl $0x2, %ecx
jb 0x8f97
movq -0x30(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
movq %r14, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_expression.c
// Function: parse_relational_expression
static struct UntypedExpr
parse_relational_expression(const struct Token **ptr_tokvec)
{
	const struct Token *tokvec = *ptr_tokvec;

	struct UntypedExpr expr = parse_shift_expression(&tokvec);

	while (1) {
		enum TokenKind kind = tokvec[0].kind;
		if (kind != OP_GT && kind != OP_GT_EQ && kind != OP_LT &&
		    kind != OP_LT_EQ) {
			break;
		}
		++tokvec;

		struct UntypedExpr expr2 = parse_shift_expression(&tokvec);
		expr = binary_op_untyped(&expr, &expr2, kind);
	}
	*ptr_tokvec = tokvec;
	return expr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %r14
movq %rsi, -0x38(%rbp)
movq (%rsi), %rax
leaq -0x30(%rbp), %rsi
movq %rax, (%rsi)
callq 0x9120
leaq -0xd8(%rbp), %r12
movq -0x30(%rbp), %rax
movl (%rax), %r15d
cmpl $0x10, %r15d
ja 0x9104
movl $0x1b000, %ecx          # imm = 0x1B000
btl %r15d, %ecx
jae 0x9104
addq $0x20, %rax
movq %rax, -0x30(%rbp)
movq %r12, %rdi
leaq -0x30(%rbp), %rsi
callq 0x9120
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %r13
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %rbx
movl $0xa0, %edx
movq %r13, %rdi
movq %r14, %rsi
callq 0x1100
movl $0xa0, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x1100
movl %r15d, (%r14)
movl $0x0, 0x4(%r14)
movq %r13, 0x8(%r14)
movq %rbx, 0x10(%r14)
movq $0x0, 0x18(%r14)
jmp 0x9070
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
movq %r14, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_expression.c
// Function: parse_shift_expression
static struct UntypedExpr
parse_shift_expression(const struct Token **ptr_tokvec)
{
	const struct Token *tokvec = *ptr_tokvec;
	struct UntypedExpr expr = parse_additive_expression(&tokvec);

	while (1) {
		enum TokenKind kind = tokvec[0].kind;
		if (kind != OP_LSHIFT && kind != OP_RSHIFT) {
			break;
		}
		++tokvec;

		struct UntypedExpr expr2 = parse_additive_expression(&tokvec);
		expr = binary_op_untyped(&expr, &expr2, kind);
	}
	*ptr_tokvec = tokvec;
	return expr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %r14
movq %rsi, -0x38(%rbp)
movq (%rsi), %rax
leaq -0x30(%rbp), %rsi
movq %rax, (%rsi)
callq 0x91f8
leaq -0xd8(%rbp), %r12
movq -0x30(%rbp), %rax
movl (%rax), %r15d
cmpl $0xe, %r15d
je 0x9164
cmpl $0xb, %r15d
jne 0x91dc
addq $0x20, %rax
movq %rax, -0x30(%rbp)
movq %r12, %rdi
leaq -0x30(%rbp), %rsi
callq 0x91f8
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %r13
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %rbx
movl $0xa0, %edx
movq %r13, %rdi
movq %r14, %rsi
callq 0x1100
movl $0xa0, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x1100
movl %r15d, (%r14)
movl $0x0, 0x4(%r14)
movq %r13, 0x8(%r14)
movq %rbx, 0x10(%r14)
movq $0x0, 0x18(%r14)
jmp 0x9151
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
movq %r14, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_expression.c
// Function: parse_additive_expression
static struct UntypedExpr
parse_additive_expression(const struct Token **ptr_tokvec)
{
	const struct Token *tokvec = *ptr_tokvec;
	struct UntypedExpr expr = parse_multiplicative_expression(&tokvec);

	while (1) {
		enum TokenKind kind = tokvec[0].kind;
		if (kind != OP_PLUS && kind != OP_MINUS) {
			break;
		}
		++tokvec;

		struct UntypedExpr expr2 = parse_multiplicative_expression(&tokvec);
		expr = binary_op_untyped(&expr, &expr2, kind);
	}
	*ptr_tokvec = tokvec;
	return expr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %r14
movq %rsi, -0x38(%rbp)
movq (%rsi), %rax
leaq -0x30(%rbp), %r15
movq %rax, (%r15)
movq %r15, %rsi
callq 0x92dc
movq (%r15), %rax
movl (%rax), %r12d
cmpl $0x1, %r12d
ja 0x92bc
leaq -0xd8(%rbp), %r15
addq $0x20, %rax
movq %rax, -0x30(%rbp)
movq %r15, %rdi
leaq -0x30(%rbp), %rsi
callq 0x92dc
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %r13
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %rbx
movl $0xa0, %edx
movq %r13, %rdi
movq %r14, %rsi
callq 0x1100
movl $0xa0, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1100
movl %r12d, (%r14)
movl $0x0, 0x4(%r14)
movq %r13, 0x8(%r14)
movq %rbx, 0x10(%r14)
movq $0x0, 0x18(%r14)
movq -0x30(%rbp), %rax
movl (%rax), %r12d
cmpl $0x2, %r12d
jb 0x923c
movq -0x30(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
movq %r14, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_expression.c
// Function: parse_multiplicative_expression
static struct UntypedExpr
parse_multiplicative_expression(const struct Token **ptr_tokvec)
{
	const struct Token *tokvec = *ptr_tokvec;
	struct UntypedExpr expr = parse_cast_expression(&tokvec);

	while (1) {
		enum TokenKind kind = tokvec[0].kind;
		if (kind != OP_ASTERISK && kind != OP_SLASH && kind != OP_PERCENT) {
			break;
		}
		++tokvec;

		struct UntypedExpr expr2 = parse_cast_expression(&tokvec);

		expr = binary_op_untyped(&expr, &expr2, kind);
	}
	*ptr_tokvec = tokvec;
	return expr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %r14
movq %rsi, -0x38(%rbp)
movq (%rsi), %rax
leaq -0x30(%rbp), %rsi
movq %rax, (%rsi)
callq 0x8229
leaq -0xd8(%rbp), %r12
movq -0x30(%rbp), %rax
movl (%rax), %r15d
cmpl $0x9, %r15d
ja 0x93a1
movl $0x320, %ecx            # imm = 0x320
btl %r15d, %ecx
jae 0x93a1
addq $0x20, %rax
movq %rax, -0x30(%rbp)
movq %r12, %rdi
leaq -0x30(%rbp), %rsi
callq 0x8229
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %r13
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %rbx
movl $0xa0, %edx
movq %r13, %rdi
movq %r14, %rsi
callq 0x1100
movl $0xa0, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x1100
movl %r15d, (%r14)
movl $0x0, 0x4(%r14)
movq %r13, 0x8(%r14)
movq %rbx, 0x10(%r14)
movq $0x0, 0x18(%r14)
jmp 0x930d
movq -0x30(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
movq %r14, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/error.c
// Function: error_unexpected_token
_Noreturn void error_unexpected_token(const struct Token *tokvec,
                                      const char *str)
{
	fprintf(stderr, "Unexpected token: `");
	print_token_at(tokvec);
	fprintf(stderr, "` while expecting %s. \n", str);
	fprintf(stderr, "Next token: `");
	print_token_at(tokvec + 1);
	fprintf(stderr, "`\n");
	fprintf(stderr, "Previous token: `");
	print_token_at(tokvec - 1);
	/* it does not fail if tokvec[0] was the
	   first token, since there always is at least one token (BEGINNING) */
	fprintf(stderr, "`\n");
	exit(EXIT_FAILURE);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0xdc1d(%rip), %r15      # 0x16ff8
movq (%r15), %rcx
leaq 0x6df3(%rip), %rdi      # 0x101d8
movl $0x13, %esi
movl $0x1, %edx
callq 0x1180
movq %rbx, %rdi
callq 0xc2d6
movq (%r15), %rdi
leaq 0x6de6(%rip), %rsi      # 0x101ec
movq %r14, %rdx
xorl %eax, %eax
callq 0x10f0
movq (%r15), %rcx
leaq 0x6dea(%rip), %rdi      # 0x10204
movl $0xd, %esi
movl $0x1, %edx
callq 0x1180
leaq 0x20(%rbx), %rdi
callq 0xc2d6
movq (%r15), %rcx
leaq 0x5aa9(%rip), %r14      # 0xeee5
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
callq 0x1180
movq (%r15), %rcx
leaq 0x6dba(%rip), %rdi      # 0x10212
movl $0x11, %esi
movl $0x1, %edx
callq 0x1180
addq $-0x20, %rbx
movq %rbx, %rdi
callq 0xc2d6
movq (%r15), %rcx
movl $0x2, %esi
movl $0x1, %edx
movq %r14, %rdi
callq 0x1180
movl $0x1, %edi
callq 0x1170
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/error.c
// Function: expect_and_consume
void expect_and_consume(const struct Token **ptr_tokvec, enum TokenKind kind,
                        const char *str)
{
	const struct Token *tokvec = *ptr_tokvec;

	if (tokvec[0].kind != kind) {
		error_unexpected_token(tokvec, str);
	}
	++tokvec;
	*ptr_tokvec = tokvec;
}

// Assembly:
movq %rdi, %rax
movq (%rdi), %rdi
cmpl %esi, (%rdi)
jne 0x94c1
addq $0x20, %rdi
movq %rdi, (%rax)
retq
pushq %rbp
movq %rsp, %rbp
movq %rdx, %rsi
callq 0x93c4
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/type.c
// Function: ptr_to_type
struct Type ptr_to_type(const struct Type *ref_type)
{
	struct Type *ptr_type = calloc(1, sizeof(struct Type));
	*ptr_type = *ref_type;
	struct Type type;
	type.type_category = PTR_;
	type.derived_from = ptr_type;
	return type;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl $0x1, %edi
movl $0x50, %esi
callq 0x10d0
movl $0xa, %ecx
movq %rax, %rdi
movq %rbx, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl $0x1, (%r14)
movq %rax, 0x8(%r14)
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/type.c
// Function: arr_of_type
struct Type arr_of_type(const struct Type *ref_type, int length)
{
	struct Type *ptr_type = calloc(1, sizeof(struct Type));
	*ptr_type = *ref_type;

	struct Type type;
	type.type_category = ARRAY;
	type.derived_from = ptr_type;
	type.array_length = length;
	return type;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movl $0x1, %edi
movl $0x50, %esi
callq 0x10d0
movl $0xa, %ecx
movq %rax, %rdi
movq %r14, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl $0x2, (%r15)
movq %rax, 0x8(%r15)
movl %ebx, 0x10(%r15)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_type.c
// Function: parse_parameter_declaration
struct TypeAndIdent *
parse_parameter_declaration(const struct Token **ptr_tokvec)
{
	const char *ident_str = 0; /* null when abstract */
	struct TypeAndIdent *ptr_param_info =
	    calloc(1, sizeof(struct TypeAndIdent));

	struct Type type;
	{
		struct Type *ptr_base_type = parse_type_specifier(ptr_tokvec);
		struct Vector /*<struct TypeNode>*/ *ptr_vec = init_vector_();
		if ((*ptr_tokvec)[0].kind == OP_COMMA ||
		    (*ptr_tokvec)[0].kind == RIGHT_PAREN) {
			/* comma or right paren signifies the immediate end of
			 * parameter_declaration */
		} else {
			parse_declarator(ptr_tokvec, &ident_str, ptr_vec);
			if ((0)) {
				unsupported("abstract-declarator inside parameter declaration");
			}
		}
		push_vector(ptr_vec, ptr_base_type);
		type = from_type3_to_type(ptr_vec->vector);
	}

	if (type.type_category == FN) {
		/* shall be adjusted to `pointer to func`, according to the spec */
		ptr_param_info->type = ptr_to_type(&type);
	} else {
		/* convert to pointer */
		if (type.type_category == ARRAY) {
			type.type_category = PTR_;
		}
		ptr_param_info->type = type;
	}
	ptr_param_info->ident_str = ident_str;
	return ptr_param_info;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xb0, %rsp
movq %rdi, %r14
movq $0x0, -0x28(%rbp)
movl $0x1, %edi
movl $0x58, %esi
callq 0x10d0
movq %rax, %rbx
movq %r14, %rdi
callq 0x97ab
movq %rax, %r15
callq 0x5b39
movq %rax, %r12
movq (%r14), %rax
movl (%rax), %eax
cmpl $0x7, %eax
je 0x9724
cmpl $0xa, %eax
je 0x9724
leaq -0x28(%rbp), %rsi
movq %r14, %rdi
movq %r12, %rdx
callq 0x9a7c
movq %r12, %rdi
movq %r15, %rsi
callq 0x5ba7
movq 0x8(%r12), %rsi
leaq -0xc8(%rbp), %r14
movq %r14, %rdi
callq 0x9b85
leaq -0x78(%rbp), %rax
movl $0xa, %ecx
movq %rax, %rdi
movq %r14, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl (%rax), %eax
cmpl $0x2, %eax
je 0x977a
cmpl $0x3, %eax
jne 0x9781
leaq -0x78(%rbp), %rsi
movq %r14, %rdi
callq 0x9639
movl $0xa, %ecx
movq %rbx, %rdi
movq %r14, %rsi
jmp 0x978d
movl $0x1, -0x78(%rbp)
leaq -0x78(%rbp), %rsi
movl $0xa, %ecx
movq %rbx, %rdi
rep  movsq (%rsi), %es:(%rdi)
movq -0x28(%rbp), %rax
movq %rax, 0x50(%rbx)
movq %rbx, %rax
addq $0xb0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_type.c
// Function: parse_declarator
static void parse_declarator(const struct Token **ptr_tokvec,
                             const char **ptr_to_ident_str,
                             struct Vector /*<struct TypeNode>*/ *ptr_vec)
{
	int asterisk_num = 0;
	for (; (*ptr_tokvec)[0].kind == OP_ASTERISK;
	     ++*ptr_tokvec, skip_consts_or_noreturns(ptr_tokvec)) {
		asterisk_num++;
	}

	parse_direct_declarator(ptr_tokvec, ptr_to_ident_str, ptr_vec);

	while (asterisk_num-- > 0) {
		struct TypeNode *ptr = calloc(1, sizeof(struct TypeNode));
		ptr->type_category = PTR_;
		push_vector(ptr_vec, ptr);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rdi, %r14
movq (%rdi), %rdi
xorl %r13d, %r13d
cmpl $0x5, (%rdi)
jne 0x9abb
xorl %r13d, %r13d
movl 0x20(%rdi), %eax
addq $0x20, %rdi
andl $-0x2, %eax
cmpl $0x44, %eax
je 0x9aa1
incl %r13d
cmpl $0x5, (%rdi)
je 0x9aa1
movq %rdi, (%r14)
movq %rdi, -0x30(%rbp)
movups (%rbx), %xmm0
movaps %xmm0, -0x40(%rbp)
movl (%rdi), %eax
cmpl $0x18, %eax
je 0x9b09
cmpl $0x6, %eax
jne 0x9b79
addq $0x20, %rdi
leaq -0x30(%rbp), %r15
movq %rdi, (%r15)
leaq -0x40(%rbp), %rdx
movq %r15, %rdi
callq 0x9a7c
leaq 0x6b48(%rip), %rdx      # 0x1063c
movq %r15, %rdi
movl $0x7, %esi
callq 0x94af
movq (%r15), %rax
movq %rax, (%r14)
jmp 0x9b18
movq 0x8(%rdi), %rax
movq %rax, (%rsi)
addq $0x20, %rdi
movq %rdi, -0x30(%rbp)
leaq -0x30(%rbp), %r15
leaq -0x40(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x9fa4
movq (%r15), %rax
movq %rax, (%r14)
movaps (%r12), %xmm0
movups %xmm0, (%rbx)
testl %r13d, %r13d
jle 0x9b6a
incl %r13d
movl $0x1, %edi
movl $0x50, %esi
callq 0x10d0
movl $0x1, (%rax)
movq %rbx, %rdi
movq %rax, %rsi
callq 0x5ba7
decl %r13d
cmpl $0x1, %r13d
jg 0x9b41
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6ae9(%rip), %rsi      # 0x10669
callq 0x93c4
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_type.c
// Function: from_type3_to_type
static struct Type from_type3_to_type(const void **type3)
{
	struct Type type;
	const struct TypeNode *ptr_elem = type3[0];
	struct TypeNode elem = *ptr_elem;
	type = elem;
	switch (elem.type_category) {
	case INT_:
	case CHAR_:
	case STRUCT_NOT_UNION:
	case UNION:
	case VOID_:
	case ENUM_:
		return type;

	case PTR_:
	case ARRAY:
	case FN: {
		struct Type *ptr_to_current_type = calloc(1, sizeof(struct Type));
		*ptr_to_current_type = from_type3_to_type(type3 + 1);

		type.derived_from = ptr_to_current_type;

		if (type.type_category == ARRAY &&
		    type.derived_from->type_category == FN) {
			fprintf(stderr, "It is illegal to declare an array of functions\n");
			exit(EXIT_FAILURE);
		} else if (type.type_category == FN &&
		           type.derived_from->type_category == FN) {
			fprintf(stderr,
			        "It is illegal for a function to return a function type\n");
			exit(EXIT_FAILURE);
		} else if (type.type_category == FN &&
		           type.derived_from->type_category == ARRAY) {
			fprintf(stderr,
			        "It is illegal for a function to return an array type\n");
			exit(EXIT_FAILURE);
		}
		return type;
	}
	}
	fprintf(stderr,
	        "****************************\n"
	        "* INTERNAL COMPILER ERROR @ %s\n"
	        "* Unexpected value of TypeCategory: `elem.type_category` is `%d`\n"
	        "****************************\n",
	        __func__, elem.type_category);
	exit(EXIT_FAILURE);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r12
movq %rdi, %rbx
movq (%rsi), %rsi
movl (%rsi), %r14d
addq $0x4, %rsi
addq $0x4, %rdi
movl $0x13, %ecx
rep  movsl (%rsi), %es:(%rdi)
movl %r14d, (%rbx)
cmpl $0x8, %r14d
ja 0x9c45
movl $0x1f1, %eax            # imm = 0x1F1
btl %r14d, %eax
jae 0x9bdb
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, %edi
movl $0x50, %esi
callq 0x10d0
movq %rax, %r15
addq $0x8, %r12
leaq -0x78(%rbp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x9b85
movl $0xa, %ecx
movq %r15, %rdi
movq %r13, %rsi
rep  movsq (%rsi), %es:(%rdi)
movq %r15, 0x8(%rbx)
cmpl $0x2, %r14d
jne 0x9c1e
cmpl $0x3, (%r15)
je 0x9c3b
cmpl $0x3, %r14d
jne 0x9bc9
cmpl $0x3, (%r15)
je 0x9c40
cmpl $0x3, %r14d
jne 0x9bc9
cmpl $0x2, (%r15)
jne 0x9bc9
callq 0x20d2
callq 0x2122
callq 0x20fa
movl %r14d, %edi
callq 0x214a
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_type.c
// Function: try_parse_type_specifier_and_semicolon
struct Type *
try_parse_type_specifier_and_semicolon(const struct Token **ptr_tokvec)
{
	const struct Token *tokvec3 = *ptr_tokvec;
	struct Type *ptr_type = parse_type_specifier(&tokvec3);
	if (tokvec3[0].kind != SEMICOLON) {
		return 0;
	}
	++tokvec3;
	*ptr_tokvec = tokvec3;
	return ptr_type;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
leaq -0x18(%rbp), %r14
movq %rax, (%r14)
movq %r14, %rdi
callq 0x97ab
movq (%r14), %rcx
cmpl $0x1a, (%rcx)
jne 0x9c82
addq $0x20, %rcx
movq %rcx, -0x18(%rbp)
movq %rcx, (%rbx)
jmp 0x9c84
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_type.c
// Function: parse_struct_declaration
struct Type parse_struct_declaration(const struct Token **ptr_tokvec,
                                     const char **ptr_to_ident_str)
{
	struct Type *ptr_base_type = parse_type_specifier(ptr_tokvec);
	struct Vector /*<struct TypeNode>*/ *ptr_vec = init_vector_();
	parse_declarator(ptr_tokvec, ptr_to_ident_str, ptr_vec);
	push_vector(ptr_vec, ptr_base_type);
	return from_type3_to_type(ptr_vec->vector);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
callq 0x97ab
movq %rax, %r12
callq 0x5b39
movq %rax, %r13
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x9a7c
movq %r13, %rdi
movq %r12, %rsi
callq 0x5ba7
movq 0x8(%r13), %rsi
movq %r15, %rdi
callq 0x9b85
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_type.c
// Function: parse_init_declarator
struct UntypedExpr *
parse_init_declarator(const struct Token **ptr_tokvec,
                      const char **ptr_to_ident_str,
                      struct Vector /*<struct TypeNode>*/ *ptr_vec)
{
	struct UntypedExpr *ptr_expr = 0;
	parse_declarator(ptr_tokvec, ptr_to_ident_str, ptr_vec);
	if ((*ptr_tokvec)[0].kind == OP_EQ) {
		++*ptr_tokvec;
		ptr_expr = calloc(1, sizeof(struct UntypedExpr));
		*ptr_expr = parse_assignment_expression(ptr_tokvec);
	}
	return ptr_expr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xa8, %rsp
movq %rdi, %rbx
callq 0x9a7c
movq (%rbx), %rax
cmpl $0x17, (%rax)
jne 0x9d4b
addq $0x20, %rax
movq %rax, (%rbx)
movl $0x1, %edi
movl $0xa0, %esi
callq 0x10d0
movq %rax, %r14
leaq -0xb8(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x8114
movl $0xa0, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x1100
jmp 0x9d4e
xorl %r14d, %r14d
movq %r14, %rax
addq $0xa8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_type.c
// Function: can_start_a_type
int can_start_a_type(const struct Token *tokvec)
{
	return tokvec[0].kind == RES_INT || tokvec[0].kind == RES_CHAR ||
	       tokvec[0].kind == RES_STRUCT || tokvec[0].kind == RES_VOID ||
	       tokvec[0].kind == RES_ENUM || tokvec[0].kind == RES_CONST ||
	       tokvec[0].kind == RES_NORETURN || tokvec[0].kind == RES_UNION;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl (%rdi), %ecx
leal -0x35(%rcx), %edx
cmpl $0x11, %edx
jae 0x9d7c
movl $0x1, %eax
movl $0x1c229, %esi          # imm = 0x1C229
btl %edx, %esi
jb 0x9d84
xorl %eax, %eax
cmpl $0x4a, %ecx
sete %al
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_type.c
// Function: parse_declaration
struct Type parse_declaration(const struct Token **ptr_tokvec,
                              const char **ptr_to_ident_str,
                              struct UntypedExpr **ptr_ptr_uexpr)
{
	struct Type *ptr_base_type = parse_type_specifier(ptr_tokvec);
	struct Vector /*<struct TypeNode>*/ *ptr_vec = init_vector_();
	struct UntypedExpr *ptr_uexpr = parse_init_declarator(
	    ptr_tokvec, ptr_to_ident_str, ptr_vec); /* nullable */
	*ptr_ptr_uexpr = ptr_uexpr;
	push_vector(ptr_vec, ptr_base_type);
	expect_and_consume(
	    ptr_tokvec, SEMICOLON,
	    "semicolon at the end of variable definition/declaration");
	return from_type3_to_type(ptr_vec->vector);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, -0x30(%rbp)
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x97ab
movq %rax, %r13
callq 0x5b39
movq %rax, %r14
movq %r12, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x9cee
movq -0x30(%rbp), %rcx
movq %rax, (%rcx)
movq %r14, %rdi
movq %r13, %rsi
callq 0x5ba7
leaq 0x66dd(%rip), %rdx      # 0x104b8
movq %r12, %rdi
movl $0x1a, %esi
callq 0x94af
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0x9b85
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_type.c
// Function: parse_type_name
struct Type parse_type_name(const struct Token **ptr_tokvec)
{
	struct Type *ptr_base_type = parse_type_specifier(ptr_tokvec);
	struct Vector /*<struct TypeNode>*/ *ptr_vec = init_vector_();

	const struct Token *tokvec = *ptr_tokvec;

	/* optional */
	if (tokvec[0].kind == OP_ASTERISK || tokvec[0].kind == LEFT_PAREN ||
	    tokvec[0].kind == LEFT_BRACKET) {
		parse_abstract_declarator(&tokvec, ptr_vec);
	}
	push_vector(ptr_vec, ptr_base_type);

	*ptr_tokvec = tokvec;
	return from_type3_to_type(ptr_vec->vector);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x97ab
movq %rax, %r15
callq 0x5b39
movq %rax, %r12
movq (%r14), %rax
movq %rax, -0x28(%rbp)
movl (%rax), %eax
cmpq $0x36, %rax
ja 0x9eba
movabsq $0x40000000000060, %rcx # imm = 0x40000000000060
btq %rax, %rcx
jae 0x9eba
leaq -0x28(%rbp), %rdi
movq %r12, %rsi
callq 0x9ee9
movq %r12, %rdi
movq %r15, %rsi
callq 0x5ba7
movq -0x28(%rbp), %rax
movq %rax, (%r14)
movq 0x8(%r12), %rsi
movq %rbx, %rdi
callq 0x9b85
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_type.c
// Function: parse_abstract_declarator
static void
parse_abstract_declarator(const struct Token **ptr_tokvec,
                          struct Vector /*<struct TypeNode>*/ *ptr_vec)
{
	const struct Token *tokvec = *ptr_tokvec;

	if (tokvec[0].kind != OP_ASTERISK) {
		parse_direct_abstract_declarator(&tokvec, ptr_vec);
		*ptr_tokvec = tokvec;
		return;
	}

	int asterisk_num = 0;
	for (; tokvec[0].kind == OP_ASTERISK;
	     ++tokvec, skip_consts_or_noreturns(&tokvec)) {
		asterisk_num++;
	}

	/* optional */
	if (tokvec[0].kind == LEFT_PAREN || tokvec[0].kind == LEFT_BRACKET) {
		parse_direct_abstract_declarator(&tokvec, ptr_vec);
	}

	while (asterisk_num-- > 0) {
		struct TypeNode *ptr = calloc(1, sizeof(struct TypeNode));
		ptr->type_category = PTR_;
		push_vector(ptr_vec, ptr);
	}

	*ptr_tokvec = tokvec;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rax
movq %rax, -0x28(%rbp)
cmpl $0x5, (%rax)
jne 0x9f35
xorl %r12d, %r12d
movl $0x1, %r15d
movq -0x28(%rbp), %rax
movl (%rax), %ecx
cmpl $0x5, %ecx
jne 0x9f43
movl 0x20(%rax), %ecx
addq $0x20, %rax
andl $-0x2, %ecx
cmpl $0x44, %ecx
je 0x9f1e
incl %r12d
incl %r15d
jmp 0x9f17
leaq -0x28(%rbp), %rdi
movq %r14, %rsi
callq 0xa239
jmp 0x9f90
cmpl $0x6, %ecx
je 0x9f4d
cmpl $0x36, %ecx
jne 0x9f5e
leaq -0x28(%rbp), %rdi
movq %rax, (%rdi)
movq %r14, %rsi
callq 0xa239
jmp 0x9f62
movq %rax, -0x28(%rbp)
testl %r12d, %r12d
je 0x9f90
movl $0x1, %edi
movl $0x50, %esi
callq 0x10d0
movl $0x1, (%rax)
movq %r14, %rdi
movq %rax, %rsi
callq 0x5ba7
decl %r15d
cmpl $0x1, %r15d
jg 0x9f67
movq -0x28(%rbp), %rax
movq %rax, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/parse_type.c
// Function: parse_direct_abstract_declarator
static void
parse_direct_abstract_declarator(const struct Token **ptr_tokvec,
                                 struct Vector /*<struct TypeNode>*/ *ptr_vec)
{
	const struct Token *tokvec = *ptr_tokvec;

	struct Vector vec = *ptr_vec;
	if (tokvec[0].kind == LEFT_PAREN && !can_start_a_type(&tokvec[1]) &&
	    tokvec[1].kind !=
	        RIGHT_PAREN) { /* an empty parenthesis must be of a function */
		++tokvec;
		parse_abstract_declarator(&tokvec, &vec);
		expect_and_consume(&tokvec, RIGHT_PAREN,
		                   "closing parenthesis inside direct declarator");
	}

	parse_dcl_postfixes(&tokvec, &vec);

	*ptr_tokvec = tokvec;
	*ptr_vec = vec;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rax
movq %rax, -0x28(%rbp)
movups (%rsi), %xmm0
movaps %xmm0, -0x40(%rbp)
cmpl $0x6, (%rax)
jne 0xa2a9
movl 0x20(%rax), %edi
leal -0x35(%rdi), %ecx
cmpl $0x16, %ecx
setb %dl
movl $0x21c229, %esi         # imm = 0x21C229
shrl %cl, %esi
cmpl $0x7, %edi
je 0xa2a9
andb %sil, %dl
jne 0xa2a9
addq $0x20, %rax
leaq -0x28(%rbp), %r15
movq %rax, (%r15)
leaq -0x40(%rbp), %rsi
movq %r15, %rdi
callq 0x9ee9
leaq 0x63a0(%rip), %rdx      # 0x1063c
movq %r15, %rdi
movl $0x7, %esi
callq 0x94af
leaq -0x28(%rbp), %r15
leaq -0x40(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x9fa4
movq (%r15), %rax
movq %rax, (%r14)
movaps (%r12), %xmm0
movups %xmm0, (%rbx)
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/map.c
// Function: insert
void insert(struct Map2 *map, const char *key, void *value)
{
	struct _mapchip a;
	a.ptr = key;
	a.value = value;
	if (map->_alloc < map->_length + 1) {

		map->_vec =
		    realloc(map->_vec, map->_alloc * 2 * sizeof(struct _mapchip));

		map->_alloc *= 2;
	}

	map->_vec[map->_length] = a;
	++(map->_length);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movslq 0x4(%rdi), %rsi
cmpl (%rdi), %esi
jg 0xa308
movq 0x8(%r14), %rdi
shlq $0x5, %rsi
callq 0x1120
movq %rax, 0x8(%r14)
shll 0x4(%r14)
movq 0x8(%r14), %rax
movslq (%r14), %rcx
leal 0x1(%rcx), %edx
shlq $0x4, %rcx
movq %r15, (%rax,%rcx)
movq %rbx, 0x8(%rax,%rcx)
movl %edx, (%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/map.c
// Function: lookup
void *lookup(const struct Map2 *m, const char *key)
{
	for (int i = (m->_length) - 1; i >= 0; --i) {
		if (strcmp(m->_vec[i].ptr, key) == 0) {
			return m->_vec[i].value;
		}
	}
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl (%rdi), %r12d
leal 0x1(%r12), %r13d
shlq $0x4, %r12
orq $0x8, %r12
decl %r13d
testl %r13d, %r13d
jle 0xa378
movq 0x8(%r14), %r15
movq -0x18(%r15,%r12), %rdi
addq $-0x10, %r12
movq %rbx, %rsi
callq 0x10e0
testl %eax, %eax
jne 0xa351
movq (%r15,%r12), %rax
jmp 0xa37a
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/print_x86_64.c
// Function: gen_prologue
void gen_prologue(int alloc_size, const char *fname)
{
	memo2(__func__, "%d, \"%s\"", alloc_size, fname);
	printf(".global " PREFIX "%s\n" PREFIX "%s:\n"
	       "  pushq %%rbp\n"
	       "  movq %%rsp, %%rbp\n",
	       fname, fname);
	if (alloc_size) {
		printf("  subq $%d, %%rsp\n", alloc_size);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movl %edi, %ebx
leaq 0x6387(%rip), %rdi      # 0x10799
leaq 0x638d(%rip), %rsi      # 0x107a6
movl %ebx, %edx
movq %r14, %rcx
xorl %eax, %eax
callq 0xa456
leaq 0x6383(%rip), %rdi      # 0x107af
movq %r14, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0x1070
testl %ebx, %ebx
je 0xa451
leaq 0x639d(%rip), %rdi      # 0x107e1
movl %ebx, %esi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x1070
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/print_x86_64.c
// Function: memo2
static void memo2(const char *funcname, const char *fmt, ...)
{
	printf("//%s(", funcname);

#ifdef __STDC__
	va_list ap;
#endif
#ifndef __STDC__
	struct va_list_tag ap[1];
#endif

	va_start(ap, fmt);
	vprintf(fmt, ap);
	va_end(ap);

	printf(");\n");

	if (global_ir) {
		fprintf(global_ir, "%s(", funcname);
		va_start(ap, fmt);
		vfprintf(global_ir, fmt, ap);
		va_end(ap);

		fprintf(global_ir, ");\n");
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq -0xf0(%rbp), %r15
movq %rdx, 0x10(%r15)
movq %rcx, 0x18(%r15)
movq %r8, 0x20(%r15)
movq %r9, 0x28(%r15)
testb %al, %al
je 0xa4b7
movaps %xmm0, -0xc0(%rbp)
movaps %xmm1, -0xb0(%rbp)
movaps %xmm2, -0xa0(%rbp)
movaps %xmm3, -0x90(%rbp)
movaps %xmm4, -0x80(%rbp)
movaps %xmm5, -0x70(%rbp)
movaps %xmm6, -0x60(%rbp)
movaps %xmm7, -0x50(%rbp)
leaq 0x714f(%rip), %rdi      # 0x1160d
movq %r14, %rsi
xorl %eax, %eax
callq 0x1070
leaq -0x40(%rbp), %rsi
movq %r15, 0x10(%rsi)
leaq 0x10(%rbp), %r12
movq %r12, 0x8(%rsi)
movabsq $0x3000000010, %r13     # imm = 0x3000000010
movq %r13, (%rsi)
movq %rbx, %rdi
callq 0x1110
leaq 0x73a2(%rip), %rdi      # 0x11896
callq 0x1050
movq 0xcbe0(%rip), %rdi      # 0x170e0
testq %rdi, %rdi
je 0xa551
leaq 0x7103(%rip), %rsi      # 0x1160f
movq %r14, %rdx
xorl %eax, %eax
callq 0x10f0
leaq -0x40(%rbp), %rdx
movq %r13, (%rdx)
movq %r12, 0x8(%rdx)
movq %r15, 0x10(%rdx)
movq 0xcbb4(%rip), %rdi      # 0x170e0
movq %rbx, %rsi
callq 0x1140
movq 0xcba5(%rip), %rcx      # 0x170e0
leaq 0x70d1(%rip), %rdi      # 0x11613
movl $0x3, %esi
movl $0x1, %edx
callq 0x1180
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/print_x86_64.c
// Function: gen_prologue_static
void gen_prologue_static(int alloc_size, const char *fname)
{
	memo2(__func__, "%d, \"%s\"", alloc_size, fname);
	printf(PREFIX "%s:\n"
	              "  pushq %%rbp\n"
	              "  movq %%rsp, %%rbp\n",
	       fname);
	if (alloc_size) {
		printf("  subq $%d, %%rsp\n", alloc_size);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movl %edi, %ebx
leaq 0x627e(%rip), %rdi      # 0x107f4
leaq 0x6229(%rip), %rsi      # 0x107a6
movl %ebx, %edx
movq %r14, %rcx
xorl %eax, %eax
callq 0xa456
leaq 0x622a(%rip), %rdi      # 0x107ba
movq %r14, %rsi
xorl %eax, %eax
callq 0x1070
testl %ebx, %ebx
je 0xa5b2
leaq 0x623c(%rip), %rdi      # 0x107e1
movl %ebx, %esi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x1070
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/print_x86_64.c
// Function: gen_epilogue_nbyte
void gen_epilogue_nbyte(int n, int label_name)
{
	memo2(__func__, "%d, %d", n, label_name);
	switch (n) {
	case 1:
	case 4:
		gen_epilogue(label_name);
		break;
	case 8:
		gen_epilogue_8byte(label_name);
		break;
	default:
		poison_and_die("Unsupported width; cannot happen");
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movl %edi, %r14d
leaq 0x623e(%rip), %rdi      # 0x10808
leaq 0x6d3e(%rip), %rsi      # 0x1130f
movl %r14d, %edx
movl %ebx, %ecx
xorl %eax, %eax
callq 0xa456
cmpl $0x1, %r14d
je 0xa5ef
cmpl $0x8, %r14d
je 0xa5fa
cmpl $0x4, %r14d
jne 0xa605
movl %ebx, %edi
popq %rbx
popq %r14
popq %rbp
jmp 0xbd48
movl %ebx, %edi
popq %rbx
popq %r14
popq %rbp
jmp 0xbd76
leaq 0x620f(%rip), %rdi      # 0x1081b
callq 0xa3e0
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/print_x86_64.c
// Function: gen_epilogue_returning_integerclass_struct_or_union
void gen_epilogue_returning_integerclass_struct_or_union(int size, int label)
{
	memo2(__func__, "%d, %d", size, label);
	printf(".L%d:", label);

	puts("  movq (%rsp), %rcx");

	if (size > 8) {
		printf("  movq (%%rcx), %%rax\n"
		       "  addq $8, %%rcx\n");
		copy_to_8byte_reg(size - 8, "edx", "rdx");
	} else {
		copy_to_8byte_reg(size, "eax", "rax");
	}
	printf("  leave\n"
	       "  ret\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %r14d
movl %edi, %ebx
leaq 0x6218(%rip), %rdi      # 0x1083c
leaq 0x6ce4(%rip), %rsi      # 0x1130f
movl %ebx, %edx
movl %r14d, %ecx
xorl %eax, %eax
callq 0xa456
leaq 0x6232(%rip), %rdi      # 0x10870
movl %r14d, %esi
xorl %eax, %eax
callq 0x1070
leaq 0x6227(%rip), %rdi      # 0x10876
callq 0x1050
cmpl $0x9, %ebx
jl 0xa67a
leaq 0x622a(%rip), %rdi      # 0x1088a
xorl %eax, %eax
callq 0x1070
addl $-0x8, %ebx
leaq 0x6241(%rip), %rsi      # 0x108b2
leaq 0x623e(%rip), %rdx      # 0x108b6
jmp 0xa688
leaq 0x6239(%rip), %rsi      # 0x108ba
leaq 0x67a8(%rip), %rdx      # 0x10e30
movl %ebx, %edi
callq 0xa69f
leaq 0x7203(%rip), %rdi      # 0x11899
popq %rbx
popq %r14
popq %rbp
jmp 0x1050
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/print_x86_64.c
// Function: copy_to_8byte_reg
static void copy_to_8byte_reg(int size, const char *reg_4byte,
                              const char *reg_8byte)
{
	if (size == 8) {
		printf("  movq (%%rcx), %%%s\n", reg_8byte);
		return;
	}
	if (size >= 4) {
		printf("  movl (%%rcx), %%%s\n", reg_4byte);
		if (size == 4) {
			return;
		}

		if (size == 7) {
			puts("  movzwl 4(%rcx), %edi\n"
			     "  movzbl 6(%rcx), %esi\n"
			     "  shll $16, %esi\n"
			     "  orl %esi,  %edi\n"
			     "  shlq $32, %rdi");
		} else if (size == 6) {
			puts("  movzwl 4(%rcx), %edi\n"
			     "  shlq $32, %rdi");
		} else if (size == 5) {
			puts("  movzbl 4(%rcx), %edi\n"
			     "  shlq $32, %rdi");
		}
		printf("  orq %%rdi, %%%s\n", reg_8byte);
	} else if (size == 3) {
		printf("  movzwl (%%rcx), %%%s\n"
		       "  movzbl 2(%%rcx), %%edi\n"
		       "  shll $16, %%edi\n"
		       "  orl %%edi, %%%s\n",
		       reg_4byte, reg_4byte);
	} else if (size == 2) {
		printf("  movzwl (%%rcx), %%%s\n", reg_4byte);
	} else if (size == 1) {
		printf("  movzbl (%%rcx), %%%s\n", reg_4byte);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
cmpl $0x8, %edi
jne 0xa6ba
leaq 0x6f62(%rip), %rdi      # 0x11617
jmp 0xa74d
movl %edi, %r14d
cmpl $0x4, %edi
jl 0xa6f3
leaq 0x6f64(%rip), %rdi      # 0x1162d
xorl %eax, %eax
callq 0x1070
addl $-0x4, %r14d
cmpl $0x3, %r14d
ja 0xa746
leaq 0x6043(%rip), %rax      # 0x10724
movslq (%rax,%r14,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x6fdc(%rip), %rdi      # 0x116cd
jmp 0xa741
cmpl $0x1, %r14d
je 0xa728
cmpl $0x2, %r14d
je 0xa71f
cmpl $0x3, %r14d
jne 0xa71a
leaq 0x6ffc(%rip), %rdi      # 0x11708
movq %rsi, %rdx
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x1070
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x7037(%rip), %rdi      # 0x1175d
jmp 0xa750
leaq 0x7046(%rip), %rdi      # 0x11775
jmp 0xa750
leaq 0x6f6d(%rip), %rdi      # 0x116a5
jmp 0xa741
leaq 0x6f02(%rip), %rdi      # 0x11643
callq 0x1050
leaq 0x6fa8(%rip), %rdi      # 0x116f5
movq %rbx, %rsi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x1070
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/print_x86_64.c
// Function: gen_push_from_local_nbyte
void gen_push_from_local_nbyte(int n, int offset)
{
	memo2(__func__, "%d", n, offset);
	switch (n) {
	case 1:
		gen_push_from_local_1byte(offset);
		break;
	case 4:
		gen_push_from_local_4byte(offset);
		break;
	case 8:
		gen_push_from_local_8byte(offset);
		break;
	default:
		poison_and_die("Unsupported width; cannot happen");
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movl %edi, %r14d
leaq 0x619c(%rip), %rdi      # 0x109dd
leaq 0x6960(%rip), %rsi      # 0x111a8
movl %r14d, %edx
movl %ebx, %ecx
xorl %eax, %eax
callq 0xa456
cmpl $0x8, %r14d
je 0xa87c
cmpl $0x4, %r14d
je 0xa871
cmpl $0x1, %r14d
jne 0xa887
movl %ebx, %edi
popq %rbx
popq %r14
popq %rbp
jmp 0xb9ba
movl %ebx, %edi
popq %rbx
popq %r14
popq %rbp
jmp 0xb89a
movl %ebx, %edi
popq %rbx
popq %r14
popq %rbp
jmp 0xb982
leaq 0x5f8d(%rip), %rdi      # 0x1081b
callq 0xa3e0
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/print_x86_64.c
// Function: gen_push_address_of_global
void gen_push_address_of_global(const char *ident)
{
	memo2(__func__, "\"%s\"", ident);
	printf("  subq $8, %%rsp\n");
#ifdef OSX
	printf("  movq " PREFIX "%s@GOTPCREL(%%rip), %%rax\n", ident);
#endif
#ifndef OSX
	printf("  leaq " PREFIX "%s(%%rip), %%rax\n", ident);
#endif
	printf("  movq %%rax, (%%rsp)\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x6154(%rip), %rdi      # 0x109f7
leaq 0x5f00(%rip), %rsi      # 0x107aa
movq %rbx, %rdx
xorl %eax, %eax
callq 0xa456
leaq 0x6157(%rip), %rdi      # 0x10a12
xorl %eax, %eax
callq 0x1070
leaq 0x615b(%rip), %rdi      # 0x10a24
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1070
leaq 0x7667(%rip), %rdi      # 0x11f41
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x1070
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/print_x86_64.c
// Function: gen_push_ret_of_nbyte
void gen_push_ret_of_nbyte(int n, const char *ident_str, int arg_stacksize)
{
	memo2(__func__, "%d, \"%s\"", n, ident_str);

	switch (n) {
	case 1:
		gen_push_ret_of_1byte(ident_str, arg_stacksize);
		break;
	case 4:
		gen_push_ret_of_4byte(ident_str, arg_stacksize);
		break;
	case 8:
		gen_push_ret_of_8byte(ident_str, arg_stacksize);
		break;
	default:
		poison_and_die("Unsupported width; cannot happen");
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r14
movl %edi, %r15d
leaq 0x613d(%rip), %rdi      # 0x10a3d
leaq 0x5e9f(%rip), %rsi      # 0x107a6
movl %r15d, %edx
movq %r14, %rcx
xorl %eax, %eax
callq 0xa456
cmpl $0x8, %r15d
je 0xa94e
cmpl $0x4, %r15d
je 0xa93a
cmpl $0x1, %r15d
jne 0xa962
movq %r14, %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xba11
movq %r14, %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xbab7
movq %r14, %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xbb2a
leaq 0x5eb2(%rip), %rdi      # 0x1081b
callq 0xa3e0
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/print_x86_64.c
// Function: gen_call_reg_and_push_ret_of_nbyte
void gen_call_reg_and_push_ret_of_nbyte(int n, const char *reg)
{
	memo2(__func__, "%d, \"%s\"", n, reg);

	switch (n) {
	case 1:
		gen_call_reg_and_push_ret_of_1byte(reg);
		break;
	case 4:
		gen_call_reg_and_push_ret_of_4byte(reg);
		break;
	case 8:
		gen_call_reg_and_push_ret_of_8byte(reg);
		break;
	default:
		poison_and_die("Unsupported width; cannot happen");
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movl %edi, %r14d
leaq 0x60df(%rip), %rdi      # 0x10a89
leaq 0x5df5(%rip), %rsi      # 0x107a6
movl %r14d, %edx
movq %rbx, %rcx
xorl %eax, %eax
callq 0xa456
cmpl $0x8, %r14d
je 0xa9e8
cmpl $0x4, %r14d
je 0xa9dc
cmpl $0x1, %r14d
jne 0xa9f4
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0xbb9d
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0xbc32
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0xbca4
leaq 0x5e20(%rip), %rdi      # 0x1081b
callq 0xa3e0
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/print_x86_64.c
// Function: gen_peek_deref_push_nbyte
void gen_peek_deref_push_nbyte(int n)
{
	memo2(__func__, "%d", n);
	switch (n) {
	case 1:
		gen_peek_deref_push_1byte();
		break;
	case 4:
		gen_peek_deref_push_4byte();
		break;
	case 8:
		gen_peek_deref_push_8byte();
		break;
	default:
		poison_and_die("Unsupported width; cannot happen");
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
leaq 0x609d(%rip), %rdi      # 0x10aac
leaq 0x6792(%rip), %rsi      # 0x111a8
movl %ebx, %edx
xorl %eax, %eax
callq 0xa456
cmpl $0x8, %ebx
je 0xaa44
cmpl $0x4, %ebx
je 0xaa39
cmpl $0x1, %ebx
jne 0xaa4f
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xb965
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xb8d2
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xb929
leaq 0x5dc5(%rip), %rdi      # 0x1081b
callq 0xa3e0
// File: /workspace/github_c_makefile_star2_O1/hsjoihs[P]c-compiler/print_x86_64.c
// Function: gen_compare_ptrs
void gen_compare_ptrs(const char *str)
{
	memo2(__func__, "\"%s\"", str);
	puts("  movq 8(%rsp), %rax\n"
	     "  cmpq (%rsp), %rax");
	printf("  %s %%al\n", str);
	puts("  movzbl %al, %eax\n"
	     "  movl %eax, 8(%rsp)\n"
	     "  addq $8, %rsp");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x603d(%rip), %rdi      # 0x10dfa
leaq 0x59e6(%rip), %rsi      # 0x107aa
movq %rbx, %rdx
xorl %eax, %eax
callq 0xa456
leaq 0x6036(%rip), %rdi      # 0x10e0b
callq 0x1050
leaq 0x6053(%rip), %rdi      # 0x10e34
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1070
leaq 0x604d(%rip), %rdi      # 0x10e3f
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x1050