	.file	"extr_sync.c_InitSync.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Pending ops context"
.LC1:
	.string	"Pending Ops Table"
	.text
	.p2align 4
	.globl	InitSync
	.type	InitSync, @function
InitSync:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR IsUnderPostmaster[rip]
	test	eax, eax
	je	.L4
	xor	eax, eax
	call	AmStartupProcess@PLT
	test	rax, rax
	je	.L8
.L4:
	mov	edx, DWORD PTR ALLOCSET_DEFAULT_SIZES[rip]
	mov	edi, DWORD PTR TopMemoryContext[rip]
	lea	r12, 12[rsp]
	lea	rsi, .LC0[rip]
	call	AllocSetContextCreate@PLT
	mov	esi, 1
	mov	edi, eax
	mov	DWORD PTR pendingOpsCxt[rip], eax
	call	MemoryContextAllowInCriticalSection@PLT
	mov	edx, 12
	xor	esi, esi
	mov	rdi, r12
	call	MemSet@PLT
	mov	ecx, DWORD PTR HASH_ELEM[rip]
	mov	rdx, r12
	movabs	rax, 17179869188
	mov	QWORD PTR 12[rsp], rax
	mov	eax, DWORD PTR pendingOpsCxt[rip]
	mov	esi, 100
	lea	rdi, .LC1[rip]
	or	ecx, DWORD PTR HASH_BLOBS[rip]
	or	ecx, DWORD PTR HASH_CONTEXT[rip]
	mov	DWORD PTR 20[rsp], eax
	call	hash_create@PLT
	mov	DWORD PTR pendingOps[rip], eax
	mov	eax, DWORD PTR NIL[rip]
	mov	DWORD PTR pendingUnlinks[rip], eax
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	call	AmCheckpointerProcess@PLT
	test	rax, rax
	jne	.L4
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	InitSync, .-InitSync
	.comm	pendingUnlinks,4,4
	.comm	pendingOpsCxt,4,4
	.comm	pendingOps,4,4
	.comm	TopMemoryContext,4,4
	.comm	NIL,4,4
	.comm	IsUnderPostmaster,4,4
	.comm	HASH_ELEM,4,4
	.comm	HASH_CONTEXT,4,4
	.comm	HASH_BLOBS,4,4
	.comm	ALLOCSET_DEFAULT_SIZES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sync.c_InitSync.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Pending ops context\000"
	.align	2
.LC1:
	.ascii	"Pending Ops Table\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	InitSync
	.syntax unified
	.arm
	.fpu softvfp
	.type	InitSync, %function
InitSync:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L10
	ldr	r2, .L10+4
	ldr	r3, [r3]
	sub	sp, sp, #16
	cmp	r3, #0
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	beq	.L4
	bl	AmStartupProcess
	cmp	r0, #0
	beq	.L8
.L4:
	ldr	r3, .L10+8
	ldr	r2, .L10+12
	ldr	r0, [r3]
	ldr	r2, [r2]
	ldr	r1, .L10+16
	bl	AllocSetContextCreate
	ldr	r4, .L10+20
	mov	r1, #1
	str	r0, [r4]
	bl	MemoryContextAllowInCriticalSection
	mov	r2, #12
	mov	r1, #0
	mov	r0, sp
	bl	MemSet
	mov	ip, #4
	ldr	r2, .L10+24
	ldr	r3, .L10+28
	ldr	r1, .L10+32
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	lr, [r4]
	orr	r3, r2, r3
	orr	r3, r3, r1
	mov	r2, sp
	mov	r1, #100
	ldr	r0, .L10+36
	str	lr, [sp, #8]
	str	ip, [sp]
	str	ip, [sp, #4]
	bl	hash_create
	ldr	r3, .L10+40
	ldr	r1, .L10+44
	ldr	r2, [r3]
	ldr	r3, .L10+48
	str	r0, [r1]
	str	r2, [r3]
.L1:
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L8:
	bl	AmCheckpointerProcess
	cmp	r0, #0
	bne	.L4
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	IsUnderPostmaster
	.word	.LC2
	.word	TopMemoryContext
	.word	ALLOCSET_DEFAULT_SIZES
	.word	.LC0
	.word	pendingOpsCxt
	.word	HASH_ELEM
	.word	HASH_BLOBS
	.word	HASH_CONTEXT
	.word	.LC1
	.word	NIL
	.word	pendingOps
	.word	pendingUnlinks
	.size	InitSync, .-InitSync
	.comm	pendingUnlinks,4,4
	.comm	pendingOpsCxt,4,4
	.comm	pendingOps,4,4
	.comm	TopMemoryContext,4,4
	.comm	NIL,4,4
	.comm	IsUnderPostmaster,4,4
	.comm	HASH_ELEM,4,4
	.comm	HASH_CONTEXT,4,4
	.comm	HASH_BLOBS,4,4
	.comm	ALLOCSET_DEFAULT_SIZES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
