int main(int argc, char *argv[]) {
  int i;
  for (i = 1; i < argc; i++)
    printf("%s ", argv[i]);
  printf("\n");
  char *argvEY[10];
  argvEY[0] = "Cash";
  argvEY[1] = "Rules";
  argvEY[2] = "everything";
  argvEY[3] = "around";
  argvEY[4] = "me";
  printf("\n argvEY[1] = %d  &argvEY[1] = %X  argvEY = %X  *argvEY[1] = %d \n",
         argvEY[1], &argvEY[1], argvEY, *argvEY[1]);
  printf("\n argvEY[1] = %s  &argvEY[1] = %X  argvEY = %X  *argvEY[1] = %X \n",
         argvEY[1], &argvEY[1], argvEY, *argvEY[1]);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x1,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1161 <main+0x51>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
lea    0xeb4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    112d <main+0x1d>
lea    0xf3e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe8e(%rip),%rax
mov    %rax,-0x70(%rbp)
lea    0xe88(%rip),%rax
mov    %rax,-0x68(%rbp)
lea    0xe83(%rip),%rax
mov    %rax,-0x60(%rbp)
lea    0xe83(%rip),%rax
mov    %rax,-0x58(%rbp)
lea    0xe7f(%rip),%rax
mov    %rax,-0x50(%rbp)
mov    -0x68(%rbp),%rsi
lea    -0x70(%rbp),%rdx
add    $0x8,%rdx
lea    -0x70(%rbp),%rcx
mov    -0x68(%rbp),%rax
movsbl (%rax),%r8d
lea    0xe5f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x68(%rbp),%rsi
lea    -0x70(%rbp),%rdx
add    $0x8,%rdx
lea    -0x70(%rbp),%rcx
mov    -0x68(%rbp),%rax
movsbl (%rax),%r8d
lea    0xe7b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x58,%rsp
cmp    $0x2,%edi
jl     1167 <main+0x47>
mov    %rsi,%r15
mov    %edi,%r12d
mov    $0x1,%ebx
lea    0xebe(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    (%r15,%rbx,8),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r12
jne    1150 <main+0x30>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe8c(%rip),%rax
mov    %rax,(%rsp)
lea    0x8(%rsp),%r14
lea    0xe81(%rip),%rsi
mov    %rsi,0x8(%rsp)
lea    0xe7b(%rip),%rax
mov    %rax,0x10(%rsp)
lea    0xe7a(%rip),%rax
mov    %rax,0x18(%rsp)
lea    0xe75(%rip),%rax
mov    %rax,0x20(%rsp)
lea    0xe6c(%rip),%rdi
mov    %rsp,%rbx
mov    %r14,%rdx
mov    %rbx,%rcx
mov    $0x52,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rsp),%rsi
movsbl (%rsi),%r8d
lea    0xe88(%rip),%rdi
mov    %r14,%rdx
mov    %rbx,%rcx
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

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

LLVM IR (-O2):
@.str = [4 x i8] c"%s \00"
@.str.2 = [5 x i8] c"Cash\00"
@.str.3 = [6 x i8] c"Rules\00"
@.str.4 = [11 x i8] c"everything\00"
@.str.5 = [7 x i8] c"around\00"
@.str.6 = [3 x i8] c"me\00"
@.str.7 = [66 x i8] c"\0A argvEY[1] = %d &argvEY[1] = %X argvEY = %X *argvEY[1] = %d \0A\00"
@.str.8 = [66 x i8] c"\0A argvEY[1] = %s &argvEY[1] = %X argvEY = %X *argvEY[1] = %X \0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [10 x i8*]
%4 = icmp sgt i32 %0, 1
br i1 %4, label %5, label %14
5: ; preds = %2
%6 = zext i32 %0 to i64
br label %7
7: ; preds = %5, %7
%8 = phi i64 [ 1, %5 ], [ %12, %7 ]
%9 = getelementptr inbounds i8*, i8** %1, i64 %8
%10 = load i8*, i8** %9
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %10)
%12 = add nuw nsw i64 %8, 1
%13 = icmp eq i64 %12, %6
br i1 %13, label %14, label %7
14: ; preds = %7, %2
%15 = tail call i32 @putchar(i32 10)
%16 = bitcast [10 x i8*]* %3 to i8*
%17 = getelementptr inbounds [10 x i8*], [10 x i8*]* %3, i64 0, i64 0
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8** %17
%18 = getelementptr inbounds [10 x i8*], [10 x i8*]* %3, i64 0, i64 1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %18
%19 = getelementptr inbounds [10 x i8*], [10 x i8*]* %3, i64 0, i64 2
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8** %19
%20 = getelementptr inbounds [10 x i8*], [10 x i8*]* %3, i64 0, i64 3
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i8** %20
%21 = getelementptr inbounds [10 x i8*], [10 x i8*]* %3, i64 0, i64 4
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8** %21
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %18, i8** %17, i32 82)
%23 = load i8*, i8** %18
%24 = load i8, i8* %23
%25 = sext i8 %24 to i32
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.8, i64 0, i64 0), i8* %23, i8** %18, i8** %17, i32 %25)
ret i32 0
}