#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*/ fprintf(int /*<<< orphan*/, char *, int);
int pigpio_start(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ pigpio_stop(int);
int /*<<< orphan*/ printf(char *, int);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strcat(char *, char *);
scalar_t__ strchr(char *, char);
int strlen(char *);
int /*<<< orphan*/ t0(int);
int /*<<< orphan*/ t1(int);
int /*<<< orphan*/ t2(int);
int /*<<< orphan*/ t3(int);
int /*<<< orphan*/ t4(int);
int /*<<< orphan*/ t5(int);
int /*<<< orphan*/ t6(int);
int /*<<< orphan*/ t7(int);
int /*<<< orphan*/ t8(int);
int /*<<< orphan*/ t9(int);
int /*<<< orphan*/ ta(int);
int /*<<< orphan*/ tb(int);
int /*<<< orphan*/ tc(int);
int tolower(char);
int main(int argc, char *argv[]) {
  int i, t, c, pi;
  char test[64] = {
      0,
  };
  if (argc > 1) {
    t = 0;
    for (i = 0; i < strlen(argv[1]); i++) {
      c = tolower(argv[1][i]);
      if (!strchr(test, c)) {
        test[t++] = c;
        test[t] = 0;
      }
    }
  } else
    strcat(test, "0123456789");
  pi = pigpio_start(0, 0);
  if (pi < 0) {
    fprintf(stderr, "pigpio initialisation failed (%d).\n", pi);
    return 1;
  }
  printf("Connected to pigpio daemon (%d).\n", pi);
  if (strchr(test, '0'))
    t0(pi);
  if (strchr(test, '1'))
    t1(pi);
  if (strchr(test, '2'))
    t2(pi);
  if (strchr(test, '3'))
    t3(pi);
  if (strchr(test, '4'))
    t4(pi);
  if (strchr(test, '5'))
    t5(pi);
  if (strchr(test, '6'))
    t6(pi);
  if (strchr(test, '7'))
    t7(pi);
  if (strchr(test, '8'))
    t8(pi);
  if (strchr(test, '9'))
    t9(pi);
  if (strchr(test, 'a'))
    ta(pi);
  if (strchr(test, 'b'))
    tb(pi);
  if (strchr(test, 'c'))
    tc(pi);
  pigpio_stop(pi);
  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)
lea    -0x60(%rbp),%rdi
xor    %esi,%esi
mov    $0x40,%edx
call   10e0 <memset@plt>
cmpl   $0x1,-0x8(%rbp)
jle    1326 <main+0xc6>
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1070 <strlen@plt>
mov    %eax,%ecx
mov    -0x64(%rbp),%eax
cmp    %ecx,%eax
jge    1321 <main+0xc1>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movslq -0x14(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   1110 <tolower@plt>
mov    %eax,-0x1c(%rbp)
lea    -0x60(%rbp),%rdi
mov    -0x1c(%rbp),%eax
movsbl %al,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
jne    130e <main+0xae>
mov    -0x1c(%rbp),%eax
mov    %al,%cl
mov    -0x18(%rbp),%eax
mov    %eax,%edx
add    $0x1,%edx
mov    %edx,-0x18(%rbp)
cltq
mov    %cl,-0x60(%rbp,%rax,1)
movslq -0x18(%rbp),%rax
movb   $0x0,-0x60(%rbp,%rax,1)
jmp    1313 <main+0xb3>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    129e <main+0x3e>
jmp    1336 <main+0xd6>
lea    -0x60(%rbp),%rdi
lea    0xccf(%rip),%rsi
call   1170 <strcat@plt>
xor    %esi,%esi
mov    %esi,%edi
call   1030 <pigpio_start@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x0,-0x20(%rbp)
jge    1370 <main+0x110>
mov    0x2c8d(%rip),%rax
mov    (%rax),%edi
mov    -0x20(%rbp),%edx
lea    0xcac(%rip),%rsi
call   10f0 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    152e <main+0x2ce>
mov    -0x20(%rbp),%esi
lea    0xcb5(%rip),%rdi
call   10a0 <printf@plt>
lea    -0x60(%rbp),%rdi
mov    $0x30,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
je     139f <main+0x13f>
mov    -0x20(%rbp),%edi
call   1180 <t0@plt>
lea    -0x60(%rbp),%rdi
mov    $0x31,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
je     13bf <main+0x15f>
mov    -0x20(%rbp),%edi
call   1040 <t1@plt>
lea    -0x60(%rbp),%rdi
mov    $0x32,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
je     13df <main+0x17f>
mov    -0x20(%rbp),%edi
call   1120 <t2@plt>
lea    -0x60(%rbp),%rdi
mov    $0x33,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
je     13ff <main+0x19f>
mov    -0x20(%rbp),%edi
call   1050 <t3@plt>
lea    -0x60(%rbp),%rdi
mov    $0x34,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
je     141f <main+0x1bf>
mov    -0x20(%rbp),%edi
call   1130 <t4@plt>
lea    -0x60(%rbp),%rdi
mov    $0x35,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
je     143f <main+0x1df>
mov    -0x20(%rbp),%edi
call   1060 <t5@plt>
lea    -0x60(%rbp),%rdi
mov    $0x36,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
je     145f <main+0x1ff>
mov    -0x20(%rbp),%edi
call   1140 <t6@plt>
lea    -0x60(%rbp),%rdi
mov    $0x37,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
je     147f <main+0x21f>
mov    -0x20(%rbp),%edi
call   1080 <t7@plt>
lea    -0x60(%rbp),%rdi
mov    $0x38,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
je     149f <main+0x23f>
mov    -0x20(%rbp),%edi
call   1150 <t8@plt>
lea    -0x60(%rbp),%rdi
mov    $0x39,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
je     14bf <main+0x25f>
mov    -0x20(%rbp),%edi
call   10b0 <t9@plt>
lea    -0x60(%rbp),%rdi
mov    $0x61,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
je     14df <main+0x27f>
mov    -0x20(%rbp),%edi
call   10d0 <ta@plt>
lea    -0x60(%rbp),%rdi
mov    $0x62,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
je     14ff <main+0x29f>
mov    -0x20(%rbp),%edi
call   1160 <tb@plt>
lea    -0x60(%rbp),%rdi
mov    $0x63,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
je     151f <main+0x2bf>
mov    -0x20(%rbp),%edi
call   1100 <tc@plt>
mov    -0x20(%rbp),%edi
call   10c0 <pigpio_stop@plt>
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   %r12
push   %rbx
sub    $0x40,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
cmp    $0x2,%edi
jl     12e6 <main+0x96>
mov    %rsi,%r15
mov    0x8(%rsi),%rdi
call   1070 <strlen@plt>
test   %eax,%eax
jle    12f5 <main+0xa5>
xor    %ebx,%ebx
mov    %rsp,%r14
xor    %r12d,%r12d
jmp    12b4 <main+0x64>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0x1,%rbx
mov    0x8(%r15),%rdi
call   1070 <strlen@plt>
cltq
cmp    %rax,%rbx
jge    12f5 <main+0xa5>
mov    0x8(%r15),%rax
movsbl (%rax,%rbx,1),%edi
call   1100 <tolower@plt>
mov    %eax,%ebp
movsbl %bpl,%esi
mov    %r14,%rdi
call   1090 <strchr@plt>
test   %rax,%rax
jne    12a0 <main+0x50>
movslq %r12d,%rax
lea    0x1(%rax),%r12
mov    %bpl,(%rsp,%rax,1)
movb   $0x0,0x1(%rsp,%rax,1)
jmp    12a0 <main+0x50>
lea    0xd13(%rip),%rsi
mov    %rsp,%rdi
call   1160 <strcat@plt>
xor    %edi,%edi
xor    %esi,%esi
call   1030 <pigpio_start@plt>
mov    %eax,%ebx
test   %eax,%eax
js     1466 <main+0x216>
lea    0xd20(%rip),%rdi
mov    %ebx,%esi
call   10a0 <printf@plt>
mov    %rsp,%rdi
mov    $0x30,%esi
call   1090 <strchr@plt>
test   %rax,%rax
je     132f <main+0xdf>
mov    %ebx,%edi
call   1170 <t0@plt>
mov    %rsp,%rdi
mov    $0x31,%esi
call   1090 <strchr@plt>
test   %rax,%rax
je     1348 <main+0xf8>
mov    %ebx,%edi
call   1040 <t1@plt>
mov    %rsp,%rdi
mov    $0x32,%esi
call   1090 <strchr@plt>
test   %rax,%rax
je     1361 <main+0x111>
mov    %ebx,%edi
call   1110 <t2@plt>
mov    %rsp,%rdi
mov    $0x33,%esi
call   1090 <strchr@plt>
test   %rax,%rax
je     137a <main+0x12a>
mov    %ebx,%edi
call   1050 <t3@plt>
mov    %rsp,%rdi
mov    $0x34,%esi
call   1090 <strchr@plt>
test   %rax,%rax
je     1393 <main+0x143>
mov    %ebx,%edi
call   1120 <t4@plt>
mov    %rsp,%rdi
mov    $0x35,%esi
call   1090 <strchr@plt>
test   %rax,%rax
je     13ac <main+0x15c>
mov    %ebx,%edi
call   1060 <t5@plt>
mov    %rsp,%rdi
mov    $0x36,%esi
call   1090 <strchr@plt>
test   %rax,%rax
je     13c5 <main+0x175>
mov    %ebx,%edi
call   1130 <t6@plt>
mov    %rsp,%rdi
mov    $0x37,%esi
call   1090 <strchr@plt>
test   %rax,%rax
je     13de <main+0x18e>
mov    %ebx,%edi
call   1080 <t7@plt>
mov    %rsp,%rdi
mov    $0x38,%esi
call   1090 <strchr@plt>
test   %rax,%rax
je     13f7 <main+0x1a7>
mov    %ebx,%edi
call   1140 <t8@plt>
mov    %rsp,%rdi
mov    $0x39,%esi
call   1090 <strchr@plt>
test   %rax,%rax
je     1410 <main+0x1c0>
mov    %ebx,%edi
call   10b0 <t9@plt>
mov    %rsp,%rdi
mov    $0x61,%esi
call   1090 <strchr@plt>
test   %rax,%rax
je     1429 <main+0x1d9>
mov    %ebx,%edi
call   10d0 <ta@plt>
mov    %rsp,%rdi
mov    $0x62,%esi
call   1090 <strchr@plt>
test   %rax,%rax
je     1442 <main+0x1f2>
mov    %ebx,%edi
call   1150 <tb@plt>
mov    %rsp,%rdi
mov    $0x63,%esi
call   1090 <strchr@plt>
test   %rax,%rax
je     145b <main+0x20b>
mov    %ebx,%edi
call   10f0 <tc@plt>
mov    %ebx,%edi
call   10c0 <pigpio_stop@plt>
xor    %eax,%eax
jmp    1482 <main+0x232>
mov    0x2b73(%rip),%rax
mov    (%rax),%edi
lea    0xb95(%rip),%rsi
mov    %ebx,%edx
call   10e0 <fprintf@plt>
mov    $0x1,%eax
add    $0x40,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [11 x i8] c"0123456789\00"
@stderr = global i32 0
@.str.1 = [36 x i8] c"pigpio initialisation failed (%d).\0A\00"
@.str.2 = [34 x i8] c"Connected to pigpio daemon (%d).\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
%9 = alloca i32
%10 = alloca [64 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%11 = bitcast [64 x i8]* %10 to i8*
%12 = load i32, i32* %4
%13 = icmp sgt i32 %12, 1
br i1 %13, label %14, label %51
14: ; preds = %2
store i32 0, i32* %7
store i32 0, i32* %6
br label %15
15: ; preds = %47, %14
%16 = load i32, i32* %6
%17 = load i8**, i8*** %5
%18 = getelementptr inbounds i8*, i8** %17, i64 1
%19 = load i8*, i8** %18
%20 = call i32 @strlen(i8* %19)
%21 = icmp slt i32 %16, %20
br i1 %21, label %22, label %50
22: ; preds = %15
%23 = load i8**, i8*** %5
%24 = getelementptr inbounds i8*, i8** %23, i64 1
%25 = load i8*, i8** %24
%26 = load i32, i32* %6
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, i8* %25, i64 %27
%29 = load i8, i8* %28
%30 = call i32 @tolower(i8 signext %29)
store i32 %30, i32* %8
%31 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%32 = load i32, i32* %8
%33 = trunc i32 %32 to i8
%34 = call i64 @strchr(i8* %31, i8 signext %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %46, label %36
36: ; preds = %22
%37 = load i32, i32* %8
%38 = trunc i32 %37 to i8
%39 = load i32, i32* %7
%40 = add nsw i32 %39, 1
store i32 %40, i32* %7
%41 = sext i32 %39 to i64
%42 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 %41
store i8 %38, i8* %42
%43 = load i32, i32* %7
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 %44
store i8 0, i8* %45
br label %46
46: ; preds = %36, %22
br label %47
47: ; preds = %46
%48 = load i32, i32* %6
%49 = add nsw i32 %48, 1
store i32 %49, i32* %6
br label %15
50: ; preds = %15
br label %54
51: ; preds = %2
%52 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%53 = call i32 @strcat(i8* %52, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
br label %54
54: ; preds = %51, %50
%55 = call i32 @pigpio_start(i32 0, i32 0)
store i32 %55, i32* %9
%56 = load i32, i32* %9
%57 = icmp slt i32 %56, 0
br i1 %57, label %58, label %62
58: ; preds = %54
%59 = load i32, i32* @stderr
%60 = load i32, i32* %9
%61 = call i32 @fprintf(i32 %59, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.1, i64 0, i64 0), i32 %60)
store i32 1, i32* %3
br label %158
62: ; preds = %54
%63 = load i32, i32* %9
%64 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0), i32 %63)
%65 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%66 = call i64 @strchr(i8* %65, i8 signext 48)
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %62
%69 = load i32, i32* %9
%70 = call i32 @t0(i32 %69)
br label %71
71: ; preds = %68, %62
%72 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%73 = call i64 @strchr(i8* %72, i8 signext 49)
%74 = icmp ne i64 %73, 0
br i1 %74, label %75, label %78
75: ; preds = %71
%76 = load i32, i32* %9
%77 = call i32 @t1(i32 %76)
br label %78
78: ; preds = %75, %71
%79 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%80 = call i64 @strchr(i8* %79, i8 signext 50)
%81 = icmp ne i64 %80, 0
br i1 %81, label %82, label %85
82: ; preds = %78
%83 = load i32, i32* %9
%84 = call i32 @t2(i32 %83)
br label %85
85: ; preds = %82, %78
%86 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%87 = call i64 @strchr(i8* %86, i8 signext 51)
%88 = icmp ne i64 %87, 0
br i1 %88, label %89, label %92
89: ; preds = %85
%90 = load i32, i32* %9
%91 = call i32 @t3(i32 %90)
br label %92
92: ; preds = %89, %85
%93 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%94 = call i64 @strchr(i8* %93, i8 signext 52)
%95 = icmp ne i64 %94, 0
br i1 %95, label %96, label %99
96: ; preds = %92
%97 = load i32, i32* %9
%98 = call i32 @t4(i32 %97)
br label %99
99: ; preds = %96, %92
%100 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%101 = call i64 @strchr(i8* %100, i8 signext 53)
%102 = icmp ne i64 %101, 0
br i1 %102, label %103, label %106
103: ; preds = %99
%104 = load i32, i32* %9
%105 = call i32 @t5(i32 %104)
br label %106
106: ; preds = %103, %99
%107 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%108 = call i64 @strchr(i8* %107, i8 signext 54)
%109 = icmp ne i64 %108, 0
br i1 %109, label %110, label %113
110: ; preds = %106
%111 = load i32, i32* %9
%112 = call i32 @t6(i32 %111)
br label %113
113: ; preds = %110, %106
%114 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%115 = call i64 @strchr(i8* %114, i8 signext 55)
%116 = icmp ne i64 %115, 0
br i1 %116, label %117, label %120
117: ; preds = %113
%118 = load i32, i32* %9
%119 = call i32 @t7(i32 %118)
br label %120
120: ; preds = %117, %113
%121 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%122 = call i64 @strchr(i8* %121, i8 signext 56)
%123 = icmp ne i64 %122, 0
br i1 %123, label %124, label %127
124: ; preds = %120
%125 = load i32, i32* %9
%126 = call i32 @t8(i32 %125)
br label %127
127: ; preds = %124, %120
%128 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%129 = call i64 @strchr(i8* %128, i8 signext 57)
%130 = icmp ne i64 %129, 0
br i1 %130, label %131, label %134
131: ; preds = %127
%132 = load i32, i32* %9
%133 = call i32 @t9(i32 %132)
br label %134
134: ; preds = %131, %127
%135 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%136 = call i64 @strchr(i8* %135, i8 signext 97)
%137 = icmp ne i64 %136, 0
br i1 %137, label %138, label %141
138: ; preds = %134
%139 = load i32, i32* %9
%140 = call i32 @ta(i32 %139)
br label %141
141: ; preds = %138, %134
%142 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%143 = call i64 @strchr(i8* %142, i8 signext 98)
%144 = icmp ne i64 %143, 0
br i1 %144, label %145, label %148
145: ; preds = %141
%146 = load i32, i32* %9
%147 = call i32 @tb(i32 %146)
br label %148
148: ; preds = %145, %141
%149 = getelementptr inbounds [64 x i8], [64 x i8]* %10, i64 0, i64 0
%150 = call i64 @strchr(i8* %149, i8 signext 99)
%151 = icmp ne i64 %150, 0
br i1 %151, label %152, label %155
152: ; preds = %148
%153 = load i32, i32* %9
%154 = call i32 @tc(i32 %153)
br label %155
155: ; preds = %152, %148
%156 = load i32, i32* %9
%157 = call i32 @pigpio_stop(i32 %156)
store i32 0, i32* %3
br label %158
158: ; preds = %155, %58
%159 = load i32, i32* %3
ret i32 %159
}

LLVM IR (-O2):
@.str = [11 x i8] c"0123456789\00"
@stderr = global i32 0
@.str.1 = [36 x i8] c"pigpio initialisation failed (%d).\0A\00"
@.str.2 = [34 x i8] c"Connected to pigpio daemon (%d).\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [64 x i8]
%4 = getelementptr inbounds [64 x i8], [64 x i8]* %3, i64 0, i64 0
%5 = icmp sgt i32 %0, 1
br i1 %5, label %6, label %34
6: ; preds = %2
%7 = getelementptr inbounds i8*, i8** %1, i64 1
%8 = load i8*, i8** %7
%9 = call i32 @strlen(i8* %8)
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %36
11: ; preds = %6, %27
%12 = phi i64 [ %29, %27 ], [ 0, %6 ]
%13 = phi i32 [ %28, %27 ], [ 0, %6 ]
%14 = load i8*, i8** %7
%15 = getelementptr inbounds i8, i8* %14, i64 %12
%16 = load i8, i8* %15
%17 = call i32 @tolower(i8 signext %16)
%18 = trunc i32 %17 to i8
%19 = call i64 @strchr(i8* %4, i8 signext %18)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %27
21: ; preds = %11
%22 = add nsw i32 %13, 1
%23 = sext i32 %13 to i64
%24 = getelementptr inbounds [64 x i8], [64 x i8]* %3, i64 0, i64 %23
store i8 %18, i8* %24
%25 = sext i32 %22 to i64
%26 = getelementptr inbounds [64 x i8], [64 x i8]* %3, i64 0, i64 %25
store i8 0, i8* %26
br label %27
27: ; preds = %11, %21
%28 = phi i32 [ %13, %11 ], [ %22, %21 ]
%29 = add nuw nsw i64 %12, 1
%30 = load i8*, i8** %7
%31 = call i32 @strlen(i8* %30)
%32 = sext i32 %31 to i64
%33 = icmp slt i64 %29, %32
br i1 %33, label %11, label %36
34: ; preds = %2
%35 = call i32 @strcat(i8* %4, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
br label %36
36: ; preds = %27, %6, %34
%37 = call i32 @pigpio_start(i32 0, i32 0)
%38 = icmp slt i32 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %36
%40 = load i32, i32* @stderr
%41 = call i32 @fprintf(i32 %40, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.1, i64 0, i64 0), i32 %37)
br label %110
42: ; preds = %36
%43 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0), i32 %37)
%44 = call i64 @strchr(i8* %4, i8 signext 48)
%45 = icmp eq i64 %44, 0
br i1 %45, label %48, label %46
46: ; preds = %42
%47 = call i32 @t0(i32 %37)
br label %48
48: ; preds = %46, %42
%49 = call i64 @strchr(i8* %4, i8 signext 49)
%50 = icmp eq i64 %49, 0
br i1 %50, label %53, label %51
51: ; preds = %48
%52 = call i32 @t1(i32 %37)
br label %53
53: ; preds = %51, %48
%54 = call i64 @strchr(i8* %4, i8 signext 50)
%55 = icmp eq i64 %54, 0
br i1 %55, label %58, label %56
56: ; preds = %53
%57 = call i32 @t2(i32 %37)
br label %58
58: ; preds = %56, %53
%59 = call i64 @strchr(i8* %4, i8 signext 51)
%60 = icmp eq i64 %59, 0
br i1 %60, label %63, label %61
61: ; preds = %58
%62 = call i32 @t3(i32 %37)
br label %63
63: ; preds = %61, %58
%64 = call i64 @strchr(i8* %4, i8 signext 52)
%65 = icmp eq i64 %64, 0
br i1 %65, label %68, label %66
66: ; preds = %63
%67 = call i32 @t4(i32 %37)
br label %68
68: ; preds = %66, %63
%69 = call i64 @strchr(i8* %4, i8 signext 53)
%70 = icmp eq i64 %69, 0
br i1 %70, label %73, label %71
71: ; preds = %68
%72 = call i32 @t5(i32 %37)
br label %73
73: ; preds = %71, %68
%74 = call i64 @strchr(i8* %4, i8 signext 54)
%75 = icmp eq i64 %74, 0
br i1 %75, label %78, label %76
76: ; preds = %73
%77 = call i32 @t6(i32 %37)
br label %78
78: ; preds = %76, %73
%79 = call i64 @strchr(i8* %4, i8 signext 55)
%80 = icmp eq i64 %79, 0
br i1 %80, label %83, label %81
81: ; preds = %78
%82 = call i32 @t7(i32 %37)
br label %83
83: ; preds = %81, %78
%84 = call i64 @strchr(i8* %4, i8 signext 56)
%85 = icmp eq i64 %84, 0
br i1 %85, label %88, label %86
86: ; preds = %83
%87 = call i32 @t8(i32 %37)
br label %88
88: ; preds = %86, %83
%89 = call i64 @strchr(i8* %4, i8 signext 57)
%90 = icmp eq i64 %89, 0
br i1 %90, label %93, label %91
91: ; preds = %88
%92 = call i32 @t9(i32 %37)
br label %93
93: ; preds = %91, %88
%94 = call i64 @strchr(i8* %4, i8 signext 97)
%95 = icmp eq i64 %94, 0
br i1 %95, label %98, label %96
96: ; preds = %93
%97 = call i32 @ta(i32 %37)
br label %98
98: ; preds = %96, %93
%99 = call i64 @strchr(i8* %4, i8 signext 98)
%100 = icmp eq i64 %99, 0
br i1 %100, label %103, label %101
101: ; preds = %98
%102 = call i32 @tb(i32 %37)
br label %103
103: ; preds = %101, %98
%104 = call i64 @strchr(i8* %4, i8 signext 99)
%105 = icmp eq i64 %104, 0
br i1 %105, label %108, label %106
106: ; preds = %103
%107 = call i32 @tc(i32 %37)
br label %108
108: ; preds = %106, %103
%109 = call i32 @pigpio_stop(i32 %37)
br label %110
110: ; preds = %108, %39
%111 = phi i32 [ 1, %39 ], [ 0, %108 ]
ret i32 %111
}