#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*/ SIGHUP;
int /*<<< orphan*/ SIGINT;
int /*<<< orphan*/ SIGPROF;
int /*<<< orphan*/ SIGQUIT;
int /*<<< orphan*/ SIGUSR1;
int /*<<< orphan*/ SIGUSR2;
int /*<<< orphan*/ SIGVTALRM;
int /*<<< orphan*/ sig_ignore(int /*<<< orphan*/);
void sig_misc_ignore(void) {
  sig_ignore(SIGHUP);
  sig_ignore(SIGINT);
  sig_ignore(SIGQUIT);
  sig_ignore(SIGUSR1);
  sig_ignore(SIGUSR2);
  sig_ignore(SIGVTALRM);
  sig_ignore(SIGPROF);
}


x86 assembly (clang, -O0):
<sig_misc_ignore>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ed5(%rip),%rax
mov    (%rax),%edi
call   1030 <sig_ignore@plt>
mov    0x2eaf(%rip),%rax
mov    (%rax),%edi
call   1030 <sig_ignore@plt>
mov    0x2e99(%rip),%rax
mov    (%rax),%edi
call   1030 <sig_ignore@plt>
mov    0x2e9b(%rip),%rax
mov    (%rax),%edi
call   1030 <sig_ignore@plt>
mov    0x2e5d(%rip),%rax
mov    (%rax),%edi
call   1030 <sig_ignore@plt>
mov    0x2e57(%rip),%rax
mov    (%rax),%edi
call   1030 <sig_ignore@plt>
mov    0x2e59(%rip),%rax
mov    (%rax),%edi
call   1030 <sig_ignore@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<sig_misc_ignore>:
push   %rax
mov    0x2ed8(%rip),%rax
mov    (%rax),%edi
call   1030 <sig_ignore@plt>
mov    0x2eb2(%rip),%rax
mov    (%rax),%edi
call   1030 <sig_ignore@plt>
mov    0x2e9c(%rip),%rax
mov    (%rax),%edi
call   1030 <sig_ignore@plt>
mov    0x2e9e(%rip),%rax
mov    (%rax),%edi
call   1030 <sig_ignore@plt>
mov    0x2e60(%rip),%rax
mov    (%rax),%edi
call   1030 <sig_ignore@plt>
mov    0x2e5a(%rip),%rax
mov    (%rax),%edi
call   1030 <sig_ignore@plt>
mov    0x2e5c(%rip),%rax
mov    (%rax),%edi
pop    %rax
jmp    1030 <sig_ignore@plt>

LLVM IR (-O0):
@SIGHUP = global i32 0
@SIGINT = global i32 0
@SIGQUIT = global i32 0
@SIGUSR1 = global i32 0
@SIGUSR2 = global i32 0
@SIGVTALRM = global i32 0
@SIGPROF = global i32 0
define void @sig_misc_ignore() {
%1 = load i32, i32* @SIGHUP
%2 = call i32 @sig_ignore(i32 %1)
%3 = load i32, i32* @SIGINT
%4 = call i32 @sig_ignore(i32 %3)
%5 = load i32, i32* @SIGQUIT
%6 = call i32 @sig_ignore(i32 %5)
%7 = load i32, i32* @SIGUSR1
%8 = call i32 @sig_ignore(i32 %7)
%9 = load i32, i32* @SIGUSR2
%10 = call i32 @sig_ignore(i32 %9)
%11 = load i32, i32* @SIGVTALRM
%12 = call i32 @sig_ignore(i32 %11)
%13 = load i32, i32* @SIGPROF
%14 = call i32 @sig_ignore(i32 %13)
ret void
}

LLVM IR (-O2):
@SIGHUP = global i32 0
@SIGINT = global i32 0
@SIGQUIT = global i32 0
@SIGUSR1 = global i32 0
@SIGUSR2 = global i32 0
@SIGVTALRM = global i32 0
@SIGPROF = global i32 0
define void @sig_misc_ignore() {
%1 = load i32, i32* @SIGHUP
%2 = tail call i32 @sig_ignore(i32 %1)
%3 = load i32, i32* @SIGINT
%4 = tail call i32 @sig_ignore(i32 %3)
%5 = load i32, i32* @SIGQUIT
%6 = tail call i32 @sig_ignore(i32 %5)
%7 = load i32, i32* @SIGUSR1
%8 = tail call i32 @sig_ignore(i32 %7)
%9 = load i32, i32* @SIGUSR2
%10 = tail call i32 @sig_ignore(i32 %9)
%11 = load i32, i32* @SIGVTALRM
%12 = tail call i32 @sig_ignore(i32 %11)
%13 = load i32, i32* @SIGPROF
%14 = tail call i32 @sig_ignore(i32 %13)
ret void
}