#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 /*<<< orphan*/ errno;
scalar_t__ find_tuple(int, int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
int getopt(int, char **, char *);
char *optarg;
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stderr;
long strtoll(char *, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ usage();
int main(int argc, char **argv) {
  int c = 0;
  long i_start_arg = 1;
  long i_end_arg = 256;
  int i_start = 1;
  int i_end = 256;
  for (int k = 0; k < argc; ++k) {
    printf("%s ", argv[k]);
  }
  printf("\n");
  while ((c = getopt(argc, argv, "i:j:")) != -1) {
    switch (c) {
    case 'i':
      errno = 0;
      i_start_arg = strtoll(optarg, 0, 0);
      if (errno) {
        fprintf(stderr, "bad start index %s\n", optarg);
        return 1;
      }
      break;
    case 'j':
      errno = 0;
      i_end_arg = strtoll(optarg, 0, 0);
      if (errno) {
        fprintf(stderr, "bad end index %s\n", optarg);
        return 1;
      }
      break;
    default:
      usage();
      break;
    }
  }
  if (i_start_arg <= 0 || i_start_arg > 256) {
    printf("truncating start to (0, %d]\n", 256);
    i_start_arg = ((((i_start_arg) > (1) ? (i_start_arg) : (1))) < (256)
                       ? (((i_start_arg) > (1) ? (i_start_arg) : (1)))
                       : (256));
  }
  if (i_end_arg <= 0 || i_end_arg > 256) {
    printf("truncating end to (0, %d]\n", 256);
    i_end_arg = ((((i_end_arg) > (1) ? (i_end_arg) : (1))) < (256)
                     ? (((i_end_arg) > (1) ? (i_end_arg) : (1)))
                     : (256));
  }
  i_start = i_start_arg;
  i_end = i_end_arg;
  for (int i = i_start; i <= i_end; ++i) {
    if (find_tuple(i, 1) < 0) {
      printf("CANNOT FIND SUITABLE CANDIDATE FOR i = %03d\n", i);
    }
  }
  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   $0x0,-0x14(%rbp)
movq   $0x1,-0x20(%rbp)
movq   $0x100,-0x28(%rbp)
movl   $0x1,-0x2c(%rbp)
movl   $0x100,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    11d6 <main+0x76>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
lea    0xe3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11a2 <main+0x42>
lea    0xe88(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe12(%rip),%rdx
call   1080 <getopt@plt>
mov    %eax,-0x14(%rbp)
cmp    $0xffffffff,%eax
je     12fc <main+0x19c>
mov    -0x14(%rbp),%eax
mov    %eax,-0x3c(%rbp)
sub    $0x69,%eax
je     1228 <main+0xc8>
jmp    1217 <main+0xb7>
mov    -0x3c(%rbp),%eax
sub    $0x6a,%eax
je     128c <main+0x12c>
jmp    12f0 <main+0x190>
mov    0x2da1(%rip),%rax
movl   $0x0,(%rax)
mov    0x2dbc(%rip),%rax
mov    (%rax),%rdi
xor    %edx,%edx
mov    %edx,%esi
call   1040 <strtoll@plt>
mov    %rax,-0x20(%rbp)
mov    0x2d7d(%rip),%rax
cmpl   $0x0,(%rax)
je     1287 <main+0x127>
mov    0x2d75(%rip),%rax
mov    (%rax),%edi
mov    0x2d8c(%rip),%rax
mov    (%rax),%rdx
lea    0xd93(%rip),%rsi
call   1050 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    14b4 <main+0x354>
jmp    12f7 <main+0x197>
mov    0x2d3d(%rip),%rax
movl   $0x0,(%rax)
mov    0x2d58(%rip),%rax
mov    (%rax),%rdi
xor    %edx,%edx
mov    %edx,%esi
call   1040 <strtoll@plt>
mov    %rax,-0x28(%rbp)
mov    0x2d19(%rip),%rax
cmpl   $0x0,(%rax)
je     12eb <main+0x18b>
mov    0x2d11(%rip),%rax
mov    (%rax),%edi
mov    0x2d28(%rip),%rax
mov    (%rax),%rdx
lea    0xd43(%rip),%rsi
call   1050 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    14b4 <main+0x354>
jmp    12f7 <main+0x197>
mov    $0x0,%al
call   1070 <usage@plt>
jmp    11e4 <main+0x84>
cmpq   $0x0,-0x20(%rbp)
jle    1315 <main+0x1b5>
cmpq   $0x100,-0x20(%rbp)
jle    13a7 <main+0x247>
lea    0xd13(%rip),%rdi
mov    $0x100,%esi
mov    $0x0,%al
call   1030 <printf@plt>
cmpq   $0x1,-0x20(%rbp)
jle    1340 <main+0x1e0>
mov    -0x20(%rbp),%rax
mov    %rax,-0x48(%rbp)
jmp    134e <main+0x1ee>
mov    $0x1,%eax
mov    %rax,-0x48(%rbp)
jmp    134e <main+0x1ee>
mov    -0x48(%rbp),%rax
cmp    $0x100,%rax
jge    1391 <main+0x231>
cmpq   $0x1,-0x20(%rbp)
jle    1376 <main+0x216>
mov    -0x20(%rbp),%rax
mov    %rax,-0x50(%rbp)
jmp    1384 <main+0x224>
mov    $0x1,%eax
mov    %rax,-0x50(%rbp)
jmp    1384 <main+0x224>
mov    -0x50(%rbp),%rax
mov    %rax,-0x58(%rbp)
jmp    139f <main+0x23f>
mov    $0x100,%eax
mov    %rax,-0x58(%rbp)
jmp    139f <main+0x23f>
mov    -0x58(%rbp),%rax
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x28(%rbp)
jle    13c0 <main+0x260>
cmpq   $0x100,-0x28(%rbp)
jle    1452 <main+0x2f2>
lea    0xc85(%rip),%rdi
mov    $0x100,%esi
mov    $0x0,%al
call   1030 <printf@plt>
cmpq   $0x1,-0x28(%rbp)
jle    13eb <main+0x28b>
mov    -0x28(%rbp),%rax
mov    %rax,-0x60(%rbp)
jmp    13f9 <main+0x299>
mov    $0x1,%eax
mov    %rax,-0x60(%rbp)
jmp    13f9 <main+0x299>
mov    -0x60(%rbp),%rax
cmp    $0x100,%rax
jge    143c <main+0x2dc>
cmpq   $0x1,-0x28(%rbp)
jle    1421 <main+0x2c1>
mov    -0x28(%rbp),%rax
mov    %rax,-0x68(%rbp)
jmp    142f <main+0x2cf>
mov    $0x1,%eax
mov    %rax,-0x68(%rbp)
jmp    142f <main+0x2cf>
mov    -0x68(%rbp),%rax
mov    %rax,-0x70(%rbp)
jmp    144a <main+0x2ea>
mov    $0x100,%eax
mov    %rax,-0x70(%rbp)
jmp    144a <main+0x2ea>
mov    -0x70(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x20(%rbp),%rax
mov    %eax,-0x2c(%rbp)
mov    -0x28(%rbp),%rax
mov    %eax,-0x30(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x30(%rbp),%eax
jg     14ad <main+0x34d>
mov    -0x38(%rbp),%edi
mov    $0x1,%esi
call   1060 <find_tuple@plt>
cmp    $0x0,%rax
jge    149a <main+0x33a>
mov    -0x38(%rbp),%esi
lea    0xbd4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    149f <main+0x33f>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1466 <main+0x306>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r15
mov    %edi,%r12d
test   %edi,%edi
jle    11b7 <main+0x47>
mov    %r12d,%ebx
lea    0xe71(%rip),%r14
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    (%r15,%rbp,8),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%rbx
jne    11a0 <main+0x30>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x100,%r14d
mov    $0x1,%ebx
lea    0xe31(%rip),%r13
mov    0x2df6(%rip),%rbp
nopw   0x0(%rax,%rax,1)
mov    %r12d,%edi
mov    %r15,%rsi
mov    %r13,%rdx
call   1090 <getopt@plt>
cmp    $0xffffffff,%eax
je     125d <main+0xed>
cmp    $0x6a,%eax
je     1206 <main+0x96>
cmp    $0x69,%eax
je     122e <main+0xbe>
xor    %eax,%eax
call   1080 <usage@plt>
jmp    11e0 <main+0x70>
movl   $0x0,0x0(%rbp)
mov    0x2de4(%rip),%rax
mov    (%rax),%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1050 <strtoll@plt>
mov    %rax,%r14
cmpl   $0x0,0x0(%rbp)
je     11e0 <main+0x70>
jmp    1328 <main+0x1b8>
movl   $0x0,0x0(%rbp)
mov    0x2dbc(%rip),%rax
mov    (%rax),%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1050 <strtoll@plt>
mov    %rax,%rbx
cmpl   $0x0,0x0(%rbp)
je     11e0 <main+0x70>
lea    0xdb1(%rip),%rsi
jmp    132f <main+0x1bf>
lea    -0x101(%rbx),%rax
cmp    $0xfffffffffffffeff,%rax
ja     129a <main+0x12a>
lea    0xdbc(%rip),%rdi
mov    $0x100,%esi
xor    %eax,%eax
call   1040 <printf@plt>
test   %rbx,%rbx
mov    $0x1,%eax
cmovg  %rbx,%rax
cmp    $0x100,%rax
mov    $0x100,%ebx
cmovb  %rax,%rbx
lea    -0x101(%r14),%rax
cmp    $0xfffffffffffffeff,%rax
ja     12d8 <main+0x168>
lea    0xd9c(%rip),%rdi
mov    $0x100,%esi
xor    %eax,%eax
call   1040 <printf@plt>
test   %r14,%r14
mov    $0x1,%eax
cmovg  %r14,%rax
cmp    $0x100,%rax
mov    $0x100,%r14d
cmovb  %rax,%r14
xor    %eax,%eax
cmp    %r14d,%ebx
ja     1319 <main+0x1a9>
add    $0x1,%r14d
lea    0xd7d(%rip),%rbp
jmp    12f8 <main+0x188>
nopl   0x0(%rax)
add    $0x1,%ebx
cmp    %ebx,%r14d
je     1317 <main+0x1a7>
mov    %ebx,%edi
mov    $0x1,%esi
call   1070 <find_tuple@plt>
test   %rax,%rax
jns    12f0 <main+0x180>
mov    %rbp,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    12f0 <main+0x180>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xcee(%rip),%rsi
mov    0x2ca2(%rip),%rax
mov    (%rax),%edi
mov    0x2cb9(%rip),%rax
mov    (%rax),%rdx
call   1060 <fprintf@plt>
mov    $0x1,%eax
jmp    1319 <main+0x1a9>

LLVM IR (-O0):
@.str = [4 x i8] c"%s \00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [5 x i8] c"i:j:\00"
@errno = global i32 0
@optarg = global i8* null
@stderr = global i32 0
@.str.3 = [20 x i8] c"bad start index %s\0A\00"
@.str.4 = [18 x i8] c"bad end index %s\0A\00"
@.str.5 = [29 x i8] c"truncating start to (0, %d]\0A\00"
@.str.6 = [27 x i8] c"truncating end to (0, %d]\0A\00"
@.str.7 = [45 x i8] c"CANNOT FIND SUITABLE CANDIDATE FOR i = %03d\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i64
%8 = alloca i64
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
store i64 1, i64* %7
store i64 256, i64* %8
store i32 1, i32* %9
store i32 256, i32* %10
store i32 0, i32* %11
br label %13
13: ; preds = %24, %2
%14 = load i32, i32* %11
%15 = load i32, i32* %4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %27
17: ; preds = %13
%18 = load i8**, i8*** %5
%19 = load i32, i32* %11
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8*, i8** %18, i64 %20
%22 = load i8*, i8** %21
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %22)
br label %24
24: ; preds = %17
%25 = load i32, i32* %11
%26 = add nsw i32 %25, 1
store i32 %26, i32* %11
br label %13
27: ; preds = %13
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %29
29: ; preds = %58, %27
%30 = load i32, i32* %4
%31 = load i8**, i8*** %5
%32 = call i32 @getopt(i32 %30, i8** %31, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
store i32 %32, i32* %6
%33 = icmp ne i32 %32, -1
br i1 %33, label %34, label %59
34: ; preds = %29
%35 = load i32, i32* %6
switch i32 %35, label %56 [
i32 105, label %36
i32 106, label %46
]
36: ; preds = %34
store i32 0, i32* @errno
%37 = load i8*, i8** @optarg
%38 = call i64 @strtoll(i8* %37, i32 0, i32 0)
store i64 %38, i64* %7
%39 = load i32, i32* @errno
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %36
%42 = load i32, i32* @stderr
%43 = load i8*, i8** @optarg
%44 = call i32 @fprintf(i32 %42, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i8* %43)
store i32 1, i32* %3
br label %135
45: ; preds = %36
br label %58
46: ; preds = %34
store i32 0, i32* @errno
%47 = load i8*, i8** @optarg
%48 = call i64 @strtoll(i8* %47, i32 0, i32 0)
store i64 %48, i64* %8
%49 = load i32, i32* @errno
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %55
51: ; preds = %46
%52 = load i32, i32* @stderr
%53 = load i8*, i8** @optarg
%54 = call i32 @fprintf(i32 %52, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), i8* %53)
store i32 1, i32* %3
br label %135
55: ; preds = %46
br label %58
56: ; preds = %34
%57 = call i32 (...) @usage()
br label %58
58: ; preds = %56, %55, %45
br label %29
59: ; preds = %29
%60 = load i64, i64* %7
%61 = icmp sle i64 %60, 0
br i1 %61, label %65, label %62
62: ; preds = %59
%63 = load i64, i64* %7
%64 = icmp sgt i64 %63, 256
br i1 %64, label %65, label %86
65: ; preds = %62, %59
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0), i32 256)
%67 = load i64, i64* %7
%68 = icmp sgt i64 %67, 1
br i1 %68, label %69, label %71
69: ; preds = %65
%70 = load i64, i64* %7
br label %72
71: ; preds = %65
br label %72
72: ; preds = %71, %69
%73 = phi i64 [ %70, %69 ], [ 1, %71 ]
%74 = icmp slt i64 %73, 256
br i1 %74, label %75, label %83
75: ; preds = %72
%76 = load i64, i64* %7
%77 = icmp sgt i64 %76, 1
br i1 %77, label %78, label %80
78: ; preds = %75
%79 = load i64, i64* %7
br label %81
80: ; preds = %75
br label %81
81: ; preds = %80, %78
%82 = phi i64 [ %79, %78 ], [ 1, %80 ]
br label %84
83: ; preds = %72
br label %84
84: ; preds = %83, %81
%85 = phi i64 [ %82, %81 ], [ 256, %83 ]
store i64 %85, i64* %7
br label %86
86: ; preds = %84, %62
%87 = load i64, i64* %8
%88 = icmp sle i64 %87, 0
br i1 %88, label %92, label %89
89: ; preds = %86
%90 = load i64, i64* %8
%91 = icmp sgt i64 %90, 256
br i1 %91, label %92, label %113
92: ; preds = %89, %86
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.6, i64 0, i64 0), i32 256)
%94 = load i64, i64* %8
%95 = icmp sgt i64 %94, 1
br i1 %95, label %96, label %98
96: ; preds = %92
%97 = load i64, i64* %8
br label %99
98: ; preds = %92
br label %99
99: ; preds = %98, %96
%100 = phi i64 [ %97, %96 ], [ 1, %98 ]
%101 = icmp slt i64 %100, 256
br i1 %101, label %102, label %110
102: ; preds = %99
%103 = load i64, i64* %8
%104 = icmp sgt i64 %103, 1
br i1 %104, label %105, label %107
105: ; preds = %102
%106 = load i64, i64* %8
br label %108
107: ; preds = %102
br label %108
108: ; preds = %107, %105
%109 = phi i64 [ %106, %105 ], [ 1, %107 ]
br label %111
110: ; preds = %99
br label %111
111: ; preds = %110, %108
%112 = phi i64 [ %109, %108 ], [ 256, %110 ]
store i64 %112, i64* %8
br label %113
113: ; preds = %111, %89
%114 = load i64, i64* %7
%115 = trunc i64 %114 to i32
store i32 %115, i32* %9
%116 = load i64, i64* %8
%117 = trunc i64 %116 to i32
store i32 %117, i32* %10
%118 = load i32, i32* %9
store i32 %118, i32* %12
br label %119
119: ; preds = %131, %113
%120 = load i32, i32* %12
%121 = load i32, i32* %10
%122 = icmp sle i32 %120, %121
br i1 %122, label %123, label %134
123: ; preds = %119
%124 = load i32, i32* %12
%125 = call i64 @find_tuple(i32 %124, i32 1)
%126 = icmp slt i64 %125, 0
br i1 %126, label %127, label %130
127: ; preds = %123
%128 = load i32, i32* %12
%129 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0), i32 %128)
br label %130
130: ; preds = %127, %123
br label %131
131: ; preds = %130
%132 = load i32, i32* %12
%133 = add nsw i32 %132, 1
store i32 %133, i32* %12
br label %119
134: ; preds = %119
store i32 0, i32* %3
br label %135
135: ; preds = %134, %51, %41
%136 = load i32, i32* %3
ret i32 %136
}

