#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*/ strcat(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
const char *chirp_acl_flags_to_text(int flags) {
  static char text[20];
  text[0] = 0;
  if (flags & (1 << 0))
    strcat(text, "r");
  if (flags & (1 << 1))
    strcat(text, "w");
  if (flags & (1 << 2))
    strcat(text, "l");
  if (flags & (1 << 3))
    strcat(text, "d");
  if (flags & (1 << 6))
    strcat(text, "p");
  if (flags & (1 << 4))
    strcat(text, "a");
  if (flags & (1 << 5))
    strcat(text, "x");
  if (flags & (1 << 15)) {
    strcat(text, "v");
    strcat(text, "(");
    if (flags & (1 << 7))
      strcat(text, "r");
    if (flags & (1 << 8))
      strcat(text, "w");
    if (flags & (1 << 9))
      strcat(text, "l");
    if (flags & (1 << 10))
      strcat(text, "d");
    if (flags & (1 << 11))
      strcat(text, "p");
    if (flags & (1 << 13))
      strcat(text, "v");
    if (flags & (1 << 12))
      strcat(text, "a");
    if (flags & (1 << 14))
      strcat(text, "x");
    strcat(text, ")");
  }
  if (text[0] == 0) {
    strcpy(text, "n");
  }
  return text;
}


