#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 */
size_t abs(int);
char *CL_ERR_STRING(int i) {
  const char *CL_ERR_STR_LIST[64] = {
      "CL_SUCCESS",
      "CL_DEVICE_NOT_FOUND",
      "CL_DEVICE_NOT_AVAILABLE",
      "CL_COMPILER_NOT_AVAILABLE",
      "CL_MEM_OBJECT_ALLOCATION_FAILURE",
      "CL_OUT_OF_RESOURCES",
      "CL_OUT_OF_HOST_MEMORY",
      "CL_PROFILING_INFO_NOT_AVAILABLE",
      "CL_MEM_COPY_OVERLAP",
      "CL_IMAGE_FORMAT_MISMATCH",
      "CL_IMAGE_FORMAT_NOT_SUPPORTED",
      "CL_BUILD_PROGRAM_FAILURE",
      "CL_MAP_FAILURE",
      "CL_MISALIGNED_SUB_BUFFER_OFFSET",
      "CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST",
      "CL_INVALID_VALUE",
      "CL_INVALID_DEVICE_TYPE",
      "CL_INVALID_PLATFORM",
      "CL_INVALID_DEVICE",
      "CL_INVALID_CONTEXT",
      "CL_INVALID_QUEUE_PROPERTIES",
      "CL_INVALID_COMMAND_QUEUE",
      "CL_INVALID_HOST_PTR",
      "CL_INVALID_MEM_OBJECT",
      "CL_INVALID_IMAGE_FORMAT_DESCRIPTOR",
      "CL_INVALID_IMAGE_SIZE",
      "CL_INVALID_SAMPLER",
      "CL_INVALID_BINARY",
      "CL_INVALID_BUILD_OPTIONS",
      "CL_INVALID_PROGRAM",
      "CL_INVALID_PROGRAM_EXECUTABLE",
      "CL_INVALID_KERNEL_NAME",
      "CL_INVALID_KERNEL_DEFINITION",
      "CL_INVALID_KERNEL",
      "CL_INVALID_ARG_INDEX",
      "CL_INVALID_ARG_VALUE",
      "CL_INVALID_ARG_SIZE",
      "CL_INVALID_KERNEL_ARGS",
      "CL_INVALID_WORK_DIMENSION",
      "CL_INVALID_WORK_GROUP_SIZE",
      "CL_INVALID_WORK_ITEM_SIZE",
      "CL_INVALID_GLOBAL_OFFSET",
      "CL_INVALID_EVENT_WAIT_LIST",
      "CL_INVALID_EVENT",
      "CL_INVALID_OPERATION",
      "CL_INVALID_GL_OBJECT",
      "CL_INVALID_BUFFER_SIZE",
      "CL_INVALID_MIP_LEVEL",
      "CL_INVALID_GLOBAL_WORK_SIZE"};
  i = abs(i);
  if (i >= 30)
    i -= 16;
  if (abs(i) < 64 - 16)
    return (char *)CL_ERR_STR_LIST[abs(i)];
  return "Undefined";
}


