#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 atoi(char *);
scalar_t__ isdigit(char);
int /*<<< orphan*/ strcpy(char *, char *);
char *strtok(char *, char *);
int parse_netmap(char *s, int *iouinst, int *iouintf, int *iouliveinst) {
  char Left[100], Right[100];
  char LeftInstance[20], RightInstance[20];
  char LeftIntf[20], IntMajor[20], IntMinor[20];
  char temps[30];
  int interface;
  char *t;
  int i;
  *iouinst = 0;
  *iouintf = 0;
  *iouliveinst = 0;
  t = strtok(s, " ");
  if (t != NULL)
    strcpy(Left, t);
  else
    return 1;
  t = strtok(NULL, " ");
  if (t != NULL)
    strcpy(Right, t);
  else
    return 1;
  t = strtok(Left, ":");
  if (t != NULL)
    strcpy(LeftInstance, t);
  else
    return 1;
  t = strtok(NULL, " ");
  if (t != NULL)
    strcpy(LeftIntf, t);
  else
    return 1;
  strcpy(temps, LeftIntf);
  t = strtok(temps, "@");
  if (t != NULL)
    strcpy(LeftIntf, t);
  t = strtok(LeftIntf, "/");
  if (t != NULL)
    strcpy(IntMajor, t);
  else
    return 1;
  t = strtok(NULL, "/");
  if (t != NULL)
    strcpy(IntMinor, t);
  else
    return 1;
  interface = atoi(IntMajor) + (atoi(IntMinor) * 16);
  i = 0;
  while (Right[i] != '\0') {
    if (isdigit(Right[i]))
      i++;
    else {
      Right[i] = '\0';
      break;
    }
  }
  *iouinst = atoi(LeftInstance);
  *iouintf = interface;
  *iouliveinst = atoi(Right);
  return 0;
}


