	.file	"95019.c"
	.intel_syntax noprefix
	.text
	.local	done
	.comm	done,4,4
	.type	handler, @function
handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR done[rip], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	handler, .-handler
	.globl	itime
	.bss
	.align 32
	.type	itime, @object
	.size	itime, 32
itime:
	.zero	32
	.globl	action
	.align 32
	.type	action, @object
	.size	action, 152
action:
	.zero	152
	.globl	itimer
	.data
	.align 4
	.type	itimer, @object
	.size	itimer, 4
itimer:
	.long	1
	.section	.rodata
	.align 8
.LC0:
	.string	"First call to setitimer failed, errno = %d\r\n"
	.align 8
.LC1:
	.string	"Second call to setitimer failed, errno = %d\r\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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	edx, 152
	mov	esi, 0
	lea	rdi, action[rip]
	call	memset@PLT
	lea	rax, handler[rip]
	mov	QWORD PTR action[rip], rax
	mov	edx, 0
	lea	rsi, action[rip]
	mov	edi, 26
	call	sigaction@PLT
	mov	edx, 0
	lea	rsi, action[rip]
	mov	edi, 14
	call	sigaction@PLT
	mov	edx, 32
	mov	esi, 0
	lea	rdi, itime[rip]
	call	memset@PLT
	mov	QWORD PTR itime[rip+24], 250000
.L6:
	mov	eax, DWORD PTR itimer[rip]
	mov	edx, 0
	lea	rsi, itime[rip]
	mov	edi, eax
	call	setitimer@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR itimer[rip], 0
	mov	eax, DWORD PTR itimer[rip]
	mov	edx, 0
	lea	rsi, itime[rip]
	mov	edi, eax
	call	setitimer@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L7
.L8:
	nop
.L5:
	mov	eax, DWORD PTR done[rip]
	test	eax, eax
	je	.L5
	mov	DWORD PTR done[rip], 0
	jmp	.L6
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"95019.c"
	.text
	.local	done
	.comm	done,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handler, %function
handler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L2
	mov	r2, #1
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	done
	.size	handler, .-handler
	.comm	itime,16,4
	.comm	action,140,4
	.global	itimer
	.data
	.align	2
	.type	itimer, %object
	.size	itimer, 4
itimer:
	.word	1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"First call to setitimer failed, errno = %d\015\012\000"
	.align	2
.LC1:
	.ascii	"Second call to setitimer failed, errno = %d\015\012"
	.ascii	"\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
	mov	r2, #140
	mov	r1, #0
	ldr	r0, .L11
	bl	memset
	ldr	r3, .L11
	ldr	r2, .L11+4
	str	r2, [r3]
	mov	r2, #0
	ldr	r1, .L11
	mov	r0, #26
	bl	sigaction
	mov	r2, #0
	ldr	r1, .L11
	mov	r0, #14
	bl	sigaction
	mov	r2, #16
	mov	r1, #0
	ldr	r0, .L11+8
	bl	memset
	ldr	r3, .L11+8
	ldr	r2, .L11+12
	str	r2, [r3, #12]
.L8:
	ldr	r3, .L11+16
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L11+8
	mov	r0, r3
	bl	setitimer
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L10
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11+20
	bl	printf
	ldr	r3, .L11+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L11+16
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L11+8
	mov	r0, r3
	bl	setitimer
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L10
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11+24
	bl	printf
	mov	r3, #1
	b	.L9
.L10:
	nop
.L7:
	ldr	r3, .L11+28
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L11+28
	mov	r2, #0
	str	r2, [r3]
	b	.L8
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	action
	.word	handler
	.word	itime
	.word	250000
	.word	itimer
	.word	.LC0
	.word	.LC1
	.word	done
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
