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

/* Variables and functions */
int /*<<< orphan*/ Output(int /*<<< orphan*/ *, char *, ...);
void CreateBase(FILE *Out, int Source, int Flags, unsigned Bpp) {
  const char *What = (Source ? "Source" : "Dest");
  ;
  Output(Out, "%sBase = (char *) BltInfo->%sSurface->pvScan0 +\n", What, What);
  if (0 == (Flags & 0x04)) {
    if (Source) {
      Output(Out, "             BltInfo->SourcePoint.y *\n");
    } else {
      Output(Out, "           BltInfo->DestRect.top *\n");
    }
  } else {
    if (Source) {
      Output(Out, "             (BltInfo->SourcePoint.y +\n");
      Output(Out, "              BltInfo->DestRect.bottom -\n");
      Output(Out, "              BltInfo->DestRect.top - 1) *\n");
    } else {
      Output(Out, "           (BltInfo->DestRect.bottom - 1) *\n");
    }
  }
  Output(Out, "           %sBltInfo->%sSurface->lDelta +\n", Source ? "  " : "",
         What);
  if (Source) {
    Output(Out, "             %sBltInfo->SourcePoint.x", 16 < Bpp ? "" : "((");
  } else {
    Output(Out, "           BltInfo->DestRect.left");
  }
  if (Bpp < 8) {
    Output(Out, " / %u", 8 / Bpp);
  } else if (8 < Bpp) {
    Output(Out, " * %u", Bpp / 8);
  }
  if (Source && Bpp <= 16) {
    Output(Out, ") & ~ 0x3)");
  }
  Output(Out, ";\n", Bpp / 8);
  if (Source && Bpp <= 16) {
    Output(Out, "BaseSourcePixels = %u - (BltInfo->SourcePoint.x & 0x%x);\n",
           32 / Bpp, 32 / Bpp - 1);
  }
}