x86 assembly (clang, -O0):
<parse_netmap>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1e0,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    -0x18(%rbp),%rax
movl   $0x0,(%rax)
mov    -0x20(%rbp),%rax
movl   $0x0,(%rax)
mov    -0x28(%rbp),%rax
movl   $0x0,(%rax)
mov    -0x10(%rbp),%rdi
lea    0xe7c(%rip),%rsi
call   1050 <strtok@plt>
mov    %rax,-0x1d0(%rbp)
cmpq   $0x0,-0x1d0(%rbp)
je     11b6 <parse_netmap+0x76>
lea    -0x90(%rbp),%rdi
mov    -0x1d0(%rbp),%rsi
call   1040 <strcpy@plt>
jmp    11c2 <parse_netmap+0x82>
movl   $0x1,-0x4(%rbp)
jmp    145c <parse_netmap+0x31c>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe33(%rip),%rsi
call   1050 <strtok@plt>
mov    %rax,-0x1d0(%rbp)
cmpq   $0x0,-0x1d0(%rbp)
je     11ff <parse_netmap+0xbf>
lea    -0x100(%rbp),%rdi
mov    -0x1d0(%rbp),%rsi
call   1040 <strcpy@plt>
jmp    120b <parse_netmap+0xcb>
movl   $0x1,-0x4(%rbp)
jmp    145c <parse_netmap+0x31c>
lea    -0x90(%rbp),%rdi
lea    0xde9(%rip),%rsi
call   1050 <strtok@plt>
mov    %rax,-0x1d0(%rbp)
cmpq   $0x0,-0x1d0(%rbp)
je     124b <parse_netmap+0x10b>
lea    -0x120(%rbp),%rdi
mov    -0x1d0(%rbp),%rsi
call   1040 <strcpy@plt>
jmp    1257 <parse_netmap+0x117>
movl   $0x1,-0x4(%rbp)
jmp    145c <parse_netmap+0x31c>
xor    %eax,%eax
mov    %eax,%edi
lea    0xd9e(%rip),%rsi
call   1050 <strtok@plt>
mov    %rax,-0x1d0(%rbp)
cmpq   $0x0,-0x1d0(%rbp)
je     1294 <parse_netmap+0x154>
lea    -0x160(%rbp),%rdi
mov    -0x1d0(%rbp),%rsi
call   1040 <strcpy@plt>
jmp    12a0 <parse_netmap+0x160>
movl   $0x1,-0x4(%rbp)
jmp    145c <parse_netmap+0x31c>
lea    -0x1c0(%rbp),%rdi
lea    -0x160(%rbp),%rsi
call   1040 <strcpy@plt>
lea    -0x1c0(%rbp),%rdi
lea    0xd43(%rip),%rsi
call   1050 <strtok@plt>
mov    %rax,-0x1d0(%rbp)
cmpq   $0x0,-0x1d0(%rbp)
je     12ee <parse_netmap+0x1ae>
lea    -0x160(%rbp),%rdi
mov    -0x1d0(%rbp),%rsi
call   1040 <strcpy@plt>
lea    -0x160(%rbp),%rdi
lea    0xd0a(%rip),%rsi
call   1050 <strtok@plt>
mov    %rax,-0x1d0(%rbp)
cmpq   $0x0,-0x1d0(%rbp)
je     132e <parse_netmap+0x1ee>
lea    -0x180(%rbp),%rdi
mov    -0x1d0(%rbp),%rsi
call   1040 <strcpy@plt>
jmp    133a <parse_netmap+0x1fa>
movl   $0x1,-0x4(%rbp)
jmp    145c <parse_netmap+0x31c>
xor    %eax,%eax
mov    %eax,%edi
lea    0xcc1(%rip),%rsi
call   1050 <strtok@plt>
mov    %rax,-0x1d0(%rbp)
cmpq   $0x0,-0x1d0(%rbp)
je     1377 <parse_netmap+0x237>
lea    -0x1a0(%rbp),%rdi
mov    -0x1d0(%rbp),%rsi
call   1040 <strcpy@plt>
jmp    1383 <parse_netmap+0x243>
movl   $0x1,-0x4(%rbp)
jmp    145c <parse_netmap+0x31c>
lea    -0x180(%rbp),%rdi
call   1060 <atoi@plt>
mov    %eax,-0x1d8(%rbp)
lea    -0x1a0(%rbp),%rdi
call   1060 <atoi@plt>
mov    %eax,%ecx
mov    -0x1d8(%rbp),%eax
shl    $0x4,%ecx
add    %ecx,%eax
mov    %eax,-0x1c4(%rbp)
movl   $0x0,-0x1d4(%rbp)
movslq -0x1d4(%rbp),%rax
movsbl -0x100(%rbp,%rax,1),%eax
ff
cmp    $0x0,%eax
je     1421 <parse_netmap+0x2e1>
movslq -0x1d4(%rbp),%rax
movsbl -0x100(%rbp,%rax,1),%edi
ff
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     1408 <parse_netmap+0x2c8>
mov    -0x1d4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d4(%rbp)
jmp    141c <parse_netmap+0x2dc>
movslq -0x1d4(%rbp),%rax
movb   $0x0,-0x100(%rbp,%rax,1)
jmp    1421 <parse_netmap+0x2e1>
jmp    13be <parse_netmap+0x27e>
lea    -0x120(%rbp),%rdi
call   1060 <atoi@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x1c4(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
lea    -0x100(%rbp),%rdi
call   1060 <atoi@plt>
mov    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x1e0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<parse_netmap>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x178,%rsp
mov    %rcx,%r14
mov    %rdx,%r15
mov    %rsi,%rbx
movl   $0x0,(%rsi)
movl   $0x0,(%rdx)
movl   $0x0,(%rcx)
lea    0xe8d(%rip),%rsi
call   1050 <strtok@plt>
mov    $0x1,%ebp
test   %rax,%rax
je     130a <parse_netmap+0x1ca>
lea    0x110(%rsp),%rdi
mov    %rax,%rsi
call   1040 <strcpy@plt>
lea    0xe63(%rip),%rsi
xor    %edi,%edi
call   1050 <strtok@plt>
test   %rax,%rax
je     130a <parse_netmap+0x1ca>
lea    0x80(%rsp),%rdi
mov    %rax,%rsi
call   1040 <strcpy@plt>
lea    0xe3e(%rip),%rsi
lea    0x110(%rsp),%rdi
call   1050 <strtok@plt>
test   %rax,%rax
je     130a <parse_netmap+0x1ca>
lea    0x40(%rsp),%rdi
mov    %rax,%rsi
call   1040 <strcpy@plt>
lea    0xe12(%rip),%rsi
xor    %edi,%edi
call   1050 <strtok@plt>
test   %rax,%rax
je     130a <parse_netmap+0x1ca>
mov    %rsp,%r12
mov    %r12,%rdi
mov    %rax,%rsi
call   1040 <strcpy@plt>
lea    0xf0(%rsp),%r13
mov    %r13,%rdi
mov    %r12,%rsi
call   1040 <strcpy@plt>
lea    0xdde(%rip),%rsi
mov    %r13,%rdi
call   1050 <strtok@plt>
test   %rax,%rax
je     123e <parse_netmap+0xfe>
mov    %rsp,%rdi
mov    %rax,%rsi
call   1040 <strcpy@plt>
lea    0xdc1(%rip),%rsi
mov    %rsp,%rdi
call   1050 <strtok@plt>
test   %rax,%rax
je     130a <parse_netmap+0x1ca>
lea    0x20(%rsp),%rdi
mov    %rax,%rsi
call   1040 <strcpy@plt>
lea    0xd9c(%rip),%rsi
xor    %edi,%edi
call   1050 <strtok@plt>
test   %rax,%rax
je     130a <parse_netmap+0x1ca>
lea    0x60(%rsp),%rbp
mov    %rbp,%rdi
mov    %rax,%rsi
call   1040 <strcpy@plt>
lea    0x20(%rsp),%rdi
call   1060 <atoi@plt>
mov    %eax,%r12d
mov    %rbp,%rdi
call   1060 <atoi@plt>
mov    %eax,%r13d
shl    $0x4,%r13d
add    %r12d,%r13d
mov    0x80(%rsp),%al
test   %al,%al
je     12e9 <parse_netmap+0x1a9>
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
movsbl %al,%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     12df <parse_netmap+0x19f>
movzbl 0x81(%rsp,%rbp,1),%eax
add    $0x1,%rbp
test   %al,%al
jne    12c0 <parse_netmap+0x180>
jmp    12e9 <parse_netmap+0x1a9>
mov    %ebp,%eax
movb   $0x0,0x80(%rsp,%rax,1)
lea    0x40(%rsp),%rdi
call   1060 <atoi@plt>
mov    %eax,(%rbx)
mov    %r13d,(%r15)
lea    0x80(%rsp),%rdi
call   1060 <atoi@plt>
mov    %eax,(%r14)
xor    %ebp,%ebp
mov    %ebp,%eax
add    $0x178,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [2 x i8] c" \00"
@.str.1 = [2 x i8] c":\00"
@.str.2 = [2 x i8] c"@\00"
@.str.3 = [2 x i8] c"/\00"
define i32 @parse_netmap(i8* %0, i32* %1, i32* %2, i32* %3) {
%5 = alloca i32
%6 = alloca i8*
%7 = alloca i32*
%8 = alloca i32*
%9 = alloca i32*
%10 = alloca [100 x i8]
%11 = alloca [100 x i8]
%12 = alloca [20 x i8]
%13 = alloca [20 x i8]
%14 = alloca [20 x i8]
%15 = alloca [20 x i8]
%16 = alloca [20 x i8]
%17 = alloca [30 x i8]
%18 = alloca i32
%19 = alloca i8*
%20 = alloca i32
store i8* %0, i8** %6
store i32* %1, i32** %7
store i32* %2, i32** %8
store i32* %3, i32** %9
%21 = load i32*, i32** %7
store i32 0, i32* %21
%22 = load i32*, i32** %8
store i32 0, i32* %22
%23 = load i32*, i32** %9
store i32 0, i32* %23
%24 = load i8*, i8** %6
%25 = call i8* @strtok(i8* %24, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i8* %25, i8** %19
%26 = load i8*, i8** %19
%27 = icmp ne i8* %26, null
br i1 %27, label %28, label %32
28: ; preds = %4
%29 = getelementptr inbounds [100 x i8], [100 x i8]* %10, i64 0, i64 0
%30 = load i8*, i8** %19
%31 = call i32 @strcpy(i8* %29, i8* %30)
br label %33
32: ; preds = %4
store i32 1, i32* %5
br label %130
33: ; preds = %28
%34 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i8* %34, i8** %19
%35 = load i8*, i8** %19
%36 = icmp ne i8* %35, null
br i1 %36, label %37, label %41
37: ; preds = %33
%38 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%39 = load i8*, i8** %19
%40 = call i32 @strcpy(i8* %38, i8* %39)
br label %42
41: ; preds = %33
store i32 1, i32* %5
br label %130
42: ; preds = %37
%43 = getelementptr inbounds [100 x i8], [100 x i8]* %10, i64 0, i64 0
%44 = call i8* @strtok(i8* %43, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i8* %44, i8** %19
%45 = load i8*, i8** %19
%46 = icmp ne i8* %45, null
br i1 %46, label %47, label %51
47: ; preds = %42
%48 = getelementptr inbounds [20 x i8], [20 x i8]* %12, i64 0, i64 0
%49 = load i8*, i8** %19
%50 = call i32 @strcpy(i8* %48, i8* %49)
br label %52
51: ; preds = %42
store i32 1, i32* %5
br label %130
52: ; preds = %47
%53 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i8* %53, i8** %19
%54 = load i8*, i8** %19
%55 = icmp ne i8* %54, null
br i1 %55, label %56, label %60
56: ; preds = %52
%57 = getelementptr inbounds [20 x i8], [20 x i8]* %14, i64 0, i64 0
%58 = load i8*, i8** %19
%59 = call i32 @strcpy(i8* %57, i8* %58)
br label %61
60: ; preds = %52
store i32 1, i32* %5
br label %130
61: ; preds = %56
%62 = getelementptr inbounds [30 x i8], [30 x i8]* %17, i64 0, i64 0
%63 = getelementptr inbounds [20 x i8], [20 x i8]* %14, i64 0, i64 0
%64 = call i32 @strcpy(i8* %62, i8* %63)
%65 = getelementptr inbounds [30 x i8], [30 x i8]* %17, i64 0, i64 0
%66 = call i8* @strtok(i8* %65, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i8* %66, i8** %19
%67 = load i8*, i8** %19
%68 = icmp ne i8* %67, null
br i1 %68, label %69, label %73
69: ; preds = %61
%70 = getelementptr inbounds [20 x i8], [20 x i8]* %14, i64 0, i64 0
%71 = load i8*, i8** %19
%72 = call i32 @strcpy(i8* %70, i8* %71)
br label %73
73: ; preds = %69, %61
%74 = getelementptr inbounds [20 x i8], [20 x i8]* %14, i64 0, i64 0
%75 = call i8* @strtok(i8* %74, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i8* %75, i8** %19
%76 = load i8*, i8** %19
%77 = icmp ne i8* %76, null
br i1 %77, label %78, label %82
78: ; preds = %73
%79 = getelementptr inbounds [20 x i8], [20 x i8]* %15, i64 0, i64 0
%80 = load i8*, i8** %19
%81 = call i32 @strcpy(i8* %79, i8* %80)
br label %83
82: ; preds = %73
store i32 1, i32* %5
br label %130
83: ; preds = %78
%84 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i8* %84, i8** %19
%85 = load i8*, i8** %19
%86 = icmp ne i8* %85, null
br i1 %86, label %87, label %91
87: ; preds = %83
%88 = getelementptr inbounds [20 x i8], [20 x i8]* %16, i64 0, i64 0
%89 = load i8*, i8** %19
%90 = call i32 @strcpy(i8* %88, i8* %89)
br label %92
91: ; preds = %83
store i32 1, i32* %5
br label %130
92: ; preds = %87
%93 = getelementptr inbounds [20 x i8], [20 x i8]* %15, i64 0, i64 0
%94 = call i32 @atoi(i8* %93)
%95 = getelementptr inbounds [20 x i8], [20 x i8]* %16, i64 0, i64 0
%96 = call i32 @atoi(i8* %95)
%97 = mul nsw i32 %96, 16
%98 = add nsw i32 %94, %97
store i32 %98, i32* %18
store i32 0, i32* %20
br label %99
99: ; preds = %120, %92
%100 = load i32, i32* %20
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 %101
%103 = load i8, i8* %102
%104 = sext i8 %103 to i32
%105 = icmp ne i32 %104, 0
br i1 %105, label %106, label %121
106: ; preds = %99
%107 = load i32, i32* %20
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 %108
%110 = load i8, i8* %109
%111 = call i64 @isdigit(i8 signext %110)
%112 = icmp ne i64 %111, 0
br i1 %112, label %113, label %116
113: ; preds = %106
%114 = load i32, i32* %20
%115 = add nsw i32 %114, 1
store i32 %115, i32* %20
br label %120
116: ; preds = %106
%117 = load i32, i32* %20
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 %118
store i8 0, i8* %119
br label %121
120: ; preds = %113
br label %99
121: ; preds = %116, %99
%122 = getelementptr inbounds [20 x i8], [20 x i8]* %12, i64 0, i64 0
%123 = call i32 @atoi(i8* %122)
%124 = load i32*, i32** %7
store i32 %123, i32* %124
%125 = load i32, i32* %18
%126 = load i32*, i32** %8
store i32 %125, i32* %126
%127 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%128 = call i32 @atoi(i8* %127)
%129 = load i32*, i32** %9
store i32 %128, i32* %129
store i32 0, i32* %5
br label %130
130: ; preds = %121, %91, %82, %60, %51, %41, %32
%131 = load i32, i32* %5
ret i32 %131
}

LLVM IR (-O2):
@.str = [2 x i8] c" \00"
@.str.1 = [2 x i8] c":\00"
@.str.2 = [2 x i8] c"@\00"
@.str.3 = [2 x i8] c"/\00"
define i32 @parse_netmap(i8* %0, i32* nocapture writeonly %1, i32* nocapture writeonly %2, i32* nocapture writeonly %3) {
%5 = alloca [100 x i8]
%6 = alloca [100 x i8]
%7 = alloca [20 x i8]
%8 = alloca [20 x i8]
%9 = alloca [20 x i8]
%10 = alloca [20 x i8]
%11 = alloca [30 x i8]
%12 = getelementptr inbounds [100 x i8], [100 x i8]* %5, i64 0, i64 0
%13 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%14 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%15 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%16 = getelementptr inbounds [20 x i8], [20 x i8]* %9, i64 0, i64 0
%17 = getelementptr inbounds [20 x i8], [20 x i8]* %10, i64 0, i64 0
%18 = getelementptr inbounds [30 x i8], [30 x i8]* %11, i64 0, i64 0
store i32 0, i32* %1
store i32 0, i32* %2
store i32 0, i32* %3
%19 = tail call i8* @strtok(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%20 = icmp eq i8* %19, null
br i1 %20, label %71, label %21
21: ; preds = %4
%22 = call i32 @strcpy(i8* %12, i8* %19)
%23 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%24 = icmp eq i8* %23, null
br i1 %24, label %71, label %25
25: ; preds = %21
%26 = call i32 @strcpy(i8* %13, i8* %23)
%27 = call i8* @strtok(i8* %12, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%28 = icmp eq i8* %27, null
br i1 %28, label %71, label %29
29: ; preds = %25
%30 = call i32 @strcpy(i8* %14, i8* %27)
%31 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%32 = icmp eq i8* %31, null
br i1 %32, label %71, label %33
33: ; preds = %29
%34 = call i32 @strcpy(i8* %15, i8* %31)
%35 = call i32 @strcpy(i8* %18, i8* %15)
%36 = call i8* @strtok(i8* %18, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%37 = icmp eq i8* %36, null
br i1 %37, label %40, label %38
38: ; preds = %33
%39 = call i32 @strcpy(i8* %15, i8* %36)
br label %40
40: ; preds = %38, %33
%41 = call i8* @strtok(i8* %15, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%42 = icmp eq i8* %41, null
br i1 %42, label %71, label %43
43: ; preds = %40
%44 = call i32 @strcpy(i8* %16, i8* %41)
%45 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%46 = icmp eq i8* %45, null
br i1 %46, label %71, label %47
47: ; preds = %43
%48 = call i32 @strcpy(i8* %17, i8* %45)
%49 = call i32 @atoi(i8* %16)
%50 = call i32 @atoi(i8* %17)
%51 = shl nsw i32 %50, 4
%52 = add nsw i32 %51, %49
%53 = load i8, i8* %13
%54 = icmp eq i8 %53, 0
br i1 %54, label %68, label %55
55: ; preds = %47, %60
%56 = phi i64 [ %61, %60 ], [ 0, %47 ]
%57 = phi i8 [ %63, %60 ], [ %53, %47 ]
%58 = call i64 @isdigit(i8 signext %57)
%59 = icmp eq i64 %58, 0
br i1 %59, label %65, label %60
60: ; preds = %55
%61 = add nuw i64 %56, 1
%62 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 %61
%63 = load i8, i8* %62
%64 = icmp eq i8 %63, 0
br i1 %64, label %68, label %55
65: ; preds = %55
%66 = and i64 %56, 4294967295
%67 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 %66
store i8 0, i8* %67
br label %68
68: ; preds = %60, %47, %65
%69 = call i32 @atoi(i8* %14)
store i32 %69, i32* %1
store i32 %52, i32* %2
%70 = call i32 @atoi(i8* %13)
store i32 %70, i32* %3
br label %71
71: ; preds = %43, %40, %29, %25, %21, %4, %68
%72 = phi i32 [ 0, %68 ], [ 1, %4 ], [ 1, %21 ], [ 1, %25 ], [ 1, %29 ], [ 1, %40 ], [ 1, %43 ]
ret i32 %72
}