	.file	"15869.c"
	.intel_syntax noprefix
	.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
	lea	r11, -262144[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -262239[rbp], 1
	lea	rax, -262160[rbp]
	mov	QWORD PTR -262168[rbp], rax
	movzx	eax, BYTE PTR -262239[rbp]
	mov	BYTE PTR -262241[rbp], al
	movzx	eax, BYTE PTR -262241[rbp]
	movsx	rax, al
	sal	rax, 9
	mov	rdx, rax
	mov	rax, rdx
	lock xadd	QWORD PTR -262168[rbp], rax
	add	rax, rdx
	mov	QWORD PTR -262232[rbp], rax
	mov	rax, QWORD PTR -262168[rbp]
	mov	QWORD PTR -262224[rbp], rax
	mov	rax, QWORD PTR -262224[rbp]
	lea	rdx, -262160[rbp]
	add	rdx, 512
	cmp	rax, rdx
	je	.L2
	call	abort@PLT
.L2:
	movzx	eax, BYTE PTR -262239[rbp]
	mov	BYTE PTR -262240[rbp], al
	movzx	eax, BYTE PTR -262240[rbp]
	movsx	rax, al
	sal	rax, 9
	neg	rax
	mov	rdx, rax
	mov	rax, rdx
	lock xadd	QWORD PTR -262168[rbp], rax
	add	rax, rdx
	mov	QWORD PTR -262216[rbp], rax
	mov	rax, QWORD PTR -262168[rbp]
	mov	QWORD PTR -262208[rbp], rax
	mov	rdx, QWORD PTR -262208[rbp]
	lea	rax, -262160[rbp]
	cmp	rdx, rax
	je	.L3
	call	abort@PLT
.L3:
	mov	WORD PTR -262234[rbp], 1
	lea	rax, -262160[rbp]
	mov	QWORD PTR -262200[rbp], rax
	movzx	eax, WORD PTR -262234[rbp]
	mov	WORD PTR -262238[rbp], ax
	movzx	eax, WORD PTR -262238[rbp]
	movsx	rax, ax
	sal	rax, 17
	mov	rdx, rax
	mov	rax, rdx
	lock xadd	QWORD PTR -262200[rbp], rax
	add	rax, rdx
	mov	QWORD PTR -262192[rbp], rax
	mov	rax, QWORD PTR -262200[rbp]
	mov	QWORD PTR -262184[rbp], rax
	mov	rax, QWORD PTR -262184[rbp]
	lea	rdx, -262160[rbp]
	add	rdx, 131072
	cmp	rax, rdx
	je	.L4
	call	abort@PLT
.L4:
	movzx	eax, WORD PTR -262234[rbp]
	mov	WORD PTR -262236[rbp], ax
	movzx	eax, WORD PTR -262236[rbp]
	movsx	rax, ax
	sal	rax, 17
	neg	rax
	mov	rdx, rax
	mov	rax, rdx
	lock xadd	QWORD PTR -262200[rbp], rax
	add	rax, rdx
	mov	QWORD PTR -262176[rbp], rax
	mov	rax, QWORD PTR -262200[rbp]
	mov	QWORD PTR -262168[rbp], rax
	mov	rdx, QWORD PTR -262168[rbp]
	lea	rax, -262160[rbp]
	cmp	rdx, rax
	je	.L5
	call	abort@PLT
.L5:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.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	"15869.c"
	.text
	.global	__sync_add_and_fetch_4
	.global	__sync_synchronize
	.global	__sync_sub_and_fetch_4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 262200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #262144
	sub	sp, sp, #60
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #262144
	sub	r3, r3, #12
	mov	r2, #1
	strb	r2, [r3, #-47]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-8]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	ldrb	r3, [r3, #-47]
	strb	r3, [r2, #-49]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	ldrsb	r3, [r3, #-49]
	lsl	r3, r3, #9
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r2
	mov	r0, r3
	bl	__sync_add_and_fetch_4
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	str	r2, [r3, #-40]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	mov	r4, r3
	bl	__sync_synchronize
	ldr	r4, [r4, #-8]
	bl	__sync_synchronize
	mov	r2, r4
	sub	r3, fp, #262144
	sub	r3, r3, #12
	str	r2, [r3, #-36]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	ldr	r2, [r3, #-36]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, #512
	cmp	r2, r3
	beq	.L2
	bl	abort
.L2:
	sub	r3, fp, #262144
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	ldrb	r3, [r3, #-47]
	strb	r3, [r2, #-48]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	ldrsb	r3, [r3, #-48]
	lsl	r3, r3, #9
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r2
	mov	r0, r3
	bl	__sync_sub_and_fetch_4
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	str	r2, [r3, #-32]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	mov	r4, r3
	bl	__sync_synchronize
	ldr	r4, [r4, #-8]
	bl	__sync_synchronize
	mov	r2, r4
	sub	r3, fp, #262144
	sub	r3, r3, #12
	str	r2, [r3, #-28]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	ldr	r2, [r3, #-28]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	sub	r3, r3, #4
	cmp	r2, r3
	beq	.L3
	bl	abort
.L3:
	sub	r3, fp, #262144
	sub	r3, r3, #12
	mov	r2, #1
	strh	r2, [r3, #-42]	@ movhi
	sub	r3, fp, #262144
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-24]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	ldrh	r3, [r3, #-42]	@ movhi
	strh	r3, [r2, #-46]	@ movhi
	sub	r3, fp, #262144
	sub	r3, r3, #12
	ldrsh	r3, [r3, #-46]
	lsl	r3, r3, #17
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	sub	r3, r3, #24
	mov	r1, r2
	mov	r0, r3
	bl	__sync_add_and_fetch_4
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	str	r2, [r3, #-20]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	mov	r4, r3
	bl	__sync_synchronize
	ldr	r4, [r4, #-24]
	bl	__sync_synchronize
	mov	r2, r4
	sub	r3, fp, #262144
	sub	r3, r3, #12
	str	r2, [r3, #-16]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	ldr	r2, [r3, #-16]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, #131072
	cmp	r2, r3
	beq	.L4
	bl	abort
.L4:
	sub	r3, fp, #262144
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	ldrh	r3, [r3, #-42]	@ movhi
	strh	r3, [r2, #-44]	@ movhi
	sub	r3, fp, #262144
	sub	r3, r3, #12
	ldrsh	r3, [r3, #-44]
	lsl	r3, r3, #17
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	sub	r3, r3, #24
	mov	r1, r2
	mov	r0, r3
	bl	__sync_sub_and_fetch_4
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	str	r2, [r3, #-12]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	mov	r4, r3
	bl	__sync_synchronize
	ldr	r4, [r4, #-24]
	bl	__sync_synchronize
	mov	r2, r4
	sub	r3, fp, #262144
	sub	r3, r3, #12
	str	r2, [r3, #-8]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	ldr	r2, [r3, #-8]
	sub	r3, fp, #262144
	sub	r3, r3, #12
	sub	r3, r3, #4
	cmp	r2, r3
	beq	.L5
	bl	abort
.L5:
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
