// File: brandoncanaday[P]1730sh/1730sh.cpp
// Function: parent_signals()
void parent_signals() {
  if(signal(SIGINT, SIG_IGN) == SIG_ERR) nope_out("signal");
  if(signal(SIGQUIT, SIG_IGN) == SIG_ERR) nope_out("signal");
  if(signal(SIGTSTP, SIG_IGN) == SIG_ERR) nope_out("signal");
  if(signal(SIGTTIN, SIG_IGN) == SIG_ERR) nope_out("signal");
  if(signal(SIGTTOU, SIG_IGN) == SIG_ERR) nope_out("signal");
  if(signal(SIGPIPE, SIG_IGN) == SIG_ERR) nope_out("signal");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movl $0x2, %edi
movl $0x1, %esi
callq 0x3380
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x54ef
leaq -0x21(%rbp), %rdi
movq %rdi, -0x108(%rbp)
callq 0x3590
movq -0x108(%rbp), %rdx
leaq 0x105b1(%rip), %rsi     # 0x15a45
leaq -0x20(%rbp), %rdi
callq 0x3440
jmp 0x549f
leaq -0x20(%rbp), %rdi
callq 0xb4d0
jmp 0x54aa
leaq -0x20(%rbp), %rdi
callq 0x31e0
leaq -0x21(%rbp), %rdi
callq 0x3340
jmp 0x54ef
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x54e1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x31e0
leaq -0x21(%rbp), %rdi
callq 0x3340
jmp 0x5831
movl $0x3, %edi
movl $0x1, %esi
callq 0x3380
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x5583
leaq -0x59(%rbp), %rdi
movq %rdi, -0x110(%rbp)
callq 0x3590
movq -0x110(%rbp), %rdx
leaq 0x1051d(%rip), %rsi     # 0x15a45
leaq -0x58(%rbp), %rdi
callq 0x3440
jmp 0x5533
leaq -0x58(%rbp), %rdi
callq 0xb4d0
jmp 0x553e
leaq -0x58(%rbp), %rdi
callq 0x31e0
leaq -0x59(%rbp), %rdi
callq 0x3340
jmp 0x5583
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x5575
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x31e0
leaq -0x59(%rbp), %rdi
callq 0x3340
jmp 0x5831
movl $0x14, %edi
movl $0x1, %esi
callq 0x3380
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x5624
leaq -0x81(%rbp), %rdi
movq %rdi, -0x118(%rbp)
callq 0x3590
movq -0x118(%rbp), %rdx
leaq 0x10482(%rip), %rsi     # 0x15a45
leaq -0x80(%rbp), %rdi
callq 0x3440
jmp 0x55ce
leaq -0x80(%rbp), %rdi
callq 0xb4d0
jmp 0x55d9
leaq -0x80(%rbp), %rdi
callq 0x31e0
leaq -0x81(%rbp), %rdi
callq 0x3340
jmp 0x5624
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x5613
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x31e0
leaq -0x81(%rbp), %rdi
callq 0x3340
jmp 0x5831
movl $0x15, %edi
movl $0x1, %esi
callq 0x3380
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x56d1
leaq -0xa9(%rbp), %rdi
movq %rdi, -0x120(%rbp)
callq 0x3590
movq -0x120(%rbp), %rdx
leaq 0x103e1(%rip), %rsi     # 0x15a45
leaq -0xa8(%rbp), %rdi
callq 0x3440
jmp 0x5672
leaq -0xa8(%rbp), %rdi
callq 0xb4d0
jmp 0x5680
leaq -0xa8(%rbp), %rdi
callq 0x31e0
leaq -0xa9(%rbp), %rdi
callq 0x3340
jmp 0x56d1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x56c0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x31e0
leaq -0xa9(%rbp), %rdi
callq 0x3340
jmp 0x5831
movl $0x16, %edi
movl $0x1, %esi
callq 0x3380
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x577e
leaq -0xd1(%rbp), %rdi
movq %rdi, -0x128(%rbp)
callq 0x3590
movq -0x128(%rbp), %rdx
leaq 0x10334(%rip), %rsi     # 0x15a45
leaq -0xd0(%rbp), %rdi
callq 0x3440
jmp 0x571f
leaq -0xd0(%rbp), %rdi
callq 0xb4d0
jmp 0x572d
leaq -0xd0(%rbp), %rdi
callq 0x31e0
leaq -0xd1(%rbp), %rdi
callq 0x3340
jmp 0x577e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x576d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0xd0(%rbp), %rdi
callq 0x31e0
leaq -0xd1(%rbp), %rdi
callq 0x3340
jmp 0x5831
movl $0xd, %edi
movl $0x1, %esi
callq 0x3380
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x5828
leaq -0xf9(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0x3590
movq -0x130(%rbp), %rdx
leaq 0x10287(%rip), %rsi     # 0x15a45
leaq -0xf8(%rbp), %rdi
callq 0x3440
jmp 0x57cc
leaq -0xf8(%rbp), %rdi
callq 0xb4d0
jmp 0x57da
leaq -0xf8(%rbp), %rdi
callq 0x31e0
leaq -0xf9(%rbp), %rdi
callq 0x3340
jmp 0x5828
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x581a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0xf8(%rbp), %rdi
callq 0x31e0
leaq -0xf9(%rbp), %rdi
callq 0x3340
jmp 0x5831
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
movq -0x30(%rbp), %rdi
callq 0x3580
nopw (%rax,%rax)