x86 assembly (clang, -O0):
<CL_ERR_STRING>:
push   %rbp
mov    %rsp,%rbp
sub    $0x210,%rsp
mov    %edi,-0xc(%rbp)
lea    -0x210(%rbp),%rdi
lea    0x2ae4(%rip),%rsi
mov    $0x200,%edx
call   1040 <memcpy@plt>
mov    -0xc(%rbp),%edi
call   1030 <abs@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x1e,-0xc(%rbp)
jl     1164 <CL_ERR_STRING+0x44>
mov    -0xc(%rbp),%eax
sub    $0x10,%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%edi
call   1030 <abs@plt>
cmp    $0x30,%rax
jae    118f <CL_ERR_STRING+0x6f>
mov    -0xc(%rbp),%edi
call   1030 <abs@plt>
mov    -0x210(%rbp,%rax,8),%rax
ff
mov    %rax,-0x8(%rbp)
jmp    119a <CL_ERR_STRING+0x7a>
lea    0x12ef(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x210,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<CL_ERR_STRING>:
push   %rbx
call   1030 <abs@plt>
lea    -0x10(%rax),%ebx
cmp    $0x1e,%eax
cmovl  %eax,%ebx
mov    %ebx,%edi
call   1030 <abs@plt>
cmp    $0x2f,%rax
ja     1140 <CL_ERR_STRING+0x30>
mov    %ebx,%edi
call   1030 <abs@plt>
lea    0x2ae6(%rip),%rcx
mov    (%rcx,%rax,8),%rax
pop    %rbx
ret
lea    0x133e(%rip),%rax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [11 x i8] c"CL_SUCCESS\00"
@.str.1 = [20 x i8] c"CL_DEVICE_NOT_FOUND\00"
@.str.2 = [24 x i8] c"CL_DEVICE_NOT_AVAILABLE\00"
@.str.3 = [26 x i8] c"CL_COMPILER_NOT_AVAILABLE\00"
@.str.4 = [33 x i8] c"CL_MEM_OBJECT_ALLOCATION_FAILURE\00"
@.str.5 = [20 x i8] c"CL_OUT_OF_RESOURCES\00"
@.str.6 = [22 x i8] c"CL_OUT_OF_HOST_MEMORY\00"
@.str.7 = [32 x i8] c"CL_PROFILING_INFO_NOT_AVAILABLE\00"
@.str.8 = [20 x i8] c"CL_MEM_COPY_OVERLAP\00"
@.str.9 = [25 x i8] c"CL_IMAGE_FORMAT_MISMATCH\00"
@.str.10 = [30 x i8] c"CL_IMAGE_FORMAT_NOT_SUPPORTED\00"
@.str.11 = [25 x i8] c"CL_BUILD_PROGRAM_FAILURE\00"
@.str.12 = [15 x i8] c"CL_MAP_FAILURE\00"
@.str.13 = [32 x i8] c"CL_MISALIGNED_SUB_BUFFER_OFFSET\00"
@.str.14 = [45 x i8] c"CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST\00"
@.str.15 = [17 x i8] c"CL_INVALID_VALUE\00"
@.str.16 = [23 x i8] c"CL_INVALID_DEVICE_TYPE\00"
@.str.17 = [20 x i8] c"CL_INVALID_PLATFORM\00"
@.str.18 = [18 x i8] c"CL_INVALID_DEVICE\00"
@.str.19 = [19 x i8] c"CL_INVALID_CONTEXT\00"
@.str.20 = [28 x i8] c"CL_INVALID_QUEUE_PROPERTIES\00"
@.str.21 = [25 x i8] c"CL_INVALID_COMMAND_QUEUE\00"
@.str.22 = [20 x i8] c"CL_INVALID_HOST_PTR\00"
@.str.23 = [22 x i8] c"CL_INVALID_MEM_OBJECT\00"
@.str.24 = [35 x i8] c"CL_INVALID_IMAGE_FORMAT_DESCRIPTOR\00"
@.str.25 = [22 x i8] c"CL_INVALID_IMAGE_SIZE\00"
@.str.26 = [19 x i8] c"CL_INVALID_SAMPLER\00"
@.str.27 = [18 x i8] c"CL_INVALID_BINARY\00"
@.str.28 = [25 x i8] c"CL_INVALID_BUILD_OPTIONS\00"
@.str.29 = [19 x i8] c"CL_INVALID_PROGRAM\00"
@.str.30 = [30 x i8] c"CL_INVALID_PROGRAM_EXECUTABLE\00"
@.str.31 = [23 x i8] c"CL_INVALID_KERNEL_NAME\00"
@.str.32 = [29 x i8] c"CL_INVALID_KERNEL_DEFINITION\00"
@.str.33 = [18 x i8] c"CL_INVALID_KERNEL\00"
@.str.34 = [21 x i8] c"CL_INVALID_ARG_INDEX\00"
@.str.35 = [21 x i8] c"CL_INVALID_ARG_VALUE\00"
@.str.36 = [20 x i8] c"CL_INVALID_ARG_SIZE\00"
@.str.37 = [23 x i8] c"CL_INVALID_KERNEL_ARGS\00"
@.str.38 = [26 x i8] c"CL_INVALID_WORK_DIMENSION\00"
@.str.39 = [27 x i8] c"CL_INVALID_WORK_GROUP_SIZE\00"
@.str.40 = [26 x i8] c"CL_INVALID_WORK_ITEM_SIZE\00"
@.str.41 = [25 x i8] c"CL_INVALID_GLOBAL_OFFSET\00"
@.str.42 = [27 x i8] c"CL_INVALID_EVENT_WAIT_LIST\00"
@.str.43 = [17 x i8] c"CL_INVALID_EVENT\00"
@.str.44 = [21 x i8] c"CL_INVALID_OPERATION\00"
@.str.45 = [21 x i8] c"CL_INVALID_GL_OBJECT\00"
@.str.46 = [23 x i8] c"CL_INVALID_BUFFER_SIZE\00"
@.str.47 = [21 x i8] c"CL_INVALID_MIP_LEVEL\00"
@.str.48 = [28 x i8] c"CL_INVALID_GLOBAL_WORK_SIZE\00"
@__const.CL_ERR_STRING.CL_ERR_STR_LIST = <{ [49 x i8*], [15 x i8*] }> <{ [49 x i8*] [i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.25, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.26, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.27, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.28, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.29, i32 0, i32 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.30, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.31, i32 0, i32 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.32, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.33, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.34, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.35, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.36, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.37, i32 0, i32 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.38, i32 0, i32 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.39, i32 0, i32 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.40, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.41, i32 0, i32 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.42, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.43, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.44, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.45, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.46, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.47, i32 0, i32 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.48, i32 0, i32 0)], [15 x i8*] zeroinitializer }>
@.str.49 = [10 x i8] c"Undefined\00"
define i8* @CL_ERR_STRING(i32 %0) {
%2 = alloca i8*
%3 = alloca i32
%4 = alloca [64 x i8*]
store i32 %0, i32* %3
%5 = bitcast [64 x i8*]* %4 to i8*
%6 = load i32, i32* %3
%7 = call i64 @abs(i32 %6)
%8 = trunc i64 %7 to i32
store i32 %8, i32* %3
%9 = load i32, i32* %3
%10 = icmp sge i32 %9, 30
br i1 %10, label %11, label %14
11: ; preds = %1
%12 = load i32, i32* %3
%13 = sub nsw i32 %12, 16
store i32 %13, i32* %3
br label %14
14: ; preds = %11, %1
%15 = load i32, i32* %3
%16 = call i64 @abs(i32 %15)
%17 = icmp ult i64 %16, 48
br i1 %17, label %18, label %23
18: ; preds = %14
%19 = load i32, i32* %3
%20 = call i64 @abs(i32 %19)
%21 = getelementptr inbounds [64 x i8*], [64 x i8*]* %4, i64 0, i64 %20
%22 = load i8*, i8** %21
store i8* %22, i8** %2
br label %24
23: ; preds = %14
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.49, i64 0, i64 0), i8** %2
br label %24
24: ; preds = %23, %18
%25 = load i8*, i8** %2
ret i8* %25
}

