#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 */
struct option {
  char *member_0;
  char member_3;
  char *name;
  int /*<<< orphan*/ member_2;
  int /*<<< orphan*/ const member_1;
};

/* Variables and functions */
int /*<<< orphan*/ EXIT_SUCCESS;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int getopt_long(int, char **, char *, struct option *, int *);
#define no_argument 129
char *optarg;
int optind;
int /*<<< orphan*/ printf(char *, ...);
#define required_argument 128
int main(int argc, char *argv[]) {
  int c;
  int digit_optind = 0;
  while (1) {
    int this_option_optind = optind ? optind : 1;
    int option_index = 0;
    static struct option long_options[] = {
        {"add", required_argument, 0, 0},
        {"append", no_argument, 0, 0},
        {"delete", required_argument, 0, 0},
        {"verbose", no_argument, 0, 0},
        {"create", required_argument, 0, 'c'},
        {"file", required_argument, 0, 0},
        {0, 0, 0, 0}};
    c = getopt_long(argc, argv, "abc:d:012", long_options, &option_index);
    if (c == -1)
      break;
    switch (c) {
    case 0:
      printf("option %s", long_options[option_index].name);
      if (optarg)
        printf(" with arg %s", optarg);
      printf("\n");
      break;
    case '0':
    case '1':
    case '2':
      if (digit_optind != 0 && digit_optind != this_option_optind)
        printf("digits occur in two different argv-elements.\n");
      digit_optind = this_option_optind;
      printf("option %c\n", c);
      break;
    case 'a':
      printf("option a\n");
      break;
    case 'b':
      printf("option b\n");
      break;
    case 'c':
      printf("option c with value '%s'\n", optarg);
      break;
    case 'd':
      printf("option d with value '%s'\n", optarg);
      break;
    case '?':
      break;
    default:
      printf("?? getopt returned character code 0%o ??\n", c);
    }
  }
  if (optind < argc) {
    printf("non-option ARGV-elements: ");
    while (optind < argc)
      printf("%s ", argv[optind++]);
    printf("\n");
  }
  exit(EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x18(%rbp)
mov    0x2e8c(%rip),%rax
cmpl   $0x0,(%rax)
je     116e <main+0x3e>
mov    0x2e7c(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x24(%rbp)
jmp    117b <main+0x4b>
mov    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    117b <main+0x4b>
mov    -0x24(%rbp),%eax
mov    %eax,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe90(%rip),%rdx
lea    0x2ea3(%rip),%rcx
lea    -0x20(%rbp),%r8
call   1030 <getopt_long@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0xffffffff,-0x14(%rbp)
jne    11b8 <main+0x88>
jmp    134f <main+0x21f>
mov    -0x14(%rbp),%eax
mov    %eax,-0x28(%rbp)
test   %eax,%eax
je     1234 <main+0x104>
jmp    11cb <main+0x9b>
mov    -0x28(%rbp),%eax
add    $0xffffffd0,%eax
sub    $0x3,%eax
jb     1294 <main+0x164>
jmp    11df <main+0xaf>
mov    -0x28(%rbp),%eax
sub    $0x3f,%eax
je     1334 <main+0x204>
jmp    11f0 <main+0xc0>
mov    -0x28(%rbp),%eax
sub    $0x61,%eax
je     12d4 <main+0x1a4>
jmp    1201 <main+0xd1>
mov    -0x28(%rbp),%eax
sub    $0x62,%eax
je     12e7 <main+0x1b7>
jmp    1212 <main+0xe2>
mov    -0x28(%rbp),%eax
sub    $0x63,%eax
je     12fa <main+0x1ca>
jmp    1223 <main+0xf3>
mov    -0x28(%rbp),%eax
sub    $0x64,%eax
je     1317 <main+0x1e7>
jmp    1339 <main+0x209>
movslq -0x20(%rbp),%rcx
lea    0x2e01(%rip),%rax
shl    $0x5,%rcx
add    %rcx,%rax
mov    0x10(%rax),%rsi
lea    0xddf(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    0x2d99(%rip),%rax
cmpq   $0x0,(%rax)
je     1281 <main+0x151>
mov    0x2d88(%rip),%rax
mov    (%rax),%rsi
lea    0xdc0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe24(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    134a <main+0x21a>
cmpl   $0x0,-0x18(%rbp)
je     12b8 <main+0x188>
mov    -0x18(%rbp),%eax
cmp    -0x1c(%rbp),%eax
je     12b8 <main+0x188>
lea    0xd96(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1c(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%esi
lea    0xdad(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    134a <main+0x21a>
lea    0xda5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    134a <main+0x21a>
lea    0xd9c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    134a <main+0x21a>
mov    0x2cf7(%rip),%rax
mov    (%rax),%rsi
lea    0xd89(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    134a <main+0x21a>
mov    0x2cda(%rip),%rax
mov    (%rax),%rsi
lea    0xd86(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    134a <main+0x21a>
jmp    134a <main+0x21a>
mov    -0x14(%rbp),%esi
lea    0xd85(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    114d <main+0x1d>
mov    0x2c8a(%rip),%rax
mov    (%rax),%eax
cmp    -0x8(%rbp),%eax
jge    13c4 <main+0x294>
lea    0xd8a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    0x2c6a(%rip),%rax
mov    (%rax),%eax
cmp    -0x8(%rbp),%eax
jge    13b6 <main+0x286>
mov    -0x10(%rbp),%rax
mov    0x2c54(%rip),%rcx
mov    (%rcx),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    0x2c46(%rip),%rdx
mov    %esi,(%rdx)
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rsi
lea    0xd63(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    136f <main+0x23f>
lea    0xcef(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    0x2c05(%rip),%rax
mov    (%rax),%edi
call   1050 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    0x2e7e(%rip),%rax
xor    %r15d,%r15d
jmp    118d <main+0x3d>
nopw   0x0(%rax,%rax,1)
lea    0xfa4(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r12d,%r15d
mov    %rbx,%rax
mov    %rbp,%rsi
mov    %r14d,%edi
mov    %rax,%rbx
mov    (%rax),%r12d
test   %r12d,%r12d
mov    $0x1,%eax
cmove  %eax,%r12d
movl   $0x0,0x4(%rsp)
mov    %edi,%r14d
mov    %rsi,%rbp
lea    0xf46(%rip),%rdx
lea    0x2e95(%rip),%rcx
lea    0x4(%rsp),%r8
call   1050 <getopt_long@plt>
mov    %eax,%r13d
lea    -0x30(%r13),%eax
cmp    $0x34,%eax
ja     11fc <main+0xac>
lea    0xe28(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
test   %r15d,%r15d
je     1170 <main+0x20>
cmp    %r12d,%r15d
je     1170 <main+0x20>
lea    0xfc3(%rip),%rdi
call   1040 <puts@plt>
jmp    1170 <main+0x20>
test   %r13d,%r13d
je     126b <main+0x11b>
cmp    $0xffffffff,%r13d
je     12ba <main+0x16a>
lea    0xf48(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1060 <printf@plt>
jmp    1184 <main+0x34>
lea    0xf84(%rip),%rdi
jmp    1231 <main+0xe1>
lea    0xf72(%rip),%rdi
call   1040 <puts@plt>
jmp    1184 <main+0x34>
mov    0x2db6(%rip),%rax
mov    (%rax),%rsi
lea    0xeda(%rip),%rdi
jmp    125f <main+0x10f>
mov    0x2da3(%rip),%rax
mov    (%rax),%rsi
lea    0xee1(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
jmp    1184 <main+0x34>
movslq 0x4(%rsp),%rax
shl    $0x5,%rax
lea    0x2dd5(%rip),%rcx
mov    0x10(%rax,%rcx,1),%rsi
lea    0xe7d(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2d63(%rip),%rax
mov    (%rax),%rsi
test   %rsi,%rsi
je     12ab <main+0x15b>
lea    0xe6a(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
jmp    1184 <main+0x34>
cmp    %r14d,(%rbx)
jge    1307 <main+0x1b7>
mov    %r14d,%r15d
lea    0xebb(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    (%rbx),%eax
cmp    %r14d,%eax
jge    12fd <main+0x1ad>
lea    0xec1(%rip),%r14
xchg   %ax,%ax
lea    0x1(%rax),%ecx
mov    %ecx,(%rbx)
cltq
mov    0x0(%rbp,%rax,8),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    (%rbx),%eax
cmp    %r15d,%eax
jl     12e0 <main+0x190>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x2cc2(%rip),%rax
mov    (%rax),%edi
call   1070 <exit@plt>

LLVM IR (-O0):
%struct.option = type { i8*, i8, i8*, i32, i32 }
@optind = global i32 0
@main.long_options = internal global [7 x %struct.option] [%struct.option { i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i8 -128, i8* null, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i32 0, i32 0), i8 -127, i8* null, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i32 0, i32 0), i8 -128, i8* null, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i32 0, i32 0), i8 -127, i8* null, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i32 0, i32 0), i8 -128, i8* null, i32 99, i32 0 }, %struct.option { i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i32 0, i32 0), i8 -128, i8* null, i32 0, i32 0 }, %struct.option zeroinitializer]
@.str = [4 x i8] c"add\00"
@.str.1 = [7 x i8] c"append\00"
@.str.2 = [7 x i8] c"delete\00"
@.str.3 = [8 x i8] c"verbose\00"
@.str.4 = [7 x i8] c"create\00"
@.str.5 = [5 x i8] c"file\00"
@.str.6 = [10 x i8] c"abc:d:012\00"
@.str.7 = [10 x i8] c"option %s\00"
@optarg = global i8* null
@.str.8 = [13 x i8] c" with arg %s\00"
@.str.9 = [2 x i8] c"\0A\00"
@.str.10 = [46 x i8] c"digits occur in two different argv-elements.\0A\00"
@.str.11 = [11 x i8] c"option %c\0A\00"
@.str.12 = [10 x i8] c"option a\0A\00"
@.str.13 = [10 x i8] c"option b\0A\00"
@.str.14 = [26 x i8] c"option c with value '%s'\0A\00"
@.str.15 = [26 x i8] c"option d with value '%s'\0A\00"
@.str.16 = [42 x i8] c"?? getopt returned character code 0%o ??\0A\00"
@.str.17 = [27 x i8] c"non-option ARGV-elements: \00"
@.str.18 = [4 x i8] c"%s \00"
@EXIT_SUCCESS = global i32 0
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
%9 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %7
br label %10
10: ; preds = %2, %67
%11 = load i32, i32* @optind
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = load i32, i32* @optind
br label %16
15: ; preds = %10
br label %16
16: ; preds = %15, %13
%17 = phi i32 [ %14, %13 ], [ 1, %15 ]
store i32 %17, i32* %8
store i32 0, i32* %9
%18 = load i32, i32* %4
%19 = load i8**, i8*** %5
%20 = call i32 @getopt_long(i32 %18, i8** %19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), %struct.option* getelementptr inbounds ([7 x %struct.option], [7 x %struct.option]* @main.long_options, i64 0, i64 0), i32* %9)
store i32 %20, i32* %6
%21 = load i32, i32* %6
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %24
23: ; preds = %16
br label %68
24: ; preds = %16
%25 = load i32, i32* %6
switch i32 %25, label %64 [
i32 0, label %26
i32 48, label %40
i32 49, label %40
i32 50, label %40
i32 97, label %53
i32 98, label %55
i32 99, label %57
i32 100, label %60
i32 63, label %63
]
26: ; preds = %24
%27 = load i32, i32* %9
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [7 x %struct.option], [7 x %struct.option]* @main.long_options, i64 0, i64 %28
%30 = getelementptr inbounds %struct.option, %struct.option* %29, i32 0, i32 2
%31 = load i8*, i8** %30
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i8* %31)
%33 = load i8*, i8** @optarg
%34 = icmp ne i8* %33, null
br i1 %34, label %35, label %38
35: ; preds = %26
%36 = load i8*, i8** @optarg
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i8* %36)
br label %38
38: ; preds = %35, %26
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %67
40: ; preds = %24, %24, %24
%41 = load i32, i32* %7
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %49
43: ; preds = %40
%44 = load i32, i32* %7
%45 = load i32, i32* %8
%46 = icmp ne i32 %44, %45
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.10, i64 0, i64 0))
br label %49
49: ; preds = %47, %43, %40
%50 = load i32, i32* %8
store i32 %50, i32* %7
%51 = load i32, i32* %6
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i32 %51)
br label %67
53: ; preds = %24
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0))
br label %67
55: ; preds = %24
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
br label %67
57: ; preds = %24
%58 = load i8*, i8** @optarg
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.14, i64 0, i64 0), i8* %58)
br label %67
60: ; preds = %24
%61 = load i8*, i8** @optarg
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.15, i64 0, i64 0), i8* %61)
br label %67
63: ; preds = %24
br label %67
64: ; preds = %24
%65 = load i32, i32* %6
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.16, i64 0, i64 0), i32 %65)
br label %67
67: ; preds = %64, %63, %60, %57, %55, %53, %49, %38
br label %10
68: ; preds = %23
%69 = load i32, i32* @optind
%70 = load i32, i32* %4
%71 = icmp slt i32 %69, %70
br i1 %71, label %72, label %88
72: ; preds = %68
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.17, i64 0, i64 0))
br label %74
74: ; preds = %78, %72
%75 = load i32, i32* @optind
%76 = load i32, i32* %4
%77 = icmp slt i32 %75, %76
br i1 %77, label %78, label %86
78: ; preds = %74
%79 = load i8**, i8*** %5
%80 = load i32, i32* @optind
%81 = add nsw i32 %80, 1
store i32 %81, i32* @optind
%82 = sext i32 %80 to i64
%83 = getelementptr inbounds i8*, i8** %79, i64 %82
%84 = load i8*, i8** %83
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8* %84)
br label %74
86: ; preds = %74
%87 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %88
88: ; preds = %86, %68
%89 = load i32, i32* @EXIT_SUCCESS
%90 = call i32 @exit(i32 %89)
unreachable
}

