#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*/ IGRAPH_FINALLY_FREE();
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char const *, int,
                           char const *, char *);
char *igraph_strerror(int);
int /*<<< orphan*/ stderr;
void igraph_error_handler_printignore(const char *reason, const char *file,
                                      int line, int igraph_errno) {
  IGRAPH_FINALLY_FREE();
  fprintf(stderr, "Error at %s:%i :%s, %s\n", file, line, reason,
          igraph_strerror(igraph_errno));
}


x86 assembly (clang, -O0):
<igraph_error_handler_printignore>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
mov    $0x0,%al
call   1050 <IGRAPH_FINALLY_FREE@plt>
mov    0x2e8c(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x34(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x18(%rbp),%edi
call   1030 <igraph_strerror@plt>
mov    -0x34(%rbp),%edi
mov    -0x30(%rbp),%rdx
mov    -0x24(%rbp),%ecx
mov    -0x20(%rbp),%r8
mov    %rax,%r9
lea    0xe71(%rip),%rsi
call   1040 <fprintf@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<igraph_error_handler_printignore>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %ecx,%ebx
mov    %edx,%r14d
mov    %rsi,%r12
mov    %rdi,%r15
xor    %eax,%eax
call   1050 <IGRAPH_FINALLY_FREE@plt>
mov    0x2e8f(%rip),%rax
mov    (%rax),%ebp
mov    %ebx,%edi
call   1030 <igraph_strerror@plt>
lea    0xe9f(%rip),%rsi
mov    %ebp,%edi
mov    %r12,%rdx
mov    %r14d,%ecx
mov    %r15,%r8
mov    %rax,%r9
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [24 x i8] c"Error at %s:%i :%s, %s\0A\00"
define void @igraph_error_handler_printignore(i8* %0, i8* %1, i32 %2, i32 %3) {
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i32
store i8* %0, i8** %5
store i8* %1, i8** %6
store i32 %2, i32* %7
store i32 %3, i32* %8
%9 = call i32 (...) @IGRAPH_FINALLY_FREE()
%10 = load i32, i32* @stderr
%11 = load i8*, i8** %6
%12 = load i32, i32* %7
%13 = load i8*, i8** %5
%14 = load i32, i32* %8
%15 = call i8* @igraph_strerror(i32 %14)
%16 = call i32 @fprintf(i32 %10, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i8* %11, i32 %12, i8* %13, i8* %15)
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [24 x i8] c"Error at %s:%i :%s, %s\0A\00"
define void @igraph_error_handler_printignore(i8* %0, i8* %1, i32 %2, i32 %3) {
%5 = tail call i32 (...) @IGRAPH_FINALLY_FREE()
%6 = load i32, i32* @stderr
%7 = tail call i8* @igraph_strerror(i32 %3)
%8 = tail call i32 @fprintf(i32 %6, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i8* %1, i32 %2, i8* %0, i8* %7)
ret void
}