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

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
int rand();
int main() {
  int x;
  int y;
  printf("circles\nnocollide\nwrap\nframes 50\n");
  for (x = 20; x < 600; x += (rand() % 20) + 10)
    printf("shape %d 10 %d 0 0 random\n", x, (rand() % 10) + 10);
  for (x = 20; x < 600; x += (rand() % 20) + 10)
    printf("shape %d 320 %d 0 0 random\n", x, (rand() % 10) + 10);
  for (y = 20; y < 320; y += (rand() % 20) + 10)
    printf("shape 20 %d %d 0 0 random\n", y, (rand() % 10) + 10);
  for (y = 20; y < 320; y += (rand() % 20) + 10)
    printf("shape 300 %d %d 0 0 random\n", y, (rand() % 10) + 10);
  for (y = 20; y < 320; y += (rand() % 20) + 10)
    printf("shape 590 %d %d 0 0 random\n", y, (rand() % 10) + 10);
  for (x = 10; x < 610; x += (rand() % 20) + 10)
    for (y = 10; y < 330; y += (rand() % 20) + 10)
      printf("shape %d %d %d 2 2 random\n", (rand() % 630), (rand() % 300),
             (rand() % 20) + 10);
  printf("run");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x14,-0x8(%rbp)
cmpl   $0x258,-0x8(%rbp)
jge    1199 <main+0x79>
mov    -0x8(%rbp),%eax
mov    %eax,-0x10(%rbp)
mov    $0x0,%al
call   1040 <rand@plt>
mov    -0x10(%rbp),%esi
mov    $0xa,%ecx
cltd
idiv   %ecx
add    $0xa,%edx
lea    0xeaf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
add    $0xa,%eax
add    -0x8(%rbp),%eax
mov    %eax,-0x8(%rbp)
jmp    1144 <main+0x24>
movl   $0x14,-0x8(%rbp)
cmpl   $0x258,-0x8(%rbp)
jge    11f5 <main+0xd5>
mov    -0x8(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    $0x0,%al
call   1040 <rand@plt>
mov    -0x14(%rbp),%esi
mov    $0xa,%ecx
cltd
idiv   %ecx
add    $0xa,%edx
lea    0xe6e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
add    $0xa,%eax
add    -0x8(%rbp),%eax
mov    %eax,-0x8(%rbp)
jmp    11a0 <main+0x80>
movl   $0x14,-0xc(%rbp)
cmpl   $0x140,-0xc(%rbp)
jge    1251 <main+0x131>
mov    -0xc(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    $0x0,%al
call   1040 <rand@plt>
mov    -0x18(%rbp),%esi
mov    $0xa,%ecx
cltd
idiv   %ecx
add    $0xa,%edx
lea    0xe2e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
add    $0xa,%eax
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
jmp    11fc <main+0xdc>
movl   $0x14,-0xc(%rbp)
cmpl   $0x140,-0xc(%rbp)
jge    12ad <main+0x18d>
mov    -0xc(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    $0x0,%al
call   1040 <rand@plt>
mov    -0x1c(%rbp),%esi
mov    $0xa,%ecx
cltd
idiv   %ecx
add    $0xa,%edx
lea    0xded(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
add    $0xa,%eax
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
jmp    1258 <main+0x138>
movl   $0x14,-0xc(%rbp)
cmpl   $0x140,-0xc(%rbp)
jge    1309 <main+0x1e9>
mov    -0xc(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    $0x0,%al
call   1040 <rand@plt>
mov    -0x20(%rbp),%esi
mov    $0xa,%ecx
cltd
idiv   %ecx
add    $0xa,%edx
lea    0xdad(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
add    $0xa,%eax
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
jmp    12b4 <main+0x194>
movl   $0xa,-0x8(%rbp)
cmpl   $0x262,-0x8(%rbp)
jge    13c0 <main+0x2a0>
movl   $0xa,-0xc(%rbp)
cmpl   $0x14a,-0xc(%rbp)
jge    139c <main+0x27c>
mov    $0x0,%al
call   1040 <rand@plt>
mov    $0x276,%ecx
cltd
idiv   %ecx
mov    %edx,-0x28(%rbp)
mov    $0x0,%al
call   1040 <rand@plt>
mov    $0x12c,%ecx
cltd
idiv   %ecx
mov    %edx,-0x24(%rbp)
mov    $0x0,%al
call   1040 <rand@plt>
mov    -0x28(%rbp),%esi
mov    $0x14,%ecx
cltd
idiv   %ecx
mov    %edx,%ecx
mov    -0x24(%rbp),%edx
add    $0xa,%ecx
lea    0xd36(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
add    $0xa,%eax
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
jmp    1324 <main+0x204>
jmp    13a1 <main+0x281>
mov    $0x0,%al
call   1040 <rand@plt>
mov    $0x14,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
add    $0xa,%eax
add    -0x8(%rbp),%eax
mov    %eax,-0x8(%rbp)
jmp    1310 <main+0x1f0>
lea    0xd00(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
lea    0xf69(%rip),%rdi
call   1030 <puts@plt>
mov    $0x14,%ebx
lea    0xeaf(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
xor    %eax,%eax
call   1050 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x22,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0xa,%edx
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1050 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
sub    %ecx,%eax
add    %eax,%ebx
add    $0xa,%ebx
cmp    $0x258,%ebx
jl     1160 <main+0x30>
mov    $0x14,%ebx
lea    0xe47(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
xor    %eax,%eax
call   1050 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x22,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0xa,%edx
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1050 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
sub    %ecx,%eax
add    %eax,%ebx
add    $0xa,%ebx
cmp    $0x258,%ebx
jl     11e0 <main+0xb0>
mov    $0x14,%ebx
lea    0xde3(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
xor    %eax,%eax
call   1050 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x22,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0xa,%edx
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1050 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
sub    %ecx,%eax
add    %eax,%ebx
add    $0xa,%ebx
cmp    $0x140,%ebx
jl     1260 <main+0x130>
mov    $0x14,%ebx
lea    0xd7e(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
xor    %eax,%eax
call   1050 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x22,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0xa,%edx
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1050 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
sub    %ecx,%eax
add    %eax,%ebx
add    $0xa,%ebx
cmp    $0x140,%ebx
jl     12e0 <main+0x1b0>
mov    $0x14,%ebx
lea    0xd1a(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
xor    %eax,%eax
call   1050 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x22,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%edx
add    $0xa,%edx
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1050 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
sub    %ecx,%eax
add    %eax,%ebx
add    $0xa,%ebx
cmp    $0x140,%ebx
jl     1360 <main+0x230>
mov    $0xa,%r12d
lea    0xcb5(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nop
mov    $0xa,%r13d
cs nopw 0x0(%rax,%rax,1)
xor    %eax,%eax
call   1050 <rand@plt>
movslq %eax,%r15
imul   $0xffffffffd00d00d1,%r15,%rax
shr    $0x20,%rax
add    %r15d,%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
sar    $0x9,%eax
add    %ecx,%eax
imul   $0x276,%eax,%eax
sub    %eax,%r15d
xor    %eax,%eax
call   1050 <rand@plt>
movslq %eax,%rbx
imul   $0x1b4e81b5,%rbx,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
imul   $0x12c,%eax,%eax
sub    %eax,%ebx
xor    %eax,%eax
call   1050 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
add    %eax,%ecx
add    $0xa,%ecx
mov    %r14,%rdi
mov    %r15d,%esi
mov    %ebx,%edx
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1050 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
sub    %ecx,%eax
add    %eax,%r13d
add    $0xa,%r13d
cmp    $0x14a,%r13d
jl     13f0 <main+0x2c0>
xor    %eax,%eax
call   1050 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
shl    $0x2,%ecx
lea    (%rcx,%rcx,4),%ecx
sub    %ecx,%eax
add    %eax,%r12d
add    $0xa,%r12d
cmp    $0x262,%r12d
jl     13e0 <main+0x2b0>
lea    0xbb2(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [34 x i8] c"circles\0Anocollide\0Awrap\0Aframes 50\0A\00"
@.str.1 = [27 x i8] c"shape %d 10 %d 0 0 random\0A\00"
@.str.2 = [28 x i8] c"shape %d 320 %d 0 0 random\0A\00"
@.str.3 = [27 x i8] c"shape 20 %d %d 0 0 random\0A\00"
@.str.4 = [28 x i8] c"shape 300 %d %d 0 0 random\0A\00"
@.str.5 = [28 x i8] c"shape 590 %d %d 0 0 random\0A\00"
@.str.6 = [27 x i8] c"shape %d %d %d 2 2 random\0A\00"
@.str.7 = [4 x i8] c"run\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
store i32 0, i32* %1
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0))
store i32 20, i32* %2
br label %5
5: ; preds = %14, %0
%6 = load i32, i32* %2
%7 = icmp slt i32 %6, 600
br i1 %7, label %8, label %20
8: ; preds = %5
%9 = load i32, i32* %2
%10 = call i32 (...) @rand()
%11 = srem i32 %10, 10
%12 = add nsw i32 %11, 10
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i32 %9, i32 %12)
br label %14
14: ; preds = %8
%15 = call i32 (...) @rand()
%16 = srem i32 %15, 20
%17 = add nsw i32 %16, 10
%18 = load i32, i32* %2
%19 = add nsw i32 %18, %17
store i32 %19, i32* %2
br label %5
20: ; preds = %5
store i32 20, i32* %2
br label %21
21: ; preds = %30, %20
%22 = load i32, i32* %2
%23 = icmp slt i32 %22, 600
br i1 %23, label %24, label %36
24: ; preds = %21
%25 = load i32, i32* %2
%26 = call i32 (...) @rand()
%27 = srem i32 %26, 10
%28 = add nsw i32 %27, 10
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i32 %25, i32 %28)
br label %30
30: ; preds = %24
%31 = call i32 (...) @rand()
%32 = srem i32 %31, 20
%33 = add nsw i32 %32, 10
%34 = load i32, i32* %2
%35 = add nsw i32 %34, %33
store i32 %35, i32* %2
br label %21
36: ; preds = %21
store i32 20, i32* %3
br label %37
37: ; preds = %46, %36
%38 = load i32, i32* %3
%39 = icmp slt i32 %38, 320
br i1 %39, label %40, label %52
40: ; preds = %37
%41 = load i32, i32* %3
%42 = call i32 (...) @rand()
%43 = srem i32 %42, 10
%44 = add nsw i32 %43, 10
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 %41, i32 %44)
br label %46
46: ; preds = %40
%47 = call i32 (...) @rand()
%48 = srem i32 %47, 20
%49 = add nsw i32 %48, 10
%50 = load i32, i32* %3
%51 = add nsw i32 %50, %49
store i32 %51, i32* %3
br label %37
52: ; preds = %37
store i32 20, i32* %3
br label %53
53: ; preds = %62, %52
%54 = load i32, i32* %3
%55 = icmp slt i32 %54, 320
br i1 %55, label %56, label %68
56: ; preds = %53
%57 = load i32, i32* %3
%58 = call i32 (...) @rand()
%59 = srem i32 %58, 10
%60 = add nsw i32 %59, 10
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0), i32 %57, i32 %60)
br label %62
62: ; preds = %56
%63 = call i32 (...) @rand()
%64 = srem i32 %63, 20
%65 = add nsw i32 %64, 10
%66 = load i32, i32* %3
%67 = add nsw i32 %66, %65
store i32 %67, i32* %3
br label %53
68: ; preds = %53
store i32 20, i32* %3
br label %69
69: ; preds = %78, %68
%70 = load i32, i32* %3
%71 = icmp slt i32 %70, 320
br i1 %71, label %72, label %84
72: ; preds = %69
%73 = load i32, i32* %3
%74 = call i32 (...) @rand()
%75 = srem i32 %74, 10
%76 = add nsw i32 %75, 10
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %73, i32 %76)
br label %78
78: ; preds = %72
%79 = call i32 (...) @rand()
%80 = srem i32 %79, 20
%81 = add nsw i32 %80, 10
%82 = load i32, i32* %3
%83 = add nsw i32 %82, %81
store i32 %83, i32* %3
br label %69
84: ; preds = %69
store i32 10, i32* %2
br label %85
85: ; preds = %108, %84
%86 = load i32, i32* %2
%87 = icmp slt i32 %86, 610
br i1 %87, label %88, label %114
88: ; preds = %85
store i32 10, i32* %3
br label %89
89: ; preds = %101, %88
%90 = load i32, i32* %3
%91 = icmp slt i32 %90, 330
br i1 %91, label %92, label %107
92: ; preds = %89
%93 = call i32 (...) @rand()
%94 = srem i32 %93, 630
%95 = call i32 (...) @rand()
%96 = srem i32 %95, 300
%97 = call i32 (...) @rand()
%98 = srem i32 %97, 20
%99 = add nsw i32 %98, 10
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.6, i64 0, i64 0), i32 %94, i32 %96, i32 %99)
br label %101
101: ; preds = %92
%102 = call i32 (...) @rand()
%103 = srem i32 %102, 20
%104 = add nsw i32 %103, 10
%105 = load i32, i32* %3
%106 = add nsw i32 %105, %104
store i32 %106, i32* %3
br label %89
107: ; preds = %89
br label %108
108: ; preds = %107
%109 = call i32 (...) @rand()
%110 = srem i32 %109, 20
%111 = add nsw i32 %110, 10
%112 = load i32, i32* %2
%113 = add nsw i32 %112, %111
store i32 %113, i32* %2
br label %85
114: ; preds = %85
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%116 = load i32, i32* %1
ret i32 %116
}

LLVM IR (-O2):
@.str.1 = [27 x i8] c"shape %d 10 %d 0 0 random\0A\00"
@.str.2 = [28 x i8] c"shape %d 320 %d 0 0 random\0A\00"
@.str.3 = [27 x i8] c"shape 20 %d %d 0 0 random\0A\00"
@.str.4 = [28 x i8] c"shape 300 %d %d 0 0 random\0A\00"
@.str.5 = [28 x i8] c"shape 590 %d %d 0 0 random\0A\00"
@.str.6 = [27 x i8] c"shape %d %d %d 2 2 random\0A\00"
@.str.7 = [4 x i8] c"run\00"
@str = [33 x i8] c"circles\0Anocollide\0Awrap\0Aframes 50\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str, i64 0, i64 0))
br label %2
2: ; preds = %0, %2
%3 = phi i32 [ 20, %0 ], [ %11, %2 ]
%4 = tail call i32 (...) @rand()
%5 = srem i32 %4, 10
%6 = add nsw i32 %5, 10
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i32 %3, i32 %6)
%8 = tail call i32 (...) @rand()
%9 = srem i32 %8, 20
%10 = add nsw i32 %3, 10
%11 = add i32 %10, %9
%12 = icmp slt i32 %11, 600
br i1 %12, label %2, label %13
13: ; preds = %2, %13
%14 = phi i32 [ %22, %13 ], [ 20, %2 ]
%15 = tail call i32 (...) @rand()
%16 = srem i32 %15, 10
%17 = add nsw i32 %16, 10
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i32 %14, i32 %17)
%19 = tail call i32 (...) @rand()
%20 = srem i32 %19, 20
%21 = add nsw i32 %14, 10
%22 = add i32 %21, %20
%23 = icmp slt i32 %22, 600
br i1 %23, label %13, label %24
24: ; preds = %13, %24
%25 = phi i32 [ %33, %24 ], [ 20, %13 ]
%26 = tail call i32 (...) @rand()
%27 = srem i32 %26, 10
%28 = add nsw i32 %27, 10
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 %25, i32 %28)
%30 = tail call i32 (...) @rand()
%31 = srem i32 %30, 20
%32 = add nsw i32 %25, 10
%33 = add i32 %32, %31
%34 = icmp slt i32 %33, 320
br i1 %34, label %24, label %35
35: ; preds = %24, %35
%36 = phi i32 [ %44, %35 ], [ 20, %24 ]
%37 = tail call i32 (...) @rand()
%38 = srem i32 %37, 10
%39 = add nsw i32 %38, 10
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0), i32 %36, i32 %39)
%41 = tail call i32 (...) @rand()
%42 = srem i32 %41, 20
%43 = add nsw i32 %36, 10
%44 = add i32 %43, %42
%45 = icmp slt i32 %44, 320
br i1 %45, label %35, label %46
46: ; preds = %35, %46
%47 = phi i32 [ %55, %46 ], [ 20, %35 ]
%48 = tail call i32 (...) @rand()
%49 = srem i32 %48, 10
%50 = add nsw i32 %49, 10
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i32 %47, i32 %50)
%52 = tail call i32 (...) @rand()
%53 = srem i32 %52, 20
%54 = add nsw i32 %47, 10
%55 = add i32 %54, %53
%56 = icmp slt i32 %55, 320
br i1 %56, label %46, label %57
57: ; preds = %46, %74
%58 = phi i32 [ %78, %74 ], [ 10, %46 ]
br label %59
59: ; preds = %57, %59
%60 = phi i32 [ 10, %57 ], [ %72, %59 ]
%61 = tail call i32 (...) @rand()
%62 = srem i32 %61, 630
%63 = tail call i32 (...) @rand()
%64 = srem i32 %63, 300
%65 = tail call i32 (...) @rand()
%66 = srem i32 %65, 20
%67 = add nsw i32 %66, 10
%68 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.6, i64 0, i64 0), i32 %62, i32 %64, i32 %67)
%69 = tail call i32 (...) @rand()
%70 = srem i32 %69, 20
%71 = add nsw i32 %60, 10
%72 = add i32 %71, %70
%73 = icmp slt i32 %72, 330
br i1 %73, label %59, label %74
74: ; preds = %59
%75 = tail call i32 (...) @rand()
%76 = srem i32 %75, 20
%77 = add i32 %58, 10
%78 = add i32 %77, %76
%79 = icmp slt i32 %78, 610
br i1 %79, label %57, label %80
80: ; preds = %74
%81 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
ret i32 0
}