#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*/ Inst_Printf(char *, char *, ...);
int /*<<< orphan*/ sprintf(char *, char *, char *);
int Call_C_Arg_Foreign_D(int offset, int adr_of, int index) {
  char dest[8];
  if (adr_of) {
    switch (offset) {
    case 0:
      sprintf(dest, "%s", "$16");
      break;
    case 1:
      sprintf(dest, "%s", "$17");
      break;
    case 2:
      sprintf(dest, "%s", "$18");
      break;
    case 3:
      sprintf(dest, "%s", "$19");
      break;
    case 4:
      sprintf(dest, "%s", "$20");
      break;
    case 5:
      sprintf(dest, "%s", "$21");
      break;
    default:
      sprintf(dest, "%s", "$1");
      break;
    }
    Inst_Printf("lda", "%s,pl_foreign_double+%d", dest, index * 8);
    if (offset > 5) {
      Inst_Printf("stq", "%s,%d($30)", dest, (offset - 6) * 8);
    }
    return 1;
  } else {
    switch (offset) {
    case 0:
      sprintf(dest, "%s", "$f16");
      break;
    case 1:
      sprintf(dest, "%s", "$f17");
      break;
    case 2:
      sprintf(dest, "%s", "$f18");
      break;
    case 3:
      sprintf(dest, "%s", "$f19");
      break;
    case 4:
      sprintf(dest, "%s", "$f20");
      break;
    case 5:
      sprintf(dest, "%s", "$f21");
      break;
    default:
      sprintf(dest, "%s", "$f1");
      break;
    }
    Inst_Printf("lda", "$1,pl_foreign_double+%d", index * 8);
    Inst_Printf("ldt", "%s,0($1)", dest);
    if (offset > 5) {
      Inst_Printf("stt", "%s,%d($30)", dest, (offset - 6) * 8);
    }
    return 1;
  }
}


