#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 u_short;

/* Variables and functions */
int S_IEXEC;
#define S_IFBLK 134
#define S_IFCHR 133
#define S_IFDIR 132
#define S_IFIFO 131
#define S_IFLNK 130
int S_IFMT;
#define S_IFREG 129
#define S_IFSOCK 128
int S_IREAD;
int S_ISGID;
int S_ISUID;
int S_ISVTX;
int S_IWRITE;
char *prot(u_short m) {
  static char buf[11];
  static u_short ifmt[] = {S_IFIFO, S_IFCHR, S_IFDIR,  S_IFBLK,
                           S_IFREG, S_IFLNK, S_IFSOCK, 0};
  static char fmt[] = {'p', 'c', 'd', 'b', '-', 'l', 's', '?'};
  int i;
  for (i = 0; ifmt[i] && (m & S_IFMT) != ifmt[i]; i++)
    ;
  buf[0] = fmt[i];
  buf[1] = (m & S_IREAD) ? 'r' : '-';
  buf[2] = (m & S_IWRITE) ? 'w' : '-';
  buf[3] = (m & S_IEXEC) ? 'x' : '-';
  if (m & S_ISUID)
    buf[3] = (buf[3] == '-') ? 'S' : 's';
  buf[4] = (m & (S_IREAD >> 3)) ? 'r' : '-';
  buf[5] = (m & (S_IWRITE >> 3)) ? 'w' : '-';
  buf[6] = (m & (S_IEXEC >> 3)) ? 'x' : '-';
  if (m & S_ISGID)
    buf[6] = (buf[6] == '-') ? 'S' : 's';
  buf[7] = (m & (S_IREAD >> 6)) ? 'r' : '-';
  buf[8] = (m & (S_IWRITE >> 6)) ? 'w' : '-';
  buf[9] = (m & (S_IEXEC >> 6)) ? 'x' : '-';
  if (m & S_ISVTX)
    buf[9] = (buf[9] == '-') ? 'T' : 't';
  buf[10] = 0;
  return buf;
}


