	.file	"191550.c"
	.intel_syntax noprefix
	.text
	.globl	f1
	.type	f1, @function
f1:
.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -88[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -84[rbp], 0
	mov	eax, DWORD PTR -84[rbp]
	xchg	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -80[rbp], 0
	mov	eax, DWORD PTR -80[rbp]
	xchg	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -76[rbp], 0
	mov	eax, DWORD PTR -76[rbp]
	xchg	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -72[rbp], 0
	mov	eax, DWORD PTR -72[rbp]
	xchg	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -68[rbp], 1
	mov	eax, DWORD PTR -68[rbp]
	lock xadd	DWORD PTR -88[rbp], eax
	mov	DWORD PTR -64[rbp], eax
	add	DWORD PTR -36[rbp], 1
	mov	DWORD PTR -60[rbp], 1
	mov	eax, DWORD PTR -60[rbp]
	lock xadd	DWORD PTR -88[rbp], eax
	mov	DWORD PTR -56[rbp], eax
	mov	DWORD PTR -52[rbp], 1
	mov	eax, DWORD PTR -52[rbp]
	lock xadd	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -48[rbp], eax
	mov	DWORD PTR -44[rbp], 1
	mov	eax, DWORD PTR -44[rbp]
	lock xadd	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -40[rbp], eax
	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	f1, .-f1
	.globl	f2
	.type	f2, @function
f2:
.LFB1:
	.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 -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -4[rbp], 1
.L4:
	cmp	DWORD PTR -4[rbp], 15
	jle	.L5
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	f2, .-f2
	.globl	x
	.bss
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.text
	.globl	f3
	.type	f3, @function
f3:
.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, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -68[rbp], 6
	mov	eax, DWORD PTR -68[rbp]
	xchg	eax, DWORD PTR x[rip]
	mov	eax, DWORD PTR x[rip]
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -60[rbp], 6
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, eax
	mov	eax, edx
	lock xadd	DWORD PTR x[rip], eax
	add	eax, edx
	mov	DWORD PTR -56[rbp], eax
	mov	DWORD PTR -52[rbp], 2
	mov	eax, DWORD PTR x[rip]
	mov	DWORD PTR -48[rbp], eax
.L9:
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	mov	ecx, eax
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR [rdx]
	lock cmpxchg	DWORD PTR x[rip], ecx
	mov	ecx, eax
	sete	al
	test	al, al
	jne	.L7
	mov	DWORD PTR [rdx], ecx
.L7:
	test	al, al
	jne	.L8
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -40[rbp], 6
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 8
	xchg	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -32[rbp], 6
	mov	eax, DWORD PTR -32[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, 8[rax]
	mov	eax, ecx
	lock xadd	DWORD PTR [rdx], eax
	add	eax, ecx
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -24[rbp], 2
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
.L12:
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, edx
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, 8[rax]
	lea	rdx, -20[rbp]
	mov	eax, DWORD PTR [rdx]
	lock cmpxchg	DWORD PTR [rsi], ecx
	mov	ecx, eax
	sete	al
	test	al, al
	jne	.L10
	mov	DWORD PTR [rdx], ecx
.L10:
	test	al, al
	jne	.L11
	jmp	.L12
.L11:
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -12[rbp], eax
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	f3, .-f3
	.globl	f4
	.type	f4, @function
f4:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	f4, .-f4
	.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	"191550.c"
	.text
	.global	__sync_synchronize
	.global	__sync_fetch_and_add_4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	f1
	.syntax unified
	.arm
	.fpu softvfp
	.type	f1, %function
f1:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #84
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-84]
	mov	r4, r3
	bl	__sync_synchronize
	str	r4, [fp, #-32]
	bl	__sync_synchronize
	mov	r3, #0
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-80]
	mov	r4, r3
	bl	__sync_synchronize
	str	r4, [fp, #-28]
	bl	__sync_synchronize
	mov	r3, #0
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-76]
	mov	r4, r3
	bl	__sync_synchronize
	str	r4, [fp, #-24]
	bl	__sync_synchronize
	mov	r3, #0
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-72]
	mov	r4, r3
	bl	__sync_synchronize
	str	r4, [fp, #-20]
	bl	__sync_synchronize
	mov	r3, #1
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	mov	r2, r3
	sub	r3, fp, #88
	mov	r1, r2
	mov	r0, r3
	bl	__sync_fetch_and_add_4
	mov	r3, r0
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	mov	r3, #1
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	mov	r2, r3
	sub	r3, fp, #88
	mov	r1, r2
	mov	r0, r3
	bl	__sync_fetch_and_add_4
	mov	r3, r0
	str	r3, [fp, #-56]
	mov	r3, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	mov	r2, r3
	sub	r3, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	__sync_fetch_and_add_4
	mov	r3, r0
	str	r3, [fp, #-48]
	mov	r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	mov	r2, r3
	sub	r3, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	__sync_fetch_and_add_4
	mov	r3, r0
	str	r3, [fp, #-40]
	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, #8
	@ sp needed
	pop	{r4, fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	f1, .-f1
	.align	2
	.global	f2
	.syntax unified
	.arm
	.fpu softvfp
	.type	f2, %function
f2:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #15
	ble	.L7
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	f2, .-f2
	.comm	x,4,4
	.global	__sync_add_and_fetch_4
	.global	__sync_val_compare_and_swap_4
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	f3
	.syntax unified
	.arm
	.fpu softvfp
	.type	f3, %function
f3:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #72
	str	r0, [fp, #-80]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #6
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-76]
	mov	r5, r3
	ldr	r4, .L16+4
	bl	__sync_synchronize
	str	r5, [r4]
	bl	__sync_synchronize
	ldr	r4, .L16+4
	bl	__sync_synchronize
	ldr	r4, [r4]
	bl	__sync_synchronize
	mov	r3, r4
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-20]
	mov	r3, #6
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	mov	r2, r3
	ldr	r3, .L16+4
	mov	r1, r2
	mov	r0, r3
	bl	__sync_add_and_fetch_4
	mov	r3, r0
	str	r3, [fp, #-64]
	mov	r3, #2
	str	r3, [fp, #-60]
	ldr	r4, .L16+4
	bl	__sync_synchronize
	ldr	r4, [r4]
	bl	__sync_synchronize
	mov	r3, r4
	str	r3, [fp, #-56]
.L11:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-60]
	mul	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	mov	r2, r3
	ldr	r3, .L16+4
	sub	r4, fp, #56
	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	.L9
	str	r3, [r4]
.L9:
	mov	r3, r2
	cmp	r3, #0
	bne	.L10
	b	.L11
.L10:
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-20]
	mov	r3, #6
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-80]
	add	r4, r3, #8
	ldr	r3, [fp, #-48]
	mov	r5, r3
	bl	__sync_synchronize
	str	r5, [r4]
	bl	__sync_synchronize
	ldr	r3, [fp, #-80]
	add	r4, r3, #8
	bl	__sync_synchronize
	ldr	r4, [r4]
	bl	__sync_synchronize
	mov	r3, r4
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-20]
	mov	r3, #6
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-80]
	add	r3, r3, #8
	ldr	r2, [fp, #-40]
	mov	r1, r2
	mov	r0, r3
	bl	__sync_add_and_fetch_4
	mov	r3, r0
	str	r3, [fp, #-36]
	mov	r3, #2
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-80]
	add	r4, r3, #8
	bl	__sync_synchronize
	ldr	r4, [r4]
	bl	__sync_synchronize
	mov	r3, r4
	str	r3, [fp, #-28]
.L14:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	mul	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-80]
	add	r3, r3, #8
	ldr	r2, [fp, #-24]
	sub	r4, fp, #28
	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:
	mov	r3, r2
	cmp	r3, #0
	bne	.L13
	b	.L14
.L13:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	nop
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC1
	.word	x
	.size	f3, .-f3
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	f4
	.syntax unified
	.arm
	.fpu softvfp
	.type	f4, %function
f4:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	bl	__sync_synchronize
	ldr	r4, [fp, #-24]
	bl	__sync_synchronize
	mov	r3, r4
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC2
	.size	f4, .-f4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
