#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, char *);
int strlen(char *);
void main() {
  char input[] =
      "DUURRDRRURUUUDLRUDDLLLURULRRLDULDRDUULULLUUUDRDUDDURRULDRDDDUDDURLDLLDDR"
      "RURRUUUDDRUDDLLDDDURLRDDDULRDUDDRDRLRDUULDLDRDLUDDDLRDRLDLUUUDLRDLRUUUDD"
      "LUURRLLLUUUUDDLDRRDRDRLDRLUUDUDLDRUDDUDLLUUURUUDLULRDRULURURDLDLLDLLDUDL"
      "DRDULLDUDDURRDDLLRLLLLDLDRLDDUULRDRURUDRRRDDDUULRULDDLRLLLLRLLLLRLURRRLR"
      "LRDLULRRLDRULDRRLRURDDLDDRLRDLDRLULLRRUDUURRULLLRLRLRRUDLRDDLLRRUDUDUURR"
      "RDRDLDRUDLDRDLUUULDLRLLDRULRULLRLRDRRLRLULLRURUULRLLRRRDRLULUDDUUULDULDU"
      "DDDUDLRLLRDRDLUDLRLRRDDDURUUUDULDLDDLDRDDDLURLDRLDURUDRURDDDDDDULLDLDLU"
      "\nLURLRUURDDLDDDLDDLULRLUUUDRDUUDDUDLDLDDLLUDURDRDRULULLRLDDUDRRDRUDLRLD"
      "DDURDUURLUURRLLDRURDRLDURUDLRLLDDLLRDRRLURLRRUULLLDRLULURULRRDLLLDLDLRDR"
      "RURUUUDUDRUULDLUDLURLRDRRLDRUDRUDURLDLDDRUULDURDUURLLUDRUUUUUURRLRULUDRD"
      "UDRLLDUDUDUULURUURURULLUUURDRLDDRLUURDLRULDRRRRLRULRDLURRUULURDRRLDLRUUR"
      "UDRRRDRURRLDDURLUDLDRRLDRLLLLRDUDLULUDRLLLDULUDUULLULLRLURURURDRRDRUURDU"
      "LRDDLRULLLLLLDLLURLRLLRDLLRLUDLRUDDRLLLDDUDRLDLRLDUDU\nRRDDLDLRRUULRDLLU"
      "RLRURDLUURLLLUUDDULLDRURDUDRLRDRDDUUUULDLUDDLRDULDDRDDDDDLRRDDDRUULDLUDU"
      "DRRLUUDDRUDLUUDUDLUDURDURDLLLLDUUUUURUUURDURUUUUDDURULLDDLDLDLULUDRULULU"
      "LLLDRLRRLLDLURULRDLULRLDRRLDDLULDDRDDRURLDLUULULRDRDRDRRLLLURLLDUUUDRRUU"
      "URDLLLRUUDDDULRDRRUUDDUUUDLRRURUDDLUDDDUDLRUDRRDLLLURRRURDRLLULDUULLURRU"
      "LDLURRUURURRLRDULRLULUDUULRRULLLDDDDURLRRRDUDULLRRDURUURUUULUDLDULLUURDR"
      "DRRDURDLUDLULRULRLLURULDRUURRRRDUDULLLLLRRLRUDDUDLLURLRDDLLDLLLDDUDDDDRD"
      "URRL\nLLRURUDUULRURRUDURRDLUUUDDDDURUUDLLDLRULRUUDUURRLRRUDLLUDLDURURRDD"
      "LLRUDDUDLDUUDDLUUULUUURRURDDLUDDLULRRRUURLDLURDULULRULRLDUDLLLLDLLLLRLDL"
      "RLDLUULLDDLDRRRURDDRRDURUURLRLRDUDLLURRLDUULDRURDRRURDDDDUUUDDRDLLDDUDUR"
      "DLUUDRLRDUDLLDDDDDRRDRDUULDDLLDLRUDULLRRLLDUDRRLRURRRRLRDUDDRRDDUUUDLULL"
      "RRRDDRUUUDUUURUULUDURUDLDRDRLDLRLLRLRDRDRULRURLDDULRURLRLDUURLDDLUDRLRUD"
      "DURLUDLLULDLDDULDUDDDUDRLRDRUUURDUULLDULUUULLLDLRULDULUDLRRURDLULUDUDLDD"
      "RDRUUULDLRURLRUURDLULUDLULLRD\nUURUDRRDDLRRRLULLDDDRRLDUDLRRULUUDULLDUDU"
      "RRDLDRRRDLRDUUUDRDRRLLDULRLUDUUULRULULRUDURDRDDLDRULULULLDURULDRUDDDURLL"
      "DUDUUUULRUULURDDDUUUURDLDUUURUDDLDRDLLUDDDDULRDLRUDRLRUDDURDLDRLLLLRLULR"
      "DDUDLLDRURDDUDRRLRRDLDDUDRRLDLUURLRLLRRRDRLRLLLLLLURULUURRDDRRLRLRUURDLU"
      "LRUUDRRRLRLRULLLLUDRULLRDDRDDLDLDRRRURLURDDURRLUDDULRRDULRURRRURLUURDDDU"
      "DLDUURRRLUDUULULURLRDDRULDLRLLUULRLLRLUUURUUDUURULRRRUULUULRULDDURLDRRUL"
      "LRDURRDDDLLUDLDRRRRUULDDD";
  char pad[3][3] = {{'1', '2', '3'}, {'4', '5', '6'}, {'7', '8', '9'}};
  char code[255];
  int pos = 0;
  int row = 1;
  int column = 1;
  for (int i = 0; i < strlen(input) + 1; i++) {
    switch (input[i]) {
    case '\n':
    case '\0':
      code[pos] = pad[row][column];
      pos++;
      break;
    case 'U':
      row--;
      break;
    case 'D':
      row++;
      break;
    case 'L':
      column--;
      break;
    case 'R':
      column++;
      break;
    }
    if (row < 0)
      row = 0;
    if (row > 2)
      row = 2;
    if (column < 0)
      column = 0;
    if (column > 2)
      column = 2;
  }
  printf("%s\n", code);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa00,%rsp
lea    -0x8d0(%rbp),%rdi
lea    0xeb7(%rip),%rsi
mov    $0x8cd,%edx
call   1050 <memcpy@plt>
mov    0x1773(%rip),%rax
mov    %rax,-0x8d9(%rbp)
mov    0x176e(%rip),%al
mov    %al,-0x8d1(%rbp)
movl   $0x0,-0x9e4(%rbp)
movl   $0x1,-0x9e8(%rbp)
movl   $0x1,-0x9ec(%rbp)
movl   $0x0,-0x9f0(%rbp)
mov    -0x9f0(%rbp),%eax
mov    %eax,-0x9f4(%rbp)
lea    -0x8d0(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x9f4(%rbp),%eax
add    $0x1,%ecx
cmp    %ecx,%eax
jge    1347 <main+0x217>
movslq -0x9f0(%rbp),%rax
movsbl -0x8d0(%rbp,%rax,1),%eax
ff
mov    %eax,-0x9f8(%rbp)
test   %eax,%eax
je     1246 <main+0x116>
jmp    11e2 <main+0xb2>
mov    -0x9f8(%rbp),%eax
sub    $0xa,%eax
je     1246 <main+0x116>
jmp    11f6 <main+0xc6>
mov    -0x9f8(%rbp),%eax
sub    $0x44,%eax
je     129b <main+0x16b>
jmp    120a <main+0xda>
mov    -0x9f8(%rbp),%eax
sub    $0x4c,%eax
je     12af <main+0x17f>
jmp    121e <main+0xee>
mov    -0x9f8(%rbp),%eax
sub    $0x52,%eax
je     12c3 <main+0x193>
jmp    1232 <main+0x102>
mov    -0x9f8(%rbp),%eax
sub    $0x55,%eax
je     1287 <main+0x157>
jmp    12d2 <main+0x1a2>
movslq -0x9e8(%rbp),%rcx
lea    -0x8d9(%rbp),%rax
imul   $0x3,%rcx,%rcx
add    %rcx,%rax
movslq -0x9ec(%rbp),%rcx
mov    (%rax,%rcx,1),%cl
movslq -0x9e4(%rbp),%rax
mov    %cl,-0x9e0(%rbp,%rax,1)
mov    -0x9e4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x9e4(%rbp)
jmp    12d2 <main+0x1a2>
mov    -0x9e8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x9e8(%rbp)
jmp    12d2 <main+0x1a2>
mov    -0x9e8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x9e8(%rbp)
jmp    12d2 <main+0x1a2>
mov    -0x9ec(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x9ec(%rbp)
jmp    12d2 <main+0x1a2>
mov    -0x9ec(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x9ec(%rbp)
cmpl   $0x0,-0x9e8(%rbp)
jge    12e9 <main+0x1b9>
movl   $0x0,-0x9e8(%rbp)
cmpl   $0x2,-0x9e8(%rbp)
jle    1300 <main+0x1d0>
movl   $0x2,-0x9e8(%rbp)
cmpl   $0x0,-0x9ec(%rbp)
jge    1317 <main+0x1e7>
movl   $0x0,-0x9ec(%rbp)
cmpl   $0x2,-0x9ec(%rbp)
jle    132e <main+0x1fe>
movl   $0x2,-0x9ec(%rbp)
jmp    1333 <main+0x203>
mov    -0x9f0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x9f0(%rbp)
jmp    1195 <main+0x65>
lea    -0x9e0(%rbp),%rsi
lea    0x1581(%rip),%rdi
call   1040 <printf@plt>
add    $0xa00,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x9d8,%rsp
lea    0xf18(%rip),%rsi
lea    0x100(%rsp),%rbx
mov    $0x8cd,%edx
mov    %rbx,%rdi
call   1050 <memcpy@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
test   %eax,%eax
js     1236 <main+0x106>
xor    %r15d,%r15d
mov    $0x1,%ebx
mov    $0xffffffffffffffff,%rbp
mov    $0x2,%r13d
mov    $0x1,%r14d
xor    %r12d,%r12d
jmp    11e6 <main+0xb6>
nopl   (%rax)
mov    %r14d,%eax
mov    %ebx,%ecx
lea    (%rax,%rax,2),%rax
lea    0xea8(%rip),%rdx
add    %rdx,%rax
movzbl (%rcx,%rax,1),%eax
movslq %r12d,%r12
mov    %al,(%rsp,%r12,1)
add    $0x1,%r12d
test   %r14d,%r14d
cmovs  %r15d,%r14d
cmp    $0x2,%r14d
cmovae %r13d,%r14d
test   %ebx,%ebx
cmovs  %r15d,%ebx
cmp    $0x2,%ebx
cmovae %r13d,%ebx
lea    0x100(%rsp),%rdi
call   1030 <strlen@plt>
cltq
add    $0x1,%rbp
cmp    %rax,%rbp
jge    1236 <main+0x106>
movsbl 0x101(%rsp,%rbp,1),%eax
lea    -0x44(%rax),%ecx
cmp    $0x11,%ecx
ja     1210 <main+0xe0>
lea    0xe03(%rip),%rdx
movslq (%rdx,%rcx,4),%rax
add    %rdx,%rax
jmp    *%rax
add    $0x1,%r14d
jmp    11b2 <main+0x82>
nopl   0x0(%rax)
cmp    $0xa,%eax
je     1190 <main+0x60>
test   %eax,%eax
je     1190 <main+0x60>
jmp    11b2 <main+0x82>
add    $0xffffffff,%ebx
jmp    11b2 <main+0x82>
add    $0x1,%ebx
jmp    11b2 <main+0x82>
add    $0xffffffff,%r14d
jmp    11b2 <main+0x82>
lea    0x16f0(%rip),%rdi
mov    %rsp,%rsi
call   1040 <printf@plt>
add    $0x9d8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.main.input = [2253 x i8] c"DUURRDRRURUUUDLRUDDLLLURULRRLDULDRDUULULLUUUDRDUDDURRULDRDDDUDDURLDLLDDRRURRUUUDDRUDDLLDDDURLRDDDULRDUDDRDRLRDUULDLDRDLUDDDLRDRLDLUUUDLRDLRUUUDDLUURRLLLUUUUDDLDRRDRDRLDRLUUDUDLDRUDDUDLLUUURUUDLULRDRULURURDLDLLDLLDUDLDRDULLDUDDURRDDLLRLLLLDLDRLDDUULRDRURUDRRRDDDUULRULDDLRLLLLRLLLLRLURRRLRLRDLULRRLDRULDRRLRURDDLDDRLRDLDRLULLRRUDUURRULLLRLRLRRUDLRDDLLRRUDUDUURRRDRDLDRUDLDRDLUUULDLRLLDRULRULLRLRDRRLRLULLRURUULRLLRRRDRLULUDDUUULDULDUDDDUDLRLLRDRDLUDLRLRRDDDURUUUDULDLDDLDRDDDLURLDRLDURUDRURDDDDDDULLDLDLU\0ALURLRUURDDLDDDLDDLULRLUUUDRDUUDDUDLDLDDLLUDURDRDRULULLRLDDUDRRDRUDLRLDDDURDUURLUURRLLDRURDRLDURUDLRLLDDLLRDRRLURLRRUULLLDRLULURULRRDLLLDLDLRDRRURUUUDUDRUULDLUDLURLRDRRLDRUDRUDURLDLDDRUULDURDUURLLUDRUUUUUURRLRULUDRDUDRLLDUDUDUULURUURURULLUUURDRLDDRLUURDLRULDRRRRLRULRDLURRUULURDRRLDLRUURUDRRRDRURRLDDURLUDLDRRLDRLLLLRDUDLULUDRLLLDULUDUULLULLRLURURURDRRDRUURDULRDDLRULLLLLLDLLURLRLLRDLLRLUDLRUDDRLLLDDUDRLDLRLDUDU\0ARRDDLDLRRUULRDLLURLRURDLUURLLLUUDDULLDRURDUDRLRDRDDUUUULDLUDDLRDULDDRDDDDDLRRDDDRUULDLUDUDRRLUUDDRUDLUUDUDLUDURDURDLLLLDUUUUURUUURDURUUUUDDURULLDDLDLDLULUDRULULULLLDRLRRLLDLURULRDLULRLDRRLDDLULDDRDDRURLDLUULULRDRDRDRRLLLURLLDUUUDRRUUURDLLLRUUDDDULRDRRUUDDUUUDLRRURUDDLUDDDUDLRUDRRDLLLURRRURDRLLULDUULLURRULDLURRUURURRLRDULRLULUDUULRRULLLDDDDURLRRRDUDULLRRDURUURUUULUDLDULLUURDRDRRDURDLUDLULRULRLLURULDRUURRRRDUDULLLLLRRLRUDDUDLLURLRDDLLDLLLDDUDDDDRDURRL\0ALLRURUDUULRURRUDURRDLUUUDDDDURUUDLLDLRULRUUDUURRLRRUDLLUDLDURURRDDLLRUDDUDLDUUDDLUUULUUURRURDDLUDDLULRRRUURLDLURDULULRULRLDUDLLLLDLLLLRLDLRLDLUULLDDLDRRRURDDRRDURUURLRLRDUDLLURRLDUULDRURDRRURDDDDUUUDDRDLLDDUDURDLUUDRLRDUDLLDDDDDRRDRDUULDDLLDLRUDULLRRLLDUDRRLRURRRRLRDUDDRRDDUUUDLULLRRRDDRUUUDUUURUULUDURUDLDRDRLDLRLLRLRDRDRULRURLDDULRURLRLDUURLDDLUDRLRUDDURLUDLLULDLDDULDUDDDUDRLRDRUUURDUULLDULUUULLLDLRULDULUDLRRURDLULUDUDLDDRDRUUULDLRURLRUURDLULUDLULLRD\0AUURUDRRDDLRRRLULLDDDRRLDUDLRRULUUDULLDUDURRDLDRRRDLRDUUUDRDRRLLDULRLUDUUULRULULRUDURDRDDLDRULULULLDURULDRUDDDURLLDUDUUUULRUULURDDDUUUURDLDUUURUDDLDRDLLUDDDDULRDLRUDRLRUDDURDLDRLLLLRLULRDDUDLLDRURDDUDRRLRRDLDDUDRRLDLUURLRLLRRRDRLRLLLLLLURULUURRDDRRLRLRUURDLULRUUDRRRLRLRULLLLUDRULLRDDRDDLDLDRRRURLURDDURRLUDDULRRDULRURRRURLUURDDDUDLDUURRRLUDUULULURLRDDRULDLRLLUULRLLRLUUURUUDUURULRRRUULUULRULDDURLDRRULLRDURRDDDLLUDLDRRRRUULDDD\00"
@__const.main.pad = [3 x [3 x i8]] [[3 x i8] c"123", [3 x i8] c"456", [3 x i8] c"789"]
@.str = [4 x i8] c"%s\0A\00"
define void @main() {
%1 = alloca [2253 x i8]
%2 = alloca [3 x [3 x i8]]
%3 = alloca [255 x i8]
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = bitcast [2253 x i8]* %1 to i8*
%9 = bitcast [3 x [3 x i8]]* %2 to i8*
store i32 0, i32* %4
store i32 1, i32* %5
store i32 1, i32* %6
store i32 0, i32* %7
br label %10
10: ; preds = %64, %0
%11 = load i32, i32* %7
%12 = getelementptr inbounds [2253 x i8], [2253 x i8]* %1, i64 0, i64 0
%13 = call i32 @strlen(i8* %12)
%14 = add nsw i32 %13, 1
%15 = icmp slt i32 %11, %14
br i1 %15, label %16, label %67
16: ; preds = %10
%17 = load i32, i32* %7
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [2253 x i8], [2253 x i8]* %1, i64 0, i64 %18
%20 = load i8, i8* %19
%21 = sext i8 %20 to i32
switch i32 %21, label %47 [
i32 10, label %22
i32 0, label %22
i32 85, label %35
i32 68, label %38
i32 76, label %41
i32 82, label %44
]
22: ; preds = %16, %16
%23 = load i32, i32* %5
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [3 x [3 x i8]], [3 x [3 x i8]]* %2, i64 0, i64 %24
%26 = load i32, i32* %6
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [3 x i8], [3 x i8]* %25, i64 0, i64 %27
%29 = load i8, i8* %28
%30 = load i32, i32* %4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [255 x i8], [255 x i8]* %3, i64 0, i64 %31
store i8 %29, i8* %32
%33 = load i32, i32* %4
%34 = add nsw i32 %33, 1
store i32 %34, i32* %4
br label %47
35: ; preds = %16
%36 = load i32, i32* %5
%37 = add nsw i32 %36, -1
store i32 %37, i32* %5
br label %47
38: ; preds = %16
%39 = load i32, i32* %5
%40 = add nsw i32 %39, 1
store i32 %40, i32* %5
br label %47
41: ; preds = %16
%42 = load i32, i32* %6
%43 = add nsw i32 %42, -1
store i32 %43, i32* %6
br label %47
44: ; preds = %16
%45 = load i32, i32* %6
%46 = add nsw i32 %45, 1
store i32 %46, i32* %6
br label %47
47: ; preds = %16, %44, %41, %38, %35, %22
%48 = load i32, i32* %5
%49 = icmp slt i32 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %47
store i32 0, i32* %5
br label %51
51: ; preds = %50, %47
%52 = load i32, i32* %5
%53 = icmp sgt i32 %52, 2
br i1 %53, label %54, label %55
54: ; preds = %51
store i32 2, i32* %5
br label %55
55: ; preds = %54, %51
%56 = load i32, i32* %6
%57 = icmp slt i32 %56, 0
br i1 %57, label %58, label %59
58: ; preds = %55
store i32 0, i32* %6
br label %59
59: ; preds = %58, %55
%60 = load i32, i32* %6
%61 = icmp sgt i32 %60, 2
br i1 %61, label %62, label %63
62: ; preds = %59
store i32 2, i32* %6
br label %63
63: ; preds = %62, %59
br label %64
64: ; preds = %63
%65 = load i32, i32* %7
%66 = add nsw i32 %65, 1
store i32 %66, i32* %7
br label %10
67: ; preds = %10
%68 = getelementptr inbounds [255 x i8], [255 x i8]* %3, i64 0, i64 0
%69 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %68)
ret void
}

LLVM IR (-O2):
@__const.main.input = [2253 x i8] c"DUURRDRRURUUUDLRUDDLLLURULRRLDULDRDUULULLUUUDRDUDDURRULDRDDDUDDURLDLLDDRRURRUUUDDRUDDLLDDDURLRDDDULRDUDDRDRLRDUULDLDRDLUDDDLRDRLDLUUUDLRDLRUUUDDLUURRLLLUUUUDDLDRRDRDRLDRLUUDUDLDRUDDUDLLUUURUUDLULRDRULURURDLDLLDLLDUDLDRDULLDUDDURRDDLLRLLLLDLDRLDDUULRDRURUDRRRDDDUULRULDDLRLLLLRLLLLRLURRRLRLRDLULRRLDRULDRRLRURDDLDDRLRDLDRLULLRRUDUURRULLLRLRLRRUDLRDDLLRRUDUDUURRRDRDLDRUDLDRDLUUULDLRLLDRULRULLRLRDRRLRLULLRURUULRLLRRRDRLULUDDUUULDULDUDDDUDLRLLRDRDLUDLRLRRDDDURUUUDULDLDDLDRDDDLURLDRLDURUDRURDDDDDDULLDLDLU\0ALURLRUURDDLDDDLDDLULRLUUUDRDUUDDUDLDLDDLLUDURDRDRULULLRLDDUDRRDRUDLRLDDDURDUURLUURRLLDRURDRLDURUDLRLLDDLLRDRRLURLRRUULLLDRLULURULRRDLLLDLDLRDRRURUUUDUDRUULDLUDLURLRDRRLDRUDRUDURLDLDDRUULDURDUURLLUDRUUUUUURRLRULUDRDUDRLLDUDUDUULURUURURULLUUURDRLDDRLUURDLRULDRRRRLRULRDLURRUULURDRRLDLRUURUDRRRDRURRLDDURLUDLDRRLDRLLLLRDUDLULUDRLLLDULUDUULLULLRLURURURDRRDRUURDULRDDLRULLLLLLDLLURLRLLRDLLRLUDLRUDDRLLLDDUDRLDLRLDUDU\0ARRDDLDLRRUULRDLLURLRURDLUURLLLUUDDULLDRURDUDRLRDRDDUUUULDLUDDLRDULDDRDDDDDLRRDDDRUULDLUDUDRRLUUDDRUDLUUDUDLUDURDURDLLLLDUUUUURUUURDURUUUUDDURULLDDLDLDLULUDRULULULLLDRLRRLLDLURULRDLULRLDRRLDDLULDDRDDRURLDLUULULRDRDRDRRLLLURLLDUUUDRRUUURDLLLRUUDDDULRDRRUUDDUUUDLRRURUDDLUDDDUDLRUDRRDLLLURRRURDRLLULDUULLURRULDLURRUURURRLRDULRLULUDUULRRULLLDDDDURLRRRDUDULLRRDURUURUUULUDLDULLUURDRDRRDURDLUDLULRULRLLURULDRUURRRRDUDULLLLLRRLRUDDUDLLURLRDDLLDLLLDDUDDDDRDURRL\0ALLRURUDUULRURRUDURRDLUUUDDDDURUUDLLDLRULRUUDUURRLRRUDLLUDLDURURRDDLLRUDDUDLDUUDDLUUULUUURRURDDLUDDLULRRRUURLDLURDULULRULRLDUDLLLLDLLLLRLDLRLDLUULLDDLDRRRURDDRRDURUURLRLRDUDLLURRLDUULDRURDRRURDDDDUUUDDRDLLDDUDURDLUUDRLRDUDLLDDDDDRRDRDUULDDLLDLRUDULLRRLLDUDRRLRURRRRLRDUDDRRDDUUUDLULLRRRDDRUUUDUUURUULUDURUDLDRDRLDLRLLRLRDRDRULRURLDDULRURLRLDUURLDDLUDRLRUDDURLUDLLULDLDDULDUDDDUDRLRDRUUURDUULLDULUUULLLDLRULDULUDLRRURDLULUDUDLDDRDRUUULDLRURLRUURDLULUDLULLRD\0AUURUDRRDDLRRRLULLDDDRRLDUDLRRULUUDULLDUDURRDLDRRRDLRDUUUDRDRRLLDULRLUDUUULRULULRUDURDRDDLDRULULULLDURULDRUDDDURLLDUDUUUULRUULURDDDUUUURDLDUUURUDDLDRDLLUDDDDULRDLRUDRLRUDDURDLDRLLLLRLULRDDUDLLDRURDDUDRRLRRDLDDUDRRLDLUURLRLLRRRDRLRLLLLLLURULUURRDDRRLRLRUURDLULRUUDRRRLRLRULLLLUDRULLRDDRDDLDLDRRRURLURDDURRLUDDULRRDULRURRRURLUURDDDUDLDUURRRLUDUULULURLRDDRULDLRLLUULRLLRLUUURUUDUURULRRRUULUULRULDDURLDRRULLRDURRDDDLLUDLDRRRRUULDDD\00"
@__const.main.pad = [3 x [3 x i8]] [[3 x i8] c"123", [3 x i8] c"456", [3 x i8] c"789"]
@.str = [4 x i8] c"%s\0A\00"
define void @main() {
%1 = alloca [2253 x i8]
%2 = alloca [255 x i8]
%3 = getelementptr inbounds [2253 x i8], [2253 x i8]* %1, i64 0, i64 0
%4 = getelementptr inbounds [255 x i8], [255 x i8]* %2, i64 0, i64 0
%5 = call i32 @strlen(i8* %3)
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %33, %0
%8 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %4)
ret void
9: ; preds = %0, %33
%10 = phi i64 [ %45, %33 ], [ 0, %0 ]
%11 = phi i32 [ %44, %33 ], [ 1, %0 ]
%12 = phi i32 [ %40, %33 ], [ 1, %0 ]
%13 = phi i32 [ %34, %33 ], [ 0, %0 ]
%14 = getelementptr inbounds [2253 x i8], [2253 x i8]* %1, i64 0, i64 %10
%15 = load i8, i8* %14
%16 = sext i8 %15 to i32
switch i32 %16, label %33 [
i32 10, label %17
i32 0, label %17
i32 85, label %25
i32 68, label %27
i32 76, label %29
i32 82, label %31
]
17: ; preds = %9, %9
%18 = zext i32 %12 to i64
%19 = zext i32 %11 to i64
%20 = getelementptr inbounds [3 x [3 x i8]], [3 x [3 x i8]]* @__const.main.pad, i64 0, i64 %18, i64 %19
%21 = load i8, i8* %20
%22 = sext i32 %13 to i64
%23 = getelementptr inbounds [255 x i8], [255 x i8]* %2, i64 0, i64 %22
store i8 %21, i8* %23
%24 = add nsw i32 %13, 1
br label %33
25: ; preds = %9
%26 = add nsw i32 %12, -1
br label %33
27: ; preds = %9
%28 = add nuw nsw i32 %12, 1
br label %33
29: ; preds = %9
%30 = add nsw i32 %11, -1
br label %33
31: ; preds = %9
%32 = add nuw nsw i32 %11, 1
br label %33
33: ; preds = %9, %31, %29, %27, %25, %17
%34 = phi i32 [ %13, %9 ], [ %13, %31 ], [ %13, %29 ], [ %13, %27 ], [ %13, %25 ], [ %24, %17 ]
%35 = phi i32 [ %12, %9 ], [ %12, %31 ], [ %12, %29 ], [ %28, %27 ], [ %26, %25 ], [ %12, %17 ]
%36 = phi i32 [ %11, %9 ], [ %32, %31 ], [ %30, %29 ], [ %11, %27 ], [ %11, %25 ], [ %11, %17 ]
%37 = icmp sgt i32 %35, 0
%38 = select i1 %37, i32 %35, i32 0
%39 = icmp ult i32 %38, 2
%40 = select i1 %39, i32 %38, i32 2
%41 = icmp sgt i32 %36, 0
%42 = select i1 %41, i32 %36, i32 0
%43 = icmp ult i32 %42, 2
%44 = select i1 %43, i32 %42, i32 2
%45 = add nuw nsw i64 %10, 1
%46 = call i32 @strlen(i8* %3)
%47 = sext i32 %46 to i64
%48 = icmp slt i64 %10, %47
br i1 %48, label %9, label %7
}