#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*/ fprintf(int /*<<< orphan*/, char *, unsigned char, ...);
int /*<<< orphan*/ memcpy(char *, unsigned char *, int);
int /*<<< orphan*/ memset(char *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strcmp(char *, char *);
void decode_rdac_vpd_c4(unsigned char *buff, int len) {
  char subsystem_id[17];
  char subsystem_rev[5];
  char slot_id[3];
  if (len < 0x1c) {
    fprintf(stderr,
            "Subsystem identifier VPD page length too "
            "short=%d\n",
            len);
    return;
  }
  if (buff[4] != 's' && buff[5] != 'u' && buff[6] != 'b') {
    fprintf(stderr,
            "Invalid page identifier %c%c%c%c, decoding "
            "not possible.\n",
            buff[4], buff[5], buff[6], buff[7]);
    return;
  }
  memset(subsystem_id, 0, 17);
  memcpy(subsystem_id, &buff[8], 16);
  memset(subsystem_rev, 0, 5);
  memcpy(subsystem_rev, &buff[24], 4);
  slot_id[0] = buff[28];
  slot_id[1] = buff[29];
  slot_id[2] = 0;
  printf("  Subsystem ID: %s\n  Subsystem Revision: %s", subsystem_id,
         subsystem_rev);
  if (!strcmp(subsystem_rev, "10.0"))
    printf(" (Board ID 4884)\n");
  else if (!strcmp(subsystem_rev, "12.0"))
    printf(" (Board ID 5884)\n");
  else if (!strcmp(subsystem_rev, "13.0"))
    printf(" (Board ID 2882)\n");
  else if (!strcmp(subsystem_rev, "13.1"))
    printf(" (Board ID 2880)\n");
  else if (!strcmp(subsystem_rev, "14.0"))
    printf(" (Board ID 2822)\n");
  else
    printf(" {Board ID unknown)\n");
  printf("  Slot ID: %s\n", slot_id);
  return;
}


x86 assembly (clang, -O0):
<decode_rdac_vpd_c4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
cmpl   $0x1c,-0xc(%rbp)
jge    118b <decode_rdac_vpd_c4+0x3b>
mov    0x2e70(%rip),%rax
mov    (%rax),%edi
mov    -0xc(%rbp),%eax
lea    0xe84(%rip),%rsi
movzbl %al,%edx
mov    $0x0,%al
call   1060 <fprintf@plt>
jmp    1388 <decode_rdac_vpd_c4+0x238>
mov    -0x8(%rbp),%rax
movzbl 0x4(%rax),%eax
cmp    $0x73,%eax
je     11fe <decode_rdac_vpd_c4+0xae>
mov    -0x8(%rbp),%rax
movzbl 0x5(%rax),%eax
cmp    $0x75,%eax
je     11fe <decode_rdac_vpd_c4+0xae>
mov    -0x8(%rbp),%rax
movzbl 0x6(%rax),%eax
cmp    $0x62,%eax
je     11fe <decode_rdac_vpd_c4+0xae>
mov    0x2e1b(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%al
mov    -0x8(%rbp),%rcx
movzbl 0x5(%rcx),%ecx
mov    -0x8(%rbp),%rdx
movzbl 0x6(%rdx),%r8d
mov    -0x8(%rbp),%rdx
movzbl 0x7(%rdx),%r9d
lea    0xe44(%rip),%rsi
movzbl %al,%edx
mov    $0x0,%al
call   1060 <fprintf@plt>
jmp    1388 <decode_rdac_vpd_c4+0x238>
lea    -0x20(%rbp),%rdi
xor    %esi,%esi
mov    $0x11,%edx
call   1040 <memset@plt>
lea    -0x20(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x8,%rsi
mov    $0x10,%edx
call   1070 <memcpy@plt>
lea    -0x25(%rbp),%rdi
xor    %esi,%esi
mov    $0x5,%edx
call   1040 <memset@plt>
lea    -0x25(%rbp),%rdi
mov    -0x8(%rbp),%rsi
add    $0x18,%rsi
mov    $0x4,%edx
call   1070 <memcpy@plt>
mov    -0x8(%rbp),%rax
mov    0x1c(%rax),%al
mov    %al,-0x28(%rbp)
mov    -0x8(%rbp),%rax
mov    0x1d(%rax),%al
mov    %al,-0x27(%rbp)
movb   $0x0,-0x26(%rbp)
lea    -0x20(%rbp),%rsi
lea    -0x25(%rbp),%rdx
lea    0xdfc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x25(%rbp),%rdi
lea    0xe16(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    12a4 <decode_rdac_vpd_c4+0x154>
lea    0xe06(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1376 <decode_rdac_vpd_c4+0x226>
lea    -0x25(%rbp),%rdi
lea    0xe01(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    12d0 <decode_rdac_vpd_c4+0x180>
lea    0xdf1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1371 <decode_rdac_vpd_c4+0x221>
lea    -0x25(%rbp),%rdi
lea    0xdec(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    12fc <decode_rdac_vpd_c4+0x1ac>
lea    0xddc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    136c <decode_rdac_vpd_c4+0x21c>
lea    -0x25(%rbp),%rdi
lea    0xdd7(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1328 <decode_rdac_vpd_c4+0x1d8>
lea    0xdc7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1367 <decode_rdac_vpd_c4+0x217>
lea    -0x25(%rbp),%rdi
lea    0xdc2(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1354 <decode_rdac_vpd_c4+0x204>
lea    0xdb2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1362 <decode_rdac_vpd_c4+0x212>
lea    0xdb1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1367 <decode_rdac_vpd_c4+0x217>
jmp    136c <decode_rdac_vpd_c4+0x21c>
jmp    1371 <decode_rdac_vpd_c4+0x221>
jmp    1376 <decode_rdac_vpd_c4+0x226>
lea    -0x28(%rbp),%rsi
lea    0xda0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<decode_rdac_vpd_c4>:
push   %r15
push   %r14
push   %rbx
sub    $0x30,%rsp
cmp    $0x1b,%esi
jg     1182 <decode_rdac_vpd_c4+0x32>
mov    0x2e7b(%rip),%rax
mov    (%rax),%edi
movzbl %sil,%edx
lea    0xe8e(%rip),%rsi
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbx
pop    %r14
pop    %r15
jmp    1060 <fprintf@plt>
mov    %rdi,%rbx
mov    0x4(%rdi),%al
cmp    $0x73,%al
je     11a4 <decode_rdac_vpd_c4+0x54>
movzbl 0x5(%rbx),%ecx
cmp    $0x75,%ecx
je     11a4 <decode_rdac_vpd_c4+0x54>
movzbl 0x6(%rbx),%r8d
cmp    $0x62,%r8d
jne    1293 <decode_rdac_vpd_c4+0x143>
lea    0x10(%rsp),%r14
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x11,%edx
call   1050 <memset@plt>
lea    0x8(%rbx),%rsi
mov    %r14,%rdi
mov    $0x10,%edx
call   1070 <memcpy@plt>
lea    0x8(%rsp),%r15
mov    %r15,%rdi
xor    %esi,%esi
mov    $0x5,%edx
call   1050 <memset@plt>
lea    0x18(%rbx),%rsi
mov    %r15,%rdi
mov    $0x4,%edx
call   1070 <memcpy@plt>
mov    0x1c(%rbx),%al
mov    %al,0xd(%rsp)
mov    0x1d(%rbx),%al
mov    %al,0xe(%rsp)
movb   $0x0,0xf(%rsp)
lea    0xe65(%rip),%rdi
mov    %r14,%rsi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x302e3031,%eax
xor    0x8(%rsp),%eax
movzbl 0xc(%rsp),%ecx
or     %eax,%ecx
je     1281 <decode_rdac_vpd_c4+0x131>
mov    $0x302e3231,%eax
xor    0x8(%rsp),%eax
movzbl 0xc(%rsp),%ecx
or     %eax,%ecx
je     128a <decode_rdac_vpd_c4+0x13a>
mov    $0x302e3331,%eax
xor    0x8(%rsp),%eax
movzbl 0xc(%rsp),%ecx
or     %eax,%ecx
je     12bb <decode_rdac_vpd_c4+0x16b>
mov    $0x312e3331,%eax
xor    0x8(%rsp),%eax
movzbl 0xc(%rsp),%ecx
or     %eax,%ecx
je     12c4 <decode_rdac_vpd_c4+0x174>
mov    $0x302e3431,%eax
xor    0x8(%rsp),%eax
movzbl 0xc(%rsp),%ecx
or     %eax,%ecx
lea    0xe91(%rip),%rax
lea    0xe9b(%rip),%rdi
cmove  %rax,%rdi
jmp    12cb <decode_rdac_vpd_c4+0x17b>
lea    0xe39(%rip),%rdi
jmp    12cb <decode_rdac_vpd_c4+0x17b>
lea    0xe41(%rip),%rdi
jmp    12cb <decode_rdac_vpd_c4+0x17b>
mov    0x2d46(%rip),%rdx
mov    (%rdx),%edi
movzbl 0x7(%rbx),%r9d
movzbl %al,%edx
lea    0xd88(%rip),%rsi
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbx
pop    %r14
pop    %r15
jmp    1060 <fprintf@plt>
lea    0xe21(%rip),%rdi
jmp    12cb <decode_rdac_vpd_c4+0x17b>
lea    0xe29(%rip),%rdi
call   1030 <puts@plt>
lea    0xddb(%rip),%rdi
lea    0xd(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x30,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [51 x i8] c"Subsystem identifier VPD page length too short=%d\0A\00"
@.str.1 = [58 x i8] c"Invalid page identifier %c%c%c%c, decoding not possible.\0A\00"
@.str.2 = [44 x i8] c" Subsystem ID: %s\0A Subsystem Revision: %s\00"
@.str.3 = [5 x i8] c"10.0\00"
@.str.4 = [18 x i8] c" (Board ID 4884)\0A\00"
@.str.5 = [5 x i8] c"12.0\00"
@.str.6 = [18 x i8] c" (Board ID 5884)\0A\00"
@.str.7 = [5 x i8] c"13.0\00"
@.str.8 = [18 x i8] c" (Board ID 2882)\0A\00"
@.str.9 = [5 x i8] c"13.1\00"
@.str.10 = [18 x i8] c" (Board ID 2880)\0A\00"
@.str.11 = [5 x i8] c"14.0\00"
@.str.12 = [18 x i8] c" (Board ID 2822)\0A\00"
@.str.13 = [21 x i8] c" {Board ID unknown)\0A\00"
@.str.14 = [15 x i8] c" Slot ID: %s\0A\00"
define void @decode_rdac_vpd_c4(i8* %0, i32 %1) {
%3 = alloca i8*
%4 = alloca i32
%5 = alloca [17 x i8]
%6 = alloca [5 x i8]
%7 = alloca [3 x i8]
store i8* %0, i8** %3
store i32 %1, i32* %4
%8 = load i32, i32* %4
%9 = icmp slt i32 %8, 28
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = load i32, i32* @stderr
%12 = load i32, i32* %4
%13 = trunc i32 %12 to i8
%14 = call i32 (i32, i8*, i8, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0), i8 zeroext %13)
br label %114
15: ; preds = %2
%16 = load i8*, i8** %3
%17 = getelementptr inbounds i8, i8* %16, i64 4
%18 = load i8, i8* %17
%19 = zext i8 %18 to i32
%20 = icmp ne i32 %19, 115
br i1 %20, label %21, label %51
21: ; preds = %15
%22 = load i8*, i8** %3
%23 = getelementptr inbounds i8, i8* %22, i64 5
%24 = load i8, i8* %23
%25 = zext i8 %24 to i32
%26 = icmp ne i32 %25, 117
br i1 %26, label %27, label %51
27: ; preds = %21
%28 = load i8*, i8** %3
%29 = getelementptr inbounds i8, i8* %28, i64 6
%30 = load i8, i8* %29
%31 = zext i8 %30 to i32
%32 = icmp ne i32 %31, 98
br i1 %32, label %33, label %51
33: ; preds = %27
%34 = load i32, i32* @stderr
%35 = load i8*, i8** %3
%36 = getelementptr inbounds i8, i8* %35, i64 4
%37 = load i8, i8* %36
%38 = load i8*, i8** %3
%39 = getelementptr inbounds i8, i8* %38, i64 5
%40 = load i8, i8* %39
%41 = zext i8 %40 to i32
%42 = load i8*, i8** %3
%43 = getelementptr inbounds i8, i8* %42, i64 6
%44 = load i8, i8* %43
%45 = zext i8 %44 to i32
%46 = load i8*, i8** %3
%47 = getelementptr inbounds i8, i8* %46, i64 7
%48 = load i8, i8* %47
%49 = zext i8 %48 to i32
%50 = call i32 (i32, i8*, i8, ...) @fprintf(i32 %34, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.1, i64 0, i64 0), i8 zeroext %37, i32 %41, i32 %45, i32 %49)
br label %114
51: ; preds = %27, %21, %15
%52 = getelementptr inbounds [17 x i8], [17 x i8]* %5, i64 0, i64 0
%53 = call i32 @memset(i8* %52, i32 0, i32 17)
%54 = getelementptr inbounds [17 x i8], [17 x i8]* %5, i64 0, i64 0
%55 = load i8*, i8** %3
%56 = getelementptr inbounds i8, i8* %55, i64 8
%57 = call i32 @memcpy(i8* %54, i8* %56, i32 16)
%58 = getelementptr inbounds [5 x i8], [5 x i8]* %6, i64 0, i64 0
%59 = call i32 @memset(i8* %58, i32 0, i32 5)
%60 = getelementptr inbounds [5 x i8], [5 x i8]* %6, i64 0, i64 0
%61 = load i8*, i8** %3
%62 = getelementptr inbounds i8, i8* %61, i64 24
%63 = call i32 @memcpy(i8* %60, i8* %62, i32 4)
%64 = load i8*, i8** %3
%65 = getelementptr inbounds i8, i8* %64, i64 28
%66 = load i8, i8* %65
%67 = getelementptr inbounds [3 x i8], [3 x i8]* %7, i64 0, i64 0
store i8 %66, i8* %67
%68 = load i8*, i8** %3
%69 = getelementptr inbounds i8, i8* %68, i64 29
%70 = load i8, i8* %69
%71 = getelementptr inbounds [3 x i8], [3 x i8]* %7, i64 0, i64 1
store i8 %70, i8* %71
%72 = getelementptr inbounds [3 x i8], [3 x i8]* %7, i64 0, i64 2
store i8 0, i8* %72
%73 = getelementptr inbounds [17 x i8], [17 x i8]* %5, i64 0, i64 0
%74 = getelementptr inbounds [5 x i8], [5 x i8]* %6, i64 0, i64 0
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.2, i64 0, i64 0), i8* %73, i8* %74)
%76 = getelementptr inbounds [5 x i8], [5 x i8]* %6, i64 0, i64 0
%77 = call i32 @strcmp(i8* %76, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%78 = icmp ne i32 %77, 0
br i1 %78, label %81, label %79
79: ; preds = %51
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0))
br label %111
81: ; preds = %51
%82 = getelementptr inbounds [5 x i8], [5 x i8]* %6, i64 0, i64 0
%83 = call i32 @strcmp(i8* %82, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%84 = icmp ne i32 %83, 0
br i1 %84, label %87, label %85
85: ; preds = %81
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0))
br label %110
87: ; preds = %81
%88 = getelementptr inbounds [5 x i8], [5 x i8]* %6, i64 0, i64 0
%89 = call i32 @strcmp(i8* %88, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%90 = icmp ne i32 %89, 0
br i1 %90, label %93, label %91
91: ; preds = %87
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0))
br label %109
93: ; preds = %87
%94 = getelementptr inbounds [5 x i8], [5 x i8]* %6, i64 0, i64 0
%95 = call i32 @strcmp(i8* %94, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%96 = icmp ne i32 %95, 0
br i1 %96, label %99, label %97
97: ; preds = %93
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0))
br label %108
99: ; preds = %93
%100 = getelementptr inbounds [5 x i8], [5 x i8]* %6, i64 0, i64 0
%101 = call i32 @strcmp(i8* %100, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%102 = icmp ne i32 %101, 0
br i1 %102, label %105, label %103
103: ; preds = %99
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0))
br label %107
105: ; preds = %99
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0))
br label %107
107: ; preds = %105, %103
br label %108
108: ; preds = %107, %97
br label %109
109: ; preds = %108, %91
br label %110
110: ; preds = %109, %85
br label %111
111: ; preds = %110, %79
%112 = getelementptr inbounds [3 x i8], [3 x i8]* %7, i64 0, i64 0
%113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0), i8* %112)
br label %114
114: ; preds = %111, %33, %10
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [51 x i8] c"Subsystem identifier VPD page length too short=%d\0A\00"
@.str.1 = [58 x i8] c"Invalid page identifier %c%c%c%c, decoding not possible.\0A\00"
@.str.2 = [44 x i8] c" Subsystem ID: %s\0A Subsystem Revision: %s\00"
@.str.3 = [5 x i8] c"10.0\00"
@.str.5 = [5 x i8] c"12.0\00"
@.str.7 = [5 x i8] c"13.0\00"
@.str.9 = [5 x i8] c"13.1\00"
@.str.11 = [5 x i8] c"14.0\00"
@.str.14 = [15 x i8] c" Slot ID: %s\0A\00"
@str = [17 x i8] c" (Board ID 4884)\00"
@str.15 = [17 x i8] c" (Board ID 5884)\00"
@str.16 = [17 x i8] c" (Board ID 2882)\00"
@str.17 = [17 x i8] c" (Board ID 2880)\00"
@str.18 = [17 x i8] c" (Board ID 2822)\00"
@str.19 = [20 x i8] c" {Board ID unknown)\00"
define void @decode_rdac_vpd_c4(i8* %0, i32 %1) {
%3 = alloca [17 x i8]
%4 = alloca [5 x i8]
%5 = alloca [3 x i8]
%6 = getelementptr inbounds [17 x i8], [17 x i8]* %3, i64 0, i64 0
%7 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 0
%8 = getelementptr inbounds [3 x i8], [3 x i8]* %5, i64 0, i64 0
%9 = icmp slt i32 %1, 28
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load i32, i32* @stderr
%12 = trunc i32 %1 to i8
%13 = tail call i32 (i32, i8*, i8, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0), i8 zeroext %12)
br label %67
14: ; preds = %2
%15 = getelementptr inbounds i8, i8* %0, i64 4
%16 = load i8, i8* %15
%17 = icmp eq i8 %16, 115
br i1 %17, label %34, label %18
18: ; preds = %14
%19 = getelementptr inbounds i8, i8* %0, i64 5
%20 = load i8, i8* %19
%21 = zext i8 %20 to i32
%22 = icmp eq i8 %20, 117
br i1 %22, label %34, label %23
23: ; preds = %18
%24 = getelementptr inbounds i8, i8* %0, i64 6
%25 = load i8, i8* %24
%26 = icmp eq i8 %25, 98
br i1 %26, label %34, label %27
27: ; preds = %23
%28 = zext i8 %25 to i32
%29 = load i32, i32* @stderr
%30 = getelementptr inbounds i8, i8* %0, i64 7
%31 = load i8, i8* %30
%32 = zext i8 %31 to i32
%33 = tail call i32 (i32, i8*, i8, ...) @fprintf(i32 %29, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.1, i64 0, i64 0), i8 zeroext %16, i32 %21, i32 %28, i32 %32)
br label %67
34: ; preds = %23, %18, %14
%35 = call i32 @memset(i8* %6, i32 0, i32 17)
%36 = getelementptr inbounds i8, i8* %0, i64 8
%37 = call i32 @memcpy(i8* %6, i8* %36, i32 16)
%38 = call i32 @memset(i8* %7, i32 0, i32 5)
%39 = getelementptr inbounds i8, i8* %0, i64 24
%40 = call i32 @memcpy(i8* %7, i8* %39, i32 4)
%41 = getelementptr inbounds i8, i8* %0, i64 28
%42 = load i8, i8* %41
store i8 %42, i8* %8
%43 = getelementptr inbounds i8, i8* %0, i64 29
%44 = load i8, i8* %43
%45 = getelementptr inbounds [3 x i8], [3 x i8]* %5, i64 0, i64 1
store i8 %44, i8* %45
%46 = getelementptr inbounds [3 x i8], [3 x i8]* %5, i64 0, i64 2
store i8 0, i8* %46
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.2, i64 0, i64 0), i8* %6, i8* %7)
%48 = call i32 @bcmp(i8* dereferenceable(5) %7, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i64 5)
%49 = icmp eq i32 %48, 0
br i1 %49, label %63, label %50
50: ; preds = %34
%51 = call i32 @bcmp(i8* dereferenceable(5) %7, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i64 5)
%52 = icmp eq i32 %51, 0
br i1 %52, label %63, label %53
53: ; preds = %50
%54 = call i32 @bcmp(i8* dereferenceable(5) %7, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i64 5)
%55 = icmp eq i32 %54, 0
br i1 %55, label %63, label %56
56: ; preds = %53
%57 = call i32 @bcmp(i8* dereferenceable(5) %7, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i64 5)
%58 = icmp eq i32 %57, 0
br i1 %58, label %63, label %59
59: ; preds = %56
%60 = call i32 @bcmp(i8* dereferenceable(5) %7, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i64 5)
%61 = icmp eq i32 %60, 0
%62 = select i1 %61, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @str.18, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @str.19, i64 0, i64 0)
br label %63
63: ; preds = %59, %56, %53, %50, %34
%64 = phi i8* [ getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0), %34 ], [ getelementptr inbounds ([17 x i8], [17 x i8]* @str.15, i64 0, i64 0), %50 ], [ getelementptr inbounds ([17 x i8], [17 x i8]* @str.16, i64 0, i64 0), %53 ], [ getelementptr inbounds ([17 x i8], [17 x i8]* @str.17, i64 0, i64 0), %56 ], [ %62, %59 ]
%65 = call i32 @puts(i8* dereferenceable(1) %64)
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0), i8* %8)
br label %67
67: ; preds = %63, %27, %10
ret void
}