	.file	"20449496.c"
	.intel_syntax noprefix
	.text
	.globl	checkLoop
	.type	checkLoop, @function
checkLoop:
.LFB6:
	.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
	cmp	DWORD PTR -4[rbp], 0
	jne	.L2
	mov	DWORD PTR FLAG.1[rip], 1
.L2:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L3
	mov	eax, DWORD PTR FLAG.1[rip]
	jmp	.L4
.L3:
	mov	eax, -1
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	checkLoop, .-checkLoop
	.section	.rodata
.LC0:
	.string	"HUP"
.LC1:
	.string	"INT"
.LC2:
	.string	"QUIT"
.LC3:
	.string	"ILL"
.LC4:
	.string	"TRAP"
.LC5:
	.string	"ABRT"
.LC6:
	.string	"IOT"
.LC7:
	.string	"BUS"
.LC8:
	.string	"FPE"
.LC9:
	.string	"KILL"
.LC10:
	.string	"USR1"
.LC11:
	.string	"SEGV"
.LC12:
	.string	"USR2"
.LC13:
	.string	"PIPE"
.LC14:
	.string	"ALRM"
.LC15:
	.string	"TERM"
.LC16:
	.string	"STKFLT"
.LC17:
	.string	"CHLD"
.LC18:
	.string	"CONT"
.LC19:
	.string	"STOP"
.LC20:
	.string	"TSTP"
.LC21:
	.string	"TTIN"
.LC22:
	.string	"TTOU"
.LC23:
	.string	"URG"
.LC24:
	.string	"XCPU"
.LC25:
	.string	"XFSZ"
.LC26:
	.string	"VTALRM"
.LC27:
	.string	"PROF"
.LC28:
	.string	"WINCH"
	.text
	.globl	sig_name2number
	.type	sig_name2number, @function
sig_name2number:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], -1
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	mov	DWORD PTR -4[rbp], 1
.L6:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	mov	DWORD PTR -4[rbp], 2
.L7:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	DWORD PTR -4[rbp], 3
.L8:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	mov	DWORD PTR -4[rbp], 4
.L9:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	mov	DWORD PTR -4[rbp], 5
.L10:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	mov	DWORD PTR -4[rbp], 6
.L11:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	mov	DWORD PTR -4[rbp], 6
.L12:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	mov	DWORD PTR -4[rbp], 7
.L13:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	mov	DWORD PTR -4[rbp], 8
.L14:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L15
	mov	DWORD PTR -4[rbp], 9
.L15:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L16
	mov	DWORD PTR -4[rbp], 10
.L16:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L17
	mov	DWORD PTR -4[rbp], 11
.L17:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
	mov	DWORD PTR -4[rbp], 12
.L18:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L19
	mov	DWORD PTR -4[rbp], 13
.L19:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	mov	DWORD PTR -4[rbp], 14
.L20:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L21
	mov	DWORD PTR -4[rbp], 15
.L21:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L22
	mov	DWORD PTR -4[rbp], 16
.L22:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L23
	mov	DWORD PTR -4[rbp], 17
.L23:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L24
	mov	DWORD PTR -4[rbp], 18
.L24:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L25
	mov	DWORD PTR -4[rbp], 19
.L25:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L26
	mov	DWORD PTR -4[rbp], 20
.L26:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L27
	mov	DWORD PTR -4[rbp], 21
.L27:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L28
	mov	DWORD PTR -4[rbp], 22
.L28:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	DWORD PTR -4[rbp], 23
.L29:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L30
	mov	DWORD PTR -4[rbp], 24
.L30:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L31
	mov	DWORD PTR -4[rbp], 25
.L31:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L32
	mov	DWORD PTR -4[rbp], 26
.L32:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L33
	mov	DWORD PTR -4[rbp], 27
.L33:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L34
	mov	DWORD PTR -4[rbp], 28
.L34:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	sig_name2number, .-sig_name2number
	.globl	sig_number2name
	.type	sig_number2name, @function