x86 assembly (clang, -O0):
<Call_C_Arg_Foreign_D>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %edi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
cmpl   $0x0,-0xc(%rbp)
je     1276 <Call_C_Arg_Foreign_D+0x156>
mov    -0x8(%rbp),%eax
mov    %rax,-0x20(%rbp)
sub    $0x5,%rax
ja     1208 <Call_C_Arg_Foreign_D+0xe8>
mov    -0x20(%rbp),%rax
lea    0xec1(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    -0x18(%rbp),%rdi
lea    0xec5(%rip),%rsi
lea    0xec1(%rip),%rdx
call   1040 <sprintf@plt>
jmp    121f <Call_C_Arg_Foreign_D+0xff>
lea    -0x18(%rbp),%rdi
lea    0xea9(%rip),%rsi
lea    0xea9(%rip),%rdx
call   1040 <sprintf@plt>
jmp    121f <Call_C_Arg_Foreign_D+0xff>
lea    -0x18(%rbp),%rdi
lea    0xe8d(%rip),%rsi
lea    0xe91(%rip),%rdx
call   1040 <sprintf@plt>
jmp    121f <Call_C_Arg_Foreign_D+0xff>
lea    -0x18(%rbp),%rdi
lea    0xe71(%rip),%rsi
lea    0xe79(%rip),%rdx
call   1040 <sprintf@plt>
jmp    121f <Call_C_Arg_Foreign_D+0xff>
lea    -0x18(%rbp),%rdi
lea    0xe55(%rip),%rsi
lea    0xe61(%rip),%rdx
call   1040 <sprintf@plt>
jmp    121f <Call_C_Arg_Foreign_D+0xff>
lea    -0x18(%rbp),%rdi
lea    0xe39(%rip),%rsi
lea    0xe49(%rip),%rdx
call   1040 <sprintf@plt>
jmp    121f <Call_C_Arg_Foreign_D+0xff>
lea    -0x18(%rbp),%rdi
lea    0xe1d(%rip),%rsi
lea    0xe31(%rip),%rdx
call   1040 <sprintf@plt>
lea    -0x18(%rbp),%rdx
mov    -0x10(%rbp),%ecx
shl    $0x3,%ecx
lea    0xe1e(%rip),%rdi
lea    0xe1b(%rip),%rsi
mov    $0x0,%al
call   1030 <Inst_Printf@plt>
cmpl   $0x5,-0x8(%rbp)
jle    126a <Call_C_Arg_Foreign_D+0x14a>
lea    -0x18(%rbp),%rdx
mov    -0x8(%rbp),%ecx
sub    $0x6,%ecx
shl    $0x3,%ecx
lea    0xe0e(%rip),%rdi
lea    0xe0b(%rip),%rsi
mov    $0x0,%al
call   1030 <Inst_Printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    13c1 <Call_C_Arg_Foreign_D+0x2a1>
mov    -0x8(%rbp),%eax
mov    %rax,-0x28(%rbp)
sub    $0x5,%rax
ja     1343 <Call_C_Arg_Foreign_D+0x223>
mov    -0x28(%rbp),%rax
lea    0xd6e(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    -0x18(%rbp),%rdi
lea    0xd8a(%rip),%rsi
lea    0xdcc(%rip),%rdx
call   1040 <sprintf@plt>
jmp    135a <Call_C_Arg_Foreign_D+0x23a>
lea    -0x18(%rbp),%rdi
lea    0xd6e(%rip),%rsi
lea    0xdb5(%rip),%rdx
call   1040 <sprintf@plt>
jmp    135a <Call_C_Arg_Foreign_D+0x23a>
lea    -0x18(%rbp),%rdi
lea    0xd52(%rip),%rsi
lea    0xd9e(%rip),%rdx
call   1040 <sprintf@plt>
jmp    135a <Call_C_Arg_Foreign_D+0x23a>
lea    -0x18(%rbp),%rdi
lea    0xd36(%rip),%rsi
lea    0xd87(%rip),%rdx
call   1040 <sprintf@plt>
jmp    135a <Call_C_Arg_Foreign_D+0x23a>
lea    -0x18(%rbp),%rdi
lea    0xd1a(%rip),%rsi
lea    0xd70(%rip),%rdx
call   1040 <sprintf@plt>
jmp    135a <Call_C_Arg_Foreign_D+0x23a>
lea    -0x18(%rbp),%rdi
lea    0xcfe(%rip),%rsi
lea    0xd59(%rip),%rdx
call   1040 <sprintf@plt>
jmp    135a <Call_C_Arg_Foreign_D+0x23a>
lea    -0x18(%rbp),%rdi
lea    0xce2(%rip),%rsi
lea    0xd42(%rip),%rdx
call   1040 <sprintf@plt>
mov    -0x10(%rbp),%edx
shl    $0x3,%edx
lea    0xce7(%rip),%rdi
lea    0xd2d(%rip),%rsi
mov    $0x0,%al
call   1030 <Inst_Printf@plt>
lea    -0x18(%rbp),%rdx
lea    0xd33(%rip),%rdi
lea    0xd30(%rip),%rsi
mov    $0x0,%al
call   1030 <Inst_Printf@plt>
cmpl   $0x5,-0x8(%rbp)
jle    13ba <Call_C_Arg_Foreign_D+0x29a>
lea    -0x18(%rbp),%rdx
mov    -0x8(%rbp),%ecx
sub    $0x6,%ecx
shl    $0x3,%ecx
lea    0xd14(%rip),%rdi
lea    0xcbb(%rip),%rsi
mov    $0x0,%al
call   1030 <Inst_Printf@plt>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Call_C_Arg_Foreign_D>:
push   %rbx
sub    $0x10,%rsp
mov    %edx,%ecx
mov    %edi,%ebx
test   %esi,%esi
je     1142 <Call_C_Arg_Foreign_D+0x32>
cmp    $0x5,%ebx
ja     11b5 <Call_C_Arg_Foreign_D+0xa5>
mov    %ebx,%eax
lea    0xed1(%rip),%rdx
movslq (%rdx,%rax,4),%rax
add    %rdx,%rax
jmp    *%rax
movl   $0x363124,0x8(%rsp)
jmp    119f <Call_C_Arg_Foreign_D+0x8f>
cmp    $0x5,%ebx
ja     11fa <Call_C_Arg_Foreign_D+0xea>
mov    %ebx,%eax
lea    0xec4(%rip),%rdx
movslq (%rdx,%rax,4),%rax
add    %rdx,%rax
jmp    *%rax
movb   $0x0,0xc(%rsp)
movl   $0x36316624,0x8(%rsp)
36
jmp    124d <Call_C_Arg_Foreign_D+0x13d>
movl   $0x373124,0x8(%rsp)
jmp    119f <Call_C_Arg_Foreign_D+0x8f>
movl   $0x383124,0x8(%rsp)
jmp    119f <Call_C_Arg_Foreign_D+0x8f>
movl   $0x393124,0x8(%rsp)
jmp    119f <Call_C_Arg_Foreign_D+0x8f>
movl   $0x303224,0x8(%rsp)
jmp    119f <Call_C_Arg_Foreign_D+0x8f>
movl   $0x313224,0x8(%rsp)
shl    $0x3,%ecx
lea    0xe8a(%rip),%rdi
lea    0xe87(%rip),%rsi
jmp    129b <Call_C_Arg_Foreign_D+0x18b>
movb   $0x0,0xa(%rsp)
movw   $0x3124,0x8(%rsp)
shl    $0x3,%ecx
lea    0xe68(%rip),%rdi
lea    0xe65(%rip),%rsi
lea    0x8(%rsp),%rdx
xor    %eax,%eax
call   1030 <Inst_Printf@plt>
cmp    $0x6,%ebx
jl     12a7 <Call_C_Arg_Foreign_D+0x197>
lea    -0x30(,%rbx,8),%ecx
lea    0xe5a(%rip),%rdi
jmp    1294 <Call_C_Arg_Foreign_D+0x184>
movl   $0x316624,0x8(%rsp)
jmp    124d <Call_C_Arg_Foreign_D+0x13d>
movb   $0x0,0xc(%rsp)
movl   $0x37316624,0x8(%rsp)
37
jmp    124d <Call_C_Arg_Foreign_D+0x13d>
movb   $0x0,0xc(%rsp)
movl   $0x38316624,0x8(%rsp)
38
jmp    124d <Call_C_Arg_Foreign_D+0x13d>
movb   $0x0,0xc(%rsp)
movl   $0x39316624,0x8(%rsp)
39
jmp    124d <Call_C_Arg_Foreign_D+0x13d>
movb   $0x0,0xc(%rsp)
movl   $0x30326624,0x8(%rsp)
30
jmp    124d <Call_C_Arg_Foreign_D+0x13d>
movb   $0x0,0xc(%rsp)
movl   $0x31326624,0x8(%rsp)
31
shl    $0x3,%ecx
lea    0xddc(%rip),%rdi
lea    0xe1e(%rip),%rsi
mov    %ecx,%edx
xor    %eax,%eax
call   1030 <Inst_Printf@plt>
lea    0xe26(%rip),%rdi
lea    0xe23(%rip),%rsi
lea    0x8(%rsp),%rdx
xor    %eax,%eax
call   1030 <Inst_Printf@plt>
cmp    $0x6,%ebx
jl     12a7 <Call_C_Arg_Foreign_D+0x197>
lea    -0x30(,%rbx,8),%ecx
lea    0xe0d(%rip),%rdi
lea    0xdb8(%rip),%rsi
lea    0x8(%rsp),%rdx
xor    %eax,%eax
call   1030 <Inst_Printf@plt>
mov    $0x1,%eax
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%s\00"
@.str.1 = [4 x i8] c"$16\00"
@.str.2 = [4 x i8] c"$17\00"
@.str.3 = [4 x i8] c"$18\00"
@.str.4 = [4 x i8] c"$19\00"
@.str.5 = [4 x i8] c"$20\00"
@.str.6 = [4 x i8] c"$21\00"
@.str.7 = [3 x i8] c"$1\00"
@.str.8 = [4 x i8] c"lda\00"
@.str.9 = [24 x i8] c"%s,pl_foreign_double+%d\00"
@.str.10 = [4 x i8] c"stq\00"
@.str.11 = [11 x i8] c"%s,%d($30)\00"
@.str.12 = [5 x i8] c"$f16\00"
@.str.13 = [5 x i8] c"$f17\00"
@.str.14 = [5 x i8] c"$f18\00"
@.str.15 = [5 x i8] c"$f19\00"
@.str.16 = [5 x i8] c"$f20\00"
@.str.17 = [5 x i8] c"$f21\00"
@.str.18 = [4 x i8] c"$f1\00"
@.str.19 = [24 x i8] c"$1,pl_foreign_double+%d\00"
@.str.20 = [4 x i8] c"ldt\00"
@.str.21 = [9 x i8] c"%s,0($1)\00"
@.str.22 = [4 x i8] c"stt\00"
define i32 @Call_C_Arg_Foreign_D(i32 %0, i32 %1, i32 %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca [8 x i8]
store i32 %0, i32* %5
store i32 %1, i32* %6
store i32 %2, i32* %7
%9 = load i32, i32* %6
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %48
11: ; preds = %3
%12 = load i32, i32* %5
switch i32 %12, label %31 [
i32 0, label %13
i32 1, label %16
i32 2, label %19
i32 3, label %22
i32 4, label %25
i32 5, label %28
]
13: ; preds = %11
%14 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%15 = call i32 @sprintf(i8* %14, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
br label %34
16: ; preds = %11
%17 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%18 = call i32 @sprintf(i8* %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %34
19: ; preds = %11
%20 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%21 = call i32 @sprintf(i8* %20, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
br label %34
22: ; preds = %11
%23 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%24 = call i32 @sprintf(i8* %23, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
br label %34
25: ; preds = %11
%26 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%27 = call i32 @sprintf(i8* %26, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
br label %34
28: ; preds = %11
%29 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%30 = call i32 @sprintf(i8* %29, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
br label %34
31: ; preds = %11
%32 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%33 = call i32 @sprintf(i8* %32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
br label %34
34: ; preds = %31, %28, %25, %22, %19, %16, %13
%35 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%36 = load i32, i32* %7
%37 = mul nsw i32 %36, 8
%38 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0), i8* %35, i32 %37)
%39 = load i32, i32* %5
%40 = icmp sgt i32 %39, 5
br i1 %40, label %41, label %47
41: ; preds = %34
%42 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%43 = load i32, i32* %5
%44 = sub nsw i32 %43, 6
%45 = mul nsw i32 %44, 8
%46 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i8* %42, i32 %45)
br label %47
47: ; preds = %41, %34
store i32 1, i32* %4
br label %86
48: ; preds = %3
%49 = load i32, i32* %5
switch i32 %49, label %68 [
i32 0, label %50
i32 1, label %53
i32 2, label %56
i32 3, label %59
i32 4, label %62
i32 5, label %65
]
50: ; preds = %48
%51 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%52 = call i32 @sprintf(i8* %51, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
br label %71
53: ; preds = %48
%54 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%55 = call i32 @sprintf(i8* %54, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
br label %71
56: ; preds = %48
%57 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%58 = call i32 @sprintf(i8* %57, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
br label %71
59: ; preds = %48
%60 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%61 = call i32 @sprintf(i8* %60, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
br label %71
62: ; preds = %48
%63 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%64 = call i32 @sprintf(i8* %63, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
br label %71
65: ; preds = %48
%66 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%67 = call i32 @sprintf(i8* %66, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0))
br label %71
68: ; preds = %48
%69 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%70 = call i32 @sprintf(i8* %69, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0))
br label %71
71: ; preds = %68, %65, %62, %59, %56, %53, %50
%72 = load i32, i32* %7
%73 = mul nsw i32 %72, 8
%74 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.19, i64 0, i64 0), i32 %73)
%75 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%76 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0), i8* %75)
%77 = load i32, i32* %5
%78 = icmp sgt i32 %77, 5
br i1 %78, label %79, label %85
79: ; preds = %71
%80 = getelementptr inbounds [8 x i8], [8 x i8]* %8, i64 0, i64 0
%81 = load i32, i32* %5
%82 = sub nsw i32 %81, 6
%83 = mul nsw i32 %82, 8
%84 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i8* %80, i32 %83)
br label %85
85: ; preds = %79, %71
store i32 1, i32* %4
br label %86
86: ; preds = %85, %47
%87 = load i32, i32* %4
ret i32 %87
}

LLVM IR (-O2):
@.str.7 = [3 x i8] c"$1\00"
@.str.8 = [4 x i8] c"lda\00"
@.str.9 = [24 x i8] c"%s,pl_foreign_double+%d\00"
@.str.10 = [4 x i8] c"stq\00"
@.str.11 = [11 x i8] c"%s,%d($30)\00"
@.str.12 = [5 x i8] c"$f16\00"
@.str.13 = [5 x i8] c"$f17\00"
@.str.14 = [5 x i8] c"$f18\00"
@.str.15 = [5 x i8] c"$f19\00"
@.str.16 = [5 x i8] c"$f20\00"
@.str.17 = [5 x i8] c"$f21\00"
@.str.19 = [24 x i8] c"$1,pl_foreign_double+%d\00"
@.str.20 = [4 x i8] c"ldt\00"
@.str.21 = [9 x i8] c"%s,0($1)\00"
@.str.22 = [4 x i8] c"stt\00"
define i32 @Call_C_Arg_Foreign_D(i32 %0, i32 %1, i32 %2) {
%4 = alloca [8 x i8]
%5 = getelementptr inbounds [8 x i8], [8 x i8]* %4, i64 0, i64 0
%6 = icmp eq i32 %1, 0
br i1 %6, label %31, label %7
7: ; preds = %3
switch i32 %0, label %23 [
i32 0, label %8
i32 1, label %10
i32 2, label %12
i32 3, label %14
i32 4, label %16
i32 5, label %18
]
8: ; preds = %7
%9 = bitcast [8 x i8]* %4 to i32*
store i32 3551524, i32* %9
br label %20
10: ; preds = %7
%11 = bitcast [8 x i8]* %4 to i32*
store i32 3617060, i32* %11
br label %20
12: ; preds = %7
%13 = bitcast [8 x i8]* %4 to i32*
store i32 3682596, i32* %13
br label %20
14: ; preds = %7
%15 = bitcast [8 x i8]* %4 to i32*
store i32 3748132, i32* %15
br label %20
16: ; preds = %7
%17 = bitcast [8 x i8]* %4 to i32*
store i32 3158564, i32* %17
br label %20
18: ; preds = %7
%19 = bitcast [8 x i8]* %4 to i32*
store i32 3224100, i32* %19
br label %20
20: ; preds = %18, %16, %14, %12, %10, %8
%21 = shl nsw i32 %2, 3
%22 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0), i8* %5, i32 %21)
br label %49
23: ; preds = %7
%24 = shl nsw i32 %2, 3
%25 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0), i8* %5, i32 %24)
%26 = icmp sgt i32 %0, 5
br i1 %26, label %27, label %49
27: ; preds = %23
%28 = shl i32 %0, 3
%29 = add i32 %28, -48
%30 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i8* %5, i32 %29)
br label %49
31: ; preds = %3
switch i32 %0, label %38 [
i32 0, label %32
i32 1, label %33
i32 2, label %34
i32 3, label %35
i32 4, label %36
i32 5, label %37
]
32: ; preds = %31
br label %40
33: ; preds = %31
br label %40
34: ; preds = %31
br label %40
35: ; preds = %31
br label %40
36: ; preds = %31
br label %40
37: ; preds = %31
br label %40
38: ; preds = %31
%39 = bitcast [8 x i8]* %4 to i32*
store i32 3237412, i32* %39
br label %40
40: ; preds = %38, %37, %36, %35, %34, %33, %32
%41 = shl nsw i32 %2, 3
%42 = tail call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.19, i64 0, i64 0), i32 %41)
%43 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0), i8* %5)
%44 = icmp sgt i32 %0, 5
br i1 %44, label %45, label %49
45: ; preds = %40
%46 = shl i32 %0, 3
%47 = add i32 %46, -48
%48 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i8* %5, i32 %47)
br label %49
49: ; preds = %20, %40, %45, %23, %27
ret i32 1
}