// File: /workspace/github_c_makefile_star2_O0/blakemcbride[P]LISP9/ls9.c
// Function: htgrow
void htgrow(cell d) {
	int	nk, i, h, k;
	cell	nd, e, n;

	k = htlen(d);
	nk = 1 + htlen(d);
	nd = mkht(nk);
	protect(nd);
	nk = htlen(nd);
	for (i = 0; i < k; i++) {
		for (e = htslots(d)[i]; e != NIL; e = cdr(e)) {
			h = obhash(caar(e), nk);
			n = cons(car(e), htslots(nd)[h]);
			htslots(nd)[h] = n;
		}
	}
	htdata(d) = htdata(nd);
	unprot(1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movq 0x1be56(%rip), %rax     # 0x20358
movq 0x1be3f(%rip), %rcx     # 0x20348
movq 0x1be38(%rip), %rdx     # 0x20348
movslq -0x4(%rbp), %rsi
movslq (%rdx,%rsi,4), %rdx
movl (%rcx,%rdx,4), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movslq (%rax,%rcx,4), %rax
addq $0x4, %rax
subq $0x1, %rax
shrq $0x2, %rax
addq $0x2, %rax
subq $0x2, %rax
movl %eax, -0x14(%rbp)
movq 0x1be15(%rip), %rax     # 0x20358
movq 0x1bdfe(%rip), %rcx     # 0x20348
movq 0x1bdf7(%rip), %rdx     # 0x20348
movslq -0x4(%rbp), %rsi
movslq (%rdx,%rsi,4), %rdx
movl (%rcx,%rdx,4), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movslq (%rax,%rcx,4), %rax
addq $0x4, %rax
subq $0x1, %rax
shrq $0x2, %rax
addq $0x2, %rax
subq $0x2, %rax
addq $0x1, %rax
movl %eax, -0x8(%rbp)
movl -0x8(%rbp), %edi
callq 0x3ea0
movl %eax, -0x18(%rbp)
movl -0x18(%rbp), %edi
movl 0x1bbdb(%rip), %esi     # 0x20170
xorl %edx, %edx
callq 0x3990
movl %eax, 0x1bbce(%rip)     # 0x20170
movq 0x1bdaf(%rip), %rax     # 0x20358
movq 0x1bd98(%rip), %rcx     # 0x20348
movq 0x1bd91(%rip), %rdx     # 0x20348
movslq -0x18(%rbp), %rsi
movslq (%rdx,%rsi,4), %rdx
movl (%rcx,%rdx,4), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movslq (%rax,%rcx,4), %rax
addq $0x4, %rax
subq $0x1, %rax
shrq $0x2, %rax
addq $0x2, %rax
subq $0x2, %rax
movl %eax, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
movl -0xc(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x46f5
movq 0x1bd5b(%rip), %rax     # 0x20358
movq 0x1bd44(%rip), %rcx     # 0x20348
movq 0x1bd3d(%rip), %rdx     # 0x20348
movslq -0x4(%rbp), %rsi
movslq (%rdx,%rsi,4), %rdx
movslq (%rcx,%rdx,4), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movslq -0xc(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x1c(%rbp)
cmpl $-0x1, -0x1c(%rbp)
je 0x46e5
movq 0x1bd07(%rip), %rax     # 0x20340
movq 0x1bd00(%rip), %rcx     # 0x20340
movslq -0x1c(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
movl (%rax,%rcx,4), %edi
movl -0x8(%rbp), %esi
callq 0x3f70
movl %eax, -0x10(%rbp)
movq 0x1bce3(%rip), %rax     # 0x20340
movslq -0x1c(%rbp), %rcx
movl (%rax,%rcx,4), %edi
movq 0x1bced(%rip), %rax     # 0x20358
movq 0x1bcd6(%rip), %rcx     # 0x20348
movq 0x1bccf(%rip), %rdx     # 0x20348
movslq -0x18(%rbp), %rsi
movslq (%rdx,%rsi,4), %rdx
movslq (%rcx,%rdx,4), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movslq -0x10(%rbp), %rcx
movl (%rax,%rcx,4), %esi
xorl %edx, %edx
callq 0x3990
movl %eax, -0x20(%rbp)
movl -0x20(%rbp), %edx
movq 0x1bcb1(%rip), %rax     # 0x20358
movq 0x1bc9a(%rip), %rcx     # 0x20348
movq 0x1bc93(%rip), %rsi     # 0x20348
movslq -0x18(%rbp), %rdi
movslq (%rsi,%rdi,4), %rsi
movslq (%rcx,%rsi,4), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movslq -0x10(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq 0x1bc72(%rip), %rax     # 0x20348
movslq -0x1c(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x1c(%rbp)
jmp 0x4628
jmp 0x46e7
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x45ea
movq 0x1bc4c(%rip), %rax     # 0x20348
movslq -0x18(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq 0x1bc3e(%rip), %rax     # 0x20348
movslq -0x4(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl $0x1, %edi
callq 0x3d00
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)