int main() {
  int x = 20, y = 4000, z = 0;
  int *p = &x;
  int *pointer_type = &y;
  *pointer_type = 4000;
  x = 10 * 2;
  printf("x: %10d, %p, %d\n", x, (void *)&x, sizeof(x));
  printf("y: %10d, %p, %d\n", y, (void *)&y, sizeof(y));
  printf("z: %10d, %p, %d\n", z, (void *)&z, sizeof(z));
  printf("p: %10p, %p, %d  (value of *p = %d)\n", (void *)p, (void *)&p,
         sizeof(p), *p);
  printf("\np++ makes p point to the next integer\n");
  p++;
  printf("p: %10p, %p, %d  (value of *p = %d)\n", (void *)p, (void *)&p,
         sizeof(p), *p);
  printf("\nUse p to change z\n");
  p = &z;
  *p = 30;
  printf("z: %10d, %p, %d\n", z, (void *)&z, sizeof(z));
  printf("p: %10p, %p, %d  (value of *p = %d)\n", (void *)p, (void *)&p,
         sizeof(p), *p);
  printf("\n(*p)++\n");
  (*p)++;
  printf("z: %10d, %p, %d\n", z, (void *)&z, sizeof(z));
  printf("p: %10p, %p, %d  (value of *p = %d)\n", (void *)p, (void *)&p,
         sizeof(p), *p);
  printf("\n*p++\n");
  *p++;
  printf("z: %10d, %p, %d\n", z, (void *)&z, sizeof(z));
  printf("p: %10p, %p, %d  (value of *p = %d)\n", (void *)p, (void *)&p,
         sizeof(p), *p);
  printf("\n*(--p)=50\n");
  *(--p) = 50;
  printf("z: %10d, %p, %d\n", z, (void *)&z, sizeof(z));
  printf("p: %10p, %p, %d  (value of *p = %d)\n", (void *)p, (void *)&p,
         sizeof(p), *p);
  printf("\np=&x\n");
  printf("(*(++p))++\n");
  p = &x;
  (*(++p))++;
  printf("x: %10d, %p, %d\n", x, (void *)&x, sizeof(x));
  printf("y: %10d, %p, %d\n", y, (void *)&y, sizeof(y));
  printf("z: %10d, %p, %d\n", z, (void *)&z, sizeof(z));
  printf("p: %10p, %p, %d  (value of *p = %d)\n", (void *)p, (void *)&p,
         sizeof(p), *p);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x14,-0x8(%rbp)
movl   $0xfa0,-0xc(%rbp)
movl   $0x0,-0x10(%rbp)
lea    -0x8(%rbp),%rax
mov    %rax,-0x18(%rbp)
lea    -0xc(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
movl   $0xfa0,(%rax)
movl   $0x14,-0x8(%rbp)
mov    -0x8(%rbp),%esi
lea    -0x8(%rbp),%rdx
lea    0xe9d(%rip),%rdi
mov    $0x4,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%esi
lea    -0xc(%rbp),%rdx
lea    0xe94(%rip),%rdi
mov    $0x4,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%esi
lea    -0x10(%rbp),%rdx
lea    0xe8b(%rip),%rdi
mov    $0x4,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rsi
lea    -0x18(%rbp),%rdx
mov    -0x18(%rbp),%rax
mov    (%rax),%r8d
lea    0xe7a(%rip),%rdi
mov    $0x8,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe8c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rsi
lea    -0x18(%rbp),%rdx
mov    -0x18(%rbp),%rax
mov    (%rax),%r8d
lea    0xe3e(%rip),%rdi
mov    $0x8,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe78(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x10(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
movl   $0x1e,(%rax)
mov    -0x10(%rbp),%esi
lea    -0x10(%rbp),%rdx
lea    0xdf3(%rip),%rdi
mov    $0x4,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rsi
lea    -0x18(%rbp),%rdx
mov    -0x18(%rbp),%rax
mov    (%rax),%r8d
lea    0xde2(%rip),%rdi
mov    $0x8,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
mov    (%rax),%ecx
add    $0x1,%ecx
mov    %ecx,(%rax)
mov    -0x10(%rbp),%esi
lea    -0x10(%rbp),%rdx
lea    0xd9e(%rip),%rdi
mov    $0x4,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rsi
lea    -0x18(%rbp),%rdx
mov    -0x18(%rbp),%rax
mov    (%rax),%r8d
lea    0xd8d(%rip),%rdi
mov    $0x8,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xde4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%esi
lea    -0x10(%rbp),%rdx
lea    0xd48(%rip),%rdi
mov    $0x4,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rsi
lea    -0x18(%rbp),%rdx
mov    -0x18(%rbp),%rax
mov    (%rax),%r8d
lea    0xd37(%rip),%rdi
mov    $0x8,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd95(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0xfffffffffffffffc,%rcx
mov    %rcx,-0x18(%rbp)
movl   $0x32,-0x4(%rax)
mov    -0x10(%rbp),%esi
lea    -0x10(%rbp),%rdx
lea    0xce8(%rip),%rdi
mov    $0x4,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rsi
lea    -0x18(%rbp),%rdx
mov    -0x18(%rbp),%rax
mov    (%rax),%r8d
lea    0xcd7(%rip),%rdi
mov    $0x8,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd41(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd3a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x8(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x4,%rcx
mov    %rcx,-0x18(%rbp)
mov    0x4(%rax),%ecx
add    $0x1,%ecx
mov    %ecx,0x4(%rax)
mov    -0x8(%rbp),%esi
lea    -0x8(%rbp),%rdx
lea    0xc4e(%rip),%rdi
mov    $0x4,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%esi
lea    -0xc(%rbp),%rdx
lea    0xc45(%rip),%rdi
mov    $0x4,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%esi
lea    -0x10(%rbp),%rdx
lea    0xc3c(%rip),%rdi
mov    $0x4,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rsi
lea    -0x18(%rbp),%rdx
mov    -0x18(%rbp),%rax
mov    (%rax),%r8d
lea    0xc2b(%rip),%rdi
mov    $0x8,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
movl   $0x0,0xc(%rsp)
lea    0x10(%rsp),%r13
mov    %r13,(%rsp)
movl   $0xfa0,0x14(%rsp)
movl   $0x14,0x10(%rsp)
lea    0xeaa(%rip),%rdi
mov    $0x4,%ecx
mov    $0x14,%esi
mov    %r13,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xea0(%rip),%rdi
lea    0x14(%rsp),%r12
mov    $0x4,%ecx
mov    $0xfa0,%esi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe91(%rip),%rbx
lea    0xc(%rsp),%rbp
mov    $0x4,%ecx
mov    %rbx,%rdi
xor    %esi,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rsp),%rsi
mov    (%rsi),%r8d
lea    0xe7b(%rip),%r14
mov    %rsp,%r15
mov    $0x8,%ecx
mov    %r14,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe84(%rip),%rdi
call   1030 <puts@plt>
mov    (%rsp),%rax
lea    0x4(%rax),%rsi
mov    %rsi,(%rsp)
mov    0x4(%rax),%r8d
mov    $0x8,%ecx
mov    %r14,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe7d(%rip),%rdi
call   1030 <puts@plt>
mov    %rbp,(%rsp)
movl   $0x1e,0xc(%rsp)
mov    $0x4,%ecx
mov    %rbx,%rdi
mov    $0x1e,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rsp),%rsi
mov    (%rsi),%r8d
mov    $0x8,%ecx
mov    %r14,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe48(%rip),%rdi
call   1030 <puts@plt>
mov    (%rsp),%rax
addl   $0x1,(%rax)
mov    0xc(%rsp),%esi
mov    $0x4,%ecx
mov    %rbx,%rdi
mov    %rbp,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rsp),%rsi
mov    (%rsi),%r8d
mov    $0x8,%ecx
mov    %r14,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe0e(%rip),%rdi
call   1030 <puts@plt>
addq   $0x4,(%rsp)
mov    0xc(%rsp),%esi
mov    $0x4,%ecx
mov    %rbx,%rdi
mov    %rbp,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rsp),%rsi
mov    (%rsi),%r8d
mov    $0x8,%ecx
mov    %r14,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdd4(%rip),%rdi
call   1030 <puts@plt>
mov    (%rsp),%rax
lea    -0x4(%rax),%rcx
mov    %rcx,(%rsp)
movl   $0x32,-0x4(%rax)
mov    0xc(%rsp),%esi
mov    $0x4,%ecx
mov    %rbx,%rdi
mov    %rbp,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rsp),%rsi
mov    (%rsi),%r8d
mov    $0x8,%ecx
mov    %r14,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd91(%rip),%rdi
call   1030 <puts@plt>
lea    0xd8b(%rip),%rdi
call   1030 <puts@plt>
lea    0x14(%rsp),%rax
mov    %rax,(%rsp)
addl   $0x1,0x14(%rsp)
mov    0x10(%rsp),%esi
mov    $0x4,%ecx
lea    0xcb7(%rip),%rdi
mov    %r13,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x14(%rsp),%esi
mov    $0x4,%ecx
lea    0xcae(%rip),%rdi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xc(%rsp),%esi
mov    $0x4,%ecx
mov    %rbx,%rdi
mov    %rbp,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rsp),%rsi
mov    (%rsi),%r8d
mov    $0x8,%ecx
mov    %r14,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [17 x i8] c"x: %10d, %p, %d\0A\00"
@.str.1 = [17 x i8] c"y: %10d, %p, %d\0A\00"
@.str.2 = [17 x i8] c"z: %10d, %p, %d\0A\00"
@.str.3 = [37 x i8] c"p: %10p, %p, %d (value of *p = %d)\0A\00"
@.str.4 = [40 x i8] c"\0Ap++ makes p point to the next integer\0A\00"
@.str.5 = [20 x i8] c"\0AUse p to change z\0A\00"
@.str.6 = [9 x i8] c"\0A(*p)++\0A\00"
@.str.7 = [7 x i8] c"\0A*p++\0A\00"
@.str.8 = [12 x i8] c"\0A*(--p)=50\0A\00"
@.str.9 = [7 x i8] c"\0Ap=&x\0A\00"
@.str.10 = [12 x i8] c"(*(++p))++\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32*
%6 = alloca i32*
store i32 0, i32* %1
store i32 20, i32* %2
store i32 4000, i32* %3
store i32 0, i32* %4
store i32* %2, i32** %5
store i32* %3, i32** %6
%7 = load i32*, i32** %6
store i32 4000, i32* %7
store i32 20, i32* %2
%8 = load i32, i32* %2
%9 = bitcast i32* %2 to i8*
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i32 %8, i8* %9, i64 4)
%11 = load i32, i32* %3
%12 = bitcast i32* %3 to i8*
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 %11, i8* %12, i64 4)
%14 = load i32, i32* %4
%15 = bitcast i32* %4 to i8*
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %14, i8* %15, i64 4)
%17 = load i32*, i32** %5
%18 = bitcast i32* %17 to i8*
%19 = bitcast i32** %5 to i8*
%20 = load i32*, i32** %5
%21 = load i32, i32* %20
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i8* %18, i8* %19, i64 8, i32 %21)
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0))
%24 = load i32*, i32** %5
%25 = getelementptr inbounds i32, i32* %24, i32 1
store i32* %25, i32** %5
%26 = load i32*, i32** %5
%27 = bitcast i32* %26 to i8*
%28 = bitcast i32** %5 to i8*
%29 = load i32*, i32** %5
%30 = load i32, i32* %29
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i8* %27, i8* %28, i64 8, i32 %30)
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0))
store i32* %4, i32** %5
%33 = load i32*, i32** %5
store i32 30, i32* %33
%34 = load i32, i32* %4
%35 = bitcast i32* %4 to i8*
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %34, i8* %35, i64 4)
%37 = load i32*, i32** %5
%38 = bitcast i32* %37 to i8*
%39 = bitcast i32** %5 to i8*
%40 = load i32*, i32** %5
%41 = load i32, i32* %40
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i8* %38, i8* %39, i64 8, i32 %41)
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%44 = load i32*, i32** %5
%45 = load i32, i32* %44
%46 = add nsw i32 %45, 1
store i32 %46, i32* %44
%47 = load i32, i32* %4
%48 = bitcast i32* %4 to i8*
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %47, i8* %48, i64 4)
%50 = load i32*, i32** %5
%51 = bitcast i32* %50 to i8*
%52 = bitcast i32** %5 to i8*
%53 = load i32*, i32** %5
%54 = load i32, i32* %53
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i8* %51, i8* %52, i64 8, i32 %54)
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%57 = load i32*, i32** %5
%58 = getelementptr inbounds i32, i32* %57, i32 1
store i32* %58, i32** %5
%59 = load i32, i32* %57
%60 = load i32, i32* %4
%61 = bitcast i32* %4 to i8*
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %60, i8* %61, i64 4)
%63 = load i32*, i32** %5
%64 = bitcast i32* %63 to i8*
%65 = bitcast i32** %5 to i8*
%66 = load i32*, i32** %5
%67 = load i32, i32* %66
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i8* %64, i8* %65, i64 8, i32 %67)
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%70 = load i32*, i32** %5
%71 = getelementptr inbounds i32, i32* %70, i32 -1
store i32* %71, i32** %5
store i32 50, i32* %71
%72 = load i32, i32* %4
%73 = bitcast i32* %4 to i8*
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %72, i8* %73, i64 4)
%75 = load i32*, i32** %5
%76 = bitcast i32* %75 to i8*
%77 = bitcast i32** %5 to i8*
%78 = load i32*, i32** %5
%79 = load i32, i32* %78
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i8* %76, i8* %77, i64 8, i32 %79)
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0))
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0))
store i32* %2, i32** %5
%83 = load i32*, i32** %5
%84 = getelementptr inbounds i32, i32* %83, i32 1
store i32* %84, i32** %5
%85 = load i32, i32* %84
%86 = add nsw i32 %85, 1
store i32 %86, i32* %84
%87 = load i32, i32* %2
%88 = bitcast i32* %2 to i8*
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i32 %87, i8* %88, i64 4)
%90 = load i32, i32* %3
%91 = bitcast i32* %3 to i8*
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 %90, i8* %91, i64 4)
%93 = load i32, i32* %4
%94 = bitcast i32* %4 to i8*
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %93, i8* %94, i64 4)
%96 = load i32*, i32** %5
%97 = bitcast i32* %96 to i8*
%98 = bitcast i32** %5 to i8*
%99 = load i32*, i32** %5
%100 = load i32, i32* %99
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i8* %97, i8* %98, i64 8, i32 %100)
ret i32 0
}

