	.file	"145485.c"
	.intel_syntax noprefix
	.text
	.globl	numberOfRecords
	.bss
	.align 4
	.type	numberOfRecords, @object
	.size	numberOfRecords, 4
numberOfRecords:
	.zero	4
	.globl	records
	.align 4
	.type	records, @object
	.size	records, 4
records:
	.zero	4
	.globl	msgBuffer
	.align 32
	.type	msgBuffer, @object
	.size	msgBuffer, 256
msgBuffer:
	.zero	256
	.globl	intervalCounter
	.align 4
	.type	intervalCounter, @object
	.size	intervalCounter, 4
intervalCounter:
	.zero	4
	.globl	tickCounter
	.align 4
	.type	tickCounter, @object
	.size	tickCounter, 4
tickCounter:
	.zero	4
	.globl	interval
	.align 4
	.type	interval, @object
	.size	interval, 4
interval:
	.zero	4
	.globl	startTime
	.align 4
	.type	startTime, @object
	.size	startTime, 4
startTime:
	.zero	4
	.globl	decodingStatus
	.align 4
	.type	decodingStatus, @object
	.size	decodingStatus, 4
decodingStatus:
	.zero	4
	.globl	cmd
	.align 4
	.type	cmd, @object
	.size	cmd, 4
cmd:
	.zero	4
	.globl	sendit
	.align 4
	.type	sendit, @object
	.size	sendit, 4
sendit:
	.zero	4
	.globl	systemState
	.align 4
	.type	systemState, @object
	.size	systemState, 4
systemState:
	.zero	4
	.globl	rspStatus
	.align 4
	.type	rspStatus, @object
	.size	rspStatus, 4
rspStatus:
	.zero	4
	.globl	__CPROVER_thread_priorities
	.section	.rodata
	.align 8
	.type	__CPROVER_thread_priorities, @object
	.size	__CPROVER_thread_priorities, 8
__CPROVER_thread_priorities:
	.long	5
	.long	2
	.globl	__CPROVER_threads
.LC0:
	.string	"c::task_communicate"
.LC1:
	.string	"c::task_measure"
	.section	.data.rel.local,"aw"
	.align 16
	.type	__CPROVER_threads, @object
	.size	__CPROVER_threads, 16
__CPROVER_threads:
	.quad	.LC0
	.quad	.LC1
	.text
	.globl	stop
	.type	stop, @function
