	.file	"59512324.c"
	.intel_syntax noprefix
	.text
	.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
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	handler, .-handler
	.section	.rodata
	.align 8
.LC0:
	.string	"clock_nanosleep(CLOCK_REALTIME, 0, {%jd, %jd}, NULL) = 0\n"
	.align 8
.LC1:
	.string	"clock_nanosleep(CLOCK_REALTIME, 0, NULL, %p) = -1 EFAULT (Bad address)\n"
	.align 8
.LC2:
	.string	"clock_nanosleep(CLOCK_REALTIME, 0, {%jd, %jd}, %p) = 0\n"
	.align 8
.LC3:
	.string	"clock_nanosleep(CLOCK_MONOTONIC, 0, {%jd, %jd}, %p) = -1 EINVAL (Invalid argument)\n"
	.align 8
.LC4:
	.string	"setitimer(ITIMER_REAL, {it_interval={%jd, %jd}, it_value={%jd, %jd}}, NULL) = 0\n"
	.align 8
.LC5:
	.string	"clock_nanosleep(CLOCK_REALTIME, 0, {%jd, %jd}, {%jd, %jd}) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)\n"
	.align 8
.LC6:
	.string	"--- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---"
	.align 8
.LC7:
	.string	"clock_gettime(CLOCK_REALTIME, {%jd, %jd}) = 0\n"
	.align 8
.LC8:
	.string	"clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, {%jd, %jd}, %p) = ? ERESTARTNOHAND (To be restarted if no handler)\n"
.LC9:
	.string	"+++ exited with 0 +++"
	.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, 384
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -352[rbp], 0
	mov	QWORD PTR -344[rbp], 0
	mov	QWORD PTR -336[rbp], 0
	mov	QWORD PTR -344[rbp], 789985
	mov	DWORD PTR -336[rbp], -559038737
	mov	DWORD PTR -332[rbp], -1159983635
	mov	QWORD PTR -320[rbp], 789986
	mov	QWORD PTR -312[rbp], 789987
	mov	DWORD PTR -304[rbp], -559038737
	mov	DWORD PTR -300[rbp], -1159983635
	lea	rdx, -288[rbp]
	mov	eax, 0
	mov	ecx, 16
	mov	rdi, rdx
	rep stosq
	lea	rdx, -160[rbp]
	mov	eax, 0
	mov	ecx, 19
	mov	rdi, rdx
	rep stosq
	lea	rax, handler[rip]
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -384[rbp], 0
	mov	QWORD PTR -376[rbp], 0
	mov	QWORD PTR -368[rbp], 0
	mov	QWORD PTR -360[rbp], 0
	mov	QWORD PTR -376[rbp], 222222
	mov	QWORD PTR -360[rbp], 111111
	lea	rax, -352[rbp]
	mov	r8d, 0
	mov	rcx, rax
	mov	edx, 0
	mov	esi, 0
	mov	edi, 230
	mov	eax, 0
	call	syscall@PLT
	test	rax, rax
	je	.L3
	mov	eax, 77
	jmp	.L14
