#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 */
typedef struct TYPE_4__ TYPE_2__;
typedef struct TYPE_3__ TYPE_1__;

/* Type definitions */
struct TYPE_3__ {
  int /*<<< orphan*/ a_val;
};
struct TYPE_4__ {
  int a_type;
  TYPE_1__ a_un;
};
typedef TYPE_2__ Elf64_auxv_t;

/* Variables and functions */
#define AT_BASE 160
#define AT_BASE_PLATFORM 159
#define AT_CLKTCK 158
#define AT_DCACHEBSIZE 157
#define AT_EGID 156
#define AT_ENTRY 155
#define AT_EUID 154
#define AT_EXECFD 153
#define AT_EXECFN 152
#define AT_FLAGS 151
#define AT_FPUCW 150
#define AT_GID 149
#define AT_HWCAP 148
#define AT_ICACHEBSIZE 147
#define AT_IGNORE 146
#define AT_IGNOREPPC 145
#define AT_L1D_CACHESHAPE 144
#define AT_L1I_CACHESHAPE 143
#define AT_L2_CACHESHAPE 142
#define AT_L3_CACHESHAPE 141
#define AT_NOTELF 140
#define AT_NULL 139
#define AT_PAGESZ 138
#define AT_PHDR 137
#define AT_PHENT 136
#define AT_PHNUM 135
#define AT_PLATFORM 134
#define AT_RANDOM 133
#define AT_SECURE 132
#define AT_SYSINFO 131
#define AT_SYSINFO_EHDR 130
#define AT_UCACHEBSIZE 129
#define AT_UID 128
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, char **argv, char **envp) {
  int i;
  printf("%p: argc: [%d]\n", &argc, argc);
  printf("\n");
  for (i = 0; i < argc; i++)
    printf("%p: argv[%d]: [%s]\n", &argv[i], i, argv[i]);
  printf("\n");
  i = 0;
  while (envp[i] != NULL) {
    printf("%p: envp[%d]: [%s]\n", &envp[i], i, envp[i]);
    i++;
  }
  printf("\n");
  Elf64_auxv_t *auxv = (Elf64_auxv_t *)&envp[--i];
  while (auxv++) {
    char *type;
    switch (auxv->a_type) {
    case AT_IGNORE:
      type = "AT_IGNORE";
      break;
    case AT_EXECFD:
      type = "AT_EXECFD";
      break;
    case AT_PHDR:
      type = "AT_PHDR";
      break;
    case AT_PHENT:
      type = "AT_PHENT";
      break;
    case AT_PHNUM:
      type = "AT_PHNUM";
      break;
    case AT_PAGESZ:
      type = "AT_PAGESZ";
      break;
    case AT_BASE:
      type = "AT_BASE";
      break;
    case AT_FLAGS:
      type = "AT_FLAGS";
      break;
    case AT_ENTRY:
      type = "AT_ENTRY";
      break;
    case AT_NOTELF:
      type = "AT_NOTELF";
      break;
    case AT_UID:
      type = "AT_UID";
      break;
    case AT_EUID:
      type = "AT_EUID";
      break;
    case AT_GID:
      type = "AT_GID";
      break;
    case AT_EGID:
      type = "AT_EGID";
      break;
    case AT_CLKTCK:
      type = "AT_CLKTCK";
      break;
    case AT_PLATFORM:
      type = "AT_PLATFORM";
      break;
    case AT_HWCAP:
      type = "AT_HWCAP";
      break;
    case AT_FPUCW:
      type = "AT_FPUCW";
      break;
    case AT_DCACHEBSIZE:
      type = "AT_DCACHEBSIZE";
      break;
    case AT_ICACHEBSIZE:
      type = "AT_ICACHEBSIZE";
      break;
    case AT_UCACHEBSIZE:
      type = "AT_UCACHEBSIZE";
      break;
    case AT_IGNOREPPC:
      type = "AT_IGNOREPPC";
      break;
    case AT_SECURE:
      type = "AT_SECURE";
      break;
    case AT_BASE_PLATFORM:
      type = "AT_BASE_PLATFORM";
      break;
    case AT_RANDOM:
      type = "AT_RANDOM";
      break;
    case AT_EXECFN:
      type = "AT_EXECFN";
      break;
    case AT_SYSINFO:
      type = "AT_SYSINFO";
      break;
    case AT_SYSINFO_EHDR:
      type = "AT_SYSINFO_EHDR";
      break;
    case AT_L1I_CACHESHAPE:
      type = "AT_L1I_CACHESHAPE";
      break;
    case AT_L1D_CACHESHAPE:
      type = "AT_L1D_CACHESHAPE";
      break;
    case AT_L2_CACHESHAPE:
      type = "AT_L2_CACHESHAPE";
      break;
    case AT_L3_CACHESHAPE:
      type = "AT_L3_CACHESHAPE";
      break;
    case AT_NULL:
    default:
      printf("\n");
      return 0;
    }
    printf("%p: %s: [%lx]\n", auxv, type, auxv->a_un.a_val);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x8(%rbp),%edx
lea    0xf50(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf4c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    119a <main+0x8a>
mov    -0x10(%rbp),%rsi
movslq -0x1c(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rsi
mov    -0x1c(%rbp),%edx
mov    -0x10(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rcx
lea    0xf0f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1154 <main+0x44>
lea    0xef1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x1c(%rbp),%rcx
cmpq   $0x0,(%rax,%rcx,8)
je     11fc <main+0xec>
mov    -0x18(%rbp),%rsi
movslq -0x1c(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rsi
mov    -0x1c(%rbp),%edx
mov    -0x18(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rcx
lea    0xec1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11af <main+0x9f>
lea    0xe8f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0x1c(%rbp)
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x28(%rbp)
cmp    $0x0,%rax
je     14ab <main+0x39b>
mov    -0x28(%rbp),%rax
mov    (%rax),%eax
add    $0xffffff80,%eax
mov    %eax,%ecx
mov    %rcx,-0x38(%rbp)
sub    $0x20,%eax
ja     146f <main+0x35f>
mov    -0x38(%rbp),%rax
lea    0xd9f(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xe4b(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xe45(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xe3f(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xe37(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xe30(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xe29(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xe23(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xe1b(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xe14(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xe0d(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xe07(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdfe(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdf6(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xded(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xde5(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xddf(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xddb(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdd4(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdcd(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdcc(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdcb(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdca(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdc7(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdc1(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdc2(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdbc(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdb6(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdb1(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdb1(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdb3(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdb5(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
lea    0xdb6(%rip),%rax
mov    %rax,-0x30(%rbp)
jmp    1489 <main+0x379>
jmp    146f <main+0x35f>
lea    0xc1c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    14ab <main+0x39b>
mov    -0x28(%rbp),%rsi
mov    -0x30(%rbp),%rdx
mov    -0x28(%rbp),%rax
mov    0x4(%rax),%ecx
lea    0xd89(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1225 <main+0x115>
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rdx,%r14
mov    %rsi,%r12
mov    %edi,%edx
mov    %edi,0x4(%rsp)
lea    0xec2(%rip),%rdi
lea    0x4(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
cmpl   $0x0,0x4(%rsp)
jle    1196 <main+0x76>
lea    0xeae(%rip),%r15
xor    %ebx,%ebx
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
lea    (%r12,%rbx,1),%rsi
mov    (%r12,%rbp,8),%rcx
mov    %r15,%rdi
mov    %ebp,%edx
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%rbp
movslq 0x4(%rsp),%rax
add    $0x8,%rbx
cmp    %rax,%rbp
jl     1170 <main+0x50>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    (%r14),%rcx
test   %rcx,%rcx
je     11f8 <main+0xd8>
movabs $0xffffffff00000000,%r12
ff ff ff
lea    0xe6b(%rip),%r15
movabs $0x100000000,%r13
mov    %r14,%rbx
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
add    %r13,%r12
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rbx),%rcx
add    $0x8,%rbx
add    $0x1,%ebp
test   %rcx,%rcx
jne    11d0 <main+0xb0>
sar    $0x20,%r12
jmp    11ff <main+0xdf>
mov    $0xffffffffffffffff,%r12
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    (%r14,%r12,8),%rbx
add    $0x8,%rbx
movabs $0x1fffff7ff,%r15
lea    0xf92(%rip),%rbp
lea    0xf7b(%rip),%r14
nopl   0x0(%rax)
mov    (%rbx),%eax
add    $0xffffff80,%eax
cmp    $0x21,%eax
jae    1260 <main+0x140>
bt     %rax,%r15
jae    1260 <main+0x140>
cltq
movslq 0x0(%rbp,%rax,4),%rdx
add    %rbp,%rdx
mov    0x4(%rbx),%ecx
mov    %r14,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x8,%rbx
jmp    1230 <main+0x110>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.TYPE_4__ = type { i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@.str = [16 x i8] c"%p: argc: [%d]\0A\00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [20 x i8] c"%p: argv[%d]: [%s]\0A\00"
@.str.3 = [20 x i8] c"%p: envp[%d]: [%s]\0A\00"
@.str.4 = [10 x i8] c"AT_IGNORE\00"
@.str.5 = [10 x i8] c"AT_EXECFD\00"
@.str.6 = [8 x i8] c"AT_PHDR\00"
@.str.7 = [9 x i8] c"AT_PHENT\00"
@.str.8 = [9 x i8] c"AT_PHNUM\00"
@.str.9 = [10 x i8] c"AT_PAGESZ\00"
@.str.10 = [8 x i8] c"AT_BASE\00"
@.str.11 = [9 x i8] c"AT_FLAGS\00"
@.str.12 = [9 x i8] c"AT_ENTRY\00"
@.str.13 = [10 x i8] c"AT_NOTELF\00"
@.str.14 = [7 x i8] c"AT_UID\00"
@.str.15 = [8 x i8] c"AT_EUID\00"
@.str.16 = [7 x i8] c"AT_GID\00"
@.str.17 = [8 x i8] c"AT_EGID\00"
@.str.18 = [10 x i8] c"AT_CLKTCK\00"
@.str.19 = [12 x i8] c"AT_PLATFORM\00"
@.str.20 = [9 x i8] c"AT_HWCAP\00"
@.str.21 = [9 x i8] c"AT_FPUCW\00"
@.str.22 = [15 x i8] c"AT_DCACHEBSIZE\00"
@.str.23 = [15 x i8] c"AT_ICACHEBSIZE\00"
@.str.24 = [15 x i8] c"AT_UCACHEBSIZE\00"
@.str.25 = [13 x i8] c"AT_IGNOREPPC\00"
@.str.26 = [10 x i8] c"AT_SECURE\00"
@.str.27 = [17 x i8] c"AT_BASE_PLATFORM\00"
@.str.28 = [10 x i8] c"AT_RANDOM\00"
@.str.29 = [10 x i8] c"AT_EXECFN\00"
@.str.30 = [11 x i8] c"AT_SYSINFO\00"
@.str.31 = [16 x i8] c"AT_SYSINFO_EHDR\00"
@.str.32 = [18 x i8] c"AT_L1I_CACHESHAPE\00"
@.str.33 = [18 x i8] c"AT_L1D_CACHESHAPE\00"
@.str.34 = [17 x i8] c"AT_L2_CACHESHAPE\00"
@.str.35 = [17 x i8] c"AT_L3_CACHESHAPE\00"
@.str.36 = [15 x i8] c"%p: %s: [%lx]\0A\00"
define i32 @main(i32 %0, i8** %1, i8** %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i8**
%7 = alloca i8**
%8 = alloca i32
%9 = alloca %struct.TYPE_4__*
%10 = alloca i8*
store i32 0, i32* %4
store i32 %0, i32* %5
store i8** %1, i8*** %6
store i8** %2, i8*** %7
%11 = load i32, i32* %5
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32* %5, i32 %11)
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %8
br label %14
14: ; preds = %30, %3
%15 = load i32, i32* %8
%16 = load i32, i32* %5
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %33
18: ; preds = %14
%19 = load i8**, i8*** %6
%20 = load i32, i32* %8
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8*, i8** %19, i64 %21
%23 = load i32, i32* %8
%24 = load i8**, i8*** %6
%25 = load i32, i32* %8
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8*, i8** %24, i64 %26
%28 = load i8*, i8** %27
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i8** %22, i32 %23, i8* %28)
br label %30
30: ; preds = %18
%31 = load i32, i32* %8
%32 = add nsw i32 %31, 1
store i32 %32, i32* %8
br label %14
33: ; preds = %14
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %8
br label %35
35: ; preds = %42, %33
%36 = load i8**, i8*** %7
%37 = load i32, i32* %8
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8*, i8** %36, i64 %38
%40 = load i8*, i8** %39
%41 = icmp ne i8* %40, null
br i1 %41, label %42, label %56
42: ; preds = %35
%43 = load i8**, i8*** %7
%44 = load i32, i32* %8
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8*, i8** %43, i64 %45
%47 = load i32, i32* %8
%48 = load i8**, i8*** %7
%49 = load i32, i32* %8
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8*, i8** %48, i64 %50
%52 = load i8*, i8** %51
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i8** %46, i32 %47, i8* %52)
%54 = load i32, i32* %8
%55 = add nsw i32 %54, 1
store i32 %55, i32* %8
br label %35
56: ; preds = %35
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%58 = load i8**, i8*** %7
%59 = load i32, i32* %8
%60 = add nsw i32 %59, -1
store i32 %60, i32* %8
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8*, i8** %58, i64 %61
%63 = bitcast i8** %62 to %struct.TYPE_4__*
store %struct.TYPE_4__* %63, %struct.TYPE_4__** %9
br label %64
64: ; preds = %107, %56
%65 = load %struct.TYPE_4__*, %struct.TYPE_4__** %9
%66 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %65, i32 1
store %struct.TYPE_4__* %66, %struct.TYPE_4__** %9
%67 = icmp ne %struct.TYPE_4__* %65, null
br i1 %67, label %68, label %115
68: ; preds = %64
%69 = load %struct.TYPE_4__*, %struct.TYPE_4__** %9
%70 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %69, i32 0, i32 0
%71 = load i32, i32* %70
switch i32 %71, label %105 [
i32 146, label %72
i32 153, label %73
i32 137, label %74
i32 136, label %75
i32 135, label %76
i32 138, label %77
i32 160, label %78
i32 151, label %79
i32 155, label %80
i32 140, label %81
i32 128, label %82
i32 154, label %83
i32 149, label %84
i32 156, label %85
i32 158, label %86
i32 134, label %87
i32 148, label %88
i32 150, label %89
i32 157, label %90
i32 147, label %91
i32 129, label %92
i32 145, label %93
i32 132, label %94
i32 159, label %95
i32 133, label %96
i32 152, label %97
i32 131, label %98
i32 130, label %99
i32 143, label %100
i32 144, label %101
i32 142, label %102
i32 141, label %103
i32 139, label %104
]
72: ; preds = %68
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i8** %10
br label %107
73: ; preds = %68
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i8** %10
br label %107
74: ; preds = %68
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8** %10
br label %107
75: ; preds = %68
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8** %10
br label %107
76: ; preds = %68
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8** %10
br label %107
77: ; preds = %68
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0), i8** %10
br label %107
78: ; preds = %68
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), i8** %10
br label %107
79: ; preds = %68
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i8** %10
br label %107
80: ; preds = %68
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0), i8** %10
br label %107
81: ; preds = %68
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0), i8** %10
br label %107
82: ; preds = %68
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.14, i64 0, i64 0), i8** %10
br label %107
83: ; preds = %68
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.15, i64 0, i64 0), i8** %10
br label %107
84: ; preds = %68
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.16, i64 0, i64 0), i8** %10
br label %107
85: ; preds = %68
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i64 0, i64 0), i8** %10
br label %107
86: ; preds = %68
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), i8** %10
br label %107
87: ; preds = %68
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.19, i64 0, i64 0), i8** %10
br label %107
88: ; preds = %68
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.20, i64 0, i64 0), i8** %10
br label %107
89: ; preds = %68
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0), i8** %10
br label %107
90: ; preds = %68
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.22, i64 0, i64 0), i8** %10
br label %107
91: ; preds = %68
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.23, i64 0, i64 0), i8** %10
br label %107
92: ; preds = %68
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.24, i64 0, i64 0), i8** %10
br label %107
93: ; preds = %68
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.25, i64 0, i64 0), i8** %10
br label %107
94: ; preds = %68
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.26, i64 0, i64 0), i8** %10
br label %107
95: ; preds = %68
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.27, i64 0, i64 0), i8** %10
br label %107
96: ; preds = %68
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.28, i64 0, i64 0), i8** %10
br label %107
97: ; preds = %68
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0), i8** %10
br label %107
98: ; preds = %68
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.30, i64 0, i64 0), i8** %10
br label %107
99: ; preds = %68
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.31, i64 0, i64 0), i8** %10
br label %107
100: ; preds = %68
store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.32, i64 0, i64 0), i8** %10
br label %107
101: ; preds = %68
store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.33, i64 0, i64 0), i8** %10
br label %107
102: ; preds = %68
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.34, i64 0, i64 0), i8** %10
br label %107
103: ; preds = %68
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.35, i64 0, i64 0), i8** %10
br label %107
104: ; preds = %68
br label %105
105: ; preds = %68, %104
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %4
br label %115
107: ; preds = %103, %102, %101, %100, %99, %98, %97, %96, %95, %94, %93, %92, %91, %90, %89, %88, %87, %86, %85, %84, %83, %82, %81, %80, %79, %78, %77, %76, %75, %74, %73, %72
%108 = load %struct.TYPE_4__*, %struct.TYPE_4__** %9
%109 = load i8*, i8** %10
%110 = load %struct.TYPE_4__*, %struct.TYPE_4__** %9
%111 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %110, i32 0, i32 1
%112 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %111, i32 0, i32 0
%113 = load i32, i32* %112
%114 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.36, i64 0, i64 0), %struct.TYPE_4__* %108, i8* %109, i32 %113)
br label %64
115: ; preds = %105, %64
%116 = load i32, i32* %4
ret i32 %116
}

LLVM IR (-O2):
%struct.TYPE_4__ = type { i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@.str = [16 x i8] c"%p: argc: [%d]\0A\00"
@.str.2 = [20 x i8] c"%p: argv[%d]: [%s]\0A\00"
@.str.3 = [20 x i8] c"%p: envp[%d]: [%s]\0A\00"
@.str.4 = [10 x i8] c"AT_IGNORE\00"
@.str.5 = [10 x i8] c"AT_EXECFD\00"
@.str.6 = [8 x i8] c"AT_PHDR\00"
@.str.7 = [9 x i8] c"AT_PHENT\00"
@.str.8 = [9 x i8] c"AT_PHNUM\00"
@.str.9 = [10 x i8] c"AT_PAGESZ\00"
@.str.10 = [8 x i8] c"AT_BASE\00"
@.str.11 = [9 x i8] c"AT_FLAGS\00"
@.str.12 = [9 x i8] c"AT_ENTRY\00"
@.str.13 = [10 x i8] c"AT_NOTELF\00"
@.str.14 = [7 x i8] c"AT_UID\00"
@.str.15 = [8 x i8] c"AT_EUID\00"
@.str.16 = [7 x i8] c"AT_GID\00"
@.str.17 = [8 x i8] c"AT_EGID\00"
@.str.18 = [10 x i8] c"AT_CLKTCK\00"
@.str.19 = [12 x i8] c"AT_PLATFORM\00"
@.str.20 = [9 x i8] c"AT_HWCAP\00"
@.str.21 = [9 x i8] c"AT_FPUCW\00"
@.str.22 = [15 x i8] c"AT_DCACHEBSIZE\00"
@.str.23 = [15 x i8] c"AT_ICACHEBSIZE\00"
@.str.24 = [15 x i8] c"AT_UCACHEBSIZE\00"
@.str.25 = [13 x i8] c"AT_IGNOREPPC\00"
@.str.26 = [10 x i8] c"AT_SECURE\00"
@.str.27 = [17 x i8] c"AT_BASE_PLATFORM\00"
@.str.28 = [10 x i8] c"AT_RANDOM\00"
@.str.29 = [10 x i8] c"AT_EXECFN\00"
@.str.30 = [11 x i8] c"AT_SYSINFO\00"
@.str.31 = [16 x i8] c"AT_SYSINFO_EHDR\00"
@.str.32 = [18 x i8] c"AT_L1I_CACHESHAPE\00"
@.str.33 = [18 x i8] c"AT_L1D_CACHESHAPE\00"
@.str.34 = [17 x i8] c"AT_L2_CACHESHAPE\00"
@.str.35 = [17 x i8] c"AT_L3_CACHESHAPE\00"
@.str.36 = [15 x i8] c"%p: %s: [%lx]\0A\00"
@reltable.main = [33 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.14 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.24 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.31 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.30 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.26 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.28 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.19 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.8 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.7 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.6 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.9 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.4 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.13 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.35 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.34 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.32 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.33 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @.str.25 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.4 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.23 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.20 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.16 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.21 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.11 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.29 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.5 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.15 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.12 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.17 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.22 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.18 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.27 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.10 to i64), i64 ptrtoint ([33 x i32]* @reltable.main to i64)) to i32)]
define i32 @main(i32 %0, i8** %1, i8** %2) {
%4 = alloca i32
store i32 %0, i32* %4
%5 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32* %4, i32 %0)
%6 = call i32 @putchar(i32 10)
%7 = load i32, i32* %4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %19
9: ; preds = %3, %9
%10 = phi i64 [ %15, %9 ], [ 0, %3 ]
%11 = getelementptr inbounds i8*, i8** %1, i64 %10
%12 = load i8*, i8** %11
%13 = trunc i64 %10 to i32
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i8** %11, i32 %13, i8* %12)
%15 = add nuw nsw i64 %10, 1
%16 = load i32, i32* %4
%17 = sext i32 %16 to i64
%18 = icmp slt i64 %15, %17
br i1 %18, label %9, label %19
19: ; preds = %9, %3
%20 = call i32 @putchar(i32 10)
%21 = load i8*, i8** %2
%22 = icmp eq i8* %21, null
br i1 %22, label %36, label %23
23: ; preds = %19, %23
%24 = phi i64 [ %29, %23 ], [ 0, %19 ]
%25 = phi i8* [ %31, %23 ], [ %21, %19 ]
%26 = phi i8** [ %30, %23 ], [ %2, %19 ]
%27 = trunc i64 %24 to i32
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i8** %26, i32 %27, i8* %25)
%29 = add nuw i64 %24, 1
%30 = getelementptr inbounds i8*, i8** %2, i64 %29
%31 = load i8*, i8** %30
%32 = icmp eq i8* %31, null
br i1 %32, label %33, label %23
33: ; preds = %23
%34 = shl i64 %24, 32
%35 = ashr exact i64 %34, 32
br label %36
36: ; preds = %33, %19
%37 = phi i64 [ -1, %19 ], [ %35, %33 ]
%38 = call i32 @putchar(i32 10)
%39 = getelementptr inbounds i8*, i8** %2, i64 %37
%40 = bitcast i8** %39 to %struct.TYPE_4__*
br label %41
41: ; preds = %55, %36
%42 = phi %struct.TYPE_4__* [ %40, %36 ], [ %43, %55 ]
%43 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %42, i64 1
%44 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %43, i64 0, i32 0
%45 = load i32, i32* %44
%46 = add i32 %45, -128
%47 = icmp ult i32 %46, 33
br i1 %47, label %50, label %48
48: ; preds = %50, %41
%49 = call i32 @putchar(i32 10)
ret i32 0
50: ; preds = %41
%51 = zext i32 %46 to i64
%52 = lshr i64 8589932543, %51
%53 = and i64 %52, 1
%54 = icmp eq i64 %53, 0
br i1 %54, label %48, label %55
55: ; preds = %50
%56 = sext i32 %46 to i64
%57 = shl i64 %56, 2
%58 = call i8* @llvm.load.relative.i64(i8* bitcast ([33 x i32]* @reltable.main to i8*), i64 %57)
%59 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %42, i64 1, i32 1, i32 0
%60 = load i32, i32* %59
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.36, i64 0, i64 0), %struct.TYPE_4__* %43, i8* %58, i32 %60)
br label %41
}