#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 */
char *OC_mkConstVarDec(char *);
char *UTIL_appendStr(char *, char *);
int /*<<< orphan*/ free(char *);
char *OC_mkGenericConstVarDec(char *decList) {
  char *text;
  char *dec;
  dec = OC_mkConstVarDec("genericApplyConstant");
  text = UTIL_appendStr(decList, dec);
  free(decList);
  free(dec);
  decList = text;
  dec = OC_mkConstVarDec("overloadUMinusConstant");
  text = UTIL_appendStr(decList, dec);
  free(decList);
  free(dec);
  decList = text;
  dec = OC_mkConstVarDec("overloadAbsConstant");
  text = UTIL_appendStr(decList, dec);
  free(decList);
  free(dec);
  decList = text;
  dec = OC_mkConstVarDec("overloadPlusConstant");
  text = UTIL_appendStr(decList, dec);
  free(decList);
  free(dec);
  decList = text;
  dec = OC_mkConstVarDec("overloadMinusConstant");
  text = UTIL_appendStr(decList, dec);
  free(decList);
  free(dec);
  decList = text;
  dec = OC_mkConstVarDec("overloadTimeConstant");
  text = UTIL_appendStr(decList, dec);
  free(decList);
  free(dec);
  decList = text;
  dec = OC_mkConstVarDec("overloadLTConstant");
  text = UTIL_appendStr(decList, dec);
  free(decList);
  free(dec);
  decList = text;
  dec = OC_mkConstVarDec("overloadGTConstant");
  text = UTIL_appendStr(decList, dec);
  free(decList);
  free(dec);
  decList = text;
  dec = OC_mkConstVarDec("overloadLEConstant");
  text = UTIL_appendStr(decList, dec);
  free(decList);
  free(dec);
  decList = text;
  dec = OC_mkConstVarDec("overloadGEConstant");
  text = UTIL_appendStr(decList, dec);
  free(decList);
  free(dec);
  decList = text;
  return decList;
}


