	.file	"67417.c"
	.intel_syntax noprefix
	.text
	.globl	__VERIFIER_assert
	.type	__VERIFIER_assert, @function
__VERIFIER_assert:
.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
	cmp	DWORD PTR -4[rbp], 0
	jne	.L5
	nop
.L3:
	mov	eax, 0
	call	__VERIFIER_error@PLT
.L5:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	__VERIFIER_assert, .-__VERIFIER_assert
	.globl	__global_lock
	.bss
	.align 4
	.type	__global_lock, @object
	.size	__global_lock, 4
__global_lock:
	.zero	4
	.text
	.globl	__VERIFIER_atomic_begin
	.type	__VERIFIER_atomic_begin, @function
__VERIFIER_atomic_begin:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR __global_lock[rip]
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	edi, eax
	mov	eax, 0
	call	__VERIFIER_assume@PLT
	mov	DWORD PTR __global_lock[rip], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	__VERIFIER_atomic_begin, .-__VERIFIER_atomic_begin
	.globl	__VERIFIER_atomic_end
	.type	__VERIFIER_atomic_end, @function
__VERIFIER_atomic_end:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR __global_lock[rip]
	cmp	eax, 1
	sete	al
	movzx	eax, al
	mov	edi, eax
	mov	eax, 0
	call	__VERIFIER_assume@PLT
	mov	DWORD PTR __global_lock[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	__VERIFIER_atomic_end, .-__VERIFIER_atomic_end
	.globl	__unbuffered_cnt
	.bss
	.align 4
	.type	__unbuffered_cnt, @object
	.size	__unbuffered_cnt, 4
__unbuffered_cnt:
	.zero	4
	.globl	__unbuffered_p0_EAX
	.align 4
	.type	__unbuffered_p0_EAX, @object
	.size	__unbuffered_p0_EAX, 4
__unbuffered_p0_EAX:
	.zero	4
	.globl	__unbuffered_p2_EAX
	.align 4
	.type	__unbuffered_p2_EAX, @object
	.size	__unbuffered_p2_EAX, 4
__unbuffered_p2_EAX:
	.zero	4
	.globl	main$tmp_guard0
	.type	main$tmp_guard0, @object
	.size	main$tmp_guard0, 1
main$tmp_guard0:
	.zero	1
	.globl	main$tmp_guard1
	.type	main$tmp_guard1, @object
	.size	main$tmp_guard1, 1
main$tmp_guard1:
	.zero	1
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	z
	.align 4
	.type	z, @object
	.size	z, 4
z:
	.zero	4
	.text
	.globl	P0
	.type	P0, @function
P0:
.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	eax, 0
	call	__VERIFIER_atomic_begin
	mov	DWORD PTR z[rip], 2
	mov	eax, 0
	call	__VERIFIER_atomic_end
	mov	eax, 0
	call	__VERIFIER_atomic_begin
	mov	eax, 0
	call	__VERIFIER_atomic_end
	mov	eax, 0
	call	__VERIFIER_atomic_begin
	mov	eax, DWORD PTR x[rip]
	mov	DWORD PTR __unbuffered_p0_EAX[rip], eax
	mov	eax, 0
	call	__VERIFIER_atomic_end
	mov	eax, 0
	call	__VERIFIER_atomic_begin
	mov	eax, 0
	call	__VERIFIER_atomic_end
	mov	eax, 0
	call	__VERIFIER_atomic_begin
	mov	eax, DWORD PTR __unbuffered_cnt[rip]
	add	eax, 1
	mov	DWORD PTR __unbuffered_cnt[rip], eax
	mov	eax, 0
	call	__VERIFIER_atomic_end
	mov	eax, 0
	call	nondet_0@PLT
	cdqe
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	P0, .-P0
	.globl	P1
	.type	P1, @function
P1:
.LFB4:
	.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	eax, 0
	call	__VERIFIER_atomic_begin
	mov	DWORD PTR x[rip], 1
	mov	eax, 0
	call	__VERIFIER_atomic_end
	mov	eax, 0
	call	__VERIFIER_atomic_begin
	mov	DWORD PTR y[rip], 1
	mov	eax, 0
	call	__VERIFIER_atomic_end
	mov	eax, 0
	call	__VERIFIER_atomic_begin
	mov	eax, 0
	call	__VERIFIER_atomic_end
	mov	eax, 0
	call	__VERIFIER_atomic_begin
	mov	eax, DWORD PTR __unbuffered_cnt[rip]
	add	eax, 1
	mov	DWORD PTR __unbuffered_cnt[rip], eax
	mov	eax, 0
	call	__VERIFIER_atomic_end
	mov	eax, 0
	call	nondet_0@PLT
	cdqe
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	P1, .-P1
	.globl	P2
	.type	P2, @function
P2:
.LFB5:
	.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	eax, 0
	call	__VERIFIER_atomic_begin
	mov	eax, DWORD PTR y[rip]
	mov	DWORD PTR __unbuffered_p2_EAX[rip], eax
	mov	eax, 0
	call	__VERIFIER_atomic_end
	mov	eax, 0
	call	__VERIFIER_atomic_begin
	mov	DWORD PTR z[rip], 1
	mov	eax, 0
	call	__VERIFIER_atomic_end
	mov	eax, 0
	call	__VERIFIER_atomic_begin
	mov	eax, 0
	call	__VERIFIER_atomic_end
	mov	eax, 0
	call	__VERIFIER_atomic_begin
	mov	eax, DWORD PTR __unbuffered_cnt[rip]
	add	eax, 1
	mov	DWORD PTR __unbuffered_cnt[rip], eax
	mov	eax, 0
	call	__VERIFIER_atomic_end
	mov	eax, 0
	call	nondet_0@PLT
	cdqe
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	P2, .-P2
	.globl	fence
	.type	fence, @function
fence:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fence, .-fence
	.globl	isync
	.type	isync, @function
isync:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	isync, .-isync
	.globl	lwfence
	.type	lwfence, @function
lwfence:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	lwfence, .-lwfence
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	ecx, 0
	lea	rdx, P0[rip]
	mov	esi, 0
	mov	edi, 0
	call	pthread_create@PLT
	mov	ecx, 0
	lea	rdx, P1[rip]
	mov	esi, 0
	mov	edi, 0
	call	pthread_create@PLT
	mov	ecx, 0
	lea	rdx, P2[rip]
	mov	esi, 0
	mov	edi, 0
	call	pthread_create@PLT
	mov	eax, 0
	call	__VERIFIER_atomic_begin
	mov	eax, DWORD PTR __unbuffered_cnt[rip]
	cmp	eax, 3
	sete	al
	mov	BYTE PTR main$tmp_guard0[rip], al
	mov	eax, 0
	call	__VERIFIER_atomic_end
	movzx	eax, BYTE PTR main$tmp_guard0[rip]
	movzx	eax, al
	mov	edi, eax
	mov	eax, 0
	call	__VERIFIER_assume@PLT
	mov	eax, 0
	call	__VERIFIER_atomic_begin
	mov	eax, 0
	call	__VERIFIER_atomic_end
	mov	eax, 0
	call	__VERIFIER_atomic_begin
	mov	eax, DWORD PTR z[rip]
	cmp	eax, 2
	jne	.L20
	mov	eax, DWORD PTR __unbuffered_p0_EAX[rip]
	test	eax, eax
	jne	.L20
	mov	eax, DWORD PTR __unbuffered_p2_EAX[rip]
	cmp	eax, 1
	je	.L21
.L20:
	mov	eax, 1
	jmp	.L22
.L21:
	mov	eax, 0
.L22:
	and	eax, 1
	mov	BYTE PTR main$tmp_guard1[rip], al
	mov	eax, 0
	call	__VERIFIER_atomic_end
	movzx	eax, BYTE PTR main$tmp_guard1[rip]
	movzx	eax, al
	mov	edi, eax
	call	__VERIFIER_assert
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"67417.c"
	.text
	.align	2
	.global	__VERIFIER_assert
	.syntax unified
	.arm
	.fpu softvfp
	.type	__VERIFIER_assert, %function
__VERIFIER_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
	bne	.L5
	nop
.L3:
	bl	__VERIFIER_error
.L5:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	__VERIFIER_assert, .-__VERIFIER_assert
	.comm	__global_lock,4,4
	.align	2
	.global	__VERIFIER_atomic_begin
	.syntax unified
	.arm
	.fpu softvfp
	.type	__VERIFIER_atomic_begin, %function
__VERIFIER_atomic_begin:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	__VERIFIER_assume
	ldr	r3, .L8
	mov	r2, #1
	str	r2, [r3]
	nop
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	__global_lock
	.size	__VERIFIER_atomic_begin, .-__VERIFIER_atomic_begin
	.align	2
	.global	__VERIFIER_atomic_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	__VERIFIER_atomic_end, %function
__VERIFIER_atomic_end:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	__VERIFIER_assume
	ldr	r3, .L12
	mov	r2, #0
	str	r2, [r3]
	nop
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	__global_lock
	.size	__VERIFIER_atomic_end, .-__VERIFIER_atomic_end
	.global	__unbuffered_cnt
	.bss
	.align	2
	.type	__unbuffered_cnt, %object
	.size	__unbuffered_cnt, 4
__unbuffered_cnt:
	.space	4
	.global	__unbuffered_p0_EAX
	.align	2
	.type	__unbuffered_p0_EAX, %object
	.size	__unbuffered_p0_EAX, 4
__unbuffered_p0_EAX:
	.space	4
	.global	__unbuffered_p2_EAX
	.align	2
	.type	__unbuffered_p2_EAX, %object
	.size	__unbuffered_p2_EAX, 4
__unbuffered_p2_EAX:
	.space	4
	.comm	main$tmp_guard0,1,1
	.comm	main$tmp_guard1,1,1
	.global	x
	.align	2
	.type	x, %object
	.size	x, 4
x:
	.space	4
	.global	y
	.align	2
	.type	y, %object
	.size	y, 4
y:
	.space	4
	.global	z
	.align	2
	.type	z, %object
	.size	z, 4
z:
	.space	4
	.text
	.align	2
	.global	P0
	.syntax unified
	.arm
	.fpu softvfp
	.type	P0, %function
P0:
	@ 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]
	bl	__VERIFIER_atomic_begin
	ldr	r3, .L16
	mov	r2, #2
	str	r2, [r3]
	bl	__VERIFIER_atomic_end
	bl	__VERIFIER_atomic_begin
	bl	__VERIFIER_atomic_end
	bl	__VERIFIER_atomic_begin
	ldr	r3, .L16+4
	ldr	r3, [r3]
	ldr	r2, .L16+8
	str	r3, [r2]
	bl	__VERIFIER_atomic_end
	bl	__VERIFIER_atomic_begin
	bl	__VERIFIER_atomic_end
	bl	__VERIFIER_atomic_begin
	ldr	r3, .L16+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16+12
	str	r3, [r2]
	bl	__VERIFIER_atomic_end
	bl	nondet_0
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	z
	.word	x
	.word	__unbuffered_p0_EAX
	.word	__unbuffered_cnt
	.size	P0, .-P0
	.align	2
	.global	P1
	.syntax unified
	.arm
	.fpu softvfp
	.type	P1, %function