x86 assembly (clang, -O0):
<prot>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
movslq -0x8(%rbp),%rdx
xor    %eax,%eax
lea    0x2f15(%rip),%rcx
cmpl   $0x0,(%rcx,%rdx,4)
mov    %al,-0x9(%rbp)
je     1148 <prot+0x48>
mov    -0x4(%rbp),%eax
mov    0x2e96(%rip),%rcx
and    (%rcx),%eax
movslq -0x8(%rbp),%rdx
lea    0x2ef1(%rip),%rcx
cmp    (%rcx,%rdx,4),%eax
setne  %al
mov    %al,-0x9(%rbp)
mov    -0x9(%rbp),%al
test   $0x1,%al
jne    1158 <prot+0x58>
jmp    116b <prot+0x6b>
jmp    115d <prot+0x5d>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    110e <prot+0xe>
movslq -0x8(%rbp),%rcx
lea    0x2eda(%rip),%rax
mov    (%rax,%rcx,1),%al
mov    %al,0x2edd(%rip)
mov    -0x4(%rbp),%edx
mov    0x2e27(%rip),%rax
and    (%rax),%edx
mov    $0x2d,%eax
mov    $0x72,%ecx
cmp    $0x0,%edx
cmovne %ecx,%eax
mov    %al,0x2ebc(%rip)
mov    -0x4(%rbp),%edx
mov    0x2e2d(%rip),%rax
and    (%rax),%edx
mov    $0x2d,%eax
mov    $0x77,%ecx
cmp    $0x0,%edx
cmovne %ecx,%eax
mov    %al,0x2e9b(%rip)
mov    -0x4(%rbp),%edx
mov    0x2deb(%rip),%rax
and    (%rax),%edx
mov    $0x2d,%eax
mov    $0x78,%ecx
cmp    $0x0,%edx
cmovne %ecx,%eax
mov    %al,0x2e7a(%rip)
mov    -0x4(%rbp),%eax
mov    0x2df1(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1217 <prot+0x117>
movsbl 0x2e5e(%rip),%edx
mov    $0x73,%eax
mov    $0x53,%ecx
cmp    $0x2d,%edx
cmove  %ecx,%eax
mov    %al,0x2e48(%rip)
mov    -0x4(%rbp),%edx
mov    0x2d8f(%rip),%rax
mov    (%rax),%eax
sar    $0x3,%eax
and    %eax,%edx
mov    $0x2d,%eax
mov    $0x72,%ecx
cmp    $0x0,%edx
cmovne %ecx,%eax
mov    %al,0x2e22(%rip)
mov    -0x4(%rbp),%edx
mov    0x2d90(%rip),%rax
mov    (%rax),%eax
sar    $0x3,%eax
and    %eax,%edx
mov    $0x2d,%eax
mov    $0x77,%ecx
cmp    $0x0,%edx
cmovne %ecx,%eax
mov    %al,0x2dfc(%rip)
mov    -0x4(%rbp),%edx
mov    0x2d49(%rip),%rax
mov    (%rax),%eax
sar    $0x3,%eax
and    %eax,%edx
mov    $0x2d,%eax
mov    $0x78,%ecx
cmp    $0x0,%edx
cmovne %ecx,%eax
mov    %al,0x2dd6(%rip)
mov    -0x4(%rbp),%eax
mov    0x2d2a(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     12be <prot+0x1be>
movsbl 0x2dba(%rip),%edx
mov    $0x73,%eax
mov    $0x53,%ecx
cmp    $0x2d,%edx
cmove  %ecx,%eax
mov    %al,0x2da4(%rip)
mov    -0x4(%rbp),%edx
mov    0x2ce8(%rip),%rax
mov    (%rax),%eax
sar    $0x6,%eax
and    %eax,%edx
mov    $0x2d,%eax
mov    $0x72,%ecx
cmp    $0x0,%edx
cmovne %ecx,%eax
mov    %al,0x2d7e(%rip)
mov    -0x4(%rbp),%edx
mov    0x2ce9(%rip),%rax
mov    (%rax),%eax
sar    $0x6,%eax
and    %eax,%edx
mov    $0x2d,%eax
mov    $0x77,%ecx
cmp    $0x0,%edx
cmovne %ecx,%eax
mov    %al,0x2d58(%rip)
mov    -0x4(%rbp),%edx
mov    0x2ca2(%rip),%rax
mov    (%rax),%eax
sar    $0x6,%eax
and    %eax,%edx
mov    $0x2d,%eax
mov    $0x78,%ecx
cmp    $0x0,%edx
cmovne %ecx,%eax
mov    %al,0x2d32(%rip)
mov    -0x4(%rbp),%eax
mov    0x2cab(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1365 <prot+0x265>
movsbl 0x2d16(%rip),%edx
mov    $0x74,%eax
mov    $0x54,%ecx
cmp    $0x2d,%edx
cmove  %ecx,%eax
mov    %al,0x2d00(%rip)
movb   $0x0,0x2cfa(%rip)
lea    0x2ce9(%rip),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<prot>:
mov    0x2ec1(%rip),%rax
mov    (%rax),%eax
and    %edi,%eax
add    $0xffffff80,%eax
mov    $0x7,%ecx
cmp    $0x6,%eax
ja     1125 <prot+0x25>
cltq
lea    0xee7(%rip),%rcx
mov    (%rcx,%rax,8),%rcx
lea    0xed4(%rip),%rax
mov    (%rcx,%rax,1),%al
mov    %al,0x2eef(%rip)
mov    0x2e74(%rip),%rax
mov    (%rax),%r10d
test   %edi,%r10d
mov    $0x2d,%r8d
mov    $0x72,%r9d
mov    $0x72,%eax
cmove  %r8d,%eax
mov    %al,0x2ec8(%rip)
mov    0x2e74(%rip),%rax
mov    (%rax),%r11d
test   %edi,%r11d
mov    $0x77,%esi
mov    $0x77,%eax
cmove  %r8d,%eax
mov    %al,0x2ea8(%rip)
mov    0x2e33(%rip),%rax
mov    (%rax),%eax
test   %edi,%eax
mov    $0x78,%ecx
mov    $0x78,%edx
cmove  %r8d,%edx
mov    %dl,0x2e8a(%rip)
mov    0x2e3c(%rip),%rdx
test   %edi,(%rdx)
je     11b9 <prot+0xb9>
test   %edi,%eax
setne  %dl
shl    $0x5,%dl
or     $0x53,%dl
mov    %dl,0x2e6e(%rip)
mov    %r10d,%edx
sar    $0x3,%edx
test   %edi,%edx
cmove  %r8d,%r9d
mov    %r9b,0x2e5c(%rip)
mov    %r11d,%edx
sar    $0x3,%edx
test   %edi,%edx
cmove  %r8d,%esi
mov    %sil,0x2e4a(%rip)
mov    %eax,%esi
sar    $0x3,%esi
test   %edi,%esi
cmove  %r8d,%ecx
mov    %cl,0x2e3a(%rip)
mov    0x2dc9(%rip),%rcx
test   %edi,(%rcx)
je     120c <prot+0x10c>
test   %edi,%esi
setne  %cl
shl    $0x5,%cl
or     $0x53,%cl
mov    %cl,0x2e1e(%rip)
sar    $0x6,%r10d
test   %edi,%r10d
mov    $0x2d,%ecx
mov    $0x72,%edx
cmove  %ecx,%edx
mov    %dl,0x2e05(%rip)
sar    $0x6,%r11d
test   %edi,%r11d
mov    $0x77,%edx
cmove  %ecx,%edx
mov    %dl,0x2df1(%rip)
sar    $0x6,%eax
test   %edi,%eax
mov    $0x78,%edx
cmove  %ecx,%edx
mov    %dl,0x2ddf(%rip)
mov    0x2d93(%rip),%rcx
test   %edi,(%rcx)
je     1269 <prot+0x169>
test   %edi,%eax
setne  %al
shl    $0x5,%al
or     $0x54,%al
mov    %al,0x2dc4(%rip)
movb   $0x0,0x2dbe(%rip)
lea    0x2dad(%rip),%rax
ret

LLVM IR (-O0):
@prot.buf = internal global [11 x i8] zeroinitializer
@prot.ifmt = internal global [8 x i32] [i32 131, i32 133, i32 132, i32 134, i32 129, i32 130, i32 128, i32 0]
@prot.fmt = internal global [8 x i8] c"pcdb-ls?"
@S_IFMT = global i32 0
@S_IREAD = global i32 0
@S_IWRITE = global i32 0
@S_IEXEC = global i32 0
@S_ISUID = global i32 0
@S_ISGID = global i32 0
@S_ISVTX = global i32 0
define i8* @prot(i32 %0) {
%2 = alloca i32
%3 = alloca i32
store i32 %0, i32* %2
store i32 0, i32* %3
br label %4
4: ; preds = %22, %1
%5 = load i32, i32* %3
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds [8 x i32], [8 x i32]* @prot.ifmt, i64 0, i64 %6
%8 = load i32, i32* %7
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %19
10: ; preds = %4
%11 = load i32, i32* %2
%12 = load i32, i32* @S_IFMT
%13 = and i32 %11, %12
%14 = load i32, i32* %3
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [8 x i32], [8 x i32]* @prot.ifmt, i64 0, i64 %15
%17 = load i32, i32* %16
%18 = icmp ne i32 %13, %17
br label %19
19: ; preds = %10, %4
%20 = phi i1 [ false, %4 ], [ %18, %10 ]
br i1 %20, label %21, label %25
21: ; preds = %19
br label %22
22: ; preds = %21
%23 = load i32, i32* %3
%24 = add nsw i32 %23, 1
store i32 %24, i32* %3
br label %4
25: ; preds = %19
%26 = load i32, i32* %3
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [8 x i8], [8 x i8]* @prot.fmt, i64 0, i64 %27
%29 = load i8, i8* %28
store i8 %29, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 0)
%30 = load i32, i32* %2
%31 = load i32, i32* @S_IREAD
%32 = and i32 %30, %31
%33 = icmp ne i32 %32, 0
%34 = zext i1 %33 to i64
%35 = select i1 %33, i32 114, i32 45
%36 = trunc i32 %35 to i8
store i8 %36, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 1)
%37 = load i32, i32* %2
%38 = load i32, i32* @S_IWRITE
%39 = and i32 %37, %38
%40 = icmp ne i32 %39, 0
%41 = zext i1 %40 to i64
%42 = select i1 %40, i32 119, i32 45
%43 = trunc i32 %42 to i8
store i8 %43, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 2)
%44 = load i32, i32* %2
%45 = load i32, i32* @S_IEXEC
%46 = and i32 %44, %45
%47 = icmp ne i32 %46, 0
%48 = zext i1 %47 to i64
%49 = select i1 %47, i32 120, i32 45
%50 = trunc i32 %49 to i8
store i8 %50, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 3)
%51 = load i32, i32* %2
%52 = load i32, i32* @S_ISUID
%53 = and i32 %51, %52
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %25
%56 = load i8, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 3)
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 45
%59 = zext i1 %58 to i64
%60 = select i1 %58, i32 83, i32 115
%61 = trunc i32 %60 to i8
store i8 %61, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 3)
br label %62
62: ; preds = %55, %25
%63 = load i32, i32* %2
%64 = load i32, i32* @S_IREAD
%65 = ashr i32 %64, 3
%66 = and i32 %63, %65
%67 = icmp ne i32 %66, 0
%68 = zext i1 %67 to i64
%69 = select i1 %67, i32 114, i32 45
%70 = trunc i32 %69 to i8
store i8 %70, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 4)
%71 = load i32, i32* %2
%72 = load i32, i32* @S_IWRITE
%73 = ashr i32 %72, 3
%74 = and i32 %71, %73
%75 = icmp ne i32 %74, 0
%76 = zext i1 %75 to i64
%77 = select i1 %75, i32 119, i32 45
%78 = trunc i32 %77 to i8
store i8 %78, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 5)
%79 = load i32, i32* %2
%80 = load i32, i32* @S_IEXEC
%81 = ashr i32 %80, 3
%82 = and i32 %79, %81
%83 = icmp ne i32 %82, 0
%84 = zext i1 %83 to i64
%85 = select i1 %83, i32 120, i32 45
%86 = trunc i32 %85 to i8
store i8 %86, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 6)
%87 = load i32, i32* %2
%88 = load i32, i32* @S_ISGID
%89 = and i32 %87, %88
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %98
91: ; preds = %62
%92 = load i8, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 6)
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 45
%95 = zext i1 %94 to i64
%96 = select i1 %94, i32 83, i32 115
%97 = trunc i32 %96 to i8
store i8 %97, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 6)
br label %98
98: ; preds = %91, %62
%99 = load i32, i32* %2
%100 = load i32, i32* @S_IREAD
%101 = ashr i32 %100, 6
%102 = and i32 %99, %101
%103 = icmp ne i32 %102, 0
%104 = zext i1 %103 to i64
%105 = select i1 %103, i32 114, i32 45
%106 = trunc i32 %105 to i8
store i8 %106, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 7)
%107 = load i32, i32* %2
%108 = load i32, i32* @S_IWRITE
%109 = ashr i32 %108, 6
%110 = and i32 %107, %109
%111 = icmp ne i32 %110, 0
%112 = zext i1 %111 to i64
%113 = select i1 %111, i32 119, i32 45
%114 = trunc i32 %113 to i8
store i8 %114, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 8)
%115 = load i32, i32* %2
%116 = load i32, i32* @S_IEXEC
%117 = ashr i32 %116, 6
%118 = and i32 %115, %117
%119 = icmp ne i32 %118, 0
%120 = zext i1 %119 to i64
%121 = select i1 %119, i32 120, i32 45
%122 = trunc i32 %121 to i8
store i8 %122, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 9)
%123 = load i32, i32* %2
%124 = load i32, i32* @S_ISVTX
%125 = and i32 %123, %124
%126 = icmp ne i32 %125, 0
br i1 %126, label %127, label %134
127: ; preds = %98
%128 = load i8, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 9)
%129 = sext i8 %128 to i32
%130 = icmp eq i32 %129, 45
%131 = zext i1 %130 to i64
%132 = select i1 %130, i32 84, i32 116
%133 = trunc i32 %132 to i8
store i8 %133, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 9)
br label %134
134: ; preds = %127, %98
store i8 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 10)
ret i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 0)
}

