#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 InitPad();
unsigned short ReadPad(int);
unsigned long decomp_exec(unsigned char *, unsigned long, unsigned char *);
int stub1();
int /*<<< orphan*/ stub_execute(unsigned char *, unsigned long,
                                unsigned char *);
int /*<<< orphan*/ vdp1_add_distorted_sprite(int /*<<< orphan*/,
                                             int /*<<< orphan*/, int,
                                             int /*<<< orphan*/, int, int,
                                             int /*<<< orphan*/, int,
                                             unsigned long, int, int);
int /*<<< orphan*/ vdp1_add_end();
int /*<<< orphan*/ vdp1_add_local_coords(int /*<<< orphan*/,
                                         int /*<<< orphan*/);
int /*<<< orphan*/ vdp1_add_polyline(int /*<<< orphan*/, int /*<<< orphan*/,
                                     int, int /*<<< orphan*/, int, int,
                                     int /*<<< orphan*/, int, int);
int /*<<< orphan*/ vdp1_add_system_clip(int, int);
int /*<<< orphan*/ vdp1_add_user_clip(int /*<<< orphan*/, int /*<<< orphan*/,
                                      int, int);
int /*<<< orphan*/ vdp1_mesh(int /*<<< orphan*/);
int /*<<< orphan*/ vdp_init();
int /*<<< orphan*/ vdp_shutdown();
void _main(void) {
  unsigned char *BootDataPtr =
      *((unsigned char **)(0x06004000 + ((8 * 1024) + 0)));
  unsigned long BootDataLen =
      *((unsigned long *)(0x06004000 + ((8 * 1024) + 4)));
  unsigned char *SplashImagePtr =
      *((unsigned char **)(0x06004000 + ((8 * 1024) + 8)));
  unsigned long SplashImageLen =
      *((unsigned long *)(0x06004000 + ((8 * 1024) + 12)));
  unsigned short *splash_ptr = (unsigned short *)0x25C40000;
  unsigned char *boot_ptr = (unsigned char *)0x00200000;
  unsigned char *exec_ptr = (unsigned char *)0x06004000;
  unsigned long boot_len;
  unsigned short padData;
  int pad_connected;
  pad_connected = InitPad();
  vdp_init();
  (*(volatile unsigned short *)((0x25e00000 + 0x180000) + 0xf0)) = 0x0101;
  (*(volatile unsigned short *)((0x25e00000 + 0x180000) + 0xf2)) = 0x0101;
  (*(volatile unsigned short *)((0x25e00000 + 0x180000) + 0xf4)) = 0x0101;
  (*(volatile unsigned short *)((0x25e00000 + 0x180000) + 0xf6)) = 0x0101;
  (*(volatile unsigned short *)(0x25c00000 + 0x100000 + 0x00)) = 0x0000;
  (*(volatile unsigned short *)(0x25c00000 + 0x100000 + 0x02)) = 0x0000;
  (*(volatile unsigned short *)(0x25c00000 + 0x100000 + 0x04)) = 0x0002;
  (*(volatile unsigned short *)(0x25c00000 + 0x100000 + 0x06)) =
      (((7) & 0x1F) | ((7) & 0x1F) << 5 | ((7) & 0x1F) << 10 | 0x8000);
  (*(volatile unsigned short *)(0x25c00000 + 0x100000 + 0x08)) = 0x0000;
  (*(volatile unsigned short *)(0x25c00000 + 0x100000 + 0x0a)) = 0x50DF;
  vdp1_mesh(0);
  vdp1_add_system_clip(320, 224);
  vdp1_add_user_clip(0, 0, 319, 223);
  vdp1_add_local_coords(0, 0);
  decomp_exec(SplashImagePtr, SplashImageLen, (unsigned char *)splash_ptr);
  vdp1_add_distorted_sprite(0, 0, 320 - 1, 0, 320 - 1, 224 - 1, 0, 224 - 1,
                            (((unsigned long)splash_ptr) & 0xFFFFF) >> 3, 320,
                            224);
  vdp1_add_polyline(
      0, 0, 320 - 1, 0, 320 - 1, 224 - 1, 0, 224 - 1,
      (((31) & 0x1F) | ((31) & 0x1F) << 5 | ((31) & 0x1F) << 10 | 0x8000));
  vdp1_add_end();
  (*(volatile unsigned short *)((0x25e00000 + 0x180000) + 0x00)) = 0x8000;
  (*(volatile unsigned short *)(0x25c00000 + 0x100000 + 0x00)) = 0x0000;
  (*(volatile unsigned short *)(0x25c00000 + 0x100000 + 0x02)) = 0x0001;
  (*(volatile unsigned short *)(0x25c00000 + 0x100000 + 0x0a)) = 0x50DF;
  boot_len = decomp_exec(BootDataPtr, BootDataLen, (unsigned char *)boot_ptr);
  while (1) {
    padData = ReadPad(pad_connected);
    if (padData & (1 << 8)) {
      (((*((unsigned char *)0x0203FFFF)) & 0x81) == 0x01
           ? ((int (*)(void))0x0203F800)()
           : -1);
    }
    if (padData & (1 << 11))
      break;
    if (padData & (1 << 10))
      break;
    if (padData & (1 << 9))
      break;
    while (!((*(volatile unsigned short *)((0x25e00000 + 0x180000) + 0x04)) &
             (1 << 3)))
      ;
    ;
    while ((*(volatile unsigned short *)((0x25e00000 + 0x180000) + 0x04)) &
           (1 << 3))
      ;
    ;
  }
  vdp_shutdown();
  stub_execute(boot_ptr, boot_len, exec_ptr);
}