x86 assembly (clang, -O0):
<CreateBase>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    -0xc(%rbp),%edx
lea    0xed8(%rip),%rax
lea    0xeca(%rip),%rcx
cmp    $0x0,%edx
cmovne %rcx,%rax
mov    %rax,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x20(%rbp),%rdx
mov    -0x20(%rbp),%rcx
lea    0xeb8(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
mov    -0x10(%rbp),%ecx
and    $0x4,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
jne    11a3 <CreateBase+0x93>
cmpl   $0x0,-0xc(%rbp)
je     118c <CreateBase+0x7c>
mov    -0x8(%rbp),%rdi
lea    0xebd(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
jmp    119e <CreateBase+0x8e>
mov    -0x8(%rbp),%rdi
lea    0xecd(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
jmp    11ff <CreateBase+0xef>
cmpl   $0x0,-0xc(%rbp)
je     11e8 <CreateBase+0xd8>
mov    -0x8(%rbp),%rdi
lea    0xed0(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
mov    -0x8(%rbp),%rdi
lea    0xee6(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
mov    -0x8(%rbp),%rdi
lea    0xefe(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
jmp    11fa <CreateBase+0xea>
mov    -0x8(%rbp),%rdi
lea    0xf13(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
jmp    11ff <CreateBase+0xef>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%ecx
lea    0xf25(%rip),%rdx
lea    0xf4a(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdx
mov    -0x20(%rbp),%rcx
lea    0xf0d(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
cmpl   $0x0,-0xc(%rbp)
je     126a <CreateBase+0x15a>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    $0x10,%ecx
lea    0xf3d(%rip),%rdx
lea    0xee1(%rip),%rax
cmp    %esi,%ecx
cmovb  %rax,%rdx
lea    0xf03(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
jmp    127c <CreateBase+0x16c>
mov    -0x8(%rbp),%rdi
lea    0xf15(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
cmpl   $0x8,-0x14(%rbp)
jae    12a9 <CreateBase+0x199>
mov    -0x8(%rbp),%rdi
mov    $0x8,%eax
xor    %edx,%edx
divl   -0x14(%rbp)
mov    %eax,%edx
lea    0xf0f(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
jmp    12d4 <CreateBase+0x1c4>
mov    $0x8,%eax
cmp    -0x14(%rbp),%eax
jae    12cf <CreateBase+0x1bf>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
shr    $0x3,%edx
lea    0xeea(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
jmp    12d4 <CreateBase+0x1c4>
cmpl   $0x0,-0xc(%rbp)
je     12fa <CreateBase+0x1ea>
cmpl   $0x10,-0x14(%rbp)
ja     12fa <CreateBase+0x1ea>
mov    -0x8(%rbp),%rdi
lea    0xec5(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
shr    $0x3,%edx
lea    0xeef(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
cmpl   $0x0,-0xc(%rbp)
je     1357 <CreateBase+0x247>
cmpl   $0x10,-0x14(%rbp)
ja     1357 <CreateBase+0x247>
mov    -0x8(%rbp),%rdi
mov    $0x20,%eax
xor    %edx,%edx
divl   -0x14(%rbp)
mov    %eax,-0x24(%rbp)
mov    $0x20,%eax
xor    %edx,%edx
divl   -0x14(%rbp)
mov    -0x24(%rbp),%edx
mov    %eax,%ecx
sub    $0x1,%ecx
lea    0xe73(%rip),%rsi
mov    $0x0,%al
call   1030 <Output@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<CreateBase>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %ecx,%r15d
mov    %edx,%ebx
mov    %esi,%r14d
mov    %rdi,%r12
test   %esi,%esi
lea    0xed4(%rip),%rax
lea    0xed4(%rip),%rbp
cmovne %rax,%rbp
lea    0xece(%rip),%rsi
mov    %rbp,%rdx
mov    %rbp,%rcx
xor    %eax,%eax
call   1030 <Output@plt>
test   $0x4,%bl
jne    1162 <CreateBase+0x52>
test   %r14d,%r14d
je     11fa <CreateBase+0xea>
lea    0xedd(%rip),%rsi
jmp    1194 <CreateBase+0x84>
test   %r14d,%r14d
je     1203 <CreateBase+0xf3>
lea    0xf16(%rip),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1030 <Output@plt>
lea    0xf2d(%rip),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1030 <Output@plt>
lea    0xf46(%rip),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1030 <Output@plt>
lea    0xf8e(%rip),%rsi
lea    0xfb2(%rip),%rdx
mov    %r12,%rdi
mov    %rbp,%rcx
xor    %eax,%eax
call   1030 <Output@plt>
cmp    $0x11,%r15d
lea    0xf6e(%rip),%rax
lea    0xfbc(%rip),%rdx
cmovae %rax,%rdx
lea    0xf8b(%rip),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1030 <Output@plt>
cmp    $0x7,%r15d
ja     1246 <CreateBase+0x136>
mov    $0x8,%al
movzbl %al,%eax
div    %r15b
movzbl %al,%edx
lea    0xfb4(%rip),%rsi
jmp    1259 <CreateBase+0x149>
lea    0xe63(%rip),%rsi
jmp    120a <CreateBase+0xfa>
lea    0xefc(%rip),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1030 <Output@plt>
lea    0xf18(%rip),%rsi
lea    0xf10(%rip),%rdx
mov    %r12,%rdi
mov    %rbp,%rcx
xor    %eax,%eax
call   1030 <Output@plt>
lea    0xf54(%rip),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1030 <Output@plt>
cmp    $0x7,%r15d
jbe    11e6 <CreateBase+0xd6>
cmp    $0x8,%r15d
je     1263 <CreateBase+0x153>
mov    %r15d,%edx
shr    $0x3,%edx
lea    0xf59(%rip),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1030 <Output@plt>
test   %r14d,%r14d
je     12bd <CreateBase+0x1ad>
cmp    $0x10,%r15d
ja     12bd <CreateBase+0x1ad>
lea    0xf43(%rip),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1030 <Output@plt>
mov    %r15d,%edx
shr    $0x3,%edx
lea    0xf6e(%rip),%rsi
mov    %r12,%rdi
xor    %eax,%eax
call   1030 <Output@plt>
mov    $0x20,%al
movzbl %al,%eax
div    %r15b
movzbl %al,%edx
lea    -0x1(%rdx),%ecx
lea    0xf18(%rip),%rsi
mov    %r12,%rdi
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <Output@plt>
shr    $0x3,%r15d
lea    0xf32(%rip),%rsi
mov    %r12,%rdi
mov    %r15d,%edx
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <Output@plt>

LLVM IR (-O0):
@.str = [7 x i8] c"Source\00"
@.str.1 = [5 x i8] c"Dest\00"
@.str.2 = [49 x i8] c"%sBase = (char *) BltInfo->%sSurface->pvScan0 +\0A\00"
@.str.3 = [39 x i8] c" BltInfo->SourcePoint.y *\0A\00"
@.str.4 = [36 x i8] c" BltInfo->DestRect.top *\0A\00"
@.str.5 = [40 x i8] c" (BltInfo->SourcePoint.y +\0A\00"
@.str.6 = [42 x i8] c" BltInfo->DestRect.bottom -\0A\00"
@.str.7 = [44 x i8] c" BltInfo->DestRect.top - 1) *\0A\00"
@.str.8 = [45 x i8] c" (BltInfo->DestRect.bottom - 1) *\0A\00"
@.str.9 = [43 x i8] c" %sBltInfo->%sSurface->lDelta +\0A\00"
@.str.10 = [3 x i8] c" \00"
@.str.11 = [1 x i8] zeroinitializer
@.str.12 = [38 x i8] c" %sBltInfo->SourcePoint.x\00"
@.str.13 = [3 x i8] c"((\00"
@.str.14 = [34 x i8] c" BltInfo->DestRect.left\00"
@.str.15 = [6 x i8] c" / %u\00"
@.str.16 = [6 x i8] c" * %u\00"
@.str.17 = [11 x i8] c") & ~ 0x3)\00"
@.str.18 = [3 x i8] c";\0A\00"
@.str.19 = [58 x i8] c"BaseSourcePixels = %u - (BltInfo->SourcePoint.x & 0x%x);\0A\00"
define void @CreateBase(i32* %0, i32 %1, i32 %2, i32 %3) {
%5 = alloca i32*
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i8*
store i32* %0, i32** %5
store i32 %1, i32* %6
store i32 %2, i32* %7
store i32 %3, i32* %8
%10 = load i32, i32* %6
%11 = icmp ne i32 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0)
store i8* %13, i8** %9
%14 = load i32*, i32** %5
%15 = load i8*, i8** %9
%16 = load i8*, i8** %9
%17 = call i32 (i32*, i8*, ...) @Output(i32* %14, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0), i8* %15, i8* %16)
%18 = load i32, i32* %7
%19 = and i32 %18, 4
%20 = icmp eq i32 0, %19
br i1 %20, label %21, label %31
21: ; preds = %4
%22 = load i32, i32* %6
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = load i32*, i32** %5
%26 = call i32 (i32*, i8*, ...) @Output(i32* %25, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i64 0, i64 0))
br label %30
27: ; preds = %21
%28 = load i32*, i32** %5
%29 = call i32 (i32*, i8*, ...) @Output(i32* %28, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0))
br label %30
30: ; preds = %27, %24
br label %45
31: ; preds = %4
%32 = load i32, i32* %6
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %41
34: ; preds = %31
%35 = load i32*, i32** %5
%36 = call i32 (i32*, i8*, ...) @Output(i32* %35, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0))
%37 = load i32*, i32** %5
%38 = call i32 (i32*, i8*, ...) @Output(i32* %37, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.6, i64 0, i64 0))
%39 = load i32*, i32** %5
%40 = call i32 (i32*, i8*, ...) @Output(i32* %39, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.7, i64 0, i64 0))
br label %44
41: ; preds = %31
%42 = load i32*, i32** %5
%43 = call i32 (i32*, i8*, ...) @Output(i32* %42, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0))
br label %44
44: ; preds = %41, %34
br label %45
45: ; preds = %44, %30
%46 = load i32*, i32** %5
%47 = load i32, i32* %6
%48 = icmp ne i32 %47, 0
%49 = zext i1 %48 to i64
%50 = select i1 %48, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.11, i64 0, i64 0)
%51 = load i8*, i8** %9
%52 = call i32 (i32*, i8*, ...) @Output(i32* %46, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.9, i64 0, i64 0), i8* %50, i8* %51)
%53 = load i32, i32* %6
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %45
%56 = load i32*, i32** %5
%57 = load i32, i32* %8
%58 = icmp ult i32 16, %57
%59 = zext i1 %58 to i64
%60 = select i1 %58, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0)
%61 = call i32 (i32*, i8*, ...) @Output(i32* %56, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.12, i64 0, i64 0), i8* %60)
br label %65
62: ; preds = %45
%63 = load i32*, i32** %5
%64 = call i32 (i32*, i8*, ...) @Output(i32* %63, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.14, i64 0, i64 0))
br label %65
65: ; preds = %62, %55
%66 = load i32, i32* %8
%67 = icmp ult i32 %66, 8
br i1 %67, label %68, label %73
68: ; preds = %65
%69 = load i32*, i32** %5
%70 = load i32, i32* %8
%71 = udiv i32 8, %70
%72 = call i32 (i32*, i8*, ...) @Output(i32* %69, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0), i32 %71)
br label %82
73: ; preds = %65
%74 = load i32, i32* %8
%75 = icmp ult i32 8, %74
br i1 %75, label %76, label %81
76: ; preds = %73
%77 = load i32*, i32** %5
%78 = load i32, i32* %8
%79 = udiv i32 %78, 8
%80 = call i32 (i32*, i8*, ...) @Output(i32* %77, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.16, i64 0, i64 0), i32 %79)
br label %81
81: ; preds = %76, %73
br label %82
82: ; preds = %81, %68
%83 = load i32, i32* %6
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %91
85: ; preds = %82
%86 = load i32, i32* %8
%87 = icmp ule i32 %86, 16
br i1 %87, label %88, label %91
88: ; preds = %85
%89 = load i32*, i32** %5
%90 = call i32 (i32*, i8*, ...) @Output(i32* %89, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.17, i64 0, i64 0))
br label %91
91: ; preds = %88, %85, %82
%92 = load i32*, i32** %5
%93 = load i32, i32* %8
%94 = udiv i32 %93, 8
%95 = call i32 (i32*, i8*, ...) @Output(i32* %92, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0), i32 %94)
%96 = load i32, i32* %6
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %109
98: ; preds = %91
%99 = load i32, i32* %8
%100 = icmp ule i32 %99, 16
br i1 %100, label %101, label %109
101: ; preds = %98
%102 = load i32*, i32** %5
%103 = load i32, i32* %8
%104 = udiv i32 32, %103
%105 = load i32, i32* %8
%106 = udiv i32 32, %105
%107 = sub i32 %106, 1
%108 = call i32 (i32*, i8*, ...) @Output(i32* %102, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.19, i64 0, i64 0), i32 %104, i32 %107)
br label %109
109: ; preds = %101, %98, %91
ret void
}

