// File: /workspace/github_c_makefile_star2_O3/blakemcbride[P]LISP9/ls9.c
// Function: report
void report(char *s, cell x) {
	int	i, j, o;

	o = set_outport(2);
	prints("*** error: ");
	prints(s);
	if (x != UNDEF) {
		prints(": ");
		Plimit = 100;
		prin(x);
		Plimit = 0;
	}
	nl();
	if (Files != NIL) {
		prints("*** file: ");
		printb(string(car(Files)));
		prints(", line: ");
		prints(ntoa(Line, 10));
		nl();
	}
	if (gottrace()) {
		prints("*** trace:");
		i = Tp;
		for (j=0; j<NTRACE; j++) {
			if (i >= NTRACE) i = 0;
			if (Trace[i] != -1) {
				prints(" ");
				printb(symname(vector(Symbols)[Trace[i]]));
			}
			i++;
		}
		nl();
	}
	set_outport(o);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movl 0x16db4(%rip), %ebp     # 0x19148
movl $0x2, 0x16daa(%rip)     # 0x19148
leaq 0x10f7b(%rip), %rdi     # 0x13320
movl $0xb, %esi
callq 0x29c1
movq %r14, %rdi
callq 0x2080
movq %r14, %rdi
movl %eax, %esi
callq 0x29c1
cmpl $-0x4, %ebx
je 0x23f7
leaq 0x10f67(%rip), %rdi     # 0x13334
movl $0x2, %esi
callq 0x29c1
movl $0x64, 0x16fb7(%rip)    # 0x19398
movl $0x1, %edi
movl %ebx, %esi
callq 0x5be9
movl $0x0, 0x16fa1(%rip)     # 0x19398
leaq 0x11e0a(%rip), %rdi     # 0x14208
movl $0x1, %esi
callq 0x29c1
cmpl $-0x1, 0x16d29(%rip)    # 0x19138
je 0x24fb
leaq 0x10f10(%rip), %rdi     # 0x1332c
movl $0xa, %esi
callq 0x29c1
movq 0x16f1b(%rip), %rax     # 0x19348
movq 0x16f0c(%rip), %rcx     # 0x19340
movslq 0x16cfd(%rip), %rdx     # 0x19138
movslq (%rcx,%rdx,4), %rcx
movslq (%rax,%rcx,4), %rbx
shlq $0x2, %rbx
addq 0x16f0a(%rip), %rbx     # 0x19358
movq %rbx, %rdi
callq 0x2080
movq %rbx, %rdi
movl %eax, %esi
callq 0x29c1
leaq 0x10ed0(%rip), %rdi     # 0x13337
movl $0x8, %esi
callq 0x29c1
movl 0x16cbd(%rip), %eax     # 0x19134
movb $0x0, 0x17299(%rip)     # 0x19717
leaq 0x17291(%rip), %rbx     # 0x19716
leaq 0x11ea4(%rip), %rcx     # 0x14330
movl %eax, %edx
movslq %edx, %rsi
imulq $0x66666667, %rsi, %rdx # imm = 0x66666667
movq %rdx, %rdi
shrq $0x3f, %rdi
sarq $0x22, %rdx
addl %edi, %edx
leal (%rdx,%rdx), %edi
leal (%rdi,%rdi,4), %edi
movl %esi, %r8d
subl %edi, %r8d
movl %r8d, %edi
negl %edi
cmovsl %r8d, %edi
movb (%rdi,%rcx), %dil
movb %dil, (%rbx)
addl $0x9, %esi
decq %rbx
cmpl $0x12, %esi
ja 0x248e
testl %eax, %eax
js 0x24d5
incq %rbx
jmp 0x24d8
movb $0x2d, (%rbx)
movq %rbx, %rdi
callq 0x2080
movq %rbx, %rdi
movl %eax, %esi
callq 0x29c1
leaq 0x11d17(%rip), %rdi     # 0x14208
movl $0x1, %esi
callq 0x29c1
xorl %eax, %eax
leaq 0x16e6c(%rip), %r15     # 0x19370
cmpl $-0x1, (%rax,%r15)
jne 0x251a
addq $0x4, %rax
cmpq $0x28, %rax
jne 0x2504
jmp 0x25c0
movl %ebp, 0x4(%rsp)
leaq 0x10e1b(%rip), %rdi     # 0x13340
movl $0xa, %r12d
movl $0xa, %esi
callq 0x29c1
movl 0x16e28(%rip), %r13d    # 0x19364
xorl %ebp, %ebp
leaq 0x11967(%rip), %rbx     # 0x13eac
cmpl $0xa, %r13d
cmovgel %ebp, %r13d
movslq %r13d, %r14
cmpl $-0x1, (%r15,%r14,4)
je 0x25a3
movq %rbx, %rdi
movl $0x1, %esi
callq 0x29c1
movq 0x16ded(%rip), %rax     # 0x19358
movq 0x16dd6(%rip), %rcx     # 0x19348
movslq 0x16bc3(%rip), %rdx     # 0x1913c
movslq (%rcx,%rdx,4), %rdx
leaq (%rax,%rdx,4), %rdx
movslq (%r15,%r14,4), %rsi
movslq (%rdx,%rsi,4), %rdx
movslq (%rcx,%rdx,4), %rcx
leaq (%rax,%rcx,4), %r14
movq %r14, %rdi
callq 0x2080
movq %r14, %rdi
movl %eax, %esi
callq 0x29c1
incl %r13d
decl %r12d
jne 0x2545
leaq 0x11c56(%rip), %rdi     # 0x14208
movl $0x1, %esi
callq 0x29c1
movl 0x4(%rsp), %ebp
movl %ebp, 0x16b82(%rip)     # 0x19148
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq