int main() {
  char alphabet[] = "abcdefghijklmnopqrstuvwxyz";
  int digit[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
  char *cp;
  char c;
  int i;
  int w;
  int *ip;
  int w1 = 18;
  w = printf("digit array is '");
  for (i = 0; i <= 9; i++, w++)
    printf("%i", digit[i]);
  printf("'\n");
  printdiv(w);
  ip = digit;
  w = printf("op is %*s and *ip is '%i'\n", w1, "ip = digit", *ip);
  ip = &digit[0];
  w = printf("op is %*s and *ip is '%i'\n", w1, "ip = &digit[0]", *ip);
  ip++;
  w = printf("op is %*s and *ip is '%i'\n", w1, "ip++", *ip);
  ++ip;
  w = printf("op is %*s and *ip is '%i'\n", w1, "++ip", *ip);
  ip--;
  w = printf("op is %*s and *ip is '%i'\n", w1, "ip--", *ip);
  --ip;
  w = printf("op is %*s and *ip is '%i'\n", w1, "--ip", *ip);
  i = *ip++;
  w = printf("op is %*s and *ip is '%i' and i is '%i'\n", w1, "i = *ip++", *ip,
             i);
  i = ++*ip;
  w = printf("op is %*s and *ip is '%i' and i is '%i'\n", w1, "i = ++*ip", *ip,
             i);
  i = *++ip;
  w = printf("op is %*s and *ip is '%i' and i is '%i'\n", w1, "i = *++ip", *ip,
             i);
  i = ++(*ip);
  w = printf("op is %*s and *ip is '%i' and i is '%i'\n", w1, "i = ++(*ip)",
             *ip, i);
  i = *ip--;
  w = printf("op is %*s and *ip is '%i' and i is '%i'\n", w1, "i = *ip--", *ip,
             i);
  i = --*ip;
  w = printf("op is %*s and *ip is '%i' and i is '%i'\n", w1, "i = --*ip", *ip,
             i);
  i = --(*ip);
  w = printf("op is %*s and *ip is '%i' and i is '%i'\n", w1, "i = --(*ip)",
             *ip, i);
  printdiv(--w);
  cp = &alphabet[0];
  w = printf("op is %*s and *cp is '%c'\n", w1, "cp = &alphabet[0]", *cp);
  cp = alphabet;
  w = printf("op is %*s and *cp is '%c'\n", w1, "cp = alphabet", *cp);
  cp++;
  w = printf("op is %*s and *cp is '%c'\n", w1, "cp++", *cp);
  ++cp;
  w = printf("op is %*s and *cp is '%c'\n", w1, "++cp", *cp);
  cp--;
  w = printf("op is %*s and *cp is '%c'\n", w1, "cp--", *cp);
  --cp;
  w = printf("op is %*s and *cp is '%c'\n", w1, "--cp", *cp);
  c = *cp++;
  w = printf("op is %*s and *cp is '%c' and c is '%c'\n", w1, "c = *cp++", *cp,
             c);
  w = printf("op is %*s !!! causes core dump\n", w1, "c = ++*cp");
  c = *++cp;
  printf("op is %*s and *cp is '%c' and c is '%c'\n", w1, "c = *++cp", *cp, c);
  c = *cp--;
  w = printf("op is %*s and *cp is '%c' and c is '%c'\n", w1, "c = *cp--", *cp,
             c);
  w = printf("op is %*s !!! causes core dump\n", w1, "c = --*cp");
  printdiv(--w);
  printf("Morale of tale appears to be that; \n"
         "    ++*var *++var --*var and *--var \n"
         "should be avoided.\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
mov    0xeb7(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xeb4(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    0xeb1(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    0xeae(%rip),%ax
mov    %ax,-0x8(%rbp)
mov    0xea6(%rip),%al
mov    %al,-0x6(%rbp)
lea    -0x50(%rbp),%rdi
lea    0xe9e(%rip),%rsi
mov    $0x28,%edx
call   1040 <memcpy@plt>
movl   $0x12,-0x74(%rbp)
lea    0xeae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
movl   $0x0,-0x60(%rbp)
cmpl   $0x9,-0x60(%rbp)
jg     11e2 <main+0xb2>
movslq -0x60(%rbp),%rax
mov    -0x50(%rbp,%rax,4),%esi
lea    0xe95(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    11ab <main+0x7b>
lea    0xf86(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x64(%rbp),%edi
mov    $0x0,%al
call   1050 <printdiv@plt>
lea    -0x50(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x70(%rbp),%rax
mov    (%rax),%ecx
lea    0xe4a(%rip),%rdi
lea    0xe5e(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
lea    -0x50(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x70(%rbp),%rax
mov    (%rax),%ecx
lea    0xe21(%rip),%rdi
lea    0xe40(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x70(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x70(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x70(%rbp),%rax
mov    (%rax),%ecx
lea    0xdf4(%rip),%rdi
lea    0xe55(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x70(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x70(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x70(%rbp),%rax
mov    (%rax),%ecx
lea    0xdc7(%rip),%rdi
lea    0xe3c(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x70(%rbp),%rax
add    $0xfffffffffffffffc,%rax
mov    %rax,-0x70(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x70(%rbp),%rax
mov    (%rax),%ecx
lea    0xd9a(%rip),%rdi
lea    0xe25(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x70(%rbp),%rax
add    $0xfffffffffffffffc,%rax
mov    %rax,-0x70(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x70(%rbp),%rax
mov    (%rax),%ecx
lea    0xd6d(%rip),%rdi
lea    0xd9b(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x70(%rbp),%rax
mov    %rax,%rcx
add    $0x4,%rcx
mov    %rcx,-0x70(%rbp)
mov    (%rax),%eax
mov    %eax,-0x60(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x70(%rbp),%rax
mov    (%rax),%ecx
mov    -0x60(%rbp),%r8d
lea    0xd6e(%rip),%rdi
lea    0xd90(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x70(%rbp),%rcx
mov    (%rcx),%eax
add    $0x1,%eax
mov    %eax,(%rcx)
mov    %eax,-0x60(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x70(%rbp),%rax
mov    (%rax),%ecx
mov    -0x60(%rbp),%r8d
lea    0xd3b(%rip),%rdi
lea    0xd67(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x70(%rbp),%rax
mov    %rax,%rcx
add    $0x4,%rcx
mov    %rcx,-0x70(%rbp)
mov    0x4(%rax),%eax
mov    %eax,-0x60(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x70(%rbp),%rax
mov    (%rax),%ecx
mov    -0x60(%rbp),%r8d
lea    0xd01(%rip),%rdi
lea    0xd37(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x70(%rbp),%rcx
mov    (%rcx),%eax
add    $0x1,%eax
mov    %eax,(%rcx)
mov    %eax,-0x60(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x70(%rbp),%rax
mov    (%rax),%ecx
mov    -0x60(%rbp),%r8d
lea    0xcce(%rip),%rdi
lea    0xd0e(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x70(%rbp),%rax
mov    %rax,%rcx
add    $0xfffffffffffffffc,%rcx
mov    %rcx,-0x70(%rbp)
mov    (%rax),%eax
mov    %eax,-0x60(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x70(%rbp),%rax
mov    (%rax),%ecx
mov    -0x60(%rbp),%r8d
lea    0xc95(%rip),%rdi
lea    0xce1(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x70(%rbp),%rcx
mov    (%rcx),%eax
add    $0xffffffff,%eax
mov    %eax,(%rcx)
mov    %eax,-0x60(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x70(%rbp),%rax
mov    (%rax),%ecx
mov    -0x60(%rbp),%r8d
lea    0xc62(%rip),%rdi
lea    0xcb8(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x70(%rbp),%rcx
mov    (%rcx),%eax
add    $0xffffffff,%eax
mov    %eax,(%rcx)
mov    %eax,-0x60(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x70(%rbp),%rax
mov    (%rax),%ecx
mov    -0x60(%rbp),%r8d
lea    0xc2f(%rip),%rdi
lea    0xc8f(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x64(%rbp),%edi
add    $0xffffffff,%edi
mov    %edi,-0x64(%rbp)
mov    $0x0,%al
call   1050 <printdiv@plt>
lea    -0x20(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x58(%rbp),%rax
movsbl (%rax),%ecx
lea    0xc68(%rip),%rdi
lea    0xc7c(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
lea    -0x20(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x58(%rbp),%rax
movsbl (%rax),%ecx
lea    0xc3e(%rip),%rdi
lea    0xc64(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x58(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x58(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x58(%rbp),%rax
movsbl (%rax),%ecx
lea    0xc10(%rip),%rdi
lea    0xc77(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x58(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x58(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x58(%rbp),%rax
movsbl (%rax),%ecx
lea    0xbe2(%rip),%rdi
lea    0xc7d(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x58(%rbp),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,-0x58(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x58(%rbp),%rax
movsbl (%rax),%ecx
lea    0xbb4(%rip),%rdi
lea    0xc59(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x58(%rbp),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,-0x58(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x58(%rbp),%rax
movsbl (%rax),%ecx
lea    0xb86(%rip),%rdi
lea    0xbba(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x58(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x58(%rbp)
mov    (%rax),%al
mov    %al,-0x59(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x58(%rbp),%rax
movsbl (%rax),%ecx
movsbl -0x59(%rbp),%r8d
lea    0xb8b(%rip),%rdi
lea    0xbad(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x74(%rbp),%esi
lea    0xba3(%rip),%rdi
lea    0xbbc(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x58(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x58(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x59(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x58(%rbp),%rax
movsbl (%rax),%ecx
movsbl -0x59(%rbp),%r8d
lea    0xb34(%rip),%rdi
lea    0xb8a(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x58(%rbp),%rax
mov    %rax,%rcx
add    $0xffffffffffffffff,%rcx
mov    %rcx,-0x58(%rbp)
mov    (%rax),%al
mov    %al,-0x59(%rbp)
mov    -0x74(%rbp),%esi
mov    -0x58(%rbp),%rax
movsbl (%rax),%ecx
movsbl -0x59(%rbp),%r8d
lea    0xafc(%rip),%rdi
lea    0xb5c(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x74(%rbp),%esi
lea    0xb14(%rip),%rdi
lea    0xb4b(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    %eax,-0x64(%rbp)
mov    -0x64(%rbp),%edi
add    $0xffffffff,%edi
mov    %edi,-0x64(%rbp)
mov    $0x0,%al
call   1050 <printdiv@plt>
lea    0xb34(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %rbx
push   %rax
lea    0xec6(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %eax,%ebp
lea    0xec7(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0xa,%ebp
lea    0xe28(%rip),%rdi
call   1030 <puts@plt>
mov    %ebp,%edi
xor    %eax,%eax
call   1050 <printdiv@plt>
lea    0xe18(%rip),%rbx
lea    0xe2c(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
xor    %ecx,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe1f(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
xor    %ecx,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe49(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x1,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe42(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x2,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe3d(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x1,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdc5(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
xor    %ecx,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdb2(%rip),%rbx
lea    0xdd4(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x1,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdc0(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x2,%ecx
mov    $0x2,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xda9(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x2,%ecx
mov    $0x2,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd92(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x3,%ecx
mov    $0x3,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd7d(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x2,%ecx
mov    $0x3,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd66(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x1,%ecx
mov    $0x1,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd4f(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x1(%rax),%edi
xor    %eax,%eax
call   1050 <printdiv@plt>
lea    0xd36(%rip),%rbx
lea    0xd4a(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x61,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd41(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x61,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd67(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x62,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd80(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x63,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd6f(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x62,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xce3(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x61,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xccd(%rip),%rbx
lea    0xcef(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x62,%ecx
mov    $0x61,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xcd8(%rip),%rbp
lea    0xcf1(%rip),%rdx
mov    %rbp,%rdi
mov    $0x12,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xce5(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x63,%ecx
mov    $0x63,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xcce(%rip),%rdx
mov    %rbx,%rdi
mov    $0x12,%esi
mov    $0x62,%ecx
mov    $0x63,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xcb7(%rip),%rdx
mov    %rbp,%rdi
mov    $0x12,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x1(%rax),%edi
xor    %eax,%eax
call   1050 <printdiv@plt>
lea    0xca1(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
@__const.main.alphabet = [27 x i8] c"abcdefghijklmnopqrstuvwxyz\00"
@__const.main.digit = [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9]
@.str = [17 x i8] c"digit array is '\00"
@.str.1 = [3 x i8] c"%i\00"
@.str.2 = [3 x i8] c"'\0A\00"
@.str.3 = [27 x i8] c"op is %*s and *ip is '%i'\0A\00"
@.str.4 = [11 x i8] c"ip = digit\00"
@.str.5 = [15 x i8] c"ip = &digit[0]\00"
@.str.6 = [5 x i8] c"ip++\00"
@.str.7 = [5 x i8] c"++ip\00"
@.str.8 = [5 x i8] c"ip--\00"
@.str.9 = [5 x i8] c"--ip\00"
@.str.10 = [41 x i8] c"op is %*s and *ip is '%i' and i is '%i'\0A\00"
@.str.11 = [10 x i8] c"i = *ip++\00"
@.str.12 = [10 x i8] c"i = ++*ip\00"
@.str.13 = [10 x i8] c"i = *++ip\00"
@.str.14 = [12 x i8] c"i = ++(*ip)\00"
@.str.15 = [10 x i8] c"i = *ip--\00"
@.str.16 = [10 x i8] c"i = --*ip\00"
@.str.17 = [12 x i8] c"i = --(*ip)\00"
@.str.18 = [27 x i8] c"op is %*s and *cp is '%c'\0A\00"
@.str.19 = [18 x i8] c"cp = &alphabet[0]\00"
@.str.20 = [14 x i8] c"cp = alphabet\00"
@.str.21 = [5 x i8] c"cp++\00"
@.str.22 = [5 x i8] c"++cp\00"
@.str.23 = [5 x i8] c"cp--\00"
@.str.24 = [5 x i8] c"--cp\00"
@.str.25 = [41 x i8] c"op is %*s and *cp is '%c' and c is '%c'\0A\00"
@.str.26 = [10 x i8] c"c = *cp++\00"
@.str.27 = [32 x i8] c"op is %*s !!! causes core dump\0A\00"
@.str.28 = [10 x i8] c"c = ++*cp\00"
@.str.29 = [10 x i8] c"c = *++cp\00"
@.str.30 = [10 x i8] c"c = *cp--\00"
@.str.31 = [10 x i8] c"c = --*cp\00"
@.str.32 = [93 x i8] c"Morale of tale appears to be that; \0A ++*var *++var --*var and *--var \0Ashould be avoided.\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [27 x i8]
%3 = alloca [10 x i32]
%4 = alloca i8*
%5 = alloca i8
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32*
%9 = alloca i32
store i32 0, i32* %1
%10 = bitcast [27 x i8]* %2 to i8*
%11 = bitcast [10 x i32]* %3 to i8*
store i32 18, i32* %9
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
store i32 %12, i32* %7
store i32 0, i32* %6
br label %13
13: ; preds = %22, %0
%14 = load i32, i32* %6
%15 = icmp sle i32 %14, 9
br i1 %15, label %16, label %27
16: ; preds = %13
%17 = load i32, i32* %6
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 %18
%20 = load i32, i32* %19
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %20)
br label %22
22: ; preds = %16
%23 = load i32, i32* %6
%24 = add nsw i32 %23, 1
store i32 %24, i32* %6
%25 = load i32, i32* %7
%26 = add nsw i32 %25, 1
store i32 %26, i32* %7
br label %13
27: ; preds = %13
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%29 = load i32, i32* %7
%30 = call i32 (i32, ...) bitcast (i32 (...)* @printdiv to i32 (i32, ...)*)(i32 %29)
%31 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 0
store i32* %31, i32** %8
%32 = load i32, i32* %9
%33 = load i32*, i32** %8
%34 = load i32, i32* %33
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 %32, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 %34)
store i32 %35, i32* %7
%36 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 0
store i32* %36, i32** %8
%37 = load i32, i32* %9
%38 = load i32*, i32** %8
%39 = load i32, i32* %38
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 %37, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 %39)
store i32 %40, i32* %7
%41 = load i32*, i32** %8
%42 = getelementptr inbounds i32, i32* %41, i32 1
store i32* %42, i32** %8
%43 = load i32, i32* %9
%44 = load i32*, i32** %8
%45 = load i32, i32* %44
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 %43, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %45)
store i32 %46, i32* %7
%47 = load i32*, i32** %8
%48 = getelementptr inbounds i32, i32* %47, i32 1
store i32* %48, i32** %8
%49 = load i32, i32* %9
%50 = load i32*, i32** %8
%51 = load i32, i32* %50
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 %49, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 %51)
store i32 %52, i32* %7
%53 = load i32*, i32** %8
%54 = getelementptr inbounds i32, i32* %53, i32 -1
store i32* %54, i32** %8
%55 = load i32, i32* %9
%56 = load i32*, i32** %8
%57 = load i32, i32* %56
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 %55, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 %57)
store i32 %58, i32* %7
%59 = load i32*, i32** %8
%60 = getelementptr inbounds i32, i32* %59, i32 -1
store i32* %60, i32** %8
%61 = load i32, i32* %9
%62 = load i32*, i32** %8
%63 = load i32, i32* %62
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 %61, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i32 %63)
store i32 %64, i32* %7
%65 = load i32*, i32** %8
%66 = getelementptr inbounds i32, i32* %65, i32 1
store i32* %66, i32** %8
%67 = load i32, i32* %65
store i32 %67, i32* %6
%68 = load i32, i32* %9
%69 = load i32*, i32** %8
%70 = load i32, i32* %69
%71 = load i32, i32* %6
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 %68, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i32 %70, i32 %71)
store i32 %72, i32* %7
%73 = load i32*, i32** %8
%74 = load i32, i32* %73
%75 = add nsw i32 %74, 1
store i32 %75, i32* %73
store i32 %75, i32* %6
%76 = load i32, i32* %9
%77 = load i32*, i32** %8
%78 = load i32, i32* %77
%79 = load i32, i32* %6
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 %76, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0), i32 %78, i32 %79)
store i32 %80, i32* %7
%81 = load i32*, i32** %8
%82 = getelementptr inbounds i32, i32* %81, i32 1
store i32* %82, i32** %8
%83 = load i32, i32* %82
store i32 %83, i32* %6
%84 = load i32, i32* %9
%85 = load i32*, i32** %8
%86 = load i32, i32* %85
%87 = load i32, i32* %6
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 %84, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0), i32 %86, i32 %87)
store i32 %88, i32* %7
%89 = load i32*, i32** %8
%90 = load i32, i32* %89
%91 = add nsw i32 %90, 1
store i32 %91, i32* %89
store i32 %91, i32* %6
%92 = load i32, i32* %9
%93 = load i32*, i32** %8
%94 = load i32, i32* %93
%95 = load i32, i32* %6
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 %92, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0), i32 %94, i32 %95)
store i32 %96, i32* %7
%97 = load i32*, i32** %8
%98 = getelementptr inbounds i32, i32* %97, i32 -1
store i32* %98, i32** %8
%99 = load i32, i32* %97
store i32 %99, i32* %6
%100 = load i32, i32* %9
%101 = load i32*, i32** %8
%102 = load i32, i32* %101
%103 = load i32, i32* %6
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 %100, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i32 %102, i32 %103)
store i32 %104, i32* %7
%105 = load i32*, i32** %8
%106 = load i32, i32* %105
%107 = add nsw i32 %106, -1
store i32 %107, i32* %105
store i32 %107, i32* %6
%108 = load i32, i32* %9
%109 = load i32*, i32** %8
%110 = load i32, i32* %109
%111 = load i32, i32* %6
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 %108, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0), i32 %110, i32 %111)
store i32 %112, i32* %7
%113 = load i32*, i32** %8
%114 = load i32, i32* %113
%115 = add nsw i32 %114, -1
store i32 %115, i32* %113
store i32 %115, i32* %6
%116 = load i32, i32* %9
%117 = load i32*, i32** %8
%118 = load i32, i32* %117
%119 = load i32, i32* %6
%120 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 %116, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.17, i64 0, i64 0), i32 %118, i32 %119)
store i32 %120, i32* %7
%121 = load i32, i32* %7
%122 = add nsw i32 %121, -1
store i32 %122, i32* %7
%123 = call i32 (i32, ...) bitcast (i32 (...)* @printdiv to i32 (i32, ...)*)(i32 %122)
%124 = getelementptr inbounds [27 x i8], [27 x i8]* %2, i64 0, i64 0
store i8* %124, i8** %4
%125 = load i32, i32* %9
%126 = load i8*, i8** %4
%127 = load i8, i8* %126
%128 = sext i8 %127 to i32
%129 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), i32 %125, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i32 %128)
store i32 %129, i32* %7
%130 = getelementptr inbounds [27 x i8], [27 x i8]* %2, i64 0, i64 0
store i8* %130, i8** %4
%131 = load i32, i32* %9
%132 = load i8*, i8** %4
%133 = load i8, i8* %132
%134 = sext i8 %133 to i32
%135 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), i32 %131, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.20, i64 0, i64 0), i32 %134)
store i32 %135, i32* %7
%136 = load i8*, i8** %4
%137 = getelementptr inbounds i8, i8* %136, i32 1
store i8* %137, i8** %4
%138 = load i32, i32* %9
%139 = load i8*, i8** %4
%140 = load i8, i8* %139
%141 = sext i8 %140 to i32
%142 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), i32 %138, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0), i32 %141)
store i32 %142, i32* %7
%143 = load i8*, i8** %4
%144 = getelementptr inbounds i8, i8* %143, i32 1
store i8* %144, i8** %4
%145 = load i32, i32* %9
%146 = load i8*, i8** %4
%147 = load i8, i8* %146
%148 = sext i8 %147 to i32
%149 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), i32 %145, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0), i32 %148)
store i32 %149, i32* %7
%150 = load i8*, i8** %4
%151 = getelementptr inbounds i8, i8* %150, i32 -1
store i8* %151, i8** %4
%152 = load i32, i32* %9
%153 = load i8*, i8** %4
%154 = load i8, i8* %153
%155 = sext i8 %154 to i32
%156 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), i32 %152, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0), i32 %155)
store i32 %156, i32* %7
%157 = load i8*, i8** %4
%158 = getelementptr inbounds i8, i8* %157, i32 -1
store i8* %158, i8** %4
%159 = load i32, i32* %9
%160 = load i8*, i8** %4
%161 = load i8, i8* %160
%162 = sext i8 %161 to i32
%163 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), i32 %159, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.24, i64 0, i64 0), i32 %162)
store i32 %163, i32* %7
%164 = load i8*, i8** %4
%165 = getelementptr inbounds i8, i8* %164, i32 1
store i8* %165, i8** %4
%166 = load i8, i8* %164
store i8 %166, i8* %5
%167 = load i32, i32* %9
%168 = load i8*, i8** %4
%169 = load i8, i8* %168
%170 = sext i8 %169 to i32
%171 = load i8, i8* %5
%172 = sext i8 %171 to i32
%173 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.25, i64 0, i64 0), i32 %167, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.26, i64 0, i64 0), i32 %170, i32 %172)
store i32 %173, i32* %7
%174 = load i32, i32* %9
%175 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.27, i64 0, i64 0), i32 %174, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.28, i64 0, i64 0))
store i32 %175, i32* %7
%176 = load i8*, i8** %4
%177 = getelementptr inbounds i8, i8* %176, i32 1
store i8* %177, i8** %4
%178 = load i8, i8* %177
store i8 %178, i8* %5
%179 = load i32, i32* %9
%180 = load i8*, i8** %4
%181 = load i8, i8* %180
%182 = sext i8 %181 to i32
%183 = load i8, i8* %5
%184 = sext i8 %183 to i32
%185 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.25, i64 0, i64 0), i32 %179, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0), i32 %182, i32 %184)
%186 = load i8*, i8** %4
%187 = getelementptr inbounds i8, i8* %186, i32 -1
store i8* %187, i8** %4
%188 = load i8, i8* %186
store i8 %188, i8* %5
%189 = load i32, i32* %9
%190 = load i8*, i8** %4
%191 = load i8, i8* %190
%192 = sext i8 %191 to i32
%193 = load i8, i8* %5
%194 = sext i8 %193 to i32
%195 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.25, i64 0, i64 0), i32 %189, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.30, i64 0, i64 0), i32 %192, i32 %194)
store i32 %195, i32* %7
%196 = load i32, i32* %9
%197 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.27, i64 0, i64 0), i32 %196, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.31, i64 0, i64 0))
store i32 %197, i32* %7
%198 = load i32, i32* %7
%199 = add nsw i32 %198, -1
store i32 %199, i32* %7
%200 = call i32 (i32, ...) bitcast (i32 (...)* @printdiv to i32 (i32, ...)*)(i32 %199)
%201 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.32, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [17 x i8] c"digit array is '\00"
@.str.1 = [3 x i8] c"%i\00"
@.str.3 = [27 x i8] c"op is %*s and *ip is '%i'\0A\00"
@.str.4 = [11 x i8] c"ip = digit\00"
@.str.5 = [15 x i8] c"ip = &digit[0]\00"
@.str.6 = [5 x i8] c"ip++\00"
@.str.7 = [5 x i8] c"++ip\00"
@.str.8 = [5 x i8] c"ip--\00"
@.str.9 = [5 x i8] c"--ip\00"
@.str.10 = [41 x i8] c"op is %*s and *ip is '%i' and i is '%i'\0A\00"
@.str.11 = [10 x i8] c"i = *ip++\00"
@.str.12 = [10 x i8] c"i = ++*ip\00"
@.str.13 = [10 x i8] c"i = *++ip\00"
@.str.14 = [12 x i8] c"i = ++(*ip)\00"
@.str.15 = [10 x i8] c"i = *ip--\00"
@.str.16 = [10 x i8] c"i = --*ip\00"
@.str.17 = [12 x i8] c"i = --(*ip)\00"
@.str.18 = [27 x i8] c"op is %*s and *cp is '%c'\0A\00"
@.str.19 = [18 x i8] c"cp = &alphabet[0]\00"
@.str.20 = [14 x i8] c"cp = alphabet\00"
@.str.21 = [5 x i8] c"cp++\00"
@.str.22 = [5 x i8] c"++cp\00"
@.str.23 = [5 x i8] c"cp--\00"
@.str.24 = [5 x i8] c"--cp\00"
@.str.25 = [41 x i8] c"op is %*s and *cp is '%c' and c is '%c'\0A\00"
@.str.26 = [10 x i8] c"c = *cp++\00"
@.str.27 = [32 x i8] c"op is %*s !!! causes core dump\0A\00"
@.str.28 = [10 x i8] c"c = ++*cp\00"
@.str.29 = [10 x i8] c"c = *++cp\00"
@.str.30 = [10 x i8] c"c = *cp--\00"
@.str.31 = [10 x i8] c"c = --*cp\00"
@str = [2 x i8] c"'\00"
@str.33 = [92 x i8] c"Morale of tale appears to be that; \0A ++*var *++var --*var and *--var \0Ashould be avoided.\00"
define i32 @main() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 0)
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 1)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 2)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 3)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 4)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 5)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 6)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 7)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 8)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 9)
%12 = add i32 %1, 10
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str, i64 0, i64 0))
%14 = tail call i32 (i32, ...) bitcast (i32 (...)* @printdiv to i32 (i32, ...)*)(i32 %12)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 0)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 0)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 1)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i32 2)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 1)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i32 0)
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i32 1, i32 0)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0), i32 2, i32 2)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0), i32 2, i32 2)
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0), i32 3, i32 3)
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i32 2, i32 3)
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0), i32 1, i32 1)
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.17, i64 0, i64 0), i32 0, i32 0)
%28 = add nsw i32 %27, -1
%29 = tail call i32 (i32, ...) bitcast (i32 (...)* @printdiv to i32 (i32, ...)*)(i32 %28)
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i32 97)
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.20, i64 0, i64 0), i32 97)
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0), i32 98)
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0), i32 99)
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0), i32 98)
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.24, i64 0, i64 0), i32 97)
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.25, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.26, i64 0, i64 0), i32 98, i32 97)
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.27, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.28, i64 0, i64 0))
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.25, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0), i32 99, i32 99)
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.25, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.30, i64 0, i64 0), i32 98, i32 99)
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.27, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.31, i64 0, i64 0))
%41 = add nsw i32 %40, -1
%42 = tail call i32 (i32, ...) bitcast (i32 (...)* @printdiv to i32 (i32, ...)*)(i32 %41)
%43 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.33, i64 0, i64 0))
ret i32 0
}