#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*/ eZCB_RecallScene(int, int, int);
int /*<<< orphan*/ eZCB_RemoveAllScenes(int, int);
int /*<<< orphan*/ grpDump();
int /*<<< orphan*/ lmpgrp_MoveToColour(int, int, int, int, int);
int /*<<< orphan*/ lmpgrp_MoveToLevel(int, int, int, int);
int /*<<< orphan*/ lmpgrp_OnOff(int, int, int);
int parsingGetIntAttr(char *);
char *parsingGetStringAttr0(char *);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ strcmp(char *, char *);
void grpHandle(void) {
  grpDump();
  int gid = parsingGetIntAttr("grpid");
  if (gid >= 0) {
    char *cmd = parsingGetStringAttr0("cmd");
    char *scn = parsingGetStringAttr0("scn");
    if (cmd) {
      printf("Group cmd %s\n", cmd);
      if (strcmp(cmd, "on") == 0) {
        lmpgrp_OnOff(0xFFFF, gid, 1);
      } else if (strcmp(cmd, "off") == 0) {
        lmpgrp_OnOff(0xFFFF, gid, 0);
      }
    }
    if (scn) {
      if (strcmp(scn, "recall") == 0) {
        int sid = parsingGetIntAttr("scnid");
        if (sid >= 0) {
          printf("Group scn %s, %d\n", scn, sid);
          eZCB_RecallScene(0xFFFF, gid, sid);
        }
      } else if (strcmp(scn, "remall") == 0) {
        printf("Group scn %s\n", scn);
        eZCB_RemoveAllScenes(0xFFFF, gid);
      }
    }
    int lvl = parsingGetIntAttr("lvl");
    if (lvl >= 0) {
      printf("Group level %d\n", lvl);
      lvl = (lvl * 255) / 100;
      lmpgrp_MoveToLevel(0xFFFF, gid, lvl, 5);
    }
    int xcr = parsingGetIntAttr("xcr");
    int ycr = parsingGetIntAttr("ycr");
    if (xcr >= 0 && ycr >= 0) {
      printf("Group color %d, %d\n", xcr, ycr);
      lmpgrp_MoveToColour(0xFFFF, gid, xcr, ycr, 5);
    }
  }
}