x86 assembly (clang, -O0):
<_main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    $0x6006000,%eax
mov    (%rax),%rax
mov    %rax,-0x8(%rbp)
mov    $0x6006004,%eax
mov    (%rax),%rax
mov    %rax,-0x10(%rbp)
mov    $0x6006008,%eax
mov    (%rax),%rax
mov    %rax,-0x18(%rbp)
mov    $0x600600c,%eax
mov    (%rax),%rax
mov    %rax,-0x20(%rbp)
mov    $0x25c40000,%eax
mov    %rax,-0x28(%rbp)
mov    $0x200000,%eax
mov    %rax,-0x30(%rbp)
mov    $0x6004000,%eax
mov    %rax,-0x38(%rbp)
mov    $0x0,%al
call   1030 <InitPad@plt>
mov    %eax,-0x48(%rbp)
mov    $0x0,%al
call   1090 <vdp_init@plt>
mov    $0x25f800f0,%eax
movw   $0x101,(%rax)
mov    $0x25f800f2,%eax
movw   $0x101,(%rax)
mov    $0x25f800f4,%eax
movw   $0x101,(%rax)
mov    $0x25f800f6,%eax
movw   $0x101,(%rax)
mov    $0x25d00000,%eax
movw   $0x0,(%rax)
mov    $0x25d00002,%eax
movw   $0x0,(%rax)
mov    $0x25d00004,%eax
movw   $0x2,(%rax)
mov    $0x25d00006,%eax
movw   $0x9ce7,(%rax)
mov    $0x25d00008,%eax
movw   $0x0,(%rax)
mov    $0x25d0000a,%eax
movw   $0x50df,(%rax)
xor    %edi,%edi
call   10e0 <vdp1_mesh@plt>
mov    $0x140,%edi
mov    $0xe0,%esi
call   10b0 <vdp1_add_system_clip@plt>
xor    %esi,%esi
mov    $0x13f,%edx
mov    $0xdf,%ecx
mov    %esi,%edi
call   1050 <vdp1_add_user_clip@plt>
xor    %esi,%esi
mov    %esi,%edi
call   10a0 <vdp1_add_local_coords@plt>
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
call   1080 <decomp_exec@plt>
mov    -0x28(%rbp),%rax
and    $0xfffff,%rax
shr    $0x3,%rax
xor    %ecx,%ecx
mov    $0x13f,%r8d
mov    $0xdf,%r9d
mov    %ecx,%edi
mov    %ecx,%esi
mov    %r8d,%edx
movl   $0x0,(%rsp)
movl   $0xdf,0x8(%rsp)
mov    %rax,0x10(%rsp)
movl   $0x140,0x18(%rsp)
movl   $0xe0,0x20(%rsp)
call   1070 <vdp1_add_distorted_sprite@plt>
xor    %ecx,%ecx
mov    $0x13f,%r8d
mov    $0xdf,%r9d
mov    %ecx,%edi
mov    %ecx,%esi
mov    %r8d,%edx
movl   $0x0,(%rsp)
movl   $0xdf,0x8(%rsp)
movl   $0xffff,0x10(%rsp)
call   10d0 <vdp1_add_polyline@plt>
mov    $0x0,%al
call   1040 <vdp1_add_end@plt>
mov    $0x25f80000,%eax
movw   $0x8000,(%rax)
mov    $0x25d00000,%eax
movw   $0x0,(%rax)
mov    $0x25d00002,%eax
movw   $0x1,(%rax)
mov    $0x25d0000a,%eax
movw   $0x50df,(%rax)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x30(%rbp),%rdx
call   1080 <decomp_exec@plt>
mov    %rax,-0x40(%rbp)
mov    -0x48(%rbp),%edi
call   10f0 <ReadPad@plt>
mov    %ax,-0x42(%rbp)
movzwl -0x42(%rbp),%eax
and    $0x100,%eax
cmp    $0x0,%eax
je     13e1 <_main+0x211>
mov    $0x203ffff,%eax
movzbl (%rax),%eax
and    $0x81,%eax
cmp    $0x1,%eax
jne    13dc <_main+0x20c>
mov    $0x203f800,%eax
call   *%rax
jmp    13e1 <_main+0x211>
jmp    13e1 <_main+0x211>
movzwl -0x42(%rbp),%eax
and    $0x800,%eax
cmp    $0x0,%eax
je     13f8 <_main+0x228>
jmp    1479 <_main+0x2a9>
movzwl -0x42(%rbp),%eax
and    $0x400,%eax
cmp    $0x0,%eax
je     140f <_main+0x23f>
jmp    1479 <_main+0x2a9>
movzwl -0x42(%rbp),%eax
and    $0x200,%eax
cmp    $0x0,%eax
je     1426 <_main+0x256>
jmp    1479 <_main+0x2a9>
jmp    142b <_main+0x25b>
mov    $0x25f80004,%eax
mov    (%rax),%ax
movzwl %ax,%eax
and    $0x8,%eax
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
test   $0x1,%al
jne    144e <_main+0x27e>
jmp    1453 <_main+0x283>
jmp    142b <_main+0x25b>
jmp    1458 <_main+0x288>
mov    $0x25f80004,%eax
mov    (%rax),%ax
movzwl %ax,%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     1474 <_main+0x2a4>
jmp    1458 <_main+0x288>
jmp    139c <_main+0x1cc>
mov    $0x0,%al
call   1060 <vdp_shutdown@plt>
mov    -0x30(%rbp),%rdi
mov    -0x40(%rbp),%rsi
mov    -0x38(%rbp),%rdx
call   10c0 <stub_execute@plt>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    0x6006000,%r14
06
mov    0x6006004,%r15
06
mov    0x6006008,%r12
06
mov    0x600600c,%r13
06
xor    %eax,%eax
call   1030 <InitPad@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1090 <vdp_init@plt>
movw   $0x101,0x25f800f0
25 01 01
movw   $0x101,0x25f800f2
25 01 01
movw   $0x101,0x25f800f4
25 01 01
movw   $0x101,0x25f800f6
25 01 01
movw   $0x0,0x25d00000
movw   $0x0,0x25d00002
movw   $0x2,0x25d00004
movw   $0x9ce7,0x25d00006
25 e7 9c
movw   $0x0,0x25d00008
movw   $0x50df,0x25d0000a
25 df 50
xor    %edi,%edi
call   10e0 <vdp1_mesh@plt>
mov    $0x140,%edi
mov    $0xe0,%esi
call   10b0 <vdp1_add_system_clip@plt>
xor    %edi,%edi
xor    %esi,%esi
mov    $0x13f,%edx
mov    $0xdf,%ecx
call   1050 <vdp1_add_user_clip@plt>
xor    %edi,%edi
xor    %esi,%esi
call   10a0 <vdp1_add_local_coords@plt>
mov    $0x25c40000,%edx
mov    %r12,%rdi
mov    %r13,%rsi
call   1080 <decomp_exec@plt>
sub    $0x8,%rsp
xor    %edi,%edi
xor    %esi,%esi
mov    $0x13f,%edx
xor    %ecx,%ecx
mov    $0x13f,%r8d
mov    $0xdf,%r9d
push   $0xe0
push   $0x140
push   $0x8000
push   $0xdf
push   $0x0
call   1070 <vdp1_add_distorted_sprite@plt>
add    $0x28,%rsp
xor    %edi,%edi
xor    %esi,%esi
mov    $0x13f,%edx
xor    %ecx,%ecx
mov    $0x13f,%r8d
mov    $0xdf,%r9d
push   $0xffff
push   $0xdf
push   $0x0
call   10d0 <vdp1_add_polyline@plt>
add    $0x20,%rsp
xor    %eax,%eax
call   1040 <vdp1_add_end@plt>
movw   $0x8000,0x25f80000
movw   $0x0,0x25d00000
movw   $0x1,0x25d00002
movw   $0x50df,0x25d0000a
25 df 50
mov    $0x200000,%edx
mov    %r14,%rdi
mov    %r15,%rsi
call   1080 <decomp_exec@plt>
mov    %rax,%r14
mov    $0x203f800,%r15d
nop
mov    %ebx,%edi
call   10f0 <ReadPad@plt>
movzwl %ax,%ebp
test   $0x100,%ebp
je     1382 <_main+0x1b2>
mov    0x203ffff,%al
and    $0x81,%al
cmp    $0x1,%al
jne    1382 <_main+0x1b2>
call   *%r15
test   $0xe00,%ebp
jne    13ae <_main+0x1de>
nopw   0x0(%rax,%rax,1)
movzwl 0x25f80004,%eax
25
test   $0x8,%al
je     1390 <_main+0x1c0>
nopl   0x0(%rax)
movzwl 0x25f80004,%eax
25
test   $0x8,%al
jne    13a0 <_main+0x1d0>
jmp    1360 <_main+0x190>
xor    %eax,%eax
call   1060 <vdp_shutdown@plt>
mov    $0x200000,%edi
mov    $0x6004000,%edx
mov    %r14,%rsi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    10c0 <stub_execute@plt>

