#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 direction(int, char *);
int setDigital(int, int);
int writeInt(char *, unsigned char);
int exportIO(unsigned char n) {
  int r;
  switch (n) {
  case (50):
    r = writeInt("/sys/class/gpio/export", 50);
    r += writeInt("/sys/class/gpio/export", 40);
    r += direction(40, "out");
    r += setDigital(40, 1);
    return r;
    break;
  case (51):
    r = writeInt("/sys/class/gpio/export", 51);
    r += writeInt("/sys/class/gpio/export", 41);
    r += direction(41, "out");
    r += setDigital(41, 1);
    return r;
    break;
  case (32):
    r = writeInt("/sys/class/gpio/export", 32);
    r += writeInt("/sys/class/gpio/export", 31);
    r += direction(31, "out");
    r += setDigital(31, 1);
    return r;
    break;
  case (18):
    r = writeInt("/sys/class/gpio/export", 18);
    r += writeInt("/sys/class/gpio/export", 30);
    r += direction(30, "out");
    r += setDigital(30, 1);
    return r;
    break;
  case (16):
    r = writeInt("/sys/class/gpio/export", 16);
    r += writeInt("/sys/class/gpio/export", 42);
    r += direction(42, "out");
    r += setDigital(42, 1);
    return r;
    break;
  case (25):
    r = writeInt("/sys/class/gpio/export", 25);
    r += writeInt("/sys/class/gpio/export", 43);
    r += direction(43, "out");
    r += setDigital(43, 1);
    return r;
    break;
  case (38):
    r = writeInt("/sys/class/gpio/export", 38);
    r += writeInt("/sys/class/gpio/export", 54);
    r += direction(54, "out");
    r += setDigital(54, 1);
    return r;
    break;
  case (39):
    r = writeInt("/sys/class/gpio/export", 39);
    r += writeInt("/sys/class/gpio/export", 55);
    r += direction(55, "out");
    r += setDigital(55, 1);
    return r;
    break;
  default:
    return writeInt("/sys/class/gpio/export", n);
  }
}