LLVM IR (-O2):
%struct.option = type { i8*, i8, i8*, i32, i32 }
@optind = global i32 0
@main.long_options = internal global [7 x %struct.option] [%struct.option { i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i8 -128, i8* null, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i32 0, i32 0), i8 -127, i8* null, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i32 0, i32 0), i8 -128, i8* null, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i32 0, i32 0), i8 -127, i8* null, i32 0, i32 0 }, %struct.option { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i32 0, i32 0), i8 -128, i8* null, i32 99, i32 0 }, %struct.option { i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i32 0, i32 0), i8 -128, i8* null, i32 0, i32 0 }, %struct.option zeroinitializer]
@.str = [4 x i8] c"add\00"
@.str.1 = [7 x i8] c"append\00"
@.str.2 = [7 x i8] c"delete\00"
@.str.3 = [8 x i8] c"verbose\00"
@.str.4 = [7 x i8] c"create\00"
@.str.5 = [5 x i8] c"file\00"
@.str.6 = [10 x i8] c"abc:d:012\00"
@.str.7 = [10 x i8] c"option %s\00"
@optarg = global i8* null
@.str.8 = [13 x i8] c" with arg %s\00"
@.str.11 = [11 x i8] c"option %c\0A\00"
@.str.14 = [26 x i8] c"option c with value '%s'\0A\00"
@.str.15 = [26 x i8] c"option d with value '%s'\0A\00"
@.str.16 = [42 x i8] c"?? getopt returned character code 0%o ??\0A\00"
@.str.17 = [27 x i8] c"non-option ARGV-elements: \00"
@.str.18 = [4 x i8] c"%s \00"
@EXIT_SUCCESS = global i32 0
@str = [9 x i8] c"option b\00"
@str.19 = [9 x i8] c"option a\00"
@str.20 = [45 x i8] c"digits occur in two different argv-elements.\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = bitcast i32* %3 to i8*
br label %5
5: ; preds = %43, %2
%6 = phi i32 [ 0, %2 ], [ %44, %43 ]
%7 = load i32, i32* @optind
%8 = icmp eq i32 %7, 0
%9 = select i1 %8, i32 1, i32 %7
store i32 0, i32* %3
%10 = call i32 @getopt_long(i32 %0, i8** %1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), %struct.option* getelementptr inbounds ([7 x %struct.option], [7 x %struct.option]* @main.long_options, i64 0, i64 0), i32* %3)
switch i32 %10, label %41 [
i32 -1, label %45
i32 0, label %11
i32 48, label %23
i32 49, label %23
i32 50, label %23
i32 97, label %31
i32 98, label %33
i32 99, label %35
i32 100, label %38
i32 63, label %43
]
11: ; preds = %5
%12 = load i32, i32* %3
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [7 x %struct.option], [7 x %struct.option]* @main.long_options, i64 0, i64 %13, i32 2
%15 = load i8*, i8** %14
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i8* %15)
%17 = load i8*, i8** @optarg
%18 = icmp eq i8* %17, null
br i1 %18, label %21, label %19
19: ; preds = %11
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i8* %17)
br label %21
21: ; preds = %19, %11
%22 = call i32 @putchar(i32 10)
br label %43
23: ; preds = %5, %5, %5
%24 = icmp eq i32 %6, 0
%25 = icmp eq i32 %6, %9
%26 = select i1 %24, i1 true, i1 %25
br i1 %26, label %29, label %27
27: ; preds = %23
%28 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.20, i64 0, i64 0))
br label %29
29: ; preds = %27, %23
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i32 %10)
br label %43
31: ; preds = %5
%32 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.19, i64 0, i64 0))
br label %43
33: ; preds = %5
%34 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str, i64 0, i64 0))
br label %43
35: ; preds = %5
%36 = load i8*, i8** @optarg
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.14, i64 0, i64 0), i8* %36)
br label %43
38: ; preds = %5
%39 = load i8*, i8** @optarg
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.15, i64 0, i64 0), i8* %39)
br label %43
41: ; preds = %5
%42 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.16, i64 0, i64 0), i32 %10)
br label %43
43: ; preds = %21, %29, %31, %33, %35, %38, %41, %5
%44 = phi i32 [ %6, %41 ], [ %6, %38 ], [ %6, %35 ], [ %6, %33 ], [ %6, %31 ], [ %9, %29 ], [ %6, %21 ], [ %6, %5 ]
br label %5
45: ; preds = %5
%46 = load i32, i32* @optind
%47 = icmp slt i32 %46, %0
br i1 %47, label %48, label %63
48: ; preds = %45
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.17, i64 0, i64 0))
%50 = load i32, i32* @optind
%51 = icmp slt i32 %50, %0
br i1 %51, label %52, label %61
52: ; preds = %48, %52
%53 = phi i32 [ %59, %52 ], [ %50, %48 ]
%54 = add nsw i32 %53, 1
store i32 %54, i32* @optind
%55 = sext i32 %53 to i64
%56 = getelementptr inbounds i8*, i8** %1, i64 %55
%57 = load i8*, i8** %56
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8* %57)
%59 = load i32, i32* @optind
%60 = icmp slt i32 %59, %0
br i1 %60, label %52, label %61
61: ; preds = %52, %48
%62 = call i32 @putchar(i32 10)
br label %63
63: ; preds = %61, %45
%64 = load i32, i32* @EXIT_SUCCESS
%65 = call i32 @exit(i32 %64)
unreachable
}