LLVM IR (-O2):
@prot.buf = internal global [11 x i8] zeroinitializer
@prot.fmt = internal unnamed_addr constant [8 x i8] c"pcdb-ls?"
@S_IFMT = global i32 0
@S_IREAD = global i32 0
@S_IWRITE = global i32 0
@S_IEXEC = global i32 0
@S_ISUID = global i32 0
@S_ISGID = global i32 0
@S_ISVTX = global i32 0
@switch.table.prot = [7 x i64] [i64 6, i64 4, i64 5, i64 0, i64 2, i64 1, i64 3]
define i8* @prot(i32 %0) {
%2 = load i32, i32* @S_IFMT
%3 = and i32 %2, %0
%4 = add i32 %3, -128
%5 = icmp ult i32 %4, 7
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = sext i32 %4 to i64
%8 = getelementptr inbounds [7 x i64], [7 x i64]* @switch.table.prot, i64 0, i64 %7
%9 = load i64, i64* %8
br label %10
10: ; preds = %1, %6
%11 = phi i64 [ %9, %6 ], [ 7, %1 ]
%12 = getelementptr inbounds [8 x i8], [8 x i8]* @prot.fmt, i64 0, i64 %11
%13 = load i8, i8* %12
store i8 %13, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 0)
%14 = load i32, i32* @S_IREAD
%15 = and i32 %14, %0
%16 = icmp eq i32 %15, 0
%17 = select i1 %16, i8 45, i8 114
store i8 %17, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 1)
%18 = load i32, i32* @S_IWRITE
%19 = and i32 %18, %0
%20 = icmp eq i32 %19, 0
%21 = select i1 %20, i8 45, i8 119
store i8 %21, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 2)
%22 = load i32, i32* @S_IEXEC
%23 = and i32 %22, %0
%24 = icmp eq i32 %23, 0
%25 = select i1 %24, i8 45, i8 120
store i8 %25, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 3)
%26 = load i32, i32* @S_ISUID
%27 = and i32 %26, %0
%28 = icmp eq i32 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %10
%30 = select i1 %24, i8 83, i8 115
store i8 %30, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 3)
br label %31
31: ; preds = %29, %10
%32 = ashr i32 %14, 3
%33 = and i32 %32, %0
%34 = icmp eq i32 %33, 0
%35 = select i1 %34, i8 45, i8 114
store i8 %35, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 4)
%36 = ashr i32 %18, 3
%37 = and i32 %36, %0
%38 = icmp eq i32 %37, 0
%39 = select i1 %38, i8 45, i8 119
store i8 %39, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 5)
%40 = ashr i32 %22, 3
%41 = and i32 %40, %0
%42 = icmp eq i32 %41, 0
%43 = select i1 %42, i8 45, i8 120
store i8 %43, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 6)
%44 = load i32, i32* @S_ISGID
%45 = and i32 %44, %0
%46 = icmp eq i32 %45, 0
br i1 %46, label %49, label %47
47: ; preds = %31
%48 = select i1 %42, i8 83, i8 115
store i8 %48, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 6)
br label %49
49: ; preds = %47, %31
%50 = ashr i32 %14, 6
%51 = and i32 %50, %0
%52 = icmp eq i32 %51, 0
%53 = select i1 %52, i8 45, i8 114
store i8 %53, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 7)
%54 = ashr i32 %18, 6
%55 = and i32 %54, %0
%56 = icmp eq i32 %55, 0
%57 = select i1 %56, i8 45, i8 119
store i8 %57, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 8)
%58 = ashr i32 %22, 6
%59 = and i32 %58, %0
%60 = icmp eq i32 %59, 0
%61 = select i1 %60, i8 45, i8 120
store i8 %61, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 9)
%62 = load i32, i32* @S_ISVTX
%63 = and i32 %62, %0
%64 = icmp eq i32 %63, 0
br i1 %64, label %67, label %65
65: ; preds = %49
%66 = select i1 %60, i8 84, i8 116
store i8 %66, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 9)
br label %67
67: ; preds = %65, %49
store i8 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 10)
ret i8* getelementptr inbounds ([11 x i8], [11 x i8]* @prot.buf, i64 0, i64 0)
}