x86 assembly (clang, -O0):
<exportIO>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %dil,%al
mov    %al,-0x5(%rbp)
movzbl -0x5(%rbp),%eax
add    $0xfffffff0,%eax
mov    %eax,%ecx
mov    %rcx,-0x18(%rbp)
sub    $0x23,%eax
ja     1478 <exportIO+0x348>
mov    -0x18(%rbp),%rax
lea    0xea1(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf21(%rip),%rdi
mov    $0x32,%esi
call   1030 <writeInt@plt>
mov    %eax,-0xc(%rbp)
lea    0xf0d(%rip),%rdi
mov    $0x28,%esi
call   1030 <writeInt@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x28,%edi
lea    0xf08(%rip),%rsi
call   1040 <direction@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x28,%edi
mov    $0x1,%esi
call   1050 <setDigital@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    148b <exportIO+0x35b>
lea    0xebf(%rip),%rdi
mov    $0x33,%esi
call   1030 <writeInt@plt>
mov    %eax,-0xc(%rbp)
lea    0xeab(%rip),%rdi
mov    $0x29,%esi
call   1030 <writeInt@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x29,%edi
lea    0xea6(%rip),%rsi
call   1040 <direction@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x29,%edi
mov    $0x1,%esi
call   1050 <setDigital@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    148b <exportIO+0x35b>
lea    0xe5d(%rip),%rdi
mov    $0x20,%esi
call   1030 <writeInt@plt>
mov    %eax,-0xc(%rbp)
lea    0xe49(%rip),%rdi
mov    $0x1f,%esi
call   1030 <writeInt@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x1f,%edi
lea    0xe44(%rip),%rsi
call   1040 <direction@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x1f,%edi
mov    $0x1,%esi
call   1050 <setDigital@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    148b <exportIO+0x35b>
lea    0xdfb(%rip),%rdi
mov    $0x12,%esi
call   1030 <writeInt@plt>
mov    %eax,-0xc(%rbp)
lea    0xde7(%rip),%rdi
mov    $0x1e,%esi
call   1030 <writeInt@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x1e,%edi
lea    0xde2(%rip),%rsi
call   1040 <direction@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x1e,%edi
mov    $0x1,%esi
call   1050 <setDigital@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    148b <exportIO+0x35b>
lea    0xd99(%rip),%rdi
mov    $0x10,%esi
call   1030 <writeInt@plt>
mov    %eax,-0xc(%rbp)
lea    0xd85(%rip),%rdi
mov    $0x2a,%esi
call   1030 <writeInt@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x2a,%edi
lea    0xd80(%rip),%rsi
call   1040 <direction@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x2a,%edi
mov    $0x1,%esi
call   1050 <setDigital@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    148b <exportIO+0x35b>
lea    0xd37(%rip),%rdi
mov    $0x19,%esi
call   1030 <writeInt@plt>
mov    %eax,-0xc(%rbp)
lea    0xd23(%rip),%rdi
mov    $0x2b,%esi
call   1030 <writeInt@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x2b,%edi
lea    0xd1e(%rip),%rsi
call   1040 <direction@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x2b,%edi
mov    $0x1,%esi
call   1050 <setDigital@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    148b <exportIO+0x35b>
lea    0xcd5(%rip),%rdi
mov    $0x26,%esi
call   1030 <writeInt@plt>
mov    %eax,-0xc(%rbp)
lea    0xcc1(%rip),%rdi
mov    $0x36,%esi
call   1030 <writeInt@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x36,%edi
lea    0xcbc(%rip),%rsi
call   1040 <direction@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x36,%edi
mov    $0x1,%esi
call   1050 <setDigital@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    148b <exportIO+0x35b>
lea    0xc73(%rip),%rdi
mov    $0x27,%esi
call   1030 <writeInt@plt>
mov    %eax,-0xc(%rbp)
lea    0xc5f(%rip),%rdi
mov    $0x37,%esi
call   1030 <writeInt@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x37,%edi
lea    0xc5a(%rip),%rsi
call   1040 <direction@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    $0x37,%edi
mov    $0x1,%esi
call   1050 <setDigital@plt>
add    -0xc(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    148b <exportIO+0x35b>
lea    0xc11(%rip),%rdi
movzbl -0x5(%rbp),%esi
call   1030 <writeInt@plt>
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<exportIO>:
push   %rbp
push   %rbx
push   %rax
lea    -0x10(%rdi),%eax
cmp    $0x23,%al
ja     1193 <exportIO+0x63>
movzbl %al,%eax
lea    0xebc(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf3c(%rip),%rbx
mov    %rbx,%rdi
mov    $0x10,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebp
mov    %rbx,%rdi
mov    $0x2a,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebx
add    %ebp,%ebx
lea    0xf2c(%rip),%rsi
mov    $0x2a,%edi
call   1040 <direction@plt>
mov    %eax,%ebp
add    %ebx,%ebp
mov    $0x2a,%edi
jmp    138b <exportIO+0x25b>
movzbl %dil,%esi
lea    0xef2(%rip),%rdi
add    $0x8,%rsp
pop    %rbx
pop    %rbp
jmp    1030 <writeInt@plt>
lea    0xee0(%rip),%rbx
mov    %rbx,%rdi
mov    $0x12,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebp
mov    %rbx,%rdi
mov    $0x1e,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebx
add    %ebp,%ebx
lea    0xed0(%rip),%rsi
mov    $0x1e,%edi
call   1040 <direction@plt>
mov    %eax,%ebp
add    %ebx,%ebp
mov    $0x1e,%edi
jmp    138b <exportIO+0x25b>
lea    0xe9a(%rip),%rbx
mov    %rbx,%rdi
mov    $0x19,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebp
mov    %rbx,%rdi
mov    $0x2b,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebx
add    %ebp,%ebx
lea    0xe8a(%rip),%rsi
mov    $0x2b,%edi
call   1040 <direction@plt>
mov    %eax,%ebp
add    %ebx,%ebp
mov    $0x2b,%edi
jmp    138b <exportIO+0x25b>
lea    0xe54(%rip),%rbx
mov    %rbx,%rdi
mov    $0x20,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebp
mov    %rbx,%rdi
mov    $0x1f,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebx
add    %ebp,%ebx
lea    0xe44(%rip),%rsi
mov    $0x1f,%edi
call   1040 <direction@plt>
mov    %eax,%ebp
add    %ebx,%ebp
mov    $0x1f,%edi
jmp    138b <exportIO+0x25b>
lea    0xe0e(%rip),%rbx
mov    %rbx,%rdi
mov    $0x26,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebp
mov    %rbx,%rdi
mov    $0x36,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebx
add    %ebp,%ebx
lea    0xdfe(%rip),%rsi
mov    $0x36,%edi
call   1040 <direction@plt>
mov    %eax,%ebp
add    %ebx,%ebp
mov    $0x36,%edi
jmp    138b <exportIO+0x25b>
lea    0xdc8(%rip),%rbx
mov    %rbx,%rdi
mov    $0x27,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebp
mov    %rbx,%rdi
mov    $0x37,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebx
add    %ebp,%ebx
lea    0xdb8(%rip),%rsi
mov    $0x37,%edi
call   1040 <direction@plt>
mov    %eax,%ebp
add    %ebx,%ebp
mov    $0x37,%edi
jmp    138b <exportIO+0x25b>
lea    0xd82(%rip),%rbx
mov    %rbx,%rdi
mov    $0x32,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebp
mov    %rbx,%rdi
mov    $0x28,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebx
add    %ebp,%ebx
lea    0xd72(%rip),%rsi
mov    $0x28,%edi
call   1040 <direction@plt>
mov    %eax,%ebp
add    %ebx,%ebp
mov    $0x28,%edi
jmp    138b <exportIO+0x25b>
lea    0xd3f(%rip),%rbx
mov    %rbx,%rdi
mov    $0x33,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebp
mov    %rbx,%rdi
mov    $0x29,%esi
call   1030 <writeInt@plt>
mov    %eax,%ebx
add    %ebp,%ebx
lea    0xd2f(%rip),%rsi
mov    $0x29,%edi
call   1040 <direction@plt>
mov    %eax,%ebp
add    %ebx,%ebp
mov    $0x29,%edi
mov    $0x1,%esi
call   1050 <setDigital@plt>
add    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
@.str = [23 x i8] c"/sys/class/gpio/export\00"
@.str.1 = [4 x i8] c"out\00"
define i32 @exportIO(i8 zeroext %0) {
%2 = alloca i32
%3 = alloca i8
%4 = alloca i32
store i8 %0, i8* %3
%5 = load i8, i8* %3
%6 = zext i8 %5 to i32
switch i32 %6, label %103 [
i32 50, label %7
i32 51, label %19
i32 32, label %31
i32 18, label %43
i32 16, label %55
i32 25, label %67
i32 38, label %79
i32 39, label %91
]
7: ; preds = %1
%8 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 50)
store i32 %8, i32* %4
%9 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 40)
%10 = load i32, i32* %4
%11 = add nsw i32 %10, %9
store i32 %11, i32* %4
%12 = call i32 @direction(i32 40, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%13 = load i32, i32* %4
%14 = add nsw i32 %13, %12
store i32 %14, i32* %4
%15 = call i32 @setDigital(i32 40, i32 1)
%16 = load i32, i32* %4
%17 = add nsw i32 %16, %15
store i32 %17, i32* %4
%18 = load i32, i32* %4
store i32 %18, i32* %2
br label %106
19: ; preds = %1
%20 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 51)
store i32 %20, i32* %4
%21 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 41)
%22 = load i32, i32* %4
%23 = add nsw i32 %22, %21
store i32 %23, i32* %4
%24 = call i32 @direction(i32 41, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%25 = load i32, i32* %4
%26 = add nsw i32 %25, %24
store i32 %26, i32* %4
%27 = call i32 @setDigital(i32 41, i32 1)
%28 = load i32, i32* %4
%29 = add nsw i32 %28, %27
store i32 %29, i32* %4
%30 = load i32, i32* %4
store i32 %30, i32* %2
br label %106
31: ; preds = %1
%32 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 32)
store i32 %32, i32* %4
%33 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 31)
%34 = load i32, i32* %4
%35 = add nsw i32 %34, %33
store i32 %35, i32* %4
%36 = call i32 @direction(i32 31, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%37 = load i32, i32* %4
%38 = add nsw i32 %37, %36
store i32 %38, i32* %4
%39 = call i32 @setDigital(i32 31, i32 1)
%40 = load i32, i32* %4
%41 = add nsw i32 %40, %39
store i32 %41, i32* %4
%42 = load i32, i32* %4
store i32 %42, i32* %2
br label %106
43: ; preds = %1
%44 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 18)
store i32 %44, i32* %4
%45 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 30)
%46 = load i32, i32* %4
%47 = add nsw i32 %46, %45
store i32 %47, i32* %4
%48 = call i32 @direction(i32 30, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%49 = load i32, i32* %4
%50 = add nsw i32 %49, %48
store i32 %50, i32* %4
%51 = call i32 @setDigital(i32 30, i32 1)
%52 = load i32, i32* %4
%53 = add nsw i32 %52, %51
store i32 %53, i32* %4
%54 = load i32, i32* %4
store i32 %54, i32* %2
br label %106
55: ; preds = %1
%56 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 16)
store i32 %56, i32* %4
%57 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 42)
%58 = load i32, i32* %4
%59 = add nsw i32 %58, %57
store i32 %59, i32* %4
%60 = call i32 @direction(i32 42, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%61 = load i32, i32* %4
%62 = add nsw i32 %61, %60
store i32 %62, i32* %4
%63 = call i32 @setDigital(i32 42, i32 1)
%64 = load i32, i32* %4
%65 = add nsw i32 %64, %63
store i32 %65, i32* %4
%66 = load i32, i32* %4
store i32 %66, i32* %2
br label %106
67: ; preds = %1
%68 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 25)
store i32 %68, i32* %4
%69 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 43)
%70 = load i32, i32* %4
%71 = add nsw i32 %70, %69
store i32 %71, i32* %4
%72 = call i32 @direction(i32 43, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%73 = load i32, i32* %4
%74 = add nsw i32 %73, %72
store i32 %74, i32* %4
%75 = call i32 @setDigital(i32 43, i32 1)
%76 = load i32, i32* %4
%77 = add nsw i32 %76, %75
store i32 %77, i32* %4
%78 = load i32, i32* %4
store i32 %78, i32* %2
br label %106
79: ; preds = %1
%80 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 38)
store i32 %80, i32* %4
%81 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 54)
%82 = load i32, i32* %4
%83 = add nsw i32 %82, %81
store i32 %83, i32* %4
%84 = call i32 @direction(i32 54, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%85 = load i32, i32* %4
%86 = add nsw i32 %85, %84
store i32 %86, i32* %4
%87 = call i32 @setDigital(i32 54, i32 1)
%88 = load i32, i32* %4
%89 = add nsw i32 %88, %87
store i32 %89, i32* %4
%90 = load i32, i32* %4
store i32 %90, i32* %2
br label %106
91: ; preds = %1
%92 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 39)
store i32 %92, i32* %4
%93 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 55)
%94 = load i32, i32* %4
%95 = add nsw i32 %94, %93
store i32 %95, i32* %4
%96 = call i32 @direction(i32 55, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%97 = load i32, i32* %4
%98 = add nsw i32 %97, %96
store i32 %98, i32* %4
%99 = call i32 @setDigital(i32 55, i32 1)
%100 = load i32, i32* %4
%101 = add nsw i32 %100, %99
store i32 %101, i32* %4
%102 = load i32, i32* %4
store i32 %102, i32* %2
br label %106
103: ; preds = %1
%104 = load i8, i8* %3
%105 = call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext %104)
store i32 %105, i32* %2
br label %106
106: ; preds = %103, %91, %79, %67, %55, %43, %31, %19, %7
%107 = load i32, i32* %2
ret i32 %107
}

