#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 */
typedef int /*<<< orphan*/ szSrcDateTime;

/* Variables and functions */
int atoi(char *);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stdin;
char *strchr(char *, char);
scalar_t__ strcmp(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
int /*<<< orphan*/ system(char *);
int /*<<< orphan*/ trimRight(char *);
int /*<<< orphan*/ vConv(int, char *, char *, char *, int);
int /*<<< orphan*/ vIfTZisLocal(char *);
int main(int argc, char *argv[]) {
  if (argc > 1 && strcmp(argv[1], "-h") == 0) {
    printf("Systex Error!"
           "\n");
    printf("%s -s SRC_TZ -t TRG_TZ DateTime"
           "\n",
           argv[0]);
    printf("-h: Show this help"
           "\n");
    printf("-s: Sourct TimeZone"
           "\n");
    printf("-t: Target TimeZone"
           "\n");
    printf("-v: Show Debug info"
           "\n");
    printf("-f: Output datetime format"
           "\n");
    printf("    -f 0: YYYY-mm-DD HH:MM:SS"
           "\n");
    printf("    -f 1: YYYYmmDD HHMMSS"
           "\n");
    printf("-tz: Show all support timezone"
           "\n");
    printf("-stdin: get input from stdin"
           "\n");
    printf(
        "  ex: %s -f 1 -s 'America/New_York' -t 'Asia/Taipei' '2014-01-2 04:15'"
        "\n",
        argv[0]);
    exit(0);
  }
  char szSrcTZ[32] = "UTC";
  char szTrgTz[32] = "UTC";
  char szSrcDateTime[32];
  int iDbgInfo = 0;
  int iFromStdin = 0;
  int iOutputFormat = 0;
  int i;
  for (i = 0; i < argc; ++i) {
    if (strcmp(argv[i], "-s") == 0 && i < argc - 1) {
      strcpy(szSrcTZ, argv[i + 1]);
      vIfTZisLocal(szSrcTZ);
      i++;
    } else if (strcmp(argv[i], "-t") == 0 && i < argc - 1) {
      strcpy(szTrgTz, argv[i + 1]);
      vIfTZisLocal(szTrgTz);
      i++;
    } else if (strcmp(argv[i], "-v") == 0) {
      iDbgInfo = 1;
    } else if (strcmp(argv[i], "-tz") == 0) {
      char szCMD[] = "find /usr/share/zoneinfo/ -type f -follow |sed "
                     "'s/\\/usr\\/share\\/zoneinfo\\///' | sed 's/^right\\///' "
                     "| sed 's/^posix\\///' | sort | uniq";
      system(szCMD);
      exit(0);
    } else if (strcmp(argv[i], "-stdin") == 0) {
      iFromStdin = 1;
    } else if (strcmp(argv[i], "-f") == 0 && i < argc - 1) {
      iOutputFormat = atoi(argv[i + 1]);
      i++;
    }
  }
  trimRight(szSrcTZ);
  trimRight(szTrgTz);
  int iCount = 0;
  while (1) {
    if (iFromStdin == 0) {
      if (iCount > 0)
        break;
      strcpy(szSrcDateTime, argv[argc - 1]);
    } else {
      szSrcDateTime[0] = '\0';
      fgets(szSrcDateTime, sizeof(szSrcDateTime), stdin);
      szSrcDateTime[sizeof(szSrcDateTime) - 1] = '\0';
      if (strlen(szSrcDateTime) < 8)
        break;
    }
    char *pszSplit = strchr(szSrcDateTime, '\r');
    if (pszSplit != NULL)
      *pszSplit = '\0';
    pszSplit = strchr(szSrcDateTime, '\n');
    if (pszSplit != NULL)
      *pszSplit = '\0';
    vConv(iDbgInfo, szSrcDateTime, szSrcTZ, szTrgTz, iOutputFormat);
    iCount++;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x120,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x1,-0x8(%rbp)
jle    12ce <main+0xfe>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdfe(%rip),%rsi
call   10a0 <strcmp@plt>
cmp    $0x0,%rax
jne    12ce <main+0xfe>
lea    0xdeb(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xde5(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    0xdf8(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    0xdfe(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    0xe05(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    0xe0c(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    0xe13(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    0xe21(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    0xe32(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    0xe3f(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    0xe51(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xe5a(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
xor    %edi,%edi
call   10f0 <exit@plt>
mov    0xeab(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0xea8(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0xea5(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xea2(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    0xe7f(%rip),%rax
mov    %rax,-0x50(%rbp)
mov    0xe7c(%rip),%rax
mov    %rax,-0x48(%rbp)
mov    0xe79(%rip),%rax
mov    %rax,-0x40(%rbp)
mov    0xe76(%rip),%rax
mov    %rax,-0x38(%rbp)
movl   $0x0,-0x74(%rbp)
movl   $0x0,-0x78(%rbp)
movl   $0x0,-0x7c(%rbp)
movl   $0x0,-0x80(%rbp)
mov    -0x80(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1540 <main+0x370>
mov    -0x10(%rbp),%rax
movslq -0x80(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xe01(%rip),%rsi
call   10a0 <strcmp@plt>
cmp    $0x0,%rax
jne    13b2 <main+0x1e2>
mov    -0x80(%rbp),%eax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    13b2 <main+0x1e2>
lea    -0x30(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    -0x80(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rsi
call   1030 <strcpy@plt>
lea    -0x30(%rbp),%rdi
call   10c0 <vIfTZisLocal@plt>
mov    -0x80(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x80(%rbp)
jmp    152d <main+0x35d>
mov    -0x10(%rbp),%rax
movslq -0x80(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xda0(%rip),%rsi
call   10a0 <strcmp@plt>
cmp    $0x0,%rax
jne    1416 <main+0x246>
mov    -0x80(%rbp),%eax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1416 <main+0x246>
lea    -0x50(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    -0x80(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rsi
call   1030 <strcpy@plt>
lea    -0x50(%rbp),%rdi
call   10c0 <vIfTZisLocal@plt>
mov    -0x80(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x80(%rbp)
jmp    1528 <main+0x358>
mov    -0x10(%rbp),%rax
movslq -0x80(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd3f(%rip),%rsi
call   10a0 <strcmp@plt>
cmp    $0x0,%rax
jne    1444 <main+0x274>
movl   $0x1,-0x74(%rbp)
jmp    1523 <main+0x353>
mov    -0x10(%rbp),%rax
movslq -0x80(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd14(%rip),%rsi
call   10a0 <strcmp@plt>
cmp    $0x0,%rax
jne    1491 <main+0x2c1>
lea    -0x110(%rbp),%rdi
lea    0xd2c(%rip),%rsi
mov    $0x86,%edx
call   10b0 <memcpy@plt>
lea    -0x110(%rbp),%rdi
call   1060 <system@plt>
xor    %edi,%edi
call   10f0 <exit@plt>
mov    -0x10(%rbp),%rax
movslq -0x80(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xccb(%rip),%rsi
call   10a0 <strcmp@plt>
cmp    $0x0,%rax
jne    14bf <main+0x2ef>
movl   $0x1,-0x78(%rbp)
jmp    1519 <main+0x349>
mov    -0x10(%rbp),%rax
movslq -0x80(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xca4(%rip),%rsi
call   10a0 <strcmp@plt>
cmp    $0x0,%rax
jne    1514 <main+0x344>
mov    -0x80(%rbp),%eax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1514 <main+0x344>
mov    -0x10(%rbp),%rax
mov    -0x80(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdi
call   10e0 <atoi@plt>
mov    %eax,-0x7c(%rbp)
mov    -0x80(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x80(%rbp)
jmp    1519 <main+0x349>
jmp    151e <main+0x34e>
jmp    1523 <main+0x353>
jmp    1528 <main+0x358>
jmp    152d <main+0x35d>
jmp    1532 <main+0x362>
mov    -0x80(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x80(%rbp)
jmp    1342 <main+0x172>
lea    -0x30(%rbp),%rdi
call   10d0 <trimRight@plt>
lea    -0x50(%rbp),%rdi
call   10d0 <trimRight@plt>
movl   $0x0,-0x114(%rbp)
cmpl   $0x0,-0x78(%rbp)
jne    1597 <main+0x3c7>
cmpl   $0x0,-0x114(%rbp)
jle    1578 <main+0x3a8>
jmp    1658 <main+0x488>
lea    -0x70(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rsi
call   1030 <strcpy@plt>
jmp    15d2 <main+0x402>
movb   $0x0,-0x70(%rbp)
lea    -0x70(%rbp),%rdi
mov    0x2a42(%rip),%rax
mov    (%rax),%edx
mov    $0x20,%esi
call   1090 <fgets@plt>
movb   $0x0,-0x51(%rbp)
lea    -0x70(%rbp),%rdi
call   1050 <strlen@plt>
cmp    $0x8,%eax
jge    15cd <main+0x3fd>
jmp    1658 <main+0x488>
jmp    15d2 <main+0x402>
lea    -0x70(%rbp),%rdi
mov    $0xd,%esi
call   1070 <strchr@plt>
mov    %rax,-0x120(%rbp)
cmpq   $0x0,-0x120(%rbp)
je     15ff <main+0x42f>
mov    -0x120(%rbp),%rax
movb   $0x0,(%rax)
lea    -0x70(%rbp),%rdi
mov    $0xa,%esi
call   1070 <strchr@plt>
mov    %rax,-0x120(%rbp)
cmpq   $0x0,-0x120(%rbp)
je     162c <main+0x45c>
mov    -0x120(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x74(%rbp),%edi
lea    -0x70(%rbp),%rsi
lea    -0x30(%rbp),%rdx
lea    -0x50(%rbp),%rcx
mov    -0x7c(%rbp),%r8d
call   1040 <vConv@plt>
mov    -0x114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x114(%rbp)
jmp    155c <main+0x38c>
xor    %eax,%eax
add    $0x120,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xf8,%rsp
mov    %rsi,%r12
mov    %edi,%r14d
cmp    $0x2,%edi
jl     123a <main+0x5a>
mov    0x8(%r12),%rdi
lea    0xdf8(%rip),%rsi
call   10b0 <strcmp@plt>
test   %rax,%rax
je     1500 <main+0x320>
movaps 0xf63(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xf47(%rip),%xmm1
movaps %xmm1,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm1,0x10(%rsp)
jmp    1266 <main+0x86>
movaps 0xf3f(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xf23(%rip),%xmm1
movaps %xmm1,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm1,0x10(%rsp)
cmp    $0x1,%r14d
jne    13c7 <main+0x1e7>
lea    -0x1(%r14),%eax
mov    %eax,(%rsp)
xor    %r13d,%r13d
lea    0xdf5(%rip),%rbp
movl   $0x0,0x4(%rsp)
movl   $0x0,0xc(%rsp)
movl   $0x0,0x8(%rsp)
jmp    12d1 <main+0xf1>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0x1,%r13d
mov    0x8(%r12,%r15,8),%rsi
mov    %rbp,%rbx
lea    0x30(%rsp),%rbp
mov    %rbp,%rdi
call   1030 <strcpy@plt>
mov    %rbp,%rdi
mov    %rbx,%rbp
call   10d0 <vIfTZisLocal@plt>
add    $0x1,%r13d
cmp    %r14d,%r13d
jge    13ea <main+0x20a>
movslq %r13d,%r15
mov    (%r12,%r15,8),%rdi
mov    %rbp,%rsi
call   10b0 <strcmp@plt>
test   %rax,%rax
jne    12eb <main+0x10b>
cmp    (%rsp),%r13d
jl     12a0 <main+0xc0>
mov    (%r12,%r15,8),%rdi
lea    0xd79(%rip),%rsi
call   10b0 <strcmp@plt>
test   %rax,%rax
jne    1330 <main+0x150>
cmp    (%rsp),%r13d
jge    1330 <main+0x150>
add    $0x1,%r13d
mov    0x8(%r12,%r15,8),%rsi
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
jmp    12bf <main+0xdf>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    (%r12,%r15,8),%rdi
lea    0xd37(%rip),%rsi
call   10b0 <strcmp@plt>
test   %rax,%rax
je     13ad <main+0x1cd>
mov    (%r12,%r15,8),%rdi
lea    0xd25(%rip),%rsi
call   10b0 <strcmp@plt>
test   %rax,%rax
je     14d8 <main+0x2f8>
mov    (%r12,%r15,8),%rdi
lea    0xd10(%rip),%rsi
call   10b0 <strcmp@plt>
test   %rax,%rax
je     13ba <main+0x1da>
mov    (%r12,%r15,8),%rdi
lea    0xd02(%rip),%rsi
call   10b0 <strcmp@plt>
test   %rax,%rax
jne    12c4 <main+0xe4>
cmp    (%rsp),%r13d
jge    12c4 <main+0xe4>
add    $0x1,%r13d
mov    0x8(%r12,%r15,8),%rdi
call   10f0 <atoi@plt>
mov    %eax,0x4(%rsp)
jmp    12c4 <main+0xe4>
movl   $0x1,0x8(%rsp)
jmp    12c4 <main+0xe4>
movl   $0x1,0xc(%rsp)
jmp    12c4 <main+0xe4>
add    $0xffffffff,%r14d
movl   $0x0,0x8(%rsp)
mov    %r14d,%eax
mov    %r14d,(%rsp)
movl   $0x0,0xc(%rsp)
movl   $0x0,0x4(%rsp)
lea    0x30(%rsp),%r15
mov    %r15,%rdi
call   10e0 <trimRight@plt>
lea    0x10(%rsp),%r13
mov    %r13,%rdi
call   10e0 <trimRight@plt>
movslq (%rsp),%rbx
xor    %r14d,%r14d
lea    0x50(%rsp),%rbp
jmp    143b <main+0x25b>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    0x8(%rsp),%edi
mov    %rbp,%rsi
mov    %r15,%rdx
mov    %r13,%rcx
mov    0x4(%rsp),%r8d
call   1050 <vConv@plt>
add    $0xffffffff,%r14d
cmpl   $0x0,0xc(%rsp)
je     1480 <main+0x2a0>
movb   $0x0,0x50(%rsp)
mov    0x2b9a(%rip),%rax
mov    (%rax),%edx
mov    %rbp,%rdi
mov    $0x20,%esi
call   10a0 <fgets@plt>
movb   $0x0,0x6f(%rsp)
mov    %rbp,%rdi
call   1060 <strlen@plt>
cmp    $0x8,%eax
jge    1491 <main+0x2b1>
jmp    14c4 <main+0x2e4>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
test   %r14d,%r14d
jne    14c4 <main+0x2e4>
mov    (%r12,%rbx,8),%rsi
mov    %rbp,%rdi
call   1030 <strcpy@plt>
mov    %rbp,%rdi
mov    $0xd,%esi
call   1080 <strchr@plt>
test   %rax,%rax
je     14a6 <main+0x2c6>
movb   $0x0,(%rax)
mov    %rbp,%rdi
mov    $0xa,%esi
call   1080 <strchr@plt>
test   %rax,%rax
je     1420 <main+0x240>
movb   $0x0,(%rax)
jmp    1420 <main+0x240>
xor    %eax,%eax
add    $0xf8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xcb1(%rip),%rsi
lea    0x70(%rsp),%rbx
mov    $0x86,%edx
mov    %rbx,%rdi
call   10c0 <memcpy@plt>
mov    %rbx,%rdi
call   1070 <system@plt>
xor    %edi,%edi
call   1100 <exit@plt>
lea    0xb7c(%rip),%rdi
call   1040 <puts@plt>
mov    (%r12),%rsi
lea    0xaec(%rip),%rdi
xor    %eax,%eax
call   1090 <printf@plt>
lea    0xb6c(%rip),%rdi
call   1040 <puts@plt>
lea    0xb73(%rip),%rdi
call   1040 <puts@plt>
lea    0xb7b(%rip),%rdi
call   1040 <puts@plt>
lea    0xb83(%rip),%rdi
call   1040 <puts@plt>
lea    0xb8b(%rip),%rdi
call   1040 <puts@plt>
lea    0xb9a(%rip),%rdi
call   1040 <puts@plt>
lea    0xbac(%rip),%rdi
call   1040 <puts@plt>
lea    0xbba(%rip),%rdi
call   1040 <puts@plt>
lea    0xbcd(%rip),%rdi
call   1040 <puts@plt>
mov    (%r12),%rsi
lea    0xa8f(%rip),%rdi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %edi,%edi
call   1100 <exit@plt>

LLVM IR (-O0):
@.str = [3 x i8] c"-h\00"
@.str.1 = [15 x i8] c"Systex Error!\0A\00"
@.str.2 = [33 x i8] c"%s -s SRC_TZ -t TRG_TZ DateTime\0A\00"
@.str.3 = [20 x i8] c"-h: Show this help\0A\00"
@.str.4 = [21 x i8] c"-s: Sourct TimeZone\0A\00"
@.str.5 = [21 x i8] c"-t: Target TimeZone\0A\00"
@.str.6 = [21 x i8] c"-v: Show Debug info\0A\00"
@.str.7 = [28 x i8] c"-f: Output datetime format\0A\00"
@.str.8 = [31 x i8] c" -f 0: YYYY-mm-DD HH:MM:SS\0A\00"
@.str.9 = [27 x i8] c" -f 1: YYYYmmDD HHMMSS\0A\00"
@.str.10 = [32 x i8] c"-tz: Show all support timezone\0A\00"
@.str.11 = [30 x i8] c"-stdin: get input from stdin\0A\00"
@.str.12 = [72 x i8] c" ex: %s -f 1 -s 'America/New_York' -t 'Asia/Taipei' '2014-01-2 04:15'\0A\00"
@__const.main.szSrcTZ = [32 x i8] c"UTC\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"
@__const.main.szTrgTz = [32 x i8] c"UTC\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"
@.str.13 = [3 x i8] c"-s\00"
@.str.14 = [3 x i8] c"-t\00"
@.str.15 = [3 x i8] c"-v\00"
@.str.16 = [4 x i8] c"-tz\00"
@__const.main.szCMD = [134 x i8] c"find /usr/share/zoneinfo/ -type f -follow |sed 's/\\/usr\\/share\\/zoneinfo\\///' | sed 's/^right\\///' | sed 's/^posix\\///' | sort | uniq\00"
@.str.17 = [7 x i8] c"-stdin\00"
@.str.18 = [3 x i8] c"-f\00"
@stdin = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [32 x i8]
%7 = alloca [32 x i8]
%8 = alloca [32 x i8]
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca [134 x i8]
%14 = alloca i32
%15 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%16 = load i32, i32* %4
%17 = icmp sgt i32 %16, 1
br i1 %17, label %18, label %44
18: ; preds = %2
%19 = load i8**, i8*** %5
%20 = getelementptr inbounds i8*, i8** %19, i64 1
%21 = load i8*, i8** %20
%22 = call i64 @strcmp(i8* %21, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %44
24: ; preds = %18
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0))
%26 = load i8**, i8*** %5
%27 = getelementptr inbounds i8*, i8** %26, i64 0
%28 = load i8*, i8** %27
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0), i8* %28)
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0))
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0))
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0))
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0))
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.9, i64 0, i64 0))
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0))
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.11, i64 0, i64 0))
%39 = load i8**, i8*** %5
%40 = getelementptr inbounds i8*, i8** %39, i64 0
%41 = load i8*, i8** %40
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.12, i64 0, i64 0), i8* %41)
%43 = call i32 @exit(i32 0)
unreachable
44: ; preds = %18, %2
%45 = bitcast [32 x i8]* %6 to i8*
%46 = bitcast [32 x i8]* %7 to i8*
store i32 0, i32* %9
store i32 0, i32* %10
store i32 0, i32* %11
store i32 0, i32* %12
br label %47
47: ; preds = %163, %44
%48 = load i32, i32* %12
%49 = load i32, i32* %4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %166
51: ; preds = %47
%52 = load i8**, i8*** %5
%53 = load i32, i32* %12
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8*, i8** %52, i64 %54
%56 = load i8*, i8** %55
%57 = call i64 @strcmp(i8* %56, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0))
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %77
59: ; preds = %51
%60 = load i32, i32* %12
%61 = load i32, i32* %4
%62 = sub nsw i32 %61, 1
%63 = icmp slt i32 %60, %62
br i1 %63, label %64, label %77
64: ; preds = %59
%65 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 0
%66 = load i8**, i8*** %5
%67 = load i32, i32* %12
%68 = add nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8*, i8** %66, i64 %69
%71 = load i8*, i8** %70
%72 = call i32 @strcpy(i8* %65, i8* %71)
%73 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 0
%74 = call i32 @vIfTZisLocal(i8* %73)
%75 = load i32, i32* %12
%76 = add nsw i32 %75, 1
store i32 %76, i32* %12
br label %162
77: ; preds = %59, %51
%78 = load i8**, i8*** %5
%79 = load i32, i32* %12
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8*, i8** %78, i64 %80
%82 = load i8*, i8** %81
%83 = call i64 @strcmp(i8* %82, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
%84 = icmp eq i64 %83, 0
br i1 %84, label %85, label %103
85: ; preds = %77
%86 = load i32, i32* %12
%87 = load i32, i32* %4
%88 = sub nsw i32 %87, 1
%89 = icmp slt i32 %86, %88
br i1 %89, label %90, label %103
90: ; preds = %85
%91 = getelementptr inbounds [32 x i8], [32 x i8]* %7, i64 0, i64 0
%92 = load i8**, i8*** %5
%93 = load i32, i32* %12
%94 = add nsw i32 %93, 1
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8*, i8** %92, i64 %95
%97 = load i8*, i8** %96
%98 = call i32 @strcpy(i8* %91, i8* %97)
%99 = getelementptr inbounds [32 x i8], [32 x i8]* %7, i64 0, i64 0
%100 = call i32 @vIfTZisLocal(i8* %99)
%101 = load i32, i32* %12
%102 = add nsw i32 %101, 1
store i32 %102, i32* %12
br label %161
103: ; preds = %85, %77
%104 = load i8**, i8*** %5
%105 = load i32, i32* %12
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i8*, i8** %104, i64 %106
%108 = load i8*, i8** %107
%109 = call i64 @strcmp(i8* %108, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.15, i64 0, i64 0))
%110 = icmp eq i64 %109, 0
br i1 %110, label %111, label %112
111: ; preds = %103
store i32 1, i32* %9
br label %160
112: ; preds = %103
%113 = load i8**, i8*** %5
%114 = load i32, i32* %12
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8*, i8** %113, i64 %115
%117 = load i8*, i8** %116
%118 = call i64 @strcmp(i8* %117, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0))
%119 = icmp eq i64 %118, 0
br i1 %119, label %120, label %125
120: ; preds = %112
%121 = bitcast [134 x i8]* %13 to i8*
%122 = getelementptr inbounds [134 x i8], [134 x i8]* %13, i64 0, i64 0
%123 = call i32 @system(i8* %122)
%124 = call i32 @exit(i32 0)
unreachable
125: ; preds = %112
%126 = load i8**, i8*** %5
%127 = load i32, i32* %12
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i8*, i8** %126, i64 %128
%130 = load i8*, i8** %129
%131 = call i64 @strcmp(i8* %130, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0))
%132 = icmp eq i64 %131, 0
br i1 %132, label %133, label %134
133: ; preds = %125
store i32 1, i32* %10
br label %158
134: ; preds = %125
%135 = load i8**, i8*** %5
%136 = load i32, i32* %12
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds i8*, i8** %135, i64 %137
%139 = load i8*, i8** %138
%140 = call i64 @strcmp(i8* %139, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0))
%141 = icmp eq i64 %140, 0
br i1 %141, label %142, label %157
142: ; preds = %134
%143 = load i32, i32* %12
%144 = load i32, i32* %4
%145 = sub nsw i32 %144, 1
%146 = icmp slt i32 %143, %145
br i1 %146, label %147, label %157
147: ; preds = %142
%148 = load i8**, i8*** %5
%149 = load i32, i32* %12
%150 = add nsw i32 %149, 1
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i8*, i8** %148, i64 %151
%153 = load i8*, i8** %152
%154 = call i32 @atoi(i8* %153)
store i32 %154, i32* %11
%155 = load i32, i32* %12
%156 = add nsw i32 %155, 1
store i32 %156, i32* %12
br label %157
157: ; preds = %147, %142, %134
br label %158
158: ; preds = %157, %133
br label %159
159: ; preds = %158
br label %160
160: ; preds = %159, %111
br label %161
161: ; preds = %160, %90
br label %162
162: ; preds = %161, %64
br label %163
163: ; preds = %162
%164 = load i32, i32* %12
%165 = add nsw i32 %164, 1
store i32 %165, i32* %12
br label %47
166: ; preds = %47
%167 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 0
%168 = call i32 @trimRight(i8* %167)
%169 = getelementptr inbounds [32 x i8], [32 x i8]* %7, i64 0, i64 0
%170 = call i32 @trimRight(i8* %169)
store i32 0, i32* %14
br label %171
171: ; preds = %166, %212
%172 = load i32, i32* %10
%173 = icmp eq i32 %172, 0
br i1 %173, label %174, label %187
174: ; preds = %171
%175 = load i32, i32* %14
%176 = icmp sgt i32 %175, 0
br i1 %176, label %177, label %178
177: ; preds = %174
br label %221
178: ; preds = %174
%179 = getelementptr inbounds [32 x i8], [32 x i8]* %8, i64 0, i64 0
%180 = load i8**, i8*** %5
%181 = load i32, i32* %4
%182 = sub nsw i32 %181, 1
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds i8*, i8** %180, i64 %183
%185 = load i8*, i8** %184
%186 = call i32 @strcpy(i8* %179, i8* %185)
br label %198
187: ; preds = %171
%188 = getelementptr inbounds [32 x i8], [32 x i8]* %8, i64 0, i64 0
store i8 0, i8* %188
%189 = getelementptr inbounds [32 x i8], [32 x i8]* %8, i64 0, i64 0
%190 = load i32, i32* @stdin
%191 = call i32 @fgets(i8* %189, i32 32, i32 %190)
%192 = getelementptr inbounds [32 x i8], [32 x i8]* %8, i64 0, i64 31
store i8 0, i8* %192
%193 = getelementptr inbounds [32 x i8], [32 x i8]* %8, i64 0, i64 0
%194 = call i32 @strlen(i8* %193)
%195 = icmp slt i32 %194, 8
br i1 %195, label %196, label %197
196: ; preds = %187
br label %221
197: ; preds = %187
br label %198
198: ; preds = %197, %178
%199 = getelementptr inbounds [32 x i8], [32 x i8]* %8, i64 0, i64 0
%200 = call i8* @strchr(i8* %199, i8 signext 13)
store i8* %200, i8** %15
%201 = load i8*, i8** %15
%202 = icmp ne i8* %201, null
br i1 %202, label %203, label %205
203: ; preds = %198
%204 = load i8*, i8** %15
store i8 0, i8* %204
br label %205
205: ; preds = %203, %198
%206 = getelementptr inbounds [32 x i8], [32 x i8]* %8, i64 0, i64 0
%207 = call i8* @strchr(i8* %206, i8 signext 10)
store i8* %207, i8** %15
%208 = load i8*, i8** %15
%209 = icmp ne i8* %208, null
br i1 %209, label %210, label %212
210: ; preds = %205
%211 = load i8*, i8** %15
store i8 0, i8* %211
br label %212
212: ; preds = %210, %205
%213 = load i32, i32* %9
%214 = getelementptr inbounds [32 x i8], [32 x i8]* %8, i64 0, i64 0
%215 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 0
%216 = getelementptr inbounds [32 x i8], [32 x i8]* %7, i64 0, i64 0
%217 = load i32, i32* %11
%218 = call i32 @vConv(i32 %213, i8* %214, i8* %215, i8* %216, i32 %217)
%219 = load i32, i32* %14
%220 = add nsw i32 %219, 1
store i32 %220, i32* %14
br label %171
221: ; preds = %196, %177
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"-h\00"
@.str.2 = [33 x i8] c"%s -s SRC_TZ -t TRG_TZ DateTime\0A\00"
@.str.12 = [72 x i8] c" ex: %s -f 1 -s 'America/New_York' -t 'Asia/Taipei' '2014-01-2 04:15'\0A\00"
@__const.main.szTrgTz = [32 x i8] c"UTC\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"
@.str.13 = [3 x i8] c"-s\00"
@.str.14 = [3 x i8] c"-t\00"
@.str.15 = [3 x i8] c"-v\00"
@.str.16 = [4 x i8] c"-tz\00"
@__const.main.szCMD = [134 x i8] c"find /usr/share/zoneinfo/ -type f -follow |sed 's/\\/usr\\/share\\/zoneinfo\\///' | sed 's/^right\\///' | sed 's/^posix\\///' | sort | uniq\00"
@.str.17 = [7 x i8] c"-stdin\00"
@.str.18 = [3 x i8] c"-f\00"
@stdin = global i32 0
@str = [14 x i8] c"Systex Error!\00"
@str.19 = [19 x i8] c"-h: Show this help\00"
@str.20 = [20 x i8] c"-s: Sourct TimeZone\00"
@str.21 = [20 x i8] c"-t: Target TimeZone\00"
@str.22 = [20 x i8] c"-v: Show Debug info\00"
@str.23 = [27 x i8] c"-f: Output datetime format\00"
@str.24 = [30 x i8] c" -f 0: YYYY-mm-DD HH:MM:SS\00"
@str.25 = [26 x i8] c" -f 1: YYYYmmDD HHMMSS\00"
@str.26 = [31 x i8] c"-tz: Show all support timezone\00"
@str.27 = [29 x i8] c"-stdin: get input from stdin\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [32 x i8]
%4 = alloca [32 x i8]
%5 = alloca [32 x i8]
%6 = alloca [134 x i8]
%7 = icmp sgt i32 %0, 1
br i1 %7, label %8, label %33
8: ; preds = %2
%9 = getelementptr inbounds i8*, i8** %1, i64 1
%10 = load i8*, i8** %9
%11 = tail call i64 @strcmp(i8* %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%12 = icmp eq i64 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %8
%14 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 0
%15 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%16 = getelementptr inbounds [32 x i8], [32 x i8]* %5, i64 0, i64 0
br label %40
17: ; preds = %8
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str, i64 0, i64 0))
%19 = load i8*, i8** %1
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0), i8* %19)
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.19, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.20, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.21, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.22, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.23, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.24, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.25, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.26, i64 0, i64 0))
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.27, i64 0, i64 0))
%30 = load i8*, i8** %1
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @.str.12, i64 0, i64 0), i8* %30)
%32 = tail call i32 @exit(i32 0)
unreachable
33: ; preds = %2
%34 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 0
%35 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%36 = getelementptr inbounds [32 x i8], [32 x i8]* %5, i64 0, i64 0
%37 = icmp eq i32 %0, 1
br i1 %37, label %40, label %38
38: ; preds = %33
%39 = add nsw i32 %0, -1
br label %109
40: ; preds = %13, %33
%41 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 0
%42 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%43 = add nsw i32 %0, -1
br label %44
44: ; preds = %40, %102
%45 = phi i32 [ 0, %40 ], [ %107, %102 ]
%46 = phi i32 [ 0, %40 ], [ %105, %102 ]
%47 = phi i32 [ 0, %40 ], [ %104, %102 ]
%48 = phi i32 [ 0, %40 ], [ %103, %102 ]
%49 = sext i32 %45 to i64
%50 = getelementptr inbounds i8*, i8** %1, i64 %49
%51 = load i8*, i8** %50
%52 = call i64 @strcmp(i8* %51, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0))
%53 = icmp eq i64 %52, 0
%54 = icmp slt i32 %45, %43
%55 = select i1 %53, i1 %54, i1 false
br i1 %55, label %56, label %63
56: ; preds = %44
%57 = add nsw i32 %45, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8*, i8** %1, i64 %58
%60 = load i8*, i8** %59
%61 = call i32 @strcpy(i8* %41, i8* %60)
%62 = call i32 @vIfTZisLocal(i8* %41)
br label %102
63: ; preds = %44
%64 = load i8*, i8** %50
%65 = call i64 @strcmp(i8* %64, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
%66 = icmp eq i64 %65, 0
%67 = select i1 %66, i1 %54, i1 false
br i1 %67, label %68, label %75
68: ; preds = %63
%69 = add nsw i32 %45, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8*, i8** %1, i64 %70
%72 = load i8*, i8** %71
%73 = call i32 @strcpy(i8* %42, i8* %72)
%74 = call i32 @vIfTZisLocal(i8* %42)
br label %102
75: ; preds = %63
%76 = load i8*, i8** %50
%77 = call i64 @strcmp(i8* %76, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.15, i64 0, i64 0))
%78 = icmp eq i64 %77, 0
br i1 %78, label %102, label %79
79: ; preds = %75
%80 = load i8*, i8** %50
%81 = call i64 @strcmp(i8* %80, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0))
%82 = icmp eq i64 %81, 0
br i1 %82, label %83, label %87
83: ; preds = %79
%84 = getelementptr inbounds [134 x i8], [134 x i8]* %6, i64 0, i64 0
%85 = call i32 @system(i8* %84)
%86 = call i32 @exit(i32 0)
unreachable
87: ; preds = %79
%88 = load i8*, i8** %50
%89 = call i64 @strcmp(i8* %88, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0))
%90 = icmp eq i64 %89, 0
br i1 %90, label %102, label %91
91: ; preds = %87
%92 = load i8*, i8** %50
%93 = call i64 @strcmp(i8* %92, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0))
%94 = icmp eq i64 %93, 0
%95 = select i1 %94, i1 %54, i1 false
br i1 %95, label %96, label %102
96: ; preds = %91
%97 = add nsw i32 %45, 1
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8*, i8** %1, i64 %98
%100 = load i8*, i8** %99
%101 = call i32 @atoi(i8* %100)
br label %102
102: ; preds = %87, %75, %56, %96, %91, %68
%103 = phi i32 [ %48, %56 ], [ %48, %68 ], [ %48, %96 ], [ %48, %91 ], [ 1, %75 ], [ %48, %87 ]
%104 = phi i32 [ %47, %56 ], [ %47, %68 ], [ %47, %96 ], [ %47, %91 ], [ %47, %75 ], [ 1, %87 ]
%105 = phi i32 [ %46, %56 ], [ %46, %68 ], [ %101, %96 ], [ %46, %91 ], [ %46, %75 ], [ %46, %87 ]
%106 = phi i32 [ %57, %56 ], [ %69, %68 ], [ %97, %96 ], [ %45, %91 ], [ %45, %75 ], [ %45, %87 ]
%107 = add nsw i32 %106, 1
%108 = icmp slt i32 %107, %0
br i1 %108, label %44, label %109
109: ; preds = %102, %38
%110 = phi i32 [ %39, %38 ], [ %43, %102 ]
%111 = phi i32 [ 0, %38 ], [ %103, %102 ]
%112 = phi i32 [ 0, %38 ], [ %104, %102 ]
%113 = phi i32 [ 0, %38 ], [ %105, %102 ]
%114 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 0
%115 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%116 = getelementptr inbounds [32 x i8], [32 x i8]* %5, i64 0, i64 0
%117 = call i32 @trimRight(i8* %114)
%118 = call i32 @trimRight(i8* %115)
%119 = icmp eq i32 %112, 0
%120 = getelementptr inbounds [32 x i8], [32 x i8]* %5, i64 0, i64 31
%121 = sext i32 %110 to i64
%122 = getelementptr inbounds i8*, i8** %1, i64 %121
br label %123
123: ; preds = %143, %109
%124 = phi i32 [ 0, %109 ], [ %145, %143 ]
br i1 %119, label %125, label %130
125: ; preds = %123
%126 = icmp eq i32 %124, 0
br i1 %126, label %127, label %146
127: ; preds = %125
%128 = load i8*, i8** %122
%129 = call i32 @strcpy(i8* %116, i8* %128)
br label %135
130: ; preds = %123
store i8 0, i8* %116
%131 = load i32, i32* @stdin
%132 = call i32 @fgets(i8* %116, i32 32, i32 %131)
store i8 0, i8* %120
%133 = call i32 @strlen(i8* %116)
%134 = icmp slt i32 %133, 8
br i1 %134, label %146, label %135
135: ; preds = %130, %127
%136 = call i8* @strchr(i8* %116, i8 signext 13)
%137 = icmp eq i8* %136, null
br i1 %137, label %139, label %138
138: ; preds = %135
store i8 0, i8* %136
br label %139
139: ; preds = %138, %135
%140 = call i8* @strchr(i8* %116, i8 signext 10)
%141 = icmp eq i8* %140, null
br i1 %141, label %143, label %142
142: ; preds = %139
store i8 0, i8* %140
br label %143
143: ; preds = %142, %139
%144 = call i32 @vConv(i32 %111, i8* %116, i8* %114, i8* %115, i32 %113)
%145 = add nuw nsw i32 %124, 1
br label %123
146: ; preds = %130, %125
ret i32 0
}