	.file	"1164814.c"
	.intel_syntax noprefix
	.text
	.globl	fence
	.type	fence, @function
fence:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
#APP
# 3 "the_stack_data/1164814.c" 1
	sync
# 0 "" 2
#NO_APP
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	fence, .-fence
	.globl	lwfence
	.type	lwfence, @function
lwfence:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
#APP
# 7 "the_stack_data/1164814.c" 1
	lwsync
# 0 "" 2
#NO_APP
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	lwfence, .-lwfence
	.globl	isync
	.type	isync, @function
isync:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
#APP
# 11 "the_stack_data/1164814.c" 1
	isync
# 0 "" 2
#NO_APP
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	isync, .-isync
	.globl	__unbuffered_cnt
	.bss
	.align 4
	.type	__unbuffered_cnt, @object
	.size	__unbuffered_cnt, 4
__unbuffered_cnt:
	.zero	4
	.globl	__unbuffered_p0_r1
	.align 4
	.type	__unbuffered_p0_r1, @object
	.size	__unbuffered_p0_r1, 4
__unbuffered_p0_r1:
	.zero	4
	.globl	__unbuffered_p0_r3
	.align 4
	.type	__unbuffered_p0_r3, @object
	.size	__unbuffered_p0_r3, 4
__unbuffered_p0_r3:
	.zero	4
	.globl	__unbuffered_p1_r1
	.align 4
	.type	__unbuffered_p1_r1, @object
	.size	__unbuffered_p1_r1, 4
__unbuffered_p1_r1:
	.zero	4
	.globl	__unbuffered_p2_r1
	.align 4
	.type	__unbuffered_p2_r1, @object
	.size	__unbuffered_p2_r1, 4
__unbuffered_p2_r1:
	.zero	4
	.globl	__unbuffered_p2_r3
	.align 4
	.type	__unbuffered_p2_r3, @object
	.size	__unbuffered_p2_r3, 4
