// File: /workspace/github_c_makefile_star2_O3/georgeweigt[P]eigenmath/eigenmath.c
// Function: run
void
run(char *buf)
{
	if (setjmp(jmpbuf))
		return;

	tos = 0;
	interrupt = 0;
	eval_level = 0;
	gc_level = 0;
	expanding = 1;
	drawing = 0;
	shuntflag = 0;
	errorflag = 0;
	breakflag = 0;

	if (zero == NULL) {
		srand((unsigned) time(NULL));
		init_symbol_table();
		push_bignum(MPLUS, mint(0), mint(1));
		zero = pop();
		push_bignum(MPLUS, mint(1), mint(1));
		one = pop();
		push_bignum(MMINUS, mint(1), mint(1));
		minusone = pop();
		push_symbol(POWER);
		push_integer(-1);
		push_rational(1, 2);
		list(3);
		imaginaryunit = pop();
		run_init_script();
	}

	run_buf(buf);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xee9ef(%rip), %rdi     # 0x116800
callq 0x71c0
testl %eax, %eax
jne 0x27fe1
xorl %eax, %eax
movl %eax, 0x17492(%rip)     # 0x3f2b8
movl %eax, 0xe3c9c(%rip)     # 0x10bac8
movl %eax, 0xe3c92(%rip)     # 0x10bac4
movl %eax, 0xe3c88(%rip)     # 0x10bac0
movl $0x1, 0xe3c8e(%rip)     # 0x10bad0
movl %eax, 0xeea80(%rip)     # 0x1168c8
movl %eax, 0xee576(%rip)     # 0x1163c4
movl %eax, 0xee56c(%rip)     # 0x1163c0
movl %eax, 0xe3c8e(%rip)     # 0x10bae8
cmpq $0x0, 0x1b2de(%rip)     # 0x43140
jne 0x27fd9
xorl %r14d, %r14d
movl %r14d, %edi
callq 0x7230
movl %eax, %edi
callq 0x71a0
callq 0x28552
movl %r14d, %edi
callq 0x7b1f
movq %rax, %r15
movl $0x1, %edi
callq 0x7b1f
movl %r14d, %edi
movq %r15, %rsi
movq %rax, %rdx
callq 0xbf3e
movl 0x17410(%rip), %eax     # 0x3f2b8
movl $0xfffe795f, %r13d      # imm = 0xFFFE795F
movl %r13d, %ecx
movl %eax, %edx
addl %edx, %ecx
cmpl %r13d, %ecx
jbe 0x27ff0
decl %eax
movl %eax, 0x173f2(%rip)     # 0x3f2b8
leaq 0x206f3(%rip), %r12     # 0x485c0
movq (%r12,%rax,8), %rax
movq %rax, 0x1b268(%rip)     # 0x43140
movl $0x1, %r14d
movl %r14d, %edi
callq 0x7b1f
movq %rax, %r15
movl %r14d, %edi
callq 0x7b1f
xorl %edi, %edi
movq %r15, %rsi
movq %rax, %rdx
callq 0xbf3e
movl 0x173b4(%rip), %eax     # 0x3f2b8
movl %r13d, %ecx
movl %eax, %edx
addl %edx, %ecx
cmpl %r13d, %ecx
jbe 0x27ff0
decl %eax
movl %eax, 0x1739c(%rip)     # 0x3f2b8
movq (%r12,%rax,8), %rax
movq %rax, 0xe3bb1(%rip)     # 0x10bad8
movl %r14d, %edi
callq 0x7b1f
movq %rax, %r15
movl %r14d, %edi
callq 0x7b1f
movl %r14d, %edi
movq %r15, %rsi
movq %rax, %rdx
callq 0xbf3e
movl 0x1736a(%rip), %eax     # 0x3f2b8
movl $0xfffe795f, %r14d      # imm = 0xFFFE795F
movl %r14d, %ecx
movl %eax, %edx
addl %edx, %ecx
cmpl %r14d, %ecx
jbe 0x27ff0
decl %eax
movl %eax, 0x1734c(%rip)     # 0x3f2b8
movq (%r12,%rax,8), %rax
movq %rax, 0xee479(%rip)     # 0x1163f0
movq 0x20332(%rip), %rdi     # 0x482b0
callq 0x8ba5
movq 0xee466(%rip), %rdi     # 0x1163f0
callq 0x8ba5
movl $0x1, %edi
movl $0x2, %esi
callq 0xa533
movl $0x3, %edi
callq 0x8b7d
movl 0x1730a(%rip), %eax     # 0x3f2b8
movl %r14d, %ecx
movl %eax, %edx
addl %edx, %ecx
cmpl %r14d, %ecx
jbe 0x27ff0
decl %eax
movl %eax, 0x172f6(%rip)     # 0x3f2b8
movq (%r12,%rax,8), %rax
movq %rax, 0xe3b13(%rip)     # 0x10bae0
movq 0x163f4(%rip), %rdi     # 0x3e3c8
callq 0x20857
movq %rbx, %rdi
callq 0x20857
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6f4a(%rip), %rdi      # 0x2ef41
callq 0x780b