sig_number2name:
.LFB8:
	.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
	cmp	DWORD PTR -4[rbp], 1
	jne	.L37
	lea	rax, .LC0[rip]
	jmp	.L36
.L37:
	cmp	DWORD PTR -4[rbp], 2
	jne	.L39
	lea	rax, .LC1[rip]
	jmp	.L36
.L39:
	cmp	DWORD PTR -4[rbp], 3
	jne	.L40
	lea	rax, .LC2[rip]
	jmp	.L36
.L40:
	cmp	DWORD PTR -4[rbp], 4
	jne	.L41
	lea	rax, .LC3[rip]
	jmp	.L36
.L41:
	cmp	DWORD PTR -4[rbp], 5
	jne	.L42
	lea	rax, .LC4[rip]
	jmp	.L36
.L42:
	cmp	DWORD PTR -4[rbp], 6
	jne	.L43
	lea	rax, .LC5[rip]
	jmp	.L36
.L43:
	cmp	DWORD PTR -4[rbp], 6
	jne	.L44
	lea	rax, .LC6[rip]
	jmp	.L36
.L44:
	cmp	DWORD PTR -4[rbp], 7
	jne	.L45
	lea	rax, .LC7[rip]
	jmp	.L36
.L45:
	cmp	DWORD PTR -4[rbp], 8
	jne	.L46
	lea	rax, .LC8[rip]
	jmp	.L36
.L46:
	cmp	DWORD PTR -4[rbp], 9
	jne	.L47
	lea	rax, .LC9[rip]
	jmp	.L36
.L47:
	cmp	DWORD PTR -4[rbp], 10
	jne	.L48
	lea	rax, .LC10[rip]
	jmp	.L36
.L48:
	cmp	DWORD PTR -4[rbp], 11
	jne	.L49
	lea	rax, .LC11[rip]
	jmp	.L36
.L49:
	cmp	DWORD PTR -4[rbp], 12
	jne	.L50
	lea	rax, .LC12[rip]
	jmp	.L36
.L50:
	cmp	DWORD PTR -4[rbp], 13
	jne	.L51
	lea	rax, .LC13[rip]
	jmp	.L36
.L51:
	cmp	DWORD PTR -4[rbp], 14
	jne	.L52
	lea	rax, .LC14[rip]
	jmp	.L36
.L52:
	cmp	DWORD PTR -4[rbp], 15
	jne	.L53
	lea	rax, .LC15[rip]
	jmp	.L36
.L53:
	cmp	DWORD PTR -4[rbp], 16
	jne	.L54
	lea	rax, .LC16[rip]
	jmp	.L36
.L54:
	cmp	DWORD PTR -4[rbp], 17
	jne	.L55
	lea	rax, .LC17[rip]
	jmp	.L36
.L55:
	cmp	DWORD PTR -4[rbp], 18
	jne	.L56
	lea	rax, .LC18[rip]
	jmp	.L36
.L56:
	cmp	DWORD PTR -4[rbp], 19
	jne	.L57
	lea	rax, .LC19[rip]
	jmp	.L36
.L57:
	cmp	DWORD PTR -4[rbp], 20
	jne	.L58
	lea	rax, .LC20[rip]
	jmp	.L36
.L58:
	cmp	DWORD PTR -4[rbp], 21
	jne	.L59
	lea	rax, .LC21[rip]
	jmp	.L36
.L59:
	cmp	DWORD PTR -4[rbp], 22
	jne	.L60
	lea	rax, .LC22[rip]
	jmp	.L36
.L60:
	cmp	DWORD PTR -4[rbp], 23
	jne	.L61
	lea	rax, .LC23[rip]
	jmp	.L36
.L61:
	cmp	DWORD PTR -4[rbp], 24
	jne	.L62
	lea	rax, .LC24[rip]
	jmp	.L36
.L62:
	cmp	DWORD PTR -4[rbp], 25
	jne	.L63
	lea	rax, .LC25[rip]
	jmp	.L36
.L63:
	cmp	DWORD PTR -4[rbp], 26
	jne	.L64
	lea	rax, .LC26[rip]
	jmp	.L36
