	.file	"355068.c"
	.intel_syntax noprefix
	.text
	.globl	index_out
	.bss
	.align 4
	.type	index_out, @object
	.size	index_out, 4
index_out:
	.zero	4
	.globl	mystring
	.align 32
	.type	mystring, @object
	.size	mystring, 200
mystring:
	.zero	200
	.globl	gSyncVar_0
	.align 4
	.type	gSyncVar_0, @object
	.size	gSyncVar_0, 4
gSyncVar_0:
	.zero	4
	.globl	gSyncVar_1
	.align 4
	.type	gSyncVar_1, @object
	.size	gSyncVar_1, 4
gSyncVar_1:
	.zero	4
	.globl	gSyncVar_2
	.align 4
	.type	gSyncVar_2, @object
	.size	gSyncVar_2, 4
gSyncVar_2:
	.zero	4
	.globl	gSyncVarsTotalNum
	.align 4
	.type	gSyncVarsTotalNum, @object
	.size	gSyncVarsTotalNum, 4
gSyncVarsTotalNum:
	.zero	4
	.globl	switches
	.align 8
	.type	switches, @object
	.size	switches, 10
switches:
	.zero	10
	.globl	counter0
	.align 4
	.type	counter0, @object
	.size	counter0, 4
counter0:
	.zero	4
	.globl	counter1
	.align 4
	.type	counter1, @object
	.size	counter1, 4
counter1:
	.zero	4
	.globl	syncID
	.align 32
	.type	syncID, @object
	.size	syncID, 40
syncID:
	.zero	40
	.globl	firstSync
	.data
	.type	firstSync, @object
	.size	firstSync, 1
firstSync:
	.byte	1
	.text
	.globl	DeriveInvariant
	.type	DeriveInvariant, @function
DeriveInvariant:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	DeriveInvariant, .-DeriveInvariant
	.globl	CheckInvariant
	.type	CheckInvariant, @function
CheckInvariant:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	CheckInvariant, .-CheckInvariant
	.globl	RecordSyncVariable
	.type	RecordSyncVariable, @function
RecordSyncVariable:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	RecordSyncVariable, .-RecordSyncVariable
	.globl	printX
	.type	printX, @function