__unbuffered_p2_r3:
	.zero	4
	.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
	.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, 8
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR __unbuffered_p0_r1[rip], 1
	mov	eax, DWORD PTR __unbuffered_p0_r1[rip]
	mov	DWORD PTR y[rip], eax
	mov	eax, 0
	call	fence
	mov	eax, DWORD PTR x[rip]
	mov	DWORD PTR __unbuffered_p0_r3[rip], eax
	mov	eax, 0
	call	fence
	mov	eax, DWORD PTR __unbuffered_cnt[rip]
	add	eax, 1
	mov	DWORD PTR __unbuffered_cnt[rip], eax
	nop
	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, 8
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR __unbuffered_p1_r1[rip], 1
	mov	eax, DWORD PTR __unbuffered_p1_r1[rip]
	mov	DWORD PTR x[rip], eax
	mov	eax, 0
	call	fence
	mov	eax, DWORD PTR __unbuffered_cnt[rip]
	add	eax, 1
	mov	DWORD PTR __unbuffered_cnt[rip], eax
	nop
	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, 8
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, DWORD PTR x[rip]
	mov	DWORD PTR __unbuffered_p2_r1[rip], eax
	mov	eax, 0
	call	lwfence
	mov	eax, DWORD PTR y[rip]
	mov	DWORD PTR __unbuffered_p2_r3[rip], eax
	mov	eax, 0
	call	fence
	mov	eax, DWORD PTR __unbuffered_cnt[rip]
	add	eax, 1
	mov	DWORD PTR __unbuffered_cnt[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	P2, .-P2
	.section	.rodata
	.align 8
.LC0:
	.string	"Program proven to be relaxed for PPC, model checker says YES."
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
.L8:
	mov	edi, 0
	call	P0
.L9:
	mov	edi, 0
	call	P1
.L10:
	mov	edi, 0
	call	P2
	mov	eax, DWORD PTR __unbuffered_cnt[rip]
	cmp	eax, 3
	sete	al
	movzx	eax, al
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assume@PLT
	mov	eax, 0
	call	fence
	mov	eax, DWORD PTR __unbuffered_p0_r3[rip]
	test	eax, eax
	jne	.L11
	mov	eax, DWORD PTR __unbuffered_p2_r1[rip]
	cmp	eax, 1
	jne	.L11
	mov	eax, DWORD PTR __unbuffered_p2_r3[rip]
	test	eax, eax
	je	.L12
.L11:
	mov	eax, 1
	jmp	.L13
.L12:
	mov	eax, 0
.L13:
	lea	rsi, .LC0[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"1164814.c"
	.text
	.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
	.syntax divided
@ 3 "the_stack_data/1164814.c" 1
	sync
@ 0 "" 2
	.arm
	.syntax unified
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	fence, .-fence
	.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
	.syntax divided
@ 7 "the_stack_data/1164814.c" 1
	lwsync
@ 0 "" 2
	.arm
	.syntax unified
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	lwfence, .-lwfence
	.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
	.syntax divided
@ 11 "the_stack_data/1164814.c" 1
	isync
@ 0 "" 2
	.arm
	.syntax unified
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isync, .-isync
	.global	__unbuffered_cnt
	.bss
	.align	2
	.type	__unbuffered_cnt, %object
	.size	__unbuffered_cnt, 4
__unbuffered_cnt:
	.space	4
	.global	__unbuffered_p0_r1
	.align	2
	.type	__unbuffered_p0_r1, %object
	.size	__unbuffered_p0_r1, 4
__unbuffered_p0_r1:
	.space	4
	.global	__unbuffered_p0_r3
	.align	2
	.type	__unbuffered_p0_r3, %object
	.size	__unbuffered_p0_r3, 4
__unbuffered_p0_r3:
	.space	4
	.global	__unbuffered_p1_r1
	.align	2
	.type	__unbuffered_p1_r1, %object
	.size	__unbuffered_p1_r1, 4
__unbuffered_p1_r1:
	.space	4
	.global	__unbuffered_p2_r1
	.align	2
	.type	__unbuffered_p2_r1, %object
	.size	__unbuffered_p2_r1, 4
__unbuffered_p2_r1:
	.space	4
	.global	__unbuffered_p2_r3
	.align	2
	.type	__unbuffered_p2_r3, %object
	.size	__unbuffered_p2_r3, 4
__unbuffered_p2_r3:
	.space	4
	.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
	.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]
	ldr	r3, .L5
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L5
	ldr	r3, [r3]
	ldr	r2, .L5+4
	str	r3, [r2]
	bl	fence
	ldr	r3, .L5+8
	ldr	r3, [r3]
	ldr	r2, .L5+12
	str	r3, [r2]
	bl	fence
	ldr	r3, .L5+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L5+16
	str	r3, [r2]
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	__unbuffered_p0_r1
	.word	y
	.word	x
	.word	__unbuffered_p0_r3
	.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]
	ldr	r3, .L8
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L8
	ldr	r3, [r3]
	ldr	r2, .L8+4
	str	r3, [r2]
	bl	fence
	ldr	r3, .L8+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8+8
	str	r3, [r2]
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	__unbuffered_p1_r1
	.word	x
	.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]
	ldr	r3, .L11
	ldr	r3, [r3]
	ldr	r2, .L11+4
	str	r3, [r2]
	bl	lwfence
	ldr	r3, .L11+8
	ldr	r3, [r3]
	ldr	r2, .L11+12
	str	r3, [r2]
	bl	fence
	ldr	r3, .L11+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L11+16
	str	r3, [r2]
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	x
	.word	__unbuffered_p2_r1
	.word	y
	.word	__unbuffered_p2_r3
	.word	__unbuffered_cnt
	.size	P2, .-P2
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Program proven to be relaxed for PPC, model checker"
	.ascii	" says YES.\000"
	.text
	.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
.L14:
	mov	r0, #0
	bl	P0
.L15:
	mov	r0, #0
	bl	P1
.L16:
	mov	r0, #0
	bl	P2
	ldr	r3, .L21
	ldr	r3, [r3]
	cmp	r3, #3
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	__CPROVER_assume
	bl	fence
	ldr	r3, .L21+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L21+8
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L17
	ldr	r3, .L21+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L18
.L17:
	mov	r3, #1
	b	.L19
.L18:
	mov	r3, #0
.L19:
	ldr	r1, .L21+16
	mov	r0, r3
	bl	__CPROVER_assert
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	__unbuffered_cnt
	.word	__unbuffered_p0_r3
	.word	__unbuffered_p2_r1
	.word	__unbuffered_p2_r3
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