stop:
.LFB6:
	.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 systemState[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	stop, .-stop
	.globl	start
	.type	start, @function
start:
.LFB7:
	.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 -8[rbp], esi
	mov	eax, DWORD PTR numberOfRecords[rip]
	cmp	eax, 62
	jle	.L3
	mov	DWORD PTR systemState[rip], 0
.L3:
	mov	DWORD PTR intervalCounter[rip], 0
	mov	DWORD PTR tickCounter[rip], 0
	mov	DWORD PTR numberOfRecords[rip], 0
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR startTime[rip], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR interval[rip], eax
	mov	DWORD PTR systemState[rip], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	start, .-start
	.globl	task_measure
	.type	task_measure, @function
task_measure:
.LFB8:
	.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 -24[rbp], rdi
	mov	eax, DWORD PTR tickCounter[rip]
	add	eax, 1
	mov	DWORD PTR tickCounter[rip], eax
	mov	eax, DWORD PTR tickCounter[rip]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR interval[rip]
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -4[rbp], 1
	mov	DWORD PTR tickCounter[rip], 0
	mov	eax, DWORD PTR intervalCounter[rip]
	add	eax, 1
	mov	DWORD PTR intervalCounter[rip], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR records[rip], eax
	mov	eax, DWORD PTR numberOfRecords[rip]
	add	eax, 1
	mov	DWORD PTR numberOfRecords[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	task_measure, .-task_measure
	.section	.rodata
.LC2:
	.string	"the_stack_data/145485.c"
.LC3:
	.string	"0"
	.text
	.globl	task_communicate
	.type	task_communicate, @function
task_communicate:
.LFB9:
	.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
	mov	DWORD PTR -12[rbp], 1
	mov	DWORD PTR -8[rbp], 1
	call	rand@PLT
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	add	eax, 1
	mov	DWORD PTR cmd[rip], eax
	call	rand@PLT
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	add	eax, 1
	mov	DWORD PTR rspStatus[rip], eax
	mov	DWORD PTR decodingStatus[rip], 0
	mov	eax, DWORD PTR cmd[rip]
	cmp	eax, 2
	je	.L6
	mov	eax, DWORD PTR cmd[rip]
	cmp	eax, 3
	je	.L6
	mov	eax, DWORD PTR cmd[rip]
	cmp	eax, 4
	je	.L6
	mov	eax, DWORD PTR cmd[rip]
	cmp	eax, 1
	jne	.L7
.L6:
	mov	DWORD PTR decodingStatus[rip], 1
.L7:
	mov	eax, DWORD PTR rspStatus[rip]
	cmp	eax, 1
	jne	.L8
	mov	eax, DWORD PTR cmd[rip]
	cmp	eax, 2
	jne	.L9
	mov	eax, DWORD PTR systemState[rip]
	cmp	eax, 1
	je	.L10
	mov	DWORD PTR rspStatus[rip], 0
	jmp	.L11
.L10:
	mov	DWORD PTR systemState[rip], 0
.L11:
	mov	DWORD PTR sendit[rip], 1
.L9:
	mov	eax, DWORD PTR cmd[rip]
	cmp	eax, 3
	jne	.L12
	mov	DWORD PTR sendit[rip], 1
.L12:
	mov	eax, DWORD PTR cmd[rip]
	cmp	eax, 4
	jne	.L13
	mov	DWORD PTR sendit[rip], 1
.L13:
	mov	eax, DWORD PTR cmd[rip]
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR systemState[rip]
	test	eax, eax
	je	.L14
	mov	DWORD PTR rspStatus[rip], 0
	jmp	.L8
.L14:
	mov	eax, DWORD PTR numberOfRecords[rip]
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 63
	jle	.L15
	mov	DWORD PTR systemState[rip], 0
.L15:
	mov	DWORD PTR intervalCounter[rip], 0
	mov	DWORD PTR tickCounter[rip], 0
	mov	DWORD PTR numberOfRecords[rip], 0
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR startTime[rip], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR interval[rip], eax
	mov	DWORD PTR systemState[rip], 1
	mov	eax, DWORD PTR numberOfRecords[rip]
	test	eax, eax
	je	.L16
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 142
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L16:
	mov	DWORD PTR sendit[rip], 1
.L8:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	task_communicate, .-task_communicate
	.globl	main
	.type	main, @function
main:
.LFB10:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR systemState[rip], 0
	lea	rax, -24[rbp]
	mov	ecx, 0
	lea	rdx, task_communicate[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	lea	rax, -16[rbp]
	mov	ecx, 0
	lea	rdx, task_measure[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
	.align 16
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 17
__PRETTY_FUNCTION__.0:
	.string	"task_communicate"
	.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	"145485.c"
	.text
	.comm	numberOfRecords,4,4
	.comm	records,4,4
	.comm	msgBuffer,256,4
	.comm	intervalCounter,4,4
	.comm	tickCounter,4,4
	.comm	interval,4,4
	.comm	startTime,4,4
	.comm	decodingStatus,4,4
	.comm	cmd,4,4
	.comm	sendit,4,4
	.comm	systemState,4,4
	.comm	rspStatus,4,4
	.global	__CPROVER_thread_priorities
	.section	.rodata
	.align	2
	.type	__CPROVER_thread_priorities, %object
	.size	__CPROVER_thread_priorities, 8
__CPROVER_thread_priorities:
	.word	5
	.word	2
	.global	__CPROVER_threads
	.align	2
.LC0:
	.ascii	"c::task_communicate\000"
	.align	2
.LC1:
	.ascii	"c::task_measure\000"
	.data
	.align	2
	.type	__CPROVER_threads, %object
	.size	__CPROVER_threads, 8
__CPROVER_threads:
	.word	.LC0
	.word	.LC1
	.text
	.align	2
	.global	stop
	.syntax unified
	.arm
	.fpu softvfp
	.type	stop, %function
stop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L2
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	systemState
	.size	stop, .-stop
	.align	2
	.global	start
	.syntax unified
	.arm
	.fpu softvfp
	.type	start, %function
start:
	@ 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, .L6
	ldr	r3, [r3]
	cmp	r3, #62
	ble	.L5
	ldr	r3, .L6+4
	mov	r2, #0
	str	r2, [r3]
.L5:
	ldr	r3, .L6+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L6+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L6
	mov	r2, #0
	str	r2, [r3]
	ldr	r2, .L6+16
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r2, .L6+20
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r3, .L6+4
	mov	r2, #1
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	numberOfRecords
	.word	systemState
	.word	intervalCounter
	.word	tickCounter
	.word	startTime
	.word	interval
	.size	start, .-start
	.align	2
	.global	task_measure
	.syntax unified
	.arm
	.fpu softvfp
	.type	task_measure, %function
task_measure:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	ldr	r3, .L9
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L9
	str	r3, [r2]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, .L9+4
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L9
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L9+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L9+8
	str	r3, [r2]
	ldr	r2, .L9+12
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L9+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L9+16
	str	r3, [r2]
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L10:
	.align	2
.L9:
	.word	tickCounter
	.word	interval
	.word	intervalCounter
	.word	records
	.word	numberOfRecords
	.size	task_measure, .-task_measure
	.section	.rodata
	.align	2
.LC2:
	.ascii	"the_stack_data/145485.c\000"
	.align	2
.LC3:
	.ascii	"0\000"
	.text
	.align	2
	.global	task_communicate
	.syntax unified
	.arm
	.fpu softvfp
	.type	task_communicate, %function
task_communicate:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	add	r3, r3, #1
	ldr	r2, .L23
	str	r3, [r2]
	bl	rand
	mov	r3, r0
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	add	r3, r3, #1
	ldr	r2, .L23+4
	str	r3, [r2]
	ldr	r3, .L23+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L23
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L12
	ldr	r3, .L23
	ldr	r3, [r3]
	cmp	r3, #3
	beq	.L12
	ldr	r3, .L23
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L12
	ldr	r3, .L23
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L13
.L12:
	ldr	r3, .L23+8
	mov	r2, #1
	str	r2, [r3]
.L13:
	ldr	r3, .L23+4
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L14
	ldr	r3, .L23
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L15
	ldr	r3, .L23+12
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L16
	ldr	r3, .L23+4
	mov	r2, #0
	str	r2, [r3]
	b	.L17
.L16:
	ldr	r3, .L23+12
	mov	r2, #0
	str	r2, [r3]
.L17:
	ldr	r3, .L23+16
	mov	r2, #1
	str	r2, [r3]
.L15:
	ldr	r3, .L23
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L18
	ldr	r3, .L23+16
	mov	r2, #1
	str	r2, [r3]
.L18:
	ldr	r3, .L23
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L19
	ldr	r3, .L23+16
	mov	r2, #1
	str	r2, [r3]
.L19:
	ldr	r3, .L23
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L23+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L20
	ldr	r3, .L23+4
	mov	r2, #0
	str	r2, [r3]
	b	.L14
.L20:
	ldr	r3, .L23+20
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #63
	ble	.L21
	ldr	r3, .L23+12
	mov	r2, #0
	str	r2, [r3]
.L21:
	ldr	r3, .L23+24
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L23+28
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L23+20
	mov	r2, #0
	str	r2, [r3]
	ldr	r2, .L23+32
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	ldr	r2, .L23+36
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r3, .L23+12
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L23+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L22
	ldr	r3, .L23+40
	mov	r2, #142
	ldr	r1, .L23+44
	ldr	r0, .L23+48
	bl	__assert_fail
.L22:
	ldr	r3, .L23+16
	mov	r2, #1
	str	r2, [r3]
.L14:
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	cmd
	.word	rspStatus
	.word	decodingStatus
	.word	systemState
	.word	sendit
	.word	numberOfRecords
	.word	intervalCounter
	.word	tickCounter
	.word	startTime
	.word	interval
	.word	__PRETTY_FUNCTION__.5328
	.word	.LC2
	.word	.LC3
	.size	task_communicate, .-task_communicate
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L28+4
	mov	r2, #0
	str	r2, [r3]
	sub	r0, fp, #16
	mov	r3, #0
	ldr	r2, .L28+8
	mov	r1, #0
	bl	pthread_create
	sub	r0, fp, #12
	mov	r3, #0
	ldr	r2, .L28+12
	mov	r1, #0
	bl	pthread_create
	mov	r3, #0
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC4
	.word	systemState
	.word	task_communicate
	.word	task_measure
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5328, %object
	.size	__PRETTY_FUNCTION__.5328, 17
__PRETTY_FUNCTION__.5328:
	.ascii	"task_communicate\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