P1:
	@ 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]
	bl	__VERIFIER_atomic_begin
	ldr	r3, .L20
	mov	r2, #1
	str	r2, [r3]
	bl	__VERIFIER_atomic_end
	bl	__VERIFIER_atomic_begin
	ldr	r3, .L20+4
	mov	r2, #1
	str	r2, [r3]
	bl	__VERIFIER_atomic_end
	bl	__VERIFIER_atomic_begin
	bl	__VERIFIER_atomic_end
	bl	__VERIFIER_atomic_begin
	ldr	r3, .L20+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20+8
	str	r3, [r2]
	bl	__VERIFIER_atomic_end
	bl	nondet_0
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	x
	.word	y
	.word	__unbuffered_cnt
	.size	P1, .-P1
	.align	2
	.global	P2
	.syntax unified
	.arm
	.fpu softvfp
	.type	P2, %function
P2:
	@ 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]
	bl	__VERIFIER_atomic_begin
	ldr	r3, .L24
	ldr	r3, [r3]
	ldr	r2, .L24+4
	str	r3, [r2]
	bl	__VERIFIER_atomic_end
	bl	__VERIFIER_atomic_begin
	ldr	r3, .L24+8
	mov	r2, #1
	str	r2, [r3]
	bl	__VERIFIER_atomic_end
	bl	__VERIFIER_atomic_begin
	bl	__VERIFIER_atomic_end
	bl	__VERIFIER_atomic_begin
	ldr	r3, .L24+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L24+12
	str	r3, [r2]
	bl	__VERIFIER_atomic_end
	bl	nondet_0
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	y
	.word	__unbuffered_p2_EAX
	.word	z
	.word	__unbuffered_cnt
	.size	P2, .-P2
	.align	2
	.global	fence
	.syntax unified
	.arm
	.fpu softvfp
	.type	fence, %function
