	.file	"783828.c"
	.intel_syntax noprefix
	.text
	.globl	v
	.bss
	.align 2
	.type	v, @object
	.size	v, 2
v:
	.zero	2
	.globl	count
	.align 2
	.type	count, @object
	.size	count, 2
count:
	.zero	2
	.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	WORD PTR v[rip], 0
	mov	WORD PTR count[rip], 0
	movzx	eax, WORD PTR v[rip]
	mov	ecx, eax
	movzx	eax, WORD PTR count[rip]
	mov	edx, eax
	add	edx, 1
	mov	WORD PTR count[rip], dx
	cmp	cx, ax
	je	.L2
	call	abort@PLT
.L2:
	movzx	eax, WORD PTR v[rip]
	add	eax, 1
	mov	WORD PTR v[rip], ax
	movzx	eax, WORD PTR v[rip]
	mov	ecx, eax
	movzx	eax, WORD PTR count[rip]
	mov	edx, eax
	add	edx, 1
	mov	WORD PTR count[rip], dx
	cmp	cx, ax
	je	.L3
	call	abort@PLT
.L3:
	movzx	eax, WORD PTR v[rip]
	add	eax, 1
	mov	WORD PTR v[rip], ax
	movzx	eax, WORD PTR v[rip]
	mov	ecx, eax
	movzx	eax, WORD PTR count[rip]
	mov	edx, eax
	add	edx, 1
	mov	WORD PTR count[rip], dx
	cmp	cx, ax
	je	.L4
	call	abort@PLT
.L4:
	movzx	eax, WORD PTR v[rip]
	add	eax, 1
	mov	WORD PTR v[rip], ax
	movzx	eax, WORD PTR v[rip]
	mov	ecx, eax
	movzx	eax, WORD PTR count[rip]
	mov	edx, eax
	add	edx, 1
	mov	WORD PTR count[rip], dx
	cmp	cx, ax
	je	.L5
	call	abort@PLT
.L5:
	movzx	eax, WORD PTR v[rip]
	add	eax, 1
	mov	WORD PTR v[rip], ax
	movzx	eax, WORD PTR v[rip]
	mov	WORD PTR count[rip], ax
	movzx	edx, WORD PTR count[rip]
	movzx	eax, WORD PTR v[rip]
	cmp	dx, ax
	je	.L6
	call	abort@PLT
.L6:
	movzx	eax, WORD PTR v[rip]
	add	eax, 1
	mov	WORD PTR v[rip], ax
	movzx	eax, WORD PTR v[rip]
	mov	WORD PTR count[rip], ax
	movzx	edx, WORD PTR count[rip]
	movzx	eax, WORD PTR v[rip]
	cmp	dx, ax
	je	.L7
	call	abort@PLT
.L7:
	movzx	eax, WORD PTR v[rip]
	add	eax, 1
	mov	WORD PTR v[rip], ax
	movzx	eax, WORD PTR v[rip]
	mov	WORD PTR count[rip], ax
	movzx	edx, WORD PTR count[rip]
	movzx	eax, WORD PTR v[rip]
	cmp	dx, ax
	je	.L8
	call	abort@PLT
.L8:
	movzx	eax, WORD PTR v[rip]
	add	eax, 1
	mov	WORD PTR v[rip], ax
	movzx	eax, WORD PTR v[rip]
	mov	WORD PTR count[rip], ax
	movzx	edx, WORD PTR count[rip]
	movzx	eax, WORD PTR v[rip]
	cmp	dx, ax
	je	.L9
	call	abort@PLT
.L9:
	movzx	eax, WORD PTR v[rip]
	add	eax, 1
	mov	WORD PTR v[rip], ax
	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	"783828.c"
	.text
	.comm	v,2,2
	.comm	count,2,2
	.global	__sync_synchronize
	.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	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r3, .L11
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	ldr	r3, .L11+4
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	ldr	r3, .L11
	ldrh	r3, [r3]	@ movhi
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, .L11+4
	ldrsh	r3, [r3]
	lsl	r1, r3, #16
	lsr	r1, r1, #16
	add	r1, r1, #1
	lsl	r1, r1, #16
	lsr	r1, r1, #16
	lsl	r1, r1, #16
	asr	r1, r1, #16
	ldr	r0, .L11+4
	strh	r1, [r0]	@ movhi
	cmp	r2, r3
	beq	.L2
	bl	abort
