// File: /workspace/github_c_makefile_star2_O0/buf1024[P]mysch/mysch.c
// Function: reg_sign
int reg_sign()
{
    REGISTER_SIGNAL(SIGTERM, sigterm, 0);//Kill信号
    REGISTER_SIGNAL(SIGINT, sigterm, 0);//终端CTRL-C信号
    REGISTER_SIGNAL(SIGUSR1, sigusr1, 0);//SIGUSR1信号
    REGISTER_SIGNAL(SIGUSR2, sigusr2, 0);//SIGUSR2信号
    REGISTER_SIGNAL(SIGHUP, SIG_IGN, 0);//忽略SIGHUP信号
    REGISTER_SIGNAL(SIGCHLD, sigchild, 0);//子进程退出
    REGISTER_SIGNAL(SIGPIPE, SIG_IGN, 0);//忽略SIGPIPE信号
    REGISTER_SIGNAL(SIGALRM, SIG_IGN, 0);//忽略SIGALRM信号

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0xf, %edi
leaq 0x28c(%rip), %rsi       # 0x77f0
xorl %edx, %edx
callq 0x65e0
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x75a5
callq 0x2060
movl (%rax), %edi
callq 0x2370
movq %rax, %rdx
leaq 0x2d53(%rip), %rdi      # 0xa2e0
movl $0xf, %esi
movb $0x0, %al
callq 0x2150
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x77d9
jmp 0x75a7
jmp 0x75a9
movl $0x2, %edi
leaq 0x23b(%rip), %rsi       # 0x77f0
xorl %edx, %edx
callq 0x65e0
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x75f6
callq 0x2060
movl (%rax), %edi
callq 0x2370
movq %rax, %rdx
leaq 0x2d02(%rip), %rdi      # 0xa2e0
movl $0x2, %esi
movb $0x0, %al
callq 0x2150
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x77d9
jmp 0x75f8
jmp 0x75fa
movl $0xa, %edi
leaq 0x20a(%rip), %rsi       # 0x7810
xorl %edx, %edx
callq 0x65e0
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x7647
callq 0x2060
movl (%rax), %edi
callq 0x2370
movq %rax, %rdx
leaq 0x2cb1(%rip), %rdi      # 0xa2e0
movl $0xa, %esi
movb $0x0, %al
callq 0x2150
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x77d9
jmp 0x7649
jmp 0x764b
movl $0xc, %edi
leaq 0x1d9(%rip), %rsi       # 0x7830
xorl %edx, %edx
callq 0x65e0
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x7698
callq 0x2060
movl (%rax), %edi
callq 0x2370
movq %rax, %rdx
leaq 0x2c60(%rip), %rdi      # 0xa2e0
movl $0xc, %esi
movb $0x0, %al
callq 0x2150
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x77d9
jmp 0x769a
jmp 0x769c
movl $0x1, %edi
movl $0x1, %esi
xorl %edx, %edx
callq 0x65e0
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x76e7
callq 0x2060
movl (%rax), %edi
callq 0x2370
movq %rax, %rdx
leaq 0x2c11(%rip), %rdi      # 0xa2e0
movl $0x1, %esi
movb $0x0, %al
callq 0x2150
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x77d9
jmp 0x76e9
jmp 0x76eb
movl $0x11, %edi
leaq 0x159(%rip), %rsi       # 0x7850
xorl %edx, %edx
callq 0x65e0
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x7738
callq 0x2060
movl (%rax), %edi
callq 0x2370
movq %rax, %rdx
leaq 0x2bc0(%rip), %rdi      # 0xa2e0
movl $0x11, %esi
movb $0x0, %al
callq 0x2150
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x77d9
jmp 0x773a
jmp 0x773c
movl $0xd, %edi
movl $0x1, %esi
xorl %edx, %edx
callq 0x65e0
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x7784
callq 0x2060
movl (%rax), %edi
callq 0x2370
movq %rax, %rdx
leaq 0x2b71(%rip), %rdi      # 0xa2e0
movl $0xd, %esi
movb $0x0, %al
callq 0x2150
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x77d9
jmp 0x7786
jmp 0x7788
movl $0xe, %edi
movl $0x1, %esi
xorl %edx, %edx
callq 0x65e0
movq $-0x1, %rcx
cmpq %rcx, %rax
jne 0x77d0
callq 0x2060
movl (%rax), %edi
callq 0x2370
movq %rax, %rdx
leaq 0x2b25(%rip), %rdi      # 0xa2e0
movl $0xe, %esi
movb $0x0, %al
callq 0x2150
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x77d9
jmp 0x77d2
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)