	.file	"783971.c"
	.intel_syntax noprefix
	.text
	.globl	cnt
	.bss
	.align 4
	.type	cnt, @object
	.size	cnt, 4
cnt:
	.zero	4
	.globl	s1
	.align 4
	.type	s1, @object
	.size	s1, 4
s1:
	.zero	4
	.globl	s2
	.align 4
	.type	s2, @object
	.size	s2, 4
s2:
	.zero	4
	.text
	.globl	trm_handler
	.type	trm_handler, @function
trm_handler:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	edi, 0
	call	_exit@PLT
	.cfi_endproc
.LFE0:
	.size	trm_handler, .-trm_handler
	.globl	s1_handler
	.type	s1_handler, @function
s1_handler:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR s1[rip], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	s1_handler, .-s1_handler
	.globl	s2_handler
	.type	s2_handler, @function
s2_handler:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR s2[rip]
	add	eax, 1
	mov	DWORD PTR s2[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	s2_handler, .-s2_handler
	.section	.rodata
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 752
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -736[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -608[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -736[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -736[rbp]
	mov	esi, 12
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -736[rbp]
	mov	esi, 15
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -736[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 0
	call	sigprocmask@PLT
	lea	rdx, -480[rbp]
	mov	eax, 0
	mov	ecx, 19
	mov	rdi, rdx
	rep stosq
	lea	rax, s1_handler[rip]
	mov	QWORD PTR -480[rbp], rax
	mov	DWORD PTR -344[rbp], 268435456
	lea	rax, -480[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 10
	call	sigaction@PLT
	lea	rdx, -320[rbp]
	mov	eax, 0
	mov	ecx, 19
	mov	rdi, rdx
	rep stosq
	lea	rax, s2_handler[rip]
	mov	QWORD PTR -320[rbp], rax
	mov	DWORD PTR -184[rbp], 268435456
	lea	rax, -320[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 12
	call	sigaction@PLT
	lea	rdx, -160[rbp]
	mov	eax, 0
	mov	ecx, 19
	mov	rdi, rdx
	rep stosq
	lea	rax, trm_handler[rip]
	mov	QWORD PTR -160[rbp], rax
	mov	DWORD PTR -24[rbp], 268435456
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 15
	call	sigaction@PLT
	call	getpid@PLT
	mov	DWORD PTR -740[rbp], eax
	mov	eax, DWORD PTR -740[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	DWORD PTR -744[rbp], 0
.L6:
	lea	rax, -608[rbp]
	mov	rdi, rax
	call	sigsuspend@PLT
	mov	eax, DWORD PTR s1[rip]
	test	eax, eax
	je	.L6
	mov	edx, DWORD PTR s2[rip]
	mov	eax, DWORD PTR -744[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -744[rbp], ecx
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	DWORD PTR s1[rip], 0
	jmp	.L6
	.cfi_endproc
.LFE3:
	.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	"783971.c"
	.text
	.global	cnt
	.bss
	.align	2
	.type	cnt, %object
	.size	cnt, 4
cnt:
	.space	4
	.global	s1
	.align	2
	.type	s1, %object
	.size	s1, 4
s1:
	.space	4
	.global	s2
	.align	2
	.type	s2, %object
	.size	s2, 4
s2:
	.space	4
	.text
	.align	2
	.global	trm_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	trm_handler, %function
trm_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]
	mov	r0, #0
	bl	_exit
	.size	trm_handler, .-trm_handler
	.align	2
	.global	s1_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	s1_handler, %function
s1_handler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L3
	mov	r2, #1
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L4:
	.align	2
.L3:
	.word	s1
	.size	s1_handler, .-s1_handler
	.align	2
	.global	s2_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	s2_handler, %function
s2_handler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L6
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	s2
	.size	s2_handler, .-s2_handler
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.align	2
.LC1:
	.ascii	"%d %d\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 = 688
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #688
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #684
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #556
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #684
	mov	r1, #10
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #684
	mov	r1, #12
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #684
	mov	r1, #15
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #684
	mov	r2, #0
	mov	r1, r3
	mov	r0, #0
	bl	sigprocmask
	sub	r3, fp, #428
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L12+4
	str	r3, [fp, #-428]
	mov	r3, #268435456
	str	r3, [fp, #-296]
	sub	r3, fp, #428
	mov	r2, #0
	mov	r1, r3
	mov	r0, #10
	bl	sigaction
	sub	r3, fp, #288
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L12+8
	str	r3, [fp, #-288]
	mov	r3, #268435456
	str	r3, [fp, #-156]
	sub	r3, fp, #288
	mov	r2, #0
	mov	r1, r3
	mov	r0, #12
	bl	sigaction
	sub	r3, fp, #148
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L12+12
	str	r3, [fp, #-148]
	mov	r3, #268435456
	str	r3, [fp, #-16]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #15
	bl	sigaction
	bl	getpid
	str	r0, [fp, #-688]
	ldr	r1, [fp, #-688]
	ldr	r0, .L12+16
	bl	printf
	ldr	r3, .L12+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r3, #0
	str	r3, [fp, #-692]
.L10:
	sub	r3, fp, #556
	mov	r0, r3
	bl	sigsuspend
	ldr	r3, .L12+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-692]
	add	r2, r3, #1
	str	r2, [fp, #-692]
	ldr	r2, .L12+28
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L12+32
	bl	printf
	ldr	r3, .L12+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L12+24
	mov	r2, #0
	str	r2, [r3]
	b	.L10
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	s1_handler
	.word	s2_handler
	.word	trm_handler
	.word	.LC0
	.word	stdout
	.word	s1
	.word	s2
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
