#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 *);
char *material_color_name(int color_flags) {
  static char buf[512];
  buf[0] = '\0';
  if (color_flags & 1)
    strcat(buf, " black");
  if (color_flags & 2)
    strcat(buf, " white");
  if (color_flags & 4)
    strcat(buf, " red");
  if (color_flags & 8)
    strcat(buf, " orange");
  if (color_flags & 16)
    strcat(buf, " yellow");
  if (color_flags & 32)
    strcat(buf, " green");
  if (color_flags & 64)
    strcat(buf, " blue");
  if (color_flags & 128)
    strcat(buf, " purple");
  if (color_flags & 256)
    strcat(buf, " silver");
  if (color_flags & 512)
    strcat(buf, " gold");
  if (color_flags & 1024)
    strcat(buf, " brown");
  if (color_flags & 4096)
    strcat(buf, " dark");
  if (color_flags & 2048)
    strcat(buf, " light");
  if (color_flags & 8192)
    strcat(buf, " transparent");
  if (color_flags & 16384)
    strcat(buf, " translucent");
  return (buf[0] != '\0') ? buf + 1 : "none";
}


x86 assembly (clang, -O0):
<material_color_name>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
movb   $0x0,0x2f1e(%rip)
mov    -0x4(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     1144 <material_color_name+0x34>
lea    0x2f08(%rip),%rdi
lea    0xec1(%rip),%rsi
call   1030 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     1166 <material_color_name+0x56>
lea    0x2ee6(%rip),%rdi
lea    0xea6(%rip),%rsi
call   1030 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     1188 <material_color_name+0x78>
lea    0x2ec4(%rip),%rdi
lea    0xe8b(%rip),%rsi
call   1030 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     11aa <material_color_name+0x9a>
lea    0x2ea2(%rip),%rdi
lea    0xe6e(%rip),%rsi
call   1030 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     11cc <material_color_name+0xbc>
lea    0x2e80(%rip),%rdi
lea    0xe54(%rip),%rsi
call   1030 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     11ee <material_color_name+0xde>
lea    0x2e5e(%rip),%rdi
lea    0xe3a(%rip),%rsi
call   1030 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     1210 <material_color_name+0x100>
lea    0x2e3c(%rip),%rdi
lea    0xe1f(%rip),%rsi
call   1030 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     1234 <material_color_name+0x124>
lea    0x2e18(%rip),%rdi
lea    0xe01(%rip),%rsi
call   1030 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x100,%eax
cmp    $0x0,%eax
je     1258 <material_color_name+0x148>
lea    0x2df4(%rip),%rdi
lea    0xde5(%rip),%rsi
call   1030 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x200,%eax
cmp    $0x0,%eax
je     127c <material_color_name+0x16c>
lea    0x2dd0(%rip),%rdi
lea    0xdc9(%rip),%rsi
call   1030 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x400,%eax
cmp    $0x0,%eax
je     12a0 <material_color_name+0x190>
lea    0x2dac(%rip),%rdi
lea    0xdab(%rip),%rsi
call   1030 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x1000,%eax
cmp    $0x0,%eax
je     12c4 <material_color_name+0x1b4>
lea    0x2d88(%rip),%rdi
lea    0xd8e(%rip),%rsi
call   1030 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x800,%eax
cmp    $0x0,%eax
je     12e8 <material_color_name+0x1d8>
lea    0x2d64(%rip),%rdi
lea    0xd70(%rip),%rsi
call   1030 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x2000,%eax
cmp    $0x0,%eax
je     130c <material_color_name+0x1fc>
lea    0x2d40(%rip),%rdi
lea    0xd53(%rip),%rsi
call   1030 <strcat@plt>
mov    -0x4(%rbp),%eax
and    $0x4000,%eax
cmp    $0x0,%eax
je     1330 <material_color_name+0x220>
lea    0x2d1c(%rip),%rdi
lea    0xd3c(%rip),%rsi
call   1030 <strcat@plt>
movsbl 0x2d09(%rip),%edx
lea    0xd36(%rip),%rax
lea    0x2cfb(%rip),%rcx
add    $0x1,%rcx
cmp    $0x0,%edx
cmovne %rcx,%rax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<material_color_name>:
push   %rbx
mov    %edi,%ebx
movb   $0x0,0x2f26(%rip)
test   $0x1,%bl
jne    11e0 <material_color_name+0xd0>
test   $0x2,%bl
jne    11fc <material_color_name+0xec>
test   $0x4,%bl
jne    1218 <material_color_name+0x108>
test   $0x8,%bl
jne    1234 <material_color_name+0x124>
test   $0x10,%bl
jne    1250 <material_color_name+0x140>
test   $0x20,%bl
jne    126c <material_color_name+0x15c>
test   $0x40,%bl
jne    1288 <material_color_name+0x178>
test   $0x80,%bl
jne    12a4 <material_color_name+0x194>
test   $0x100,%ebx
jne    12c3 <material_color_name+0x1b3>
test   $0x200,%ebx
jne    12e2 <material_color_name+0x1d2>
test   $0x400,%ebx
jne    1301 <material_color_name+0x1f1>
test   $0x1000,%ebx
jne    1320 <material_color_name+0x210>
test   $0x800,%ebx
jne    133f <material_color_name+0x22f>
test   $0x2000,%ebx
jne    135e <material_color_name+0x24e>
test   $0x4000,%ebx
je     11c5 <material_color_name+0xb5>
lea    0x2e87(%rip),%rdi
lea    0xea7(%rip),%rsi
call   1030 <strcat@plt>
cmpb   $0x0,0x2e74(%rip)
lea    0xea1(%rip),%rcx
lea    0x2e67(%rip),%rax
cmove  %rcx,%rax
pop    %rbx
ret
lea    0x2e59(%rip),%rdi
lea    0xe12(%rip),%rsi
call   1030 <strcat@plt>
test   $0x2,%bl
je     112c <material_color_name+0x1c>
lea    0x2e3d(%rip),%rdi
lea    0xdfd(%rip),%rsi
call   1030 <strcat@plt>
test   $0x4,%bl
je     1135 <material_color_name+0x25>
lea    0x2e21(%rip),%rdi
lea    0xde8(%rip),%rsi
call   1030 <strcat@plt>
test   $0x8,%bl
je     113e <material_color_name+0x2e>
lea    0x2e05(%rip),%rdi
lea    0xdd1(%rip),%rsi
call   1030 <strcat@plt>
test   $0x10,%bl
je     1147 <material_color_name+0x37>
lea    0x2de9(%rip),%rdi
lea    0xdbd(%rip),%rsi
call   1030 <strcat@plt>
test   $0x20,%bl
je     1150 <material_color_name+0x40>
lea    0x2dcd(%rip),%rdi
lea    0xda9(%rip),%rsi
call   1030 <strcat@plt>
test   $0x40,%bl
je     1159 <material_color_name+0x49>
lea    0x2db1(%rip),%rdi
lea    0xd94(%rip),%rsi
call   1030 <strcat@plt>
test   $0x80,%bl
je     1162 <material_color_name+0x52>
lea    0x2d95(%rip),%rdi
lea    0xd7e(%rip),%rsi
call   1030 <strcat@plt>
test   $0x100,%ebx
je     116e <material_color_name+0x5e>
lea    0x2d76(%rip),%rdi
lea    0xd67(%rip),%rsi
call   1030 <strcat@plt>
test   $0x200,%ebx
je     117a <material_color_name+0x6a>
lea    0x2d57(%rip),%rdi
lea    0xd50(%rip),%rsi
call   1030 <strcat@plt>
test   $0x400,%ebx
je     1186 <material_color_name+0x76>
lea    0x2d38(%rip),%rdi
lea    0xd37(%rip),%rsi
call   1030 <strcat@plt>
test   $0x1000,%ebx
je     1192 <material_color_name+0x82>
lea    0x2d19(%rip),%rdi
lea    0xd1f(%rip),%rsi
call   1030 <strcat@plt>
test   $0x800,%ebx
je     119e <material_color_name+0x8e>
lea    0x2cfa(%rip),%rdi
lea    0xd06(%rip),%rsi
call   1030 <strcat@plt>
test   $0x2000,%ebx
je     11aa <material_color_name+0x9a>
lea    0x2cdb(%rip),%rdi
lea    0xcee(%rip),%rsi
call   1030 <strcat@plt>
test   $0x4000,%ebx
jne    11b2 <material_color_name+0xa2>
jmp    11c5 <material_color_name+0xb5>

LLVM IR (-O0):
@material_color_name.buf = internal global [512 x i8] zeroinitializer
@.str = [7 x i8] c" black\00"
@.str.1 = [7 x i8] c" white\00"
@.str.2 = [5 x i8] c" red\00"
@.str.3 = [8 x i8] c" orange\00"
@.str.4 = [8 x i8] c" yellow\00"
@.str.5 = [7 x i8] c" green\00"
@.str.6 = [6 x i8] c" blue\00"
@.str.7 = [8 x i8] c" purple\00"
@.str.8 = [8 x i8] c" silver\00"
@.str.9 = [6 x i8] c" gold\00"
@.str.10 = [7 x i8] c" brown\00"
@.str.11 = [6 x i8] c" dark\00"
@.str.12 = [7 x i8] c" light\00"
@.str.13 = [13 x i8] c" transparent\00"
@.str.14 = [13 x i8] c" translucent\00"
@.str.15 = [5 x i8] c"none\00"
define i8* @material_color_name(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
store i8 0, i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, 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 ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 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 ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 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 ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 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 ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
br label %26
26: ; preds = %24, %20
%27 = load i32, i32* %2
%28 = and i32 %27, 16
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
br label %32
32: ; preds = %30, %26
%33 = load i32, i32* %2
%34 = and i32 %33, 32
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %38
38: ; preds = %36, %32
%39 = load i32, i32* %2
%40 = and i32 %39, 64
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
br label %44
44: ; preds = %42, %38
%45 = load i32, i32* %2
%46 = and i32 %45, 128
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0))
br label %50
50: ; preds = %48, %44
%51 = load i32, i32* %2
%52 = and i32 %51, 256
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
br label %56
56: ; preds = %54, %50
%57 = load i32, i32* %2
%58 = and i32 %57, 512
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %56
%61 = call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
br label %62
62: ; preds = %60, %56
%63 = load i32, i32* %2
%64 = and i32 %63, 1024
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %62
%67 = call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0))
br label %68
68: ; preds = %66, %62
%69 = load i32, i32* %2
%70 = and i32 %69, 4096
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %68
%73 = call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, 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 ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, 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 ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0))
br label %86
86: ; preds = %84, %80
%87 = load i32, i32* %2
%88 = and i32 %87, 16384
%89 = icmp ne i32 %88, 0
br i1 %89, label %90, label %92
90: ; preds = %86
%91 = call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0))
br label %92
92: ; preds = %90, %86
%93 = load i8, i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0)
%94 = sext i8 %93 to i32
%95 = icmp ne i32 %94, 0
%96 = zext i1 %95 to i64
%97 = select i1 %95, i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 1), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0)
ret i8* %97
}

