	.file	"566245.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"usr1 blocked\n"
.LC1:
	.string	"usr2 blocked\n"
.LC2:
	.string	"term blocked\n"
.LC3:
	.string	"winch blocked\n"
	.text
	.globl	CheckSigs
	.type	CheckSigs, @function
CheckSigs:
.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, 144
	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
	lea	rax, -144[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	sigismember@PLT
	test	eax, eax
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
.L2:
	lea	rax, -144[rbp]
	mov	esi, 12
	mov	rdi, rax
	call	sigismember@PLT
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
.L3:
	lea	rax, -144[rbp]
	mov	esi, 15
	mov	rdi, rax
	call	sigismember@PLT
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
.L4:
	lea	rax, -144[rbp]
	mov	esi, 28
	mov	rdi, rax
	call	sigismember@PLT
	test	eax, eax
	je	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
.L5:
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	CheckSigs, .-CheckSigs
	.section	.rodata
.LC4:
	.string	"In handler\n"
.LC5:
	.string	"--------------\n"
	.text
	.globl	Handler
	.type	Handler, @function
Handler:
.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	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 11
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, 0
	call	CheckSigs
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	Handler, .-Handler
	.section	.rodata
.LC6:
	.string	"Before signal1\n"
.LC7:
	.string	"After signal1\n"
.LC8:
	.string	"After signal2\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 288
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, Handler[rip]
	mov	QWORD PTR -160[rbp], rax
	mov	DWORD PTR -24[rbp], 0
	lea	rax, -160[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -160[rbp]
	add	rax, 8
	mov	esi, 15
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -288[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -288[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 0
	call	sigprocmask@PLT
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 28
	call	sigaction@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, 0
	call	CheckSigs
	mov	esi, 28
	mov	edi, 0
	call	kill@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, 0
	call	CheckSigs
	mov	eax, DWORD PTR -24[rbp]
	or	eax, 1073741824
	mov	DWORD PTR -24[rbp], eax
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 28
	call	sigaction@PLT
	mov	esi, 28
	mov	edi, 0
	call	kill@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, 0
	call	CheckSigs
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"566245.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usr1 blocked\012\000"
	.align	2
.LC1:
	.ascii	"usr2 blocked\012\000"
	.align	2
.LC2:
	.ascii	"term blocked\012\000"
	.align	2
.LC3:
	.ascii	"winch blocked\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	CheckSigs
	.syntax unified
	.arm
	.fpu softvfp
	.type	CheckSigs, %function
CheckSigs:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	ldr	r3, .L7
	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
	sub	r3, fp, #136
	mov	r1, #10
	mov	r0, r3
	bl	sigismember
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L7+4
	ldr	r3, [r3]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L7+8
	bl	fwrite
.L2:
	sub	r3, fp, #136
	mov	r1, #12
	mov	r0, r3
	bl	sigismember
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L7+4
	ldr	r3, [r3]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L7+12
	bl	fwrite
.L3:
	sub	r3, fp, #136
	mov	r1, #15
	mov	r0, r3
	bl	sigismember
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L7+4
	ldr	r3, [r3]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L7+16
	bl	fwrite
.L4:
	sub	r3, fp, #136
	mov	r1, #28
	mov	r0, r3
	bl	sigismember
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L7+4
	ldr	r3, [r3]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L7+20
	bl	fwrite
.L5:
	ldr	r3, .L7+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC4
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	CheckSigs, .-CheckSigs
	.section	.rodata
	.align	2
.LC5:
	.ascii	"In handler\012\000"
	.align	2
.LC6:
	.ascii	"--------------\012\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	r3, .L10
	ldr	r3, [r3]
	mov	r2, #11
	mov	r1, #1
	ldr	r0, .L10+4
	bl	fwrite
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L10+8
	bl	fwrite
	bl	CheckSigs
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	stderr
	.word	.LC5
	.word	.LC6
	.size	Handler, .-Handler
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Before signal1\012\000"
	.align	2
.LC8:
	.ascii	"After signal1\012\000"
	.align	2
.LC9:
	.ascii	"After signal2\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L15+4
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #148
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #148
	add	r3, r3, #4
	mov	r1, #15
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #276
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #276
	mov	r1, #10
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #276
	mov	r2, #0
	mov	r1, r3
	mov	r0, #0
	bl	sigprocmask
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #28
	bl	sigaction
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L15+12
	bl	fwrite
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L15+16
	bl	fwrite
	bl	CheckSigs
	mov	r1, #28
	mov	r0, #0
	bl	kill
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L15+20
	bl	fwrite
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L15+16
	bl	fwrite
	bl	CheckSigs
	ldr	r3, [fp, #-16]
	orr	r3, r3, #1073741824
	str	r3, [fp, #-16]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #28
	bl	sigaction
	mov	r1, #28
	mov	r0, #0
	bl	kill
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L15+24
	bl	fwrite
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L15+16
	bl	fwrite
	bl	CheckSigs
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC10
	.word	Handler
	.word	stderr
	.word	.LC7
	.word	.LC6
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
