// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: fmt_update_fraction
void
fmt_update_fraction(void)
{
	int d, h, w;
	struct atom *p1, *p2;

	p2 = pop(); // denominator
	p1 = pop(); // numerator

	h = HEIGHT(p1) + DEPTH(p1);
	d = HEIGHT(p2) + DEPTH(p2);
	w = MAX(WIDTH(p1), WIDTH(p2));

	h += 1;
	w += 2;

	push_double(EMIT_FRACTION);
	push_double(h);
	push_double(d);
	push_double(w);
	push(p1);
	push(p2);

	list(6);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
callq 0x8b78
movq %rax, %rbx
callq 0x8b78
cmpb $0x1, 0x10(%rax)
movq %rax, -0x40(%rbp)
leaq 0x8(%rax), %rax
leaq 0x1da4e(%rip), %r11     # 0x40a00
cmovneq %r11, %rax
movq (%rax), %rax
movb 0x10(%rax), %sil
leaq 0x8(%rax), %rdx
cmpb $0x1, %sil
movq %r11, %r15
cmoveq %rax, %r15
sete -0x38(%rbp)
movq %r11, %rcx
cmoveq %rdx, %rcx
movq (%rcx), %rcx
cmpb $0x1, 0x10(%rcx)
movq %r11, %r12
jne 0x22ff5
cmpb $0x1, %sil
leaq 0x1da12(%rip), %rcx     # 0x40a00
cmoveq %rdx, %rcx
movq (%rcx), %r12
movq %rbx, %rcx
addq $0x8, %rcx
cmpb $0x1, 0x10(%rbx)
cmovneq %r11, %rcx
movq (%rcx), %rdi
movb 0x10(%rdi), %r10b
leaq 0x8(%rdi), %r8
cmpb $0x1, %r10b
movq %r11, %r13
cmoveq %rdi, %r13
sete -0x29(%rbp)
movq %r11, %rcx
cmoveq %r8, %rcx
movq (%rcx), %rcx
cmpb $0x1, 0x10(%rcx)
movq %r11, %rcx
jne 0x23043
cmpb $0x1, %r10b
leaq 0x1d9c4(%rip), %rcx     # 0x40a00
cmoveq %r8, %rcx
movq (%rcx), %rcx
movq %rbx, -0x48(%rbp)
cmpb $0x1, %sil
movq %r11, %r9
cmoveq %rdx, %r9
movq (%r9), %r9
cmpb $0x1, 0x10(%r9)
movq %r11, %r9
jne 0x23075
cmpb $0x1, %sil
leaq 0x1d996(%rip), %r9      # 0x40a00
cmoveq %rdx, %r9
movq (%r9), %r9
addq $0x8, %r9
movq (%r9), %r9
cmpb $0x1, 0x10(%r9)
movq %r11, %r9
jne 0x230b6
cmpb $0x1, %sil
leaq 0x1d973(%rip), %r9      # 0x40a00
movq %r9, %rbx
cmoveq %rdx, %rbx
movq (%rbx), %rbx
cmpb $0x1, 0x10(%rbx)
jne 0x230b3
cmpb $0x1, %sil
leaq 0x1d958(%rip), %r9      # 0x40a00
cmoveq %rdx, %r9
movq (%r9), %r9
addq $0x8, %r9
movq (%r9), %r9
cmpb $0x1, %r10b
movq (%r9), %rbx
movq %r11, %r9
cmoveq %r8, %r9
movq (%r9), %r9
cmpb $0x1, 0x10(%r9)
movq %r11, %r14
jne 0x230e7
cmpb $0x1, %r10b
leaq 0x1d924(%rip), %r9      # 0x40a00
cmoveq %r8, %r9
movq (%r9), %r14
addq $0x8, %r14
movq (%r15), %r9
movq (%r12), %r12
movq (%r13), %r13
cvttsd2si (%rbx), %r15d
movq (%rcx), %rcx
movq (%r14), %rbx
cmpb $0x1, 0x10(%rbx)
jne 0x23137
cmpb $0x1, %r10b
leaq 0x1d8f2(%rip), %r11     # 0x40a00
movq %r11, %rbx
cmoveq %r8, %rbx
movq (%rbx), %rbx
cmpb $0x1, 0x10(%rbx)
jne 0x23134
cmpb $0x1, %r10b
leaq 0x1d8d7(%rip), %r11     # 0x40a00
cmoveq %r8, %r11
movq (%r11), %r11
addq $0x8, %r11
movq (%r11), %r11
movsd (%r9), %xmm0
movsd (%r12), %xmm1
movsd (%r13), %xmm2
movsd (%rcx), %xmm3
movq (%r11), %rcx
cvttsd2si (%rcx), %ecx
cmpl %ecx, %r15d
jle 0x231b6
cmpb $0x1, %sil
leaq 0x1d89d(%rip), %rcx     # 0x40a00
movq %rcx, %rdi
cmoveq %rdx, %rdi
movq (%rdi), %rdi
cmpb $0x1, 0x10(%rdi)
movq %rcx, %rdi
jne 0x2318c
cmpb $0x1, %sil
leaq 0x1d87f(%rip), %rdi     # 0x40a00
cmoveq %rdx, %rdi
movq (%rdi), %rdi
addq $0x8, %rdi
movq (%rdi), %rdi
cmpb $0x1, 0x10(%rdi)
jne 0x2322c
cmpb $0x1, %sil
leaq 0x1d85c(%rip), %rcx     # 0x40a00
cmovneq %rcx, %rdx
movq (%rdx), %rdx
cmpb $0x1, 0x10(%rdx)
movb -0x38(%rbp), %dl
je 0x23211
jmp 0x23229
cmpb $0x1, %r10b
leaq 0x1d83f(%rip), %rcx     # 0x40a00
movq %rcx, %rax
cmoveq %r8, %rax
movq (%rax), %rax
cmpb $0x1, 0x10(%rax)
movq %rcx, %rax
jne 0x231ea
cmpb $0x1, %r10b
leaq 0x1d821(%rip), %rax     # 0x40a00
cmoveq %r8, %rax
movq (%rax), %rax
addq $0x8, %rax
movq (%rax), %rax
cmpb $0x1, 0x10(%rax)
jne 0x2322c
cmpb $0x1, %r10b
leaq 0x1d802(%rip), %rcx     # 0x40a00
cmovneq %rcx, %r8
movq (%r8), %rax
cmpb $0x1, 0x10(%rax)
movq %rdi, %rax
movb -0x29(%rbp), %dl
jne 0x23229
addq $0x8, %rax
leaq 0x1d7e4(%rip), %rcx     # 0x40a00
testb %dl, %dl
cmovneq %rax, %rcx
movq (%rcx), %rcx
addq $0x8, %rcx
movq (%rcx), %rcx
movq (%rcx), %rax
cvttsd2si (%rax), %r15d
cvttsd2si %xmm2, %eax
cvttsd2si %xmm3, %r13d
addl %eax, %r13d
cvttsd2si %xmm0, %eax
cvttsd2si %xmm1, %ecx
leal (%rax,%rcx), %ebx
incl %ebx
addl $0x2, %r15d
callq 0x74ec
movb $0x5, %r12b
movb %r12b, 0x10(%rax)
movabsq $0x401c000000000000, %rcx # imm = 0x401C000000000000
movq %rcx, (%rax)
movq %rax, %rdi
callq 0x8b01
xorps %xmm0, %xmm0
cvtsi2sd %ebx, %xmm0
movsd %xmm0, -0x38(%rbp)
callq 0x74ec
movb %r12b, 0x10(%rax)
movsd -0x38(%rbp), %xmm0
movsd %xmm0, (%rax)
movq %rax, %rdi
callq 0x8b01
xorps %xmm0, %xmm0
cvtsi2sd %r13d, %xmm0
movsd %xmm0, -0x38(%rbp)
callq 0x74ec
movb %r12b, 0x10(%rax)
movsd -0x38(%rbp), %xmm0
movsd %xmm0, (%rax)
movq %rax, %rdi
callq 0x8b01
xorps %xmm0, %xmm0
cvtsi2sd %r15d, %xmm0
movsd %xmm0, -0x38(%rbp)
callq 0x74ec
movb %r12b, 0x10(%rax)
movsd -0x38(%rbp), %xmm0
movsd %xmm0, (%rax)
movq %rax, %rdi
callq 0x8b01
movq -0x40(%rbp), %rdi
callq 0x8b01
movq -0x48(%rbp), %rdi
callq 0x8b01
movl $0x6, %edi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8ad9