#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 SIGABRT;
int SIGALRM;
int SIGCHLD;
int SIGCONT;
int SIGFPE;
int SIGHUP;
int SIGILL;
int SIGINT;
int SIGKILL;
int SIGPIPE;
int SIGQUIT;
int SIGSEGV;
int SIGSTOP;
int SIGTERM;
int SIGTSTP;
int SIGTTIN;
int SIGTTOU;
int SIGUSR1;
int SIGUSR2;
int /*<<< orphan*/ printf(char *, int);
void signal_print() {
  printf("signal SIGHUP = %d\n", SIGHUP);
  printf("signal SIGINT = %d\n", SIGINT);
  printf("signal SIGQUIT= %d\n", SIGQUIT);
  printf("signal SIGILL = %d\n", SIGILL);
  printf("signal SIGABRT= %d\n", SIGABRT);
  printf("signal SIGFPE = %d\n", SIGFPE);
  printf("signal SIGKILL= %d\n", SIGKILL);
  printf("signal SIGSEGV= %d\n", SIGSEGV);
  printf("signal SIGPIPE= %d\n", SIGPIPE);
  printf("signal SIGALRM= %d\n", SIGALRM);
  printf("signal SIGTERM= %d\n", SIGTERM);
  printf("signal SIGUSR1= %d\n", SIGUSR1);
  printf("signal SIGUSR2= %d\n", SIGUSR2);
  printf("signal SIGCHLD= %d\n", SIGCHLD);
  printf("signal SIGCONT= %d\n", SIGCONT);
  printf("signal SIGSTOP= %d\n", SIGSTOP);
  printf("signal SIGTSTP= %d\n", SIGTSTP);
  printf("signal SIGTTIN= %d\n", SIGTTIN);
  printf("signal SIGTTOU= %d\n", SIGTTOU);
}


