	.file	"554683.c"
	.intel_syntax noprefix
	.text
	.globl	i
	.bss
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"INFO: The current value of i is "
.LC1:
	.string	"%s%d.\n"
	.text
	.globl	alarm_received
	.type	alarm_received, @function
alarm_received:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, DWORD PTR i[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
	mov	edi, 1
	call	alarm@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	alarm_received, .-alarm_received
	.section	.rodata
	.align 8
.LC2:
	.string	"FAIL: Signal treatment setting"
.LC3:
	.string	"%s\n"
	.align 8
.LC4:
	.string	"SUCCESS: Signal treatment setting"
	.align 8
.LC5:
	.string	"The program will automatically stop when i reach 42."
	.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
	mov	edi, 1
	call	alarm@PLT
	lea	rsi, alarm_received[rip]
	mov	edi, 14
	call	signal@PLT
	cmp	rax, -1
	jne	.L3
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC2[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L4
.L3:
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC4[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L4:
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, .LC5[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
.L5:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 42
	jle	.L5
	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	"554683.c"
	.text
	.global	i
	.bss
	.align	2
	.type	i, %object
	.size	i, 4
i:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"INFO: The current value of i is \000"
	.align	2
.LC1:
	.ascii	"%s%d.\012\000"
	.text
	.align	2
	.global	alarm_received
	.syntax unified
	.arm
	.fpu softvfp
	.type	alarm_received, %function
alarm_received:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldr	r0, [r3]
	ldr	r3, .L2+4
	ldr	r3, [r3]
	ldr	r2, .L2+8
	ldr	r1, .L2+12
	bl	fprintf
	ldr	r3, .L2+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L2+4
	str	r3, [r2]
	mov	r0, #1
	bl	alarm
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	stderr
	.word	i
	.word	.LC0
	.word	.LC1
	.size	alarm_received, .-alarm_received
	.section	.rodata
	.align	2
.LC2:
	.ascii	"FAIL: Signal treatment setting\000"
	.align	2
.LC3:
	.ascii	"%s\012\000"
	.align	2
.LC4:
	.ascii	"SUCCESS: Signal treatment setting\000"
	.align	2
.LC5:
	.ascii	"The program will automatically stop when i reach 42"
	.ascii	".\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
	mov	r0, #1
	bl	alarm
	ldr	r1, .L9
	mov	r0, #14
	bl	signal
	mov	r3, r0
	cmn	r3, #1
	bne	.L5
	ldr	r3, .L9+4
	ldr	r3, [r3]
	ldr	r2, .L9+8
	ldr	r1, .L9+12
	mov	r0, r3
	bl	fprintf
	b	.L6
.L5:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	ldr	r2, .L9+16
	ldr	r1, .L9+12
	mov	r0, r3
	bl	fprintf
.L6:
	ldr	r3, .L9+20
	ldr	r3, [r3]
	ldr	r2, .L9+24
	ldr	r1, .L9+12
	mov	r0, r3
	bl	fprintf
	nop
.L7:
	ldr	r3, .L9+28
	ldr	r3, [r3]
	cmp	r3, #42
	ble	.L7
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	alarm_received
	.word	stderr
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stdout
	.word	.LC5
	.word	i
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
