#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*/ num;

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
long strtol(char *, int /*<<< orphan*/ *, int /*<<< orphan*/);
unsigned long strtoul(char *, int /*<<< orphan*/ *, int /*<<< orphan*/);
int main(int argc, char *argv[]) {
  int i, count;
  char *num[] = {"1234", "0x1234",   "01234", "0xFF",  "0xff",
                 "0xfF", "0x3f8",    "0xF00", "-1234", "-1",
                 "12ab", "0b101011", "0b10",  "0b1",   "0B11"};
  count = sizeof(num) / sizeof(num[0]);
  printf("strtol() :: \n");
  for (i = 0; i < count; i++) {
    long val = strtol(num[i], NULL, 0);
    printf("%+10s %20ld %#20lx %#20lo\n", num[i], val, val, val);
  }
  printf("strtoul() :: \n");
  for (i = 0; i < count; i++) {
    unsigned long val = strtoul(num[i], NULL, 0);
    printf("%+10s %20uld %#20ulx %#20ulo\n", num[i], val, val, val);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0x90(%rbp),%rdi
lea    0x2c39(%rip),%rsi
mov    $0x78,%edx
call   1050 <memcpy@plt>
movl   $0xf,-0x18(%rbp)
lea    0xece(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    11f4 <main+0xb4>
movslq -0x14(%rbp),%rax
mov    -0x90(%rbp,%rax,8),%rdi
ff
xor    %eax,%eax
mov    %eax,%esi
xor    %edx,%edx
call   1040 <strtol@plt>
mov    %rax,-0x98(%rbp)
movslq -0x14(%rbp),%rax
mov    -0x90(%rbp,%rax,8),%rsi
ff
mov    -0x98(%rbp),%rdx
mov    -0x98(%rbp),%rcx
mov    -0x98(%rbp),%r8
lea    0xe7c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    118d <main+0x4d>
lea    0xe7b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    1270 <main+0x130>
movslq -0x14(%rbp),%rax
mov    -0x90(%rbp,%rax,8),%rdi
ff
xor    %eax,%eax
mov    %eax,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %rax,-0xa0(%rbp)
movslq -0x14(%rbp),%rax
mov    -0x90(%rbp,%rax,8),%rsi
ff
mov    -0xa0(%rbp),%rdx
mov    -0xa0(%rbp),%rcx
mov    -0xa0(%rbp),%r8
lea    0xe2a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1209 <main+0xc9>
xor    %eax,%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xf34(%rip),%rdi
call   1030 <puts@plt>
lea    0xeef(%rip),%rbx
lea    0xec4(%rip),%rsi
mov    $0x4d2,%edx
mov    $0x4d2,%ecx
mov    $0x4d2,%r8d
mov    %rbx,%rdi
mov    %rsi,%r13
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe77(%rip),%rsi
mov    $0x1234,%edx
mov    $0x1234,%ecx
mov    $0x1234,%r8d
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe5d(%rip),%rsi
mov    $0x29c,%edx
mov    $0x29c,%ecx
mov    $0x29c,%r8d
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe42(%rip),%rsi
mov    $0xff,%edx
mov    $0xff,%ecx
mov    $0xff,%r8d
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe26(%rip),%rsi
mov    $0xff,%edx
mov    $0xff,%ecx
mov    $0xff,%r8d
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe0a(%rip),%rsi
mov    $0xff,%edx
mov    $0xff,%ecx
mov    $0xff,%r8d
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdee(%rip),%rsi
mov    $0x3f8,%edx
mov    $0x3f8,%ecx
mov    $0x3f8,%r8d
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdd3(%rip),%rsi
mov    $0xf00,%edx
mov    $0xf00,%ecx
mov    $0xf00,%r8d
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdb8(%rip),%rsi
mov    %rbx,%rdi
mov    $0xfffffffffffffb2e,%rdx
mov    $0xfffffffffffffb2e,%rcx
mov    $0xfffffffffffffb2e,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd98(%rip),%rsi
mov    %rbx,%rdi
mov    $0xffffffffffffffff,%rdx
mov    $0xffffffffffffffff,%rcx
mov    $0xffffffffffffffff,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd75(%rip),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1050 <strtol@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd51(%rip),%r15
mov    %r15,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1050 <strtol@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd31(%rip),%r12
mov    %r12,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1050 <strtol@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd0d(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1050 <strtol@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xce8(%rip),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1050 <strtol@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd0a(%rip),%rdi
call   1030 <puts@plt>
mov    %r13,%rbx
mov    %r13,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
lea    0xcc4(%rip),%r13
mov    %r13,%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc3f(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc1d(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xbfa(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xbd6(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xbb2(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xb8e(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xb6b(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xb48(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xb25(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xaff(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %r13,%rdi
mov    %r15,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %r13,%rdi
mov    %r12,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %r13,%rdi
mov    %r14,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1060 <strtoul@plt>
mov    %r13,%rdi
mov    %rbp,%rsi
mov    %rax,%rdx
mov    %rax,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [5 x i8] c"1234\00"
@.str.1 = [7 x i8] c"0x1234\00"
@.str.2 = [6 x i8] c"01234\00"
@.str.3 = [5 x i8] c"0xFF\00"
@.str.4 = [5 x i8] c"0xff\00"
@.str.5 = [5 x i8] c"0xfF\00"
@.str.6 = [6 x i8] c"0x3f8\00"
@.str.7 = [6 x i8] c"0xF00\00"
@.str.8 = [6 x i8] c"-1234\00"
@.str.9 = [3 x i8] c"-1\00"
@.str.10 = [5 x i8] c"12ab\00"
@.str.11 = [9 x i8] c"0b101011\00"
@.str.12 = [5 x i8] c"0b10\00"
@.str.13 = [4 x i8] c"0b1\00"
@.str.14 = [5 x i8] c"0B11\00"
@__const.main.num = [15 x i8*] [i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i32 0, i32 0)]
@.str.15 = [14 x i8] c"strtol() :: \0A\00"
@.str.16 = [27 x i8] c"%+10s %20ld %lx %lo\0A\00"
@.str.17 = [15 x i8] c"strtoul() :: \0A\00"
@.str.18 = [30 x i8] c"%+10s %20uld %ulx %ulo\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 [15 x i8*]
%9 = alloca i64
%10 = alloca i64
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%11 = bitcast [15 x i8*]* %8 to i8*
store i32 15, i32* %7
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.15, i64 0, i64 0))
store i32 0, i32* %6
br label %13
13: ; preds = %31, %2
%14 = load i32, i32* %6
%15 = load i32, i32* %7
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %34
17: ; preds = %13
%18 = load i32, i32* %6
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [15 x i8*], [15 x i8*]* %8, i64 0, i64 %19
%21 = load i8*, i8** %20
%22 = call i64 @strtol(i8* %21, i32* null, i32 0)
store i64 %22, i64* %9
%23 = load i32, i32* %6
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [15 x i8*], [15 x i8*]* %8, i64 0, i64 %24
%26 = load i8*, i8** %25
%27 = load i64, i64* %9
%28 = load i64, i64* %9
%29 = load i64, i64* %9
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* %26, i64 %27, i64 %28, i64 %29)
br label %31
31: ; preds = %17
%32 = load i32, i32* %6
%33 = add nsw i32 %32, 1
store i32 %33, i32* %6
br label %13
34: ; preds = %13
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0))
store i32 0, i32* %6
br label %36
36: ; preds = %54, %34
%37 = load i32, i32* %6
%38 = load i32, i32* %7
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %57
40: ; preds = %36
%41 = load i32, i32* %6
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [15 x i8*], [15 x i8*]* %8, i64 0, i64 %42
%44 = load i8*, i8** %43
%45 = call i64 @strtoul(i8* %44, i32* null, i32 0)
store i64 %45, i64* %10
%46 = load i32, i32* %6
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [15 x i8*], [15 x i8*]* %8, i64 0, i64 %47
%49 = load i8*, i8** %48
%50 = load i64, i64* %10
%51 = load i64, i64* %10
%52 = load i64, i64* %10
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* %49, i64 %50, i64 %51, i64 %52)
br label %54
54: ; preds = %40
%55 = load i32, i32* %6
%56 = add nsw i32 %55, 1
store i32 %56, i32* %6
br label %36
57: ; preds = %36
ret i32 0
}

LLVM IR (-O2):
@.str = [5 x i8] c"1234\00"
@.str.1 = [7 x i8] c"0x1234\00"
@.str.2 = [6 x i8] c"01234\00"
@.str.3 = [5 x i8] c"0xFF\00"
@.str.4 = [5 x i8] c"0xff\00"
@.str.5 = [5 x i8] c"0xfF\00"
@.str.6 = [6 x i8] c"0x3f8\00"
@.str.7 = [6 x i8] c"0xF00\00"
@.str.8 = [6 x i8] c"-1234\00"
@.str.9 = [3 x i8] c"-1\00"
@.str.10 = [5 x i8] c"12ab\00"
@.str.11 = [9 x i8] c"0b101011\00"
@.str.12 = [5 x i8] c"0b10\00"
@.str.13 = [4 x i8] c"0b1\00"
@.str.14 = [5 x i8] c"0B11\00"
@.str.16 = [27 x i8] c"%+10s %20ld %lx %lo\0A\00"
@.str.18 = [30 x i8] c"%+10s %20uld %ulx %ulo\0A\00"
@str = [13 x i8] c"strtol() :: \00"
@str.19 = [14 x i8] c"strtoul() :: \00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i64 1234, i64 1234, i64 1234)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i64 4660, i64 4660, i64 4660)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i64 668, i64 668, i64 668)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i64 255, i64 255, i64 255)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i64 255, i64 255, i64 255)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i64 255, i64 255, i64 255)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i64 1016, i64 1016, i64 1016)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i64 3840, i64 3840, i64 3840)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i64 -1234, i64 -1234, i64 -1234)
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0), i64 -1, i64 -1, i64 -1)
%14 = tail call i64 @strtol(i8* nocapture getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i32* null, i32 0)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i64 %14, i64 %14, i64 %14)
%16 = tail call i64 @strtol(i8* nocapture getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i32* null, i32 0)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i64 %16, i64 %16, i64 %16)
%18 = tail call i64 @strtol(i8* nocapture getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i32* null, i32 0)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i64 %18, i64 %18, i64 %18)
%20 = tail call i64 @strtol(i8* nocapture getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32* null, i32 0)
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i64 %20, i64 %20, i64 %20)
%22 = tail call i64 @strtol(i8* nocapture getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0), i32* null, i32 0)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0), i64 %22, i64 %22, i64 %22)
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.19, i64 0, i64 0))
%25 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32* null, i32 0)
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i64 %25, i64 %25, i64 %25)
%27 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32* null, i32 0)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i64 %27, i64 %27, i64 %27)
%29 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32* null, i32 0)
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i64 %29, i64 %29, i64 %29)
%31 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i32* null, i32 0)
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i64 %31, i64 %31, i64 %31)
%33 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32* null, i32 0)
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i64 %33, i64 %33, i64 %33)
%35 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32* null, i32 0)
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i64 %35, i64 %35, i64 %35)
%37 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32* null, i32 0)
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i64 %37, i64 %37, i64 %37)
%39 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32* null, i32 0)
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i64 %39, i64 %39, i64 %39)
%41 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32* null, i32 0)
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i64 %41, i64 %41, i64 %41)
%43 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0), i32* null, i32 0)
%44 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0), i64 %43, i64 %43, i64 %43)
%45 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i32* null, i32 0)
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i64 %45, i64 %45, i64 %45)
%47 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i32* null, i32 0)
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i64 %47, i64 %47, i64 %47)
%49 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i32* null, i32 0)
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i64 %49, i64 %49, i64 %49)
%51 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32* null, i32 0)
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i64 %51, i64 %51, i64 %51)
%53 = tail call i64 @strtoul(i8* nocapture getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0), i32* null, i32 0)
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0), i64 %53, i64 %53, i64 %53)
ret i32 0
}