#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*/ SIGABRT;
int /*<<< orphan*/ SIGBUS;
int /*<<< orphan*/ SIGFPE;
int /*<<< orphan*/ SIGHUP;
int /*<<< orphan*/ SIGILL;
int /*<<< orphan*/ SIGINT;
int /*<<< orphan*/ SIGPIPE;
int /*<<< orphan*/ SIGQUIT;
int /*<<< orphan*/ SIGSEGV;
int /*<<< orphan*/ SIGSYS;
int /*<<< orphan*/ SIGTERM;
int /*<<< orphan*/ SIGTSTP;
int /*<<< orphan*/ SIGTTIN;
int /*<<< orphan*/ SIGTTOU;
int /*<<< orphan*/ SIGUSR1;
int /*<<< orphan*/ SIGUSR2;
int /*<<< orphan*/ SIGXCPU;
int /*<<< orphan*/ SIGXFSZ;
int /*<<< orphan*/ SIG_DFL;
int /*<<< orphan*/ gt_xsignal(int /*<<< orphan*/, int /*<<< orphan*/);
void gt_sig_unregister_all(void) {
  (void)gt_xsignal(SIGABRT, SIG_DFL);
  (void)gt_xsignal(SIGBUS, SIG_DFL);
  (void)gt_xsignal(SIGFPE, SIG_DFL);
  (void)gt_xsignal(SIGHUP, SIG_DFL);
  (void)gt_xsignal(SIGILL, SIG_DFL);
  (void)gt_xsignal(SIGINT, SIG_DFL);
  (void)gt_xsignal(SIGPIPE, SIG_DFL);
  (void)gt_xsignal(SIGQUIT, SIG_DFL);
  (void)gt_xsignal(SIGSEGV, SIG_DFL);
  (void)gt_xsignal(SIGTERM, SIG_DFL);
  (void)gt_xsignal(SIGTSTP, SIG_DFL);
  (void)gt_xsignal(SIGTTIN, SIG_DFL);
  (void)gt_xsignal(SIGTTOU, SIG_DFL);
  (void)gt_xsignal(SIGUSR1, SIG_DFL);
  (void)gt_xsignal(SIGUSR2, SIG_DFL);
  (void)gt_xsignal(SIGSYS, SIG_DFL);
  (void)gt_xsignal(SIGXCPU, SIG_DFL);
  (void)gt_xsignal(SIGXFSZ, SIG_DFL);
}