x86 assembly (clang, -O0):
<signal_print>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ed5(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e88(%rip),%rax
mov    (%rax),%esi
lea    0xedb(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e63(%rip),%rax
mov    (%rax),%esi
lea    0xeda(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e26(%rip),%rax
mov    (%rax),%esi
lea    0xed9(%rip),%rdi
call   1030 <printf@plt>
mov    0x2de9(%rip),%rax
mov    (%rax),%esi
lea    0xed8(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e1c(%rip),%rax
mov    (%rax),%esi
lea    0xed7(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dc7(%rip),%rax
mov    (%rax),%esi
lea    0xed6(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e1a(%rip),%rax
mov    (%rax),%esi
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
mov    0x2da5(%rip),%rax
mov    (%rax),%esi
lea    0xed4(%rip),%rdi
call   1030 <printf@plt>
mov    0x2de8(%rip),%rax
mov    (%rax),%esi
lea    0xed3(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dc3(%rip),%rax
mov    (%rax),%esi
lea    0xed2(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dd6(%rip),%rax
mov    (%rax),%esi
lea    0xed1(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d59(%rip),%rax
mov    (%rax),%esi
lea    0xed0(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d6c(%rip),%rax
mov    (%rax),%esi
lea    0xecf(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d8f(%rip),%rax
mov    (%rax),%esi
lea    0xece(%rip),%rdi
call   1030 <printf@plt>
mov    0x2cfa(%rip),%rax
mov    (%rax),%esi
lea    0xecd(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d25(%rip),%rax
mov    (%rax),%esi
lea    0xecc(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d08(%rip),%rax
mov    (%rax),%esi
lea    0xecb(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d4b(%rip),%rax
mov    (%rax),%esi
lea    0xeca(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<signal_print>:
push   %rax
mov    0x2ed8(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e8b(%rip),%rax
mov    (%rax),%esi
lea    0xede(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e66(%rip),%rax
mov    (%rax),%esi
lea    0xedd(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e29(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dec(%rip),%rax
mov    (%rax),%esi
lea    0xedb(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e1f(%rip),%rax
mov    (%rax),%esi
lea    0xeda(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dca(%rip),%rax
mov    (%rax),%esi
lea    0xed9(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e1d(%rip),%rax
mov    (%rax),%esi
lea    0xed8(%rip),%rdi
call   1030 <printf@plt>
mov    0x2da8(%rip),%rax
mov    (%rax),%esi
lea    0xed7(%rip),%rdi
call   1030 <printf@plt>
mov    0x2deb(%rip),%rax
mov    (%rax),%esi
lea    0xed6(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dc6(%rip),%rax
mov    (%rax),%esi
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dd9(%rip),%rax
mov    (%rax),%esi
lea    0xed4(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d5c(%rip),%rax
mov    (%rax),%esi
lea    0xed3(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d6f(%rip),%rax
mov    (%rax),%esi
lea    0xed2(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d92(%rip),%rax
mov    (%rax),%esi
lea    0xed1(%rip),%rdi
call   1030 <printf@plt>
mov    0x2cfd(%rip),%rax
mov    (%rax),%esi
lea    0xed0(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d28(%rip),%rax
mov    (%rax),%esi
lea    0xecf(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d0b(%rip),%rax
mov    (%rax),%esi
lea    0xece(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d4e(%rip),%rax
mov    (%rax),%esi
lea    0xecd(%rip),%rdi
pop    %rax
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [20 x i8] c"signal SIGHUP = %d\0A\00"
@SIGHUP = global i32 0
@.str.1 = [20 x i8] c"signal SIGINT = %d\0A\00"
@SIGINT = global i32 0
@.str.2 = [20 x i8] c"signal SIGQUIT= %d\0A\00"
@SIGQUIT = global i32 0
@.str.3 = [20 x i8] c"signal SIGILL = %d\0A\00"
@SIGILL = global i32 0
@.str.4 = [20 x i8] c"signal SIGABRT= %d\0A\00"
@SIGABRT = global i32 0
@.str.5 = [20 x i8] c"signal SIGFPE = %d\0A\00"
@SIGFPE = global i32 0
@.str.6 = [20 x i8] c"signal SIGKILL= %d\0A\00"
@SIGKILL = global i32 0
@.str.7 = [20 x i8] c"signal SIGSEGV= %d\0A\00"
@SIGSEGV = global i32 0
@.str.8 = [20 x i8] c"signal SIGPIPE= %d\0A\00"
@SIGPIPE = global i32 0
@.str.9 = [20 x i8] c"signal SIGALRM= %d\0A\00"
@SIGALRM = global i32 0
@.str.10 = [20 x i8] c"signal SIGTERM= %d\0A\00"
@SIGTERM = global i32 0
@.str.11 = [20 x i8] c"signal SIGUSR1= %d\0A\00"
@SIGUSR1 = global i32 0
@.str.12 = [20 x i8] c"signal SIGUSR2= %d\0A\00"
@SIGUSR2 = global i32 0
@.str.13 = [20 x i8] c"signal SIGCHLD= %d\0A\00"
@SIGCHLD = global i32 0
@.str.14 = [20 x i8] c"signal SIGCONT= %d\0A\00"
@SIGCONT = global i32 0
@.str.15 = [20 x i8] c"signal SIGSTOP= %d\0A\00"
@SIGSTOP = global i32 0
@.str.16 = [20 x i8] c"signal SIGTSTP= %d\0A\00"
@SIGTSTP = global i32 0
@.str.17 = [20 x i8] c"signal SIGTTIN= %d\0A\00"
@SIGTTIN = global i32 0
@.str.18 = [20 x i8] c"signal SIGTTOU= %d\0A\00"
@SIGTTOU = global i32 0
define void @signal_print() {
%1 = load i32, i32* @SIGHUP
%2 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @SIGINT
%4 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @SIGQUIT
%6 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @SIGILL
%8 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @SIGABRT
%10 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @SIGFPE
%12 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @SIGKILL
%14 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @SIGSEGV
%16 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @SIGPIPE
%18 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @SIGALRM
%20 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i32 %19)
%21 = load i32, i32* @SIGTERM
%22 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i32 %21)
%23 = load i32, i32* @SIGUSR1
%24 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.11, i64 0, i64 0), i32 %23)
%25 = load i32, i32* @SIGUSR2
%26 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.12, i64 0, i64 0), i32 %25)
%27 = load i32, i32* @SIGCHLD
%28 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.13, i64 0, i64 0), i32 %27)
%29 = load i32, i32* @SIGCONT
%30 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.14, i64 0, i64 0), i32 %29)
%31 = load i32, i32* @SIGSTOP
%32 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.15, i64 0, i64 0), i32 %31)
%33 = load i32, i32* @SIGTSTP
%34 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.16, i64 0, i64 0), i32 %33)
%35 = load i32, i32* @SIGTTIN
%36 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.17, i64 0, i64 0), i32 %35)
%37 = load i32, i32* @SIGTTOU
%38 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.18, i64 0, i64 0), i32 %37)
ret void
}

LLVM IR (-O2):
@.str = [20 x i8] c"signal SIGHUP = %d\0A\00"
@SIGHUP = global i32 0
@.str.1 = [20 x i8] c"signal SIGINT = %d\0A\00"
@SIGINT = global i32 0
@.str.2 = [20 x i8] c"signal SIGQUIT= %d\0A\00"
@SIGQUIT = global i32 0
@.str.3 = [20 x i8] c"signal SIGILL = %d\0A\00"
@SIGILL = global i32 0
@.str.4 = [20 x i8] c"signal SIGABRT= %d\0A\00"
@SIGABRT = global i32 0
@.str.5 = [20 x i8] c"signal SIGFPE = %d\0A\00"
@SIGFPE = global i32 0
@.str.6 = [20 x i8] c"signal SIGKILL= %d\0A\00"
@SIGKILL = global i32 0
@.str.7 = [20 x i8] c"signal SIGSEGV= %d\0A\00"
@SIGSEGV = global i32 0
@.str.8 = [20 x i8] c"signal SIGPIPE= %d\0A\00"
@SIGPIPE = global i32 0
@.str.9 = [20 x i8] c"signal SIGALRM= %d\0A\00"
@SIGALRM = global i32 0
@.str.10 = [20 x i8] c"signal SIGTERM= %d\0A\00"
@SIGTERM = global i32 0
@.str.11 = [20 x i8] c"signal SIGUSR1= %d\0A\00"
@SIGUSR1 = global i32 0
@.str.12 = [20 x i8] c"signal SIGUSR2= %d\0A\00"
@SIGUSR2 = global i32 0
@.str.13 = [20 x i8] c"signal SIGCHLD= %d\0A\00"
@SIGCHLD = global i32 0
@.str.14 = [20 x i8] c"signal SIGCONT= %d\0A\00"
@SIGCONT = global i32 0
@.str.15 = [20 x i8] c"signal SIGSTOP= %d\0A\00"
@SIGSTOP = global i32 0
@.str.16 = [20 x i8] c"signal SIGTSTP= %d\0A\00"
@SIGTSTP = global i32 0
@.str.17 = [20 x i8] c"signal SIGTTIN= %d\0A\00"
@SIGTTIN = global i32 0
@.str.18 = [20 x i8] c"signal SIGTTOU= %d\0A\00"
@SIGTTOU = global i32 0
define void @signal_print() {
%1 = load i32, i32* @SIGHUP
%2 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @SIGINT
%4 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @SIGQUIT
%6 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @SIGILL
%8 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @SIGABRT
%10 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @SIGFPE
%12 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @SIGKILL
%14 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @SIGSEGV
%16 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @SIGPIPE
%18 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @SIGALRM
%20 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i32 %19)
%21 = load i32, i32* @SIGTERM
%22 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i32 %21)
%23 = load i32, i32* @SIGUSR1
%24 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.11, i64 0, i64 0), i32 %23)
%25 = load i32, i32* @SIGUSR2
%26 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.12, i64 0, i64 0), i32 %25)
%27 = load i32, i32* @SIGCHLD
%28 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.13, i64 0, i64 0), i32 %27)
%29 = load i32, i32* @SIGCONT
%30 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.14, i64 0, i64 0), i32 %29)
%31 = load i32, i32* @SIGSTOP
%32 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.15, i64 0, i64 0), i32 %31)
%33 = load i32, i32* @SIGTSTP
%34 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.16, i64 0, i64 0), i32 %33)
%35 = load i32, i32* @SIGTTIN
%36 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.17, i64 0, i64 0), i32 %35)
%37 = load i32, i32* @SIGTTOU
%38 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.18, i64 0, i64 0), i32 %37)
ret void
}