	.file	"48575960.c"
	.intel_syntax noprefix
	.text
	.globl	ouch_count
	.bss
	.align 4
	.type	ouch_count, @object
	.size	ouch_count, 4
ouch_count:
	.zero	4
	.section	.rodata
.LC0:
	.string	"sigprocmask"
	.text
	.globl	disable_sigint_signal
	.type	disable_sigint_signal, @function
disable_sigint_signal:
.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, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -144[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -144[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 0
	call	sigprocmask@PLT
	test	eax, eax
	jns	.L4
	lea	rdi, .LC0[rip]
	call	perror@PLT
.L4:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	disable_sigint_signal, .-disable_sigint_signal
	.section	.rodata
	.align 8
.LC1:
	.string	"\nOUCH! - I got signal %d.  That hurt.\n"
	.align 8
.LC2:
	.string	"\nOUCH! - I got signal %d.  I'm nearly dead.\n"
	.text
	.globl	ouch
	.type	ouch, @function
ouch:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR ouch_count[rip]
	add	eax, 1
	mov	DWORD PTR ouch_count[rip], eax
	mov	eax, DWORD PTR ouch_count[rip]
	cmp	eax, 1
	jne	.L6
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L6:
	mov	eax, DWORD PTR ouch_count[rip]
	cmp	eax, 2
	jne	.L7
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	mov	eax, DWORD PTR ouch_count[rip]
	cmp	eax, 3
	jne	.L9
	mov	edi, 0
	call	exit@PLT
.L9:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	ouch, .-ouch
	.section	.rodata
.LC3:
	.string	"Hello World!"
.LC4:
	.string	"Exiting naturally"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.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 ouch_count[rip], 0
	lea	rsi, ouch[rip]
	mov	edi, 2
	call	signal@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L11
.L12:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 1
	call	sleep@PLT
	add	DWORD PTR -4[rbp], 1
.L11:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L12
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"48575960.c"
	.text
	.comm	ouch_count,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"sigprocmask\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	disable_sigint_signal
	.syntax unified
	.arm
	.fpu softvfp
	.type	disable_sigint_signal, %function
disable_sigint_signal:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #136
	mov	r1, #2
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #136
	mov	r2, #0
	mov	r1, r3
	mov	r0, #0
	bl	sigprocmask
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L5+4
	bl	perror
.L4:
	nop
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	.LC0
	.size	disable_sigint_signal, .-disable_sigint_signal
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012OUCH! - I got signal %d.  That hurt.\012\000"
	.align	2
.LC3:
	.ascii	"\012OUCH! - I got signal %d.  I'm nearly dead.\012\000"
	.text
	.align	2
	.global	ouch
	.syntax unified
	.arm
	.fpu softvfp
	.type	ouch, %function
ouch:
	@ 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	r3, .L12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L12
	str	r3, [r2]
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L8
	ldr	r1, [fp, #-8]
	ldr	r0, .L12+4
	bl	printf
.L8:
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L9
	ldr	r1, [fp, #-8]
	ldr	r0, .L12+8
	bl	printf
.L9:
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L11
	mov	r0, #0
	bl	exit
.L11:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	ouch_count
	.word	.LC2
	.word	.LC3
	.size	ouch, .-ouch
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Hello World!\000"
	.align	2
.LC5:
	.ascii	"Exiting naturally\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L18
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L18+4
	mov	r0, #2
	bl	signal
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L15
.L16:
	ldr	r0, .L18+8
	bl	puts
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L15:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	ble	.L16
	ldr	r0, .L18+12
	bl	puts
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	ouch_count
	.word	ouch
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