.L2:
	ldr	r3, .L11
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L11
	strh	r3, [r2]	@ movhi
	ldr	r3, .L11
	ldrh	r4, [r3]	@ movhi
	bl	__sync_synchronize
	lsl	r3, r4, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, .L11+4
	ldrsh	r3, [r3]
	lsl	r1, r3, #16
	lsr	r1, r1, #16
	add	r1, r1, #1
	lsl	r1, r1, #16
	lsr	r1, r1, #16
	lsl	r1, r1, #16
	asr	r1, r1, #16
	ldr	r0, .L11+4
	strh	r1, [r0]	@ movhi
	cmp	r2, r3
	beq	.L3
	bl	abort
.L3:
	ldr	r3, .L11
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L11
	strh	r3, [r2]	@ movhi
	ldr	r3, .L11
	ldrh	r4, [r3]	@ movhi
	bl	__sync_synchronize
	lsl	r3, r4, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, .L11+4
	ldrsh	r3, [r3]
	lsl	r1, r3, #16
	lsr	r1, r1, #16
	add	r1, r1, #1
	lsl	r1, r1, #16
	lsr	r1, r1, #16
	lsl	r1, r1, #16
	asr	r1, r1, #16
	ldr	r0, .L11+4
	strh	r1, [r0]	@ movhi
	cmp	r2, r3
	beq	.L4
	bl	abort
.L4:
	ldr	r3, .L11
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L11
	strh	r3, [r2]	@ movhi
	ldr	r4, .L11
	bl	__sync_synchronize
	ldrh	r4, [r4]	@ movhi
	bl	__sync_synchronize
	lsl	r3, r4, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, .L11+4
	ldrsh	r3, [r3]
	lsl	r1, r3, #16
	lsr	r1, r1, #16
	add	r1, r1, #1
	lsl	r1, r1, #16
	lsr	r1, r1, #16
	lsl	r1, r1, #16
	asr	r1, r1, #16
	ldr	r0, .L11+4
	strh	r1, [r0]	@ movhi
	cmp	r2, r3
	beq	.L5
	bl	abort
.L5:
	ldr	r3, .L11
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L11
	strh	r3, [r2]	@ movhi
	ldr	r3, .L11
	ldrh	r3, [r3]	@ movhi
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L11+4
	strh	r3, [r2]	@ movhi
	ldr	r3, .L11+4
	ldrsh	r2, [r3]
	ldr	r3, .L11
	ldrsh	r3, [r3]
	cmp	r2, r3
	beq	.L6
	bl	abort
.L6:
	ldr	r3, .L11
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L11
	strh	r3, [r2]	@ movhi
	ldr	r3, .L11
	ldrh	r4, [r3]	@ movhi
	bl	__sync_synchronize
	lsl	r3, r4, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L11+4
	strh	r3, [r2]	@ movhi
	ldr	r3, .L11+4
	ldrsh	r2, [r3]
	ldr	r3, .L11
	ldrsh	r3, [r3]
	cmp	r2, r3
	beq	.L7
	bl	abort
.L7:
	ldr	r3, .L11
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L11
	strh	r3, [r2]	@ movhi
	ldr	r3, .L11
	ldrh	r4, [r3]	@ movhi
	bl	__sync_synchronize
	lsl	r3, r4, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L11+4
	strh	r3, [r2]	@ movhi
	ldr	r3, .L11+4
	ldrsh	r2, [r3]
	ldr	r3, .L11
	ldrsh	r3, [r3]
	cmp	r2, r3
	beq	.L8
	bl	abort
.L8:
	ldr	r3, .L11
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L11
	strh	r3, [r2]	@ movhi
	ldr	r4, .L11
	bl	__sync_synchronize
	ldrh	r4, [r4]	@ movhi
	bl	__sync_synchronize
	lsl	r3, r4, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L11+4
	strh	r3, [r2]	@ movhi
	ldr	r3, .L11+4
	ldrsh	r2, [r3]
	ldr	r3, .L11
	ldrsh	r3, [r3]
	cmp	r2, r3
	beq	.L9
	bl	abort
.L9:
	ldr	r3, .L11
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L11
	strh	r3, [r2]	@ movhi
	mov	r3, #0
	mov	r0, r3
	pop	{r4, r5, fp, pc}
.L12:
	.align	2
.L11:
	.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