fence:
	@ 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
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	fence, .-fence
	.align	2
	.global	isync
	.syntax unified
	.arm
	.fpu softvfp
	.type	isync, %function
isync:
	@ 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
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isync, .-isync
	.align	2
	.global	lwfence
	.syntax unified
	.arm
	.fpu softvfp
	.type	lwfence, %function
lwfence:
	@ 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
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	lwfence, .-lwfence
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r3, #0
	ldr	r2, .L34
	mov	r1, #0
	mov	r0, #0
	bl	pthread_create
	mov	r3, #0
	ldr	r2, .L34+4
	mov	r1, #0
	mov	r0, #0
	bl	pthread_create
	mov	r3, #0
	ldr	r2, .L34+8
	mov	r1, #0
	mov	r0, #0
	bl	pthread_create
	bl	__VERIFIER_atomic_begin
	ldr	r3, .L34+12
	ldr	r3, [r3]
	cmp	r3, #3
	moveq	r3, #1
	movne	r3, #0
	and	r2, r3, #255
	ldr	r3, .L34+16
	strb	r2, [r3]
	bl	__VERIFIER_atomic_end
	ldr	r3, .L34+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	__VERIFIER_assume
	bl	__VERIFIER_atomic_begin
	bl	__VERIFIER_atomic_end
	bl	__VERIFIER_atomic_begin
	ldr	r3, .L34+20
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L30
	ldr	r3, .L34+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L30
	ldr	r3, .L34+28
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L31
.L30:
	mov	r3, #1
	b	.L32
.L31:
	mov	r3, #0
.L32:
	and	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L34+32
	strb	r2, [r3]
	bl	__VERIFIER_atomic_end
	ldr	r3, .L34+32
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	__VERIFIER_assert
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	P0
	.word	P1
	.word	P2
	.word	__unbuffered_cnt
	.word	main$tmp_guard0
	.word	z
	.word	__unbuffered_p0_EAX
	.word	__unbuffered_p2_EAX
	.word	main$tmp_guard1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
