#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int abs(int);
double fabs(double);
int /*<<< orphan*/ printf(char *, ...);
void printScreen(int a, int b, int c, int curTyp, int rcRoot, double r1,
                 double r2) {
  char ac = (a < 0) ? '-' : '+';
  char bc = (b < 0) ? '-' : '+';
  char cc = (c < 0) ? '-' : '+';
  printf("\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-");
  switch (curTyp) {
  case 1:
    if (abs(a) != 1 && abs(b) != 1) {
      if (b == 0 && c == 0)
        printf("\nThe equation is y = %dx^2", a);
      else if (b == 0)
        printf("\nThe equation is y = %dx^2 %c %d", a, cc, abs(c));
      else if (c == 0)
        printf("\nThe equation is y = %dx^2 %c %dx", a, bc, abs(b));
      else
        printf("\nThe equation is y = %dx^2 %c %dx %c %d", a, bc, abs(b), cc,
               abs(c));
    } else if (abs(a) == 1 || abs(b) == 1) {
      if (abs(a) == 1 && abs(b) == 1) {
        if (ac == '-')
          printf("\nThe equation is y = -x^2 %c x %c %d", bc, cc, abs(c));
        else
          printf("\nThe equation is y = x^2 %c x %c %d", bc, cc, abs(c));
      } else if (abs(a) != a) {
        if (a < 0)
          printf("\nThe equation is y = -x^2 %c %dx %c %d", bc, abs(b), cc,
                 abs(c));
        else if (a > 0)
          printf("\nThe equation is y = x^2 %c %dx %c %d", bc, abs(b), cc,
                 abs(c));
      } else if (abs(b) != b) {
        if (b < 0)
          printf("\nThe equation is y = %dx^2 - x %c %d", a, cc, abs(c));
        else if (b > 0)
          printf("\nThe equation is y = %dx^2 + x %c %d", a, cc, abs(c));
      }
    }
    if (ac == '-')
      printf("\nThe parabola opens downward.");
    else if (ac == '+')
      printf("\nThe parabola opens upward.");
    if (rcRoot == 1) {
      printf("\nThe parabola has two real roots.");
      printf("\nRoots are %.3f and %.3f", r1, r2);
    } else {
      printf("\nThe parabola has two complex roots.");
      if (b == 0 && c == 0)
        printf("\nRoot at x = %.3f", r1);
      else
        printf("\nRoots are %.3f + %.3fi and %.3f - %.3fi", r1, fabs(r2), r1,
               fabs(r2));
    }
    break;
  case 2:
    if (c == 0)
      printf("\nThe equation is y = %dx", b);
    else
      printf("\nThe equation is y = %dx %c %d", b, cc, abs(c));
    printf("\nThe line has a zero at x = %.3f", r1);
    break;
  case 3:
    printf("\nThe equation is y = %d", c);
    printf("\nThe line has no zeros.");
    break;
  }
  printf("\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n\n");
  return;
}


