	.file	"373745.c"
	.intel_syntax noprefix
	.text
	.globl	count_SIGINT
	.bss
	.align 4
	.type	count_SIGINT, @object
	.size	count_SIGINT, 4
count_SIGINT:
	.zero	4
	.globl	flag
	.align 4
	.type	flag, @object
	.size	flag, 4
flag:
	.zero	4
	.globl	count_SIGQUIT
	.align 4
	.type	count_SIGQUIT, @object
	.size	count_SIGQUIT, 4
count_SIGQUIT:
	.zero	4
	.globl	flagF
	.align 4
	.type	flagF, @object
	.size	flagF, 4
flagF:
	.zero	4
	.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, 16
	mov	DWORD PTR -4[rbp], edi
	lea	rsi, SigHandler[rip]
	mov	edi, 2
	call	signal@PLT
	lea	rsi, SigHandler[rip]
	mov	edi, 3
	call	signal@PLT
	cmp	DWORD PTR -4[rbp], 2
	jne	.L2
	mov	eax, DWORD PTR count_SIGINT[rip]
	add	eax, 1
	mov	DWORD PTR count_SIGINT[rip], eax
	mov	DWORD PTR flag[rip], 1
	mov	eax, DWORD PTR count_SIGINT[rip]
	cmp	eax, 4
	jle	.L3
	mov	DWORD PTR flagF[rip], 1
.L3:
	mov	eax, DWORD PTR count_SIGINT[rip]
	cmp	eax, 6
	jle	.L2
	mov	esi, 0
	mov	edi, 2
	call	signal@PLT
.L2:
	cmp	DWORD PTR -4[rbp], 3
	jne	.L5
	mov	eax, DWORD PTR count_SIGINT[rip]
	cmp	eax, 1
	jle	.L5
	mov	eax, DWORD PTR count_SIGINT[rip]
	cmp	eax, 4
	jg	.L5
	mov	eax, DWORD PTR count_SIGQUIT[rip]
	add	eax, 1
	mov	DWORD PTR count_SIGQUIT[rip], eax
.L5:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	SigHandler, .-SigHandler
	.section	.rodata
	.align 8
.LC0:
	.string	"I've received SIGINT %d time(s)!\n"
	.align 8
.LC1:
	.string	"I've received SIGINT %d time(s) and SIGQUIT %d time(s)!\n"
	.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
	lea	rsi, SigHandler[rip]
	mov	edi, 2
	call	signal@PLT
	lea	rsi, SigHandler[rip]
	mov	edi, 3
	call	signal@PLT
.L9:
	mov	eax, DWORD PTR flag[rip]
	test	eax, eax
	je	.L7
	mov	eax, DWORD PTR flagF[rip]
	test	eax, eax
	jne	.L7
	mov	DWORD PTR flag[rip], 0
	mov	eax, DWORD PTR count_SIGINT[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	mov	eax, DWORD PTR flag[rip]
	test	eax, eax
	je	.L9
	mov	eax, DWORD PTR flagF[rip]
	test	eax, eax
	je	.L9
	mov	DWORD PTR flag[rip], 0
	mov	edx, DWORD PTR count_SIGQUIT[rip]
	mov	eax, DWORD PTR count_SIGINT[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
	.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	"373745.c"
	.text
	.global	count_SIGINT
	.bss
	.align	2
	.type	count_SIGINT, %object
	.size	count_SIGINT, 4
count_SIGINT:
	.space	4
	.global	flag
	.align	2
	.type	flag, %object
	.size	flag, 4
flag:
	.space	4
	.global	count_SIGQUIT
	.align	2
	.type	count_SIGQUIT, %object
	.size	count_SIGQUIT, 4
count_SIGQUIT:
	.space	4
	.global	flagF
	.align	2
	.type	flagF, %object
	.size	flagF, 4
flagF:
	.space	4
	.text
	.align	2
	.global	SigHandler
	.syntax unified
	.arm
	.fpu softvfp
	.type	SigHandler, %function
SigHandler:
	@ 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]
	ldr	r1, .L6
	mov	r0, #2
	bl	signal
	ldr	r1, .L6
	mov	r0, #3
	bl	signal
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L2
	ldr	r3, .L6+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6+4
	str	r3, [r2]
	ldr	r3, .L6+8
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, #4
	ble	.L3
	ldr	r3, .L6+12
	mov	r2, #1
	str	r2, [r3]
.L3:
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, #6
	ble	.L2
	mov	r1, #0
	mov	r0, #2
	bl	signal
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bne	.L5
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L5
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, #4
	bgt	.L5
	ldr	r3, .L6+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6+16
	str	r3, [r2]
.L5:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	SigHandler
	.word	count_SIGINT
	.word	flag
	.word	flagF
	.word	count_SIGQUIT
	.size	SigHandler, .-SigHandler
	.section	.rodata
	.align	2
.LC0:
	.ascii	"I've received SIGINT %d time(s)!\012\000"
	.align	2
.LC1:
	.ascii	"I've received SIGINT %d time(s) and SIGQUIT %d time"
	.ascii	"(s)!\012\000"
	.text
	.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, .L12
	mov	r0, #2
	bl	signal
	ldr	r1, .L12
	mov	r0, #3
	bl	signal
.L11:
	ldr	r3, .L12+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L12+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L12+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L12+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L12+16
	bl	printf
.L9:
	ldr	r3, .L12+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L12+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L12+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L12+12
	ldr	r3, [r3]
	ldr	r2, .L12+20
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L12+24
	bl	printf
	b	.L11
.L13:
	.align	2
.L12:
	.word	SigHandler
	.word	flag
	.word	flagF
	.word	count_SIGINT
	.word	.LC0
	.word	count_SIGQUIT
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
