#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 */
scalar_t__ _setvideomode(int);
int bsize(int, int, int);
int /*<<< orphan*/ printf(char *, int);
int main() {
  if (_setvideomode(0))
    printf("TEXTBW40 - %d\n", bsize(40, 25, 4));
  if (_setvideomode(1))
    printf("TEXTC40 - %d\n", bsize(40, 25, 4));
  if (_setvideomode(2))
    printf("TEXTBW80 - %d\n", bsize(80, 25, 4));
  if (_setvideomode(3))
    printf("TEXTC80 - %d\n", bsize(80, 25, 4));
  if (_setvideomode(4))
    printf("MRES4COLOR - %d\n", bsize(320, 200, 2));
  if (_setvideomode(5))
    printf("MRESNOCOLOR - %d\n", bsize(320, 200, 2));
  if (_setvideomode(6))
    printf("HRESBW - %d\n", bsize(640, 200, 1));
  if (_setvideomode(7))
    printf("TEXTMONO - %d\n", bsize(80, 25, 1));
  if (_setvideomode(13))
    printf("MRES16COLOR - %d\n", bsize(320, 200, 4));
  if (_setvideomode(14))
    printf("HRES16COLOR - %d\n", bsize(640, 200, 4));
  if (_setvideomode(15))
    printf("ERESNOCOLOR - %d\n", bsize(320, 350, 1));
  if (_setvideomode(16))
    printf("ERESCOLOR - %d\n", bsize(340, 350, 6));
  if (_setvideomode(17))
    printf("VRES2COLOR - %d\n", bsize(640, 480, 1));
  if (_setvideomode(18))
    printf("VRES16COLOR - %d\n", bsize(640, 480, 4));
  if (_setvideomode(19))
    printf("MRES256COLOR - %d\n", bsize(320, 200, 8));
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
xor    %edi,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     1172 <main+0x42>
mov    $0x28,%edi
mov    $0x19,%esi
mov    $0x4,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xe93(%rip),%rdi
call   1040 <printf@plt>
mov    $0x1,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     11a8 <main+0x78>
mov    $0x28,%edi
mov    $0x19,%esi
mov    $0x4,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xe6c(%rip),%rdi
call   1040 <printf@plt>
mov    $0x2,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     11de <main+0xae>
mov    $0x50,%edi
mov    $0x19,%esi
mov    $0x4,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xe44(%rip),%rdi
call   1040 <printf@plt>
mov    $0x3,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     1214 <main+0xe4>
mov    $0x50,%edi
mov    $0x19,%esi
mov    $0x4,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xe1d(%rip),%rdi
call   1040 <printf@plt>
mov    $0x4,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     124a <main+0x11a>
mov    $0x140,%edi
mov    $0xc8,%esi
mov    $0x2,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xdf5(%rip),%rdi
call   1040 <printf@plt>
mov    $0x5,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     1280 <main+0x150>
mov    $0x140,%edi
mov    $0xc8,%esi
mov    $0x2,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xdd0(%rip),%rdi
call   1040 <printf@plt>
mov    $0x6,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     12b6 <main+0x186>
mov    $0x280,%edi
mov    $0xc8,%esi
mov    $0x1,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xdac(%rip),%rdi
call   1040 <printf@plt>
mov    $0x7,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     12ec <main+0x1bc>
mov    $0x50,%edi
mov    $0x19,%esi
mov    $0x1,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xd83(%rip),%rdi
call   1040 <printf@plt>
mov    $0xd,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     1322 <main+0x1f2>
mov    $0x140,%edi
mov    $0xc8,%esi
mov    $0x4,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xd5c(%rip),%rdi
call   1040 <printf@plt>
mov    $0xe,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     1358 <main+0x228>
mov    $0x280,%edi
mov    $0xc8,%esi
mov    $0x4,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xd38(%rip),%rdi
call   1040 <printf@plt>
mov    $0xf,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     138e <main+0x25e>
mov    $0x140,%edi
mov    $0x15e,%esi
mov    $0x1,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xd14(%rip),%rdi
call   1040 <printf@plt>
mov    $0x10,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     13c4 <main+0x294>
mov    $0x154,%edi
mov    $0x15e,%esi
mov    $0x6,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xcf0(%rip),%rdi
call   1040 <printf@plt>
mov    $0x11,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     13fa <main+0x2ca>
mov    $0x280,%edi
mov    $0x1e0,%esi
mov    $0x1,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xcca(%rip),%rdi
call   1040 <printf@plt>
mov    $0x12,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     1430 <main+0x300>
mov    $0x280,%edi
mov    $0x1e0,%esi
mov    $0x4,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xca5(%rip),%rdi
call   1040 <printf@plt>
mov    $0x13,%edi
call   1030 <_setvideomode@plt>
cmp    $0x0,%rax
je     1466 <main+0x336>
mov    $0x140,%edi
mov    $0xc8,%esi
mov    $0x8,%edx
call   1050 <bsize@plt>
mov    %eax,%esi
lea    0xc81(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %edi,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     115f <main+0x2f>
mov    $0x28,%edi
mov    $0x19,%esi
mov    $0x4,%edx
call   1050 <bsize@plt>
lea    0xea8(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
mov    $0x1,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     1190 <main+0x60>
mov    $0x28,%edi
mov    $0x19,%esi
mov    $0x4,%edx
call   1050 <bsize@plt>
lea    0xe86(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
mov    $0x2,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     11c1 <main+0x91>
mov    $0x50,%edi
mov    $0x19,%esi
mov    $0x4,%edx
call   1050 <bsize@plt>
lea    0xe63(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
mov    $0x3,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     11f2 <main+0xc2>
mov    $0x50,%edi
mov    $0x19,%esi
mov    $0x4,%edx
call   1050 <bsize@plt>
lea    0xe41(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
mov    $0x4,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     1223 <main+0xf3>
mov    $0x140,%edi
mov    $0xc8,%esi
mov    $0x2,%edx
call   1050 <bsize@plt>
lea    0xe1e(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
mov    $0x5,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     1254 <main+0x124>
mov    $0x140,%edi
mov    $0xc8,%esi
mov    $0x2,%edx
call   1050 <bsize@plt>
lea    0xdfe(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
mov    $0x6,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     1285 <main+0x155>
mov    $0x280,%edi
mov    $0xc8,%esi
mov    $0x1,%edx
call   1050 <bsize@plt>
lea    0xddf(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
mov    $0x7,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     12b6 <main+0x186>
mov    $0x50,%edi
mov    $0x19,%esi
mov    $0x1,%edx
call   1050 <bsize@plt>
lea    0xdbb(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
mov    $0xd,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     12e7 <main+0x1b7>
mov    $0x140,%edi
mov    $0xc8,%esi
mov    $0x4,%edx
call   1050 <bsize@plt>
lea    0xd99(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
mov    $0xe,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     1318 <main+0x1e8>
mov    $0x280,%edi
mov    $0xc8,%esi
mov    $0x4,%edx
call   1050 <bsize@plt>
lea    0xd7a(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
mov    $0xf,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     1349 <main+0x219>
mov    $0x140,%edi
mov    $0x15e,%esi
mov    $0x1,%edx
call   1050 <bsize@plt>
lea    0xd5b(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
mov    $0x10,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     137a <main+0x24a>
mov    $0x154,%edi
mov    $0x15e,%esi
mov    $0x6,%edx
call   1050 <bsize@plt>
lea    0xd3c(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
mov    $0x11,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     13ab <main+0x27b>
mov    $0x280,%edi
mov    $0x1e0,%esi
mov    $0x1,%edx
call   1050 <bsize@plt>
lea    0xd1b(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
mov    $0x12,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     13dc <main+0x2ac>
mov    $0x280,%edi
mov    $0x1e0,%esi
mov    $0x4,%edx
call   1050 <bsize@plt>
lea    0xcfb(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
mov    $0x13,%edi
call   1030 <_setvideomode@plt>
test   %rax,%rax
je     140d <main+0x2dd>
mov    $0x140,%edi
mov    $0xc8,%esi
mov    $0x8,%edx
call   1050 <bsize@plt>
lea    0xcdc(%rip),%rdi
mov    %eax,%esi
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [15 x i8] c"TEXTBW40 - %d\0A\00"
@.str.1 = [14 x i8] c"TEXTC40 - %d\0A\00"
@.str.2 = [15 x i8] c"TEXTBW80 - %d\0A\00"
@.str.3 = [14 x i8] c"TEXTC80 - %d\0A\00"
@.str.4 = [17 x i8] c"MRES4COLOR - %d\0A\00"
@.str.5 = [18 x i8] c"MRESNOCOLOR - %d\0A\00"
@.str.6 = [13 x i8] c"HRESBW - %d\0A\00"
@.str.7 = [15 x i8] c"TEXTMONO - %d\0A\00"
@.str.8 = [18 x i8] c"MRES16COLOR - %d\0A\00"
@.str.9 = [18 x i8] c"HRES16COLOR - %d\0A\00"
@.str.10 = [18 x i8] c"ERESNOCOLOR - %d\0A\00"
@.str.11 = [16 x i8] c"ERESCOLOR - %d\0A\00"
@.str.12 = [17 x i8] c"VRES2COLOR - %d\0A\00"
@.str.13 = [18 x i8] c"VRES16COLOR - %d\0A\00"
@.str.14 = [19 x i8] c"MRES256COLOR - %d\0A\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i64 @_setvideomode(i32 0)
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %0
%5 = call i32 @bsize(i32 40, i32 25, i32 4)
%6 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 %5)
br label %7
7: ; preds = %4, %0
%8 = call i64 @_setvideomode(i32 1)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = call i32 @bsize(i32 40, i32 25, i32 4)
%12 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 %11)
br label %13
13: ; preds = %10, %7
%14 = call i64 @_setvideomode(i32 2)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = call i32 @bsize(i32 80, i32 25, i32 4)
%18 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i32 %17)
br label %19
19: ; preds = %16, %13
%20 = call i64 @_setvideomode(i32 3)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %19
%23 = call i32 @bsize(i32 80, i32 25, i32 4)
%24 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i32 %23)
br label %25
25: ; preds = %22, %19
%26 = call i64 @_setvideomode(i32 4)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = call i32 @bsize(i32 320, i32 200, i32 2)
%30 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 %29)
br label %31
31: ; preds = %28, %25
%32 = call i64 @_setvideomode(i32 5)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = call i32 @bsize(i32 320, i32 200, i32 2)
%36 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i32 %35)
br label %37
37: ; preds = %34, %31
%38 = call i64 @_setvideomode(i32 6)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = call i32 @bsize(i32 640, i32 200, i32 1)
%42 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i32 %41)
br label %43
43: ; preds = %40, %37
%44 = call i64 @_setvideomode(i32 7)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %43
%47 = call i32 @bsize(i32 80, i32 25, i32 1)
%48 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i32 %47)
br label %49
49: ; preds = %46, %43
%50 = call i64 @_setvideomode(i32 13)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %55
52: ; preds = %49
%53 = call i32 @bsize(i32 320, i32 200, i32 4)
%54 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i32 %53)
br label %55
55: ; preds = %52, %49
%56 = call i64 @_setvideomode(i32 14)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %61
58: ; preds = %55
%59 = call i32 @bsize(i32 640, i32 200, i32 4)
%60 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0), i32 %59)
br label %61
61: ; preds = %58, %55
%62 = call i64 @_setvideomode(i32 15)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %67
64: ; preds = %61
%65 = call i32 @bsize(i32 320, i32 350, i32 1)
%66 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0), i32 %65)
br label %67
67: ; preds = %64, %61
%68 = call i64 @_setvideomode(i32 16)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %73
70: ; preds = %67
%71 = call i32 @bsize(i32 340, i32 350, i32 6)
%72 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0), i32 %71)
br label %73
73: ; preds = %70, %67
%74 = call i64 @_setvideomode(i32 17)
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %79
76: ; preds = %73
%77 = call i32 @bsize(i32 640, i32 480, i32 1)
%78 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.12, i64 0, i64 0), i32 %77)
br label %79
79: ; preds = %76, %73
%80 = call i64 @_setvideomode(i32 18)
%81 = icmp ne i64 %80, 0
br i1 %81, label %82, label %85
82: ; preds = %79
%83 = call i32 @bsize(i32 640, i32 480, i32 4)
%84 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0), i32 %83)
br label %85
85: ; preds = %82, %79
%86 = call i64 @_setvideomode(i32 19)
%87 = icmp ne i64 %86, 0
br i1 %87, label %88, label %91
88: ; preds = %85
%89 = call i32 @bsize(i32 320, i32 200, i32 8)
%90 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.14, i64 0, i64 0), i32 %89)
br label %91
91: ; preds = %88, %85
%92 = load i32, i32* %1
ret i32 %92
}