printX:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR index_out[rip]
	cdqe
	lea	rdx, mystring[rip]
	mov	BYTE PTR [rax+rdx], 88
	mov	eax, DWORD PTR index_out[rip]
	add	eax, 1
	mov	DWORD PTR index_out[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	printX, .-printX
	.globl	appendY
	.type	appendY, @function
appendY:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR index_out[rip]
	cdqe
	lea	rdx, mystring[rip]
	mov	BYTE PTR [rax+rdx], 89
	mov	eax, DWORD PTR index_out[rip]
	add	eax, 1
	mov	DWORD PTR index_out[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	appendY, .-appendY
	.globl	printY
	.type	printY, @function
printY:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	appendY
	call	DecrementCounter
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	printY, .-printY
	.globl	flushAll
	.type	flushAll, @function
flushAll:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR index_out[rip]
	cdqe
	lea	rdx, mystring[rip]
	mov	BYTE PTR [rax+rdx], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	flushAll, .-flushAll
	.globl	printChar
	.type	printChar, @function
printChar:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	mov	eax, DWORD PTR index_out[rip]
	cdqe
	lea	rcx, mystring[rip]
	movzx	edx, BYTE PTR -4[rbp]
	mov	BYTE PTR [rax+rcx], dl
	mov	eax, DWORD PTR index_out[rip]
	add	eax, 1
	mov	DWORD PTR index_out[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	printChar, .-printChar
	.globl	waitForAll
	.type	waitForAll, @function
waitForAll:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	pthread_join@PLT
	mov	eax, 0
	call	flushAll
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	waitForAll, .-waitForAll
	.globl	snapshot
	.type	snapshot, @function
snapshot:
.LFB9:
	.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	eax, 0
	call	pthread_self@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, switches[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	je	.L17
	cmp	DWORD PTR -24[rbp], 2
	je	.L12
	cmp	DWORD PTR -24[rbp], 2
	jg	.L18
	cmp	DWORD PTR -24[rbp], 0
	je	.L14
	cmp	DWORD PTR -24[rbp], 1
	je	.L15
	jmp	.L18
.L14:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR gSyncVar_0[rip], eax
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR gSyncVar_1[rip], eax
	jmp	.L16
.L12:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR gSyncVar_2[rip], eax
.L18:
	nop
.L16:
	mov	eax, DWORD PTR gSyncVarsTotalNum[rip]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L17
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR gSyncVarsTotalNum[rip], eax
.L17:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	snapshot, .-snapshot
	.globl	snapshot64
	.type	snapshot64, @function
snapshot64:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	mov	edi, edx
	call	snapshot
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	snapshot64, .-snapshot64
	.globl	InitializeSwitchesAndCounter
	.type	InitializeSwitchesAndCounter, @function
InitializeSwitchesAndCounter:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	InitializeSwitchesAndCounter, .-InitializeSwitchesAndCounter
	.globl	IncrementCounter
	.type	IncrementCounter, @function
IncrementCounter:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, 0
	call	pthread_self@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, syncID[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L22
	mov	eax, DWORD PTR counter0[rip]
	add	eax, 1
	mov	DWORD PTR counter0[rip], eax
	mov	eax, DWORD PTR counter0[rip]
	cmp	eax, 1
	jne	.L23
	call	CheckInvariant
.L23:
	movzx	eax, BYTE PTR firstSync[rip]
	test	al, al
	je	.L27
	mov	DWORD PTR -8[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, switches[rip]
	mov	BYTE PTR [rax+rdx], 1
	add	DWORD PTR -8[rbp], 1
.L25:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L26
	mov	BYTE PTR firstSync[rip], 0
	jmp	.L27
.L22:
	mov	eax, DWORD PTR counter1[rip]
	add	eax, 1
	mov	DWORD PTR counter1[rip], eax
	mov	eax, DWORD PTR counter1[rip]
	cmp	eax, 1
	jne	.L27
	call	CheckInvariant
.L27:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	IncrementCounter, .-IncrementCounter
	.globl	DecrementCounter
	.type	DecrementCounter, @function
DecrementCounter:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, 0
	call	pthread_self@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, switches[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, syncID[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L29
	mov	eax, DWORD PTR counter0[rip]
	sub	eax, 1
	mov	DWORD PTR counter0[rip], eax
	mov	eax, DWORD PTR counter0[rip]
	test	eax, eax
	jne	.L30
	mov	DWORD PTR -12[rbp], 0
	jmp	.L31
.L32:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, switches[rip]
	mov	BYTE PTR [rax+rdx], 1
	add	DWORD PTR -12[rbp], 1
.L31:
	cmp	DWORD PTR -12[rbp], 9
	jle	.L32
.L30:
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, syncID[rip]
	mov	DWORD PTR [rdx+rax], 1
	jmp	.L37
.L29:
	mov	eax, DWORD PTR counter1[rip]
	sub	eax, 1
	mov	DWORD PTR counter1[rip], eax
	mov	eax, DWORD PTR counter1[rip]
	test	eax, eax
	jne	.L34
	mov	DWORD PTR -8[rbp], 0
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, switches[rip]
	mov	BYTE PTR [rax+rdx], 1
	add	DWORD PTR -8[rbp], 1
.L35:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L36
.L34:
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, syncID[rip]
	mov	DWORD PTR [rdx+rax], 0
.L37:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	DecrementCounter, .-DecrementCounter
	.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	"355068.c"
	.text
	.global	index_out
	.bss
	.align	2
	.type	index_out, %object
	.size	index_out, 4
index_out:
	.space	4
	.comm	mystring,200,4
	.global	gSyncVar_0
	.align	2
	.type	gSyncVar_0, %object
	.size	gSyncVar_0, 4
gSyncVar_0:
	.space	4
	.global	gSyncVar_1
	.align	2
	.type	gSyncVar_1, %object
	.size	gSyncVar_1, 4
gSyncVar_1:
	.space	4
	.global	gSyncVar_2
	.align	2
	.type	gSyncVar_2, %object
	.size	gSyncVar_2, 4
gSyncVar_2:
	.space	4
	.global	gSyncVarsTotalNum
	.align	2
	.type	gSyncVarsTotalNum, %object
	.size	gSyncVarsTotalNum, 4
gSyncVarsTotalNum:
	.space	4
	.comm	switches,10,4
	.global	counter0
	.align	2
	.type	counter0, %object
	.size	counter0, 4
counter0:
	.space	4
	.global	counter1
	.align	2
	.type	counter1, %object
	.size	counter1, 4
counter1:
	.space	4
	.comm	syncID,40,4
	.global	firstSync
	.data
	.type	firstSync, %object
	.size	firstSync, 1
firstSync:
	.byte	1
	.text
	.align	2
	.global	DeriveInvariant
	.syntax unified
	.arm
	.fpu softvfp
	.type	DeriveInvariant, %function
DeriveInvariant:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	DeriveInvariant, .-DeriveInvariant
	.align	2
	.global	CheckInvariant
	.syntax unified
	.arm
	.fpu softvfp
	.type	CheckInvariant, %function
CheckInvariant:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	CheckInvariant, .-CheckInvariant
	.align	2
	.global	RecordSyncVariable
	.syntax unified
	.arm
	.fpu softvfp
	.type	RecordSyncVariable, %function
RecordSyncVariable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	RecordSyncVariable, .-RecordSyncVariable
	.align	2
	.global	printX
	.syntax unified
	.arm
	.fpu softvfp
	.type	printX, %function
printX:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L5
	ldr	r3, [r3]
	ldr	r2, .L5+4
	mov	r1, #88
	strb	r1, [r2, r3]
	ldr	r3, .L5
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L5
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L6:
	.align	2
.L5:
	.word	index_out
	.word	mystring
	.size	printX, .-printX
	.align	2
	.global	appendY
	.syntax unified
	.arm
	.fpu softvfp
	.type	appendY, %function
appendY:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L8
	ldr	r3, [r3]
	ldr	r2, .L8+4
	mov	r1, #89
	strb	r1, [r2, r3]
	ldr	r3, .L8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	index_out
	.word	mystring
	.size	appendY, .-appendY
	.align	2
	.global	printY
	.syntax unified
	.arm
	.fpu softvfp
	.type	printY, %function
printY:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	appendY
	bl	DecrementCounter
	nop
	pop	{fp, pc}
	.size	printY, .-printY
	.align	2
	.global	flushAll
	.syntax unified
	.arm
	.fpu softvfp
	.type	flushAll, %function
flushAll:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L12
	ldr	r3, [r3]
	ldr	r2, .L12+4
	mov	r1, #0
	strb	r1, [r2, r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L13:
	.align	2
.L12:
	.word	index_out
	.word	mystring
	.size	flushAll, .-flushAll
	.align	2
	.global	printChar
	.syntax unified
	.arm
	.fpu softvfp
	.type	printChar, %function
printChar:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r1, .L15+4
	ldrb	r2, [fp, #-5]
	strb	r2, [r1, r3]
	ldr	r3, .L15
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L15
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	index_out
	.word	mystring
	.size	printChar, .-printChar
	.align	2
	.global	waitForAll
	.syntax unified
	.arm
	.fpu softvfp
	.type	waitForAll, %function
waitForAll:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #0
	mov	r0, #0
	bl	pthread_join
	bl	flushAll
	nop
	pop	{fp, pc}
	.size	waitForAll, .-waitForAll
	.align	2
	.global	snapshot
	.syntax unified
	.arm
	.fpu softvfp
	.type	snapshot, %function
snapshot:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	bl	pthread_self
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r2, .L27
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	beq	.L20
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bgt	.L26
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	beq	.L23
	b	.L26
.L22:
	ldr	r2, .L27+4
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	b	.L24
.L23:
	ldr	r2, .L27+8
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	b	.L24
.L20:
	ldr	r2, .L27+12
	ldr	r3, [fp, #-16]
	str	r3, [r2]
.L26:
	nop
.L24:
	ldr	r3, .L27+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L25
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r2, .L27+16
	str	r3, [r2]
.L25:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	switches
	.word	gSyncVar_0
	.word	gSyncVar_1
	.word	gSyncVar_2
	.word	gSyncVarsTotalNum
	.size	snapshot, .-snapshot
	.align	2
	.global	snapshot64
	.syntax unified
	.arm
	.fpu softvfp
	.type	snapshot64, %function
snapshot64:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	snapshot
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	snapshot64, .-snapshot64
	.align	2
	.global	InitializeSwitchesAndCounter
	.syntax unified
	.arm
	.fpu softvfp
	.type	InitializeSwitchesAndCounter, %function
InitializeSwitchesAndCounter:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	InitializeSwitchesAndCounter, .-InitializeSwitchesAndCounter
	.align	2
	.global	IncrementCounter
	.syntax unified
	.arm
	.fpu softvfp
	.type	IncrementCounter, %function
IncrementCounter:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	pthread_self
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r2, .L38
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L32
	ldr	r3, .L38+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L38+4
	str	r3, [r2]
	ldr	r3, .L38+4
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L33
	bl	CheckInvariant
.L33:
	ldr	r3, .L38+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L37
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L35
.L36:
	ldr	r2, .L38+12
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L35:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L36
	ldr	r3, .L38+8
	mov	r2, #0
	strb	r2, [r3]
	b	.L37
.L32:
	ldr	r3, .L38+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L38+16
	str	r3, [r2]
	ldr	r3, .L38+16
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L37
	bl	CheckInvariant
.L37:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	syncID
	.word	counter0
	.word	firstSync
	.word	switches
	.word	counter1
	.size	IncrementCounter, .-IncrementCounter
	.align	2
	.global	DecrementCounter
	.syntax unified
	.arm
	.fpu softvfp
	.type	DecrementCounter, %function
DecrementCounter:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	bl	pthread_self
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r2, .L50
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r2, .L50+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L41
	ldr	r3, .L50+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L50+8
	str	r3, [r2]
	ldr	r3, .L50+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L42
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L43
.L44:
	ldr	r2, .L50
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L43:
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	ble	.L44
.L42:
	ldr	r2, .L50+4
	ldr	r3, [fp, #-8]
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	b	.L49
.L41:
	ldr	r3, .L50+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L50+12
	str	r3, [r2]
	ldr	r3, .L50+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L46
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L47
.L48:
	ldr	r2, .L50
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L47:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L48
.L46:
	ldr	r2, .L50+4
	ldr	r3, [fp, #-8]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L49:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	switches
	.word	syncID
	.word	counter0
	.word	counter1
	.size	DecrementCounter, .-DecrementCounter
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
