	.file	"115580.c"
	.intel_syntax noprefix
	.text
	.globl	store
	.type	store, @function
store:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -36[rbp], 0
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	xchg	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -36[rbp], 0
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	xchg	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -36[rbp], 0
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	xchg	edx, DWORD PTR [rax]
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	store, .-store
	.globl	load
	.type	load, @function
load:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -28[rbp], eax
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	load, .-load
	.globl	exchange
	.type	exchange, @function
exchange:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	mov	rcx, QWORD PTR -56[rbp]
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR [rdx]
	lock cmpxchg	DWORD PTR [rcx], esi
	sete	cl
	test	cl, cl
	jne	.L6
	mov	DWORD PTR [rdx], eax
.L6:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	mov	rcx, QWORD PTR -48[rbp]
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR [rdx]
	lock cmpxchg	DWORD PTR [rcx], esi
	sete	cl
	test	cl, cl
	jne	.L7
	mov	DWORD PTR [rdx], eax
.L7:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	mov	rcx, QWORD PTR -40[rbp]
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR [rdx]
	lock cmpxchg	DWORD PTR [rcx], esi
	sete	cl
	test	cl, cl
	jne	.L8
	mov	DWORD PTR [rdx], eax
.L8:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	mov	rcx, QWORD PTR -32[rbp]
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR [rdx]
	lock cmpxchg	DWORD PTR [rcx], esi
	sete	cl
	test	cl, cl
	jne	.L9
	mov	DWORD PTR [rdx], eax
.L9:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	mov	rcx, QWORD PTR -24[rbp]
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR [rdx]
	lock cmpxchg	DWORD PTR [rcx], esi
	sete	cl
	test	cl, cl
	jne	.L10
	mov	DWORD PTR [rdx], eax
.L10:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	mov	rcx, QWORD PTR -16[rbp]
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR [rdx]
	lock cmpxchg	DWORD PTR [rcx], esi
	sete	cl
	test	cl, cl
	jne	.L13
	mov	DWORD PTR [rdx], eax
.L13:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	exchange, .-exchange
	.globl	clear
	.type	clear, @function
clear:
.LFB3:
	.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	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	xchg	dl, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	xchg	dl, BYTE PTR [rax]
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	clear, .-clear
	.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	"115580.c"
	.text
	.global	__sync_synchronize
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	store
	.syntax unified
	.arm
	.fpu softvfp
	.type	store, %function
store:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-40]
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	mov	r5, r3
	ldr	r4, [fp, #-28]
	bl	__sync_synchronize
	str	r5, [r4]
	bl	__sync_synchronize
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	mov	r5, r3
	ldr	r4, [fp, #-24]
	bl	__sync_synchronize
	str	r5, [r4]
	bl	__sync_synchronize
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	mov	r5, r3
	ldr	r4, [fp, #-20]
	bl	__sync_synchronize
	str	r5, [r4]
	bl	__sync_synchronize
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	store, .-store
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	load
	.syntax unified
	.arm
	.fpu softvfp
	.type	load, %function
load:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldr	r4, [fp, #-32]
	bl	__sync_synchronize
	ldr	r4, [r4]
	bl	__sync_synchronize
	mov	r3, r4
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-24]
	ldr	r4, [fp, #-24]
	bl	__sync_synchronize
	ldr	r4, [r4]
	bl	__sync_synchronize
	mov	r3, r4
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-20]
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC1
	.size	load, .-load
	.global	__sync_val_compare_and_swap_4
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	exchange
	.syntax unified
	.arm
	.fpu softvfp
	.type	exchange, %function
exchange:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-56]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	sub	r4, fp, #48
	ldr	r5, [r4]
	mov	r1, r5
	mov	r0, r3
	bl	__sync_val_compare_and_swap_4
	mov	r3, r0
	cmp	r3, r5
	moveq	r2, #1
	movne	r2, #0
	cmp	r2, #0
	bne	.L10
	str	r3, [r4]
.L10:
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	mov	r2, r3
	ldr	r3, [fp, #-36]
	sub	r4, fp, #48
	ldr	r5, [r4]
	mov	r1, r5
	mov	r0, r3
	bl	__sync_val_compare_and_swap_4
	mov	r3, r0
	cmp	r3, r5
	moveq	r2, #1
	movne	r2, #0
	cmp	r2, #0
	bne	.L11
	str	r3, [r4]
.L11:
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	mov	r2, r3
	ldr	r3, [fp, #-32]
	sub	r4, fp, #48
	ldr	r5, [r4]
	mov	r1, r5
	mov	r0, r3
	bl	__sync_val_compare_and_swap_4
	mov	r3, r0
	cmp	r3, r5
	moveq	r2, #1
	movne	r2, #0
	cmp	r2, #0
	bne	.L12
	str	r3, [r4]
.L12:
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	mov	r2, r3
	ldr	r3, [fp, #-28]
	sub	r4, fp, #48
	ldr	r5, [r4]
	mov	r1, r5
	mov	r0, r3
	bl	__sync_val_compare_and_swap_4
	mov	r3, r0
	cmp	r3, r5
	moveq	r2, #1
	movne	r2, #0
	cmp	r2, #0
	bne	.L13
	str	r3, [r4]
.L13:
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	sub	r4, fp, #48
	ldr	r5, [r4]
	mov	r1, r5
	mov	r0, r3
	bl	__sync_val_compare_and_swap_4
	mov	r3, r0
	cmp	r3, r5
	moveq	r2, #1
	movne	r2, #0
	cmp	r2, #0
	bne	.L14
	str	r3, [r4]
.L14:
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	mov	r2, r3
	ldr	r3, [fp, #-20]
	sub	r4, fp, #48
	ldr	r5, [r4]
	mov	r1, r5
	mov	r0, r3
	bl	__sync_val_compare_and_swap_4
	mov	r3, r0
	cmp	r3, r5
	moveq	r2, #1
	movne	r2, #0
	cmp	r2, #0
	bne	.L15
	str	r3, [r4]
.L15:
	nop
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC2
	.size	exchange, .-exchange
	.align	2
	.global	clear
	.syntax unified
	.arm
	.fpu softvfp
	.type	clear, %function
clear:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	ldr	r4, [fp, #-16]
	bl	__sync_synchronize
	mov	r3, #0
	strb	r3, [r4]
	bl	__sync_synchronize
	ldr	r4, [fp, #-16]
	bl	__sync_synchronize
	mov	r3, #0
	strb	r3, [r4]
	bl	__sync_synchronize
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	clear, .-clear
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
