	.file	"84731.c"
	.intel_syntax noprefix
	.text
	.globl	count
	.bss
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.zero	4
	.globl	str
	.section	.rodata
.LC0:
	.string	"I've received SIGINT\n"
	.section	.data.rel.local,"aw"
	.align 8
	.type	str, @object
	.size	str, 8
str:
	.quad	.LC0
	.text
	.globl	SigHandler
	.type	SigHandler, @function
SigHandler:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	lea	rsi, SigHandler[rip]
	mov	edi, 2
	call	signal@PLT
	mov	rax, QWORD PTR str[rip]
	mov	edx, 21
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
	mov	eax, DWORD PTR count[rip]
	cmp	eax, 5
	jne	.L2
	mov	esi, 0
	mov	edi, 2
	call	signal@PLT
.L2:
	call	__errno_location@PLT
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	SigHandler, .-SigHandler
	.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
	lea	rsi, SigHandler[rip]
	mov	edi, 2
	call	signal@PLT
.L4:
	jmp	.L4
	.cfi_endproc
.LFE7:
	.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	"84731.c"
	.text
	.global	count
	.bss
	.align	2
	.type	count, %object
	.size	count, 4
count:
	.space	4
	.global	str
	.section	.rodata
	.align	2
.LC0:
	.ascii	"I've received SIGINT\012\000"
	.data
	.align	2
	.type	str, %object
	.size	str, 4
str:
	.word	.LC0
	.text
	.align	2
	.global	SigHandler
	.syntax unified
	.arm
	.fpu softvfp
	.type	SigHandler, %function
SigHandler:
	@ 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]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r1, .L3
	mov	r0, #2
	bl	signal
	ldr	r3, .L3+4
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, r3
	mov	r0, #1
	bl	write
	ldr	r3, .L3+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L3+8
	str	r3, [r2]
	ldr	r3, .L3+8
	ldr	r3, [r3]
	cmp	r3, #5
	bne	.L2
	mov	r1, #0
	mov	r0, #2
	bl	signal
.L2:
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	SigHandler
	.word	str
	.word	count
	.size	SigHandler, .-SigHandler
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r1, .L7
	mov	r0, #2
	bl	signal
.L6:
	b	.L6
.L8:
	.align	2
.L7:
	.word	SigHandler
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
