void print_cses_code(xpx, xmx, x, n, cprec) int **xpx, **xmx, **x, n, cprec;
{
  int i, j;
  int symmetry;
  int ixpx, ixmx, ix;
  double h;
  if ((csd2int(cprec, xpx[0]) == csd2int(cprec, xpx[n - 1])) &&
      (csd2int(cprec, xmx[0]) == csd2int(cprec, xmx[n - 1])) &&
      (csd2int(cprec, x[0]) == csd2int(cprec, x[n - 1])))
    symmetry = 1;
  else
    symmetry = -1;
  for (i = 0; i < n; i++) {
    ixpx = csd2int(cprec, xpx[i]);
    ixmx = csd2int(cprec, xmx[i]);
    ix = csd2int(cprec, x[i]);
    h = (1.0 + 1.0 / 4.0) * (double)ixpx / (double)(1 << cprec) +
        (1.0 - 1.0 / 4.0) * (double)ixmx / (double)(1 << cprec) +
        (double)ix / (double)(1 << cprec);
    if ((h != 0.0) && (i < (n + 1) / 2)) {
      printf("h(%2d) = %11lg = ", i, h);
      if (ixpx) {
        printf("(1+1/4)x(");
        for (j = cprec; j >= 0; j--) {
          if (xpx[i][j] == 1) {
            printf(" +1/2^%d", cprec - j);
          } else if (xpx[i][j] == -1) {
            printf(" -1/2^%d", cprec - j);
          }
        }
        printf(" )");
      }
      if (ixmx) {
        if (ixpx)
          printf(" + (1-1/4)x(");
        else
          printf("(1-1/4)x(");
        for (j = cprec; j >= 0; j--) {
          if (xmx[i][j] == 1) {
            printf(" +1/2^%d", cprec - j);
          } else if (xmx[i][j] == -1) {
            printf(" -1/2^%d", cprec - j);
          }
        }
        printf(" )");
      }
      if (ix) {
        if (ixpx || ixmx)
          printf(" + (");
        else
          printf("(");
        for (j = cprec; j >= 0; j--) {
          if (x[i][j] == 1) {
            printf(" +1/2^%d", cprec - j);
          } else if (x[i][j] == -1) {
            printf(" -1/2^%d", cprec - j);
          }
        }
        printf(" )");
      }
      printf("\n");
    } else if (h != 0) {
      printf("h(%2d) = %11lg = %2d x h(%2d)\n", i, h, symmetry, n - 1 - i);
    } else {
      printf("h(%2d) = %11lg\n", i, 0.0);
    }
  }
}