LLVM IR (-O2):
@.str = [11 x i8] c"CL_SUCCESS\00"
@.str.1 = [20 x i8] c"CL_DEVICE_NOT_FOUND\00"
@.str.2 = [24 x i8] c"CL_DEVICE_NOT_AVAILABLE\00"
@.str.3 = [26 x i8] c"CL_COMPILER_NOT_AVAILABLE\00"
@.str.4 = [33 x i8] c"CL_MEM_OBJECT_ALLOCATION_FAILURE\00"
@.str.5 = [20 x i8] c"CL_OUT_OF_RESOURCES\00"
@.str.6 = [22 x i8] c"CL_OUT_OF_HOST_MEMORY\00"
@.str.7 = [32 x i8] c"CL_PROFILING_INFO_NOT_AVAILABLE\00"
@.str.8 = [20 x i8] c"CL_MEM_COPY_OVERLAP\00"
@.str.9 = [25 x i8] c"CL_IMAGE_FORMAT_MISMATCH\00"
@.str.10 = [30 x i8] c"CL_IMAGE_FORMAT_NOT_SUPPORTED\00"
@.str.11 = [25 x i8] c"CL_BUILD_PROGRAM_FAILURE\00"
@.str.12 = [15 x i8] c"CL_MAP_FAILURE\00"
@.str.13 = [32 x i8] c"CL_MISALIGNED_SUB_BUFFER_OFFSET\00"
@.str.14 = [45 x i8] c"CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST\00"
@.str.15 = [17 x i8] c"CL_INVALID_VALUE\00"
@.str.16 = [23 x i8] c"CL_INVALID_DEVICE_TYPE\00"
@.str.17 = [20 x i8] c"CL_INVALID_PLATFORM\00"
@.str.18 = [18 x i8] c"CL_INVALID_DEVICE\00"
@.str.19 = [19 x i8] c"CL_INVALID_CONTEXT\00"
@.str.20 = [28 x i8] c"CL_INVALID_QUEUE_PROPERTIES\00"
@.str.21 = [25 x i8] c"CL_INVALID_COMMAND_QUEUE\00"
@.str.22 = [20 x i8] c"CL_INVALID_HOST_PTR\00"
@.str.23 = [22 x i8] c"CL_INVALID_MEM_OBJECT\00"
@.str.24 = [35 x i8] c"CL_INVALID_IMAGE_FORMAT_DESCRIPTOR\00"
@.str.25 = [22 x i8] c"CL_INVALID_IMAGE_SIZE\00"
@.str.26 = [19 x i8] c"CL_INVALID_SAMPLER\00"
@.str.27 = [18 x i8] c"CL_INVALID_BINARY\00"
@.str.28 = [25 x i8] c"CL_INVALID_BUILD_OPTIONS\00"
@.str.29 = [19 x i8] c"CL_INVALID_PROGRAM\00"
@.str.30 = [30 x i8] c"CL_INVALID_PROGRAM_EXECUTABLE\00"
@.str.31 = [23 x i8] c"CL_INVALID_KERNEL_NAME\00"
@.str.32 = [29 x i8] c"CL_INVALID_KERNEL_DEFINITION\00"
@.str.33 = [18 x i8] c"CL_INVALID_KERNEL\00"
@.str.34 = [21 x i8] c"CL_INVALID_ARG_INDEX\00"
@.str.35 = [21 x i8] c"CL_INVALID_ARG_VALUE\00"
@.str.36 = [20 x i8] c"CL_INVALID_ARG_SIZE\00"
@.str.37 = [23 x i8] c"CL_INVALID_KERNEL_ARGS\00"
@.str.38 = [26 x i8] c"CL_INVALID_WORK_DIMENSION\00"
@.str.39 = [27 x i8] c"CL_INVALID_WORK_GROUP_SIZE\00"
@.str.40 = [26 x i8] c"CL_INVALID_WORK_ITEM_SIZE\00"
@.str.41 = [25 x i8] c"CL_INVALID_GLOBAL_OFFSET\00"
@.str.42 = [27 x i8] c"CL_INVALID_EVENT_WAIT_LIST\00"
@.str.43 = [17 x i8] c"CL_INVALID_EVENT\00"
@.str.44 = [21 x i8] c"CL_INVALID_OPERATION\00"
@.str.45 = [21 x i8] c"CL_INVALID_GL_OBJECT\00"
@.str.46 = [23 x i8] c"CL_INVALID_BUFFER_SIZE\00"
@.str.47 = [21 x i8] c"CL_INVALID_MIP_LEVEL\00"
@.str.48 = [28 x i8] c"CL_INVALID_GLOBAL_WORK_SIZE\00"
@__const.CL_ERR_STRING.CL_ERR_STR_LIST = <{ [49 x i8*], [15 x i8*] }> <{ [49 x i8*] [i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.25, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.26, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.27, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.28, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.29, i32 0, i32 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.30, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.31, i32 0, i32 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.32, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.33, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.34, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.35, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.36, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.37, i32 0, i32 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.38, i32 0, i32 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.39, i32 0, i32 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.40, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.41, i32 0, i32 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.42, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.43, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.44, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.45, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.46, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.47, i32 0, i32 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.48, i32 0, i32 0)], [15 x i8*] zeroinitializer }>
@.str.49 = [10 x i8] c"Undefined\00"
define i8* @CL_ERR_STRING(i32 %0) {
%2 = tail call i64 @abs(i32 %0)
%3 = trunc i64 %2 to i32
%4 = icmp sgt i32 %3, 29
%5 = add nsw i32 %3, -16
%6 = select i1 %4, i32 %5, i32 %3
%7 = tail call i64 @abs(i32 %6)
%8 = icmp ult i64 %7, 48
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = tail call i64 @abs(i32 %6)
%11 = getelementptr inbounds [64 x i8*], [64 x i8*]* bitcast (<{ [49 x i8*], [15 x i8*] }>* @__const.CL_ERR_STRING.CL_ERR_STR_LIST to [64 x i8*]*), i64 0, i64 %10
%12 = load i8*, i8** %11
br label %13
13: ; preds = %1, %9
%14 = phi i8* [ %12, %9 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.49, i64 0, i64 0), %1 ]
ret i8* %14
}