	.file	"333200.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"The signal %d (%s) has been added.\n"
	.text
	.globl	sighold
	.type	sighold, @function
sighold:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	mov	edx, DWORD PTR -148[rbp]
	lea	rax, -144[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sigaddset@PLT
	mov	eax, DWORD PTR -148[rbp]
	mov	edi, eax
	call	strsignal@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -144[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 0
	call	sigprocmask@PLT
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	sighold, .-sighold
	.section	.rodata
	.align 8
.LC1:
	.string	"The signal %d (%s) has been ignored.\n"
	.text
	.globl	sigignore
	.type	sigignore, @function
sigignore:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 1
	mov	edi, eax
	call	signal@PLT
	cmp	rax, -1
	jne	.L5
	mov	eax, -1
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	strsignal@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	sigignore, .-sigignore
	.section	.rodata
	.align 8
.LC2:
	.string	"The signal %d (%s) is restored to default.\n"
	.align 8
.LC3:
	.string	"The handler of signal %d (%s) has been change.\n"
	.text
	.globl	sigset
	.type	sigset, @function
sigset:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 336
	mov	DWORD PTR -324[rbp], edi
	mov	QWORD PTR -336[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -336[rbp], 5
	jne	.L8
	mov	eax, DWORD PTR -324[rbp]
	mov	edi, eax
	call	sighold
	lea	rdx, -320[rbp]
	mov	eax, DWORD PTR -324[rbp]
	mov	esi, 0
	mov	edi, eax
	call	sigaction@PLT
	mov	rax, QWORD PTR -320[rbp]
	jmp	.L12
.L8:
	cmp	QWORD PTR -336[rbp], 1
	jne	.L10
	mov	eax, DWORD PTR -324[rbp]
	mov	edi, eax
	call	sigignore
	lea	rdx, -320[rbp]
	mov	eax, DWORD PTR -324[rbp]
	mov	esi, 0
	mov	edi, eax
	call	sigaction@PLT
	mov	rax, QWORD PTR -320[rbp]
	jmp	.L12
.L10:
	cmp	QWORD PTR -336[rbp], 0
	jne	.L11
	mov	eax, DWORD PTR -324[rbp]
	mov	esi, 0
	mov	edi, eax
	call	signal@PLT
	lea	rdx, -320[rbp]
	mov	eax, DWORD PTR -324[rbp]
	mov	esi, 0
	mov	edi, eax
	call	sigaction@PLT
	mov	eax, DWORD PTR -324[rbp]
	mov	edi, eax
	call	strsignal@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -324[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -320[rbp]
	jmp	.L12
.L11:
	mov	DWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -336[rbp]
	mov	QWORD PTR -160[rbp], rax
	lea	rdx, -320[rbp]
	lea	rcx, -160[rbp]
	mov	eax, DWORD PTR -324[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	sigaction@PLT
	mov	eax, DWORD PTR -324[rbp]
	mov	edi, eax
	call	strsignal@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -324[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -320[rbp]
.L12:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	sigset, .-sigset
	.section	.rodata
	.align 8
.LC4:
	.string	"The signal %d (%s) has been deleted.\n"
	.text
	.globl	sigrelse
	.type	sigrelse, @function
sigrelse:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	mov	edx, DWORD PTR -148[rbp]
	lea	rax, -144[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sigaddset@PLT
	mov	eax, DWORD PTR -148[rbp]
	mov	edi, eax
	call	strsignal@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -144[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 1
	call	sigprocmask@PLT
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	sigrelse, .-sigrelse
	.section	.rodata
	.align 8
.LC5:
	.string	"The signal %d (%s) has been paused.\n"
	.text
	.globl	sigpause
	.type	sigpause, @function
sigpause:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -144[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 0
	call	sigprocmask@PLT
	cmp	eax, -1
	jne	.L18
	mov	eax, -1
	jmp	.L20
.L18:
	mov	edx, DWORD PTR -148[rbp]
	lea	rax, -144[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sigdelset@PLT
	mov	eax, DWORD PTR -148[rbp]
	mov	edi, eax
	call	strsignal@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigsuspend@PLT
.L20:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	sigpause, .-sigpause
	.section	.rodata
.LC6:
	.string	"The handler has been called."
	.text
	.globl	handler
	.type	handler, @function
handler:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	lea	rdi, .LC6[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	handler, .-handler
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 1
	mov	edi, 15
	call	sigset
	mov	esi, 0
	mov	edi, 15
	call	sigset
	lea	rsi, handler[rip]
	mov	edi, 15
	call	sigset
	mov	edi, 6
	call	sighold
	mov	edi, 6
	call	sigrelse
	mov	edi, 6
	call	sigignore
	mov	edi, 15
	call	sighold
	mov	edi, 15
	call	raise@PLT
	mov	edi, 15
	call	sigpause
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"333200.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"The signal %d (%s) has been added.\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sighold
	.syntax unified
	.arm
	.fpu softvfp
	.type	sighold, %function
sighold:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	str	r0, [fp, #-144]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #136
	ldr	r1, [fp, #-144]
	mov	r0, r3
	bl	sigaddset
	ldr	r0, [fp, #-144]
	bl	strsignal
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-144]
	ldr	r0, .L4+4
	bl	printf
	sub	r3, fp, #136
	mov	r2, #0
	mov	r1, r3
	mov	r0, #0
	bl	sigprocmask
	mov	r3, r0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC1
	.word	.LC0
	.size	sighold, .-sighold
	.section	.rodata
	.align	2
.LC2:
	.ascii	"The signal %d (%s) has been ignored.\012\000"
	.text
	.align	2
	.global	sigignore
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigignore, %function
sigignore:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	signal
	mov	r3, r0
	cmn	r3, #1
	bne	.L7
	mvn	r3, #0
	b	.L8
.L7:
	ldr	r0, [fp, #-8]
	bl	strsignal
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L9
	bl	printf
	mov	r3, #0
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC2
	.size	sigignore, .-sigignore
	.section	.rodata
	.align	2
.LC3:
	.ascii	"The signal %d (%s) is restored to default.\012\000"
	.align	2
.LC4:
	.ascii	"The handler of signal %d (%s) has been change.\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sigset
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigset, %function
sigset:
	@ args = 0, pretend = 0, frame = 296
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #296
	str	r0, [fp, #-296]
	str	r1, [fp, #-300]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-300]
	cmp	r3, #5
	bne	.L12
	ldr	r0, [fp, #-296]
	bl	sighold
	sub	r3, fp, #288
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-296]
	bl	sigaction
	ldr	r3, [fp, #-288]
	b	.L16
.L12:
	ldr	r3, [fp, #-300]
	cmp	r3, #1
	bne	.L14
	ldr	r0, [fp, #-296]
	bl	sigignore
	sub	r3, fp, #288
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-296]
	bl	sigaction
	ldr	r3, [fp, #-288]
	b	.L16
.L14:
	ldr	r3, [fp, #-300]
	cmp	r3, #0
	bne	.L15
	mov	r1, #0
	ldr	r0, [fp, #-296]
	bl	signal
	sub	r3, fp, #288
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-296]
	bl	sigaction
	ldr	r0, [fp, #-296]
	bl	strsignal
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-296]
	ldr	r0, .L18+4
	bl	printf
	ldr	r3, [fp, #-288]
	b	.L16
.L15:
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-300]
	str	r3, [fp, #-148]
	sub	r2, fp, #288
	sub	r3, fp, #148
	mov	r1, r3
	ldr	r0, [fp, #-296]
	bl	sigaction
	ldr	r0, [fp, #-296]
	bl	strsignal
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-296]
	ldr	r0, .L18+8
	bl	printf
	ldr	r3, [fp, #-288]
.L16:
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC5
	.word	.LC3
	.word	.LC4
	.size	sigset, .-sigset
	.section	.rodata
	.align	2
.LC6:
	.ascii	"The signal %d (%s) has been deleted.\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sigrelse
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigrelse, %function
sigrelse:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	str	r0, [fp, #-144]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #136
	ldr	r1, [fp, #-144]
	mov	r0, r3
	bl	sigaddset
	ldr	r0, [fp, #-144]
	bl	strsignal
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-144]
	ldr	r0, .L23+4
	bl	printf
	sub	r3, fp, #136
	mov	r2, #0
	mov	r1, r3
	mov	r0, #1
	bl	sigprocmask
	mov	r3, r0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC7
	.word	.LC6
	.size	sigrelse, .-sigrelse
	.section	.rodata
	.align	2
.LC8:
	.ascii	"The signal %d (%s) has been paused.\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sigpause
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigpause, %function
sigpause:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	str	r0, [fp, #-144]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #136
	mov	r2, r3
	mov	r1, #0
	mov	r0, #0
	bl	sigprocmask
	mov	r3, r0
	cmn	r3, #1
	bne	.L26
	mvn	r3, #0
	b	.L28
.L26:
	sub	r3, fp, #136
	ldr	r1, [fp, #-144]
	mov	r0, r3
	bl	sigdelset
	ldr	r0, [fp, #-144]
	bl	strsignal
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-144]
	ldr	r0, .L30+4
	bl	printf
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigsuspend
	mov	r3, r0
.L28:
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC9
	.word	.LC8
	.size	sigpause, .-sigpause
	.section	.rodata
	.align	2
.LC10:
	.ascii	"The handler has been called.\000"
	.text
	.align	2
	.global	handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	handler, %function
handler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, .L33
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC10
	.size	handler, .-handler
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #1
	mov	r0, #15
	bl	sigset
	mov	r1, #0
	mov	r0, #15
	bl	sigset
	ldr	r1, .L37
	mov	r0, #15
	bl	sigset
	mov	r0, #6
	bl	sighold
	mov	r0, #6
	bl	sigrelse
	mov	r0, #6
	bl	sigignore
	mov	r0, #15
	bl	sighold
	mov	r0, #15
	bl	raise
	mov	r0, #15
	bl	sigpause
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	handler
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