LLVM IR (-O2):
@.str = [17 x i8] c"x: %10d, %p, %d\0A\00"
@.str.1 = [17 x i8] c"y: %10d, %p, %d\0A\00"
@.str.2 = [17 x i8] c"z: %10d, %p, %d\0A\00"
@.str.3 = [37 x i8] c"p: %10p, %p, %d (value of *p = %d)\0A\00"
@str = [39 x i8] c"\0Ap++ makes p point to the next integer\00"
@str.11 = [19 x i8] c"\0AUse p to change z\00"
@str.12 = [8 x i8] c"\0A(*p)++\00"
@str.13 = [6 x i8] c"\0A*p++\00"
@str.14 = [11 x i8] c"\0A*(--p)=50\00"
@str.15 = [6 x i8] c"\0Ap=&x\00"
@str.16 = [11 x i8] c"(*(++p))++\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32*
%5 = bitcast i32* %1 to i8*
%6 = bitcast i32* %2 to i8*
%7 = bitcast i32* %3 to i8*
store i32 0, i32* %3
%8 = bitcast i32** %4 to i8*
store i32* %1, i32** %4
store i32 4000, i32* %2
store i32 20, i32* %1
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i32 20, i32* %1, i64 4)
%10 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 4000, i32* %2, i64 4)
%11 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 0, i32* %3, i64 4)
%12 = load i32*, i32** %4
%13 = load i32, i32* %12
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i32* %12, i32** %4, i64 8, i32 %13)
%15 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str, i64 0, i64 0))
%16 = load i32*, i32** %4
%17 = getelementptr inbounds i32, i32* %16, i64 1
store i32* %17, i32** %4
%18 = load i32, i32* %17
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i32* %17, i32** %4, i64 8, i32 %18)
%20 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.11, i64 0, i64 0))
store i32* %3, i32** %4
store i32 30, i32* %3
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 30, i32* %3, i64 4)
%22 = load i32*, i32** %4
%23 = load i32, i32* %22
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i32* %22, i32** %4, i64 8, i32 %23)
%25 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.12, i64 0, i64 0))
%26 = load i32*, i32** %4
%27 = load i32, i32* %26
%28 = add nsw i32 %27, 1
store i32 %28, i32* %26
%29 = load i32, i32* %3
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %29, i32* %3, i64 4)
%31 = load i32*, i32** %4
%32 = load i32, i32* %31
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i32* %31, i32** %4, i64 8, i32 %32)
%34 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.13, i64 0, i64 0))
%35 = load i32*, i32** %4
%36 = getelementptr inbounds i32, i32* %35, i64 1
store i32* %36, i32** %4
%37 = load i32, i32* %3
%38 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %37, i32* %3, i64 4)
%39 = load i32*, i32** %4
%40 = load i32, i32* %39
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i32* %39, i32** %4, i64 8, i32 %40)
%42 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.14, i64 0, i64 0))
%43 = load i32*, i32** %4
%44 = getelementptr inbounds i32, i32* %43, i64 -1
store i32* %44, i32** %4
store i32 50, i32* %44
%45 = load i32, i32* %3
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %45, i32* %3, i64 4)
%47 = load i32*, i32** %4
%48 = load i32, i32* %47
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i32* %47, i32** %4, i64 8, i32 %48)
%50 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.15, i64 0, i64 0))
%51 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.16, i64 0, i64 0))
%52 = getelementptr inbounds i32, i32* %1, i64 1
store i32* %52, i32** %4
%53 = load i32, i32* %52
%54 = add nsw i32 %53, 1
store i32 %54, i32* %52
%55 = load i32, i32* %1
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i32 %55, i32* %1, i64 4)
%57 = load i32, i32* %2
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 %57, i32* %2, i64 4)
%59 = load i32, i32* %3
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %59, i32* %3, i64 4)
%61 = load i32*, i32** %4
%62 = load i32, i32* %61
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i32* %61, i32** %4, i64 8, i32 %62)
ret i32 0
}