x86 assembly (clang, -O0):
<print_cses_code>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8d,-0x20(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%rsi
mov    $0x0,%al
call   1040 <csd2int@plt>
mov    %eax,-0x44(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x8(%rbp),%rax
mov    -0x1c(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rsi
mov    $0x0,%al
call   1040 <csd2int@plt>
mov    %eax,%ecx
mov    -0x44(%rbp),%eax
cmp    %ecx,%eax
jne    11fb <print_cses_code+0xdb>
mov    -0x20(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
mov    $0x0,%al
call   1040 <csd2int@plt>
mov    %eax,-0x48(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rsi
mov    $0x0,%al
call   1040 <csd2int@plt>
mov    %eax,%ecx
mov    -0x48(%rbp),%eax
cmp    %ecx,%eax
jne    11fb <print_cses_code+0xdb>
mov    -0x20(%rbp),%edi
mov    -0x18(%rbp),%rax
mov    (%rax),%rsi
mov    $0x0,%al
call   1040 <csd2int@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rsi
mov    $0x0,%al
call   1040 <csd2int@plt>
mov    %eax,%ecx
mov    -0x4c(%rbp),%eax
cmp    %ecx,%eax
jne    11fb <print_cses_code+0xdb>
movl   $0x1,-0x2c(%rbp)
jmp    1202 <print_cses_code+0xe2>
movl   $0xffffffff,-0x2c(%rbp)
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    15f2 <print_cses_code+0x4d2>
mov    -0x20(%rbp),%edi
mov    -0x8(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
mov    $0x0,%al
call   1040 <csd2int@plt>
mov    %eax,-0x30(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
mov    $0x0,%al
call   1040 <csd2int@plt>
mov    %eax,-0x34(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
mov    $0x0,%al
call   1040 <csd2int@plt>
mov    %eax,-0x38(%rbp)
cvtsi2sdl -0x30(%rbp),%xmm1
movsd  0xd9b(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x20(%rbp),%ecx
mov    $0x1,%eax
shl    %cl,%eax
cvtsi2sd %eax,%xmm1
divsd  %xmm1,%xmm0
cvtsi2sdl -0x34(%rbp),%xmm2
movsd  0xd70(%rip),%xmm1
mulsd  %xmm2,%xmm1
mov    -0x20(%rbp),%ecx
mov    $0x1,%eax
shl    %cl,%eax
cvtsi2sd %eax,%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
cvtsi2sdl -0x38(%rbp),%xmm1
mov    -0x20(%rbp),%ecx
mov    $0x1,%eax
shl    %cl,%eax
cvtsi2sd %eax,%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    12e7 <print_cses_code+0x1c7>
jp     12e7 <print_cses_code+0x1c7>
jmp    1582 <print_cses_code+0x462>
mov    -0x24(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x50(%rbp),%eax
cmp    %ecx,%eax
jge    1582 <print_cses_code+0x462>
mov    -0x24(%rbp),%esi
movsd  -0x40(%rbp),%xmm0
lea    0xcf9(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x30(%rbp)
je     13cd <print_cses_code+0x2ad>
lea    0xcf3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x28(%rbp)
cmpl   $0x0,-0x28(%rbp)
jl     13bf <print_cses_code+0x29f>
mov    -0x8(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
cmpl   $0x1,(%rax,%rcx,4)
jne    1379 <print_cses_code+0x259>
mov    -0x20(%rbp),%esi
sub    -0x28(%rbp),%esi
lea    0xcbf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13ac <print_cses_code+0x28c>
mov    -0x8(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
cmpl   $0xffffffff,(%rax,%rcx,4)
jne    13a7 <print_cses_code+0x287>
mov    -0x20(%rbp),%esi
sub    -0x28(%rbp),%esi
lea    0xc95(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13ac <print_cses_code+0x28c>
jmp    13b1 <print_cses_code+0x291>
mov    -0x28(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x28(%rbp)
jmp    133c <print_cses_code+0x21c>
lea    0xc78(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x34(%rbp)
je     1499 <print_cses_code+0x379>
cmpl   $0x0,-0x30(%rbp)
je     13f4 <print_cses_code+0x2d4>
lea    0xc59(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1402 <print_cses_code+0x2e2>
lea    0xc49(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x28(%rbp)
cmpl   $0x0,-0x28(%rbp)
jl     148b <print_cses_code+0x36b>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
cmpl   $0x1,(%rax,%rcx,4)
jne    1445 <print_cses_code+0x325>
mov    -0x20(%rbp),%esi
sub    -0x28(%rbp),%esi
lea    0xbf3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1478 <print_cses_code+0x358>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
cmpl   $0xffffffff,(%rax,%rcx,4)
jne    1473 <print_cses_code+0x353>
mov    -0x20(%rbp),%esi
sub    -0x28(%rbp),%esi
lea    0xbc9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1478 <print_cses_code+0x358>
jmp    147d <print_cses_code+0x35d>
mov    -0x28(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x28(%rbp)
jmp    1408 <print_cses_code+0x2e8>
lea    0xbac(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x38(%rbp)
je     156f <print_cses_code+0x44f>
cmpl   $0x0,-0x30(%rbp)
jne    14b7 <print_cses_code+0x397>
cmpl   $0x0,-0x34(%rbp)
je     14ca <print_cses_code+0x3aa>
lea    0xb90(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14d8 <print_cses_code+0x3b8>
lea    0xb80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x28(%rbp)
cmpl   $0x0,-0x28(%rbp)
jl     1561 <print_cses_code+0x441>
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
cmpl   $0x1,(%rax,%rcx,4)
jne    151b <print_cses_code+0x3fb>
mov    -0x20(%rbp),%esi
sub    -0x28(%rbp),%esi
lea    0xb1d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    154e <print_cses_code+0x42e>
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
cmpl   $0xffffffff,(%rax,%rcx,4)
jne    1549 <print_cses_code+0x429>
mov    -0x20(%rbp),%esi
sub    -0x28(%rbp),%esi
lea    0xaf3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    154e <print_cses_code+0x42e>
jmp    1553 <print_cses_code+0x433>
mov    -0x28(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x28(%rbp)
jmp    14de <print_cses_code+0x3be>
lea    0xad6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xafa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    15df <print_cses_code+0x4bf>
movsd  -0x40(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    159f <print_cses_code+0x47f>
jp     159f <print_cses_code+0x47f>
jmp    15c6 <print_cses_code+0x4a6>
mov    -0x24(%rbp),%esi
movsd  -0x40(%rbp),%xmm0
mov    -0x2c(%rbp),%edx
mov    -0x1c(%rbp),%ecx
sub    $0x1,%ecx
sub    -0x24(%rbp),%ecx
lea    0xa99(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    15da <print_cses_code+0x4ba>
mov    -0x24(%rbp),%esi
lea    0xaa2(%rip),%rdi
xorps  %xmm0,%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
jmp    15df <print_cses_code+0x4bf>
jmp    15e4 <print_cses_code+0x4c4>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1209 <print_cses_code+0xe9>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_cses_code>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
mov    %r8d,%ebp
mov    %ecx,%r14d
mov    %rdx,%r15
mov    %rsi,0x28(%rsp)
mov    %rdi,%rbx
mov    (%rdi),%rsi
mov    %r8d,%edi
xor    %eax,%eax
call   1050 <csd2int@plt>
mov    %eax,%r12d
movslq %r14d,%rax
mov    -0x8(%rbx,%rax,8),%rsi
add    $0xffffffffffffffff,%rax
mov    %rax,0x20(%rsp)
mov    %ebp,0x4(%rsp)
mov    %ebp,%edi
xor    %eax,%eax
call   1050 <csd2int@plt>
cmp    %eax,%r12d
mov    %rbx,0x38(%rsp)
jne    11ed <print_cses_code+0xbd>
mov    0x28(%rsp),%rbx
mov    (%rbx),%rsi
mov    0x4(%rsp),%ebp
mov    %ebp,%edi
xor    %eax,%eax
call   1050 <csd2int@plt>
mov    %eax,%r12d
mov    0x20(%rsp),%rax
mov    (%rbx,%rax,8),%rsi
mov    0x38(%rsp),%rbx
mov    %ebp,%edi
xor    %eax,%eax
call   1050 <csd2int@plt>
cmp    %eax,%r12d
jne    11ed <print_cses_code+0xbd>
mov    (%r15),%rsi
mov    0x4(%rsp),%ebp
mov    %ebp,%edi
xor    %eax,%eax
call   1050 <csd2int@plt>
mov    %eax,%r12d
mov    0x20(%rsp),%rax
mov    (%r15,%rax,8),%rsi
mov    %ebp,%edi
xor    %eax,%eax
call   1050 <csd2int@plt>
movl   $0x1,0x8(%rsp)
cmp    %eax,%r12d
je     11f5 <print_cses_code+0xc5>
movl   $0xffffffff,0x8(%rsp)
ff
test   %r14d,%r14d
jle    1516 <print_cses_code+0x3e6>
mov    $0x1,%eax
mov    0x4(%rsp),%ecx
shl    %cl,%eax
cvtsi2sd %eax,%xmm0
lea    0x1(%r14),%r12d
shr    %r12d
mov    %ecx,%eax
mov    %r14d,%ecx
mov    %rcx,0x48(%rsp)
movapd %xmm0,0x60(%rsp)
unpcklpd %xmm0,%xmm0
movapd %xmm0,0x50(%rsp)
add    $0x1,%rax
mov    %rax,0x18(%rsp)
xor    %r13d,%r13d
mov    %r12,0x40(%rsp)
mov    %r15,0x10(%rsp)
jmp    1279 <print_cses_code+0x149>
cs nopw 0x0(%rax,%rax,1)
xorpd  %xmm0,%xmm0
lea    0xe1f(%rip),%rdi
mov    %r13d,%esi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x10(%rsp),%r15
add    $0x1,%r13
cmp    0x48(%rsp),%r13
je     1516 <print_cses_code+0x3e6>
mov    (%rbx,%r13,8),%rsi
mov    0x4(%rsp),%r14d
mov    %r14d,%edi
xor    %eax,%eax
call   1050 <csd2int@plt>
mov    %eax,%ebp
mov    0x28(%rsp),%rax
mov    (%rax,%r13,8),%rsi
mov    %r14d,%edi
xor    %eax,%eax
call   1050 <csd2int@plt>
mov    %r15,%rcx
mov    %eax,%r15d
mov    (%rcx,%r13,8),%rsi
mov    %r14d,%edi
xor    %eax,%eax
call   1050 <csd2int@plt>
mov    %ebp,0xc(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %ebp,%xmm0
xorps  %xmm1,%xmm1
cvtsi2sd %r15d,%xmm1
mulsd  0xd30(%rip),%xmm0
mulsd  0xd30(%rip),%xmm1
xorps  %xmm2,%xmm2
cvtsi2sd %eax,%xmm2
divsd  0x60(%rsp),%xmm1
unpcklpd %xmm2,%xmm0
divpd  0x50(%rsp),%xmm0
addsd  %xmm0,%xmm1
unpckhpd %xmm0,%xmm0
addsd  %xmm1,%xmm0
ucomisd 0xd0d(%rip),%xmm0
jne    130b <print_cses_code+0x1db>
jnp    1250 <print_cses_code+0x120>
cmp    %r12,%r13
jae    13a0 <print_cses_code+0x270>
mov    %eax,0x34(%rsp)
lea    0xcf9(%rip),%rdi
mov    %r13d,%esi
mov    $0x1,%al
call   1040 <printf@plt>
cmpl   $0x0,0xc(%rsp)
je     13ea <print_cses_code+0x2ba>
lea    0xcef(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x4(%rsp)
lea    0xce6(%rip),%r14
js     13c4 <print_cses_code+0x294>
xor    %ebp,%ebp
mov    0x18(%rsp),%r12
jmp    1372 <print_cses_code+0x242>
nopl   0x0(%rax)
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebp
add    $0xffffffffffffffff,%r12
jle    13c4 <print_cses_code+0x294>
mov    (%rbx,%r13,8),%rax
mov    -0x4(%rax,%r12,4),%eax
mov    %r14,%rdi
cmp    $0x1,%eax
je     1360 <print_cses_code+0x230>
cmp    $0xffffffff,%eax
jne    1369 <print_cses_code+0x239>
lea    0xcae(%rip),%rdi
jmp    1360 <print_cses_code+0x230>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    0x20(%rsp),%rax
mov    %eax,%ecx
sub    %r13d,%ecx
lea    0xcaa(%rip),%rdi
mov    %r13d,%esi
mov    0x8(%rsp),%edx
mov    $0x1,%al
call   1040 <printf@plt>
jmp    1265 <print_cses_code+0x135>
xor    %ebx,%ebx
lea    0xc79(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc6e(%rip),%rdi
test   %r15d,%r15d
mov    0x10(%rsp),%r15
jne    1406 <print_cses_code+0x2d6>
jmp    1465 <print_cses_code+0x335>
lea    0xc5b(%rip),%rdi
test   %r15d,%r15d
mov    0x10(%rsp),%r15
lea    0xc34(%rip),%r14
je     1507 <print_cses_code+0x3d7>
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x4(%rsp)
js     1455 <print_cses_code+0x325>
xor    %ebp,%ebp
mov    0x18(%rsp),%rbx
jmp    1432 <print_cses_code+0x302>
nopl   (%rax)
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebp
add    $0xffffffffffffffff,%rbx
jle    1455 <print_cses_code+0x325>
mov    0x28(%rsp),%rax
mov    (%rax,%r13,8),%rax
mov    -0x4(%rax,%rbx,4),%eax
mov    %r14,%rdi
cmp    $0x1,%eax
je     1420 <print_cses_code+0x2f0>
cmp    $0xffffffff,%eax
jne    1429 <print_cses_code+0x2f9>
lea    0xbea(%rip),%rdi
jmp    1420 <print_cses_code+0x2f0>
lea    0xbea(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1,%bl
cmpl   $0x0,0x34(%rsp)
je     14ee <print_cses_code+0x3be>
cmpl   $0x0,0xc(%rsp)
sete   %al
xor    $0x1,%bl
test   %bl,%al
jne    1496 <print_cses_code+0x366>
lea    0xbd0(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x4(%rsp)
jns    14a7 <print_cses_code+0x377>
jmp    14e0 <print_cses_code+0x3b0>
mov    $0x28,%edi
call   1030 <putchar@plt>
cmpl   $0x0,0x4(%rsp)
js     14e0 <print_cses_code+0x3b0>
xor    %ebp,%ebp
mov    0x18(%rsp),%rbx
jmp    14c2 <print_cses_code+0x392>
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebp
add    $0xffffffffffffffff,%rbx
jle    14e0 <print_cses_code+0x3b0>
mov    (%r15,%r13,8),%rax
mov    -0x4(%rax,%rbx,4),%eax
mov    %r14,%rdi
cmp    $0x1,%eax
je     14b0 <print_cses_code+0x380>
cmp    $0xffffffff,%eax
jne    14b9 <print_cses_code+0x389>
lea    0xb5f(%rip),%rdi
jmp    14b0 <print_cses_code+0x380>
lea    0xb5f(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x38(%rsp),%rbx
mov    0x40(%rsp),%r12
jmp    126a <print_cses_code+0x13a>
xor    %ebx,%ebx
cmpl   $0x0,0x34(%rsp)
jne    1470 <print_cses_code+0x340>
jmp    14ee <print_cses_code+0x3be>
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [18 x i8] c"h(%2d) = %11lg = \00"
@.str.1 = [10 x i8] c"(1+1/4)x(\00"
@.str.2 = [9 x i8] c" +1/2^%d\00"
@.str.3 = [9 x i8] c" -1/2^%d\00"
@.str.4 = [3 x i8] c" )\00"
@.str.5 = [13 x i8] c" + (1-1/4)x(\00"
@.str.6 = [10 x i8] c"(1-1/4)x(\00"
@.str.7 = [5 x i8] c" + (\00"
@.str.8 = [2 x i8] c"(\00"
@.str.9 = [2 x i8] c"\0A\00"
@.str.10 = [31 x i8] c"h(%2d) = %11lg = %2d x h(%2d)\0A\00"
@.str.11 = [16 x i8] c"h(%2d) = %11lg\0A\00"
define void @print_cses_code(i32** %0, i32** %1, i32** %2, i32 %3, i32 %4) {
%6 = alloca i32**
%7 = alloca i32**
%8 = alloca i32**
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca double
store i32** %0, i32*** %6
store i32** %1, i32*** %7
store i32** %2, i32*** %8
store i32 %3, i32* %9
store i32 %4, i32* %10
%18 = load i32, i32* %10
%19 = load i32**, i32*** %6
%20 = getelementptr inbounds i32*, i32** %19, i64 0
%21 = load i32*, i32** %20
%22 = call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %18, i32* %21)
%23 = load i32, i32* %10
%24 = load i32**, i32*** %6
%25 = load i32, i32* %9
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32*, i32** %24, i64 %27
%29 = load i32*, i32** %28
%30 = call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %23, i32* %29)
%31 = icmp eq i32 %22, %30
br i1 %31, label %32, label %63
32: ; preds = %5
%33 = load i32, i32* %10
%34 = load i32**, i32*** %7
%35 = getelementptr inbounds i32*, i32** %34, i64 0
%36 = load i32*, i32** %35
%37 = call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %33, i32* %36)
%38 = load i32, i32* %10
%39 = load i32**, i32*** %7
%40 = load i32, i32* %9
%41 = sub nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32*, i32** %39, i64 %42
%44 = load i32*, i32** %43
%45 = call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %38, i32* %44)
%46 = icmp eq i32 %37, %45
br i1 %46, label %47, label %63
47: ; preds = %32
%48 = load i32, i32* %10
%49 = load i32**, i32*** %8
%50 = getelementptr inbounds i32*, i32** %49, i64 0
%51 = load i32*, i32** %50
%52 = call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %48, i32* %51)
%53 = load i32, i32* %10
%54 = load i32**, i32*** %8
%55 = load i32, i32* %9
%56 = sub nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32*, i32** %54, i64 %57
%59 = load i32*, i32** %58
%60 = call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %53, i32* %59)
%61 = icmp eq i32 %52, %60
br i1 %61, label %62, label %63
62: ; preds = %47
store i32 1, i32* %13
br label %64
63: ; preds = %47, %32, %5
store i32 -1, i32* %13
br label %64
64: ; preds = %63, %62
store i32 0, i32* %11
br label %65
65: ; preds = %302, %64
%66 = load i32, i32* %11
%67 = load i32, i32* %9
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %305
69: ; preds = %65
%70 = load i32, i32* %10
%71 = load i32**, i32*** %6
%72 = load i32, i32* %11
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32*, i32** %71, i64 %73
%75 = load i32*, i32** %74
%76 = call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %70, i32* %75)
store i32 %76, i32* %14
%77 = load i32, i32* %10
%78 = load i32**, i32*** %7
%79 = load i32, i32* %11
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i32*, i32** %78, i64 %80
%82 = load i32*, i32** %81
%83 = call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %77, i32* %82)
store i32 %83, i32* %15
%84 = load i32, i32* %10
%85 = load i32**, i32*** %8
%86 = load i32, i32* %11
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32*, i32** %85, i64 %87
%89 = load i32*, i32** %88
%90 = call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %84, i32* %89)
store i32 %90, i32* %16
%91 = load i32, i32* %14
%92 = sitofp i32 %91 to double
%93 = fmul double 1.250000e+00, %92
%94 = load i32, i32* %10
%95 = shl i32 1, %94
%96 = sitofp i32 %95 to double
%97 = fdiv double %93, %96
%98 = load i32, i32* %15
%99 = sitofp i32 %98 to double
%100 = fmul double 7.500000e-01, %99
%101 = load i32, i32* %10
%102 = shl i32 1, %101
%103 = sitofp i32 %102 to double
%104 = fdiv double %100, %103
%105 = fadd double %97, %104
%106 = load i32, i32* %16
%107 = sitofp i32 %106 to double
%108 = load i32, i32* %10
%109 = shl i32 1, %108
%110 = sitofp i32 %109 to double
%111 = fdiv double %107, %110
%112 = fadd double %105, %111
store double %112, double* %17
%113 = load double, double* %17
%114 = fcmp une double %113, 0.000000e+00
br i1 %114, label %115, label %285
115: ; preds = %69
%116 = load i32, i32* %11
%117 = load i32, i32* %9
%118 = add nsw i32 %117, 1
%119 = sdiv i32 %118, 2
%120 = icmp slt i32 %116, %119
br i1 %120, label %121, label %285
121: ; preds = %115
%122 = load i32, i32* %11
%123 = load double, double* %17
%124 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i32 %122, double %123)
%125 = load i32, i32* %14
%126 = icmp ne i32 %125, 0
br i1 %126, label %127, label %172
127: ; preds = %121
%128 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%129 = load i32, i32* %10
store i32 %129, i32* %12
br label %130
130: ; preds = %167, %127
%131 = load i32, i32* %12
%132 = icmp sge i32 %131, 0
br i1 %132, label %133, label %170
133: ; preds = %130
%134 = load i32**, i32*** %6
%135 = load i32, i32* %11
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i32*, i32** %134, i64 %136
%138 = load i32*, i32** %137
%139 = load i32, i32* %12
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds i32, i32* %138, i64 %140
%142 = load i32, i32* %141
%143 = icmp eq i32 %142, 1
br i1 %143, label %144, label %149
144: ; preds = %133
%145 = load i32, i32* %10
%146 = load i32, i32* %12
%147 = sub nsw i32 %145, %146
%148 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %147)
br label %166
149: ; preds = %133
%150 = load i32**, i32*** %6
%151 = load i32, i32* %11
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds i32*, i32** %150, i64 %152
%154 = load i32*, i32** %153
%155 = load i32, i32* %12
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds i32, i32* %154, i64 %156
%158 = load i32, i32* %157
%159 = icmp eq i32 %158, -1
br i1 %159, label %160, label %165
160: ; preds = %149
%161 = load i32, i32* %10
%162 = load i32, i32* %12
%163 = sub nsw i32 %161, %162
%164 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 %163)
br label %165
165: ; preds = %160, %149
br label %166
166: ; preds = %165, %144
br label %167
167: ; preds = %166
%168 = load i32, i32* %12
%169 = add nsw i32 %168, -1
store i32 %169, i32* %12
br label %130
170: ; preds = %130
%171 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %172
172: ; preds = %170, %121
%173 = load i32, i32* %15
%174 = icmp ne i32 %173, 0
br i1 %174, label %175, label %226
175: ; preds = %172
%176 = load i32, i32* %14
%177 = icmp ne i32 %176, 0
br i1 %177, label %178, label %180
178: ; preds = %175
%179 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0))
br label %182
180: ; preds = %175
%181 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
br label %182
182: ; preds = %180, %178
%183 = load i32, i32* %10
store i32 %183, i32* %12
br label %184
184: ; preds = %221, %182
%185 = load i32, i32* %12
%186 = icmp sge i32 %185, 0
br i1 %186, label %187, label %224
187: ; preds = %184
%188 = load i32**, i32*** %7
%189 = load i32, i32* %11
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds i32*, i32** %188, i64 %190
%192 = load i32*, i32** %191
%193 = load i32, i32* %12
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds i32, i32* %192, i64 %194
%196 = load i32, i32* %195
%197 = icmp eq i32 %196, 1
br i1 %197, label %198, label %203
198: ; preds = %187
%199 = load i32, i32* %10
%200 = load i32, i32* %12
%201 = sub nsw i32 %199, %200
%202 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %201)
br label %220
203: ; preds = %187
%204 = load i32**, i32*** %7
%205 = load i32, i32* %11
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds i32*, i32** %204, i64 %206
%208 = load i32*, i32** %207
%209 = load i32, i32* %12
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds i32, i32* %208, i64 %210
%212 = load i32, i32* %211
%213 = icmp eq i32 %212, -1
br i1 %213, label %214, label %219
214: ; preds = %203
%215 = load i32, i32* %10
%216 = load i32, i32* %12
%217 = sub nsw i32 %215, %216
%218 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 %217)
br label %219
219: ; preds = %214, %203
br label %220
220: ; preds = %219, %198
br label %221
221: ; preds = %220
%222 = load i32, i32* %12
%223 = add nsw i32 %222, -1
store i32 %223, i32* %12
br label %184
224: ; preds = %184
%225 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %226
226: ; preds = %224, %172
%227 = load i32, i32* %16
%228 = icmp ne i32 %227, 0
br i1 %228, label %229, label %283
229: ; preds = %226
%230 = load i32, i32* %14
%231 = icmp ne i32 %230, 0
br i1 %231, label %235, label %232
232: ; preds = %229
%233 = load i32, i32* %15
%234 = icmp ne i32 %233, 0
br i1 %234, label %235, label %237
235: ; preds = %232, %229
%236 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
br label %239
237: ; preds = %232
%238 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %239
239: ; preds = %237, %235
%240 = load i32, i32* %10
store i32 %240, i32* %12
br label %241
241: ; preds = %278, %239
%242 = load i32, i32* %12
%243 = icmp sge i32 %242, 0
br i1 %243, label %244, label %281
244: ; preds = %241
%245 = load i32**, i32*** %8
%246 = load i32, i32* %11
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds i32*, i32** %245, i64 %247
%249 = load i32*, i32** %248
%250 = load i32, i32* %12
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds i32, i32* %249, i64 %251
%253 = load i32, i32* %252
%254 = icmp eq i32 %253, 1
br i1 %254, label %255, label %260
255: ; preds = %244
%256 = load i32, i32* %10
%257 = load i32, i32* %12
%258 = sub nsw i32 %256, %257
%259 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %258)
br label %277
260: ; preds = %244
%261 = load i32**, i32*** %8
%262 = load i32, i32* %11
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds i32*, i32** %261, i64 %263
%265 = load i32*, i32** %264
%266 = load i32, i32* %12
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds i32, i32* %265, i64 %267
%269 = load i32, i32* %268
%270 = icmp eq i32 %269, -1
br i1 %270, label %271, label %276
271: ; preds = %260
%272 = load i32, i32* %10
%273 = load i32, i32* %12
%274 = sub nsw i32 %272, %273
%275 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 %274)
br label %276
276: ; preds = %271, %260
br label %277
277: ; preds = %276, %255
br label %278
278: ; preds = %277
%279 = load i32, i32* %12
%280 = add nsw i32 %279, -1
store i32 %280, i32* %12
br label %241
281: ; preds = %241
%282 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %283
283: ; preds = %281, %226
%284 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %301
285: ; preds = %115, %69
%286 = load double, double* %17
%287 = fcmp une double %286, 0.000000e+00
br i1 %287, label %288, label %297
288: ; preds = %285
%289 = load i32, i32* %11
%290 = load double, double* %17
%291 = load i32, i32* %13
%292 = load i32, i32* %9
%293 = sub nsw i32 %292, 1
%294 = load i32, i32* %11
%295 = sub nsw i32 %293, %294
%296 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.10, i64 0, i64 0), i32 %289, double %290, i32 %291, i32 %295)
br label %300
297: ; preds = %285
%298 = load i32, i32* %11
%299 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0), i32 %298, double 0.000000e+00)
br label %300
300: ; preds = %297, %288
br label %301
301: ; preds = %300, %283
br label %302
302: ; preds = %301
%303 = load i32, i32* %11
%304 = add nsw i32 %303, 1
store i32 %304, i32* %11
br label %65
305: ; preds = %65
ret void
}

LLVM IR (-O2):
@.str = [18 x i8] c"h(%2d) = %11lg = \00"
@.str.1 = [10 x i8] c"(1+1/4)x(\00"
@.str.2 = [9 x i8] c" +1/2^%d\00"
@.str.3 = [9 x i8] c" -1/2^%d\00"
@.str.4 = [3 x i8] c" )\00"
@.str.5 = [13 x i8] c" + (1-1/4)x(\00"
@.str.6 = [10 x i8] c"(1-1/4)x(\00"
@.str.7 = [5 x i8] c" + (\00"
@.str.10 = [31 x i8] c"h(%2d) = %11lg = %2d x h(%2d)\0A\00"
@.str.11 = [16 x i8] c"h(%2d) = %11lg\0A\00"
define void @print_cses_code(i32** nocapture %0, i32** nocapture %1, i32** nocapture %2, i32 %3, i32 %4) {
%6 = load i32*, i32** %0
%7 = tail call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %4, i32* %6)
%8 = add nsw i32 %3, -1
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i32*, i32** %0, i64 %9
%11 = load i32*, i32** %10
%12 = tail call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %4, i32* %11)
%13 = icmp eq i32 %7, %12
br i1 %13, label %14, label %28
14: ; preds = %5
%15 = load i32*, i32** %1
%16 = tail call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %4, i32* %15)
%17 = getelementptr inbounds i32*, i32** %1, i64 %9
%18 = load i32*, i32** %17
%19 = tail call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %4, i32* %18)
%20 = icmp eq i32 %16, %19
br i1 %20, label %21, label %28
21: ; preds = %14
%22 = load i32*, i32** %2
%23 = tail call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %4, i32* %22)
%24 = getelementptr inbounds i32*, i32** %2, i64 %9
%25 = load i32*, i32** %24
%26 = tail call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %4, i32* %25)
%27 = icmp eq i32 %23, %26
br i1 %27, label %29, label %28
28: ; preds = %21, %14, %5
br label %29
29: ; preds = %21, %28
%30 = phi i32 [ -1, %28 ], [ 1, %21 ]
%31 = icmp sgt i32 %3, 0
br i1 %31, label %32, label %151
32: ; preds = %29
%33 = shl nuw i32 1, %4
%34 = sitofp i32 %33 to double
%35 = add nuw nsw i32 %3, 1
%36 = lshr i32 %35, 1
%37 = icmp sgt i32 %4, -1
%38 = zext i32 %4 to i64
%39 = zext i32 %36 to i64
%40 = zext i32 %3 to i64
%41 = insertelement <2 x double> poison, double %34, i64 0
%42 = shufflevector <2 x double> %41, <2 x double> poison, <2 x i32> zeroinitializer
br label %43
43: ; preds = %32, %148
%44 = phi i64 [ 0, %32 ], [ %149, %148 ]
%45 = getelementptr inbounds i32*, i32** %0, i64 %44
%46 = load i32*, i32** %45
%47 = tail call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %4, i32* %46)
%48 = getelementptr inbounds i32*, i32** %1, i64 %44
%49 = load i32*, i32** %48
%50 = tail call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %4, i32* %49)
%51 = getelementptr inbounds i32*, i32** %2, i64 %44
%52 = load i32*, i32** %51
%53 = tail call i32 (i32, i32*, ...) bitcast (i32 (...)* @csd2int to i32 (i32, i32*, ...)*)(i32 %4, i32* %52)
%54 = sitofp i32 %47 to double
%55 = fmul double %54, 1.250000e+00
%56 = sitofp i32 %50 to double
%57 = fmul double %56, 7.500000e-01
%58 = fdiv double %57, %34
%59 = sitofp i32 %53 to double
%60 = insertelement <2 x double> poison, double %55, i64 0
%61 = insertelement <2 x double> %60, double %59, i64 1
%62 = fdiv <2 x double> %61, %42
%63 = extractelement <2 x double> %62, i64 0
%64 = fadd double %63, %58
%65 = extractelement <2 x double> %62, i64 1
%66 = fadd double %64, %65
%67 = fcmp une double %66, 0.000000e+00
br i1 %67, label %68, label %145
68: ; preds = %43
%69 = icmp ult i64 %44, %39
%70 = trunc i64 %44 to i32
br i1 %69, label %71, label %142
71: ; preds = %68
%72 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i32 %70, double %66)
%73 = icmp ne i32 %47, 0
br i1 %73, label %74, label %93
74: ; preds = %71
%75 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
br i1 %37, label %76, label %90
76: ; preds = %74, %87
%77 = phi i64 [ %88, %87 ], [ %38, %74 ]
%78 = load i32*, i32** %45
%79 = getelementptr inbounds i32, i32* %78, i64 %77
%80 = load i32, i32* %79
switch i32 %80, label %87 [
i32 1, label %82
i32 -1, label %81
]
81: ; preds = %76
br label %82
82: ; preds = %76, %81
%83 = phi i8* [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), %81 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), %76 ]
%84 = trunc i64 %77 to i32
%85 = sub i32 %4, %84
%86 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %83, i32 %85)
br label %87
87: ; preds = %82, %76
%88 = add nsw i64 %77, -1
%89 = icmp sgt i64 %77, 0
br i1 %89, label %76, label %90
90: ; preds = %87, %74
%91 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%92 = icmp eq i32 %50, 0
br i1 %92, label %114, label %95
93: ; preds = %71
%94 = icmp eq i32 %50, 0
br i1 %94, label %114, label %95
95: ; preds = %93, %90
%96 = phi i8* [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), %90 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), %93 ]
%97 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %96)
br i1 %37, label %98, label %112
98: ; preds = %95, %109
%99 = phi i64 [ %110, %109 ], [ %38, %95 ]
%100 = load i32*, i32** %48
%101 = getelementptr inbounds i32, i32* %100, i64 %99
%102 = load i32, i32* %101
switch i32 %102, label %109 [
i32 1, label %104
i32 -1, label %103
]
103: ; preds = %98
br label %104
104: ; preds = %98, %103
%105 = phi i8* [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), %103 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), %98 ]
%106 = trunc i64 %99 to i32
%107 = sub i32 %4, %106
%108 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %105, i32 %107)
br label %109
109: ; preds = %104, %98
%110 = add nsw i64 %99, -1
%111 = icmp sgt i64 %99, 0
br i1 %111, label %98, label %112
112: ; preds = %109, %95
%113 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %114
114: ; preds = %93, %112, %90
%115 = phi i1 [ false, %93 ], [ true, %112 ], [ false, %90 ]
%116 = icmp eq i32 %53, 0
br i1 %116, label %140, label %117
117: ; preds = %114
%118 = or i1 %73, %115
br i1 %118, label %119, label %121
119: ; preds = %117
%120 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
br label %123
121: ; preds = %117
%122 = tail call i32 @putchar(i32 40)
br label %123
123: ; preds = %121, %119
br i1 %37, label %124, label %138
124: ; preds = %123, %135
%125 = phi i64 [ %136, %135 ], [ %38, %123 ]
%126 = load i32*, i32** %51
%127 = getelementptr inbounds i32, i32* %126, i64 %125
%128 = load i32, i32* %127
switch i32 %128, label %135 [
i32 1, label %130
i32 -1, label %129
]
129: ; preds = %124
br label %130
130: ; preds = %124, %129
%131 = phi i8* [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), %129 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), %124 ]
%132 = trunc i64 %125 to i32
%133 = sub i32 %4, %132
%134 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %131, i32 %133)
br label %135
135: ; preds = %130, %124
%136 = add nsw i64 %125, -1
%137 = icmp sgt i64 %125, 0
br i1 %137, label %124, label %138
138: ; preds = %135, %123
%139 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %140
140: ; preds = %138, %114
%141 = tail call i32 @putchar(i32 10)
br label %148
142: ; preds = %68
%143 = sub nsw i32 %8, %70
%144 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.10, i64 0, i64 0), i32 %70, double %66, i32 %30, i32 %143)
br label %148
145: ; preds = %43
%146 = trunc i64 %44 to i32
%147 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0), i32 %146, double 0.000000e+00)
br label %148
148: ; preds = %140, %145, %142
%149 = add nuw nsw i64 %44, 1
%150 = icmp eq i64 %149, %40
br i1 %150, label %151, label %43
151: ; preds = %148, %29
ret void
}