#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*/ EnvPrintRouter(void *, char *, char const *);
void AmbiguousReferenceErrorMessage(void *theEnv, const char *constructName,
                                    const char *findName) {
  EnvPrintRouter(theEnv, "werror", "Ambiguous reference to ");
  EnvPrintRouter(theEnv, "werror", constructName);
  EnvPrintRouter(theEnv, "werror", " ");
  EnvPrintRouter(theEnv, "werror", findName);
  EnvPrintRouter(theEnv, "werror",
                 ".\nIt is imported from more than one module.\n");
}


x86 assembly (clang, -O0):
<AmbiguousReferenceErrorMessage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xed1(%rip),%rsi
lea    0xed1(%rip),%rdx
call   1030 <EnvPrintRouter@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rdx
lea    0xeb6(%rip),%rsi
call   1030 <EnvPrintRouter@plt>
mov    -0x8(%rbp),%rdi
lea    0xea6(%rip),%rsi
lea    0xebc(%rip),%rdx
call   1030 <EnvPrintRouter@plt>
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xe8b(%rip),%rsi
call   1030 <EnvPrintRouter@plt>
mov    -0x8(%rbp),%rdi
lea    0xe7b(%rip),%rsi
lea    0xe93(%rip),%rdx
call   1030 <EnvPrintRouter@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<AmbiguousReferenceErrorMessage>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    %rdx,%r14
mov    %rsi,%r15
mov    %rdi,%rbx
lea    0xed8(%rip),%r12
lea    0xed8(%rip),%rdx
mov    %r12,%rsi
call   1030 <EnvPrintRouter@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
mov    %r15,%rdx
call   1030 <EnvPrintRouter@plt>
lea    0xed1(%rip),%rdx
mov    %rbx,%rdi
mov    %r12,%rsi
call   1030 <EnvPrintRouter@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
mov    %r14,%rdx
call   1030 <EnvPrintRouter@plt>
lea    0xeb3(%rip),%rdx
mov    %rbx,%rdi
mov    %r12,%rsi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
jmp    1030 <EnvPrintRouter@plt>

LLVM IR (-O0):
@.str = [7 x i8] c"werror\00"
@.str.1 = [24 x i8] c"Ambiguous reference to \00"
@.str.2 = [2 x i8] c" \00"
@.str.3 = [45 x i8] c".\0AIt is imported from more than one module.\0A\00"
define void @AmbiguousReferenceErrorMessage(i8* %0, i8* %1, i8* %2) {
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8*
store i8* %0, i8** %4
store i8* %1, i8** %5
store i8* %2, i8** %6
%7 = load i8*, i8** %4
%8 = call i32 @EnvPrintRouter(i8* %7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0))
%9 = load i8*, i8** %4
%10 = load i8*, i8** %5
%11 = call i32 @EnvPrintRouter(i8* %9, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* %10)
%12 = load i8*, i8** %4
%13 = call i32 @EnvPrintRouter(i8* %12, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%14 = load i8*, i8** %4
%15 = load i8*, i8** %6
%16 = call i32 @EnvPrintRouter(i8* %14, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* %15)
%17 = load i8*, i8** %4
%18 = call i32 @EnvPrintRouter(i8* %17, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [7 x i8] c"werror\00"
@.str.1 = [24 x i8] c"Ambiguous reference to \00"
@.str.2 = [2 x i8] c" \00"
@.str.3 = [45 x i8] c".\0AIt is imported from more than one module.\0A\00"
define void @AmbiguousReferenceErrorMessage(i8* %0, i8* %1, i8* %2) {
%4 = tail call i32 @EnvPrintRouter(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32 @EnvPrintRouter(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* %1)
%6 = tail call i32 @EnvPrintRouter(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%7 = tail call i32 @EnvPrintRouter(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* %2)
%8 = tail call i32 @EnvPrintRouter(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i64 0, i64 0))
ret void
}