	.file	"144658.c"
	.intel_syntax noprefix
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	QWORD PTR -16[rbp], rsi
	call	process_activations
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC0:
	.string	"the_stack_data/144658.c"
.LC1:
	.string	"err == 0"
	.text
	.globl	process_activations
	.type	process_activations, @function
process_activations:
.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -80[rbp], 1
	mov	DWORD PTR -24[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 100000000
	lea	rax, -80[rbp]
	add	rax, 24
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -84[rbp], 0
	je	.L4
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 64
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L4:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	QWORD PTR -32[rbp], rdx
	jmp	.L5
.L6:
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	sleep_until_next_activation
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	process_one_activation
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 1
	mov	QWORD PTR -80[rbp], rax
	lea	rax, -80[rbp]
	lea	rdx, 8[rax]
	lea	rax, -80[rbp]
	add	rax, 40
	mov	rsi, rdx
	mov	rdi, rax
	call	timespec_add
.L5:
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	je	.L6
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	process_activations, .-process_activations
	.globl	sleep_until_next_activation
	.type	sleep_until_next_activation, @function
sleep_until_next_activation:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
.L10:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 40
	mov	ecx, 0
	mov	rdx, rax
	mov	esi, 1
	mov	edi, 1
	call	clock_nanosleep@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L9
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L10
.L9:
	cmp	DWORD PTR -4[rbp], 0
	je	.L12
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 88
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L12:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	sleep_until_next_activation, .-sleep_until_next_activation
	.section	.rodata
	.align 8
.LC2:
	.string	"Hello real-time world! This is job #%lu.\n"
	.text
	.globl	process_one_activation
	.type	process_one_activation, @function
process_one_activation:
.LFB3:
	.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	process_one_activation, .-process_one_activation
	.globl	timespec_add
	.type	timespec_add, @function
timespec_add:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rax, 999999999
	jbe	.L16
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, rax
	mov	rax, rcx
	shr	rax, 9
	movabs	rdx, 19342813113834067
	mul	rdx
	mov	rax, rdx
	shr	rax, 11
	imul	rdx, rax, 1000000000
	mov	rax, rcx
	sub	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L16:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	timespec_add, .-timespec_add
	.section	.rodata
	.align 16
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 20
__PRETTY_FUNCTION__.1:
	.string	"process_activations"
	.align 16
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 28
__PRETTY_FUNCTION__.0:
	.string	"sleep_until_next_activation"
	.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	"144658.c"
	.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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	bl	process_activations
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/144658.c\000"
	.align	2
.LC1:
	.ascii	"err == 0\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	process_activations
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_activations, %function
process_activations:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, .L8+4
	str	r3, [fp, #-32]
	sub	r3, fp, #40
	add	r3, r3, #12
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L8+8
	mov	r2, #64
	ldr	r1, .L8+12
	ldr	r0, .L8+16
	bl	__assert_fail
.L4:
	sub	r3, fp, #20
	sub	r2, fp, #28
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	b	.L5
.L6:
	sub	r3, fp, #40
	mov	r0, r3
	bl	sleep_until_next_activation
	sub	r3, fp, #40
	mov	r0, r3
	bl	process_one_activation
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	sub	r3, fp, #40
	add	r2, r3, #4
	sub	r3, fp, #40
	add	r3, r3, #20
	mov	r1, r2
	mov	r0, r3
	bl	timespec_add
.L5:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L6
	nop
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC2
	.word	100000000
	.word	__PRETTY_FUNCTION__.5372
	.word	.LC0
	.word	.LC1
	.size	process_activations, .-process_activations
	.align	2
	.global	sleep_until_next_activation
	.syntax unified
	.arm
	.fpu softvfp
	.type	sleep_until_next_activation, %function
sleep_until_next_activation:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
.L12:
	ldr	r3, [fp, #-16]
	add	r2, r3, #20
	mov	r3, #0
	mov	r1, #1
	mov	r0, #1
	bl	clock_nanosleep
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L11
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L12
.L11:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L15
	mov	r2, #88
	ldr	r1, .L15+4
	ldr	r0, .L15+8
	bl	__assert_fail
.L14:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	__PRETTY_FUNCTION__.5382
	.word	.LC0
	.word	.LC1
	.size	sleep_until_next_activation, .-sleep_until_next_activation
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Hello real-time world! This is job #%lu.\012\000"
	.text
	.align	2
	.global	process_one_activation
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_one_activation, %function
process_one_activation:
	@ 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, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC3
	.size	process_one_activation, .-process_one_activation
	.align	2
	.global	timespec_add
	.syntax unified
	.arm
	.fpu softvfp
	.type	timespec_add, %function
timespec_add:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r3, .L23
	cmp	r2, r3
	bls	.L22
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r2, r3
	lsr	r3, r2, #9
	ldr	r1, .L23+4
	umull	r0, r3, r1, r3
	lsr	r3, r3, #7
	ldr	r1, .L23+8
	mul	r3, r1, r3
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
.L22:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L24:
	.align	2
.L23:
	.word	999999999
	.word	281475
	.word	1000000000
	.size	timespec_add, .-timespec_add
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5372, %object
	.size	__PRETTY_FUNCTION__.5372, 20
__PRETTY_FUNCTION__.5372:
	.ascii	"process_activations\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5382, %object
	.size	__PRETTY_FUNCTION__.5382, 28
__PRETTY_FUNCTION__.5382:
	.ascii	"sleep_until_next_activation\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