x86 assembly (clang, -O0):
<grpHandle>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    $0x0,%al
call   10c0 <grpDump@plt>
lea    0xe4a(%rip),%rdi
call   1070 <parsingGetIntAttr@plt>
mov    %eax,-0x4(%rbp)
cmpl   $0x0,-0x4(%rbp)
jl     13c9 <grpHandle+0x229>
lea    0xe37(%rip),%rdi
call   1050 <parsingGetStringAttr0@plt>
mov    %rax,-0x10(%rbp)
lea    0xe2b(%rip),%rdi
call   1050 <parsingGetStringAttr0@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     1269 <grpHandle+0xc9>
mov    -0x10(%rbp),%rsi
lea    0xe10(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x10(%rbp),%rdi
lea    0xe0c(%rip),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    1236 <grpHandle+0x96>
mov    -0x4(%rbp),%esi
mov    $0xffff,%edi
mov    $0x1,%edx
call   1040 <lmpgrp_OnOff@plt>
jmp    1264 <grpHandle+0xc4>
mov    -0x10(%rbp),%rdi
lea    0xdde(%rip),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    125f <grpHandle+0xbf>
mov    -0x4(%rbp),%esi
mov    $0xffff,%edi
xor    %edx,%edx
call   1040 <lmpgrp_OnOff@plt>
jmp    1264 <grpHandle+0xc4>
jmp    1269 <grpHandle+0xc9>
cmpq   $0x0,-0x18(%rbp)
je     1314 <grpHandle+0x174>
mov    -0x18(%rbp),%rdi
lea    0xda4(%rip),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    12d1 <grpHandle+0x131>
lea    0xd95(%rip),%rdi
call   1070 <parsingGetIntAttr@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
jl     12cc <grpHandle+0x12c>
mov    -0x18(%rbp),%rsi
mov    -0x1c(%rbp),%edx
lea    0xd7b(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x4(%rbp),%esi
mov    -0x1c(%rbp),%edx
mov    $0xffff,%edi
call   10b0 <eZCB_RecallScene@plt>
jmp    130f <grpHandle+0x16f>
mov    -0x18(%rbp),%rdi
lea    0xd66(%rip),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    130a <grpHandle+0x16a>
mov    -0x18(%rbp),%rsi
lea    0xd53(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x4(%rbp),%esi
mov    $0xffff,%edi
call   1030 <eZCB_RemoveAllScenes@plt>
jmp    130f <grpHandle+0x16f>
jmp    1314 <grpHandle+0x174>
lea    0xd3c(%rip),%rdi
call   1070 <parsingGetIntAttr@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x0,-0x20(%rbp)
jl     1365 <grpHandle+0x1c5>
mov    -0x20(%rbp),%esi
lea    0xd24(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
imul   $0xff,-0x20(%rbp),%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %eax,-0x20(%rbp)
mov    -0x4(%rbp),%esi
mov    -0x20(%rbp),%edx
mov    $0xffff,%edi
mov    $0x5,%ecx
call   10a0 <lmpgrp_MoveToLevel@plt>
lea    0xcff(%rip),%rdi
call   1070 <parsingGetIntAttr@plt>
mov    %eax,-0x24(%rbp)
lea    0xcf4(%rip),%rdi
call   1070 <parsingGetIntAttr@plt>
mov    %eax,-0x28(%rbp)
cmpl   $0x0,-0x24(%rbp)
jl     13c4 <grpHandle+0x224>
cmpl   $0x0,-0x28(%rbp)
jl     13c4 <grpHandle+0x224>
mov    -0x24(%rbp),%esi
mov    -0x28(%rbp),%edx
lea    0xccf(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x4(%rbp),%esi
mov    -0x24(%rbp),%edx
mov    -0x28(%rbp),%ecx
mov    $0xffff,%edi
mov    $0x5,%r8d
call   1080 <lmpgrp_MoveToColour@plt>
jmp    13c9 <grpHandle+0x229>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<grpHandle>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
xor    %eax,%eax
call   10c0 <grpDump@plt>
lea    0xe4b(%rip),%rdi
call   1070 <parsingGetIntAttr@plt>
test   %eax,%eax
js     1365 <grpHandle+0x1c5>
mov    %eax,%r15d
lea    0xe3a(%rip),%rdi
call   1050 <parsingGetStringAttr0@plt>
mov    %rax,%rbp
lea    0xe2f(%rip),%rdi
call   1050 <parsingGetStringAttr0@plt>
mov    %rax,%rbx
test   %rbp,%rbp
je     123c <grpHandle+0x9c>
lea    0xe1f(%rip),%rdi
xor    %r14d,%r14d
mov    %rbp,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe19(%rip),%rsi
mov    %rbp,%rdi
call   1090 <strcmp@plt>
test   %rax,%rax
je     1226 <grpHandle+0x86>
lea    0xe08(%rip),%rsi
mov    %rbp,%rdi
call   1090 <strcmp@plt>
test   %rax,%rax
jne    123c <grpHandle+0x9c>
jmp    122c <grpHandle+0x8c>
mov    $0x1,%r14d
mov    $0xffff,%edi
mov    %r15d,%esi
mov    %r14d,%edx
call   1040 <lmpgrp_OnOff@plt>
test   %rbx,%rbx
je     12bd <grpHandle+0x11d>
lea    0xddb(%rip),%rsi
mov    %rbx,%rdi
call   1090 <strcmp@plt>
test   %rax,%rax
je     1289 <grpHandle+0xe9>
lea    0xde6(%rip),%rsi
mov    %rbx,%rdi
call   1090 <strcmp@plt>
test   %rax,%rax
jne    12bd <grpHandle+0x11d>
lea    0xdd9(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xffff,%edi
mov    %r15d,%esi
call   1030 <eZCB_RemoveAllScenes@plt>
jmp    12bd <grpHandle+0x11d>
lea    0xd9a(%rip),%rdi
call   1070 <parsingGetIntAttr@plt>
test   %eax,%eax
js     12bd <grpHandle+0x11d>
mov    %eax,%ebp
lea    0xd8e(%rip),%rdi
mov    %rbx,%rsi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xffff,%edi
mov    %r15d,%esi
mov    %ebp,%edx
call   10b0 <eZCB_RecallScene@plt>
lea    0xd93(%rip),%rdi
call   1070 <parsingGetIntAttr@plt>
test   %eax,%eax
js     130e <grpHandle+0x16e>
mov    %eax,%ebx
lea    0xd85(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%eax
shl    $0x8,%eax
sub    %ebx,%eax
cltq
imul   $0x51eb851f,%rax,%rdx
mov    %rdx,%rax
shr    $0x3f,%rax
sar    $0x25,%rdx
add    %eax,%edx
mov    $0xffff,%edi
mov    %r15d,%esi
mov    $0x5,%ecx
call   10a0 <lmpgrp_MoveToLevel@plt>
lea    0xd56(%rip),%rdi
call   1070 <parsingGetIntAttr@plt>
mov    %eax,%ebx
lea    0xd4c(%rip),%rdi
call   1070 <parsingGetIntAttr@plt>
test   %ebx,%ebx
js     1365 <grpHandle+0x1c5>
mov    %eax,%ebp
test   %eax,%eax
js     1365 <grpHandle+0x1c5>
lea    0xd3a(%rip),%rdi
mov    %ebx,%esi
mov    %ebp,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xffff,%edi
mov    %r15d,%esi
mov    %ebx,%edx
mov    %ebp,%ecx
mov    $0x5,%r8d
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1080 <lmpgrp_MoveToColour@plt>
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [6 x i8] c"grpid\00"
@.str.1 = [4 x i8] c"cmd\00"
@.str.2 = [4 x i8] c"scn\00"
@.str.3 = [14 x i8] c"Group cmd %s\0A\00"
@.str.4 = [3 x i8] c"on\00"
@.str.5 = [4 x i8] c"off\00"
@.str.6 = [7 x i8] c"recall\00"
@.str.7 = [6 x i8] c"scnid\00"
@.str.8 = [18 x i8] c"Group scn %s, %d\0A\00"
@.str.9 = [7 x i8] c"remall\00"
@.str.10 = [14 x i8] c"Group scn %s\0A\00"
@.str.11 = [4 x i8] c"lvl\00"
@.str.12 = [16 x i8] c"Group level %d\0A\00"
@.str.13 = [4 x i8] c"xcr\00"
@.str.14 = [4 x i8] c"ycr\00"
@.str.15 = [20 x i8] c"Group color %d, %d\0A\00"
define void @grpHandle() {
%1 = alloca i32
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = call i32 (...) @grpDump()
%9 = call i32 @parsingGetIntAttr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
store i32 %9, i32* %1
%10 = load i32, i32* %1
%11 = icmp sge i32 %10, 0
br i1 %11, label %12, label %95
12: ; preds = %0
%13 = call i8* @parsingGetStringAttr0(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
store i8* %13, i8** %2
%14 = call i8* @parsingGetStringAttr0(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
store i8* %14, i8** %3
%15 = load i8*, i8** %2
%16 = icmp ne i8* %15, null
br i1 %16, label %17, label %35
17: ; preds = %12
%18 = load i8*, i8** %2
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8* %18)
%20 = load i8*, i8** %2
%21 = call i64 @strcmp(i8* %20, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %17
%24 = load i32, i32* %1
%25 = call i32 @lmpgrp_OnOff(i32 65535, i32 %24, i32 1)
br label %34
26: ; preds = %17
%27 = load i8*, i8** %2
%28 = call i64 @strcmp(i8* %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %26
%31 = load i32, i32* %1
%32 = call i32 @lmpgrp_OnOff(i32 65535, i32 %31, i32 0)
br label %33
33: ; preds = %30, %26
br label %34
34: ; preds = %33, %23
br label %35
35: ; preds = %34, %12
%36 = load i8*, i8** %3
%37 = icmp ne i8* %36, null
br i1 %37, label %38, label %65
38: ; preds = %35
%39 = load i8*, i8** %3
%40 = call i64 @strcmp(i8* %39, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %54
42: ; preds = %38
%43 = call i32 @parsingGetIntAttr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
store i32 %43, i32* %4
%44 = load i32, i32* %4
%45 = icmp sge i32 %44, 0
br i1 %45, label %46, label %53
46: ; preds = %42
%47 = load i8*, i8** %3
%48 = load i32, i32* %4
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i8* %47, i32 %48)
%50 = load i32, i32* %1
%51 = load i32, i32* %4
%52 = call i32 @eZCB_RecallScene(i32 65535, i32 %50, i32 %51)
br label %53
53: ; preds = %46, %42
br label %64
54: ; preds = %38
%55 = load i8*, i8** %3
%56 = call i64 @strcmp(i8* %55, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0))
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %63
58: ; preds = %54
%59 = load i8*, i8** %3
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.10, i64 0, i64 0), i8* %59)
%61 = load i32, i32* %1
%62 = call i32 @eZCB_RemoveAllScenes(i32 65535, i32 %61)
br label %63
63: ; preds = %58, %54
br label %64
64: ; preds = %63, %53
br label %65
65: ; preds = %64, %35
%66 = call i32 @parsingGetIntAttr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
store i32 %66, i32* %5
%67 = load i32, i32* %5
%68 = icmp sge i32 %67, 0
br i1 %68, label %69, label %78
69: ; preds = %65
%70 = load i32, i32* %5
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.12, i64 0, i64 0), i32 %70)
%72 = load i32, i32* %5
%73 = mul nsw i32 %72, 255
%74 = sdiv i32 %73, 100
store i32 %74, i32* %5
%75 = load i32, i32* %1
%76 = load i32, i32* %5
%77 = call i32 @lmpgrp_MoveToLevel(i32 65535, i32 %75, i32 %76, i32 5)
br label %78
78: ; preds = %69, %65
%79 = call i32 @parsingGetIntAttr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
store i32 %79, i32* %6
%80 = call i32 @parsingGetIntAttr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
store i32 %80, i32* %7
%81 = load i32, i32* %6
%82 = icmp sge i32 %81, 0
br i1 %82, label %83, label %94
83: ; preds = %78
%84 = load i32, i32* %7
%85 = icmp sge i32 %84, 0
br i1 %85, label %86, label %94
86: ; preds = %83
%87 = load i32, i32* %6
%88 = load i32, i32* %7
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.15, i64 0, i64 0), i32 %87, i32 %88)
%90 = load i32, i32* %1
%91 = load i32, i32* %6
%92 = load i32, i32* %7
%93 = call i32 @lmpgrp_MoveToColour(i32 65535, i32 %90, i32 %91, i32 %92, i32 5)
br label %94
94: ; preds = %86, %83, %78
br label %95
95: ; preds = %94, %0
ret void
}

LLVM IR (-O2):
@.str = [6 x i8] c"grpid\00"
@.str.1 = [4 x i8] c"cmd\00"
@.str.2 = [4 x i8] c"scn\00"
@.str.3 = [14 x i8] c"Group cmd %s\0A\00"
@.str.4 = [3 x i8] c"on\00"
@.str.5 = [4 x i8] c"off\00"
@.str.6 = [7 x i8] c"recall\00"
@.str.7 = [6 x i8] c"scnid\00"
@.str.8 = [18 x i8] c"Group scn %s, %d\0A\00"
@.str.9 = [7 x i8] c"remall\00"
@.str.10 = [14 x i8] c"Group scn %s\0A\00"
@.str.11 = [4 x i8] c"lvl\00"
@.str.12 = [16 x i8] c"Group level %d\0A\00"
@.str.13 = [4 x i8] c"xcr\00"
@.str.14 = [4 x i8] c"ycr\00"
@.str.15 = [20 x i8] c"Group color %d, %d\0A\00"
define void @grpHandle() {
%1 = tail call i32 (...) @grpDump()
%2 = tail call i32 @parsingGetIntAttr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%3 = icmp sgt i32 %2, -1
br i1 %3, label %4, label %52
4: ; preds = %0
%5 = tail call i8* @parsingGetStringAttr0(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%6 = tail call i8* @parsingGetStringAttr0(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%7 = icmp eq i8* %5, null
br i1 %7, label %18, label %8
8: ; preds = %4
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8* %5)
%10 = tail call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%11 = icmp eq i64 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %8
%13 = tail call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %12, %8
%16 = phi i32 [ 1, %8 ], [ 0, %12 ]
%17 = tail call i32 @lmpgrp_OnOff(i32 65535, i32 %2, i32 %16)
br label %18
18: ; preds = %15, %12, %4
%19 = icmp eq i8* %6, null
br i1 %19, label %35, label %20
20: ; preds = %18
%21 = tail call i64 @strcmp(i8* %6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %29
23: ; preds = %20
%24 = tail call i32 @parsingGetIntAttr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%25 = icmp sgt i32 %24, -1
br i1 %25, label %26, label %35
26: ; preds = %23
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i8* %6, i32 %24)
%28 = tail call i32 @eZCB_RecallScene(i32 65535, i32 %2, i32 %24)
br label %35
29: ; preds = %20
%30 = tail call i64 @strcmp(i8* %6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.10, i64 0, i64 0), i8* %6)
%34 = tail call i32 @eZCB_RemoveAllScenes(i32 65535, i32 %2)
br label %35
35: ; preds = %23, %26, %32, %29, %18
%36 = tail call i32 @parsingGetIntAttr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
%37 = icmp sgt i32 %36, -1
br i1 %37, label %38, label %43
38: ; preds = %35
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.12, i64 0, i64 0), i32 %36)
%40 = mul nsw i32 %36, 255
%41 = sdiv i32 %40, 100
%42 = tail call i32 @lmpgrp_MoveToLevel(i32 65535, i32 %2, i32 %41, i32 5)
br label %43
43: ; preds = %38, %35
%44 = tail call i32 @parsingGetIntAttr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
%45 = tail call i32 @parsingGetIntAttr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%46 = icmp sgt i32 %44, -1
%47 = icmp sgt i32 %45, -1
%48 = select i1 %46, i1 %47, i1 false
br i1 %48, label %49, label %52
49: ; preds = %43
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.15, i64 0, i64 0), i32 %44, i32 %45)
%51 = tail call i32 @lmpgrp_MoveToColour(i32 65535, i32 %2, i32 %44, i32 %45, i32 5)
br label %52
52: ; preds = %43, %49, %0
ret void
}