.L3:
	mov	rdx, QWORD PTR -344[rbp]
	mov	rax, QWORD PTR -352[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -320[rbp]
	mov	r8, rax
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	edi, 230
	mov	eax, 0
	call	syscall@PLT
	test	rax, rax
	jne	.L5
	mov	eax, 77
	jmp	.L14
.L5:
	lea	rax, -320[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -320[rbp]
	lea	rax, -352[rbp]
	mov	r8, rdx
	mov	rcx, rax
	mov	edx, 0
	mov	esi, 0
	mov	edi, 230
	mov	eax, 0
	call	syscall@PLT
	test	rax, rax
	je	.L6
	mov	eax, 77
	jmp	.L14
.L6:
	mov	rdx, QWORD PTR -344[rbp]
	mov	rax, QWORD PTR -352[rbp]
	lea	rcx, -320[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -344[rbp], 1000000000
	lea	rdx, -320[rbp]
	lea	rax, -352[rbp]
	mov	r8, rdx
	mov	rcx, rax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 230
	mov	eax, 0
	call	syscall@PLT
	test	rax, rax
	jne	.L7
	mov	eax, 77
	jmp	.L14
.L7:
	mov	rdx, QWORD PTR -344[rbp]
	mov	rax, QWORD PTR -352[rbp]
	lea	rcx, -320[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 14
	call	sigaction@PLT
	test	eax, eax
	je	.L8
	mov	eax, 77
	jmp	.L14
.L8:
	lea	rax, -288[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 2
	call	sigprocmask@PLT
	test	eax, eax
	je	.L9
	mov	eax, 77
	jmp	.L14
.L9:
	lea	rax, -384[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 0
	call	setitimer@PLT
	test	eax, eax
	je	.L10
	mov	eax, 77
	jmp	.L14
.L10:
	mov	rsi, QWORD PTR -360[rbp]
	mov	rcx, QWORD PTR -368[rbp]
	mov	rdx, QWORD PTR -376[rbp]
	mov	rax, QWORD PTR -384[rbp]
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -344[rbp]
	sub	rax, 1
	mov	QWORD PTR -344[rbp], rax
	lea	rdx, -320[rbp]
	lea	rax, -352[rbp]
	mov	r8, rdx
	mov	rcx, rax
	mov	edx, 0
	mov	esi, 0
	mov	edi, 230
	mov	eax, 0
	call	syscall@PLT
	test	rax, rax
	jne	.L11
	mov	eax, 77
	jmp	.L14
.L11:
	mov	rsi, QWORD PTR -312[rbp]
	mov	rcx, QWORD PTR -320[rbp]
	mov	rdx, QWORD PTR -344[rbp]
	mov	rax, QWORD PTR -352[rbp]
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -352[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 228
	mov	eax, 0
	call	syscall@PLT
	test	rax, rax
	je	.L12
	mov	eax, 77
	jmp	.L14
.L12:
	mov	rdx, QWORD PTR -344[rbp]
	mov	rax, QWORD PTR -352[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -352[rbp]
	add	rax, 1
	mov	QWORD PTR -352[rbp], rax
	mov	QWORD PTR -320[rbp], 789988
	mov	QWORD PTR -312[rbp], 789989
	lea	rdx, -320[rbp]
	lea	rax, -352[rbp]
	mov	r8, rdx
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 0
	mov	edi, 230
	mov	eax, 0
	call	syscall@PLT
	test	rax, rax
	jne	.L13
	mov	eax, 77
	jmp	.L14
.L13:
	mov	rdx, QWORD PTR -344[rbp]
	mov	rax, QWORD PTR -352[rbp]
	lea	rcx, -320[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, 0
.L14:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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	"59512324.c"
	.text
	.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]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	handler, .-handler
	.section	.rodata
	.align	2
.LC1:
	.ascii	"clock_nanosleep(CLOCK_REALTIME, 0, {%jd, %jd}, NULL"
	.ascii	") = 0\012\000"
	.align	2
.LC2:
	.ascii	"clock_nanosleep(CLOCK_REALTIME, 0, NULL, %p) = -1 E"
	.ascii	"FAULT (Bad address)\012\000"
	.align	2
.LC3:
	.ascii	"clock_nanosleep(CLOCK_REALTIME, 0, {%jd, %jd}, %p) "
	.ascii	"= 0\012\000"
	.align	2
.LC4:
	.ascii	"clock_nanosleep(CLOCK_MONOTONIC, 0, {%jd, %jd}, %p)"
	.ascii	" = -1 EINVAL (Invalid argument)\012\000"
	.align	2
.LC5:
	.ascii	"setitimer(ITIMER_REAL, {it_interval={%jd, %jd}, it_"
	.ascii	"value={%jd, %jd}}, NULL) = 0\012\000"
	.align	2
.LC6:
	.ascii	"clock_nanosleep(CLOCK_REALTIME, 0, {%jd, %jd}, {%jd"
	.ascii	", %jd}) = ? ERESTART_RESTARTBLOCK (Interrupted by s"
	.ascii	"ignal)\012\000"
	.align	2
.LC7:
	.ascii	"--- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} -"
	.ascii	"--\000"
	.align	2
.LC8:
	.ascii	"clock_gettime(CLOCK_REALTIME, {%jd, %jd}) = 0\012\000"
	.align	2
.LC9:
	.ascii	"clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, {%jd"
	.ascii	", %jd}, %p) = ? ERESTARTNOHAND (To be restarted if "
	.ascii	"no handler)\012\000"
	.align	2
.LC10:
	.ascii	"+++ exited with 0 +++\000"
	.align	2
.LC0:
	.word	789986
	.word	789987
	.word	-559038737
	.word	-1159983635
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 320
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #344
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #324
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	ldr	r3, .L16+4
	str	r3, [fp, #-320]
	ldr	r3, .L16+8
	str	r3, [fp, #-316]
	ldr	r3, .L16+12
	str	r3, [fp, #-312]
	ldr	r3, .L16+16
	sub	ip, fp, #308
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #292
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #164
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L16+20
	str	r3, [fp, #-164]
	sub	r3, fp, #340
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	ldr	r3, .L16+24
	str	r3, [fp, #-336]
	ldr	r3, .L16+28
	str	r3, [fp, #-328]
	sub	r3, fp, #324
	mov	r2, #0
	str	r2, [sp]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L16+32
	bl	syscall
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	mov	r3, #77
	b	.L14
.L3:
	ldr	r3, [fp, #-324]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-320]
	mov	r2, r3
	asr	r3, r2, #31
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+36
	bl	printf
	sub	r3, fp, #308
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L16+32
	bl	syscall
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	mov	r3, #77
	b	.L14
.L5:
	sub	r3, fp, #308
	mov	r1, r3
	ldr	r0, .L16+40
	bl	printf
	sub	r2, fp, #324
	sub	r3, fp, #308
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L16+32
	bl	syscall
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	mov	r3, #77
	b	.L14
.L6:
	ldr	r3, [fp, #-324]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-320]
	mov	r2, r3
	asr	r3, r2, #31
	sub	ip, fp, #308
	str	ip, [sp, #8]
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+44
	bl	printf
	ldr	r3, .L16+48
	str	r3, [fp, #-320]
	sub	r2, fp, #324
	sub	r3, fp, #308
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #0
	mov	r1, #1
	ldr	r0, .L16+32
	bl	syscall
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	mov	r3, #77
	b	.L14
.L7:
	ldr	r3, [fp, #-324]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-320]
	mov	r2, r3
	asr	r3, r2, #31
	sub	ip, fp, #308
	str	ip, [sp, #8]
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+52
	bl	printf
	sub	r3, fp, #164
	mov	r2, #0
	mov	r1, r3
	mov	r0, #14
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	mov	r3, #77
	b	.L14
.L8:
	sub	r3, fp, #292
	mov	r2, #0
	mov	r1, r3
	mov	r0, #2
	bl	sigprocmask
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	mov	r3, #77
	b	.L14
.L9:
	sub	r3, fp, #340
	mov	r2, #0
	mov	r1, r3
	mov	r0, #0
	bl	setitimer
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	mov	r3, #77
	b	.L14
.L10:
	ldr	r3, [fp, #-340]
	mov	r6, r3
	asr	r7, r6, #31
	ldr	r3, [fp, #-336]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, [fp, #-332]
	mov	r0, r1
	asr	r1, r0, #31
	ldr	ip, [fp, #-328]
	mov	r4, ip
	asr	r5, r4, #31
	str	r4, [sp, #16]
	str	r5, [sp, #20]
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L16+56
	bl	printf
	ldr	r3, [fp, #-320]
	sub	r3, r3, #1
	str	r3, [fp, #-320]
	sub	r2, fp, #324
	sub	r3, fp, #308
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #0
	mov	r1, #0
	ldr	r0, .L16+32
	bl	syscall
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	mov	r3, #77
	b	.L14
.L11:
	ldr	r3, [fp, #-324]
	mov	r6, r3
	asr	r7, r6, #31
	ldr	r3, [fp, #-320]
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, [fp, #-308]
	mov	r0, r1
	asr	r1, r0, #31
	ldr	ip, [fp, #-304]
	mov	r4, ip
	asr	r5, r4, #31
	str	r4, [sp, #16]
	str	r5, [sp, #20]
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L16+60
	bl	printf
	ldr	r0, .L16+64
	bl	puts
	sub	r3, fp, #324
	mov	r2, r3
	mov	r1, #0
	ldr	r0, .L16+68
	bl	syscall
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	mov	r3, #77
	b	.L14
.L12:
	ldr	r3, [fp, #-324]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-320]
	mov	r2, r3
	asr	r3, r2, #31
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+72
	bl	printf
	ldr	r3, [fp, #-324]
	add	r3, r3, #1
	str	r3, [fp, #-324]
	ldr	r3, .L16+76
	str	r3, [fp, #-308]
	ldr	r3, .L16+80
	str	r3, [fp, #-304]
	sub	r2, fp, #324
	sub	r3, fp, #308
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #1
	mov	r1, #0
	ldr	r0, .L16+32
	bl	syscall
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	mov	r3, #77
	b	.L14
.L13:
	ldr	r3, [fp, #-324]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-320]
	mov	r2, r3
	asr	r3, r2, #31
	sub	ip, fp, #308
	str	ip, [sp, #8]
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+84
	bl	printf
	ldr	r0, .L16+64
	bl	puts
	ldr	r0, .L16+88
	bl	puts
	mov	r3, #0
.L14:
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC11
	.word	789985
	.word	-559038737
	.word	-1159983635
	.word	.LC0
	.word	handler
	.word	222222
	.word	111111
	.word	265
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	1000000000
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	263
	.word	.LC8
	.word	789988
	.word	789989
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
