#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*/ LC_ALL;
int /*<<< orphan*/ decode(char *);
int /*<<< orphan*/ encode(char *);
int /*<<< orphan*/ printf(char *, ...);
char *setlocale(int /*<<< orphan*/, char *);
scalar_t__ strcmp(char *, char *);
int main(int narg, char *argv[]) {
  char *lo = setlocale(LC_ALL, "");
  unsigned int i = 1;
  while (i < narg) {
    if (strcmp(argv[i], "-e") == 0) {
      i++;
      encode(argv[i]);
    } else if (strcmp(argv[i], "-d") == 0) {
      i++;
      decode(argv[i]);
    } else if (strcmp(argv[i], "-l") == 0) {
      i++;
      lo = setlocale(LC_ALL, argv[i]);
    } else if (strcmp(argv[i], "-h") == 0) {
      printf("\r%s usage:\n", argv[0]);
      printf("\t%s [-h] [-l locale] [-e|-d] message\n\n", argv[0]);
      printf("\t-e message\n");
      printf("\t\tEncode message according to the locale set by -l.\n\n");
      printf("\t-d message\n");
      printf("\t\tDecode message according to the locale set by -l.\n\n");
      printf("\t-l locale\n");
      printf("\t\tSet the locale to use. If no -l option is specified\n\t\tthe "
             "system's one will be used. This can be used at\n\t\tany point of "
             "the input line and will affect all\n\t\tsubsecuent inputs.\n\n");
      printf("\t-h\n");
      printf("\t\tPrint this help and exit.\n\n");
      printf("\tIf multiple -e/-d options are facilited the output "
             "will\n\tconcatenate the results. If no -e/-d option are used "
             "the\n\tusual behaviour is to encode the string whatever was "
             "it.\n\n");
      printf("\tCurrent locale is %s.\n", lo);
      return 0;
    } else {
      encode(argv[i]);
    }
    i++;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2e73(%rip),%rax
mov    (%rax),%edi
lea    0xf4e(%rip),%rsi
call   1060 <setlocale@plt>
mov    %rax,-0x18(%rbp)
movl   $0x1,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    1370 <main+0x220>
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rdi
lea    0xe5c(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    11d1 <main+0x81>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rdi
call   1030 <encode@plt>
jmp    1362 <main+0x212>
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rdi
lea    0xe20(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1210 <main+0xc0>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rdi
call   1070 <decode@plt>
jmp    135d <main+0x20d>
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rdi
lea    0xde4(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    125c <main+0x10c>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
mov    0x2d9f(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rsi
call   1060 <setlocale@plt>
mov    %rax,-0x18(%rbp)
jmp    1358 <main+0x208>
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rdi
lea    0xd9b(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1343 <main+0x1f3>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xd81(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xd78(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd91(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd90(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xdb8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xdb7(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xddf(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xddd(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe83(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe7a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe8a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x18(%rbp),%rsi
lea    0xf27(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1377 <main+0x227>
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rdi
call   1030 <encode@plt>
jmp    1358 <main+0x208>
jmp    135d <main+0x20d>
jmp    1362 <main+0x212>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1186 <main+0x36>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%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,%rbx
mov    %edi,%ebp
mov    0x2e69(%rip),%rax
mov    (%rax),%edi
lea    0xebb(%rip),%rsi
call   1070 <setlocale@plt>
mov    %rax,(%rsp)
cmp    $0x2,%ebp
jb     12f0 <main+0x190>
mov    $0x1,%r14d
lea    0xe61(%rip),%r15
lea    0xe5d(%rip),%r12
jmp    11cb <main+0x6b>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r14d
mov    0x8(%rbx,%r13,8),%rdi
call   1030 <encode@plt>
add    $0x1,%r14d
cmp    %ebp,%r14d
jae    12f0 <main+0x190>
mov    %r14d,%r13d
mov    (%rbx,%r13,8),%rdi
mov    %r15,%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     11b0 <main+0x50>
mov    (%rbx,%r13,8),%rdi
mov    %r12,%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1220 <main+0xc0>
mov    (%rbx,%r13,8),%rdi
lea    0xe0b(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1230 <main+0xd0>
mov    (%rbx,%r13,8),%rdi
lea    0xf85(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1250 <main+0xf0>
mov    (%rbx,%r13,8),%rdi
jmp    11b9 <main+0x59>
add    $0x1,%r14d
mov    0x8(%rbx,%r13,8),%rdi
call   1080 <decode@plt>
jmp    11be <main+0x5e>
add    $0x1,%r14d
mov    0x2da5(%rip),%rax
mov    (%rax),%edi
mov    0x8(%rbx,%r13,8),%rsi
call   1070 <setlocale@plt>
mov    %rax,(%rsp)
jmp    11be <main+0x5e>
mov    (%rbx),%rsi
lea    0xdaf(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%rbx),%rsi
lea    0xdaa(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xddb(%rip),%rdi
call   1040 <puts@plt>
lea    0xddb(%rip),%rdi
call   1040 <puts@plt>
lea    0xe04(%rip),%rdi
call   1040 <puts@plt>
lea    0xe04(%rip),%rdi
call   1040 <puts@plt>
lea    0xe2d(%rip),%rdi
call   1040 <puts@plt>
lea    0xe2c(%rip),%rdi
call   1040 <puts@plt>
lea    0xed3(%rip),%rdi
call   1040 <puts@plt>
lea    0xecb(%rip),%rdi
call   1040 <puts@plt>
lea    0xedc(%rip),%rdi
call   1040 <puts@plt>
lea    0xd57(%rip),%rdi
mov    (%rsp),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@LC_ALL = global i32 0
@.str = [1 x i8] zeroinitializer
@.str.1 = [3 x i8] c"-e\00"
@.str.2 = [3 x i8] c"-d\00"
@.str.3 = [3 x i8] c"-l\00"
@.str.4 = [3 x i8] c"-h\00"
@.str.5 = [12 x i8] c"\0D%s usage:\0A\00"
@.str.6 = [39 x i8] c"\09%s [-h] [-l locale] [-e|-d] message\0A\0A\00"
@.str.7 = [13 x i8] c"\09-e message\0A\00"
@.str.8 = [54 x i8] c"\09\09Encode message according to the locale set by -l.\0A\0A\00"
@.str.9 = [13 x i8] c"\09-d message\0A\00"
@.str.10 = [54 x i8] c"\09\09Decode message according to the locale set by -l.\0A\0A\00"
@.str.11 = [12 x i8] c"\09-l locale\0A\00"
@.str.12 = [180 x i8] c"\09\09Set the locale to use. If no -l option is specified\0A\09\09the system's one will be used. This can be used at\0A\09\09any point of the input line and will affect all\0A\09\09subsecuent inputs.\0A\0A\00"
@.str.13 = [5 x i8] c"\09-h\0A\00"
@.str.14 = [30 x i8] c"\09\09Print this help and exit.\0A\0A\00"
@.str.15 = [175 x i8] c"\09If multiple -e/-d options are facilited the output will\0A\09concatenate the results. If no -e/-d option are used the\0A\09usual behaviour is to encode the string whatever was it.\0A\0A\00"
@.str.16 = [24 x i8] c"\09Current locale is %s.\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%8 = load i32, i32* @LC_ALL
%9 = call i8* @setlocale(i32 %8, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
store i8* %9, i8** %6
store i32 1, i32* %7
br label %10
10: ; preds = %104, %2
%11 = load i32, i32* %7
%12 = load i32, i32* %4
%13 = icmp ult i32 %11, %12
br i1 %13, label %14, label %107
14: ; preds = %10
%15 = load i8**, i8*** %5
%16 = load i32, i32* %7
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i8*, i8** %15, i64 %17
%19 = load i8*, i8** %18
%20 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %31
22: ; preds = %14
%23 = load i32, i32* %7
%24 = add i32 %23, 1
store i32 %24, i32* %7
%25 = load i8**, i8*** %5
%26 = load i32, i32* %7
%27 = zext i32 %26 to i64
%28 = getelementptr inbounds i8*, i8** %25, i64 %27
%29 = load i8*, i8** %28
%30 = call i32 @encode(i8* %29)
br label %104
31: ; preds = %14
%32 = load i8**, i8*** %5
%33 = load i32, i32* %7
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i8*, i8** %32, i64 %34
%36 = load i8*, i8** %35
%37 = call i64 @strcmp(i8* %36, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %48
39: ; preds = %31
%40 = load i32, i32* %7
%41 = add i32 %40, 1
store i32 %41, i32* %7
%42 = load i8**, i8*** %5
%43 = load i32, i32* %7
%44 = zext i32 %43 to i64
%45 = getelementptr inbounds i8*, i8** %42, i64 %44
%46 = load i8*, i8** %45
%47 = call i32 @decode(i8* %46)
br label %103
48: ; preds = %31
%49 = load i8**, i8*** %5
%50 = load i32, i32* %7
%51 = zext i32 %50 to i64
%52 = getelementptr inbounds i8*, i8** %49, i64 %51
%53 = load i8*, i8** %52
%54 = call i64 @strcmp(i8* %53, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %66
56: ; preds = %48
%57 = load i32, i32* %7
%58 = add i32 %57, 1
store i32 %58, i32* %7
%59 = load i32, i32* @LC_ALL
%60 = load i8**, i8*** %5
%61 = load i32, i32* %7
%62 = zext i32 %61 to i64
%63 = getelementptr inbounds i8*, i8** %60, i64 %62
%64 = load i8*, i8** %63
%65 = call i8* @setlocale(i32 %59, i8* %64)
store i8* %65, i8** %6
br label %102
66: ; preds = %48
%67 = load i8**, i8*** %5
%68 = load i32, i32* %7
%69 = zext i32 %68 to i64
%70 = getelementptr inbounds i8*, i8** %67, i64 %69
%71 = load i8*, i8** %70
%72 = call i64 @strcmp(i8* %71, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %94
74: ; preds = %66
%75 = load i8**, i8*** %5
%76 = getelementptr inbounds i8*, i8** %75, i64 0
%77 = load i8*, i8** %76
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* %77)
%79 = load i8**, i8*** %5
%80 = getelementptr inbounds i8*, i8** %79, i64 0
%81 = load i8*, i8** %80
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), i8* %81)
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.8, i64 0, i64 0))
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0))
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.10, i64 0, i64 0))
%87 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([180 x i8], [180 x i8]* @.str.12, i64 0, i64 0))
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.14, i64 0, i64 0))
%91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([175 x i8], [175 x i8]* @.str.15, i64 0, i64 0))
%92 = load i8*, i8** %6
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.16, i64 0, i64 0), i8* %92)
store i32 0, i32* %3
br label %108
94: ; preds = %66
%95 = load i8**, i8*** %5
%96 = load i32, i32* %7
%97 = zext i32 %96 to i64
%98 = getelementptr inbounds i8*, i8** %95, i64 %97
%99 = load i8*, i8** %98
%100 = call i32 @encode(i8* %99)
br label %101
101: ; preds = %94
br label %102
102: ; preds = %101, %56
br label %103
103: ; preds = %102, %39
br label %104
104: ; preds = %103, %22
%105 = load i32, i32* %7
%106 = add i32 %105, 1
store i32 %106, i32* %7
br label %10
107: ; preds = %10
store i32 0, i32* %3
br label %108
108: ; preds = %107, %74
%109 = load i32, i32* %3
ret i32 %109
}

LLVM IR (-O2):
@LC_ALL = global i32 0
@.str = [1 x i8] zeroinitializer
@.str.1 = [3 x i8] c"-e\00"
@.str.2 = [3 x i8] c"-d\00"
@.str.3 = [3 x i8] c"-l\00"
@.str.4 = [3 x i8] c"-h\00"
@.str.5 = [12 x i8] c"\0D%s usage:\0A\00"
@.str.6 = [39 x i8] c"\09%s [-h] [-l locale] [-e|-d] message\0A\0A\00"
@.str.16 = [24 x i8] c"\09Current locale is %s.\0A\00"
@str = [12 x i8] c"\09-e message\00"
@str.17 = [53 x i8] c"\09\09Encode message according to the locale set by -l.\0A\00"
@str.18 = [12 x i8] c"\09-d message\00"
@str.19 = [53 x i8] c"\09\09Decode message according to the locale set by -l.\0A\00"
@str.20 = [11 x i8] c"\09-l locale\00"
@str.21 = [179 x i8] c"\09\09Set the locale to use. If no -l option is specified\0A\09\09the system's one will be used. This can be used at\0A\09\09any point of the input line and will affect all\0A\09\09subsecuent inputs.\0A\00"
@str.22 = [4 x i8] c"\09-h\00"
@str.23 = [29 x i8] c"\09\09Print this help and exit.\0A\00"
@str.24 = [174 x i8] c"\09If multiple -e/-d options are facilited the output will\0A\09concatenate the results. If no -e/-d option are used the\0A\09usual behaviour is to encode the string whatever was it.\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = load i32, i32* @LC_ALL
%4 = tail call i8* @setlocale(i32 %3, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%5 = icmp ugt i32 %0, 1
br i1 %5, label %6, label %68
6: ; preds = %2, %63
%7 = phi i32 [ %66, %63 ], [ 1, %2 ]
%8 = phi i8* [ %64, %63 ], [ %4, %2 ]
%9 = zext i32 %7 to i64
%10 = getelementptr inbounds i8*, i8** %1, i64 %9
%11 = load i8*, i8** %10
%12 = tail call i64 @strcmp(i8* %11, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %6
%15 = add nuw i32 %7, 1
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i8*, i8** %1, i64 %16
%18 = load i8*, i8** %17
%19 = tail call i32 @encode(i8* %18)
br label %63
20: ; preds = %6
%21 = load i8*, i8** %10
%22 = tail call i64 @strcmp(i8* %21, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %30
24: ; preds = %20
%25 = add nuw i32 %7, 1
%26 = zext i32 %25 to i64
%27 = getelementptr inbounds i8*, i8** %1, i64 %26
%28 = load i8*, i8** %27
%29 = tail call i32 @decode(i8* %28)
br label %63
30: ; preds = %20
%31 = load i8*, i8** %10
%32 = tail call i64 @strcmp(i8* %31, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %41
34: ; preds = %30
%35 = add nuw i32 %7, 1
%36 = load i32, i32* @LC_ALL
%37 = zext i32 %35 to i64
%38 = getelementptr inbounds i8*, i8** %1, i64 %37
%39 = load i8*, i8** %38
%40 = tail call i8* @setlocale(i32 %36, i8* %39)
br label %63
41: ; preds = %30
%42 = load i8*, i8** %10
%43 = tail call i64 @strcmp(i8* %42, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %60
45: ; preds = %41
%46 = load i8*, i8** %1
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* %46)
%48 = load i8*, i8** %1
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), i8* %48)
%50 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str, i64 0, i64 0))
%51 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.17, i64 0, i64 0))
%52 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.18, i64 0, i64 0))
%53 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.19, i64 0, i64 0))
%54 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.20, i64 0, i64 0))
%55 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([179 x i8], [179 x i8]* @str.21, i64 0, i64 0))
%56 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.22, i64 0, i64 0))
%57 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.23, i64 0, i64 0))
%58 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([174 x i8], [174 x i8]* @str.24, i64 0, i64 0))
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.16, i64 0, i64 0), i8* %8)
br label %68
60: ; preds = %41
%61 = load i8*, i8** %10
%62 = tail call i32 @encode(i8* %61)
br label %63
63: ; preds = %24, %60, %34, %14
%64 = phi i8* [ %8, %14 ], [ %8, %24 ], [ %40, %34 ], [ %8, %60 ]
%65 = phi i32 [ %15, %14 ], [ %25, %24 ], [ %35, %34 ], [ %7, %60 ]
%66 = add i32 %65, 1
%67 = icmp ult i32 %66, %0
br i1 %67, label %6, label %68
68: ; preds = %63, %2, %45
ret i32 0
}