x86 assembly (clang, -O0):
<printScreen>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %ecx,-0x10(%rbp)
mov    %r8d,-0x14(%rbp)
movsd  %xmm0,-0x20(%rbp)
movsd  %xmm1,-0x28(%rbp)
mov    -0x4(%rbp),%eax
shr    $0x1f,%eax
add    %al,%al
add    $0x2b,%al
mov    %al,-0x29(%rbp)
mov    -0x8(%rbp),%eax
shr    $0x1f,%eax
add    %al,%al
add    $0x2b,%al
mov    %al,-0x2a(%rbp)
mov    -0xc(%rbp),%eax
shr    $0x1f,%eax
add    %al,%al
add    $0x2b,%al
mov    %al,-0x2b(%rbp)
lea    0xe9d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    -0x10(%rbp),%eax
mov    %eax,-0x30(%rbp)
sub    $0x1,%eax
je     11b0 <printScreen+0x90>
jmp    118e <printScreen+0x6e>
mov    -0x30(%rbp),%eax
sub    $0x2,%eax
je     15bc <printScreen+0x49c>
jmp    119f <printScreen+0x7f>
mov    -0x30(%rbp),%eax
sub    $0x3,%eax
je     162b <printScreen+0x50b>
jmp    164a <printScreen+0x52a>
mov    -0x4(%rbp),%edi
call   1030 <abs@plt>
cmp    $0x1,%eax
je     12c4 <printScreen+0x1a4>
mov    -0x8(%rbp),%edi
call   1030 <abs@plt>
cmp    $0x1,%eax
je     12c4 <printScreen+0x1a4>
cmpl   $0x0,-0x8(%rbp)
jne    11fc <printScreen+0xdc>
cmpl   $0x0,-0xc(%rbp)
jne    11fc <printScreen+0xdc>
mov    -0x4(%rbp),%esi
lea    0xe4f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12bf <printScreen+0x19f>
cmpl   $0x0,-0x8(%rbp)
jne    1236 <printScreen+0x116>
mov    -0x4(%rbp),%eax
mov    %eax,-0x38(%rbp)
movsbl -0x2b(%rbp),%eax
mov    %eax,-0x34(%rbp)
mov    -0xc(%rbp),%edi
call   1030 <abs@plt>
mov    -0x38(%rbp),%esi
mov    -0x34(%rbp),%edx
mov    %eax,%ecx
lea    0xe30(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12ba <printScreen+0x19a>
cmpl   $0x0,-0xc(%rbp)
jne    1270 <printScreen+0x150>
mov    -0x4(%rbp),%eax
mov    %eax,-0x40(%rbp)
movsbl -0x2a(%rbp),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x8(%rbp),%edi
call   1030 <abs@plt>
mov    -0x40(%rbp),%esi
mov    -0x3c(%rbp),%edx
mov    %eax,%ecx
lea    0xe17(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12b5 <printScreen+0x195>
mov    -0x4(%rbp),%eax
mov    %eax,-0x50(%rbp)
movsbl -0x2a(%rbp),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x8(%rbp),%edi
call   1030 <abs@plt>
mov    %eax,-0x48(%rbp)
movsbl -0x2b(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0xc(%rbp),%edi
call   1030 <abs@plt>
mov    -0x50(%rbp),%esi
mov    -0x4c(%rbp),%edx
mov    -0x48(%rbp),%ecx
mov    -0x44(%rbp),%r8d
mov    %eax,%r9d
lea    0xdef(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12ba <printScreen+0x19a>
jmp    12bf <printScreen+0x19f>
jmp    14cb <printScreen+0x3ab>
mov    -0x4(%rbp),%edi
call   1030 <abs@plt>
cmp    $0x1,%eax
je     12e6 <printScreen+0x1c6>
mov    -0x8(%rbp),%edi
call   1030 <abs@plt>
cmp    $0x1,%eax
jne    14c6 <printScreen+0x3a6>
mov    -0x4(%rbp),%edi
call   1030 <abs@plt>
cmp    $0x1,%eax
jne    1377 <printScreen+0x257>
mov    -0x8(%rbp),%edi
call   1030 <abs@plt>
cmp    $0x1,%eax
jne    1377 <printScreen+0x257>
movsbl -0x29(%rbp),%eax
cmp    $0x2d,%eax
jne    1346 <printScreen+0x226>
movsbl -0x2a(%rbp),%eax
mov    %eax,-0x58(%rbp)
movsbl -0x2b(%rbp),%eax
mov    %eax,-0x54(%rbp)
mov    -0xc(%rbp),%edi
call   1030 <abs@plt>
mov    -0x58(%rbp),%esi
mov    -0x54(%rbp),%edx
mov    %eax,%ecx
lea    0xd8b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1372 <printScreen+0x252>
movsbl -0x2a(%rbp),%eax
mov    %eax,-0x60(%rbp)
movsbl -0x2b(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0xc(%rbp),%edi
call   1030 <abs@plt>
mov    -0x60(%rbp),%esi
mov    -0x5c(%rbp),%edx
mov    %eax,%ecx
lea    0xd7f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    14c1 <printScreen+0x3a1>
mov    -0x4(%rbp),%edi
call   1030 <abs@plt>
cmp    -0x4(%rbp),%eax
je     1421 <printScreen+0x301>
cmpl   $0x0,-0x4(%rbp)
jge    13d2 <printScreen+0x2b2>
movsbl -0x2a(%rbp),%eax
mov    %eax,-0x6c(%rbp)
mov    -0x8(%rbp),%edi
call   1030 <abs@plt>
mov    %eax,-0x68(%rbp)
movsbl -0x2b(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0xc(%rbp),%edi
call   1030 <abs@plt>
mov    -0x6c(%rbp),%esi
mov    -0x68(%rbp),%edx
mov    -0x64(%rbp),%ecx
mov    %eax,%r8d
lea    0xd48(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    141c <printScreen+0x2fc>
cmpl   $0x0,-0x4(%rbp)
jle    1417 <printScreen+0x2f7>
movsbl -0x2a(%rbp),%eax
mov    %eax,-0x78(%rbp)
mov    -0x8(%rbp),%edi
call   1030 <abs@plt>
mov    %eax,-0x74(%rbp)
movsbl -0x2b(%rbp),%eax
mov    %eax,-0x70(%rbp)
mov    -0xc(%rbp),%edi
call   1030 <abs@plt>
mov    -0x78(%rbp),%esi
mov    -0x74(%rbp),%edx
mov    -0x70(%rbp),%ecx
mov    %eax,%r8d
lea    0xd25(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    141c <printScreen+0x2fc>
jmp    14bc <printScreen+0x39c>
mov    -0x8(%rbp),%edi
call   1030 <abs@plt>
cmp    -0x8(%rbp),%eax
je     14b7 <printScreen+0x397>
cmpl   $0x0,-0x8(%rbp)
jge    146c <printScreen+0x34c>
mov    -0x4(%rbp),%eax
mov    %eax,-0x80(%rbp)
movsbl -0x2b(%rbp),%eax
mov    %eax,-0x7c(%rbp)
mov    -0xc(%rbp),%edi
call   1030 <abs@plt>
mov    -0x80(%rbp),%esi
mov    -0x7c(%rbp),%edx
mov    %eax,%ecx
lea    0xcfb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    14b2 <printScreen+0x392>
cmpl   $0x0,-0x8(%rbp)
jle    14ad <printScreen+0x38d>
mov    -0x4(%rbp),%eax
mov    %eax,-0x88(%rbp)
movsbl -0x2b(%rbp),%eax
mov    %eax,-0x84(%rbp)
mov    -0xc(%rbp),%edi
call   1030 <abs@plt>
mov    -0x88(%rbp),%esi
mov    -0x84(%rbp),%edx
mov    %eax,%ecx
lea    0xcda(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    14b2 <printScreen+0x392>
jmp    14b7 <printScreen+0x397>
jmp    14bc <printScreen+0x39c>
jmp    14c1 <printScreen+0x3a1>
jmp    14c6 <printScreen+0x3a6>
jmp    14cb <printScreen+0x3ab>
movsbl -0x29(%rbp),%eax
cmp    $0x2d,%eax
jne    14eb <printScreen+0x3cb>
lea    0xcc6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    150b <printScreen+0x3eb>
movsbl -0x29(%rbp),%eax
cmp    $0x2b,%eax
jne    1506 <printScreen+0x3e6>
lea    0xcc4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    150b <printScreen+0x3eb>
cmpl   $0x1,-0x14(%rbp)
jne    1540 <printScreen+0x420>
lea    0xcc3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movsd  -0x20(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
lea    0xccd(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
jmp    15b7 <printScreen+0x497>
lea    0xcd3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x0,-0x8(%rbp)
jne    157a <printScreen+0x45a>
cmpl   $0x0,-0xc(%rbp)
jne    157a <printScreen+0x45a>
movsd  -0x20(%rbp),%xmm0
lea    0xcd1(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
jmp    15b2 <printScreen+0x492>
movsd  -0x20(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movaps 0xa75(%rip),%xmm2
pand   %xmm2,%xmm1
movsd  -0x20(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm3
movaps 0xa60(%rip),%xmm4
pand   %xmm4,%xmm3
lea    0xca6(%rip),%rdi
mov    $0x4,%al
call   1040 <printf@plt>
jmp    15b7 <printScreen+0x497>
jmp    164a <printScreen+0x52a>
cmpl   $0x0,-0xc(%rbp)
jne    15dc <printScreen+0x4bc>
mov    -0x8(%rbp),%esi
lea    0xcaa(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1613 <printScreen+0x4f3>
mov    -0x8(%rbp),%eax
mov    %eax,-0x90(%rbp)
movsbl -0x2b(%rbp),%eax
mov    %eax,-0x8c(%rbp)
mov    -0xc(%rbp),%edi
call   1030 <abs@plt>
mov    -0x90(%rbp),%esi
mov    -0x8c(%rbp),%edx
mov    %eax,%ecx
lea    0xc87(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movsd  -0x20(%rbp),%xmm0
lea    0xc93(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
jmp    164a <printScreen+0x52a>
mov    -0xc(%rbp),%esi
lea    0xc9e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xca8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xcb2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printScreen>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x20,%rsp
movaps %xmm1,0x10(%rsp)
movsd  %xmm0,0x8(%rsp)
mov    %r8d,%r14d
mov    %ecx,%ebx
mov    %edx,%ebp
mov    %esi,%r15d
mov    %edi,%r12d
lea    0xec5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x3,%ebx
je     11c7 <printScreen+0xa7>
mov    %ebp,%eax
shr    $0x1f,%eax
add    %al,%al
add    $0x2b,%al
cmp    $0x2,%ebx
je     11ea <printScreen+0xca>
cmp    $0x1,%ebx
jne    13e4 <printScreen+0x2c4>
mov    %r15d,%esi
shr    $0x1f,%esi
add    %sil,%sil
add    $0x2b,%sil
mov    %r12d,%edi
neg    %edi
cmovs  %r12d,%edi
mov    %r15d,%ecx
neg    %ecx
cmovs  %r15d,%ecx
cmp    $0x1,%edi
jne    120b <printScreen+0xeb>
mov    %ecx,%edx
cmp    $0x1,%ecx
jne    1215 <printScreen+0xf5>
mov    %ebp,%ecx
neg    %ecx
cmovs  %ebp,%ecx
movzbl %sil,%esi
movzbl %al,%edx
test   %r12d,%r12d
js     12e5 <printScreen+0x1c5>
lea    0xf2f(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1365 <printScreen+0x245>
lea    0x1105(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x110d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    13e4 <printScreen+0x2c4>
test   %ebp,%ebp
je     124c <printScreen+0x12c>
movzbl %al,%edx
mov    %ebp,%ecx
neg    %ecx
cmovs  %ebp,%ecx
lea    0x1094(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    125d <printScreen+0x13d>
mov    $0x1,%edx
cmp    $0x1,%ecx
jne    1276 <printScreen+0x156>
cmp    %r12d,%edi
jne    12b6 <printScreen+0x196>
cmp    %r15d,%edx
je     1360 <printScreen+0x240>
test   %r15d,%r15d
js     133c <printScreen+0x21c>
je     1360 <printScreen+0x240>
movzbl %al,%edx
mov    %ebp,%ecx
neg    %ecx
cmovs  %ebp,%ecx
lea    0xf39(%rip),%rdi
jmp    1356 <printScreen+0x236>
lea    0x1027(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
movsd  0x8(%rsp),%xmm0
lea    0x1048(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
jmp    13e4 <printScreen+0x2c4>
mov    %ebp,%edx
or     %r15d,%edx
je     12f5 <printScreen+0x1d5>
test   %r15d,%r15d
je     1329 <printScreen+0x209>
movzbl %sil,%edx
test   %ebp,%ebp
je     134f <printScreen+0x22f>
movzbl %al,%r8d
mov    %ebp,%r9d
neg    %r9d
cmovs  %ebp,%r9d
lea    0xdf6(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1360 <printScreen+0x240>
test   %r12d,%r12d
js     1308 <printScreen+0x1e8>
je     1365 <printScreen+0x245>
movzbl %sil,%esi
movzbl %al,%ecx
mov    %ebp,%r8d
neg    %r8d
cmovs  %ebp,%r8d
lea    0xe5c(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1365 <printScreen+0x245>
lea    0xdd9(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    136e <printScreen+0x24e>
lea    0xd43(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1360 <printScreen+0x240>
movzbl %sil,%esi
movzbl %al,%ecx
mov    %ebp,%r8d
neg    %r8d
cmovs  %ebp,%r8d
lea    0xdee(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    136e <printScreen+0x24e>
movzbl %al,%edx
mov    %ebp,%ecx
neg    %ecx
cmovs  %ebp,%ecx
lea    0xd20(%rip),%rdi
jmp    1356 <printScreen+0x236>
movzbl %al,%edx
mov    %ebp,%ecx
neg    %ecx
cmovs  %ebp,%ecx
lea    0xe0e(%rip),%rdi
jmp    1356 <printScreen+0x236>
lea    0xd25(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
test   %r12d,%r12d
js     136e <printScreen+0x24e>
lea    0xe57(%rip),%rdi
jmp    1375 <printScreen+0x255>
lea    0xe30(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x1,%r14d
jne    13ab <printScreen+0x28b>
lea    0xe56(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe6a(%rip),%rdi
movsd  0x8(%rsp),%xmm0
movaps 0x10(%rsp),%xmm1
mov    $0x2,%al
call   1040 <printf@plt>
jmp    13e4 <printScreen+0x2c4>
lea    0xe68(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
or     %r15d,%ebp
je     13fc <printScreen+0x2dc>
movaps 0x10(%rsp),%xmm1
andps  0xc36(%rip),%xmm1
lea    0xe80(%rip),%rdi
movsd  0x8(%rsp),%xmm0
movaps %xmm0,%xmm2
movaps %xmm1,%xmm3
mov    $0x4,%al
call   1040 <printf@plt>
lea    0xf18(%rip),%rdi
add    $0x20,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <puts@plt>
lea    0xe3c(%rip),%rdi
movsd  0x8(%rsp),%xmm0
jmp    126a <printScreen+0x14a>

LLVM IR (-O0):
@.str = [47 x i8] c"\0A-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\00"
@.str.1 = [27 x i8] c"\0AThe equation is y = %dx^2\00"
@.str.2 = [33 x i8] c"\0AThe equation is y = %dx^2 %c %d\00"
@.str.3 = [34 x i8] c"\0AThe equation is y = %dx^2 %c %dx\00"
@.str.4 = [40 x i8] c"\0AThe equation is y = %dx^2 %c %dx %c %d\00"
@.str.5 = [37 x i8] c"\0AThe equation is y = -x^2 %c x %c %d\00"
@.str.6 = [36 x i8] c"\0AThe equation is y = x^2 %c x %c %d\00"
@.str.7 = [39 x i8] c"\0AThe equation is y = -x^2 %c %dx %c %d\00"
@.str.8 = [38 x i8] c"\0AThe equation is y = x^2 %c %dx %c %d\00"
@.str.9 = [37 x i8] c"\0AThe equation is y = %dx^2 - x %c %d\00"
@.str.10 = [37 x i8] c"\0AThe equation is y = %dx^2 + x %c %d\00"
@.str.11 = [30 x i8] c"\0AThe parabola opens downward.\00"
@.str.12 = [28 x i8] c"\0AThe parabola opens upward.\00"
@.str.13 = [34 x i8] c"\0AThe parabola has two real roots.\00"
@.str.14 = [25 x i8] c"\0ARoots are %.3f and %.3f\00"
@.str.15 = [37 x i8] c"\0AThe parabola has two complex roots.\00"
@.str.16 = [18 x i8] c"\0ARoot at x = %.3f\00"
@.str.17 = [41 x i8] c"\0ARoots are %.3f + %.3fi and %.3f - %.3fi\00"
@.str.18 = [25 x i8] c"\0AThe equation is y = %dx\00"
@.str.19 = [31 x i8] c"\0AThe equation is y = %dx %c %d\00"
@.str.20 = [33 x i8] c"\0AThe line has a zero at x = %.3f\00"
@.str.21 = [24 x i8] c"\0AThe equation is y = %d\00"
@.str.22 = [24 x i8] c"\0AThe line has no zeros.\00"
@.str.23 = [49 x i8] c"\0A-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\0A\0A\00"
define void @printScreen(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, double %5, double %6) {
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca double
%14 = alloca double
%15 = alloca i8
%16 = alloca i8
%17 = alloca i8
store i32 %0, i32* %8
store i32 %1, i32* %9
store i32 %2, i32* %10
store i32 %3, i32* %11
store i32 %4, i32* %12
store double %5, double* %13
store double %6, double* %14
%18 = load i32, i32* %8
%19 = icmp slt i32 %18, 0
%20 = zext i1 %19 to i64
%21 = select i1 %19, i32 45, i32 43
%22 = trunc i32 %21 to i8
store i8 %22, i8* %15
%23 = load i32, i32* %9
%24 = icmp slt i32 %23, 0
%25 = zext i1 %24 to i64
%26 = select i1 %24, i32 45, i32 43
%27 = trunc i32 %26 to i8
store i8 %27, i8* %16
%28 = load i32, i32* %10
%29 = icmp slt i32 %28, 0
%30 = zext i1 %29 to i64
%31 = select i1 %29, i32 45, i32 43
%32 = trunc i32 %31 to i8
store i8 %32, i8* %17
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str, i64 0, i64 0))
%34 = load i32, i32* %11
switch i32 %34, label %248 [
i32 1, label %35
i32 2, label %228
i32 3, label %244
]
35: ; preds = %7
%36 = load i32, i32* %8
%37 = call i32 @abs(i32 %36)
%38 = icmp ne i32 %37, 1
br i1 %38, label %39, label %86
39: ; preds = %35
%40 = load i32, i32* %9
%41 = call i32 @abs(i32 %40)
%42 = icmp ne i32 %41, 1
br i1 %42, label %43, label %86
43: ; preds = %39
%44 = load i32, i32* %9
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %52
46: ; preds = %43
%47 = load i32, i32* %10
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %52
49: ; preds = %46
%50 = load i32, i32* %8
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i32 %50)
br label %85
52: ; preds = %46, %43
%53 = load i32, i32* %9
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %52
%56 = load i32, i32* %8
%57 = load i8, i8* %17
%58 = sext i8 %57 to i32
%59 = load i32, i32* %10
%60 = call i32 @abs(i32 %59)
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0), i32 %56, i32 %58, i32 %60)
br label %84
62: ; preds = %52
%63 = load i32, i32* %10
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %72
65: ; preds = %62
%66 = load i32, i32* %8
%67 = load i8, i8* %16
%68 = sext i8 %67 to i32
%69 = load i32, i32* %9
%70 = call i32 @abs(i32 %69)
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0), i32 %66, i32 %68, i32 %70)
br label %83
72: ; preds = %62
%73 = load i32, i32* %8
%74 = load i8, i8* %16
%75 = sext i8 %74 to i32
%76 = load i32, i32* %9
%77 = call i32 @abs(i32 %76)
%78 = load i8, i8* %17
%79 = sext i8 %78 to i32
%80 = load i32, i32* %10
%81 = call i32 @abs(i32 %80)
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0), i32 %73, i32 %75, i32 %77, i32 %79, i32 %81)
br label %83
83: ; preds = %72, %65
br label %84
84: ; preds = %83, %55
br label %85
85: ; preds = %84, %49
br label %187
86: ; preds = %39, %35
%87 = load i32, i32* %8
%88 = call i32 @abs(i32 %87)
%89 = icmp eq i32 %88, 1
br i1 %89, label %94, label %90
90: ; preds = %86
%91 = load i32, i32* %9
%92 = call i32 @abs(i32 %91)
%93 = icmp eq i32 %92, 1
br i1 %93, label %94, label %186
94: ; preds = %90, %86
%95 = load i32, i32* %8
%96 = call i32 @abs(i32 %95)
%97 = icmp eq i32 %96, 1
br i1 %97, label %98, label %123
98: ; preds = %94
%99 = load i32, i32* %9
%100 = call i32 @abs(i32 %99)
%101 = icmp eq i32 %100, 1
br i1 %101, label %102, label %123
102: ; preds = %98
%103 = load i8, i8* %15
%104 = sext i8 %103 to i32
%105 = icmp eq i32 %104, 45
br i1 %105, label %106, label %114
106: ; preds = %102
%107 = load i8, i8* %16
%108 = sext i8 %107 to i32
%109 = load i8, i8* %17
%110 = sext i8 %109 to i32
%111 = load i32, i32* %10
%112 = call i32 @abs(i32 %111)
%113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 %108, i32 %110, i32 %112)
br label %122
114: ; preds = %102
%115 = load i8, i8* %16
%116 = sext i8 %115 to i32
%117 = load i8, i8* %17
%118 = sext i8 %117 to i32
%119 = load i32, i32* %10
%120 = call i32 @abs(i32 %119)
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0), i32 %116, i32 %118, i32 %120)
br label %122
122: ; preds = %114, %106
br label %185
123: ; preds = %98, %94
%124 = load i32, i32* %8
%125 = call i32 @abs(i32 %124)
%126 = load i32, i32* %8
%127 = icmp ne i32 %125, %126
br i1 %127, label %128, label %156
128: ; preds = %123
%129 = load i32, i32* %8
%130 = icmp slt i32 %129, 0
br i1 %130, label %131, label %141
131: ; preds = %128
%132 = load i8, i8* %16
%133 = sext i8 %132 to i32
%134 = load i32, i32* %9
%135 = call i32 @abs(i32 %134)
%136 = load i8, i8* %17
%137 = sext i8 %136 to i32
%138 = load i32, i32* %10
%139 = call i32 @abs(i32 %138)
%140 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i32 %133, i32 %135, i32 %137, i32 %139)
br label %155
141: ; preds = %128
%142 = load i32, i32* %8
%143 = icmp sgt i32 %142, 0
br i1 %143, label %144, label %154
144: ; preds = %141
%145 = load i8, i8* %16
%146 = sext i8 %145 to i32
%147 = load i32, i32* %9
%148 = call i32 @abs(i32 %147)
%149 = load i8, i8* %17
%150 = sext i8 %149 to i32
%151 = load i32, i32* %10
%152 = call i32 @abs(i32 %151)
%153 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0), i32 %146, i32 %148, i32 %150, i32 %152)
br label %154
154: ; preds = %144, %141
br label %155
155: ; preds = %154, %131
br label %184
156: ; preds = %123
%157 = load i32, i32* %9
%158 = call i32 @abs(i32 %157)
%159 = load i32, i32* %9
%160 = icmp ne i32 %158, %159
br i1 %160, label %161, label %183
161: ; preds = %156
%162 = load i32, i32* %9
%163 = icmp slt i32 %162, 0
br i1 %163, label %164, label %171
164: ; preds = %161
%165 = load i32, i32* %8
%166 = load i8, i8* %17
%167 = sext i8 %166 to i32
%168 = load i32, i32* %10
%169 = call i32 @abs(i32 %168)
%170 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0), i32 %165, i32 %167, i32 %169)
br label %182
171: ; preds = %161
%172 = load i32, i32* %9
%173 = icmp sgt i32 %172, 0
br i1 %173, label %174, label %181
174: ; preds = %171
%175 = load i32, i32* %8
%176 = load i8, i8* %17
%177 = sext i8 %176 to i32
%178 = load i32, i32* %10
%179 = call i32 @abs(i32 %178)
%180 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0), i32 %175, i32 %177, i32 %179)
br label %181
181: ; preds = %174, %171
br label %182
182: ; preds = %181, %164
br label %183
183: ; preds = %182, %156
br label %184
184: ; preds = %183, %155
br label %185
185: ; preds = %184, %122
br label %186
186: ; preds = %185, %90
br label %187
187: ; preds = %186, %85
%188 = load i8, i8* %15
%189 = sext i8 %188 to i32
%190 = icmp eq i32 %189, 45
br i1 %190, label %191, label %193
191: ; preds = %187
%192 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.11, i64 0, i64 0))
br label %200
193: ; preds = %187
%194 = load i8, i8* %15
%195 = sext i8 %194 to i32
%196 = icmp eq i32 %195, 43
br i1 %196, label %197, label %199
197: ; preds = %193
%198 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0))
br label %199
199: ; preds = %197, %193
br label %200
200: ; preds = %199, %191
%201 = load i32, i32* %12
%202 = icmp eq i32 %201, 1
br i1 %202, label %203, label %208
203: ; preds = %200
%204 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.13, i64 0, i64 0))
%205 = load double, double* %13
%206 = load double, double* %14
%207 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.14, i64 0, i64 0), double %205, double %206)
br label %227
208: ; preds = %200
%209 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.15, i64 0, i64 0))
%210 = load i32, i32* %9
%211 = icmp eq i32 %210, 0
br i1 %211, label %212, label %218
212: ; preds = %208
%213 = load i32, i32* %10
%214 = icmp eq i32 %213, 0
br i1 %214, label %215, label %218
215: ; preds = %212
%216 = load double, double* %13
%217 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.16, i64 0, i64 0), double %216)
br label %226
218: ; preds = %212, %208
%219 = load double, double* %13
%220 = load double, double* %14
%221 = call double @llvm.fabs.f64(double %220)
%222 = load double, double* %13
%223 = load double, double* %14
%224 = call double @llvm.fabs.f64(double %223)
%225 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.17, i64 0, i64 0), double %219, double %221, double %222, double %224)
br label %226
226: ; preds = %218, %215
br label %227
227: ; preds = %226, %203
br label %248
228: ; preds = %7
%229 = load i32, i32* %10
%230 = icmp eq i32 %229, 0
br i1 %230, label %231, label %234
231: ; preds = %228
%232 = load i32, i32* %9
%233 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.18, i64 0, i64 0), i32 %232)
br label %241
234: ; preds = %228
%235 = load i32, i32* %9
%236 = load i8, i8* %17
%237 = sext i8 %236 to i32
%238 = load i32, i32* %10
%239 = call i32 @abs(i32 %238)
%240 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.19, i64 0, i64 0), i32 %235, i32 %237, i32 %239)
br label %241
241: ; preds = %234, %231
%242 = load double, double* %13
%243 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.20, i64 0, i64 0), double %242)
br label %248
244: ; preds = %7
%245 = load i32, i32* %10
%246 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.21, i64 0, i64 0), i32 %245)
%247 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.22, i64 0, i64 0))
br label %248
248: ; preds = %7, %244, %241, %227
%249 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.23, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [47 x i8] c"\0A-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\00"
@.str.1 = [27 x i8] c"\0AThe equation is y = %dx^2\00"
@.str.2 = [33 x i8] c"\0AThe equation is y = %dx^2 %c %d\00"
@.str.3 = [34 x i8] c"\0AThe equation is y = %dx^2 %c %dx\00"
@.str.4 = [40 x i8] c"\0AThe equation is y = %dx^2 %c %dx %c %d\00"
@.str.5 = [37 x i8] c"\0AThe equation is y = -x^2 %c x %c %d\00"
@.str.6 = [36 x i8] c"\0AThe equation is y = x^2 %c x %c %d\00"
@.str.7 = [39 x i8] c"\0AThe equation is y = -x^2 %c %dx %c %d\00"
@.str.8 = [38 x i8] c"\0AThe equation is y = x^2 %c %dx %c %d\00"
@.str.9 = [37 x i8] c"\0AThe equation is y = %dx^2 - x %c %d\00"
@.str.10 = [37 x i8] c"\0AThe equation is y = %dx^2 + x %c %d\00"
@.str.11 = [30 x i8] c"\0AThe parabola opens downward.\00"
@.str.12 = [28 x i8] c"\0AThe parabola opens upward.\00"
@.str.13 = [34 x i8] c"\0AThe parabola has two real roots.\00"
@.str.14 = [25 x i8] c"\0ARoots are %.3f and %.3f\00"
@.str.15 = [37 x i8] c"\0AThe parabola has two complex roots.\00"
@.str.16 = [18 x i8] c"\0ARoot at x = %.3f\00"
@.str.17 = [41 x i8] c"\0ARoots are %.3f + %.3fi and %.3f - %.3fi\00"
@.str.18 = [25 x i8] c"\0AThe equation is y = %dx\00"
@.str.19 = [31 x i8] c"\0AThe equation is y = %dx %c %d\00"
@.str.20 = [33 x i8] c"\0AThe line has a zero at x = %.3f\00"
@.str.21 = [24 x i8] c"\0AThe equation is y = %d\00"
@.str.22 = [24 x i8] c"\0AThe line has no zeros.\00"
@str = [48 x i8] c"\0A-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\0A\00"
define void @printScreen(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, double %5, double %6) {
%8 = icmp slt i32 %0, 0
%9 = icmp slt i32 %1, 0
%10 = select i1 %9, i8 45, i8 43
%11 = icmp slt i32 %2, 0
%12 = select i1 %11, i8 45, i8 43
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str, i64 0, i64 0))
switch i32 %3, label %109 [
i32 1, label %14
i32 2, label %96
i32 3, label %106
]
14: ; preds = %7
%15 = tail call i32 @llvm.abs.i32(i32 %0, i1 true)
%16 = icmp eq i32 %15, 1
%17 = tail call i32 @llvm.abs.i32(i32 %1, i1 true)
%18 = icmp eq i32 %17, 1
br i1 %16, label %40, label %19
19: ; preds = %14
br i1 %18, label %49, label %20
20: ; preds = %19
%21 = icmp eq i32 %2, 0
%22 = or i32 %2, %1
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i32 %0)
br label %78
26: ; preds = %20
%27 = icmp eq i32 %1, 0
br i1 %27, label %28, label %32
28: ; preds = %26
%29 = zext i8 %12 to i32
%30 = tail call i32 @llvm.abs.i32(i32 %2, i1 true)
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0), i32 %0, i32 %29, i32 %30)
br label %78
32: ; preds = %26
%33 = zext i8 %10 to i32
br i1 %21, label %34, label %36
34: ; preds = %32
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0), i32 %0, i32 %33, i32 %17)
br label %78
36: ; preds = %32
%37 = zext i8 %12 to i32
%38 = tail call i32 @llvm.abs.i32(i32 %2, i1 true)
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0), i32 %0, i32 %33, i32 %17, i32 %37, i32 %38)
br label %78
40: ; preds = %14
br i1 %18, label %41, label %49
41: ; preds = %40
%42 = zext i8 %10 to i32
%43 = zext i8 %12 to i32
%44 = tail call i32 @llvm.abs.i32(i32 %2, i1 true)
br i1 %8, label %45, label %47
45: ; preds = %41
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 %42, i32 %43, i32 %44)
br label %80
47: ; preds = %41
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0), i32 %42, i32 %43, i32 %44)
br label %79
49: ; preds = %19, %40
%50 = phi i32 [ %17, %40 ], [ 1, %19 ]
%51 = icmp eq i32 %15, %0
br i1 %51, label %65, label %52
52: ; preds = %49
br i1 %8, label %53, label %58
53: ; preds = %52
%54 = zext i8 %10 to i32
%55 = zext i8 %12 to i32
%56 = tail call i32 @llvm.abs.i32(i32 %2, i1 true)
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i32 %54, i32 %50, i32 %55, i32 %56)
br label %80
58: ; preds = %52
%59 = icmp eq i32 %0, 0
br i1 %59, label %79, label %60
60: ; preds = %58
%61 = zext i8 %10 to i32
%62 = zext i8 %12 to i32
%63 = tail call i32 @llvm.abs.i32(i32 %2, i1 true)
%64 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0), i32 %61, i32 %50, i32 %62, i32 %63)
br label %79
65: ; preds = %49
%66 = icmp eq i32 %50, %1
br i1 %66, label %78, label %67
67: ; preds = %65
br i1 %9, label %68, label %72
68: ; preds = %67
%69 = zext i8 %12 to i32
%70 = tail call i32 @llvm.abs.i32(i32 %2, i1 true)
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0), i32 %0, i32 %69, i32 %70)
br label %78
72: ; preds = %67
%73 = icmp eq i32 %1, 0
br i1 %73, label %78, label %74
74: ; preds = %72
%75 = zext i8 %12 to i32
%76 = tail call i32 @llvm.abs.i32(i32 %2, i1 true)
%77 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0), i32 %0, i32 %75, i32 %76)
br label %78
78: ; preds = %68, %74, %72, %65, %24, %34, %36, %28
br i1 %8, label %80, label %79
79: ; preds = %47, %60, %58, %78
br label %80
80: ; preds = %78, %53, %45, %79
%81 = phi i8* [ getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0), %79 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.11, i64 0, i64 0), %45 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.11, i64 0, i64 0), %53 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.11, i64 0, i64 0), %78 ]
%82 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %81)
%83 = icmp eq i32 %4, 1
br i1 %83, label %84, label %87
84: ; preds = %80
%85 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.13, i64 0, i64 0))
%86 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.14, i64 0, i64 0), double %5, double %6)
br label %109
87: ; preds = %80
%88 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.15, i64 0, i64 0))
%89 = or i32 %2, %1
%90 = icmp eq i32 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %87
%92 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.16, i64 0, i64 0), double %5)
br label %109
93: ; preds = %87
%94 = tail call double @llvm.fabs.f64(double %6)
%95 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.17, i64 0, i64 0), double %5, double %94, double %5, double %94)
br label %109
96: ; preds = %7
%97 = icmp eq i32 %2, 0
br i1 %97, label %98, label %100
98: ; preds = %96
%99 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.18, i64 0, i64 0), i32 %1)
br label %104
100: ; preds = %96
%101 = zext i8 %12 to i32
%102 = tail call i32 @llvm.abs.i32(i32 %2, i1 true)
%103 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.19, i64 0, i64 0), i32 %1, i32 %101, i32 %102)
br label %104
104: ; preds = %100, %98
%105 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.20, i64 0, i64 0), double %5)
br label %109
106: ; preds = %7
%107 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.21, i64 0, i64 0), i32 %2)
%108 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.22, i64 0, i64 0))
br label %109
109: ; preds = %84, %93, %91, %7, %106, %104
%110 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str, i64 0, i64 0))
ret void
}