.L64:
	cmp	DWORD PTR -4[rbp], 27
	jne	.L65
	lea	rax, .LC27[rip]
	jmp	.L36
.L65:
	cmp	DWORD PTR -4[rbp], 28
	jne	.L66
	lea	rax, .LC28[rip]
	jmp	.L36
.L66:
.L36:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	sig_number2name, .-sig_number2name
	.section	.rodata
.LC29:
	.string	"%s caught at time %d\n"
	.align 8
.LC30:
	.string	"ERROR: Program termination error"
	.text
	.globl	catchSignal
	.type	catchSignal, @function
catchSignal:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	lea	rsi, catchSignal[rip]
	mov	edi, eax
	call	signal@PLT
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	sig_number2name
	mov	rsi, rax
	mov	rax, QWORD PTR stdout[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -20[rbp], 15
	jne	.L68
	mov	eax, DWORD PTR TERMCOUNT.0[rip]
	add	eax, 1
	mov	DWORD PTR TERMCOUNT.0[rip], eax
	jmp	.L69
.L68:
	mov	DWORD PTR TERMCOUNT.0[rip], 0
.L69:
	mov	eax, DWORD PTR TERMCOUNT.0[rip]
	cmp	eax, 3
	jne	.L71
	mov	edi, 0
	call	checkLoop
	cmp	eax, -1
	je	.L71
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC30[rip]
	call	fwrite@PLT
.L71:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	catchSignal, .-catchSignal
	.section	.rodata
	.align 8
.LC31:
	.string	"ERROR: provide %s a signal to catch.\n"
.LC32:
	.string	"%s: \t$$ = %d\n"
	.align 8
.LC33:
	.string	"%s: Total signals caught = %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -8[rbp], 0
	cmp	DWORD PTR -20[rbp], 1
	jg	.L73
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L74
.L73:
	call	getpid@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -4[rbp], 1
	jmp	.L75
.L78:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	sig_name2number
	cmp	eax, -1
	je	.L76
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	sig_name2number
	lea	rsi, catchSignal[rip]
	mov	edi, eax
	call	signal@PLT
	jmp	.L77
.L76:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	sig_name2number
	mov	esi, 1
	mov	edi, eax
	call	signal@PLT
.L77:
	add	DWORD PTR -4[rbp], 1
.L75:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L78
.L81:
	call	pause@PLT
	add	DWORD PTR -8[rbp], 1
	mov	edi, 1
	call	checkLoop
	cmp	eax, 1
	je	.L83
	jmp	.L81
.L83:
	nop
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -8[rbp]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
.L74:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.local	FLAG.1
	.comm	FLAG.1,4,4
	.local	TERMCOUNT.0
	.comm	TERMCOUNT.0,4,4
	.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	"20449496.c"
	.text
	.align	2
	.global	checkLoop
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkLoop, %function
checkLoop:
	@ 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, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L5
	mov	r2, #1
	str	r2, [r3]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L3
	ldr	r3, .L5
	ldr	r3, [r3]
	b	.L4
.L3:
	mvn	r3, #0
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L6:
	.align	2
.L5:
	.word	FLAG.6355
	.size	checkLoop, .-checkLoop
	.section	.rodata
	.align	2
.LC0:
	.ascii	"HUP\000"
	.align	2
.LC1:
	.ascii	"INT\000"
	.align	2
.LC2:
	.ascii	"QUIT\000"
	.align	2
.LC3:
	.ascii	"ILL\000"
	.align	2
.LC4:
	.ascii	"TRAP\000"
	.align	2
.LC5:
	.ascii	"ABRT\000"
	.align	2
.LC6:
	.ascii	"IOT\000"
	.align	2
.LC7:
	.ascii	"BUS\000"
	.align	2
.LC8:
	.ascii	"FPE\000"
	.align	2
.LC9:
	.ascii	"KILL\000"
	.align	2
.LC10:
	.ascii	"USR1\000"
	.align	2
.LC11:
	.ascii	"SEGV\000"
	.align	2
.LC12:
	.ascii	"USR2\000"
	.align	2
.LC13:
	.ascii	"PIPE\000"
	.align	2
.LC14:
	.ascii	"ALRM\000"
	.align	2
.LC15:
	.ascii	"TERM\000"
	.align	2
.LC16:
	.ascii	"STKFLT\000"
	.align	2
.LC17:
	.ascii	"CHLD\000"
	.align	2
.LC18:
	.ascii	"CONT\000"
	.align	2
.LC19:
	.ascii	"STOP\000"
	.align	2
.LC20:
	.ascii	"TSTP\000"
	.align	2
.LC21:
	.ascii	"TTIN\000"
	.align	2
.LC22:
	.ascii	"TTOU\000"
	.align	2
.LC23:
	.ascii	"URG\000"
	.align	2
.LC24:
	.ascii	"XCPU\000"
	.align	2
.LC25:
	.ascii	"XFSZ\000"
	.align	2
.LC26:
	.ascii	"VTALRM\000"
	.align	2
.LC27:
	.ascii	"PROF\000"
	.align	2
.LC28:
	.ascii	"WINCH\000"
	.text
	.align	2
	.global	sig_name2number
	.syntax unified
	.arm
	.fpu softvfp
	.type	sig_name2number, %function
sig_name2number:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mvn	r3, #0
	str	r3, [fp, #-8]
	ldr	r1, .L38
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	mov	r3, #1
	str	r3, [fp, #-8]
.L8:
	ldr	r1, .L38+4
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	mov	r3, #2
	str	r3, [fp, #-8]
.L9:
	ldr	r1, .L38+8
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	mov	r3, #3
	str	r3, [fp, #-8]
.L10:
	ldr	r1, .L38+12
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	mov	r3, #4
	str	r3, [fp, #-8]
.L11:
	ldr	r1, .L38+16
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	mov	r3, #5
	str	r3, [fp, #-8]
.L12:
	ldr	r1, .L38+20
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	mov	r3, #6
	str	r3, [fp, #-8]
.L13:
	ldr	r1, .L38+24
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	mov	r3, #6
	str	r3, [fp, #-8]
.L14:
	ldr	r1, .L38+28
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	mov	r3, #7
	str	r3, [fp, #-8]
.L15:
	ldr	r1, .L38+32
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	mov	r3, #8
	str	r3, [fp, #-8]
.L16:
	ldr	r1, .L38+36
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	mov	r3, #9
	str	r3, [fp, #-8]
.L17:
	ldr	r1, .L38+40
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	mov	r3, #10
	str	r3, [fp, #-8]
.L18:
	ldr	r1, .L38+44
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	mov	r3, #11
	str	r3, [fp, #-8]
.L19:
	ldr	r1, .L38+48
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	mov	r3, #12
	str	r3, [fp, #-8]
.L20:
	ldr	r1, .L38+52
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	mov	r3, #13
	str	r3, [fp, #-8]
.L21:
	ldr	r1, .L38+56
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	mov	r3, #14
	str	r3, [fp, #-8]
.L22:
	ldr	r1, .L38+60
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	mov	r3, #15
	str	r3, [fp, #-8]
.L23:
	ldr	r1, .L38+64
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	mov	r3, #16
	str	r3, [fp, #-8]
.L24:
	ldr	r1, .L38+68
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	mov	r3, #17
	str	r3, [fp, #-8]
.L25:
	ldr	r1, .L38+72
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	mov	r3, #18
	str	r3, [fp, #-8]
.L26:
	ldr	r1, .L38+76
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	mov	r3, #19
	str	r3, [fp, #-8]
.L27:
	ldr	r1, .L38+80
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	mov	r3, #20
	str	r3, [fp, #-8]
.L28:
	ldr	r1, .L38+84
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
	mov	r3, #21
	str	r3, [fp, #-8]
.L29:
	ldr	r1, .L38+88
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	mov	r3, #22
	str	r3, [fp, #-8]
.L30:
	ldr	r1, .L38+92
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	mov	r3, #23
	str	r3, [fp, #-8]
.L31:
	ldr	r1, .L38+96
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	mov	r3, #24
	str	r3, [fp, #-8]
.L32:
	ldr	r1, .L38+100
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	mov	r3, #25
	str	r3, [fp, #-8]
.L33:
	ldr	r1, .L38+104
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	mov	r3, #26
	str	r3, [fp, #-8]
.L34:
	ldr	r1, .L38+108
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	mov	r3, #27
	str	r3, [fp, #-8]
.L35:
	ldr	r1, .L38+112
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	mov	r3, #28
	str	r3, [fp, #-8]
.L36:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.size	sig_name2number, .-sig_name2number
	.align	2
	.global	sig_number2name
	.syntax unified
	.arm
	.fpu softvfp
	.type	sig_number2name, %function
sig_number2name:
	@ 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, [fp, #-8]
	cmp	r3, #1
	bne	.L41
	ldr	r3, .L71
	b	.L40
.L41:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L43
	ldr	r3, .L71+4
	b	.L40
.L43:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bne	.L44
	ldr	r3, .L71+8
	b	.L40
.L44:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	bne	.L45
	ldr	r3, .L71+12
	b	.L40
.L45:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	bne	.L46
	ldr	r3, .L71+16
	b	.L40
.L46:
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	bne	.L47
	ldr	r3, .L71+20
	b	.L40
.L47:
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	bne	.L48
	ldr	r3, .L71+24
	b	.L40
.L48:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	bne	.L49
	ldr	r3, .L71+28
	b	.L40
.L49:
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	bne	.L50
	ldr	r3, .L71+32
	b	.L40
.L50:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	bne	.L51
	ldr	r3, .L71+36
	b	.L40
.L51:
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L52
	ldr	r3, .L71+40
	b	.L40
.L52:
	ldr	r3, [fp, #-8]
	cmp	r3, #11
	bne	.L53
	ldr	r3, .L71+44
	b	.L40
.L53:
	ldr	r3, [fp, #-8]
	cmp	r3, #12
	bne	.L54
	ldr	r3, .L71+48
	b	.L40
.L54:
	ldr	r3, [fp, #-8]
	cmp	r3, #13
	bne	.L55
	ldr	r3, .L71+52
	b	.L40
.L55:
	ldr	r3, [fp, #-8]
	cmp	r3, #14
	bne	.L56
	ldr	r3, .L71+56
	b	.L40
.L56:
	ldr	r3, [fp, #-8]
	cmp	r3, #15
	bne	.L57
	ldr	r3, .L71+60
	b	.L40
.L57:
	ldr	r3, [fp, #-8]
	cmp	r3, #16
	bne	.L58
	ldr	r3, .L71+64
	b	.L40
.L58:
	ldr	r3, [fp, #-8]
	cmp	r3, #17
	bne	.L59
	ldr	r3, .L71+68
	b	.L40
.L59:
	ldr	r3, [fp, #-8]
	cmp	r3, #18
	bne	.L60
	ldr	r3, .L71+72
	b	.L40
.L60:
	ldr	r3, [fp, #-8]
	cmp	r3, #19
	bne	.L61
	ldr	r3, .L71+76
	b	.L40
.L61:
	ldr	r3, [fp, #-8]
	cmp	r3, #20
	bne	.L62
	ldr	r3, .L71+80
	b	.L40
.L62:
	ldr	r3, [fp, #-8]
	cmp	r3, #21
	bne	.L63
	ldr	r3, .L71+84
	b	.L40
.L63:
	ldr	r3, [fp, #-8]
	cmp	r3, #22
	bne	.L64
	ldr	r3, .L71+88
	b	.L40
.L64:
	ldr	r3, [fp, #-8]
	cmp	r3, #23
	bne	.L65
	ldr	r3, .L71+92
	b	.L40
.L65:
	ldr	r3, [fp, #-8]
	cmp	r3, #24
	bne	.L66
	ldr	r3, .L71+96
	b	.L40
.L66:
	ldr	r3, [fp, #-8]
	cmp	r3, #25
	bne	.L67
	ldr	r3, .L71+100
	b	.L40
.L67:
	ldr	r3, [fp, #-8]
	cmp	r3, #26
	bne	.L68
	ldr	r3, .L71+104
	b	.L40
.L68:
	ldr	r3, [fp, #-8]
	cmp	r3, #27
	bne	.L69
	ldr	r3, .L71+108
	b	.L40
.L69:
	ldr	r3, [fp, #-8]
	cmp	r3, #28
	bne	.L70
	ldr	r3, .L71+112
	b	.L40
.L70:
.L40:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L72:
	.align	2
.L71:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.size	sig_number2name, .-sig_number2name
	.section	.rodata
	.align	2
.LC29:
	.ascii	"%s caught at time %d\012\000"
	.align	2
.LC30:
	.ascii	"ERROR: Program termination error\000"
	.text
	.align	2
	.global	catchSignal
	.syntax unified
	.arm
	.fpu softvfp
	.type	catchSignal, %function
catchSignal:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	ldr	r1, .L78
	ldr	r0, [fp, #-24]
	bl	signal
	mov	r0, #0
	bl	time
	str	r0, [fp, #-16]
	ldr	r3, .L78+4
	ldr	r4, [r3]
	ldr	r0, [fp, #-24]
	bl	sig_number2name
	mov	r2, r0
	ldr	r3, [fp, #-16]
	ldr	r1, .L78+8
	mov	r0, r4
	bl	fprintf
	ldr	r3, [fp, #-24]
	cmp	r3, #15
	bne	.L74
	ldr	r3, .L78+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L78+12
	str	r3, [r2]
	b	.L75
.L74:
	ldr	r3, .L78+12
	mov	r2, #0
	str	r2, [r3]
.L75:
	ldr	r3, .L78+12
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L77
	mov	r0, #0
	bl	checkLoop
	mov	r3, r0
	cmn	r3, #1
	beq	.L77
	ldr	r3, .L78+16
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L78+20
	bl	fwrite
.L77:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L79:
	.align	2
.L78:
	.word	catchSignal
	.word	stdout
	.word	.LC29
	.word	TERMCOUNT.6366
	.word	stderr
	.word	.LC30
	.size	catchSignal, .-catchSignal
	.section	.rodata
	.align	2
.LC31:
	.ascii	"ERROR: provide %s a signal to catch.\012\000"
	.align	2
.LC32:
	.ascii	"%s: \011$$ = %d\012\000"
	.align	2
.LC33:
	.ascii	"%s: Total signals caught = %d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bgt	.L81
	ldr	r3, .L92
	ldr	r0, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L92+4
	bl	fprintf
	mov	r3, #1
	b	.L82
.L81:
	ldr	r3, .L92
	ldr	r4, [r3]
	ldr	r3, [fp, #-28]
	ldr	r5, [r3]
	bl	getpid
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L92+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L83
.L86:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	sig_name2number
	mov	r3, r0
	cmn	r3, #1
	beq	.L84
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	sig_name2number
	mov	r3, r0
	ldr	r1, .L92+12
	mov	r0, r3
	bl	signal
	b	.L85
.L84:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	sig_name2number
	mov	r3, r0
	mov	r1, #1
	mov	r0, r3
	bl	signal
.L85:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L83:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L86
.L89:
	bl	pause
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	mov	r0, #1
	bl	checkLoop
	mov	r3, r0
	cmp	r3, #1
	beq	.L91
	b	.L89
.L91:
	nop
	ldr	r3, .L92
	ldr	r0, [r3]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r1, .L92+16
	bl	fprintf
	mov	r3, #0
.L82:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L93:
	.align	2
.L92:
	.word	stderr
	.word	.LC31
	.word	.LC32
	.word	catchSignal
	.word	.LC33
	.size	main, .-main
	.local	FLAG.6355
	.comm	FLAG.6355,4,4
	.local	TERMCOUNT.6366
	.comm	TERMCOUNT.6366,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
