	.file	"546164.c"
	.intel_syntax noprefix
	.text
	.globl	v
	.bss
	.align 8
	.type	v, @object
	.size	v, 8
v:
	.zero	8
	.globl	count
	.align 8
	.type	count, @object
	.size	count, 8
count:
	.zero	8
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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 v[rip], 0
	mov	QWORD PTR count[rip], 0
	mov	rax, QWORD PTR count[rip]
	add	rax, 1
	mov	QWORD PTR v[rip], rax
	mov	rax, QWORD PTR count[rip]
	add	rax, 1
	mov	QWORD PTR count[rip], rax
	mov	rdx, QWORD PTR count[rip]
	mov	rax, QWORD PTR v[rip]
	cmp	rdx, rax
	je	.L2
	call	abort@PLT
.L2:
	mov	rax, QWORD PTR count[rip]
	add	rax, 1
	mov	QWORD PTR v[rip], rax
	mov	rax, QWORD PTR count[rip]
	add	rax, 1
	mov	QWORD PTR count[rip], rax
	mov	rdx, QWORD PTR count[rip]
	mov	rax, QWORD PTR v[rip]
	cmp	rdx, rax
	je	.L3
	call	abort@PLT
.L3:
	mov	rax, QWORD PTR count[rip]
	add	rax, 1
	xchg	rax, QWORD PTR v[rip]
	mov	rax, QWORD PTR count[rip]
	add	rax, 1
	mov	QWORD PTR count[rip], rax
	mov	rdx, QWORD PTR count[rip]
	mov	rax, QWORD PTR v[rip]
	cmp	rdx, rax
	je	.L4
	call	abort@PLT
.L4:
	mov	rax, QWORD PTR count[rip]
	add	rax, 1
	mov	QWORD PTR count[rip], rax
	mov	rax, QWORD PTR count[rip]
	mov	QWORD PTR v[rip], rax
	mov	rax, QWORD PTR count[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR count[rip], rdx
	mov	rdx, QWORD PTR v[rip]
	cmp	rax, rdx
	je	.L5
	call	abort@PLT
.L5:
	mov	rax, QWORD PTR count[rip]
	mov	QWORD PTR v[rip], rax
	mov	rax, QWORD PTR count[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR count[rip], rdx
	mov	rdx, QWORD PTR v[rip]
	cmp	rax, rdx
	je	.L6
	call	abort@PLT
.L6:
	mov	rax, QWORD PTR count[rip]
	xchg	rax, QWORD PTR v[rip]
	mov	rdx, QWORD PTR v[rip]
	mov	rax, QWORD PTR count[rip]
	cmp	rdx, rax
	je	.L7
	call	abort@PLT
.L7:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"546164.c"
	.text
	.comm	v,8,8
	.comm	count,8,8
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #56
	ldr	r1, .L9
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, .L9+4
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, .L9+4
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	mov	r0, r4
	mov	r1, r5
	mov	r3, #0
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L9
	bl	__atomic_store_8
	ldr	r3, .L9+4
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	ldr	r3, .L9+4
	stm	r3, {r6-r7}
	ldr	r3, .L9+4
	ldmia	r3, {r0-r1}
	ldr	r3, .L9
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	beq	.L2
	bl	abort
.L2:
	ldr	r3, .L9+4
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-36]
	adc	r3, r3, #0
	str	r3, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r3, #3
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L9
	bl	__atomic_store_8
	ldr	r3, .L9+4
	ldmia	r3, {r2-r3}
	adds	r8, r2, #1
	adc	r9, r3, #0
	ldr	r3, .L9+4
	stm	r3, {r8-r9}
	ldr	r3, .L9+4
	ldmia	r3, {r0-r1}
	ldr	r3, .L9
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	beq	.L3
	bl	abort
.L3:
	ldr	r3, .L9+4
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-44]
	adc	r3, r3, #0
	str	r3, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r1, #5
	str	r1, [sp]
	ldr	r0, .L9
	bl	__atomic_store_8
	ldr	r3, .L9+4
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-52]
	adc	r3, r3, #0
	str	r3, [fp, #-48]
	ldr	r3, .L9+4
	sub	r2, fp, #52
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	ldr	r3, .L9+4
	ldmia	r3, {r0-r1}
	ldr	r3, .L9
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	beq	.L4
	bl	abort
.L4:
	ldr	r3, .L9+4
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-60]
	adc	r3, r3, #0
	str	r3, [fp, #-56]
	ldr	r3, .L9+4
	sub	r2, fp, #60
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	ldr	r3, .L9+4
	ldmia	r3, {r2-r3}
	mov	r1, #0
	str	r1, [sp]
	ldr	r0, .L9
	bl	__atomic_store_8
	ldr	r3, .L9+4
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-68]
	adc	r1, r3, #0
	str	r1, [fp, #-64]
	ldr	r1, .L9+4
	sub	r5, fp, #68
	ldmia	r5, {r4-r5}
	stm	r1, {r4-r5}
	ldr	r1, .L9
	ldmia	r1, {r0-r1}
	cmp	r3, r1
	cmpeq	r2, r0
	beq	.L5
	bl	abort
.L5:
	ldr	r3, .L9+4
	ldmia	r3, {r2-r3}
	mov	r1, #3
	str	r1, [sp]
	ldr	r0, .L9
	bl	__atomic_store_8
	ldr	r3, .L9+4
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-76]
	adc	r1, r3, #0
	str	r1, [fp, #-72]
	ldr	r1, .L9+4
	sub	r5, fp, #76
	ldmia	r5, {r4-r5}
	stm	r1, {r4-r5}
	ldr	r1, .L9
	ldmia	r1, {r0-r1}
	cmp	r3, r1
	cmpeq	r2, r0
	beq	.L6
	bl	abort
.L6:
	ldr	r3, .L9+4
	ldmia	r3, {r2-r3}
	mov	r1, #5
	str	r1, [sp]
	ldr	r0, .L9
	bl	__atomic_store_8
	ldr	r3, .L9
	ldmia	r3, {r0-r1}
	ldr	r3, .L9+4
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	beq	.L7
	bl	abort
.L7:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L10:
	.align	2
.L9:
	.word	v
	.word	count
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
