	.file	"646117.c"
	.intel_syntax noprefix
	.text
	.local	quit
	.comm	quit,4,4
	.section	.rodata
.LC0:
	.string	"[OK] received signal %u\n"
	.text
	.type	handler, @function
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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR quit[rip], 1
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	mov	ecx, eax
	lea	rdx, .LC0[rip]
	mov	esi, 64
	lea	rdi, msg.0[rip]
	mov	eax, 0
	call	snprintf@PLT
	cdqe
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	lea	rsi, msg.0[rip]
	mov	edi, 1
	call	write@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	handler, .-handler
	.section	.rodata
.LC1:
	.string	"rt_sigaction"
	.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, 608
	mov	DWORD PTR -596[rbp], edi
	mov	QWORD PTR -608[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -320[rbp]
	mov	edx, 152
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -160[rbp]
	mov	edx, 152
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -576[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -448[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -576[rbp]
	mov	esi, 14
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -576[rbp]
	mov	esi, 26
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, handler[rip]
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -576[rbp]
	mov	rdx, QWORD PTR -568[rbp]
	mov	QWORD PTR -152[rbp], rax
	mov	QWORD PTR -144[rbp], rdx
	mov	rax, QWORD PTR -560[rbp]
	mov	rdx, QWORD PTR -552[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	QWORD PTR -128[rbp], rdx
	mov	rax, QWORD PTR -544[rbp]
	mov	rdx, QWORD PTR -536[rbp]
	mov	QWORD PTR -120[rbp], rax
	mov	QWORD PTR -112[rbp], rdx
	mov	rax, QWORD PTR -528[rbp]
	mov	rdx, QWORD PTR -520[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	QWORD PTR -96[rbp], rdx
	mov	rax, QWORD PTR -512[rbp]
	mov	rdx, QWORD PTR -504[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	QWORD PTR -80[rbp], rdx
	mov	rax, QWORD PTR -496[rbp]
	mov	rdx, QWORD PTR -488[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -64[rbp], rdx
	mov	rax, QWORD PTR -480[rbp]
	mov	rdx, QWORD PTR -472[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	QWORD PTR -48[rbp], rdx
	mov	rax, QWORD PTR -464[rbp]
	mov	rdx, QWORD PTR -456[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	QWORD PTR -32[rbp], rdx
	mov	DWORD PTR -24[rbp], 268435460
	lea	rdx, -320[rbp]
	lea	rax, -160[rbp]
	mov	rsi, rax
	mov	edi, 14
	call	sigaction@PLT
	mov	DWORD PTR -580[rbp], eax
	cmp	DWORD PTR -580[rbp], 0
	jns	.L3
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	lea	rdx, -448[rbp]
	lea	rax, -576[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	sigprocmask@PLT
	mov	DWORD PTR -580[rbp], eax
	cmp	DWORD PTR -580[rbp], 0
	jns	.L4
	call	abort@PLT
.L4:
	lea	rax, -320[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 14
	call	sigaction@PLT
	mov	DWORD PTR -580[rbp], eax
	cmp	DWORD PTR -580[rbp], 0
	jns	.L5
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR -320[rbp]
	mov	rdx, rax
	lea	rax, handler[rip]
	cmp	rdx, rax
	je	.L6
	call	abort@PLT
.L6:
	mov	edi, 1
	call	alarm@PLT
	nop
.L7:
	mov	eax, DWORD PTR quit[rip]
	test	eax, eax
	je	.L7
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.local	msg.0
	.comm	msg.0,64,32
	.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	"646117.c"
	.text
	.local	quit
	.comm	quit,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"[OK] received signal %u\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handler, %function
handler:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, .L2
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, .L2+4
	mov	r1, #64
	ldr	r0, .L2+8
	bl	snprintf
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+8
	mov	r0, #1
	bl	write
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	quit
	.word	.LC0
	.word	msg.6252
	.size	handler, .-handler
	.section	.rodata
	.align	2
.LC1:
	.ascii	"rt_sigaction\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 = 552
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #552
	str	r0, [fp, #-552]
	str	r1, [fp, #-556]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #288
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #148
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #544
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #416
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #544
	mov	r1, #14
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #544
	mov	r1, #26
	mov	r0, r3
	bl	sigaddset
	ldr	r3, .L12+4
	str	r3, [fp, #-148]
	sub	r3, fp, #144
	sub	r1, fp, #544
	mov	r2, #128
	mov	r0, r3
	bl	memcpy
	mov	r3, #268435460
	str	r3, [fp, #-16]
	sub	r2, fp, #288
	sub	r3, fp, #148
	mov	r1, r3
	mov	r0, #14
	bl	sigaction
	str	r0, [fp, #-548]
	ldr	r3, [fp, #-548]
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L12+8
	bl	perror
	mov	r0, #1
	bl	exit
.L5:
	sub	r2, fp, #416
	sub	r3, fp, #544
	mov	r1, r3
	mov	r0, #1
	bl	sigprocmask
	str	r0, [fp, #-548]
	ldr	r3, [fp, #-548]
	cmp	r3, #0
	bge	.L6
	bl	abort
.L6:
	sub	r3, fp, #288
	mov	r2, r3
	mov	r1, #0
	mov	r0, #14
	bl	sigaction
	str	r0, [fp, #-548]
	ldr	r3, [fp, #-548]
	cmp	r3, #0
	bge	.L7
	ldr	r0, .L12+8
	bl	perror
	mov	r0, #1
	bl	exit
.L7:
	ldr	r3, [fp, #-288]
	mov	r2, r3
	ldr	r3, .L12+4
	cmp	r2, r3
	beq	.L8
	bl	abort
.L8:
	mov	r0, #1
	bl	alarm
	nop
.L9:
	ldr	r3, .L12+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L9
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	handler
	.word	.LC1
	.word	quit
	.size	main, .-main
	.local	msg.6252
	.comm	msg.6252,64,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
