#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 PRS(int, char **, int *);
int /*<<< orphan*/ exit(int);
int optind;
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, char **argv) {
  int i, retval;
  int opts;
  printf("Before calling getopt\n");
  for (i = 0; i < argc; i++) {
    printf("%s ", argv[i]);
  }
  printf("\n\n");
  retval = PRS(argc, argv, &opts);
  if (retval < 0) {
    exit(1);
  }
  printf("\n");
  printf("After calling getopt\n");
  for (i = 0; i < argc; i++) {
    printf("%s ", argv[i]);
  }
  printf("\n\n");
  printf("-a \t set %s\n", opts & (1 << 0) ? "yes" : "no");
  printf("-b \t set %s\n", opts & (1 << 1) ? "yes" : "no");
  printf("-c \t set %s\n", opts & (1 << 2) ? "yes" : "no");
  printf("-d \t set %s\n", opts & (1 << 3) ? "yes" : "no");
  printf("-e \t set %s\n", opts & (1 << 4) ? "yes" : "no");
  printf("-f \t set %s\n", opts & (1 << 5) ? "yes" : "no");
  printf("-g \t set %s\n", opts & (1 << 6) ? "yes" : "no");
  printf("-h \t set %s\n", opts & (1 << 7) ? "yes" : "no");
  printf("\n");
  for (i = optind; i < argc; i++) {
    printf("optind=%d\t: argv[%d]=%s\n", i, i, argv[i]);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xeb3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    118f <main+0x5f>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
lea    0xe9d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    115b <main+0x2b>
lea    0xe85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    -0x1c(%rbp),%rdx
call   1040 <PRS@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0x0,-0x18(%rbp)
jge    11c4 <main+0x94>
mov    $0x1,%edi
call   1050 <exit@plt>
lea    0xe51(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe45(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    121b <main+0xeb>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
lea    0xe11(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11e7 <main+0xb7>
lea    0xdf9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%ecx
and    $0x1,%ecx
lea    0xe0f(%rip),%rsi
lea    0xe04(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0xde9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%ecx
and    $0x2,%ecx
lea    0xde6(%rip),%rsi
lea    0xddb(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0xdd4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%ecx
and    $0x4,%ecx
lea    0xdbd(%rip),%rsi
lea    0xdb2(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0xdb8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%ecx
and    $0x8,%ecx
lea    0xd94(%rip),%rsi
lea    0xd89(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0xd9c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%ecx
and    $0x10,%ecx
lea    0xd6b(%rip),%rsi
lea    0xd60(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0xd80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%ecx
and    $0x20,%ecx
lea    0xd42(%rip),%rsi
lea    0xd37(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0xd64(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%ecx
and    $0x40,%ecx
lea    0xd19(%rip),%rsi
lea    0xd0e(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0xd48(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%ecx
and    $0x80,%ecx
lea    0xced(%rip),%rsi
lea    0xce2(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0xd29(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xca1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2c5f(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    13c8 <main+0x298>
mov    -0x14(%rbp),%esi
mov    -0x14(%rbp),%edx
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rcx
lea    0xcf0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    138e <main+0x25e>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x10,%rsp
mov    %rsi,%r15
mov    %edi,%r14d
lea    0xf23(%rip),%rdi
call   1040 <puts@plt>
mov    %r14d,%ebx
test   %r14d,%r14d
jle    1197 <main+0x47>
lea    0xe83(%rip),%r12
xor    %ebp,%ebp
nop
mov    (%r15,%rbp,8),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%rbx
jne    1180 <main+0x30>
lea    0xe71(%rip),%rdi
call   1040 <puts@plt>
lea    0xc(%rsp),%rdx
mov    %r14d,%edi
mov    %r15,%rsi
call   1060 <PRS@plt>
test   %eax,%eax
js     133c <main+0x1ec>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xed6(%rip),%rdi
call   1040 <puts@plt>
test   %r14d,%r14d
jle    11f7 <main+0xa7>
lea    0xe23(%rip),%r12
xor    %ebp,%ebp
nop
mov    (%r15,%rbp,8),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%rbx
jne    11e0 <main+0x90>
lea    0xe11(%rip),%rdi
call   1040 <puts@plt>
testb  $0x1,0xc(%rsp)
lea    0xe06(%rip),%rbx
lea    0xdfb(%rip),%rbp
mov    %rbp,%rsi
cmove  %rbx,%rsi
lea    0xde0(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
testb  $0x2,0xc(%rsp)
mov    %rbp,%rsi
cmove  %rbx,%rsi
lea    0xdda(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
testb  $0x4,0xc(%rsp)
mov    %rbp,%rsi
cmove  %rbx,%rsi
lea    0xdcd(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
testb  $0x8,0xc(%rsp)
mov    %rbp,%rsi
cmove  %rbx,%rsi
lea    0xdc0(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
testb  $0x10,0xc(%rsp)
mov    %rbp,%rsi
cmove  %rbx,%rsi
lea    0xdb3(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
testb  $0x20,0xc(%rsp)
mov    %rbp,%rsi
cmove  %rbx,%rsi
lea    0xda6(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
testb  $0x40,0xc(%rsp)
mov    %rbp,%rsi
cmove  %rbx,%rsi
lea    0xd99(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
testb  $0x80,0xc(%rsp)
cmove  %rbx,%rbp
lea    0xd8f(%rip),%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x2cf6(%rip),%rax
mov    (%rax),%ebp
cmp    %r14d,%ebp
jge    132d <main+0x1dd>
movslq %ebp,%rax
lea    (%r15,%rax,8),%rbx
lea    0xd6c(%rip),%r15
nopw   0x0(%rax,%rax,1)
mov    (%rbx),%rcx
mov    %r15,%rdi
mov    %ebp,%esi
mov    %ebp,%edx
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%ebp
add    $0x8,%rbx
cmp    %ebp,%r14d
jne    1310 <main+0x1c0>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
mov    $0x1,%edi
call   1070 <exit@plt>

LLVM IR (-O0):
@.str = [23 x i8] c"Before calling getopt\0A\00"
@.str.1 = [4 x i8] c"%s \00"
@.str.2 = [3 x i8] c"\0A\0A\00"
@.str.3 = [2 x i8] c"\0A\00"
@.str.4 = [22 x i8] c"After calling getopt\0A\00"
@.str.5 = [13 x i8] c"-a \09 set %s\0A\00"
@.str.6 = [4 x i8] c"yes\00"
@.str.7 = [3 x i8] c"no\00"
@.str.8 = [13 x i8] c"-b \09 set %s\0A\00"
@.str.9 = [13 x i8] c"-c \09 set %s\0A\00"
@.str.10 = [13 x i8] c"-d \09 set %s\0A\00"
@.str.11 = [13 x i8] c"-e \09 set %s\0A\00"
@.str.12 = [13 x i8] c"-f \09 set %s\0A\00"
@.str.13 = [13 x i8] c"-g \09 set %s\0A\00"
@.str.14 = [13 x i8] c"-h \09 set %s\0A\00"
@optind = global i32 0
@.str.15 = [25 x i8] c"optind=%d\09: argv[%d]=%s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %6
br label %10
10: ; preds = %21, %2
%11 = load i32, i32* %6
%12 = load i32, i32* %4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %24
14: ; preds = %10
%15 = load i8**, i8*** %5
%16 = load i32, i32* %6
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8*, i8** %15, i64 %17
%19 = load i8*, i8** %18
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %19)
br label %21
21: ; preds = %14
%22 = load i32, i32* %6
%23 = add nsw i32 %22, 1
store i32 %23, i32* %6
br label %10
24: ; preds = %10
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%26 = load i32, i32* %4
%27 = load i8**, i8*** %5
%28 = call i32 @PRS(i32 %26, i8** %27, i32* %8)
store i32 %28, i32* %7
%29 = load i32, i32* %7
%30 = icmp slt i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %24
%32 = call i32 @exit(i32 1)
unreachable
33: ; preds = %24
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %6
br label %36
36: ; preds = %47, %33
%37 = load i32, i32* %6
%38 = load i32, i32* %4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %50
40: ; preds = %36
%41 = load i8**, i8*** %5
%42 = load i32, i32* %6
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8*, i8** %41, i64 %43
%45 = load i8*, i8** %44
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %45)
br label %47
47: ; preds = %40
%48 = load i32, i32* %6
%49 = add nsw i32 %48, 1
store i32 %49, i32* %6
br label %36
50: ; preds = %36
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%52 = load i32, i32* %8
%53 = and i32 %52, 1
%54 = icmp ne i32 %53, 0
%55 = zext i1 %54 to i64
%56 = select i1 %54, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0)
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* %56)
%58 = load i32, i32* %8
%59 = and i32 %58, 2
%60 = icmp ne i32 %59, 0
%61 = zext i1 %60 to i64
%62 = select i1 %60, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0)
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i8* %62)
%64 = load i32, i32* %8
%65 = and i32 %64, 4
%66 = icmp ne i32 %65, 0
%67 = zext i1 %66 to i64
%68 = select i1 %66, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0)
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0), i8* %68)
%70 = load i32, i32* %8
%71 = and i32 %70, 8
%72 = icmp ne i32 %71, 0
%73 = zext i1 %72 to i64
%74 = select i1 %72, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0)
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.10, i64 0, i64 0), i8* %74)
%76 = load i32, i32* %8
%77 = and i32 %76, 16
%78 = icmp ne i32 %77, 0
%79 = zext i1 %78 to i64
%80 = select i1 %78, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0)
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0), i8* %80)
%82 = load i32, i32* %8
%83 = and i32 %82, 32
%84 = icmp ne i32 %83, 0
%85 = zext i1 %84 to i64
%86 = select i1 %84, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0)
%87 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0), i8* %86)
%88 = load i32, i32* %8
%89 = and i32 %88, 64
%90 = icmp ne i32 %89, 0
%91 = zext i1 %90 to i64
%92 = select i1 %90, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0)
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0), i8* %92)
%94 = load i32, i32* %8
%95 = and i32 %94, 128
%96 = icmp ne i32 %95, 0
%97 = zext i1 %96 to i64
%98 = select i1 %96, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0)
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i8* %98)
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%101 = load i32, i32* @optind
store i32 %101, i32* %6
br label %102
102: ; preds = %115, %50
%103 = load i32, i32* %6
%104 = load i32, i32* %4
%105 = icmp slt i32 %103, %104
br i1 %105, label %106, label %118
106: ; preds = %102
%107 = load i32, i32* %6
%108 = load i32, i32* %6
%109 = load i8**, i8*** %5
%110 = load i32, i32* %6
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i8*, i8** %109, i64 %111
%113 = load i8*, i8** %112
%114 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.15, i64 0, i64 0), i32 %107, i32 %108, i8* %113)
br label %115
115: ; preds = %106
%116 = load i32, i32* %6
%117 = add nsw i32 %116, 1
store i32 %117, i32* %6
br label %102
118: ; preds = %102
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [4 x i8] c"%s \00"
@.str.5 = [13 x i8] c"-a \09 set %s\0A\00"
@.str.6 = [4 x i8] c"yes\00"
@.str.7 = [3 x i8] c"no\00"
@.str.8 = [13 x i8] c"-b \09 set %s\0A\00"
@.str.9 = [13 x i8] c"-c \09 set %s\0A\00"
@.str.10 = [13 x i8] c"-d \09 set %s\0A\00"
@.str.11 = [13 x i8] c"-e \09 set %s\0A\00"
@.str.12 = [13 x i8] c"-f \09 set %s\0A\00"
@.str.13 = [13 x i8] c"-g \09 set %s\0A\00"
@.str.14 = [13 x i8] c"-h \09 set %s\0A\00"
@optind = global i32 0
@.str.15 = [25 x i8] c"optind=%d\09: argv[%d]=%s\0A\00"
@str = [22 x i8] c"Before calling getopt\00"
@str.17 = [21 x i8] c"After calling getopt\00"
@str.18 = [2 x i8] c"\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = bitcast i32* %3 to i8*
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str, i64 0, i64 0))
%6 = icmp sgt i32 %0, 0
br i1 %6, label %7, label %16
7: ; preds = %2
%8 = zext i32 %0 to i64
br label %9
9: ; preds = %7, %9
%10 = phi i64 [ 0, %7 ], [ %14, %9 ]
%11 = getelementptr inbounds i8*, i8** %1, i64 %10
%12 = load i8*, i8** %11
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %12)
%14 = add nuw nsw i64 %10, 1
%15 = icmp eq i64 %14, %8
br i1 %15, label %16, label %9
16: ; preds = %9, %2
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.18, i64 0, i64 0))
%18 = call i32 @PRS(i32 %0, i8** %1, i32* %3)
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %16
%21 = call i32 @exit(i32 1)
unreachable
22: ; preds = %16
%23 = call i32 @putchar(i32 10)
%24 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.17, i64 0, i64 0))
br i1 %6, label %25, label %34
25: ; preds = %22
%26 = zext i32 %0 to i64
br label %27
27: ; preds = %25, %27
%28 = phi i64 [ 0, %25 ], [ %32, %27 ]
%29 = getelementptr inbounds i8*, i8** %1, i64 %28
%30 = load i8*, i8** %29
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %30)
%32 = add nuw nsw i64 %28, 1
%33 = icmp eq i64 %32, %26
br i1 %33, label %34, label %27
34: ; preds = %27, %22
%35 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.18, i64 0, i64 0))
%36 = load i32, i32* %3
%37 = and i32 %36, 1
%38 = icmp eq i32 %37, 0
%39 = select i1 %38, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0)
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* %39)
%41 = load i32, i32* %3
%42 = and i32 %41, 2
%43 = icmp eq i32 %42, 0
%44 = select i1 %43, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0)
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i8* %44)
%46 = load i32, i32* %3
%47 = and i32 %46, 4
%48 = icmp eq i32 %47, 0
%49 = select i1 %48, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0)
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0), i8* %49)
%51 = load i32, i32* %3
%52 = and i32 %51, 8
%53 = icmp eq i32 %52, 0
%54 = select i1 %53, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0)
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.10, i64 0, i64 0), i8* %54)
%56 = load i32, i32* %3
%57 = and i32 %56, 16
%58 = icmp eq i32 %57, 0
%59 = select i1 %58, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0)
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0), i8* %59)
%61 = load i32, i32* %3
%62 = and i32 %61, 32
%63 = icmp eq i32 %62, 0
%64 = select i1 %63, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0)
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0), i8* %64)
%66 = load i32, i32* %3
%67 = and i32 %66, 64
%68 = icmp eq i32 %67, 0
%69 = select i1 %68, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0)
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0), i8* %69)
%71 = load i32, i32* %3
%72 = and i32 %71, 128
%73 = icmp eq i32 %72, 0
%74 = select i1 %73, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0)
%75 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i8* %74)
%76 = call i32 @putchar(i32 10)
%77 = load i32, i32* @optind
%78 = icmp slt i32 %77, %0
br i1 %78, label %79, label %90
79: ; preds = %34
%80 = sext i32 %77 to i64
br label %81
81: ; preds = %79, %81
%82 = phi i64 [ %80, %79 ], [ %87, %81 ]
%83 = getelementptr inbounds i8*, i8** %1, i64 %82
%84 = load i8*, i8** %83
%85 = trunc i64 %82 to i32
%86 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.15, i64 0, i64 0), i32 %85, i32 %85, i8* %84)
%87 = add nsw i64 %82, 1
%88 = trunc i64 %87 to i32
%89 = icmp eq i32 %88, %0
br i1 %89, label %90, label %81
90: ; preds = %81, %34
ret i32 0
}