#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;
  int member_1;
  int *member_2;
  char member_3;
};

/* Variables and functions */
char getopt_long(int, char **, char *, struct option *, int *);
char *optarg;
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, char *argv[]) {
  char ch;
  int long_opt_index = 0;
  int longval;
  char *my_argument;
  struct option long_options[] = {{"add", 0, NULL, 'a'},
                                  {"back", 0, NULL, 'b'},
                                  {"check", 0, &longval, 'c'},
                                  {"extra", 1, &longval, 'x'},
                                  {0, 0, 0, 0}};
  while ((ch = getopt_long(argc, argv, "abchx:", long_options,
                           &long_opt_index)) != -1) {
    switch (ch) {
    case 'a':
      printf("Option a, or --add.\n");
      break;
    case 'b':
      printf("Option b, or --back.\n");
      break;
    case 'c':
      printf("Option c, not --check.\n");
      break;
    case 'x':
      my_argument = optarg;
      printf("Option x, not --extra. Argument %s.\n", my_argument);
      break;
    case 0:
      switch (longval) {
      case 'c':
        printf("Option --check, not -c (Array index: %d).\n", long_opt_index);
        break;
      case 'x':
        my_argument = optarg;
        printf("Option --extra, not -x (Array index: %d). Argument: %s.\n",
               long_opt_index, my_argument);
        break;
      }
      break;
    case 'h':
      printf("Usage: getopt-long [-a or --add] [-b or --back] [-c or --check] "
             "[-x or --extra]\n");
      break;
    default:
      printf("You, lamah!\n");
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x18(%rbp)
lea    -0xd0(%rbp),%rdi
lea    0xea2(%rip),%rax
mov    %rax,-0xd0(%rbp)
movl   $0x0,-0xc8(%rbp)
movq   $0x0,-0xc0(%rbp)
movb   $0x61,-0xb8(%rbp)
add    $0x20,%rdi
lea    0xe78(%rip),%rax
mov    %rax,-0xb0(%rbp)
movl   $0x0,-0xa8(%rbp)
movq   $0x0,-0xa0(%rbp)
movb   $0x62,-0x98(%rbp)
add    $0x20,%rdi
lea    0xe4f(%rip),%rax
mov    %rax,-0x90(%rbp)
movl   $0x0,-0x88(%rbp)
lea    -0x1c(%rbp),%rax
mov    %rax,-0x80(%rbp)
movb   $0x63,-0x78(%rbp)
add    $0x20,%rdi
lea    0xe2d(%rip),%rax
mov    %rax,-0x70(%rbp)
movl   $0x1,-0x68(%rbp)
lea    -0x1c(%rbp),%rax
mov    %rax,-0x60(%rbp)
movb   $0x78,-0x58(%rbp)
add    $0x20,%rdi
xor    %esi,%esi
mov    $0x20,%edx
call   1050 <memset@plt>
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    -0xd0(%rbp),%rcx
lea    0xdf7(%rip),%rdx
lea    -0x18(%rbp),%r8
call   1030 <getopt_long@plt>
mov    %al,-0x11(%rbp)
movsbl %al,%eax
cmp    $0xffffffff,%eax
je     139e <main+0x26e>
movsbl -0x11(%rbp),%eax
mov    %eax,-0xd4(%rbp)
test   %eax,%eax
je     130f <main+0x1df>
jmp    124d <main+0x11d>
mov    -0xd4(%rbp),%eax
sub    $0x61,%eax
je     12b1 <main+0x181>
jmp    1261 <main+0x131>
mov    -0xd4(%rbp),%eax
sub    $0x62,%eax
je     12c4 <main+0x194>
jmp    1275 <main+0x145>
mov    -0xd4(%rbp),%eax
sub    $0x63,%eax
je     12d7 <main+0x1a7>
jmp    1289 <main+0x159>
mov    -0xd4(%rbp),%eax
sub    $0x68,%eax
je     1378 <main+0x248>
jmp    129d <main+0x16d>
mov    -0xd4(%rbp),%eax
sub    $0x78,%eax
je     12ea <main+0x1ba>
jmp    138b <main+0x25b>
lea    0xd64(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1399 <main+0x269>
lea    0xd66(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1399 <main+0x269>
lea    0xd69(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1399 <main+0x269>
mov    0x2d07(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rsi
lea    0xd5c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1399 <main+0x269>
mov    -0x1c(%rbp),%eax
mov    %eax,-0xd8(%rbp)
sub    $0x63,%eax
je     133a <main+0x20a>
jmp    1326 <main+0x1f6>
mov    -0xd8(%rbp),%eax
sub    $0x78,%eax
je     1350 <main+0x220>
jmp    1373 <main+0x243>
mov    -0x18(%rbp),%esi
lea    0xd40(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1373 <main+0x243>
mov    0x2ca1(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x28(%rbp)
mov    -0x18(%rbp),%esi
mov    -0x28(%rbp),%rdx
lea    0xd43(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1399 <main+0x269>
lea    0xd69(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1399 <main+0x269>
lea    0xda7(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1209 <main+0xd9>
xor    %eax,%eax
add    $0xe0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xb8,%rsp
mov    %rsi,%rbx
mov    %edi,%ebp
movl   $0x0,0x8(%rsp)
lea    0xf0b(%rip),%rax
mov    %rax,0x10(%rsp)
movl   $0x0,0x18(%rsp)
movq   $0x0,0x20(%rsp)
movb   $0x61,0x28(%rsp)
lea    0xeed(%rip),%rax
mov    %rax,0x30(%rsp)
movl   $0x0,0x38(%rsp)
movq   $0x0,0x40(%rsp)
movb   $0x62,0x48(%rsp)
lea    0xed0(%rip),%rax
mov    %rax,0x50(%rsp)
movl   $0x0,0x58(%rsp)
lea    0xc(%rsp),%rax
mov    %rax,0x60(%rsp)
movb   $0x63,0x68(%rsp)
lea    0xeb3(%rip),%rcx
mov    %rcx,0x70(%rsp)
movl   $0x1,0x78(%rsp)
mov    %rax,0x80(%rsp)
movb   $0x78,0x88(%rsp)
78
xorps  %xmm0,%xmm0
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0xa0(%rsp)
lea    0xe82(%rip),%rdx
lea    0x10(%rsp),%rcx
lea    0x8(%rsp),%r8
call   1040 <getopt_long@plt>
cmp    $0xff,%al
je     12f2 <main+0x1c2>
lea    0xe64(%rip),%r12
lea    0x10(%rsp),%r13
lea    0x8(%rsp),%r14
lea    0xdde(%rip),%r15
jmp    124b <main+0x11b>
lea    0xf6a(%rip),%rdi
call   1030 <puts@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %r12,%rdx
mov    %r13,%rcx
mov    %r14,%r8
call   1040 <getopt_long@plt>
cmp    $0xff,%al
je     12f2 <main+0x1c2>
movsbl %al,%eax
lea    -0x61(%rax),%ecx
cmp    $0x17,%ecx
ja     1270 <main+0x140>
movslq (%r15,%rcx,4),%rax
add    %r15,%rax
jmp    *%rax
lea    0xf1b(%rip),%rdi
jmp    122b <main+0xfb>
nopl   0x0(%rax,%rax,1)
test   %eax,%eax
jne    1224 <main+0xf4>
mov    0xc(%rsp),%eax
cmp    $0x78,%eax
je     12d1 <main+0x1a1>
cmp    $0x63,%eax
jne    1230 <main+0x100>
mov    0x8(%rsp),%esi
lea    0xe14(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    1230 <main+0x100>
lea    0xecf(%rip),%rdi
jmp    122b <main+0xfb>
lea    0xeaf(%rip),%rdi
jmp    122b <main+0xfb>
lea    0xe56(%rip),%rdi
jmp    122b <main+0xfb>
mov    0x2d3d(%rip),%rax
mov    (%rax),%rsi
lea    0xdb7(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    1230 <main+0x100>
mov    0x2d20(%rip),%rax
mov    (%rax),%rdx
mov    0x8(%rsp),%esi
lea    0xde6(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    1230 <main+0x100>
xor    %eax,%eax
add    $0xb8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.option = type { i8*, i32, i32*, i8 }
@.str = [4 x i8] c"add\00"
@.str.1 = [5 x i8] c"back\00"
@.str.2 = [6 x i8] c"check\00"
@.str.3 = [6 x i8] c"extra\00"
@.str.4 = [7 x i8] c"abchx:\00"
@.str.5 = [21 x i8] c"Option a, or --add.\0A\00"
@.str.6 = [22 x i8] c"Option b, or --back.\0A\00"
@.str.7 = [24 x i8] c"Option c, not --check.\0A\00"
@optarg = global i8* null
@.str.8 = [37 x i8] c"Option x, not --extra. Argument %s.\0A\00"
@.str.9 = [43 x i8] c"Option --check, not -c (Array index: %d).\0A\00"
@.str.10 = [57 x i8] c"Option --extra, not -x (Array index: %d). Argument: %s.\0A\00"
@.str.11 = [81 x i8] c"Usage: getopt-long [-a or --add] [-b or --back] [-c or --check] [-x or --extra]\0A\00"
@.str.12 = [13 x i8] c"You, lamah!\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8
%7 = alloca i32
%8 = alloca i32
%9 = alloca i8*
%10 = alloca [5 x %struct.option]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %7
%11 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %10, i64 0, i64 0
%12 = getelementptr inbounds %struct.option, %struct.option* %11, i32 0, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8** %12
%13 = getelementptr inbounds %struct.option, %struct.option* %11, i32 0, i32 1
store i32 0, i32* %13
%14 = getelementptr inbounds %struct.option, %struct.option* %11, i32 0, i32 2
store i32* null, i32** %14
%15 = getelementptr inbounds %struct.option, %struct.option* %11, i32 0, i32 3
store i8 97, i8* %15
%16 = getelementptr inbounds %struct.option, %struct.option* %11, i64 1
%17 = getelementptr inbounds %struct.option, %struct.option* %16, i32 0, i32 0
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8** %17
%18 = getelementptr inbounds %struct.option, %struct.option* %16, i32 0, i32 1
store i32 0, i32* %18
%19 = getelementptr inbounds %struct.option, %struct.option* %16, i32 0, i32 2
store i32* null, i32** %19
%20 = getelementptr inbounds %struct.option, %struct.option* %16, i32 0, i32 3
store i8 98, i8* %20
%21 = getelementptr inbounds %struct.option, %struct.option* %16, i64 1
%22 = getelementptr inbounds %struct.option, %struct.option* %21, i32 0, i32 0
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8** %22
%23 = getelementptr inbounds %struct.option, %struct.option* %21, i32 0, i32 1
store i32 0, i32* %23
%24 = getelementptr inbounds %struct.option, %struct.option* %21, i32 0, i32 2
store i32* %8, i32** %24
%25 = getelementptr inbounds %struct.option, %struct.option* %21, i32 0, i32 3
store i8 99, i8* %25
%26 = getelementptr inbounds %struct.option, %struct.option* %21, i64 1
%27 = getelementptr inbounds %struct.option, %struct.option* %26, i32 0, i32 0
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %27
%28 = getelementptr inbounds %struct.option, %struct.option* %26, i32 0, i32 1
store i32 1, i32* %28
%29 = getelementptr inbounds %struct.option, %struct.option* %26, i32 0, i32 2
store i32* %8, i32** %29
%30 = getelementptr inbounds %struct.option, %struct.option* %26, i32 0, i32 3
store i8 120, i8* %30
%31 = getelementptr inbounds %struct.option, %struct.option* %26, i64 1
%32 = bitcast %struct.option* %31 to i8*
br label %33
33: ; preds = %68, %2
%34 = load i32, i32* %4
%35 = load i8**, i8*** %5
%36 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %10, i64 0, i64 0
%37 = call signext i8 @getopt_long(i32 %34, i8** %35, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), %struct.option* %36, i32* %7)
store i8 %37, i8* %6
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, -1
br i1 %39, label %40, label %69
40: ; preds = %33
%41 = load i8, i8* %6
%42 = sext i8 %41 to i32
switch i32 %42, label %66 [
i32 97, label %43
i32 98, label %45
i32 99, label %47
i32 120, label %49
i32 0, label %53
i32 104, label %64
]
43: ; preds = %40
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
br label %68
45: ; preds = %40
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
br label %68
47: ; preds = %40
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0))
br label %68
49: ; preds = %40
%50 = load i8*, i8** @optarg
store i8* %50, i8** %9
%51 = load i8*, i8** %9
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0), i8* %51)
br label %68
53: ; preds = %40
%54 = load i32, i32* %8
switch i32 %54, label %63 [
i32 99, label %55
i32 120, label %58
]
55: ; preds = %53
%56 = load i32, i32* %7
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.9, i64 0, i64 0), i32 %56)
br label %63
58: ; preds = %53
%59 = load i8*, i8** @optarg
store i8* %59, i8** %9
%60 = load i32, i32* %7
%61 = load i8*, i8** %9
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.10, i64 0, i64 0), i32 %60, i8* %61)
br label %63
63: ; preds = %53, %58, %55
br label %68
64: ; preds = %40
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.11, i64 0, i64 0))
br label %68
66: ; preds = %40
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0))
br label %68
68: ; preds = %66, %64, %63, %49, %47, %45, %43
br label %33
69: ; preds = %33
ret i32 0
}

LLVM IR (-O2):
%struct.option = type { i8*, i32, i32*, i8 }
@.str = [4 x i8] c"add\00"
@.str.1 = [5 x i8] c"back\00"
@.str.2 = [6 x i8] c"check\00"
@.str.3 = [6 x i8] c"extra\00"
@.str.4 = [7 x i8] c"abchx:\00"
@optarg = global i8* null
@.str.8 = [37 x i8] c"Option x, not --extra. Argument %s.\0A\00"
@.str.9 = [43 x i8] c"Option --check, not -c (Array index: %d).\0A\00"
@.str.10 = [57 x i8] c"Option --extra, not -x (Array index: %d). Argument: %s.\0A\00"
@str = [80 x i8] c"Usage: getopt-long [-a or --add] [-b or --back] [-c or --check] [-x or --extra]\00"
@str.13 = [23 x i8] c"Option c, not --check.\00"
@str.14 = [21 x i8] c"Option b, or --back.\00"
@str.15 = [20 x i8] c"Option a, or --add.\00"
@str.16 = [12 x i8] c"You, lamah!\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca [5 x %struct.option]
%6 = bitcast i32* %3 to i8*
store i32 0, i32* %3
%7 = bitcast i32* %4 to i8*
%8 = bitcast [5 x %struct.option]* %5 to i8*
%9 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 0
%10 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 0, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8** %10
%11 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 0, i32 1
store i32 0, i32* %11
%12 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 0, i32 2
store i32* null, i32** %12
%13 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 0, i32 3
store i8 97, i8* %13
%14 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 1, i32 0
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8** %14
%15 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 1, i32 1
store i32 0, i32* %15
%16 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 1, i32 2
store i32* null, i32** %16
%17 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 1, i32 3
store i8 98, i8* %17
%18 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 2, i32 0
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8** %18
%19 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 2, i32 1
store i32 0, i32* %19
%20 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 2, i32 2
store i32* %4, i32** %20
%21 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 2, i32 3
store i8 99, i8* %21
%22 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 3, i32 0
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %22
%23 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 3, i32 1
store i32 1, i32* %23
%24 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 3, i32 2
store i32* %4, i32** %24
%25 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 3, i32 3
store i8 120, i8* %25
%26 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %5, i64 0, i64 4
%27 = bitcast %struct.option* %26 to i8*
%28 = call signext i8 @getopt_long(i32 %0, i8** %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), %struct.option* %9, i32* %3)
%29 = icmp eq i8 %28, -1
br i1 %29, label %58, label %30
30: ; preds = %2, %55
%31 = phi i8 [ %56, %55 ], [ %28, %2 ]
%32 = sext i8 %31 to i32
switch i32 %32, label %53 [
i32 97, label %33
i32 98, label %35
i32 99, label %37
i32 120, label %39
i32 0, label %42
i32 104, label %51
]
33: ; preds = %30
%34 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.15, i64 0, i64 0))
br label %55
35: ; preds = %30
%36 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.14, i64 0, i64 0))
br label %55
37: ; preds = %30
%38 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.13, i64 0, i64 0))
br label %55
39: ; preds = %30
%40 = load i8*, i8** @optarg
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0), i8* %40)
br label %55
42: ; preds = %30
%43 = load i32, i32* %4
switch i32 %43, label %55 [
i32 99, label %44
i32 120, label %47
]
44: ; preds = %42
%45 = load i32, i32* %3
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.9, i64 0, i64 0), i32 %45)
br label %55
47: ; preds = %42
%48 = load i8*, i8** @optarg
%49 = load i32, i32* %3
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.10, i64 0, i64 0), i32 %49, i8* %48)
br label %55
51: ; preds = %30
%52 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str, i64 0, i64 0))
br label %55
53: ; preds = %30
%54 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.16, i64 0, i64 0))
br label %55
55: ; preds = %44, %47, %42, %53, %51, %39, %37, %35, %33
%56 = call signext i8 @getopt_long(i32 %0, i8** %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), %struct.option* %9, i32* %3)
%57 = icmp eq i8 %56, -1
br i1 %57, label %58, label %30
58: ; preds = %55, %2
ret i32 0
}