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

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp            # imm = 0x160
movl $0x2, %edi
xorl %eax, %eax
movl %eax, %esi
callq 0x3380
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x770e
leaq -0x21(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0x3590
movq -0x130(%rbp), %rdx
leaq 0xe392(%rip), %rsi      # 0x15a45
leaq -0x20(%rbp), %rdi
callq 0x3440
jmp 0x76be
leaq -0x20(%rbp), %rdi
callq 0xb4d0
jmp 0x76c9
leaq -0x20(%rbp), %rdi
callq 0x31e0
leaq -0x21(%rbp), %rdi
callq 0x3340
jmp 0x770e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x7700
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 0x7af7
movl $0x3, %edi
xorl %eax, %eax
movl %eax, %esi
callq 0x3380
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x77a1
leaq -0x59(%rbp), %rdi
movq %rdi, -0x138(%rbp)
callq 0x3590
movq -0x138(%rbp), %rdx
leaq 0xe2ff(%rip), %rsi      # 0x15a45
leaq -0x58(%rbp), %rdi
callq 0x3440
jmp 0x7751
leaq -0x58(%rbp), %rdi
callq 0xb4d0
jmp 0x775c
leaq -0x58(%rbp), %rdi
callq 0x31e0
leaq -0x59(%rbp), %rdi
callq 0x3340
jmp 0x77a1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x7793
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 0x7af7
movl $0x14, %edi
xorl %eax, %eax
movl %eax, %esi
callq 0x3380
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x7841
leaq -0x81(%rbp), %rdi
movq %rdi, -0x140(%rbp)
callq 0x3590
movq -0x140(%rbp), %rdx
leaq 0xe265(%rip), %rsi      # 0x15a45
leaq -0x80(%rbp), %rdi
callq 0x3440
jmp 0x77eb
leaq -0x80(%rbp), %rdi
callq 0xb4d0
jmp 0x77f6
leaq -0x80(%rbp), %rdi
callq 0x31e0
leaq -0x81(%rbp), %rdi
callq 0x3340
jmp 0x7841
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x7830
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 0x7af7
movl $0x15, %edi
xorl %eax, %eax
movl %eax, %esi
callq 0x3380
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x78ed
leaq -0xa9(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x3590
movq -0x148(%rbp), %rdx
leaq 0xe1c5(%rip), %rsi      # 0x15a45
leaq -0xa8(%rbp), %rdi
callq 0x3440
jmp 0x788e
leaq -0xa8(%rbp), %rdi
callq 0xb4d0
jmp 0x789c
leaq -0xa8(%rbp), %rdi
callq 0x31e0
leaq -0xa9(%rbp), %rdi
callq 0x3340
jmp 0x78ed
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x78dc
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 0x7af7
movl $0x16, %edi
xorl %eax, %eax
movl %eax, %esi
callq 0x3380
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x7999
leaq -0xd1(%rbp), %rdi
movq %rdi, -0x150(%rbp)
callq 0x3590
movq -0x150(%rbp), %rdx
leaq 0xe119(%rip), %rsi      # 0x15a45
leaq -0xd0(%rbp), %rdi
callq 0x3440
jmp 0x793a
leaq -0xd0(%rbp), %rdi
callq 0xb4d0
jmp 0x7948
leaq -0xd0(%rbp), %rdi
callq 0x31e0
leaq -0xd1(%rbp), %rdi
callq 0x3340
jmp 0x7999
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x7988
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 0x7af7
movl $0x11, %edi
xorl %eax, %eax
movl %eax, %esi
callq 0x3380
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x7a45
leaq -0xf9(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x3590
movq -0x158(%rbp), %rdx
leaq 0xe06d(%rip), %rsi      # 0x15a45
leaq -0xf8(%rbp), %rdi
callq 0x3440
jmp 0x79e6
leaq -0xf8(%rbp), %rdi
callq 0xb4d0
jmp 0x79f4
leaq -0xf8(%rbp), %rdi
callq 0x31e0
leaq -0xf9(%rbp), %rdi
callq 0x3340
jmp 0x7a45
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x7a34
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 0x7af7
movl $0xd, %edi
xorl %eax, %eax
movl %eax, %esi
callq 0x3380
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x7aee
leaq -0x121(%rbp), %rdi
movq %rdi, -0x160(%rbp)
callq 0x3590
movq -0x160(%rbp), %rdx
leaq 0xdfc1(%rip), %rsi      # 0x15a45
leaq -0x120(%rbp), %rdi
callq 0x3440
jmp 0x7a92
leaq -0x120(%rbp), %rdi
callq 0xb4d0
jmp 0x7aa0
leaq -0x120(%rbp), %rdi
callq 0x31e0
leaq -0x121(%rbp), %rdi
callq 0x3340
jmp 0x7aee
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x7ae0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x120(%rbp), %rdi
callq 0x31e0
leaq -0x121(%rbp), %rdi
callq 0x3340
jmp 0x7af7
addq $0x160, %rsp            # imm = 0x160
popq %rbp
retq
movq -0x30(%rbp), %rdi
callq 0x3580