// File: /workspace/github_c_makefile_star2_O1/rakitzis[P]rc/hash.c
// Function: makeenv
extern char **makeenv() {
	int ep, i;
	char *v;
	if (!env_dirty)
		return env;
	env_dirty = FALSE;
	ep = bozosize;
	if (vsize + fsize + 1 + bozosize > envsize) {
		envsize = 2 * (bozosize + vsize + fsize + 1);
		env = erealloc(env, envsize * sizeof(char *));
	}
	for (i = 0; i < vsize; i++) {
		if (vp[i].name == NULL || vp[i].name == dead || !var_exportable(vp[i].name))
			continue;
		v = varlookup_string(vp[i].name);
		if (v != NULL)
			env[ep++] = v;
	}
	for (i = 0; i < fsize; i++) {
		if (fp[i].name == NULL || fp[i].name == dead || !fn_exportable(fp[i].name))
			continue;
		env[ep++] = fnlookup_string(fp[i].name);
	}
	env[ep] = NULL;
	qsort(env, (size_t) ep, sizeof(char *), starstrcmp);
	return env;
}

// Assembly:
cmpb $0x0, 0x120a7(%rip)     # 0x19af0
jne 0x7c9c
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movb $0x1, 0x1208f(%rip)     # 0x19af0
movl 0x12099(%rip), %edx     # 0x19b00
movl 0x1207f(%rip), %ecx     # 0x19aec
movl 0x12075(%rip), %eax     # 0x19ae8
movl %edx, 0x4(%rsp)
addl %edx, %eax
leal (%rcx,%rax), %edx
incl %edx
cmpl 0x12070(%rip), %edx     # 0x19af4
jle 0x7aaf
addl %ecx, %eax
leal 0x2(,%rax,2), %eax
movl %eax, 0x1205f(%rip)     # 0x19af4
movq 0x1205c(%rip), %rdi     # 0x19af8
movslq %eax, %rsi
shlq $0x3, %rsi
callq 0xa111
movq %rax, 0x12049(%rip)     # 0x19af8
cmpl $0x0, 0x12032(%rip)     # 0x19ae8
leaq 0x831a(%rip), %r12      # 0xfdd7
jle 0x7b91
xorl %r14d, %r14d
leaq 0x11233(%rip), %r15     # 0x18d00
leaq 0x1182c(%rip), %r13     # 0x19300
movq 0x11ffd(%rip), %rax     # 0x19ad8
movq %r14, %rcx
shlq $0x4, %rcx
movq (%rax,%rcx), %rbx
testq %rbx, %rbx
sete %al
cmpq %r12, %rbx
sete %cl
orb %al, %cl
jne 0x7b7e
movb (%rbx), %r12b
xorl %ebp, %ebp
movq (%rbp,%r15), %rsi
cmpb (%rsi), %r12b
jne 0x7b15
movq %rbx, %rdi
callq 0x31f0
testl %eax, %eax
je 0x7b77
addq $0x8, %rbp
cmpq $0x50, %rbp
jne 0x7aff
xorl %ebp, %ebp
cmpl $0x0, 0x8(%rbp,%r13)
jne 0x7b3f
movq (%rbp,%r13), %rsi
cmpb (%rsi), %r12b
jne 0x7b3f
movq %rbx, %rdi
callq 0x31f0
testl %eax, %eax
je 0x7b77
addq $0x10, %rbp
cmpq $0x10, %rbp
je 0x7b21
movq %rbx, %rdi
callq 0xcc14
testq %rax, %rax
leaq 0x827c(%rip), %r12      # 0xfdd7
je 0x7b7e
movq 0x11f94(%rip), %rcx     # 0x19af8
movl 0x4(%rsp), %esi
movslq %esi, %rdx
incl %esi
movl %esi, 0x4(%rsp)
movq %rax, (%rcx,%rdx,8)
jmp 0x7b7e
leaq 0x8259(%rip), %r12      # 0xfdd7
incq %r14
movslq 0x11f60(%rip), %rax     # 0x19ae8
cmpq %rax, %r14
jl 0x7ad4
cmpl $0x0, 0x11f54(%rip)     # 0x19aec
jle 0x7c69
xorl %r13d, %r13d
leaq 0x788a(%rip), %rbx      # 0xf432
leaq 0x117a1(%rip), %r14     # 0x19350
movq 0x11f1a(%rip), %rax     # 0x19ad0
movq %r13, %rcx
shlq $0x4, %rcx
movq (%rax,%rcx), %r15
testq %r15, %r15
sete %al
cmpq %r12, %r15
sete %cl
orb %al, %cl
jne 0x7c05
movl $0x3, %edx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3060
testl %eax, %eax
je 0x7c16
movq %r15, %rdi
callq 0x510e
movq 0x11f04(%rip), %rcx     # 0x19af8
movl 0x4(%rsp), %esi
movslq %esi, %rdx
incl %esi
movl %esi, 0x4(%rsp)
movq %rax, (%rcx,%rdx,8)
incq %r13
movslq 0x11edd(%rip), %rax     # 0x19aec
cmpq %rax, %r13
jl 0x7baf
jmp 0x7c69
movb (%r15), %bpl
xorl %r12d, %r12d
movq (%r14,%r12), %rsi
cmpb (%rsi), %bpl
jne 0x7c31
movq %r15, %rdi
callq 0x31f0
testl %eax, %eax
je 0x7c60
addq $0x10, %r12
cmpq $0x410, %r12            # imm = 0x410
jne 0x7c1c
cmpb $0x73, %bpl
leaq 0x818e(%rip), %r12      # 0xfdd7
jne 0x7be5
movq %r15, %rdi
leaq 0x77d5(%rip), %rsi      # 0xf42a
callq 0x31f0
testl %eax, %eax
jne 0x7be5
jmp 0x7c05
leaq 0x8170(%rip), %r12      # 0xfdd7
jmp 0x7c05
movq 0x11e88(%rip), %rdi     # 0x19af8
movslq 0x4(%rsp), %rsi
movq $0x0, (%rdi,%rsi,8)
leaq 0x4c39(%rip), %rcx      # 0xc8bd
movl $0x8, %edx
callq 0x3080
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
movq 0x11e55(%rip), %rax     # 0x19af8
retq