LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./menu.c
// Function: menu_add_entry
void menu_add_entry(struct symbol *sym)
{
	struct menu *menu;

	menu = malloc(sizeof(*menu));
	memset(menu, 0, sizeof(*menu));
	menu->sym = sym;
	menu->parent = current_menu;
	menu->file = current_file;
	menu->lineno = zconf_lineno();

	*last_entry_ptr = menu;
	last_entry_ptr = &menu->next;
	current_entry = menu;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x1, %edi
movl $0x50, %esi
callq 0x2180
movq %rbx, 0x18(%rax)
movq 0xfbb0(%rip), %rcx      # 0x154a8
movq %rcx, 0x8(%rax)
movq 0x1048d(%rip), %rcx     # 0x15d90
movq %rcx, 0x38(%rax)
cmpq $0x0, 0x10491(%rip)     # 0x15da0
je 0x5918
movl 0x18(%rcx), %ecx
decl %ecx
jmp 0x591a
xorl %ecx, %ecx
movl %ecx, 0x40(%rax)
movq 0x1149c(%rip), %rcx     # 0x16dc0
movq %rax, (%rcx)
movq %rax, 0x11492(%rip)     # 0x16dc0
movq %rax, 0xfb6b(%rip)      # 0x154a0
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./menu.c
// Function: menu_set_type
void menu_set_type(int type)
{
	struct symbol *sym = current_entry->sym;

	if (sym->type == type)
		return;
	if (sym->type == S_UNKNOWN) {
		sym->type = type;
		return;
	}
	fprintf(stderr, "%s:%d:warning: type of '%s' redefined from '%s' to '%s'\n",
		current_entry->file->name, current_entry->lineno,
		sym->name ? sym->name : "<choice>", sym_type_name(sym->type), sym_type_name(type));
}

// Assembly:
movl %edi, %ecx
movq 0xfb27(%rip), %rdi      # 0x154a0
movq 0x18(%rdi), %rsi
movl 0x18(%rsi), %edx
cmpl %ecx, %edx
jne 0x5985
retq
testl %edx, %edx
jne 0x598d
movl %ecx, 0x18(%rsi)
retq
pushq %rax
callq 0x2542
addq $0x8, %rsp
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./expr.c
// Function: expr_alloc_comp
struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2)
{
	struct expr *e = malloc(sizeof(*e));
	memset(e, 0, sizeof(*e));
	e->type = type;
	e->left.sym = s1;
	e->right.sym = s2;
	return e;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movl %edi, %ebp
movl $0x1, %edi
movl $0x18, %esi
callq 0x2180
movl %ebp, (%rax)
movq %r14, 0x8(%rax)
movq %rbx, 0x10(%rax)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/zconf.tab.c
// Function: zconf_endtoken
static bool zconf_endtoken(int token, int starttoken, int endtoken)
{
	if (token != endtoken) {
		zconfprint("unexpected '%s' within %s block", zconf_tokenname(token), zconf_tokenname(starttoken));
		zconfnerrs++;
		return false;
	}
	if (current_menu->file != current_file) {
		zconfprint("'%s' in different file than '%s'", zconf_tokenname(token), zconf_tokenname(starttoken));
		zconfprint("location of the '%s'", zconf_tokenname(starttoken));
		zconfnerrs++;
		return false;
	}
	return true;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
cmpl %edx, %edi
jne 0x5ac3
movq 0xf9fc(%rip), %rax      # 0x154a8
movq 0x38(%rax), %rcx
movb $0x1, %al
cmpq 0x102d7(%rip), %rcx     # 0x15d90
jne 0x5ae8
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x67fd
movq %rax, %r14
movl %ebx, %edi
callq 0x67fd
leaq 0xb727(%rip), %rdi      # 0x11200
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x2330
jmp 0x5aef
movl %ebx, %esi
callq 0x25b6
incl 0xf99b(%rip)            # 0x15490
xorl %eax, %eax
jmp 0x5abb
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./menu.c
// Function: menu_add_prop
struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep)
{
	struct property *prop = prop_alloc(type, current_entry->sym);

	prop->menu = current_entry;
	prop->text = prompt;
	prop->expr = expr;
	prop->visible.expr = menu_check_dep(dep);

	if (prompt) {
		if (current_entry->prompt)
			fprintf(stderr, "%s:%d: prompt redefined\n",
				current_entry->file->name, current_entry->lineno);
		current_entry->prompt = prop;
	}

	return prop;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq 0xf91c(%rip), %rax      # 0x154a0
movq 0x18(%rax), %rsi
callq 0xa4a3
movq %rax, %rbx
movq 0xf909(%rip), %rax      # 0x154a0
movq %rax, 0x38(%rbx)
movq %r12, 0x18(%rbx)
movq %r15, 0x30(%rbx)
movq %r14, %rdi
callq 0xaa43
movq %rax, 0x20(%rbx)
testq %r12, %r12
je 0x5bc6
movq 0xf8e5(%rip), %rax      # 0x154a0
cmpq $0x0, 0x20(%rax)
jne 0x5bd5
movq %rbx, 0x20(%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0xf41c(%rip), %rcx      # 0x14ff8
movq (%rcx), %rdi
movq 0x38(%rax), %rcx
movq 0x10(%rcx), %rdx
movl 0x40(%rax), %ecx
leaq 0xb0cd(%rip), %rsi      # 0x10cbe
xorl %eax, %eax
callq 0x21b0
movq 0xf8a1(%rip), %rax      # 0x154a0
jmp 0x5bc2
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: zconf_nextfile
void zconf_nextfile(const char *name)
{
	struct file *file = file_lookup(name);
	struct buffer *buf = malloc(sizeof(*buf));
	memset(buf, 0, sizeof(*buf));

	current_buf->state = YY_CURRENT_BUFFER;
	zconfin = zconf_fopen(name);
	if (!zconfin) {
		printf("%s:%d: can't open file \"%s\"\n", zconf_curname(), zconf_lineno(), name);
		exit(1);
	}
	zconf_switch_to_buffer(zconf_create_buffer(zconfin,YY_BUF_SIZE));
	buf->parent = current_buf;
	current_buf = buf;

	if (file->flags & FILE_BUSY) {
		printf("recursive scan (%s)?\n", name);
		exit(1);
	}
	if (file->flags & FILE_SCANNED) {
		printf("file %s already scanned?\n", name);
		exit(1);
	}
	file->flags |= FILE_BUSY;
	file->lineno = 1;
	file->parent = current_file;
	current_file = file;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
callq 0x7369
movq %rax, %r14
movl $0x1, %edi
movl $0x10, %esi
callq 0x2180
movq %rax, %r15
movq 0x10136(%rip), %rax     # 0x15d60
testq %rax, %rax
je 0x5c3c
movq 0x10132(%rip), %rcx     # 0x15d68
movq (%rax,%rcx,8), %rax
jmp 0x5c3e
xorl %eax, %eax
movq 0x1015b(%rip), %rcx     # 0x15da0
movq %rax, 0x8(%rcx)
movq %rbx, %rdi
callq 0x72fd
movq %rax, 0x100c8(%rip)     # 0x15d20
testq %rax, %rax
je 0x5cb6
movq %rax, %rdi
movl $0x4000, %esi           # imm = 0x4000
callq 0x6d72
movq %rax, %rdi
callq 0x6ecc
movq 0x10127(%rip), %rax     # 0x15da0
movq %rax, (%r15)
movq %r15, 0x1011d(%rip)     # 0x15da0
movl 0x1c(%r14), %eax
testb $0x1, %al
jne 0x5cc9
testb $0x2, %al
jne 0x5cd2
orl $0x1, %eax
movl %eax, 0x1c(%r14)
movl $0x1, 0x18(%r14)
movq 0x100eb(%rip), %rax     # 0x15d90
movq %rax, 0x8(%r14)
movq %r14, 0x100e0(%rip)     # 0x15d90
popq %rbx
popq %r14
popq %r15
retq
cmpq $0x0, 0x100e2(%rip)     # 0x15da0
jne 0x5ce5
leaq 0xaba7(%rip), %r14      # 0x1086e
jmp 0x5cf0
leaq 0xab6e(%rip), %rdi      # 0x1083e
jmp 0x5cd9
leaq 0xab7b(%rip), %rdi      # 0x10854
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2100
jmp 0x5d0b
movq 0x100a4(%rip), %rax     # 0x15d90
movq 0x10(%rax), %r14
callq 0x5955
leaq 0xab25(%rip), %rdi      # 0x10821
movq %r14, %rsi
movl %eax, %edx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x2100
movl $0x1, %edi
callq 0x22e0
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./expr.c
// Function: expr_alloc_symbol
struct expr *expr_alloc_symbol(struct symbol *sym)
{
	struct expr *e = malloc(sizeof(*e));
	memset(e, 0, sizeof(*e));
	e->type = E_SYMBOL;
	e->left.sym = sym;
	return e;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x1, %edi
movl $0x18, %esi
callq 0x2180
movl $0x7, (%rax)
movq %rbx, 0x8(%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./expr.c
// Function: expr_alloc_one
struct expr *expr_alloc_one(enum expr_type type, struct expr *ce)
{
	struct expr *e = malloc(sizeof(*e));
	memset(e, 0, sizeof(*e));
	e->type = type;
	e->left.expr = ce;
	return e;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl %edi, %ebp
movl $0x1, %edi
movl $0x18, %esi
callq 0x2180
movl %ebp, (%rax)
movq %rbx, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/zconf.tab.c
// Function: conf_parse
void conf_parse(const char *name)
{
	struct symbol *sym;
	int i;

	zconf_initscan(name);

	sym_init();
	menu_init();
	modules_sym = sym_lookup("MODULES", 0);
	rootmenu.prompt = menu_add_prop(P_MENU, "uClibc++ Configuration", NULL, NULL);

	//zconfdebug = 1;
	zconfparse();
	if (zconfnerrs)
		exit(1);
	menu_finalize(&rootmenu);
	for_all_symbols(i, sym) {
                if (!(sym->flags & SYMBOL_CHECKED) && sym_check_deps(sym))
                        printf("\n");
		else
			sym->flags |= SYMBOL_CHECK_DONE;
        }

	sym_change_count = 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
callq 0x5eb6
callq 0x5f1b
leaq 0xf6da(%rip), %rax      # 0x154b8
movq %rax, 0xf6c3(%rip)      # 0x154a8
movq %rax, 0xf6b4(%rip)      # 0x154a0
leaq 0xf6d5(%rip), %rax      # 0x154c8
movq %rax, 0x10fc6(%rip)     # 0x16dc0
leaq 0xa7e3(%rip), %rdi      # 0x105e4
xorl %esi, %esi
callq 0x57cd
movq %rax, 0xf6a1(%rip)      # 0x154b0
leaq 0xa7d6(%rip), %rsi      # 0x105ec
movl $0x3, %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x5b6c
movq %rax, 0xf6ad(%rip)      # 0x154d8
callq 0x3588
cmpl $0x0, 0xf659(%rip)      # 0x15490
jne 0x5eac
leaq 0xf678(%rip), %rdi      # 0x154b8
callq 0x5f99
xorl %r14d, %r14d
leaq 0xf6c1(%rip), %r15      # 0x15510
movq (%r15,%r14,8), %rbx
testq %rbx, %rbx
je 0x5e90
cmpl $0x6, 0x18(%rbx)
je 0x5e8b
movl 0x44(%rbx), %eax
btl $0xd, %eax
jb 0x5e83
movq %rbx, %rdi
callq 0x6752
testq %rax, %rax
je 0x5e80
movl $0xa, %edi
callq 0x2050
jmp 0x5e8b
movl 0x44(%rbx), %eax
orl $0x4000, %eax           # imm = 0x4000
movl %eax, 0x44(%rbx)
movq (%rbx), %rbx
jmp 0x5e53
incq %r14
cmpq $0x101, %r14            # imm = 0x101
jne 0x5e4f
movl $0x1, 0xfe72(%rip)      # 0x15d18
popq %rbx
popq %r14
popq %r15
retq
movl $0x1, %edi
callq 0x22e0
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: zconf_initscan
void zconf_initscan(const char *name)
{
	zconfin = zconf_fopen(name);
	if (!zconfin) {
		printf("can't find file %s\n", name);
		exit(1);
	}

	current_buf = malloc(sizeof(*current_buf));
	memset(current_buf, 0, sizeof(*current_buf));

	current_file = file_lookup(name);
	current_file->lineno = 1;
	current_file->flags = FILE_BUSY;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x72fd
movq %rax, 0xfe5a(%rip)      # 0x15d20
testq %rax, %rax
je 0x5f00
movl $0x1, %edi
movl $0x10, %esi
callq 0x2180
movq %rax, 0xfebf(%rip)      # 0x15da0
movq %rbx, %rdi
callq 0x7369
movq %rax, 0xfea0(%rip)      # 0x15d90
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, 0x18(%rax)
popq %rbx
retq
leaq 0xa906(%rip), %rdi      # 0x1080d
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2100
movl $0x1, %edi
callq 0x22e0
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./symbol.c
// Function: sym_init
void sym_init(void)
{
	struct symbol *sym;
	char *p;
	static bool inited = false;

	if (inited)
		return;
	inited = true;

	sym = sym_lookup("VERSION", 0);
	sym->type = S_STRING;
	sym->flags |= SYMBOL_AUTO;
	p = getenv("VERSION");
	if (p)
		sym_add_default(sym, p);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x0, 0x10e92(%rip)     # 0x16db8
jne 0x5f6d
movb $0x1, 0x10e89(%rip)     # 0x16db8
leaq 0xaaec(%rip), %r14      # 0x10a22
movq %r14, %rdi
xorl %esi, %esi
callq 0x57cd
movq %rax, %rbx
movl $0x5, 0x18(%rax)
orb $0x10, 0x45(%rax)
movq %r14, %rdi
callq 0x2030
testq %rax, %rax
je 0x5f6d
movq %rbx, %rdi
movq %rax, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xa457
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./symbol.c
// Function: sym_check_deps
struct symbol *sym_check_deps(struct symbol *sym)
{
	struct symbol *sym2;
	struct property *prop;

	if (sym->flags & SYMBOL_CHECK_DONE)
		return NULL;
	if (sym->flags & SYMBOL_CHECK) {
		printf("Warning! Found recursive dependency: %s", sym->name);
		return sym;
	}

	sym->flags |= (SYMBOL_CHECK | SYMBOL_CHECKED);
	sym2 = sym_check_expr_deps(sym->rev_dep.expr);
	if (sym2)
		goto out;

	for (prop = sym->prop; prop; prop = prop->next) {
		if (prop->type == P_CHOICE)
			continue;
		sym2 = sym_check_expr_deps(prop->visible.expr);
		if (sym2)
			goto out;
		if (prop->type != P_DEFAULT || sym_is_choice(sym))
			continue;
		sym2 = sym_check_expr_deps(prop->expr);
		if (sym2)
			goto out;
	}
out:
	if (sym2)
		printf(" %s", sym->name);
	sym->flags &= ~SYMBOL_CHECK;
	return sym2;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl 0x44(%rdi), %eax
btl $0xe, %eax
jb 0x6794
movq %rdi, %rbx
testb $0x8, %al
jne 0x6798
orl $0x2008, %eax           # imm = 0x2008
movl %eax, 0x44(%rbx)
movq 0x60(%rbx), %rdi
callq 0xa990
testq %rax, %rax
je 0x67ac
movq %rax, %r14
movq 0x8(%rbx), %rsi
leaq 0x499e(%rip), %rdi      # 0xb129
xorl %eax, %eax
callq 0x2100
jmp 0x67ed
xorl %ebx, %ebx
jmp 0x67f4
movq 0x8(%rbx), %rsi
leaq 0xa49d(%rip), %rdi      # 0x10c40
xorl %eax, %eax
callq 0x2100
jmp 0x67f4
movq 0x48(%rbx), %r15
testq %r15, %r15
je 0x67ea
cmpl $0x5, 0x10(%r15)
je 0x67e5
movq 0x20(%r15), %rdi
callq 0xa990
testq %rax, %rax
jne 0x677d
cmpl $0x4, 0x10(%r15)
jne 0x67e5
testb $0x10, 0x44(%rbx)
jne 0x67e5
movq 0x30(%r15), %rdi
callq 0xa990
testq %rax, %rax
jne 0x677d
movq (%r15), %r15
jmp 0x67b0
xorl %r14d, %r14d
andb $-0x9, 0x44(%rbx)
movq %r14, %rbx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/zconf.tab.c
// Function: print_quoted_string
void print_quoted_string(FILE *out, const char *str)
{
	const char *p;
	int len;

	putc('"', out);
	while ((p = strchr(str, '"'))) {
		len = p - str;
		if (len)
			fprintf(out, "%.*s", len, str);
		fputs("\\\"", out);
		str = p + 1;
	}
	fputs(str, out);
	putc('"', out);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movl $0x22, %edi
movq %rbx, %rsi
callq 0x21a0
movq %r14, %rdi
movl $0x22, %esi
callq 0x20f0
testq %rax, %rax
je 0x689e
movq %rax, %r13
leaq 0x9dcf(%rip), %r15      # 0x10628
leaq 0x9dc3(%rip), %r12      # 0x10623
movl %r13d, %edx
subl %r14d, %edx
je 0x6878
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rcx
xorl %eax, %eax
callq 0x21b0
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2120
movq %r13, %r14
incq %r14
movq %r14, %rdi
movl $0x22, %esi
callq 0x20f0
movq %rax, %r13
testq %rax, %rax
jne 0x6860
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2120
movl $0x22, %edi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x21a0
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/zconf.tab.c
// Function: zconfdump
void zconfdump(FILE *out)
{
	struct property *prop;
	struct symbol *sym;
	struct menu *menu;

	menu = rootmenu.list;
	while (menu) {
		if ((sym = menu->sym))
			print_symbol(out, menu);
		else if ((prop = menu->prompt)) {
			switch (prop->type) {
			case P_COMMENT:
				fputs("\ncomment ", out);
				print_quoted_string(out, prop->text);
				fputs("\n", out);
				break;
			case P_MENU:
				fputs("\nmenu ", out);
				print_quoted_string(out, prop->text);
				fputs("\n", out);
				break;
			default:
				;
			}
			if (!expr_is_yes(prop->visible.expr)) {
				fputs("  depends ", out);
				expr_fprint(prop->visible.expr, out);
				fputc('\n', out);
			}
			fputs("\n", out);
		}

		if (menu->list)
			menu = menu->list;
		else if (menu->next)
			menu = menu->next;
		else while ((menu = menu->parent)) {
			if (menu->prompt && menu->prompt->type == P_MENU)
				fputs("\nendmenu\n", out);
			if (menu->next) {
				menu = menu->next;
				break;
			}
		}
	}
}

// Assembly:
movq 0xea19(%rip), %rax      # 0x154c8
testq %rax, %rax
je 0x6be2
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x9be2(%rip), %r15      # 0x106af
leaq 0x9bce(%rip), %r14      # 0x106a2
leaq 0x9bf0(%rip), %r13      # 0x106cb
movq %rax, %rbp
cmpq $0x0, 0x18(%rax)
je 0x6af5
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x68bf
jmp 0x6b94
movq 0x20(%rbp), %r12
testq %r12, %r12
je 0x6b94
movl 0x10(%r12), %eax
movq %r15, %rdi
cmpl $0x2, %eax
je 0x6b1b
cmpl $0x3, %eax
jne 0x6b3b
leaq 0x9b9e(%rip), %rdi      # 0x106b9
movq %rbx, %rsi
callq 0x2120
movq 0x18(%r12), %rsi
movq %rbx, %rdi
callq 0x6821
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2120
movq 0x20(%r12), %rax
testq %rax, %rax
je 0x6b89
cmpl $0x7, (%rax)
jne 0x6b57
leaq 0xe737(%rip), %rcx      # 0x15288
cmpq %rcx, 0x8(%rax)
je 0x6b89
leaq 0x9b62(%rip), %rdi      # 0x106c0
movq %rbx, %rsi
callq 0x2120
movq 0x20(%r12), %rdi
leaq 0x38b9(%rip), %rsi      # 0xa42b
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0xa211
movl $0xa, %edi
movq %rbx, %rsi
callq 0x2140
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2120
movq 0x10(%rbp), %rax
testq %rax, %rax
jne 0x6adb
jmp 0x6bc6
movq 0x8(%rbp), %rbp
testq %rbp, %rbp
je 0x6bd4
movq 0x20(%rbp), %rax
testq %rax, %rax
je 0x6bc6
cmpl $0x3, 0x10(%rax)
jne 0x6bc6
movq %r13, %rdi
movq %rbx, %rsi
callq 0x2120
movq (%rbp), %rax
testq %rax, %rax
je 0x6ba3
jmp 0x6adb
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: new_string
void new_string(void)
{
	text = malloc(START_STRSIZE);
	text_asize = START_STRSIZE;
	text_ptr = text;
	text_size = 0;
	*text_ptr = 0;
}

// Assembly:
pushq %rax
movl $0x10, %edi
callq 0x2230
movq %rax, 0xf143(%rip)      # 0x15d38
movl $0x10, 0xf141(%rip)     # 0x15d40
movq %rax, 0xf142(%rip)      # 0x15d48
movl $0x0, 0xf140(%rip)      # 0x15d50
movb $0x0, (%rax)
popq %rax
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: append_string
void append_string(const char *str, int size)
{
	int new_size = text_size + size + 1;
	if (new_size > text_asize) {
		text = realloc(text, new_size);
		text_asize = new_size;
		text_ptr = text + text_size;
	}
	memcpy(text_ptr, str, size);
	text_ptr += size;
	text_size += size;
	*text_ptr = 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %esi, %r15d
movq %rdi, %r14
movslq 0xf125(%rip), %rbx      # 0x15d50
leal (%rbx,%r15), %r13d
cmpl 0xf10a(%rip), %r13d     # 0x15d40
jge 0x6c41
movq 0xf109(%rip), %rbx      # 0x15d48
jmp 0x6c65
leal 0x1(%r13), %r12d
movq 0xf0ec(%rip), %rdi      # 0x15d38
movq %r12, %rsi
callq 0x2260
movq %rax, 0xf0dd(%rip)      # 0x15d38
movl %r12d, 0xf0de(%rip)     # 0x15d40
addq %rax, %rbx
movslq %r15d, %r15
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x21f0
leaq (%rbx,%r15), %rax
movq %rax, 0xf0c7(%rip)      # 0x15d48
movl %r13d, 0xf0c8(%rip)     # 0x15d50
movb $0x0, (%rbx,%r15)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: zconfensure_buffer_stack
static void zconfensure_buffer_stack (void)
{
	int num_to_alloc;
    
	if (!(yy_buffer_stack)) {

		/* First allocation is just for 2 elements, since we don't know if this
		 * scanner will even need a stack. We use 2 instead of 1 to avoid an
		 * immediate realloc on the next call.
         */
		num_to_alloc = 1;
		(yy_buffer_stack) = (struct yy_buffer_state**)zconfalloc
								(num_to_alloc * sizeof(struct yy_buffer_state*)
								);
		
		memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
				
		(yy_buffer_stack_max) = num_to_alloc;
		(yy_buffer_stack_top) = 0;
		return;
	}

	if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){

		/* Increase the buffer to prepare for a possible push. */
		int grow_size = 8 /* arbitrary grow size */;

		num_to_alloc = (yy_buffer_stack_max) + grow_size;
		(yy_buffer_stack) = (struct yy_buffer_state**)zconfrealloc
								((yy_buffer_stack),
								num_to_alloc * sizeof(struct yy_buffer_state*)
								);

		/* zero only the new slots.*/
		memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
		(yy_buffer_stack_max) = num_to_alloc;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0xf083(%rip), %rdi      # 0x15d60
testq %rdi, %rdi
je 0x6d42
movq 0x100e7(%rip), %rbx     # 0x16dd0
leaq -0x1(%rbx), %rax
cmpq %rax, 0xf074(%rip)      # 0x15d68
jb 0x6d6a
movq %rbx, %rax
shlq $0x20, %rax
movabsq $0x800000000, %rcx      # imm = 0x800000000
addq %rax, %rcx
movq %rcx, %r14
sarq $0x20, %r14
shrq $0x1d, %rcx
movl %ecx, %esi
callq 0x2260
movq %rax, 0xf03d(%rip)      # 0x15d60
xorps %xmm0, %xmm0
movups %xmm0, (%rax,%rbx,8)
movups %xmm0, 0x30(%rax,%rbx,8)
movups %xmm0, 0x20(%rax,%rbx,8)
movups %xmm0, 0x10(%rax,%rbx,8)
movq %r14, 0x10090(%rip)     # 0x16dd0
jmp 0x6d6a
movl $0x8, %edi
callq 0x2230
movq %rax, 0xf00d(%rip)      # 0x15d60
xorl %ecx, %ecx
movq %rcx, (%rax)
movq $0x1, 0x1006d(%rip) # 0x16dd0
movq %rcx, 0xeffe(%rip)      # 0x15d68
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: zconf_create_buffer
YY_BUFFER_STATE zconf_create_buffer  (FILE * file, int  size )
{
	YY_BUFFER_STATE b;
    
	b = (YY_BUFFER_STATE) zconfalloc(sizeof( struct yy_buffer_state )  );
	if ( ! b )
		YY_FATAL_ERROR( "out of dynamic memory in zconf_create_buffer()" );

	b->yy_buf_size = size;

	/* yy_ch_buf has to be 2 characters longer than the size given because
	 * we need to put in 2 end-of-buffer characters.
	 */
	b->yy_ch_buf = (char *) zconfalloc(b->yy_buf_size + 2  );
	if ( ! b->yy_ch_buf )
		YY_FATAL_ERROR( "out of dynamic memory in zconf_create_buffer()" );

	b->yy_is_our_buffer = 1;

	zconf_init_buffer(b,file );

	return b;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %esi, %r15d
movq %rdi, %rbx
movl $0x40, %edi
callq 0x2230
testq %rax, %rax
je 0x6dc4
movq %rax, %r14
movl %r15d, 0x18(%rax)
addl $0x2, %r15d
movq %r15, %rdi
callq 0x2230
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x6dc9
movl $0x1, 0x20(%r14)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6e66
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
callq 0x26cb
callq 0x26a3
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: zconfrestart
void zconfrestart  (FILE * input_file )
{
    
	if ( ! YY_CURRENT_BUFFER ){
        zconfensure_buffer_stack ();
		YY_CURRENT_BUFFER_LVALUE =
            zconf_create_buffer(zconfin,YY_BUF_SIZE );
	}

	zconf_init_buffer(YY_CURRENT_BUFFER,input_file );
	zconf_load_buffer_state( );
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0xef87(%rip), %rax      # 0x15d60
testq %rax, %rax
je 0x6dee
movq 0xef83(%rip), %rcx      # 0x15d68
movq (%rax,%rcx,8), %rdi
testq %rdi, %rdi
jne 0x6e19
callq 0x6cd2
movq 0xef26(%rip), %rdi      # 0x15d20
movl $0x4000, %esi           # imm = 0x4000
callq 0x6d72
movq %rax, %rdi
movq 0xef52(%rip), %rax      # 0x15d60
movq 0xef53(%rip), %rcx      # 0x15d68
movq %rdi, (%rax,%rcx,8)
movq %rbx, %rsi
callq 0x6e66
movq 0xef38(%rip), %rax      # 0x15d60
movq 0xef39(%rip), %rcx      # 0x15d68
movq (%rax,%rcx,8), %rdx
movl 0x1c(%rdx), %esi
movl %esi, 0xef6c(%rip)      # 0x15da8
movq 0x10(%rdx), %rdx
movq %rdx, 0xef29(%rip)      # 0x15d70
movq %rdx, 0xef32(%rip)      # 0x15d80
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, 0xeec4(%rip)      # 0x15d20
movb (%rdx), %al
movb %al, 0xef14(%rip)       # 0x15d78
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: zconf_init_buffer
static void zconf_init_buffer  (YY_BUFFER_STATE  b, FILE * file )

{
	int oerrno = errno;
    
	zconf_flush_buffer(b );

	b->yy_input_file = file;
	b->yy_fill_buffer = 1;

    /* If b is the current buffer, then zconf_init_buffer was _probably_
     * called from zconfrestart() or through yy_get_next_buffer.
     * In that case, we don't want to reset the lineno or column.
     */
    if (b != YY_CURRENT_BUFFER){
        b->yy_bs_lineno = 1;
        b->yy_bs_column = 0;
    }

        b->yy_is_interactive = 0;
    
	errno = oerrno;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2060
movq %rax, %r14
movl (%rax), %ebp
movq %rbx, %rdi
callq 0x6fbc
movq %r15, (%rbx)
movl $0x1, 0x34(%rbx)
movq 0xeeca(%rip), %rax      # 0x15d60
testq %rax, %rax
je 0x6ea8
movq 0xeec6(%rip), %rcx      # 0x15d68
movq (%rax,%rcx,8), %rax
jmp 0x6eaa
xorl %eax, %eax
cmpq %rbx, %rax
je 0x6eb7
movq $0x1, 0x2c(%rbx)
movl $0x0, 0x24(%rbx)
movl %ebp, (%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: zconf_switch_to_buffer
void zconf_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
{
    
	/* TODO. We should be able to replace this entire function body
	 * with
	 *		zconfpop_buffer_state();
	 *		zconfpush_buffer_state(new_buffer);
     */
	zconfensure_buffer_stack ();
	if ( YY_CURRENT_BUFFER == new_buffer )
		return;

	if ( YY_CURRENT_BUFFER )
		{
		/* Flush out information for old buffer. */
		*(yy_c_buf_p) = (yy_hold_char);
		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
		}

	YY_CURRENT_BUFFER_LVALUE = new_buffer;
	zconf_load_buffer_state( );

	/* We don't actually know whether we did this switch during
	 * EOF (zconfwrap()) processing, but the only time this flag
	 * is looked at is after zconfwrap() is called, so it's safe
	 * to go ahead and always set it.
	 */
	(yy_did_buffer_switch_on_eof) = 1;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x6cd2
movq 0xee84(%rip), %rax      # 0x15d60
testq %rax, %rax
je 0x6f1c
movq 0xee80(%rip), %rcx      # 0x15d68
movq (%rax,%rcx,8), %rdx
cmpq %rbx, %rdx
je 0x6f5d
testq %rdx, %rdx
je 0x6f28
movb 0xee7c(%rip), %dl       # 0x15d78
movq 0xee6d(%rip), %rsi      # 0x15d70
movb %dl, (%rsi)
movq (%rax,%rcx,8), %rdx
movq %rsi, 0x10(%rdx)
movl 0xee95(%rip), %edx      # 0x15da8
movq (%rax,%rcx,8), %rsi
movl %edx, 0x1c(%rsi)
jmp 0x6f28
testq %rbx, %rbx
je 0x6f5d
movq 0xee40(%rip), %rcx      # 0x15d68
movq %rbx, (%rax,%rcx,8)
movl 0x1c(%rbx), %edx
movl %edx, 0xee73(%rip)      # 0x15da8
movq 0x10(%rbx), %rdx
movq %rdx, 0xee30(%rip)      # 0x15d70
movq %rdx, 0xee39(%rip)      # 0x15d80
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, 0xedcb(%rip)      # 0x15d20
movb (%rdx), %al
movb %al, 0xee1b(%rip)       # 0x15d78
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: zconf_delete_buffer
void zconf_delete_buffer (YY_BUFFER_STATE  b )
{
    
	if ( ! b )
		return;

	if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
		YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;

	if ( b->yy_is_our_buffer )
		zconffree((void *) b->yy_ch_buf  );

	zconffree((void *) b  );
}

// Assembly:
testq %rdi, %rdi
je 0x6f88
pushq %rbx
movq %rdi, %rbx
movq 0xedea(%rip), %rax      # 0x15d60
testq %rax, %rax
je 0x6f89
movq 0xede6(%rip), %rcx      # 0x15d68
movq (%rax,%rcx,8), %rcx
jmp 0x6f8b
retq
xorl %ecx, %ecx
cmpq %rbx, %rcx
jne 0x6f9f
movq 0xedd1(%rip), %rcx      # 0x15d68
movq $0x0, (%rax,%rcx,8)
cmpl $0x0, 0x20(%rbx)
je 0x6fae
movq 0x8(%rbx), %rdi
callq 0x2040
movq %rbx, %rdi
popq %rbx
jmp 0x2040
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: zconf_flush_buffer
void zconf_flush_buffer (YY_BUFFER_STATE  b )
{
    	if ( ! b )
		return;

	b->yy_n_chars = 0;

	/* We always need two end-of-buffer characters.  The first causes
	 * a transition to the end-of-buffer state.  The second causes
	 * a jam in that state.
	 */
	b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
	b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;

	b->yy_buf_pos = &b->yy_ch_buf[0];

	b->yy_at_bol = 1;
	b->yy_buffer_status = YY_BUFFER_NEW;

	if ( b == YY_CURRENT_BUFFER )
		zconf_load_buffer_state( );
}

// Assembly:
testq %rdi, %rdi
je 0x7001
xorl %ecx, %ecx
movl %ecx, 0x1c(%rdi)
movq 0x8(%rdi), %rax
movb %cl, (%rax)
movq 0x8(%rdi), %rax
movb %cl, 0x1(%rax)
movq 0x8(%rdi), %rax
movq %rax, 0x10(%rdi)
movl $0x1, 0x28(%rdi)
movl %ecx, 0x38(%rdi)
movq 0xed74(%rip), %rax      # 0x15d60
testq %rax, %rax
je 0x6ffc
movq 0xed70(%rip), %rcx      # 0x15d68
movq (%rax,%rcx,8), %rcx
cmpq %rdi, %rcx
je 0x7002
retq
movq 0xed5f(%rip), %rcx      # 0x15d68
movq (%rax,%rcx,8), %rdx
movl 0x1c(%rdx), %esi
movl %esi, 0xed92(%rip)      # 0x15da8
movq 0x10(%rdx), %rdx
movq %rdx, 0xed4f(%rip)      # 0x15d70
movq %rdx, 0xed58(%rip)      # 0x15d80
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, 0xecea(%rip)      # 0x15d20
movb (%rdx), %al
movb %al, 0xed3a(%rip)       # 0x15d78
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: zconfpush_buffer_state
void zconfpush_buffer_state (YY_BUFFER_STATE new_buffer )
{
    	if (new_buffer == NULL)
		return;

	zconfensure_buffer_stack();

	/* This block is copied from zconf_switch_to_buffer. */
	if ( YY_CURRENT_BUFFER )
		{
		/* Flush out information for old buffer. */
		*(yy_c_buf_p) = (yy_hold_char);
		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
		}

	/* Only push if top exists. Otherwise, replace top. */
	if (YY_CURRENT_BUFFER)
		(yy_buffer_stack_top)++;
	YY_CURRENT_BUFFER_LVALUE = new_buffer;

	/* copied from zconf_switch_to_buffer. */
	zconf_load_buffer_state( );
	(yy_did_buffer_switch_on_eof) = 1;
}

// Assembly:
testq %rdi, %rdi
je 0x70cf
pushq %rbx
movq %rdi, %rbx
callq 0x6cd2
movq 0xed08(%rip), %rax      # 0x15d60
movq 0xed09(%rip), %rcx      # 0x15d68
testq %rax, %rax
je 0x7099
cmpq $0x0, (%rax,%rcx,8)
je 0x7099
movb 0xed07(%rip), %dl       # 0x15d78
movq 0xecf8(%rip), %rsi      # 0x15d70
movb %dl, (%rsi)
movq (%rax,%rcx,8), %rdx
movq %rsi, 0x10(%rdx)
movl 0xed20(%rip), %edx      # 0x15da8
movq (%rax,%rcx,8), %rsi
movl %edx, 0x1c(%rsi)
incq %rcx
movq %rcx, 0xeccf(%rip)      # 0x15d68
movq %rbx, (%rax,%rcx,8)
movl 0x1c(%rbx), %edx
movl %edx, 0xed02(%rip)      # 0x15da8
movq 0x10(%rbx), %rdx
movq %rdx, 0xecbf(%rip)      # 0x15d70
movq %rdx, 0xecc8(%rip)      # 0x15d80
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, 0xec5a(%rip)      # 0x15d20
movb (%rdx), %al
movb %al, 0xecaa(%rip)       # 0x15d78
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: zconfpop_buffer_state
void zconfpop_buffer_state (void)
{
    	if (!YY_CURRENT_BUFFER)
		return;

	zconf_delete_buffer(YY_CURRENT_BUFFER );
	YY_CURRENT_BUFFER_LVALUE = NULL;
	if ((yy_buffer_stack_top) > 0)
		--(yy_buffer_stack_top);

	if (YY_CURRENT_BUFFER) {
		zconf_load_buffer_state( );
		(yy_did_buffer_switch_on_eof) = 1;
	}
}

// Assembly:
movq 0xec89(%rip), %rax      # 0x15d60
testq %rax, %rax
je 0x7158
pushq %rax
movq 0xec84(%rip), %rcx      # 0x15d68
movq (%rax,%rcx,8), %rdi
testq %rdi, %rdi
je 0x7154
callq 0x6f66
movq 0xec67(%rip), %rax      # 0x15d60
movq 0xec68(%rip), %rcx      # 0x15d68
movq $0x0, (%rax,%rcx,8)
testq %rcx, %rcx
je 0x7154
leaq -0x1(%rcx), %rdx
movq %rdx, 0xec50(%rip)      # 0x15d68
movq -0x8(%rax,%rcx,8), %rdx
testq %rdx, %rdx
je 0x7154
movl 0x1c(%rdx), %esi
movl %esi, 0xec7d(%rip)      # 0x15da8
movq 0x10(%rdx), %rdx
movq %rdx, 0xec3a(%rip)      # 0x15d70
movq %rdx, 0xec43(%rip)      # 0x15d80
movq -0x8(%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rax, 0xebd4(%rip)      # 0x15d20
movb (%rdx), %al
movb %al, 0xec24(%rip)       # 0x15d78
addq $0x8, %rsp
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: zconf_scan_bytes
YY_BUFFER_STATE zconf_scan_bytes  (yyconst char * bytes, int  len )
{
	YY_BUFFER_STATE b;
	char *buf;
	yy_size_t n;
	int i;
    
	/* Get memory for full buffer, including space for trailing EOB's. */
	n = len + 2;
	buf = (char *) zconfalloc(n  );
	if ( ! buf )
		YY_FATAL_ERROR( "out of dynamic memory in zconf_scan_bytes()" );

	for ( i = 0; i < len; ++i )
		buf[i] = bytes[i];

	buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;

	b = zconf_scan_buffer(buf,n );
	if ( ! b )
		YY_FATAL_ERROR( "bad buffer in zconf_scan_bytes()" );

	/* It's okay to grow etc. this buffer, and we should throw it
	 * away when we're done.
	 */
	b->yy_is_our_buffer = 1;

	return b;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %r14d
movq %rdi, %r12
leal 0x2(%r14), %ebx
movq %rbx, %rdi
callq 0x2230
testq %rax, %rax
je 0x7249
movq %rax, %r15
testl %r14d, %r14d
jle 0x721d
movl %r14d, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x21f0
movslq %r14d, %rax
movw $0x0, (%r15,%rax)
movq %r15, %rdi
movl %ebx, %esi
callq 0x7159
testq %rax, %rax
je 0x724e
movl $0x1, 0x20(%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x2743
callq 0x271b
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: zconflex_destroy
int zconflex_destroy  (void)
{
    
    /* Pop the buffer stack, destroying each element. */
	while(YY_CURRENT_BUFFER){
		zconf_delete_buffer(YY_CURRENT_BUFFER  );
		YY_CURRENT_BUFFER_LVALUE = NULL;
		zconfpop_buffer_state();
	}

	/* Destroy the stack itself. */
	zconffree((yy_buffer_stack) );
	(yy_buffer_stack) = NULL;

    return 0;
}

// Assembly:
pushq %rax
movq 0xeaba(%rip), %rdi      # 0x15d60
testq %rdi, %rdi
je 0x72e0
movq 0xeab6(%rip), %rax      # 0x15d68
movq (%rdi,%rax,8), %rax
testq %rax, %rax
je 0x72e2
movq %rax, %rdi
callq 0x6f66
movq 0xea96(%rip), %rax      # 0x15d60
movq 0xea97(%rip), %rcx      # 0x15d68
movq $0x0, (%rax,%rcx,8)
callq 0x70d0
jmp 0x729f
xorl %edi, %edi
callq 0x2040
movq $0x0, 0xea6e(%rip) # 0x15d60
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/lex.zconf.c
// Function: zconf_fopen
FILE *zconf_fopen(const char *name)
{
	char *env, fullname[PATH_MAX+1];
	FILE *f;

	f = fopen(name, "r");
	if (!f && name[0] != '/') {
		env = getenv(SRCTREE);
		if (env) {
			sprintf(fullname, "%s/%s", env, name);
			f = fopen(fullname, "r");
		}
	}
	return f;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x1008, %rsp           # imm = 0x1008
movq %rdi, %rbx
leaq 0x9916(%rip), %rsi      # 0x10c27
callq 0x2280
testq %rax, %rax
jne 0x735e
cmpb $0x2f, (%rbx)
je 0x735c
leaq 0x94d8(%rip), %rdi      # 0x107ff
callq 0x2030
testq %rax, %rax
je 0x735c
leaq 0x94cf(%rip), %rsi      # 0x10807
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x22d0
leaq 0x98d5(%rip), %rsi      # 0x10c27
movq %r14, %rdi
callq 0x2280
jmp 0x735e
xorl %eax, %eax
addq $0x1008, %rsp           # imm = 0x1008
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./menu.c
// Function: file_lookup
struct file *file_lookup(const char *name)
{
	struct file *file;

	for (file = file_list; file; file = file->next) {
		if (!strcmp(name, file->name))
			return file;
	}

	file = malloc(sizeof(*file));
	memset(file, 0, sizeof(*file));
	file->name = strdup(name);
	file->next = file_list;
	file_list = file;
	return file;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0xfa51(%rip), %rbx      # 0x16dc8
movq (%rbx), %rbx
testq %rbx, %rbx
je 0x7391
movq 0x10(%rbx), %rsi
movq %r14, %rdi
callq 0x2190
testl %eax, %eax
jne 0x7377
jmp 0x73c0
movl $0x1, %edi
movl $0x20, %esi
callq 0x2180
movq %rax, %rbx
movq %r14, %rdi
callq 0x2300
movq %rax, 0x10(%rbx)
movq 0xfa12(%rip), %rax      # 0x16dc8
movq %rax, (%rbx)
movq %rbx, 0xfa08(%rip)      # 0x16dc8
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./confdata.c
// Function: conf_get_default_confname
char *conf_get_default_confname(void)
{
	struct stat buf;
	static char fullname[4096+1];
	char *env, *name;

	name = conf_expand_value(conf_defname);
	env = getenv(SRCTREE);
	if (env) {
		sprintf(fullname, "%s/%s", env, name);
		if (!stat(fullname, &buf))
			return fullname;
	}
	return name;
}

// Assembly:
pushq %rbx
subq $0x90, %rsp
leaq 0x8e16(%rip), %rdi      # 0x101f0
callq 0x7434
leaq 0x9419(%rip), %rdi      # 0x107ff
callq 0x2030
testq %rax, %rax
je 0x7421
leaq 0xe9b9(%rip), %rbx      # 0x15db0
leaq 0x9409(%rip), %rsi      # 0x10807
leaq 0xf9db(%rip), %rcx      # 0x16de0
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x22d0
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x21c0
testl %eax, %eax
je 0x7428
leaq 0xf9b8(%rip), %rbx      # 0x16de0
movq %rbx, %rax
addq $0x90, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./confdata.c
// Function: conf_expand_value
static char *conf_expand_value(const char *in)
{
	struct symbol *sym;
	const char *src;
	static char res_value[SYMBOL_MAXLENGTH];
	char *dst, name[SYMBOL_MAXLENGTH];

	res_value[0] = 0;
	dst = name;
	while ((src = strchr(in, '$'))) {
		strncat(res_value, in, src - in);
		src++;
		dst = name;
		while (isalnum(*src) || *src == '_')
			*dst++ = *src++;
		*dst = 0;
		sym = sym_lookup(name, 0);
		sym_calc_value(sym);
		strcat(res_value, sym_get_string_value(sym));
		in = src;
	}
	strcat(res_value, in);

	return res_value;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdi, %rbx
movb $0x0, 0xf991(%rip)      # 0x16de0
movl $0x24, %esi
callq 0x20f0
testq %rax, %rax
je 0x7533
movq %rax, %r13
callq 0x2310
movq %rax, %r14
leaq 0xf96c(%rip), %r15      # 0x16de0
movq %rsp, %r12
leaq 0xd91a(%rip), %rbp      # 0x14d98
movq %r13, %rdx
subq %rbx, %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2130
movq (%r14), %rax
movsbq 0x1(%r13), %rcx
movq %r13, %rbx
incq %rbx
cmpq $0x5f, %rcx
je 0x74b1
movzwl (%rax,%rcx,2), %edx
andl $0x8, %edx
jne 0x74b1
movq %r12, %rdx
jmp 0x74d0
movq %r12, %rdx
movb %cl, (%rdx)
incq %rdx
movsbq 0x1(%rbx), %rcx
incq %rbx
cmpq $0x5f, %rcx
je 0x74b4
movzwl (%rax,%rcx,2), %esi
andl $0x8, %esi
jne 0x74b4
movb $0x0, (%rdx)
movq %r12, %rdi
xorl %esi, %esi
callq 0x57cd
movq %rax, %r13
movq %rax, %rdi
callq 0x7bd5
movl 0x18(%r13), %eax
decl %eax
cmpl $0x1, %eax
ja 0x750a
movl 0x28(%r13), %eax
cmpq $0x3, %rax
jae 0x750a
leaq (,%rax,8), %r13
addq %rbp, %r13
jmp 0x750e
addq $0x20, %r13
movq (%r13), %rsi
movq %r15, %rdi
callq 0x22c0
movq %rbx, %rdi
movl $0x24, %esi
callq 0x20f0
movq %rax, %r13
testq %rax, %rax
jne 0x747e
leaq 0xf8a6(%rip), %rdi      # 0x16de0
movq %rbx, %rsi
callq 0x22c0
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./symbol.c
// Function: sym_find
struct symbol *sym_find(const char *name)
{
	struct symbol *symbol = NULL;
	const char *ptr;
	int hash = 0;

	if (!name)
		return NULL;

	if (name[0] && !name[1]) {
		switch (name[0]) {
		case 'y': return &symbol_yes;
		case 'm': return &symbol_mod;
		case 'n': return &symbol_no;
		}
	}
	for (ptr = name; *ptr; ptr++)
		hash += *ptr;
	hash &= 0xff;

	for (symbol = symbol_hash[hash]; symbol; symbol = symbol->next) {
		if (!strcmp(symbol->name, name) &&
		    !(symbol->flags & SYMBOL_CONST))
				break;
	}

	return symbol;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x7a7d
movq %rdi, %rbx
movzbl (%rdi), %eax
testl %eax, %eax
je 0x7a4f
cmpb $0x0, 0x1(%rbx)
je 0x7a8b
leaq 0x1(%rbx), %rdx
xorl %ecx, %ecx
movzbl %al, %eax
addl %eax, %ecx
movb (%rdx), %al
incq %rdx
testb %al, %al
jne 0x7a3c
movzbl %cl, %eax
jmp 0x7a51
xorl %eax, %eax
leaq 0xdab8(%rip), %rcx      # 0x15510
movq (%rcx,%rax,8), %r14
testq %r14, %r14
je 0x7a7d
movq 0x8(%r14), %rdi
movq %rbx, %rsi
callq 0x2190
testl %eax, %eax
jne 0x7a78
testb $0x7, 0x44(%r14)
je 0x7a80
movq (%r14), %r14
jmp 0x7a5c
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
cmpl $0x79, %eax
je 0x7aac
cmpl $0x6e, %eax
je 0x7aa3
cmpl $0x6d, %eax
jne 0x7a36
leaq 0xd857(%rip), %r14      # 0x152f8
jmp 0x7a80
leaq 0xd76e(%rip), %r14      # 0x15218
jmp 0x7a80
leaq 0xd7d5(%rip), %r14      # 0x15288
jmp 0x7a80
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./symbol.c
// Function: sym_string_valid
bool sym_string_valid(struct symbol *sym, const char *str)
{
	char ch;

	switch (sym->type) {
	case S_STRING:
		return true;
	case S_INT:
		ch = *str++;
		if (ch == '-')
			ch = *str++;
		if (!isdigit(ch))
			return false;
		if (ch == '0' && *str != 0)
			return false;
		while ((ch = *str++)) {
			if (!isdigit(ch))
				return false;
		}
		return true;
	case S_HEX:
		if (str[0] == '0' && (str[1] == 'x' || str[1] == 'X'))
			str += 2;
		ch = *str++;
		do {
			if (!isxdigit(ch))
				return false;
		} while ((ch = *str++));
		return true;
	case S_BOOLEAN:
	case S_TRISTATE:
		switch (str[0]) {
		case 'y': case 'Y':
		case 'm': case 'M':
		case 'n': case 'N':
			return true;
		}
		return false;
	default:
		return false;
	}
}

// Assembly:
movl 0x18(%rdi), %eax
decl %eax
cmpl $0x4, %eax
ja 0x7b2a
pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
leaq 0x3a34(%rip), %rcx      # 0xb500
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movb (%rbx), %cl
addb $-0x4d, %cl
cmpb $0x2d, %cl
jae 0x7b4f
movabsq $0x100300001003, %rax   # imm = 0x100300001003
shrq %cl, %rax
jmp 0x7b9b
movb $0x1, %al
jmp 0x7b9b
movb (%rbx), %bpl
cmpb $0x2d, %bpl
jne 0x7b2e
movb 0x1(%rbx), %bpl
addq $0x2, %rbx
jmp 0x7b31
movb (%rbx), %bpl
cmpb $0x30, %bpl
jne 0x7b6e
movzbl 0x1(%rbx), %eax
orl $0x20, %eax
cmpl $0x78, %eax
jne 0x7b6b
movb 0x2(%rbx), %bpl
addq $0x2, %rbx
jmp 0x7b6e
xorl %eax, %eax
jmp 0x7ba1
incq %rbx
callq 0x2310
movq (%rax), %rcx
movsbq %bpl, %rax
testb $0x8, 0x1(%rcx,%rax,2)
je 0x7b4f
cmpb $0x30, %bpl
jne 0x7b53
cmpb $0x0, (%rbx)
je 0x7b53
xorl %eax, %eax
jmp 0x7b9b
movsbq (%rbx), %rdx
testq %rdx, %rdx
sete %al
je 0x7b9b
incq %rbx
testb $0x8, 0x1(%rcx,%rdx,2)
jne 0x7b53
jmp 0x7b9b
movb $0x30, %bpl
callq 0x2310
movq (%rax), %rcx
incq %rbx
movsbq %bpl, %rax
movzwl (%rcx,%rax,2), %edx
andl $0x1000, %edx           # imm = 0x1000
movl %edx, %eax
shrl $0xc, %eax
testl %edx, %edx
je 0x7b9b
movb (%rbx), %bpl
incq %rbx
testb %bpl, %bpl
jne 0x7b79
addq $0x8, %rsp
popq %rbx
popq %rbp
andb $0x1, %al
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./symbol.c
// Function: sym_string_within_range
bool sym_string_within_range(struct symbol *sym, const char *str)
{
	struct property *prop;
	int val;

	switch (sym->type) {
	case S_STRING:
		return sym_string_valid(sym, str);
	case S_INT:
		if (!sym_string_valid(sym, str))
			return false;
		prop = sym_get_range_prop(sym);
		if (!prop)
			return true;
		val = strtol(str, NULL, 10);
		return val >= strtol(prop->expr->left.sym->name, NULL, 10) &&
		       val <= strtol(prop->expr->right.sym->name, NULL, 10);
	case S_HEX:
		if (!sym_string_valid(sym, str))
			return false;
		prop = sym_get_range_prop(sym);
		if (!prop)
			return true;
		val = strtol(str, NULL, 16);
		return val >= strtol(prop->expr->left.sym->name, NULL, 16) &&
		       val <= strtol(prop->expr->right.sym->name, NULL, 16);
	case S_BOOLEAN:
	case S_TRISTATE:
		switch (str[0]) {
		case 'y': case 'Y':
			return sym_tristate_within_range(sym, yes);
		case 'm': case 'M':
			return sym_tristate_within_range(sym, mod);
		case 'n': case 'N':
			return sym_tristate_within_range(sym, no);
		}
		return false;
	default:
		return false;
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl 0x18(%rdi), %eax
decl %eax
cmpl $0x4, %eax
ja 0x80e4
movq %rsi, %r14
movq %rdi, %r15
leaq 0x3585(%rip), %rcx      # 0xb514
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movzbl (%r14), %eax
xorl %ebx, %ebx
addl $-0x4d, %eax
cmpl $0x2c, %eax
ja 0x80e6
movabsq $0x100000001, %rcx      # imm = 0x100000001
btq %rax, %rcx
jb 0x80f5
movabsq $0x200000002, %rcx      # imm = 0x200000002
btq %rax, %rcx
jb 0x80ee
movabsq $0x100000001000, %rcx   # imm = 0x100000001000
btq %rax, %rcx
jae 0x80e6
movq %r15, %rdi
movl $0x2, %esi
jmp 0x80fd
movq %r15, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x7ab5
movq %r15, %rdi
movq %r14, %rsi
callq 0x7ab5
testb %al, %al
je 0x80e4
movq %r15, %rdi
callq 0xa585
testq %rax, %rax
je 0x8107
movq %rax, %r15
xorl %ebx, %ebx
movq %r14, %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x21d0
movslq %eax, %r14
movq 0x30(%r15), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x21d0
cmpq %rax, %r14
jl 0x80e6
movq 0x30(%r15), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
xorl %esi, %esi
movl $0xa, %edx
jmp 0x80d7
movq %r15, %rdi
movq %r14, %rsi
callq 0x7ab5
testb %al, %al
je 0x80e4
movq %r15, %rdi
callq 0xa585
testq %rax, %rax
je 0x8107
movq %rax, %r15
xorl %ebx, %ebx
movq %r14, %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x21d0
movslq %eax, %r14
movq 0x30(%r15), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x21d0
cmpq %rax, %r14
jl 0x80e6
movq 0x30(%r15), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x21d0
cmpq %rax, %r14
setle %bl
jmp 0x80e6
xorl %ebx, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
movq %r15, %rdi
xorl %esi, %esi
jmp 0x80fd
movq %r15, %rdi
movl $0x1, %esi
popq %rbx
popq %r14
popq %r15
jmp 0xa6bc
movb $0x1, %bl
jmp 0x80e6
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./symbol.c
// Function: sym_clear_all_valid
void sym_clear_all_valid(void)
{
	struct symbol *sym;
	int i;

	for_all_symbols(i, sym)
		sym->flags &= ~SYMBOL_VALID;
	sym_change_count++;
}

// Assembly:
xorl %eax, %eax
leaq 0xce8a(%rip), %rcx      # 0x15510
movq (%rcx,%rax,8), %rdx
testq %rdx, %rdx
je 0x869e
cmpl $0x6, 0x18(%rdx)
je 0x8699
andb $0x7f, 0x44(%rdx)
movq (%rdx), %rdx
jmp 0x868a
incq %rax
cmpq $0x101, %rax            # imm = 0x101
jne 0x8686
incl 0xd669(%rip)            # 0x15d18
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./menu.c
// Function: menu_is_visible
bool menu_is_visible(struct menu *menu)
{
	struct menu *child;
	struct symbol *sym;
	tristate visible;

	if (!menu->prompt)
		return false;
	sym = menu->sym;
	if (sym) {
		sym_calc_value(sym);
		visible = menu->prompt->visible.tri;
	} else
		visible = menu->prompt->visible.tri = expr_calc_value(menu->prompt->visible.expr);

	if (visible != no)
		return true;
	if (!sym || sym_get_tristate_value(menu->sym) == no)
		return false;

	for (child = menu->list; child; child = child->next)
		if (menu_is_visible(child))
			return true;
	return false;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq 0x20(%rdi), %rax
testq %rax, %rax
je 0x8702
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
testq %rdi, %rdi
je 0x8706
callq 0x7bd5
movq 0x20(%rbx), %rax
movb $0x1, %bpl
cmpl $0x0, 0x28(%rax)
jne 0x871c
movq 0x18(%rbx), %rax
cmpl $0x0, 0x28(%rax)
je 0x8702
addq $0x10, %rbx
movq (%rbx), %rbx
testq %rbx, %rbx
setne %bpl
je 0x871c
movq %rbx, %rdi
callq 0x86b0
testb %al, %al
je 0x86e8
jmp 0x871c
xorl %ebp, %ebp
jmp 0x871c
movq 0x20(%rax), %rdi
callq 0x9fc3
movq 0x20(%rbx), %rcx
movl %eax, 0x28(%rcx)
testl %eax, %eax
setne %bpl
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/saltyJeff[P]uClibcpp/extra/config/./menu.c
// Function: menu_get_prompt
const char *menu_get_prompt(struct menu *menu)
{
	if (menu->prompt)
		return menu->prompt->text;
	else if (menu->sym)
		return menu->sym->name;
	return NULL;
}

// Assembly:
movq 0x20(%rdi), %rax
testq %rax, %rax
je 0x8734
addq $0x18, %rax
jmp 0x8741
movq 0x18(%rdi), %rax
testq %rax, %rax
je 0x8745
addq $0x8, %rax
movq (%rax), %rax
retq
xorl %eax, %eax
retq