// File: /workspace/github_c_makefile_star2_O3/georgeweigt[P]eigenmath/eigenmath.c
// Function: eval_defint
void
eval_defint(struct atom *p1)
{
	struct atom *F, *X, *A, *B;

	push(cadr(p1));
	evalf();
	F = pop();

	p1 = cddr(p1);

	while (iscons(p1)) {

		push(car(p1));
		evalf();
		X = pop();

		push(cadr(p1));
		evalf();
		A = pop();

		push(caddr(p1));
		evalf();
		B = pop();

		push(F);
		push(X);
		integral();
		F = pop();

		if (findf(F, symbol(INTEGRAL)))
			stopf("defint: unsolved integral");

		push(F);
		push(X);
		push(B);
		subst();
		evalf();

		push(F);
		push(X);
		push(A);
		subst();
		evalf();

		subtract();
		F = pop();

		p1 = cdddr(p1);
	}

	push(F);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
cmpb $0x1, 0x10(%rdi)
leaq 0x346df(%rip), %r15     # 0x45a00
movq %r15, %rax
cmoveq %r14, %rax
movq (%rax), %rax
cmpb $0x1, 0x10(%rax)
cmovneq %r15, %rax
movq (%rax), %rdi
callq 0x8ba5
callq 0x96e2
movl 0x2df72(%rip), %eax     # 0x3f2b8
movl $0xfffe795f, %ecx       # imm = 0xFFFE795F
leal (%rax,%rcx), %edx
cmpl %ecx, %edx
jbe 0x11599
decl %eax
movl %eax, 0x2df5a(%rip)     # 0x3f2b8
leaq 0x3725b(%rip), %r12     # 0x485c0
cmpb $0x1, 0x10(%rbx)
cmovneq %r15, %r14
movq (%r14), %rcx
leaq 0x8(%rcx), %rdx
cmpb $0x1, 0x10(%rcx)
cmovneq %r15, %rdx
movq (%r12,%rax,8), %rdi
movq (%rdx), %r13
cmpb $0x1, 0x10(%r13)
jne 0x11586
leaq 0x10(%r13), %rax
movl $0xfffe795f, %r14d      # imm = 0xFFFE795F
movq %rdi, -0x48(%rbp)
movq %rax, -0x38(%rbp)
movq (%r13), %rdi
callq 0x8ba5
callq 0x96e2
movl 0x2df04(%rip), %eax     # 0x3f2b8
leal (%rax,%r14), %ecx
cmpl %r14d, %ecx
jbe 0x11599
decl %eax
movl %eax, 0x2deef(%rip)     # 0x3f2b8
addq $0x8, %r13
movq -0x38(%rbp), %rbx
cmpb $0x1, (%rbx)
movq %r15, %rcx
cmoveq %r13, %rcx
movq (%rcx), %rcx
cmpb $0x1, 0x10(%rcx)
movq (%r12,%rax,8), %rax
movq %rax, -0x30(%rbp)
cmovneq %r15, %rcx
movq (%rcx), %rdi
callq 0x8ba5
callq 0x96e2
movl 0x2deb7(%rip), %eax     # 0x3f2b8
leal (%rax,%r14), %ecx
cmpl %r14d, %ecx
jbe 0x11599
decl %eax
movl %eax, 0x2dea2(%rip)     # 0x3f2b8
cmpb $0x1, (%rbx)
movq %r15, %rcx
cmoveq %r13, %rcx
movq (%rcx), %rcx
cmpb $0x1, 0x10(%rcx)
jne 0x1142f
movq 0x8(%rcx), %rcx
jmp 0x11436
movq 0x345ca(%rip), %rcx     # 0x45a00
cmpb $0x1, 0x10(%rcx)
movq %r15, %rdx
jne 0x11442
movq %rcx, %rdx
movq (%r12,%rax,8), %rbx
movq (%rdx), %rdi
callq 0x8ba5
callq 0x96e2
movl 0x2de5f(%rip), %eax     # 0x3f2b8
leal (%rax,%r14), %ecx
cmpl %r14d, %ecx
jbe 0x11599
movq %rbx, -0x40(%rbp)
decl %eax
movl %eax, 0x2de46(%rip)     # 0x3f2b8
movq (%r12,%rax,8), %r15
movq -0x48(%rbp), %rdi
callq 0x8ba5
movq -0x30(%rbp), %rdi
callq 0x8ba5
callq 0x115b1
movl 0x2de25(%rip), %eax     # 0x3f2b8
leal (%rax,%r14), %ecx
cmpl %r14d, %ecx
jbe 0x11599
decl %eax
movl %eax, 0x2de10(%rip)     # 0x3f2b8
movq %r12, %r14
movq (%r12,%rax,8), %rbx
movq 0x335d2(%rip), %rsi     # 0x44a88
movq %rbx, %rdi
callq 0x8c99
testl %eax, %eax
jne 0x115a5
movq %rbx, %rdi
callq 0x8ba5
movq -0x30(%rbp), %r12
movq %r12, %rdi
callq 0x8ba5
movq %r15, %rdi
callq 0x8ba5
callq 0x9493
callq 0x96e2
movq %rbx, %rdi
callq 0x8ba5
movq %r12, %rdi
callq 0x8ba5
movq -0x40(%rbp), %rdi
callq 0x8ba5
callq 0x9493
callq 0x96e2
callq 0xbfb4
movl 0x2dd9e(%rip), %eax     # 0x3f2b8
movl $0xfffe795f, %edx       # imm = 0xFFFE795F
leal (%rax,%rdx), %ecx
cmpl %edx, %ecx
jbe 0x11599
decl %eax
movl %eax, 0x2dd8a(%rip)     # 0x3f2b8
movq -0x38(%rbp), %rcx
cmpb $0x1, (%rcx)
leaq 0x344c4(%rip), %r15     # 0x45a00
cmovneq %r15, %r13
movq (%r13), %rcx
cmpb $0x1, 0x10(%rcx)
movq %r14, %r12
jne 0x11553
movq 0x8(%rcx), %rcx
jmp 0x1155a
movq 0x344a6(%rip), %rcx     # 0x45a00
cmpb $0x1, 0x10(%rcx)
movq %r15, %rdx
movl $0xfffe795f, %r14d      # imm = 0xFFFE795F
jne 0x11570
addq $0x8, %rcx
movq %rcx, %rdx
movq (%r12,%rax,8), %rdi
movq (%rdx), %r13
leaq 0x10(%r13), %rax
cmpb $0x1, 0x10(%r13)
je 0x11398
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8ba5
leaq 0x1d9a1(%rip), %rdi     # 0x2ef41
callq 0x780b
leaq 0x18d27(%rip), %rdi     # 0x2a2d3
callq 0x780b