LLVM IR (-O2):
@.str = [4 x i8] c"%s \00"
@.str.2 = [5 x i8] c"i:j:\00"
@errno = global i32 0
@optarg = global i8* null
@stderr = global i32 0
@.str.3 = [20 x i8] c"bad start index %s\0A\00"
@.str.4 = [18 x i8] c"bad end index %s\0A\00"
@.str.5 = [29 x i8] c"truncating start to (0, %d]\0A\00"
@.str.6 = [27 x i8] c"truncating end to (0, %d]\0A\00"
@.str.7 = [45 x i8] c"CANNOT FIND SUITABLE CANDIDATE FOR i = %03d\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = icmp sgt i32 %0, 0
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = zext i32 %0 to i64
br label %8
6: ; preds = %8, %2
%7 = tail call i32 @putchar(i32 10)
br label %22
8: ; preds = %4, %8
%9 = phi i64 [ 0, %4 ], [ %13, %8 ]
%10 = getelementptr inbounds i8*, i8** %1, i64 %9
%11 = load i8*, i8** %10
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %11)
%13 = add nuw nsw i64 %9, 1
%14 = icmp eq i64 %13, %5
br i1 %14, label %6, label %8
15: ; preds = %30, %32
%16 = tail call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
switch i32 %16, label %32 [
i32 -1, label %34
i32 105, label %17
i32 106, label %25
]
17: ; preds = %15
store i32 0, i32* @errno
%18 = load i8*, i8** @optarg
%19 = tail call i64 @strtoll(i8* %18, i32 0, i32 0)
%20 = load i32, i32* @errno
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %67
22: ; preds = %17, %6
%23 = phi i64 [ %19, %17 ], [ 1, %6 ]
%24 = phi i64 [ %31, %17 ], [ 256, %6 ]
br label %30
25: ; preds = %15
store i32 0, i32* @errno
%26 = load i8*, i8** @optarg
%27 = tail call i64 @strtoll(i8* %26, i32 0, i32 0)
%28 = load i32, i32* @errno
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %67
30: ; preds = %22, %25
%31 = phi i64 [ %24, %22 ], [ %27, %25 ]
br label %15
32: ; preds = %15
%33 = tail call i32 (...) @usage()
br label %15
34: ; preds = %15
%35 = add i64 %23, -257
%36 = icmp ult i64 %35, -256
br i1 %36, label %37, label %43
37: ; preds = %34
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0), i32 256)
%39 = icmp sgt i64 %23, 1
%40 = select i1 %39, i64 %23, i64 1
%41 = icmp ult i64 %40, 256
%42 = select i1 %41, i64 %40, i64 256
br label %43
43: ; preds = %34, %37
%44 = phi i64 [ %42, %37 ], [ %23, %34 ]
%45 = add i64 %31, -257
%46 = icmp ult i64 %45, -256
br i1 %46, label %47, label %53
47: ; preds = %43
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.6, i64 0, i64 0), i32 256)
%49 = icmp sgt i64 %31, 1
%50 = select i1 %49, i64 %31, i64 1
%51 = icmp ult i64 %50, 256
%52 = select i1 %51, i64 %50, i64 256
br label %53
53: ; preds = %43, %47
%54 = phi i64 [ %52, %47 ], [ %31, %43 ]
%55 = trunc i64 %44 to i32
%56 = trunc i64 %54 to i32
%57 = icmp ugt i32 %55, %56
br i1 %57, label %72, label %58
58: ; preds = %53, %64
%59 = phi i32 [ %65, %64 ], [ %55, %53 ]
%60 = tail call i64 @find_tuple(i32 %59, i32 1)
%61 = icmp slt i64 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %58
%63 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0), i32 %59)
br label %64
64: ; preds = %58, %62
%65 = add i32 %59, 1
%66 = icmp eq i32 %59, %56
br i1 %66, label %72, label %58
67: ; preds = %17, %25
%68 = phi i8* [ getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), %25 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), %17 ]
%69 = load i32, i32* @stderr
%70 = load i8*, i8** @optarg
%71 = tail call i32 @fprintf(i32 %69, i8* %68, i8* %70)
br label %72
72: ; preds = %64, %67, %53
%73 = phi i32 [ 0, %53 ], [ 1, %67 ], [ 0, %64 ]
ret i32 %73
}