	.file	"885040.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Received an interrupt signal through Ctrl-C."
	.align 8
.LC1:
	.string	"Going to sleep.\nNotice the process is not exiting immediately."
.LC2:
	.string	"Out of here."
	.align 8
.LC3:
	.string	"Now the process will terminate with the exit system call."
	.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	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	sleep@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	sigHandler, .-sigHandler
	.section	.rodata
.LC4:
	.string	"Waiting..."
	.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	rdi, .LC4[rip]
	call	puts@PLT
	call	pause@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.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	"885040.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Received an interrupt signal through Ctrl-C.\000"
	.align	2
.LC1:
	.ascii	"Going to sleep.\012Notice the process is not exitin"
	.ascii	"g immediately.\000"
	.align	2
.LC2:
	.ascii	"Out of here.\000"
	.align	2
.LC3:
	.ascii	"Now the process will terminate with the exit system"
	.ascii	" call.\000"
	.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	r0, .L2
	bl	puts
	ldr	r0, .L2+4
	bl	puts
	mov	r0, #1
	bl	sleep
	ldr	r0, .L2+8
	bl	puts
	ldr	r0, .L2+12
	bl	puts
	mov	r0, #0
	bl	exit
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	sigHandler, .-sigHandler
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Waiting...\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, .L6
	mov	r0, #2
	bl	signal
	ldr	r0, .L6+4
	bl	puts
	bl	pause
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	sigHandler
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
