// File: /workspace/github_c_makefile_star2_O0/blakemcbride[P]LISP9/ls9.c
// Function: nlconc
cell nlconc(cell x) {
	cell	p, q;

	while (pairp(cdr(x)) && NIL == car(x)) x = cdr(x);
	if (NIL == cdr(x)) return car(x);
	for (p = x; cdr(p) != NIL; p = cdr(p)) {
		if (NIL == car(p)) continue;
		if (constp(car(p))) error("nconc: immutable", car(p));
		for (q = car(p); cdr(q) != NIL; q = cdr(q)) {
			if (!pairp(q))
				expect("nconc", "list", car(p));
		}
		while (pairp(cdr(p)) && NIL == cadr(p))
			p = cdr(p);
		if (NIL == cdr(p)) break;
		cdr(q) = cadr(p);
	}
	return car(x);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x8(%rbp)
movq 0xf396(%rip), %rcx      # 0x20348
movslq -0x8(%rbp), %rdx
xorl %eax, %eax
cmpl $0x0, (%rcx,%rdx,4)
movb %al, -0x11(%rbp)
jl 0x11028
movq 0xf388(%rip), %rax      # 0x20350
movq 0xf379(%rip), %rcx      # 0x20348
movslq -0x8(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
movzbl (%rax,%rcx), %ecx
andl $0x1, %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x11(%rbp)
jne 0x11028
movq 0xf361(%rip), %rax      # 0x20350
movq 0xf352(%rip), %rcx      # 0x20348
movslq -0x8(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
movzbl (%rax,%rcx), %ecx
andl $0x8, %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x11(%rbp)
jne 0x11028
movq 0xf32a(%rip), %rcx      # 0x20340
movslq -0x8(%rbp), %rdx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl (%rcx,%rdx,4), %eax
sete %al
movb %al, -0x11(%rbp)
movb -0x11(%rbp), %al
testb $0x1, %al
jne 0x11031
jmp 0x11047
movq 0xf310(%rip), %rax      # 0x20348
movslq -0x8(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x8(%rbp)
jmp 0x10fab
movq 0xf2fa(%rip), %rcx      # 0x20348
movslq -0x8(%rbp), %rdx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl (%rcx,%rdx,4), %eax
jne 0x11072
movq 0xf2dd(%rip), %rax      # 0x20340
movslq -0x8(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x4(%rbp)
jmp 0x11290
movl -0x8(%rbp), %eax
movl %eax, -0xc(%rbp)
movq 0xf2c9(%rip), %rax      # 0x20348
movslq -0xc(%rbp), %rcx
cmpl $-0x1, (%rax,%rcx,4)
je 0x1127f
movq 0xf2ac(%rip), %rcx      # 0x20340
movslq -0xc(%rbp), %rdx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl (%rcx,%rdx,4), %eax
jne 0x110a7
jmp 0x11269
movq 0xf292(%rip), %rax      # 0x20340
movslq -0xc(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,4)
jl 0x110f6
movq 0xf291(%rip), %rax      # 0x20350
movq 0xf27a(%rip), %rcx      # 0x20340
movslq -0xc(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
movzbl (%rax,%rcx), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x110f6
movq 0xf25d(%rip), %rax      # 0x20340
movslq -0xc(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq 0xaa23(%rip), %rdi      # 0x1bb14
callq 0x26c0
movq 0xf243(%rip), %rax      # 0x20340
movslq -0xc(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x10(%rbp)
movq 0xf23a(%rip), %rax      # 0x20348
movslq -0x10(%rbp), %rcx
cmpl $-0x1, (%rax,%rcx,4)
je 0x11182
cmpl $0x0, -0x10(%rbp)
jl 0x1114c
movq 0xf22b(%rip), %rax      # 0x20350
movslq -0x10(%rbp), %rcx
movzbl (%rax,%rcx), %eax
andl $0x1, %eax
cmpl $0x0, %eax
jne 0x1114c
movq 0xf214(%rip), %rax      # 0x20350
movslq -0x10(%rbp), %rcx
movzbl (%rax,%rcx), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0x1116d
movq 0xf1ed(%rip), %rax      # 0x20340
movslq -0xc(%rbp), %rcx
movl (%rax,%rcx,4), %edx
leaq 0xa9c4(%rip), %rdi      # 0x1bb25
leaq 0xabca(%rip), %rsi      # 0x1bd32
callq 0x2950
jmp 0x1116f
movq 0xf1d2(%rip), %rax      # 0x20348
movslq -0x10(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x10(%rbp)
jmp 0x11107
jmp 0x11184
movq 0xf1bd(%rip), %rcx      # 0x20348
movslq -0xc(%rbp), %rdx
xorl %eax, %eax
cmpl $0x0, (%rcx,%rdx,4)
movb %al, -0x12(%rbp)
jl 0x1120c
movq 0xf1af(%rip), %rax      # 0x20350
movq 0xf1a0(%rip), %rcx      # 0x20348
movslq -0xc(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
movzbl (%rax,%rcx), %ecx
andl $0x1, %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x12(%rbp)
jne 0x1120c
movq 0xf188(%rip), %rax      # 0x20350
movq 0xf179(%rip), %rcx      # 0x20348
movslq -0xc(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
movzbl (%rax,%rcx), %ecx
andl $0x8, %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x12(%rbp)
jne 0x1120c
movq 0xf151(%rip), %rcx      # 0x20340
movq 0xf152(%rip), %rax      # 0x20348
movslq -0xc(%rbp), %rdx
movslq (%rax,%rdx,4), %rdx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl (%rcx,%rdx,4), %eax
sete %al
movb %al, -0x12(%rbp)
movb -0x12(%rbp), %al
testb $0x1, %al
jne 0x11215
jmp 0x1122b
movq 0xf12c(%rip), %rax      # 0x20348
movslq -0xc(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xc(%rbp)
jmp 0x11184
movq 0xf116(%rip), %rcx      # 0x20348
movslq -0xc(%rbp), %rdx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl (%rcx,%rdx,4), %eax
jne 0x11242
jmp 0x1127f
movq 0xf0f7(%rip), %rax      # 0x20340
movq 0xf0f8(%rip), %rcx      # 0x20348
movslq -0xc(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
movl (%rax,%rcx,4), %edx
movq 0xf0e6(%rip), %rax      # 0x20348
movslq -0x10(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq 0xf0d8(%rip), %rax      # 0x20348
movslq -0xc(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xc(%rbp)
jmp 0x11078
movq 0xf0ba(%rip), %rax      # 0x20340
movslq -0x8(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)