	.file	"282929.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Unable handle signal USR1\n"
.LC1:
	.string	"Unable handle signal USR2\n"
	.text
	.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
	sub	rsp, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, HandleUSR1[rip]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -160[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	mov	DWORD PTR -24[rbp], 0
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 10
	call	sigaction@PLT
	cmp	eax, -1
	jne	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L6
.L2:
	lea	rax, HandleUSR2[rip]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 12
	call	sigaction@PLT
	cmp	eax, -1
	jne	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L6
.L4:
	mov	edi, 10
	call	raise@PLT
	mov	edi, 0
	mov	eax, 0
	call	CheckMask
	test	eax, eax
	jne	.L5
	mov	eax, 1
	jmp	.L6
.L5:
	mov	eax, 0
.L6:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.type	HandleUSR1, @function
HandleUSR1:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	esi, 0
	mov	edi, 10
	mov	eax, 0
	call	CheckMask
	test	eax, eax
	jne	.L9
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	edi, 12
	call	raise@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	HandleUSR1, .-HandleUSR1
	.type	HandleUSR2, @function
HandleUSR2:
.LFB8:
	.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	edx, 0
	mov	esi, 12
	mov	edi, 10
	mov	eax, 0
	call	CheckMask
	test	eax, eax
	jne	.L12
	mov	edi, 1
	call	exit@PLT
.L12:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	HandleUSR2, .-HandleUSR2
	.section	.rodata
.LC2:
	.string	"Mask missing signal %d\n"
	.align 8
.LC3:
	.string	"Mask unexpectedly has signal %d\n"
	.text
	.type	CheckMask, @function
CheckMask:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 496
	mov	DWORD PTR -484[rbp], edi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L14
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L14:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	lea	rax, -448[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 2
	call	sigprocmask@PLT
	lea	rax, -320[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	cmp	DWORD PTR -484[rbp], 0
	je	.L15
	mov	edx, DWORD PTR -484[rbp]
	lea	rax, -320[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sigaddset@PLT
	mov	DWORD PTR -472[rbp], 8
	mov	DWORD PTR -468[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -464[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -456[rbp], rax
	jmp	.L16
.L19:
	mov	edx, DWORD PTR -484[rbp]
	lea	rax, -320[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sigaddset@PLT
.L16:
	mov	eax, DWORD PTR -472[rbp]
	cmp	eax, 47
	ja	.L17
	mov	rax, QWORD PTR -456[rbp]
	mov	edx, DWORD PTR -472[rbp]
	mov	edx, edx
	add	rax, rdx
	mov	edx, DWORD PTR -472[rbp]
	add	edx, 8
	mov	DWORD PTR -472[rbp], edx
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -464[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -464[rbp], rdx
.L18:
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -484[rbp], eax
	cmp	DWORD PTR -484[rbp], 0
	jne	.L19
.L15:
	mov	DWORD PTR -476[rbp], 1
	mov	DWORD PTR -484[rbp], 1
	jmp	.L20
.L23:
	mov	edx, DWORD PTR -484[rbp]
	lea	rax, -448[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sigismember@PLT
	test	eax, eax
	jne	.L21
	mov	edx, DWORD PTR -484[rbp]
	lea	rax, -320[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sigismember@PLT
	test	eax, eax
	je	.L21
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -484[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -476[rbp], 0
.L21:
	mov	edx, DWORD PTR -484[rbp]
	lea	rax, -448[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sigismember@PLT
	test	eax, eax
	je	.L22
	mov	edx, DWORD PTR -484[rbp]
	lea	rax, -320[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sigismember@PLT
	test	eax, eax
	jne	.L22
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -484[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -476[rbp], 0
.L22:
	add	DWORD PTR -484[rbp], 1
.L20:
	cmp	DWORD PTR -484[rbp], 31
	jle	.L23
	mov	eax, DWORD PTR -476[rbp]
	mov	rcx, QWORD PTR -184[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	CheckMask, .-CheckMask
	.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	"282929.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Unable handle signal USR1\012\000"
	.align	2
.LC1:
	.ascii	"Unable handle signal USR2\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L8+4
	str	r3, [fp, #-148]
	sub	r3, fp, #148
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #10
	bl	sigaction
	mov	r3, r0
	cmn	r3, #1
	bne	.L2
	ldr	r3, .L8+8
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L8+12
	bl	fwrite
	mov	r3, #1
	b	.L6
.L2:
	ldr	r3, .L8+16
	str	r3, [fp, #-148]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #12
	bl	sigaction
	mov	r3, r0
	cmn	r3, #1
	bne	.L4
	ldr	r3, .L8+8
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L8+20
	bl	fwrite
	mov	r3, #1
	b	.L6
.L4:
	mov	r0, #10
	bl	raise
	mov	r0, #0
	bl	CheckMask
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	mov	r3, #1
	b	.L6
.L5:
	mov	r3, #0
.L6:
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC2
	.word	HandleUSR1
	.word	stderr
	.word	.LC0
	.word	HandleUSR2
	.word	.LC1
	.size	main, .-main
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	HandleUSR1, %function
HandleUSR1:
	@ 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, #0
	mov	r0, #10
	bl	CheckMask
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	mov	r0, #1
	bl	exit
.L11:
	mov	r0, #12
	bl	raise
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	HandleUSR1, .-HandleUSR1
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	HandleUSR2, %function
HandleUSR2:
	@ 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	r2, #0
	mov	r1, #12
	mov	r0, #10
	bl	CheckMask
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	mov	r0, #1
	bl	exit
.L14:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	HandleUSR2, .-HandleUSR2
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Mask missing signal %d\012\000"
	.align	2
.LC4:
	.ascii	"Mask unexpectedly has signal %d\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	CheckMask, %function
CheckMask:
	@ args = 4, pretend = 16, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #264
	mov	r2, r3
	mov	r1, #0
	mov	r0, #2
	bl	sigprocmask
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigemptyset
	ldr	r3, [fp, #4]
	cmp	r3, #0
	beq	.L16
	sub	r3, fp, #136
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	sigaddset
	add	r3, fp, #8
	str	r3, [fp, #-272]
	b	.L17
.L18:
	sub	r3, fp, #136
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	sigaddset
.L17:
	ldr	r3, [fp, #-272]
	add	r2, r3, #4
	str	r2, [fp, #-272]
	ldr	r3, [r3]
	str	r3, [fp, #4]
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L18
.L16:
	mov	r3, #1
	str	r3, [fp, #-268]
	mov	r3, #1
	str	r3, [fp, #4]
	b	.L19
.L22:
	sub	r3, fp, #264
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	sigismember
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	sub	r3, fp, #136
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	sigismember
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r3, .L25+4
	ldr	r3, [r3]
	ldr	r2, [fp, #4]
	ldr	r1, .L25+8
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-268]
.L20:
	sub	r3, fp, #264
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	sigismember
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	sub	r3, fp, #136
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	sigismember
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, .L25+4
	ldr	r3, [r3]
	ldr	r2, [fp, #4]
	ldr	r1, .L25+12
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-268]
.L21:
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	str	r3, [fp, #4]
.L19:
	ldr	r3, [fp, #4]
	cmp	r3, #31
	ble	.L22
	ldr	r3, [fp, #-268]
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L26:
	.align	2
.L25:
	.word	.LC5
	.word	stderr
	.word	.LC3
	.word	.LC4
	.size	CheckMask, .-CheckMask
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
