#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*/ SIGVTALRM;
int /*<<< orphan*/ SIG_IGN;
int /*<<< orphan*/ sig_catch(int /*<<< orphan*/, int /*<<< orphan*/);
void sig_miscignore() {
  sig_catch(SIGVTALRM, SIG_IGN);
  sig_catch(SIGPROF, SIG_IGN);
  sig_catch(SIGQUIT, SIG_IGN);
  sig_catch(SIGINT, SIG_IGN);
  sig_catch(SIGHUP, SIG_IGN);
}


x86 assembly (clang, -O0):
<sig_miscignore>:
push   %rbp
mov    %rsp,%rbp
mov    0x2e9d(%rip),%rax
mov    (%rax),%edi
mov    0x2ea4(%rip),%rax
mov    (%rax),%esi
call   1030 <sig_catch@plt>
mov    0x2e9e(%rip),%rax
mov    (%rax),%edi
mov    0x2e8d(%rip),%rax
mov    (%rax),%esi
call   1030 <sig_catch@plt>
mov    0x2e8f(%rip),%rax
mov    (%rax),%edi
mov    0x2e76(%rip),%rax
mov    (%rax),%esi
call   1030 <sig_catch@plt>
mov    0x2e80(%rip),%rax
mov    (%rax),%edi
mov    0x2e5f(%rip),%rax
mov    (%rax),%esi
call   1030 <sig_catch@plt>
mov    0x2e79(%rip),%rax
mov    (%rax),%edi
mov    0x2e48(%rip),%rax
mov    (%rax),%esi
call   1030 <sig_catch@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<sig_miscignore>:
push   %rbx
mov    0x2ea0(%rip),%rax
mov    (%rax),%edi
mov    0x2ea7(%rip),%rbx
mov    (%rbx),%esi
call   1030 <sig_catch@plt>
mov    0x2ea1(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <sig_catch@plt>
mov    0x2e99(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <sig_catch@plt>
mov    0x2e91(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
call   1030 <sig_catch@plt>
mov    0x2e91(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%esi
pop    %rbx
jmp    1030 <sig_catch@plt>

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

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