x86 assembly (clang, -O0):
<OC_mkGenericConstVarDec>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xebd(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x8(%rbp)
lea    0xe97(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x8(%rbp)
lea    0xe73(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x8(%rbp)
lea    0xe4c(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x8(%rbp)
lea    0xe26(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x8(%rbp)
lea    0xe01(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x8(%rbp)
lea    0xddb(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x8(%rbp)
lea    0xdb3(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x8(%rbp)
lea    0xd8b(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x8(%rbp)
lea    0xd63(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<OC_mkGenericConstVarDec>:
push   %r15
push   %r14
push   %rbx
mov    %rdi,%r14
lea    0xec1(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,%rbx
mov    %r14,%rdi
mov    %rax,%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,%r15
mov    %r14,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
lea    0xea9(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,%rbx
mov    %r15,%rdi
mov    %rax,%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,%r14
mov    %r15,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
lea    0xe93(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,%rbx
mov    %r14,%rdi
mov    %rax,%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,%r15
mov    %r14,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
lea    0xe7a(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,%rbx
mov    %r15,%rdi
mov    %rax,%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,%r14
mov    %r15,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
lea    0xe62(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,%rbx
mov    %r14,%rdi
mov    %rax,%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,%r15
mov    %r14,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
lea    0xe4b(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,%rbx
mov    %r15,%rdi
mov    %rax,%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,%r14
mov    %r15,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
lea    0xe33(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,%rbx
mov    %r14,%rdi
mov    %rax,%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,%r15
mov    %r14,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
lea    0xe19(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,%rbx
mov    %r15,%rdi
mov    %rax,%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,%r14
mov    %r15,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
lea    0xdff(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,%rbx
mov    %r14,%rdi
mov    %rax,%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,%r15
mov    %r14,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
lea    0xde5(%rip),%rdi
call   1050 <OC_mkConstVarDec@plt>
mov    %rax,%rbx
mov    %r15,%rdi
mov    %rax,%rsi
call   1040 <UTIL_appendStr@plt>
mov    %rax,%r14
mov    %r15,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %r14,%rax
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [21 x i8] c"genericApplyConstant\00"
@.str.1 = [23 x i8] c"overloadUMinusConstant\00"
@.str.2 = [20 x i8] c"overloadAbsConstant\00"
@.str.3 = [21 x i8] c"overloadPlusConstant\00"
@.str.4 = [22 x i8] c"overloadMinusConstant\00"
@.str.5 = [21 x i8] c"overloadTimeConstant\00"
@.str.6 = [19 x i8] c"overloadLTConstant\00"
@.str.7 = [19 x i8] c"overloadGTConstant\00"
@.str.8 = [19 x i8] c"overloadLEConstant\00"
@.str.9 = [19 x i8] c"overloadGEConstant\00"
define i8* @OC_mkGenericConstVarDec(i8* %0) {
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca i8*
store i8* %0, i8** %2
%5 = call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
store i8* %5, i8** %4
%6 = load i8*, i8** %2
%7 = load i8*, i8** %4
%8 = call i8* @UTIL_appendStr(i8* %6, i8* %7)
store i8* %8, i8** %3
%9 = load i8*, i8** %2
%10 = call i32 @free(i8* %9)
%11 = load i8*, i8** %4
%12 = call i32 @free(i8* %11)
%13 = load i8*, i8** %3
store i8* %13, i8** %2
%14 = call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0))
store i8* %14, i8** %4
%15 = load i8*, i8** %2
%16 = load i8*, i8** %4
%17 = call i8* @UTIL_appendStr(i8* %15, i8* %16)
store i8* %17, i8** %3
%18 = load i8*, i8** %2
%19 = call i32 @free(i8* %18)
%20 = load i8*, i8** %4
%21 = call i32 @free(i8* %20)
%22 = load i8*, i8** %3
store i8* %22, i8** %2
%23 = call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0))
store i8* %23, i8** %4
%24 = load i8*, i8** %2
%25 = load i8*, i8** %4
%26 = call i8* @UTIL_appendStr(i8* %24, i8* %25)
store i8* %26, i8** %3
%27 = load i8*, i8** %2
%28 = call i32 @free(i8* %27)
%29 = load i8*, i8** %4
%30 = call i32 @free(i8* %29)
%31 = load i8*, i8** %3
store i8* %31, i8** %2
%32 = call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0))
store i8* %32, i8** %4
%33 = load i8*, i8** %2
%34 = load i8*, i8** %4
%35 = call i8* @UTIL_appendStr(i8* %33, i8* %34)
store i8* %35, i8** %3
%36 = load i8*, i8** %2
%37 = call i32 @free(i8* %36)
%38 = load i8*, i8** %4
%39 = call i32 @free(i8* %38)
%40 = load i8*, i8** %3
store i8* %40, i8** %2
%41 = call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
store i8* %41, i8** %4
%42 = load i8*, i8** %2
%43 = load i8*, i8** %4
%44 = call i8* @UTIL_appendStr(i8* %42, i8* %43)
store i8* %44, i8** %3
%45 = load i8*, i8** %2
%46 = call i32 @free(i8* %45)
%47 = load i8*, i8** %4
%48 = call i32 @free(i8* %47)
%49 = load i8*, i8** %3
store i8* %49, i8** %2
%50 = call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
store i8* %50, i8** %4
%51 = load i8*, i8** %2
%52 = load i8*, i8** %4
%53 = call i8* @UTIL_appendStr(i8* %51, i8* %52)
store i8* %53, i8** %3
%54 = load i8*, i8** %2
%55 = call i32 @free(i8* %54)
%56 = load i8*, i8** %4
%57 = call i32 @free(i8* %56)
%58 = load i8*, i8** %3
store i8* %58, i8** %2
%59 = call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0))
store i8* %59, i8** %4
%60 = load i8*, i8** %2
%61 = load i8*, i8** %4
%62 = call i8* @UTIL_appendStr(i8* %60, i8* %61)
store i8* %62, i8** %3
%63 = load i8*, i8** %2
%64 = call i32 @free(i8* %63)
%65 = load i8*, i8** %4
%66 = call i32 @free(i8* %65)
%67 = load i8*, i8** %3
store i8* %67, i8** %2
%68 = call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0))
store i8* %68, i8** %4
%69 = load i8*, i8** %2
%70 = load i8*, i8** %4
%71 = call i8* @UTIL_appendStr(i8* %69, i8* %70)
store i8* %71, i8** %3
%72 = load i8*, i8** %2
%73 = call i32 @free(i8* %72)
%74 = load i8*, i8** %4
%75 = call i32 @free(i8* %74)
%76 = load i8*, i8** %3
store i8* %76, i8** %2
%77 = call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
store i8* %77, i8** %4
%78 = load i8*, i8** %2
%79 = load i8*, i8** %4
%80 = call i8* @UTIL_appendStr(i8* %78, i8* %79)
store i8* %80, i8** %3
%81 = load i8*, i8** %2
%82 = call i32 @free(i8* %81)
%83 = load i8*, i8** %4
%84 = call i32 @free(i8* %83)
%85 = load i8*, i8** %3
store i8* %85, i8** %2
%86 = call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0))
store i8* %86, i8** %4
%87 = load i8*, i8** %2
%88 = load i8*, i8** %4
%89 = call i8* @UTIL_appendStr(i8* %87, i8* %88)
store i8* %89, i8** %3
%90 = load i8*, i8** %2
%91 = call i32 @free(i8* %90)
%92 = load i8*, i8** %4
%93 = call i32 @free(i8* %92)
%94 = load i8*, i8** %3
store i8* %94, i8** %2
%95 = load i8*, i8** %2
ret i8* %95
}

LLVM IR (-O2):
@.str = [21 x i8] c"genericApplyConstant\00"
@.str.1 = [23 x i8] c"overloadUMinusConstant\00"
@.str.2 = [20 x i8] c"overloadAbsConstant\00"
@.str.3 = [21 x i8] c"overloadPlusConstant\00"
@.str.4 = [22 x i8] c"overloadMinusConstant\00"
@.str.5 = [21 x i8] c"overloadTimeConstant\00"
@.str.6 = [19 x i8] c"overloadLTConstant\00"
@.str.7 = [19 x i8] c"overloadGTConstant\00"
@.str.8 = [19 x i8] c"overloadLEConstant\00"
@.str.9 = [19 x i8] c"overloadGEConstant\00"
define i8* @OC_mkGenericConstVarDec(i8* %0) {
%2 = tail call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%3 = tail call i8* @UTIL_appendStr(i8* %0, i8* %2)
%4 = tail call i32 @free(i8* %0)
%5 = tail call i32 @free(i8* %2)
%6 = tail call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0))
%7 = tail call i8* @UTIL_appendStr(i8* %3, i8* %6)
%8 = tail call i32 @free(i8* %3)
%9 = tail call i32 @free(i8* %6)
%10 = tail call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0))
%11 = tail call i8* @UTIL_appendStr(i8* %7, i8* %10)
%12 = tail call i32 @free(i8* %7)
%13 = tail call i32 @free(i8* %10)
%14 = tail call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0))
%15 = tail call i8* @UTIL_appendStr(i8* %11, i8* %14)
%16 = tail call i32 @free(i8* %11)
%17 = tail call i32 @free(i8* %14)
%18 = tail call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%19 = tail call i8* @UTIL_appendStr(i8* %15, i8* %18)
%20 = tail call i32 @free(i8* %15)
%21 = tail call i32 @free(i8* %18)
%22 = tail call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
%23 = tail call i8* @UTIL_appendStr(i8* %19, i8* %22)
%24 = tail call i32 @free(i8* %19)
%25 = tail call i32 @free(i8* %22)
%26 = tail call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0))
%27 = tail call i8* @UTIL_appendStr(i8* %23, i8* %26)
%28 = tail call i32 @free(i8* %23)
%29 = tail call i32 @free(i8* %26)
%30 = tail call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0))
%31 = tail call i8* @UTIL_appendStr(i8* %27, i8* %30)
%32 = tail call i32 @free(i8* %27)
%33 = tail call i32 @free(i8* %30)
%34 = tail call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
%35 = tail call i8* @UTIL_appendStr(i8* %31, i8* %34)
%36 = tail call i32 @free(i8* %31)
%37 = tail call i32 @free(i8* %34)
%38 = tail call i8* @OC_mkConstVarDec(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0))
%39 = tail call i8* @UTIL_appendStr(i8* %35, i8* %38)
%40 = tail call i32 @free(i8* %35)
%41 = tail call i32 @free(i8* %38)
ret i8* %39
}