#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 main() {
  long long multi = 1000000000;
  int header[] = {13, 14, 15, 17, 18};
  int i = 0;
  printf("Name, Phone Number\n");
  for (i = 0; i < 5; i++) {
    long long num = header[i] * multi;
    long long next = (header[i] + 1) * multi;
    while (num < next) {
      printf("\"%lld\",\"%lld\"\n", num, num);
      num++;
    }
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0x3b9aca00,-0x10(%rbp)
3b
mov    0xed2(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0xecf(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0xecd(%rip),%eax
mov    %eax,-0x20(%rbp)
movl   $0x0,-0x34(%rbp)
lea    0xec0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x34(%rbp)
cmpl   $0x5,-0x34(%rbp)
jge    11dc <main+0xcc>
movslq -0x34(%rbp),%rax
movslq -0x30(%rbp,%rax,4),%rax
imul   -0x10(%rbp),%rax
mov    %rax,-0x40(%rbp)
movslq -0x34(%rbp),%rax
mov    -0x30(%rbp,%rax,4),%eax
add    $0x1,%eax
cltq
imul   -0x10(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x40(%rbp),%rax
cmp    -0x48(%rbp),%rax
jge    11c9 <main+0xb9>
mov    -0x40(%rbp),%rsi
mov    -0x40(%rbp),%rdx
lea    0xe77(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x40(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
jmp    1194 <main+0x84>
jmp    11ce <main+0xbe>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1162 <main+0x52>
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
movabs $0x306dc4200,%r15
lea    0xed9(%rip),%rdi
call   1030 <puts@plt>
lea    0xebe(%rip),%r14
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    (%rbx,%r15,1),%rdx
mov    %r14,%rdi
mov    %rdx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%rbx
cmp    $0x3b9aca00,%rbx
jne    1150 <main+0x30>
lea    0xe8b(%rip),%r14
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
lea    (%r15,%rbx,1),%rdx
add    $0x3b9aca00,%rdx
mov    %r14,%rdi
mov    %rdx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%rbx
cmp    $0x3b9aca00,%rbx
jne    1180 <main+0x60>
lea    0xe54(%rip),%r14
xor    %ebx,%ebx
xchg   %ax,%ax
lea    (%r15,%rbx,1),%rdx
add    $0x77359400,%rdx
mov    %r14,%rdi
mov    %rdx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%rbx
cmp    $0x3b9aca00,%rbx
jne    11b0 <main+0x90>
movabs $0x3f5476a00,%r15
lea    0xe1a(%rip),%r14
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
lea    (%rbx,%r15,1),%rdx
mov    %r14,%rdi
mov    %rdx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%rbx
cmp    $0x3b9aca00,%rbx
jne    11f0 <main+0xd0>
lea    0xdeb(%rip),%r14
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
lea    (%r15,%rbx,1),%rdx
add    $0x3b9aca00,%rdx
mov    %r14,%rdi
mov    %rdx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%rbx
cmp    $0x3b9aca00,%rbx
jne    1220 <main+0x100>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@__const.main.header = [5 x i32] [i32 13, i32 14, i32 15, i32 17, i32 18]
@.str = [20 x i8] c"Name, Phone Number\0A\00"
@.str.1 = [15 x i8] c"\22%lld\22,\22%lld\22\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i64
%3 = alloca [5 x i32]
%4 = alloca i32
%5 = alloca i64
%6 = alloca i64
store i32 0, i32* %1
store i64 1000000000, i64* %2
%7 = bitcast [5 x i32]* %3 to i8*
store i32 0, i32* %4
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %4
br label %9
9: ; preds = %39, %0
%10 = load i32, i32* %4
%11 = icmp slt i32 %10, 5
br i1 %11, label %12, label %42
12: ; preds = %9
%13 = load i32, i32* %4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 %14
%16 = load i32, i32* %15
%17 = sext i32 %16 to i64
%18 = load i64, i64* %2
%19 = mul nsw i64 %17, %18
store i64 %19, i64* %5
%20 = load i32, i32* %4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 %21
%23 = load i32, i32* %22
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = load i64, i64* %2
%27 = mul nsw i64 %25, %26
store i64 %27, i64* %6
br label %28
28: ; preds = %32, %12
%29 = load i64, i64* %5
%30 = load i64, i64* %6
%31 = icmp slt i64 %29, %30
br i1 %31, label %32, label %38
32: ; preds = %28
%33 = load i64, i64* %5
%34 = load i64, i64* %5
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i64 %33, i64 %34)
%36 = load i64, i64* %5
%37 = add nsw i64 %36, 1
store i64 %37, i64* %5
br label %28
38: ; preds = %28
br label %39
39: ; preds = %38
%40 = load i32, i32* %4
%41 = add nsw i32 %40, 1
store i32 %41, i32* %4
br label %9
42: ; preds = %9
%43 = load i32, i32* %1
ret i32 %43
}

LLVM IR (-O2):
@.str.1 = [15 x i8] c"\22%lld\22,\22%lld\22\0A\00"
@str = [19 x i8] c"Name, Phone Number\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str, i64 0, i64 0))
br label %2
2: ; preds = %0, %2
%3 = phi i64 [ %5, %2 ], [ 13000000000, %0 ]
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i64 %3, i64 %3)
%5 = add nuw nsw i64 %3, 1
%6 = icmp eq i64 %5, 14000000000
br i1 %6, label %7, label %2
7: ; preds = %2, %7
%8 = phi i64 [ %10, %7 ], [ 14000000000, %2 ]
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i64 %8, i64 %8)
%10 = add nuw nsw i64 %8, 1
%11 = icmp eq i64 %10, 15000000000
br i1 %11, label %12, label %7
12: ; preds = %7, %12
%13 = phi i64 [ %15, %12 ], [ 15000000000, %7 ]
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i64 %13, i64 %13)
%15 = add nuw nsw i64 %13, 1
%16 = icmp eq i64 %15, 16000000000
br i1 %16, label %17, label %12
17: ; preds = %12, %17
%18 = phi i64 [ %20, %17 ], [ 17000000000, %12 ]
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i64 %18, i64 %18)
%20 = add nuw nsw i64 %18, 1
%21 = icmp eq i64 %20, 18000000000
br i1 %21, label %22, label %17
22: ; preds = %17, %22
%23 = phi i64 [ %25, %22 ], [ 18000000000, %17 ]
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i64 %23, i64 %23)
%25 = add nuw nsw i64 %23, 1
%26 = icmp eq i64 %25, 19000000000
br i1 %26, label %27, label %22
27: ; preds = %22
ret i32 0
}