	.file	"101003.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"If you want to quit, please try SIGQUIT(Ctrl+\\)\r"
	.text
	.globl	my_sig_handler
	.type	my_sig_handler, @function
my_sig_handler:
.LFB6:
	.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, .LC0[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	my_sig_handler, .-my_sig_handler
	.section	.rodata
.LC1:
	.string	"sigemptyset"
.LC2:
	.string	"sigaddset(SIGINT)"
.LC3:
	.string	"sigaddset(SIGQUIT)"
.LC4:
	.string	"sigprocmask(SIG_BLOCK)"
	.align 8
.LC5:
	.string	"Signal set was blocked, Press any key to release\r"
.LC6:
	.string	"sigprocmask(SIG_UNBLOCK)"
	.align 8
.LC7:
	.string	"Signal set is in unblock state\r"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 480
	mov	DWORD PTR -468[rbp], edi
	mov	QWORD PTR -480[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -448[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	mov	DWORD PTR -452[rbp], eax
	cmp	DWORD PTR -452[rbp], 0
	jns	.L3
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	lea	rax, -448[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	sigaddset@PLT
	mov	DWORD PTR -452[rbp], eax
	cmp	DWORD PTR -452[rbp], 0
	jns	.L4
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	lea	rax, -448[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	sigaddset@PLT
	mov	DWORD PTR -452[rbp], eax
	cmp	DWORD PTR -452[rbp], 0
	jns	.L5
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	lea	rax, -448[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	sigismember@PLT
	test	eax, eax
	je	.L6
	lea	rax, -320[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, my_sig_handler[rip]
	mov	QWORD PTR -320[rbp], rax
	mov	DWORD PTR -184[rbp], 0
	lea	rax, -320[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 2
	call	sigaction@PLT
.L6:
	lea	rax, -448[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	sigismember@PLT
	test	eax, eax
	je	.L7
	lea	rax, -160[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	mov	QWORD PTR -160[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 3
	call	sigaction@PLT
.L7:
	lea	rax, -448[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 0
	call	sigprocmask@PLT
	mov	DWORD PTR -452[rbp], eax
	cmp	DWORD PTR -452[rbp], 0
	jns	.L8
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	call	getchar@PLT
	lea	rax, -448[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 1
	call	sigprocmask@PLT
	mov	DWORD PTR -452[rbp], eax
	cmp	DWORD PTR -452[rbp], 0
	jns	.L9
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L10:
	jmp	.L10
	.cfi_endproc
.LFE7:
	.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	"101003.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"If you want to quit, please try SIGQUIT(Ctrl+\\)\015"
	.ascii	"\000"
	.text
	.align	2
	.global	my_sig_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	my_sig_handler, %function
my_sig_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, .L2
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	my_sig_handler, .-my_sig_handler
	.section	.rodata
	.align	2
.LC1:
	.ascii	"sigemptyset\000"
	.align	2
.LC2:
	.ascii	"sigaddset(SIGINT)\000"
	.align	2
.LC3:
	.ascii	"sigaddset(SIGQUIT)\000"
	.align	2
.LC4:
	.ascii	"sigprocmask(SIG_BLOCK)\000"
	.align	2
.LC5:
	.ascii	"Signal set was blocked, Press any key to release\015"
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"sigprocmask(SIG_UNBLOCK)\000"
	.align	2
.LC7:
	.ascii	"Signal set is in unblock state\015\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #424
	str	r0, [fp, #-424]
	str	r1, [fp, #-428]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #416
	mov	r0, r3
	bl	sigemptyset
	str	r0, [fp, #-420]
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L14+4
	bl	perror
	mov	r0, #1
	bl	exit
.L5:
	sub	r3, fp, #416
	mov	r1, #2
	mov	r0, r3
	bl	sigaddset
	str	r0, [fp, #-420]
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	bge	.L6
	ldr	r0, .L14+8
	bl	perror
	mov	r0, #1
	bl	exit
.L6:
	sub	r3, fp, #416
	mov	r1, #3
	mov	r0, r3
	bl	sigaddset
	str	r0, [fp, #-420]
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	bge	.L7
	ldr	r0, .L14+12
	bl	perror
	mov	r0, #1
	bl	exit
.L7:
	sub	r3, fp, #416
	mov	r1, #2
	mov	r0, r3
	bl	sigismember
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	sub	r3, fp, #288
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	ldr	r3, .L14+16
	str	r3, [fp, #-288]
	mov	r3, #0
	str	r3, [fp, #-156]
	sub	r3, fp, #288
	mov	r2, #0
	mov	r1, r3
	mov	r0, #2
	bl	sigaction
.L8:
	sub	r3, fp, #416
	mov	r1, #3
	mov	r0, r3
	bl	sigismember
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	sub	r3, fp, #148
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #3
	bl	sigaction
.L9:
	sub	r3, fp, #416
	mov	r2, #0
	mov	r1, r3
	mov	r0, #0
	bl	sigprocmask
	str	r0, [fp, #-420]
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	bge	.L10
	ldr	r0, .L14+20
	bl	perror
	mov	r0, #1
	bl	exit
.L10:
	ldr	r0, .L14+24
	bl	puts
	bl	getchar
	sub	r3, fp, #416
	mov	r2, #0
	mov	r1, r3
	mov	r0, #1
	bl	sigprocmask
	str	r0, [fp, #-420]
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	bge	.L11
	ldr	r0, .L14+28
	bl	perror
	mov	r0, #1
	bl	exit
.L11:
	ldr	r0, .L14+32
	bl	puts
.L12:
	b	.L12
.L15:
	.align	2
.L14:
	.word	.LC8
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	my_sig_handler
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