x86 assembly (clang, -O0):
<gt_sig_unregister_all>:
push   %rbp
mov    %rsp,%rbp
mov    0x2e35(%rip),%rax
mov    (%rax),%edi
mov    0x2e3c(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2eb6(%rip),%rax
mov    (%rax),%edi
mov    0x2e25(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2e5f(%rip),%rax
mov    (%rax),%edi
mov    0x2e0e(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2e90(%rip),%rax
mov    (%rax),%edi
mov    0x2df7(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2e11(%rip),%rax
mov    (%rax),%edi
mov    0x2de0(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2e32(%rip),%rax
mov    (%rax),%edi
mov    0x2dc9(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2dcb(%rip),%rax
mov    (%rax),%edi
mov    0x2db2(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2df4(%rip),%rax
mov    (%rax),%edi
mov    0x2d9b(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2df5(%rip),%rax
mov    (%rax),%edi
mov    0x2d84(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2dce(%rip),%rax
mov    (%rax),%edi
mov    0x2d6d(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2d97(%rip),%rax
mov    (%rax),%edi
mov    0x2d56(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2d78(%rip),%rax
mov    (%rax),%edi
mov    0x2d3f(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2da9(%rip),%rax
mov    (%rax),%edi
mov    0x2d28(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2d8a(%rip),%rax
mov    (%rax),%edi
mov    0x2d11(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2d1b(%rip),%rax
mov    (%rax),%edi
mov    0x2cfa(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2cf4(%rip),%rax
mov    (%rax),%edi
mov    0x2ce3(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2ccd(%rip),%rax
mov    (%rax),%edi
mov    0x2ccc(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
mov    0x2cfe(%rip),%rax
mov    (%rax),%edi
mov    0x2cb5(%rip),%rax
mov    (%rax),%esi
call   1030 <gt_xsignal@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<gt_sig_unregister_all>:
push   %rbx
mov    0x2e38(%rip),%rax
mov    (%rax),%edi
mov    0x2e3f(%rip),%rbx
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2eb9(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2e69(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2ea1(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2e29(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2e51(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2df1(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2e21(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2e29(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2e09(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2dd9(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2dc1(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2df9(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2de1(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2d79(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2d59(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2d39(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <gt_xsignal@plt>
mov    0x2d71(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
pop    %rbx
jmp    1030 <gt_xsignal@plt>

LLVM IR (-O0):
@SIGABRT = global i32 0
@SIG_DFL = global i32 0
@SIGBUS = global i32 0
@SIGFPE = global i32 0
@SIGHUP = global i32 0
@SIGILL = global i32 0
@SIGINT = global i32 0
@SIGPIPE = global i32 0
@SIGQUIT = global i32 0
@SIGSEGV = global i32 0
@SIGTERM = global i32 0
@SIGTSTP = global i32 0
@SIGTTIN = global i32 0
@SIGTTOU = global i32 0
@SIGUSR1 = global i32 0
@SIGUSR2 = global i32 0
@SIGSYS = global i32 0
@SIGXCPU = global i32 0
@SIGXFSZ = global i32 0
define void @gt_sig_unregister_all() {
%1 = load i32, i32* @SIGABRT
%2 = load i32, i32* @SIG_DFL
%3 = call i32 @gt_xsignal(i32 %1, i32 %2)
%4 = load i32, i32* @SIGBUS
%5 = load i32, i32* @SIG_DFL
%6 = call i32 @gt_xsignal(i32 %4, i32 %5)
%7 = load i32, i32* @SIGFPE
%8 = load i32, i32* @SIG_DFL
%9 = call i32 @gt_xsignal(i32 %7, i32 %8)
%10 = load i32, i32* @SIGHUP
%11 = load i32, i32* @SIG_DFL
%12 = call i32 @gt_xsignal(i32 %10, i32 %11)
%13 = load i32, i32* @SIGILL
%14 = load i32, i32* @SIG_DFL
%15 = call i32 @gt_xsignal(i32 %13, i32 %14)
%16 = load i32, i32* @SIGINT
%17 = load i32, i32* @SIG_DFL
%18 = call i32 @gt_xsignal(i32 %16, i32 %17)
%19 = load i32, i32* @SIGPIPE
%20 = load i32, i32* @SIG_DFL
%21 = call i32 @gt_xsignal(i32 %19, i32 %20)
%22 = load i32, i32* @SIGQUIT
%23 = load i32, i32* @SIG_DFL
%24 = call i32 @gt_xsignal(i32 %22, i32 %23)
%25 = load i32, i32* @SIGSEGV
%26 = load i32, i32* @SIG_DFL
%27 = call i32 @gt_xsignal(i32 %25, i32 %26)
%28 = load i32, i32* @SIGTERM
%29 = load i32, i32* @SIG_DFL
%30 = call i32 @gt_xsignal(i32 %28, i32 %29)
%31 = load i32, i32* @SIGTSTP
%32 = load i32, i32* @SIG_DFL
%33 = call i32 @gt_xsignal(i32 %31, i32 %32)
%34 = load i32, i32* @SIGTTIN
%35 = load i32, i32* @SIG_DFL
%36 = call i32 @gt_xsignal(i32 %34, i32 %35)
%37 = load i32, i32* @SIGTTOU
%38 = load i32, i32* @SIG_DFL
%39 = call i32 @gt_xsignal(i32 %37, i32 %38)
%40 = load i32, i32* @SIGUSR1
%41 = load i32, i32* @SIG_DFL
%42 = call i32 @gt_xsignal(i32 %40, i32 %41)
%43 = load i32, i32* @SIGUSR2
%44 = load i32, i32* @SIG_DFL
%45 = call i32 @gt_xsignal(i32 %43, i32 %44)
%46 = load i32, i32* @SIGSYS
%47 = load i32, i32* @SIG_DFL
%48 = call i32 @gt_xsignal(i32 %46, i32 %47)
%49 = load i32, i32* @SIGXCPU
%50 = load i32, i32* @SIG_DFL
%51 = call i32 @gt_xsignal(i32 %49, i32 %50)
%52 = load i32, i32* @SIGXFSZ
%53 = load i32, i32* @SIG_DFL
%54 = call i32 @gt_xsignal(i32 %52, i32 %53)
ret void
}

LLVM IR (-O2):
@SIGABRT = global i32 0
@SIG_DFL = global i32 0
@SIGBUS = global i32 0
@SIGFPE = global i32 0
@SIGHUP = global i32 0
@SIGILL = global i32 0
@SIGINT = global i32 0
@SIGPIPE = global i32 0
@SIGQUIT = global i32 0
@SIGSEGV = global i32 0
@SIGTERM = global i32 0
@SIGTSTP = global i32 0
@SIGTTIN = global i32 0
@SIGTTOU = global i32 0
@SIGUSR1 = global i32 0
@SIGUSR2 = global i32 0
@SIGSYS = global i32 0
@SIGXCPU = global i32 0
@SIGXFSZ = global i32 0
define void @gt_sig_unregister_all() {
%1 = load i32, i32* @SIGABRT
%2 = load i32, i32* @SIG_DFL
%3 = tail call i32 @gt_xsignal(i32 %1, i32 %2)
%4 = load i32, i32* @SIGBUS
%5 = load i32, i32* @SIG_DFL
%6 = tail call i32 @gt_xsignal(i32 %4, i32 %5)
%7 = load i32, i32* @SIGFPE
%8 = load i32, i32* @SIG_DFL
%9 = tail call i32 @gt_xsignal(i32 %7, i32 %8)
%10 = load i32, i32* @SIGHUP
%11 = load i32, i32* @SIG_DFL
%12 = tail call i32 @gt_xsignal(i32 %10, i32 %11)
%13 = load i32, i32* @SIGILL
%14 = load i32, i32* @SIG_DFL
%15 = tail call i32 @gt_xsignal(i32 %13, i32 %14)
%16 = load i32, i32* @SIGINT
%17 = load i32, i32* @SIG_DFL
%18 = tail call i32 @gt_xsignal(i32 %16, i32 %17)
%19 = load i32, i32* @SIGPIPE
%20 = load i32, i32* @SIG_DFL
%21 = tail call i32 @gt_xsignal(i32 %19, i32 %20)
%22 = load i32, i32* @SIGQUIT
%23 = load i32, i32* @SIG_DFL
%24 = tail call i32 @gt_xsignal(i32 %22, i32 %23)
%25 = load i32, i32* @SIGSEGV
%26 = load i32, i32* @SIG_DFL
%27 = tail call i32 @gt_xsignal(i32 %25, i32 %26)
%28 = load i32, i32* @SIGTERM
%29 = load i32, i32* @SIG_DFL
%30 = tail call i32 @gt_xsignal(i32 %28, i32 %29)
%31 = load i32, i32* @SIGTSTP
%32 = load i32, i32* @SIG_DFL
%33 = tail call i32 @gt_xsignal(i32 %31, i32 %32)
%34 = load i32, i32* @SIGTTIN
%35 = load i32, i32* @SIG_DFL
%36 = tail call i32 @gt_xsignal(i32 %34, i32 %35)
%37 = load i32, i32* @SIGTTOU
%38 = load i32, i32* @SIG_DFL
%39 = tail call i32 @gt_xsignal(i32 %37, i32 %38)
%40 = load i32, i32* @SIGUSR1
%41 = load i32, i32* @SIG_DFL
%42 = tail call i32 @gt_xsignal(i32 %40, i32 %41)
%43 = load i32, i32* @SIGUSR2
%44 = load i32, i32* @SIG_DFL
%45 = tail call i32 @gt_xsignal(i32 %43, i32 %44)
%46 = load i32, i32* @SIGSYS
%47 = load i32, i32* @SIG_DFL
%48 = tail call i32 @gt_xsignal(i32 %46, i32 %47)
%49 = load i32, i32* @SIGXCPU
%50 = load i32, i32* @SIG_DFL
%51 = tail call i32 @gt_xsignal(i32 %49, i32 %50)
%52 = load i32, i32* @SIGXFSZ
%53 = load i32, i32* @SIG_DFL
%54 = tail call i32 @gt_xsignal(i32 %52, i32 %53)
ret void
}