#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 */
float atof(char *);
int atoi(char *);
long atol(char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
scalar_t__ malloc(int);
int pow(int, int);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
int useArgs(int argc, char *argv[], int *l, long *n, float *f, int *mode,
            char **binaryIn) {
  if (argc > 3 || argc < 2) {
    fprintf(stderr, "Usage Error: Expected two arguments, Number and Length; a "
                    "single float; or a binary bit-string\n");
    return 0;
  }
  if (argc == 3) {
    *mode = 1;
    *l = atoi(argv[2]);
    if (*l < 2 || *l > 32) {
      fprintf(stderr, "Length must be an integer between 2 and 32\n");
      return 0;
    }
    *n = atol(argv[1]);
    long largestInt = (long)pow(2, *l - 1) - 1;
    long smallestInt = (long)(-1 * pow(2, *l - 1)) + 1;
    if (*n > largestInt || *n < smallestInt) {
      fprintf(stderr,
              "Can only represent numbers between %li and %li in %i bits\n",
              smallestInt, largestInt, *l);
      return 0;
    }
    return 1;
  }
  *mode = 0;
  for (int i = 0; i < strlen(argv[1]); i++) {
    if (argv[1][i] != '1' && argv[1][i] != '0') {
      *n = atol(argv[1]);
      *f = atof(argv[1]);
      if (*f != *n) {
        *l = 32;
        *mode = 1;
        return 1;
      } else {
        fprintf(stderr, "Expected binary string to convert\n");
        return 0;
      }
    }
  }
  *binaryIn = (char *)malloc(strlen(argv[1]) + 1);
  strcpy(*binaryIn, argv[1]);
  if (strlen(*binaryIn) > 32 || strlen(*binaryIn) < 2) {
    fprintf(stderr, "Binary string must be between 2 and 32 characters long\n");
    return 0;
  }
  *l = strlen(*binaryIn);
  return 1;
}


x86 assembly (clang, -O0):
<useArgs>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    0x10(%rbp),%rax
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
cmpl   $0x3,-0x8(%rbp)
jg     11b7 <useArgs+0x37>
cmpl   $0x2,-0x8(%rbp)
jge    11da <useArgs+0x5a>
mov    0x2e22(%rip),%rax
mov    (%rax),%edi
lea    0xe39(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    149e <useArgs+0x31e>
cmpl   $0x3,-0x8(%rbp)
jne    12f7 <useArgs+0x177>
mov    -0x30(%rbp),%rax
movl   $0x1,(%rax)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   10a0 <atoi@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x18(%rbp),%rax
cmpl   $0x2,(%rax)
jl     121d <useArgs+0x9d>
mov    -0x18(%rbp),%rax
cmpl   $0x20,(%rax)
jle    1240 <useArgs+0xc0>
mov    0x2dbc(%rip),%rax
mov    (%rax),%edi
lea    0xe33(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    149e <useArgs+0x31e>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1080 <atol@plt>
mov    %rax,%rcx
mov    -0x20(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x18(%rbp),%rax
mov    (%rax),%esi
sub    $0x1,%esi
mov    $0x2,%edi
call   1090 <pow@plt>
cltq
sub    $0x1,%rax
mov    %rax,-0x38(%rbp)
mov    -0x18(%rbp),%rax
mov    (%rax),%esi
sub    $0x1,%esi
mov    $0x2,%edi
call   1090 <pow@plt>
imul   $0xffffffff,%eax,%eax
cltq
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%rax
cmp    -0x38(%rbp),%rax
jg     12b9 <useArgs+0x139>
mov    -0x20(%rbp),%rax
mov    (%rax),%rax
cmp    -0x40(%rbp),%rax
jge    12eb <useArgs+0x16b>
mov    0x2d20(%rip),%rax
mov    (%rax),%edi
mov    -0x40(%rbp),%rdx
mov    -0x38(%rbp),%rcx
mov    -0x18(%rbp),%rax
mov    (%rax),%r8d
lea    0xdb4(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    149e <useArgs+0x31e>
movl   $0x1,-0x4(%rbp)
jmp    149e <useArgs+0x31e>
mov    -0x30(%rbp),%rax
movl   $0x0,(%rax)
movl   $0x0,-0x44(%rbp)
mov    -0x44(%rbp),%eax
mov    %eax,-0x48(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1050 <strlen@plt>
mov    %eax,%ecx
mov    -0x48(%rbp),%eax
cmp    %ecx,%eax
jge    1401 <useArgs+0x281>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movslq -0x44(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x31,%eax
je     13ee <useArgs+0x26e>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movslq -0x44(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x30,%eax
je     13ee <useArgs+0x26e>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1080 <atol@plt>
mov    %rax,%rcx
mov    -0x20(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
mov    -0x28(%rbp),%rax
movss  %xmm0,(%rax)
mov    -0x28(%rbp),%rax
movss  (%rax),%xmm0
mov    -0x20(%rbp),%rax
cvtsi2ssq (%rax),%xmm1
ucomiss %xmm1,%xmm0
jne    13ab <useArgs+0x22b>
jp     13ab <useArgs+0x22b>
jmp    13cb <useArgs+0x24b>
mov    -0x18(%rbp),%rax
movl   $0x20,(%rax)
mov    -0x30(%rbp),%rax
movl   $0x1,(%rax)
movl   $0x1,-0x4(%rbp)
jmp    149e <useArgs+0x31e>
mov    0x2c0e(%rip),%rax
mov    (%rax),%edi
lea    0xcec(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    149e <useArgs+0x31e>
jmp    13f3 <useArgs+0x273>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    1308 <useArgs+0x188>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1050 <strlen@plt>
mov    %eax,%edi
add    $0x1,%edi
call   1070 <malloc@plt>
mov    %rax,%rcx
mov    0x10(%rbp),%rax
mov    %rcx,(%rax)
mov    0x10(%rbp),%rax
mov    (%rax),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
call   1030 <strcpy@plt>
mov    0x10(%rbp),%rax
mov    (%rax),%rdi
call   1050 <strlen@plt>
cmp    $0x20,%eax
jg     1460 <useArgs+0x2e0>
mov    0x10(%rbp),%rax
mov    (%rax),%rdi
call   1050 <strlen@plt>
cmp    $0x2,%eax
jge    1483 <useArgs+0x303>
mov    0x2b79(%rip),%rax
mov    (%rax),%edi
lea    0xc7a(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    149e <useArgs+0x31e>
mov    0x10(%rbp),%rax
mov    (%rax),%rdi
call   1050 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<useArgs>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    -0x4(%rdi),%eax
cmp    $0xfffffffd,%eax
ja     11a8 <useArgs+0x28>
mov    0x2e46(%rip),%rax
mov    (%rax),%edi
lea    0xe5d(%rip),%rsi
jmp    1379 <useArgs+0x1f9>
mov    %r9,%r12
mov    %rcx,%r15
mov    %rdx,%rbp
mov    %rsi,%rbx
cmp    $0x3,%edi
jne    11f3 <useArgs+0x73>
movl   $0x1,(%r12)
mov    0x10(%rbx),%rdi
call   10a0 <atoi@plt>
mov    %eax,%r12d
mov    %eax,0x0(%rbp)
lea    -0x21(%r12),%eax
cmp    $0xffffffe0,%eax
ja     12a2 <useArgs+0x122>
mov    0x2dfb(%rip),%rax
mov    (%rax),%edi
lea    0xe72(%rip),%rsi
jmp    1379 <useArgs+0x1f9>
mov    %r8,%r13
mov    %rbp,(%rsp)
movl   $0x0,(%r12)
mov    0x8(%rbx),%rdi
call   1050 <strlen@plt>
test   %eax,%eax
jle    1247 <useArgs+0xc7>
xor    %r14d,%r14d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    0x8(%rbx),%rbp
movzbl 0x0(%rbp,%r14,1),%eax
and    $0xfe,%al
cmp    $0x30,%al
jne    1317 <useArgs+0x197>
add    $0x1,%r14
mov    %rbp,%rdi
call   1050 <strlen@plt>
cltq
cmp    %rax,%r14
jl     1220 <useArgs+0xa0>
mov    0x40(%rsp),%rbp
mov    0x8(%rbx),%rdi
call   1050 <strlen@plt>
lea    0x1(%rax),%edi
call   1070 <malloc@plt>
mov    %rax,0x0(%rbp)
mov    0x8(%rbx),%rsi
mov    %rax,%rdi
call   1030 <strcpy@plt>
mov    0x0(%rbp),%rdi
call   1050 <strlen@plt>
cmp    $0x20,%eax
jg     128d <useArgs+0x10d>
mov    0x0(%rbp),%rdi
call   1050 <strlen@plt>
cmp    $0x1,%eax
jg     1353 <useArgs+0x1d3>
mov    0x2d4c(%rip),%rax
mov    (%rax),%edi
lea    0xe4d(%rip),%rsi
jmp    1379 <useArgs+0x1f9>
mov    0x8(%rbx),%rdi
call   1080 <atol@plt>
mov    %rax,(%r15)
add    $0xffffffff,%r12d
mov    $0x2,%edi
mov    %r12d,%esi
call   1090 <pow@plt>
movslq %eax,%r12
mov    0x0(%rbp),%esi
add    $0xffffffff,%esi
mov    $0x2,%edi
call   1090 <pow@plt>
neg    %eax
movslq %eax,%rdx
mov    (%r15),%rax
cmp    %r12,%rax
jge    12ed <useArgs+0x16d>
mov    $0x1,%ebx
cmp    %rdx,%rax
jg     1382 <useArgs+0x202>
add    $0x1,%rdx
add    $0xffffffffffffffff,%r12
mov    0x2ce4(%rip),%rax
mov    (%rax),%edi
mov    0x0(%rbp),%r8d
lea    0xd83(%rip),%rsi
xor    %ebx,%ebx
mov    %r12,%rcx
xor    %eax,%eax
call   1060 <fprintf@plt>
jmp    1382 <useArgs+0x202>
mov    %rbp,%rdi
call   1080 <atol@plt>
mov    %rax,%rbx
mov    %rax,(%r15)
mov    %rbp,%rdi
call   1040 <atof@plt>
cvtsi2ss %rbx,%xmm1
movss  %xmm0,0x0(%r13)
ucomiss %xmm1,%xmm0
jne    133f <useArgs+0x1bf>
jnp    1369 <useArgs+0x1e9>
mov    (%rsp),%rax
movl   $0x20,(%rax)
movl   $0x1,(%r12)
jmp    1362 <useArgs+0x1e2>
mov    0x0(%rbp),%rdi
call   1050 <strlen@plt>
mov    (%rsp),%rcx
mov    %eax,(%rcx)
mov    $0x1,%ebx
jmp    1382 <useArgs+0x202>
mov    0x2c70(%rip),%rax
mov    (%rax),%edi
lea    0xd4e(%rip),%rsi
xor    %ebx,%ebx
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    %ebx,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [96 x i8] c"Usage Error: Expected two arguments, Number and Length; a single float; or a binary bit-string\0A\00"
@.str.1 = [44 x i8] c"Length must be an integer between 2 and 32\0A\00"
@.str.2 = [59 x i8] c"Can only represent numbers between %li and %li in %i bits\0A\00"
@.str.3 = [35 x i8] c"Expected binary string to convert\0A\00"
@.str.4 = [56 x i8] c"Binary string must be between 2 and 32 characters long\0A\00"
define i32 @useArgs(i32 %0, i8** %1, i32* %2, i64* %3, float* %4, i32* %5, i8** %6) {
%8 = alloca i32
%9 = alloca i32
%10 = alloca i8**
%11 = alloca i32*
%12 = alloca i64*
%13 = alloca float*
%14 = alloca i32*
%15 = alloca i8**
%16 = alloca i64
%17 = alloca i64
%18 = alloca i32
store i32 %0, i32* %9
store i8** %1, i8*** %10
store i32* %2, i32** %11
store i64* %3, i64** %12
store float* %4, float** %13
store i32* %5, i32** %14
store i8** %6, i8*** %15
%19 = load i32, i32* %9
%20 = icmp sgt i32 %19, 3
br i1 %20, label %24, label %21
21: ; preds = %7
%22 = load i32, i32* %9
%23 = icmp slt i32 %22, 2
br i1 %23, label %24, label %27
24: ; preds = %21, %7
%25 = load i32, i32* @stderr
%26 = call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([96 x i8], [96 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %8
br label %171
27: ; preds = %21
%28 = load i32, i32* %9
%29 = icmp eq i32 %28, 3
br i1 %29, label %30, label %83
30: ; preds = %27
%31 = load i32*, i32** %14
store i32 1, i32* %31
%32 = load i8**, i8*** %10
%33 = getelementptr inbounds i8*, i8** %32, i64 2
%34 = load i8*, i8** %33
%35 = call i32 @atoi(i8* %34)
%36 = load i32*, i32** %11
store i32 %35, i32* %36
%37 = load i32*, i32** %11
%38 = load i32, i32* %37
%39 = icmp slt i32 %38, 2
br i1 %39, label %44, label %40
40: ; preds = %30
%41 = load i32*, i32** %11
%42 = load i32, i32* %41
%43 = icmp sgt i32 %42, 32
br i1 %43, label %44, label %47
44: ; preds = %40, %30
%45 = load i32, i32* @stderr
%46 = call i32 (i32, i8*, ...) @fprintf(i32 %45, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %8
br label %171
47: ; preds = %40
%48 = load i8**, i8*** %10
%49 = getelementptr inbounds i8*, i8** %48, i64 1
%50 = load i8*, i8** %49
%51 = call i64 @atol(i8* %50)
%52 = load i64*, i64** %12
store i64 %51, i64* %52
%53 = load i32*, i32** %11
%54 = load i32, i32* %53
%55 = sub nsw i32 %54, 1
%56 = call i32 @pow(i32 2, i32 %55)
%57 = sext i32 %56 to i64
%58 = sub nsw i64 %57, 1
store i64 %58, i64* %16
%59 = load i32*, i32** %11
%60 = load i32, i32* %59
%61 = sub nsw i32 %60, 1
%62 = call i32 @pow(i32 2, i32 %61)
%63 = mul nsw i32 -1, %62
%64 = sext i32 %63 to i64
%65 = add nsw i64 %64, 1
store i64 %65, i64* %17
%66 = load i64*, i64** %12
%67 = load i64, i64* %66
%68 = load i64, i64* %16
%69 = icmp sgt i64 %67, %68
br i1 %69, label %75, label %70
70: ; preds = %47
%71 = load i64*, i64** %12
%72 = load i64, i64* %71
%73 = load i64, i64* %17
%74 = icmp slt i64 %72, %73
br i1 %74, label %75, label %82
75: ; preds = %70, %47
%76 = load i32, i32* @stderr
%77 = load i64, i64* %17
%78 = load i64, i64* %16
%79 = load i32*, i32** %11
%80 = load i32, i32* %79
%81 = call i32 (i32, i8*, ...) @fprintf(i32 %76, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.2, i64 0, i64 0), i64 %77, i64 %78, i32 %80)
store i32 0, i32* %8
br label %171
82: ; preds = %70
store i32 1, i32* %8
br label %171
83: ; preds = %27
%84 = load i32*, i32** %14
store i32 0, i32* %84
store i32 0, i32* %18
br label %85
85: ; preds = %136, %83
%86 = load i32, i32* %18
%87 = load i8**, i8*** %10
%88 = getelementptr inbounds i8*, i8** %87, i64 1
%89 = load i8*, i8** %88
%90 = call i32 @strlen(i8* %89)
%91 = icmp slt i32 %86, %90
br i1 %91, label %92, label %139
92: ; preds = %85
%93 = load i8**, i8*** %10
%94 = getelementptr inbounds i8*, i8** %93, i64 1
%95 = load i8*, i8** %94
%96 = load i32, i32* %18
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i8, i8* %95, i64 %97
%99 = load i8, i8* %98
%100 = sext i8 %99 to i32
%101 = icmp ne i32 %100, 49
br i1 %101, label %102, label %135
102: ; preds = %92
%103 = load i8**, i8*** %10
%104 = getelementptr inbounds i8*, i8** %103, i64 1
%105 = load i8*, i8** %104
%106 = load i32, i32* %18
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8, i8* %105, i64 %107
%109 = load i8, i8* %108
%110 = sext i8 %109 to i32
%111 = icmp ne i32 %110, 48
br i1 %111, label %112, label %135
112: ; preds = %102
%113 = load i8**, i8*** %10
%114 = getelementptr inbounds i8*, i8** %113, i64 1
%115 = load i8*, i8** %114
%116 = call i64 @atol(i8* %115)
%117 = load i64*, i64** %12
store i64 %116, i64* %117
%118 = load i8**, i8*** %10
%119 = getelementptr inbounds i8*, i8** %118, i64 1
%120 = load i8*, i8** %119
%121 = call float @atof(i8* %120)
%122 = load float*, float** %13
store float %121, float* %122
%123 = load float*, float** %13
%124 = load float, float* %123
%125 = load i64*, i64** %12
%126 = load i64, i64* %125
%127 = sitofp i64 %126 to float
%128 = fcmp une float %124, %127
br i1 %128, label %129, label %132
129: ; preds = %112
%130 = load i32*, i32** %11
store i32 32, i32* %130
%131 = load i32*, i32** %14
store i32 1, i32* %131
store i32 1, i32* %8
br label %171
132: ; preds = %112
%133 = load i32, i32* @stderr
%134 = call i32 (i32, i8*, ...) @fprintf(i32 %133, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %8
br label %171
135: ; preds = %102, %92
br label %136
136: ; preds = %135
%137 = load i32, i32* %18
%138 = add nsw i32 %137, 1
store i32 %138, i32* %18
br label %85
139: ; preds = %85
%140 = load i8**, i8*** %10
%141 = getelementptr inbounds i8*, i8** %140, i64 1
%142 = load i8*, i8** %141
%143 = call i32 @strlen(i8* %142)
%144 = add nsw i32 %143, 1
%145 = call i64 @malloc(i32 %144)
%146 = inttoptr i64 %145 to i8*
%147 = load i8**, i8*** %15
store i8* %146, i8** %147
%148 = load i8**, i8*** %15
%149 = load i8*, i8** %148
%150 = load i8**, i8*** %10
%151 = getelementptr inbounds i8*, i8** %150, i64 1
%152 = load i8*, i8** %151
%153 = call i32 @strcpy(i8* %149, i8* %152)
%154 = load i8**, i8*** %15
%155 = load i8*, i8** %154
%156 = call i32 @strlen(i8* %155)
%157 = icmp sgt i32 %156, 32
br i1 %157, label %163, label %158
158: ; preds = %139
%159 = load i8**, i8*** %15
%160 = load i8*, i8** %159
%161 = call i32 @strlen(i8* %160)
%162 = icmp slt i32 %161, 2
br i1 %162, label %163, label %166
163: ; preds = %158, %139
%164 = load i32, i32* @stderr
%165 = call i32 (i32, i8*, ...) @fprintf(i32 %164, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %8
br label %171
166: ; preds = %158
%167 = load i8**, i8*** %15
%168 = load i8*, i8** %167
%169 = call i32 @strlen(i8* %168)
%170 = load i32*, i32** %11
store i32 %169, i32* %170
store i32 1, i32* %8
br label %171
171: ; preds = %166, %163, %132, %129, %82, %75, %44, %24
%172 = load i32, i32* %8
ret i32 %172
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [96 x i8] c"Usage Error: Expected two arguments, Number and Length; a single float; or a binary bit-string\0A\00"
@.str.1 = [44 x i8] c"Length must be an integer between 2 and 32\0A\00"
@.str.2 = [59 x i8] c"Can only represent numbers between %li and %li in %i bits\0A\00"
@.str.3 = [35 x i8] c"Expected binary string to convert\0A\00"
@.str.4 = [56 x i8] c"Binary string must be between 2 and 32 characters long\0A\00"
define i32 @useArgs(i32 %0, i8** nocapture %1, i32* nocapture %2, i64* nocapture %3, float* nocapture writeonly %4, i32* nocapture writeonly %5, i8** nocapture %6) {
%8 = add i32 %0, -4
%9 = icmp ult i32 %8, -2
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load i32, i32* @stderr
%12 = tail call i32 (i32, i8*, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([96 x i8], [96 x i8]* @.str, i64 0, i64 0))
br label %93
13: ; preds = %7
%14 = icmp eq i32 %0, 3
br i1 %14, label %15, label %46
15: ; preds = %13
store i32 1, i32* %5
%16 = getelementptr inbounds i8*, i8** %1, i64 2
%17 = load i8*, i8** %16
%18 = tail call i32 @atoi(i8* %17)
store i32 %18, i32* %2
%19 = add i32 %18, -33
%20 = icmp ult i32 %19, -31
br i1 %20, label %21, label %24
21: ; preds = %15
%22 = load i32, i32* @stderr
%23 = tail call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
br label %93
24: ; preds = %15
%25 = getelementptr inbounds i8*, i8** %1, i64 1
%26 = load i8*, i8** %25
%27 = tail call i64 @atol(i8* %26)
store i64 %27, i64* %3
%28 = add nsw i32 %18, -1
%29 = tail call i32 @pow(i32 2, i32 %28)
%30 = sext i32 %29 to i64
%31 = load i32, i32* %2
%32 = add nsw i32 %31, -1
%33 = tail call i32 @pow(i32 2, i32 %32)
%34 = sub nsw i32 0, %33
%35 = sext i32 %34 to i64
%36 = load i64, i64* %3
%37 = icmp slt i64 %36, %30
%38 = icmp sgt i64 %36, %35
%39 = select i1 %37, i1 %38, i1 false
br i1 %39, label %93, label %40
40: ; preds = %24
%41 = add nsw i64 %35, 1
%42 = add nsw i64 %30, -1
%43 = load i32, i32* @stderr
%44 = load i32, i32* %2
%45 = tail call i32 (i32, i8*, ...) @fprintf(i32 %43, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.2, i64 0, i64 0), i64 %41, i64 %42, i32 %44)
br label %93
46: ; preds = %13
store i32 0, i32* %5
%47 = getelementptr inbounds i8*, i8** %1, i64 1
%48 = load i8*, i8** %47
%49 = tail call i32 @strlen(i8* %48)
%50 = icmp sgt i32 %49, 0
br i1 %50, label %55, label %72
51: ; preds = %55
%52 = tail call i32 @strlen(i8* %57)
%53 = sext i32 %52 to i64
%54 = icmp slt i64 %62, %53
br i1 %54, label %55, label %72
55: ; preds = %46, %51
%56 = phi i64 [ %62, %51 ], [ 0, %46 ]
%57 = load i8*, i8** %47
%58 = getelementptr inbounds i8, i8* %57, i64 %56
%59 = load i8, i8* %58
%60 = and i8 %59, -2
%61 = icmp eq i8 %60, 48
%62 = add nuw nsw i64 %56, 1
br i1 %61, label %51, label %63
63: ; preds = %55
%64 = tail call i64 @atol(i8* %57)
store i64 %64, i64* %3
%65 = tail call float @atof(i8* %57)
store float %65, float* %4
%66 = sitofp i64 %64 to float
%67 = fcmp une float %65, %66
br i1 %67, label %68, label %69
68: ; preds = %63
store i32 32, i32* %2
store i32 1, i32* %5
br label %93
69: ; preds = %63
%70 = load i32, i32* @stderr
%71 = tail call i32 (i32, i8*, ...) @fprintf(i32 %70, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
br label %93
72: ; preds = %51, %46
%73 = load i8*, i8** %47
%74 = tail call i32 @strlen(i8* %73)
%75 = add nsw i32 %74, 1
%76 = tail call i64 @malloc(i32 %75)
%77 = inttoptr i64 %76 to i8*
store i8* %77, i8** %6
%78 = load i8*, i8** %47
%79 = tail call i32 @strcpy(i8* %77, i8* %78)
%80 = load i8*, i8** %6
%81 = tail call i32 @strlen(i8* %80)
%82 = icmp sgt i32 %81, 32
br i1 %82, label %87, label %83
83: ; preds = %72
%84 = load i8*, i8** %6
%85 = tail call i32 @strlen(i8* %84)
%86 = icmp slt i32 %85, 2
br i1 %86, label %87, label %90
87: ; preds = %83, %72
%88 = load i32, i32* @stderr
%89 = tail call i32 (i32, i8*, ...) @fprintf(i32 %88, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0))
br label %93
90: ; preds = %83
%91 = load i8*, i8** %6
%92 = tail call i32 @strlen(i8* %91)
store i32 %92, i32* %2
br label %93
93: ; preds = %69, %68, %40, %24, %90, %87, %21, %10
%94 = phi i32 [ 0, %10 ], [ 0, %21 ], [ 0, %87 ], [ 1, %90 ], [ 0, %40 ], [ 1, %24 ], [ 0, %69 ], [ 1, %68 ]
ret i32 %94
}