LLVM IR (-O0):
define void @_main() {
%1 = alloca i8*
%2 = alloca i64
%3 = alloca i8*
%4 = alloca i64
%5 = alloca i16*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i64
%9 = alloca i16
%10 = alloca i32
%11 = load i8*, i8** inttoptr (i64 100687872 to i8**)
store i8* %11, i8** %1
%12 = load i64, i64* inttoptr (i64 100687876 to i64*)
store i64 %12, i64* %2
%13 = load i8*, i8** inttoptr (i64 100687880 to i8**)
store i8* %13, i8** %3
%14 = load i64, i64* inttoptr (i64 100687884 to i64*)
store i64 %14, i64* %4
store i16* inttoptr (i64 633602048 to i16*), i16** %5
store i8* inttoptr (i64 2097152 to i8*), i8** %6
store i8* inttoptr (i64 100679680 to i8*), i8** %7
%15 = call i32 (...) @InitPad()
store i32 %15, i32* %10
%16 = call i32 (...) @vdp_init()
store volatile i16 257, i16* inttoptr (i64 637010160 to i16*)
store volatile i16 257, i16* inttoptr (i64 637010162 to i16*)
store volatile i16 257, i16* inttoptr (i64 637010164 to i16*)
store volatile i16 257, i16* inttoptr (i64 637010166 to i16*)
store volatile i16 0, i16* inttoptr (i64 634388480 to i16*)
store volatile i16 0, i16* inttoptr (i64 634388482 to i16*)
store volatile i16 2, i16* inttoptr (i64 634388484 to i16*)
store volatile i16 -25369, i16* inttoptr (i64 634388486 to i16*)
store volatile i16 0, i16* inttoptr (i64 634388488 to i16*)
store volatile i16 20703, i16* inttoptr (i64 634388490 to i16*)
%17 = call i32 @vdp1_mesh(i32 0)
%18 = call i32 @vdp1_add_system_clip(i32 320, i32 224)
%19 = call i32 @vdp1_add_user_clip(i32 0, i32 0, i32 319, i32 223)
%20 = call i32 @vdp1_add_local_coords(i32 0, i32 0)
%21 = load i8*, i8** %3
%22 = load i64, i64* %4
%23 = load i16*, i16** %5
%24 = bitcast i16* %23 to i8*
%25 = call i64 @decomp_exec(i8* %21, i64 %22, i8* %24)
%26 = load i16*, i16** %5
%27 = ptrtoint i16* %26 to i64
%28 = and i64 %27, 1048575
%29 = lshr i64 %28, 3
%30 = call i32 @vdp1_add_distorted_sprite(i32 0, i32 0, i32 319, i32 0, i32 319, i32 223, i32 0, i32 223, i64 %29, i32 320, i32 224)
%31 = call i32 @vdp1_add_polyline(i32 0, i32 0, i32 319, i32 0, i32 319, i32 223, i32 0, i32 223, i32 65535)
%32 = call i32 (...) @vdp1_add_end()
store volatile i16 -32768, i16* inttoptr (i64 637009920 to i16*)
store volatile i16 0, i16* inttoptr (i64 634388480 to i16*)
store volatile i16 1, i16* inttoptr (i64 634388482 to i16*)
store volatile i16 20703, i16* inttoptr (i64 634388490 to i16*)
%33 = load i8*, i8** %1
%34 = load i64, i64* %2
%35 = load i8*, i8** %6
%36 = call i64 @decomp_exec(i8* %33, i64 %34, i8* %35)
store i64 %36, i64* %8
br label %37
37: ; preds = %0, %87
%38 = load i32, i32* %10
%39 = call zeroext i16 @ReadPad(i32 %38)
store i16 %39, i16* %9
%40 = load i16, i16* %9
%41 = zext i16 %40 to i32
%42 = and i32 %41, 256
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %54
44: ; preds = %37
%45 = load i8, i8* inttoptr (i64 33816575 to i8*)
%46 = zext i8 %45 to i32
%47 = and i32 %46, 129
%48 = icmp eq i32 %47, 1
br i1 %48, label %49, label %51
49: ; preds = %44
%50 = call i32 inttoptr (i64 33814528 to i32 ()*)()
br label %52
51: ; preds = %44
br label %52
52: ; preds = %51, %49
%53 = phi i32 [ %50, %49 ], [ -1, %51 ]
br label %54
54: ; preds = %52, %37
%55 = load i16, i16* %9
%56 = zext i16 %55 to i32
%57 = and i32 %56, 2048
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %60
59: ; preds = %54
br label %88
60: ; preds = %54
%61 = load i16, i16* %9
%62 = zext i16 %61 to i32
%63 = and i32 %62, 1024
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %60
br label %88
66: ; preds = %60
%67 = load i16, i16* %9
%68 = zext i16 %67 to i32
%69 = and i32 %68, 512
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %72
71: ; preds = %66
br label %88
72: ; preds = %66
br label %73
73: ; preds = %79, %72
%74 = load volatile i16, i16* inttoptr (i64 637009924 to i16*)
%75 = zext i16 %74 to i32
%76 = and i32 %75, 8
%77 = icmp ne i32 %76, 0
%78 = xor i1 %77, true
br i1 %78, label %79, label %80
79: ; preds = %73
br label %73
80: ; preds = %73
br label %81
81: ; preds = %86, %80
%82 = load volatile i16, i16* inttoptr (i64 637009924 to i16*)
%83 = zext i16 %82 to i32
%84 = and i32 %83, 8
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %87
86: ; preds = %81
br label %81
87: ; preds = %81
br label %37
88: ; preds = %71, %65, %59
%89 = call i32 (...) @vdp_shutdown()
%90 = load i8*, i8** %6
%91 = load i64, i64* %8
%92 = load i8*, i8** %7
%93 = call i32 @stub_execute(i8* %90, i64 %91, i8* %92)
ret void
}