LLVM IR (-O2):
@material_color_name.buf = internal global [512 x i8] zeroinitializer
@.str = [7 x i8] c" black\00"
@.str.1 = [7 x i8] c" white\00"
@.str.2 = [5 x i8] c" red\00"
@.str.3 = [8 x i8] c" orange\00"
@.str.4 = [8 x i8] c" yellow\00"
@.str.5 = [7 x i8] c" green\00"
@.str.6 = [6 x i8] c" blue\00"
@.str.7 = [8 x i8] c" purple\00"
@.str.8 = [8 x i8] c" silver\00"
@.str.9 = [6 x i8] c" gold\00"
@.str.10 = [7 x i8] c" brown\00"
@.str.11 = [6 x i8] c" dark\00"
@.str.12 = [7 x i8] c" light\00"
@.str.13 = [13 x i8] c" transparent\00"
@.str.14 = [13 x i8] c" translucent\00"
@.str.15 = [5 x i8] c"none\00"
define i8* @material_color_name(i32 %0) {
store i8 0, i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, 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 ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 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 ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 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 ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 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 ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
br label %21
21: ; preds = %19, %16
%22 = and i32 %0, 16
%23 = icmp eq i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = tail call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
br label %26
26: ; preds = %24, %21
%27 = and i32 %0, 32
%28 = icmp eq i32 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %26
%30 = tail call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %31
31: ; preds = %29, %26
%32 = and i32 %0, 64
%33 = icmp eq i32 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %31
%35 = tail call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
br label %36
36: ; preds = %34, %31
%37 = and i32 %0, 128
%38 = icmp eq i32 %37, 0
br i1 %38, label %41, label %39
39: ; preds = %36
%40 = tail call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0))
br label %41
41: ; preds = %39, %36
%42 = and i32 %0, 256
%43 = icmp eq i32 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %41
%45 = tail call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
br label %46
46: ; preds = %44, %41
%47 = and i32 %0, 512
%48 = icmp eq i32 %47, 0
br i1 %48, label %51, label %49
49: ; preds = %46
%50 = tail call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
br label %51
51: ; preds = %49, %46
%52 = and i32 %0, 1024
%53 = icmp eq i32 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %51
%55 = tail call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0))
br label %56
56: ; preds = %54, %51
%57 = and i32 %0, 4096
%58 = icmp eq i32 %57, 0
br i1 %58, label %61, label %59
59: ; preds = %56
%60 = tail call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, 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 ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, 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 ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0))
br label %71
71: ; preds = %69, %66
%72 = and i32 %0, 16384
%73 = icmp eq i32 %72, 0
br i1 %73, label %76, label %74
74: ; preds = %71
%75 = tail call i32 @strcat(i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0))
br label %76
76: ; preds = %74, %71
%77 = load i8, i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 0)
%78 = icmp eq i8 %77, 0
%79 = select i1 %78, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([512 x i8], [512 x i8]* @material_color_name.buf, i64 0, i64 1)
ret i8* %79
}