	.file	"200142246.c"
	.intel_syntax noprefix
	.text
	.globl	__VERIFIER_atomic_acquire
	.type	__VERIFIER_atomic_acquire, @function
__VERIFIER_atomic_acquire:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	edi, eax
	mov	eax, 0
	call	__VERIFIER_assume@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 1
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	__VERIFIER_atomic_acquire, .-__VERIFIER_atomic_acquire
	.globl	__VERIFIER_atomic_release
	.type	__VERIFIER_atomic_release, @function
__VERIFIER_atomic_release:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	sete	al
	movzx	eax, al
	mov	edi, eax
	mov	eax, 0
	call	__VERIFIER_assume@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	__VERIFIER_atomic_release, .-__VERIFIER_atomic_release
	.globl	__VERIFIER_atomic_CAS
	.type	__VERIFIER_atomic_CAS, @function
__VERIFIER_atomic_CAS:
.LFB2:
	.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	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	QWORD PTR -24[rbp], rcx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L4
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 1
	jmp	.L6
.L4:
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 0
.L6:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	__VERIFIER_atomic_CAS, .-__VERIFIER_atomic_CAS
	.globl	memory
	.bss
	.align 32
	.type	memory, @object
	.size	memory, 7684
memory:
	.zero	7684
	.globl	next_alloc_idx
	.data
	.align 4
	.type	next_alloc_idx, @object
	.size	next_alloc_idx, 4
next_alloc_idx:
	.long	1
	.globl	m
	.bss
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	top
	.align 4
	.type	top, @object
	.size	top, 4
top:
	.zero	4
	.text
	.globl	__VERIFIER_atomic_assert
	.type	__VERIFIER_atomic_assert, @function
__VERIFIER_atomic_assert:
.LFB7:
	.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
	cmp	DWORD PTR -4[rbp], 0
	je	.L10
	mov	eax, 0
	call	isEmpty@PLT
	test	eax, eax
	je	.L10
	nop
.L9:
	mov	eax, 0
	call	__VERIFIER_error@PLT
.L10:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	__VERIFIER_atomic_assert, .-__VERIFIER_atomic_assert
	.globl	m2
	.bss
	.align 4
	.type	m2, @object
	.size	m2, 4
m2:
	.zero	4
	.globl	state
	.align 4
	.type	state, @object
	.size	state, 4
state:
	.zero	4
	.text
	.globl	thr1
	.type	thr1, @function
thr1:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	lea	rdi, m2[rip]
	call	__VERIFIER_atomic_acquire
	mov	eax, DWORD PTR state[rip]
	test	eax, eax
	je	.L12
	cmp	eax, 1
	je	.L13
	jmp	.L14
.L12:
	mov	eax, 0
	call	EBStack_init@PLT
	mov	DWORD PTR state[rip], 1
.L13:
	lea	rdi, m2[rip]
	call	__VERIFIER_atomic_release
	mov	eax, 0
	call	push_loop@PLT
	nop
.L14:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	thr1, .-thr1
	.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L17:
	lea	rax, -16[rbp]
	mov	ecx, 0
	lea	rdx, thr1[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	jmp	.L17
	.cfi_endproc
.LFE10:
	.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	"200142246.c"
	.text
	.align	2
	.global	__VERIFIER_atomic_acquire
	.syntax unified
	.arm
	.fpu softvfp
	.type	__VERIFIER_atomic_acquire, %function
__VERIFIER_atomic_acquire:
	@ 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]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	__VERIFIER_assume
	ldr	r3, [fp, #-8]
	mov	r2, #1
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	__VERIFIER_atomic_acquire, .-__VERIFIER_atomic_acquire
	.align	2
	.global	__VERIFIER_atomic_release
	.syntax unified
	.arm
	.fpu softvfp
	.type	__VERIFIER_atomic_release, %function
__VERIFIER_atomic_release:
	@ 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]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	__VERIFIER_assume
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	__VERIFIER_atomic_release, .-__VERIFIER_atomic_release
	.align	2
	.global	__VERIFIER_atomic_CAS
	.syntax unified
	.arm
	.fpu softvfp
	.type	__VERIFIER_atomic_CAS, %function
__VERIFIER_atomic_CAS:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L4
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	mov	r2, #1
	str	r2, [r3]
	b	.L6
.L4:
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3]
.L6:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	__VERIFIER_atomic_CAS, .-__VERIFIER_atomic_CAS
	.comm	memory,7684,4
	.global	next_alloc_idx
	.data
	.align	2
	.type	next_alloc_idx, %object
	.size	next_alloc_idx, 4
next_alloc_idx:
	.word	1
	.global	m
	.bss
	.align	2
	.type	m, %object
	.size	m, 4
m:
	.space	4
	.comm	top,4,4
	.text
	.align	2
	.global	__VERIFIER_atomic_assert
	.syntax unified
	.arm
	.fpu softvfp
	.type	__VERIFIER_atomic_assert, %function
__VERIFIER_atomic_assert:
	@ 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]
	cmp	r3, #0
	beq	.L10
	bl	isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	nop
.L9:
	bl	__VERIFIER_error
.L10:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	__VERIFIER_atomic_assert, .-__VERIFIER_atomic_assert
	.global	m2
	.bss
	.align	2
	.type	m2, %object
	.size	m2, 4
m2:
	.space	4
	.global	state
	.align	2
	.type	state, %object
	.size	state, 4
state:
	.space	4
	.text
	.align	2
	.global	thr1
	.syntax unified
	.arm
	.fpu softvfp
	.type	thr1, %function
thr1:
	@ 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	r0, .L16
	bl	__VERIFIER_atomic_acquire
	ldr	r3, .L16+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L12
	cmp	r3, #1
	beq	.L13
	b	.L14
.L12:
	bl	EBStack_init
	ldr	r3, .L16+4
	mov	r2, #1
	str	r2, [r3]
.L13:
	ldr	r0, .L16
	bl	__VERIFIER_atomic_release
	bl	push_loop
	nop
.L14:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	m2
	.word	state
	.size	thr1, .-thr1
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.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
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L19:
	sub	r0, fp, #12
	mov	r3, #0
	ldr	r2, .L21+4
	mov	r1, #0
	bl	pthread_create
	b	.L19
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	thr1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