LLVM IR (-O2):
@.str = [23 x i8] c"/sys/class/gpio/export\00"
@.str.1 = [4 x i8] c"out\00"
define i32 @exportIO(i8 zeroext %0) {
switch i8 %0, label %66 [
i8 50, label %2
i8 51, label %10
i8 32, label %18
i8 18, label %26
i8 16, label %34
i8 25, label %42
i8 38, label %50
i8 39, label %58
]
2: ; preds = %1
%3 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 50)
%4 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 40)
%5 = add nsw i32 %4, %3
%6 = tail call i32 @direction(i32 40, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%7 = add nsw i32 %5, %6
%8 = tail call i32 @setDigital(i32 40, i32 1)
%9 = add nsw i32 %7, %8
br label %68
10: ; preds = %1
%11 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 51)
%12 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 41)
%13 = add nsw i32 %12, %11
%14 = tail call i32 @direction(i32 41, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%15 = add nsw i32 %13, %14
%16 = tail call i32 @setDigital(i32 41, i32 1)
%17 = add nsw i32 %15, %16
br label %68
18: ; preds = %1
%19 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 32)
%20 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 31)
%21 = add nsw i32 %20, %19
%22 = tail call i32 @direction(i32 31, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%23 = add nsw i32 %21, %22
%24 = tail call i32 @setDigital(i32 31, i32 1)
%25 = add nsw i32 %23, %24
br label %68
26: ; preds = %1
%27 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 18)
%28 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 30)
%29 = add nsw i32 %28, %27
%30 = tail call i32 @direction(i32 30, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%31 = add nsw i32 %29, %30
%32 = tail call i32 @setDigital(i32 30, i32 1)
%33 = add nsw i32 %31, %32
br label %68
34: ; preds = %1
%35 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 16)
%36 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 42)
%37 = add nsw i32 %36, %35
%38 = tail call i32 @direction(i32 42, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%39 = add nsw i32 %37, %38
%40 = tail call i32 @setDigital(i32 42, i32 1)
%41 = add nsw i32 %39, %40
br label %68
42: ; preds = %1
%43 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 25)
%44 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 43)
%45 = add nsw i32 %44, %43
%46 = tail call i32 @direction(i32 43, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%47 = add nsw i32 %45, %46
%48 = tail call i32 @setDigital(i32 43, i32 1)
%49 = add nsw i32 %47, %48
br label %68
50: ; preds = %1
%51 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 38)
%52 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 54)
%53 = add nsw i32 %52, %51
%54 = tail call i32 @direction(i32 54, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%55 = add nsw i32 %53, %54
%56 = tail call i32 @setDigital(i32 54, i32 1)
%57 = add nsw i32 %55, %56
br label %68
58: ; preds = %1
%59 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 39)
%60 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext 55)
%61 = add nsw i32 %60, %59
%62 = tail call i32 @direction(i32 55, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%63 = add nsw i32 %61, %62
%64 = tail call i32 @setDigital(i32 55, i32 1)
%65 = add nsw i32 %63, %64
br label %68
66: ; preds = %1
%67 = tail call i32 @writeInt(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8 zeroext %0)
br label %68
68: ; preds = %66, %58, %50, %42, %34, %26, %18, %10, %2
%69 = phi i32 [ %67, %66 ], [ %65, %58 ], [ %57, %50 ], [ %49, %42 ], [ %41, %34 ], [ %33, %26 ], [ %25, %18 ], [ %17, %10 ], [ %9, %2 ]
ret i32 %69
}