LLVM IR (-O2):
@.str = [7 x i8] c"Source\00"
@.str.1 = [5 x i8] c"Dest\00"
@.str.2 = [49 x i8] c"%sBase = (char *) BltInfo->%sSurface->pvScan0 +\0A\00"
@.str.3 = [39 x i8] c" BltInfo->SourcePoint.y *\0A\00"
@.str.4 = [36 x i8] c" BltInfo->DestRect.top *\0A\00"
@.str.5 = [40 x i8] c" (BltInfo->SourcePoint.y +\0A\00"
@.str.6 = [42 x i8] c" BltInfo->DestRect.bottom -\0A\00"
@.str.7 = [44 x i8] c" BltInfo->DestRect.top - 1) *\0A\00"
@.str.8 = [45 x i8] c" (BltInfo->DestRect.bottom - 1) *\0A\00"
@.str.9 = [43 x i8] c" %sBltInfo->%sSurface->lDelta +\0A\00"
@.str.10 = [3 x i8] c" \00"
@.str.11 = [1 x i8] zeroinitializer
@.str.12 = [38 x i8] c" %sBltInfo->SourcePoint.x\00"
@.str.13 = [3 x i8] c"((\00"
@.str.14 = [34 x i8] c" BltInfo->DestRect.left\00"
@.str.15 = [6 x i8] c" / %u\00"
@.str.16 = [6 x i8] c" * %u\00"
@.str.17 = [11 x i8] c") & ~ 0x3)\00"
@.str.18 = [3 x i8] c";\0A\00"
@.str.19 = [58 x i8] c"BaseSourcePixels = %u - (BltInfo->SourcePoint.x & 0x%x);\0A\00"
define void @CreateBase(i32* %0, i32 %1, i32 %2, i32 %3) {
%5 = icmp ne i32 %1, 0
%6 = select i1 %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0)
%7 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0), i8* %6, i8* %6)
%8 = and i32 %2, 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %4
br i1 %5, label %15, label %22
11: ; preds = %4
br i1 %5, label %12, label %22
12: ; preds = %11
%13 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0))
%14 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.6, i64 0, i64 0))
br label %15
15: ; preds = %10, %12
%16 = phi i8* [ getelementptr inbounds ([44 x i8], [44 x i8]* @.str.7, i64 0, i64 0), %12 ], [ getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i64 0, i64 0), %10 ]
%17 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* %16)
%18 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i8* %6)
%19 = icmp ugt i32 %3, 16
%20 = select i1 %19, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0)
%21 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.12, i64 0, i64 0), i8* %20)
br label %27
22: ; preds = %11, %10
%23 = phi i8* [ getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0), %10 ], [ getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0), %11 ]
%24 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* %23)
%25 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.11, i64 0, i64 0), i8* %6)
%26 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.14, i64 0, i64 0))
br label %27
27: ; preds = %22, %15
%28 = icmp ult i32 %3, 8
br i1 %28, label %29, label %34
29: ; preds = %27
%30 = trunc i32 %3 to i8
%31 = udiv i8 8, %30
%32 = zext i8 %31 to i32
%33 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0), i32 %32)
br label %39
34: ; preds = %27
%35 = icmp eq i32 %3, 8
br i1 %35, label %39, label %36
36: ; preds = %34
%37 = lshr i32 %3, 3
%38 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.16, i64 0, i64 0), i32 %37)
br label %39
39: ; preds = %34, %36, %29
%40 = icmp ult i32 %3, 17
%41 = and i1 %5, %40
br i1 %41, label %42, label %51
42: ; preds = %39
%43 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.17, i64 0, i64 0))
%44 = lshr i32 %3, 3
%45 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0), i32 %44)
%46 = trunc i32 %3 to i8
%47 = udiv i8 32, %46
%48 = zext i8 %47 to i32
%49 = add nsw i32 %48, -1
%50 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.19, i64 0, i64 0), i32 %48, i32 %49)
br label %54
51: ; preds = %39
%52 = lshr i32 %3, 3
%53 = tail call i32 (i32*, i8*, ...) @Output(i32* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0), i32 %52)
br label %54
54: ; preds = %51, %42
ret void
}