x86 assembly (clang, -O0):
<chirp_acl_flags_to_text>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
movb   $0x0,0x2f0e(%rip)
mov    -0x4(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     1154 <chirp_acl_flags_to_text+0x34>
lea    0x2ef8(%rip),%rdi
lea    0xeb1(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     1176 <chirp_acl_flags_to_text+0x56>
lea    0x2ed6(%rip),%rdi
lea    0xe91(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     1198 <chirp_acl_flags_to_text+0x78>
lea    0x2eb4(%rip),%rdi
lea    0xe71(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     11ba <chirp_acl_flags_to_text+0x9a>
lea    0x2e92(%rip),%rdi
lea    0xe51(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     11dc <chirp_acl_flags_to_text+0xbc>
lea    0x2e70(%rip),%rdi
lea    0xe31(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     11fe <chirp_acl_flags_to_text+0xde>
lea    0x2e4e(%rip),%rdi
lea    0xe11(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     1220 <chirp_acl_flags_to_text+0x100>
lea    0x2e2c(%rip),%rdi
lea    0xdf1(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x8000,%eax
cmp    $0x0,%eax
je     138a <chirp_acl_flags_to_text+0x26a>
lea    0x2e08(%rip),%rdi
lea    0xdcf(%rip),%rsi
call   1040 <strcat@plt>
lea    0x2df5(%rip),%rdi
lea    0xdbe(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     127b <chirp_acl_flags_to_text+0x15b>
lea    0x2dd1(%rip),%rdi
lea    0xd8a(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x100,%eax
cmp    $0x0,%eax
je     129f <chirp_acl_flags_to_text+0x17f>
lea    0x2dad(%rip),%rdi
lea    0xd68(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x200,%eax
cmp    $0x0,%eax
je     12c3 <chirp_acl_flags_to_text+0x1a3>
lea    0x2d89(%rip),%rdi
lea    0xd46(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x400,%eax
cmp    $0x0,%eax
je     12e7 <chirp_acl_flags_to_text+0x1c7>
lea    0x2d65(%rip),%rdi
lea    0xd24(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x800,%eax
cmp    $0x0,%eax
je     130b <chirp_acl_flags_to_text+0x1eb>
lea    0x2d41(%rip),%rdi
lea    0xd02(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x2000,%eax
cmp    $0x0,%eax
je     132f <chirp_acl_flags_to_text+0x20f>
lea    0x2d1d(%rip),%rdi
lea    0xce4(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x1000,%eax
cmp    $0x0,%eax
je     1353 <chirp_acl_flags_to_text+0x233>
lea    0x2cf9(%rip),%rdi
lea    0xcbc(%rip),%rsi
call   1040 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x4000,%eax
cmp    $0x0,%eax
je     1377 <chirp_acl_flags_to_text+0x257>
lea    0x2cd5(%rip),%rdi
lea    0xc9a(%rip),%rsi
call   1040 <strcat@plt>
lea    0x2cc2(%rip),%rdi
lea    0xc8d(%rip),%rsi
call   1040 <strcat@plt>
movsbl 0x2caf(%rip),%eax
cmp    $0x0,%eax
jne    13ad <chirp_acl_flags_to_text+0x28d>
lea    0x2c9f(%rip),%rdi
lea    0xc6c(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x2c8c(%rip),%rax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<chirp_acl_flags_to_text>:
push   %r14
push   %rbx
push   %rax
mov    %edi,%ebx
movb   $0x0,0x2f13(%rip)
test   $0x1,%bl
jne    1188 <chirp_acl_flags_to_text+0x68>
test   $0x2,%bl
jne    11a0 <chirp_acl_flags_to_text+0x80>
test   $0x4,%bl
jne    11b8 <chirp_acl_flags_to_text+0x98>
test   $0x8,%bl
jne    11d4 <chirp_acl_flags_to_text+0xb4>
test   $0x40,%bl
jne    11f0 <chirp_acl_flags_to_text+0xd0>
test   $0x10,%bl
jne    120c <chirp_acl_flags_to_text+0xec>
test   $0x20,%bl
jne    1228 <chirp_acl_flags_to_text+0x108>
test   $0x8000,%ebx
jne    1247 <chirp_acl_flags_to_text+0x127>
cmpb   $0x0,0x2ecd(%rip)
je     12f8 <chirp_acl_flags_to_text+0x1d8>
lea    0x2ec0(%rip),%rax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret
lea    0x2eb1(%rip),%rdi
lea    0xe6a(%rip),%rsi
call   1040 <strcat@plt>
test   $0x2,%bl
je     1137 <chirp_acl_flags_to_text+0x17>
lea    0x2e99(%rip),%rdi
lea    0xe54(%rip),%rsi
call   1040 <strcat@plt>
test   $0x4,%bl
je     113c <chirp_acl_flags_to_text+0x1c>
lea    0x2e81(%rip),%rdi
lea    0xe3e(%rip),%rsi
call   1040 <strcat@plt>
test   $0x8,%bl
je     1145 <chirp_acl_flags_to_text+0x25>
lea    0x2e65(%rip),%rdi
lea    0xe24(%rip),%rsi
call   1040 <strcat@plt>
test   $0x40,%bl
je     114e <chirp_acl_flags_to_text+0x2e>
lea    0x2e49(%rip),%rdi
lea    0xe0a(%rip),%rsi
call   1040 <strcat@plt>
test   $0x10,%bl
je     1157 <chirp_acl_flags_to_text+0x37>
lea    0x2e2d(%rip),%rdi
lea    0xdf0(%rip),%rsi
call   1040 <strcat@plt>
test   $0x20,%bl
je     1160 <chirp_acl_flags_to_text+0x40>
lea    0x2e11(%rip),%rdi
lea    0xdd6(%rip),%rsi
call   1040 <strcat@plt>
test   $0x8000,%ebx
je     116c <chirp_acl_flags_to_text+0x4c>
lea    0x2df2(%rip),%r14
lea    0xdb9(%rip),%rsi
mov    %r14,%rdi
call   1040 <strcat@plt>
lea    0xdac(%rip),%rsi
mov    %r14,%rdi
call   1040 <strcat@plt>
test   $0x80,%bl
jne    1310 <chirp_acl_flags_to_text+0x1f0>
test   $0x100,%ebx
jne    132f <chirp_acl_flags_to_text+0x20f>
test   $0x200,%ebx
jne    134e <chirp_acl_flags_to_text+0x22e>
test   $0x400,%ebx
jne    136d <chirp_acl_flags_to_text+0x24d>
test   $0x800,%ebx
jne    138c <chirp_acl_flags_to_text+0x26c>
test   $0x2000,%ebx
jne    13ab <chirp_acl_flags_to_text+0x28b>
test   $0x1000,%ebx
jne    13ca <chirp_acl_flags_to_text+0x2aa>
test   $0x4000,%ebx
je     12d8 <chirp_acl_flags_to_text+0x1b8>
lea    0x2d74(%rip),%rdi
lea    0xd39(%rip),%rsi
call   1040 <strcat@plt>
lea    0x2d61(%rip),%rdi
lea    0xd2c(%rip),%rsi
call   1040 <strcat@plt>
cmpb   $0x0,0x2d4e(%rip)
jne    1179 <chirp_acl_flags_to_text+0x59>
lea    0x2d41(%rip),%rdi
lea    0xd0e(%rip),%rsi
call   1030 <strcpy@plt>
jmp    1179 <chirp_acl_flags_to_text+0x59>
lea    0x2d29(%rip),%rdi
lea    0xce2(%rip),%rsi
call   1040 <strcat@plt>
test   $0x100,%ebx
je     1281 <chirp_acl_flags_to_text+0x161>
lea    0x2d0a(%rip),%rdi
lea    0xcc5(%rip),%rsi
call   1040 <strcat@plt>
test   $0x200,%ebx
je     128d <chirp_acl_flags_to_text+0x16d>
lea    0x2ceb(%rip),%rdi
lea    0xca8(%rip),%rsi
call   1040 <strcat@plt>
test   $0x400,%ebx
je     1299 <chirp_acl_flags_to_text+0x179>
lea    0x2ccc(%rip),%rdi
lea    0xc8b(%rip),%rsi
call   1040 <strcat@plt>
test   $0x800,%ebx
je     12a5 <chirp_acl_flags_to_text+0x185>
lea    0x2cad(%rip),%rdi
lea    0xc6e(%rip),%rsi
call   1040 <strcat@plt>
test   $0x2000,%ebx
je     12b1 <chirp_acl_flags_to_text+0x191>
lea    0x2c8e(%rip),%rdi
lea    0xc55(%rip),%rsi
call   1040 <strcat@plt>
test   $0x1000,%ebx
je     12bd <chirp_acl_flags_to_text+0x19d>
lea    0x2c6f(%rip),%rdi
lea    0xc32(%rip),%rsi
call   1040 <strcat@plt>
test   $0x4000,%ebx
jne    12c5 <chirp_acl_flags_to_text+0x1a5>
jmp    12d8 <chirp_acl_flags_to_text+0x1b8>

LLVM IR (-O0):
@chirp_acl_flags_to_text.text = internal global [20 x i8] zeroinitializer
@.str = [2 x i8] c"r\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [2 x i8] c"l\00"
@.str.3 = [2 x i8] c"d\00"
@.str.4 = [2 x i8] c"p\00"
@.str.5 = [2 x i8] c"a\00"
@.str.6 = [2 x i8] c"x\00"
@.str.7 = [2 x i8] c"v\00"
@.str.8 = [2 x i8] c"(\00"
@.str.9 = [2 x i8] c")\00"
@.str.10 = [2 x i8] c"n\00"
define i8* @chirp_acl_flags_to_text(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
store i8 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0)
%3 = load i32, i32* %2
%4 = and i32 %3, 1
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %8
8: ; preds = %6, %1
%9 = load i32, i32* %2
%10 = and i32 %9, 2
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %14
14: ; preds = %12, %8
%15 = load i32, i32* %2
%16 = and i32 %15, 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %20
20: ; preds = %18, %14
%21 = load i32, i32* %2
%22 = and i32 %21, 8
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %26
26: ; preds = %24, %20
%27 = load i32, i32* %2
%28 = and i32 %27, 64
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %32
32: ; preds = %30, %26
%33 = load i32, i32* %2
%34 = and i32 %33, 16
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %38
38: ; preds = %36, %32
%39 = load i32, i32* %2
%40 = and i32 %39, 32
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
br label %44
44: ; preds = %42, %38
%45 = load i32, i32* %2
%46 = and i32 %45, 32768
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %100
48: ; preds = %44
%49 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%50 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%51 = load i32, i32* %2
%52 = and i32 %51, 128
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %48
%55 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %56
56: ; preds = %54, %48
%57 = load i32, i32* %2
%58 = and i32 %57, 256
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %56
%61 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %62
62: ; preds = %60, %56
%63 = load i32, i32* %2
%64 = and i32 %63, 512
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %62
%67 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %68
68: ; preds = %66, %62
%69 = load i32, i32* %2
%70 = and i32 %69, 1024
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %68
%73 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %74
74: ; preds = %72, %68
%75 = load i32, i32* %2
%76 = and i32 %75, 2048
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %80
78: ; preds = %74
%79 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %80
80: ; preds = %78, %74
%81 = load i32, i32* %2
%82 = and i32 %81, 8192
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %80
%85 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
br label %86
86: ; preds = %84, %80
%87 = load i32, i32* %2
%88 = and i32 %87, 4096
%89 = icmp ne i32 %88, 0
br i1 %89, label %90, label %92
90: ; preds = %86
%91 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %92
92: ; preds = %90, %86
%93 = load i32, i32* %2
%94 = and i32 %93, 16384
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %98
96: ; preds = %92
%97 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
br label %98
98: ; preds = %96, %92
%99 = call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %100
100: ; preds = %98, %44
%101 = load i8, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0)
%102 = sext i8 %101 to i32
%103 = icmp eq i32 %102, 0
br i1 %103, label %104, label %106
104: ; preds = %100
%105 = call i32 @strcpy(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
br label %106
106: ; preds = %104, %100
ret i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0)
}

LLVM IR (-O2):
@chirp_acl_flags_to_text.text = internal global [20 x i8] zeroinitializer
@.str = [2 x i8] c"r\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [2 x i8] c"l\00"
@.str.3 = [2 x i8] c"d\00"
@.str.4 = [2 x i8] c"p\00"
@.str.5 = [2 x i8] c"a\00"
@.str.6 = [2 x i8] c"x\00"
@.str.7 = [2 x i8] c"v\00"
@.str.8 = [2 x i8] c"(\00"
@.str.9 = [2 x i8] c")\00"
@.str.10 = [2 x i8] c"n\00"
define i8* @chirp_acl_flags_to_text(i32 %0) {
store i8 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0)
%2 = and i32 %0, 1
%3 = icmp eq i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %6
6: ; preds = %4, %1
%7 = and i32 %0, 2
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %11
11: ; preds = %9, %6
%12 = and i32 %0, 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %16
16: ; preds = %14, %11
%17 = and i32 %0, 8
%18 = icmp eq i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %21
21: ; preds = %19, %16
%22 = and i32 %0, 64
%23 = icmp eq i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %26
26: ; preds = %24, %21
%27 = and i32 %0, 16
%28 = icmp eq i32 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %26
%30 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %31
31: ; preds = %29, %26
%32 = and i32 %0, 32
%33 = icmp eq i32 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %31
%35 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
br label %36
36: ; preds = %34, %31
%37 = and i32 %0, 32768
%38 = icmp eq i32 %37, 0
br i1 %38, label %83, label %39
39: ; preds = %36
%40 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%41 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%42 = and i32 %0, 128
%43 = icmp eq i32 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %39
%45 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %46
46: ; preds = %44, %39
%47 = and i32 %0, 256
%48 = icmp eq i32 %47, 0
br i1 %48, label %51, label %49
49: ; preds = %46
%50 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %51
51: ; preds = %49, %46
%52 = and i32 %0, 512
%53 = icmp eq i32 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %51
%55 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %56
56: ; preds = %54, %51
%57 = and i32 %0, 1024
%58 = icmp eq i32 %57, 0
br i1 %58, label %61, label %59
59: ; preds = %56
%60 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %61
61: ; preds = %59, %56
%62 = and i32 %0, 2048
%63 = icmp eq i32 %62, 0
br i1 %63, label %66, label %64
64: ; preds = %61
%65 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %66
66: ; preds = %64, %61
%67 = and i32 %0, 8192
%68 = icmp eq i32 %67, 0
br i1 %68, label %71, label %69
69: ; preds = %66
%70 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
br label %71
71: ; preds = %69, %66
%72 = and i32 %0, 4096
%73 = icmp eq i32 %72, 0
br i1 %73, label %76, label %74
74: ; preds = %71
%75 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %76
76: ; preds = %74, %71
%77 = and i32 %0, 16384
%78 = icmp eq i32 %77, 0
br i1 %78, label %81, label %79
79: ; preds = %76
%80 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
br label %81
81: ; preds = %79, %76
%82 = tail call i32 @strcat(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %83
83: ; preds = %81, %36
%84 = load i8, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0)
%85 = icmp eq i8 %84, 0
br i1 %85, label %86, label %88
86: ; preds = %83
%87 = tail call i32 @strcpy(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
br label %88
88: ; preds = %86, %83
ret i8* getelementptr inbounds ([20 x i8], [20 x i8]* @chirp_acl_flags_to_text.text, i64 0, i64 0)
}