LLVM IR (-O2):
define void @_main() {
%1 = load i8*, i8** inttoptr (i64 100687872 to i8**)
%2 = load i64, i64* inttoptr (i64 100687876 to i64*)
%3 = load i8*, i8** inttoptr (i64 100687880 to i8**)
%4 = load i64, i64* inttoptr (i64 100687884 to i64*)
%5 = tail call i32 (...) @InitPad()
%6 = tail call i32 (...) @vdp_init()
store volatile i16 257, i16* inttoptr (i64 637010160 to i16*)
store volatile i16 257, i16* inttoptr (i64 637010162 to i16*)
store volatile i16 257, i16* inttoptr (i64 637010164 to i16*)
store volatile i16 257, i16* inttoptr (i64 637010166 to i16*)
store volatile i16 0, i16* inttoptr (i64 634388480 to i16*)
store volatile i16 0, i16* inttoptr (i64 634388482 to i16*)
store volatile i16 2, i16* inttoptr (i64 634388484 to i16*)
store volatile i16 -25369, i16* inttoptr (i64 634388486 to i16*)
store volatile i16 0, i16* inttoptr (i64 634388488 to i16*)
store volatile i16 20703, i16* inttoptr (i64 634388490 to i16*)
%7 = tail call i32 @vdp1_mesh(i32 0)
%8 = tail call i32 @vdp1_add_system_clip(i32 320, i32 224)
%9 = tail call i32 @vdp1_add_user_clip(i32 0, i32 0, i32 319, i32 223)
%10 = tail call i32 @vdp1_add_local_coords(i32 0, i32 0)
%11 = tail call i64 @decomp_exec(i8* %3, i64 %4, i8* inttoptr (i64 633602048 to i8*))
%12 = tail call i32 @vdp1_add_distorted_sprite(i32 0, i32 0, i32 319, i32 0, i32 319, i32 223, i32 0, i32 223, i64 32768, i32 320, i32 224)
%13 = tail call i32 @vdp1_add_polyline(i32 0, i32 0, i32 319, i32 0, i32 319, i32 223, i32 0, i32 223, i32 65535)
%14 = tail call i32 (...) @vdp1_add_end()
store volatile i16 -32768, i16* inttoptr (i64 637009920 to i16*)
store volatile i16 0, i16* inttoptr (i64 634388480 to i16*)
store volatile i16 1, i16* inttoptr (i64 634388482 to i16*)
store volatile i16 20703, i16* inttoptr (i64 634388490 to i16*)
%15 = tail call i64 @decomp_exec(i8* %1, i64 %2, i8* inttoptr (i64 2097152 to i8*))
br label %16
16: ; preds = %34, %0
%17 = tail call zeroext i16 @ReadPad(i32 %5)
%18 = zext i16 %17 to i32
%19 = and i32 %18, 256
%20 = icmp eq i32 %19, 0
br i1 %20, label %27, label %21
21: ; preds = %16
%22 = load i8, i8* inttoptr (i64 33816575 to i8*)
%23 = and i8 %22, -127
%24 = icmp eq i8 %23, 1
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = tail call i32 inttoptr (i64 33814528 to i32 ()*)()
br label %27
27: ; preds = %25, %21, %16
%28 = and i32 %18, 3584
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %38
30: ; preds = %27, %30
%31 = load volatile i16, i16* inttoptr (i64 637009924 to i16*)
%32 = and i16 %31, 8
%33 = icmp eq i16 %32, 0
br i1 %33, label %30, label %34
34: ; preds = %30, %34
%35 = load volatile i16, i16* inttoptr (i64 637009924 to i16*)
%36 = and i16 %35, 8
%37 = icmp eq i16 %36, 0
br i1 %37, label %16, label %34
38: ; preds = %27
%39 = tail call i32 (...) @vdp_shutdown()
%40 = tail call i32 @stub_execute(i8* inttoptr (i64 2097152 to i8*), i64 %15, i8* inttoptr (i64 100679680 to i8*))
ret void
}