LLVM IR (-O2):
@.str = [15 x i8] c"TEXTBW40 - %d\0A\00"
@.str.1 = [14 x i8] c"TEXTC40 - %d\0A\00"
@.str.2 = [15 x i8] c"TEXTBW80 - %d\0A\00"
@.str.3 = [14 x i8] c"TEXTC80 - %d\0A\00"
@.str.4 = [17 x i8] c"MRES4COLOR - %d\0A\00"
@.str.5 = [18 x i8] c"MRESNOCOLOR - %d\0A\00"
@.str.6 = [13 x i8] c"HRESBW - %d\0A\00"
@.str.7 = [15 x i8] c"TEXTMONO - %d\0A\00"
@.str.8 = [18 x i8] c"MRES16COLOR - %d\0A\00"
@.str.9 = [18 x i8] c"HRES16COLOR - %d\0A\00"
@.str.10 = [18 x i8] c"ERESNOCOLOR - %d\0A\00"
@.str.11 = [16 x i8] c"ERESCOLOR - %d\0A\00"
@.str.12 = [17 x i8] c"VRES2COLOR - %d\0A\00"
@.str.13 = [18 x i8] c"VRES16COLOR - %d\0A\00"
@.str.14 = [19 x i8] c"MRES256COLOR - %d\0A\00"
define i32 @main() {
%1 = tail call i64 @_setvideomode(i32 0)
%2 = icmp eq i64 %1, 0
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = tail call i32 @bsize(i32 40, i32 25, i32 4)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 %4)
br label %6
6: ; preds = %3, %0
%7 = tail call i64 @_setvideomode(i32 1)
%8 = icmp eq i64 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %6
%10 = tail call i32 @bsize(i32 40, i32 25, i32 4)
%11 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 %10)
br label %12
12: ; preds = %9, %6
%13 = tail call i64 @_setvideomode(i32 2)
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = tail call i32 @bsize(i32 80, i32 25, i32 4)
%17 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i32 %16)
br label %18
18: ; preds = %15, %12
%19 = tail call i64 @_setvideomode(i32 3)
%20 = icmp eq i64 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %18
%22 = tail call i32 @bsize(i32 80, i32 25, i32 4)
%23 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i32 %22)
br label %24
24: ; preds = %21, %18
%25 = tail call i64 @_setvideomode(i32 4)
%26 = icmp eq i64 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %24
%28 = tail call i32 @bsize(i32 320, i32 200, i32 2)
%29 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 %28)
br label %30
30: ; preds = %27, %24
%31 = tail call i64 @_setvideomode(i32 5)
%32 = icmp eq i64 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %30
%34 = tail call i32 @bsize(i32 320, i32 200, i32 2)
%35 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i32 %34)
br label %36
36: ; preds = %33, %30
%37 = tail call i64 @_setvideomode(i32 6)
%38 = icmp eq i64 %37, 0
br i1 %38, label %42, label %39
39: ; preds = %36
%40 = tail call i32 @bsize(i32 640, i32 200, i32 1)
%41 = tail call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i32 %40)
br label %42
42: ; preds = %39, %36
%43 = tail call i64 @_setvideomode(i32 7)
%44 = icmp eq i64 %43, 0
br i1 %44, label %48, label %45
45: ; preds = %42
%46 = tail call i32 @bsize(i32 80, i32 25, i32 1)
%47 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i32 %46)
br label %48
48: ; preds = %45, %42
%49 = tail call i64 @_setvideomode(i32 13)
%50 = icmp eq i64 %49, 0
br i1 %50, label %54, label %51
51: ; preds = %48
%52 = tail call i32 @bsize(i32 320, i32 200, i32 4)
%53 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i32 %52)
br label %54
54: ; preds = %51, %48
%55 = tail call i64 @_setvideomode(i32 14)
%56 = icmp eq i64 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %54
%58 = tail call i32 @bsize(i32 640, i32 200, i32 4)
%59 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0), i32 %58)
br label %60
60: ; preds = %57, %54
%61 = tail call i64 @_setvideomode(i32 15)
%62 = icmp eq i64 %61, 0
br i1 %62, label %66, label %63
63: ; preds = %60
%64 = tail call i32 @bsize(i32 320, i32 350, i32 1)
%65 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0), i32 %64)
br label %66
66: ; preds = %63, %60
%67 = tail call i64 @_setvideomode(i32 16)
%68 = icmp eq i64 %67, 0
br i1 %68, label %72, label %69
69: ; preds = %66
%70 = tail call i32 @bsize(i32 340, i32 350, i32 6)
%71 = tail call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0), i32 %70)
br label %72
72: ; preds = %69, %66
%73 = tail call i64 @_setvideomode(i32 17)
%74 = icmp eq i64 %73, 0
br i1 %74, label %78, label %75
75: ; preds = %72
%76 = tail call i32 @bsize(i32 640, i32 480, i32 1)
%77 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.12, i64 0, i64 0), i32 %76)
br label %78
78: ; preds = %75, %72
%79 = tail call i64 @_setvideomode(i32 18)
%80 = icmp eq i64 %79, 0
br i1 %80, label %84, label %81
81: ; preds = %78
%82 = tail call i32 @bsize(i32 640, i32 480, i32 4)
%83 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0), i32 %82)
br label %84
84: ; preds = %81, %78
%85 = tail call i64 @_setvideomode(i32 19)
%86 = icmp eq i64 %85, 0
br i1 %86, label %90, label %87
87: ; preds = %84
%88 = tail call i32 @bsize(i32 320, i32 200, i32 8)
%89 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.14, i64 0, i64 0), i32 %88)
br label %90
90: ; preds = %87, %84
ret i32 0
}