	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitSync                       ## -- Begin function InitSync
	.p2align	4, 0x90
_InitSync:                              ## @InitSync
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_IsUnderPostmaster@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_AmStartupProcess
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_AmCheckpointerProcess
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	_TopMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ALLOCSET_DEFAULT_SIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_AllocSetContextCreate
	movq	_pendingOpsCxt@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	movl	%eax, %edi
	movl	$1, %esi
	callq	_MemoryContextAllowInCriticalSection
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_MemSet
	movabsq	$17179869188, %rax              ## imm = 0x400000004
	movq	%rax, -32(%rbp)
	movq	_HASH_ELEM@GOTPCREL(%rip), %rax
	movq	_HASH_BLOBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	(%r14), %eax
	movl	%eax, -24(%rbp)
	movq	_HASH_CONTEXT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rdi
	movl	$100, %esi
	movq	%rbx, %rdx
	callq	_hash_create
	movq	_pendingOps@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_pendingUnlinks@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IsUnderPostmaster,4,2          ## @IsUnderPostmaster
	.comm	_TopMemoryContext,4,2           ## @TopMemoryContext
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Pending ops context"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ## @ALLOCSET_DEFAULT_SIZES
	.comm	_pendingOpsCxt,4,2              ## @pendingOpsCxt
L_.str.1:                               ## @.str.1
	.asciz	"Pending Ops Table"

	.comm	_HASH_ELEM,4,2                  ## @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ## @HASH_BLOBS
	.comm	_HASH_CONTEXT,4,2               ## @HASH_CONTEXT
	.comm	_pendingOps,4,2                 ## @pendingOps
	.comm	_NIL,4,2                        ## @NIL
	.comm	_pendingUnlinks,4,2             ## @pendingUnlinks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitSync                       ; -- Begin function InitSync
	.p2align	2
_InitSync:                              ; @InitSync
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _IsUnderPostmaster@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IsUnderPostmaster@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	bl	_AmStartupProcess
	cbnz	x0, LBB0_3
; %bb.2:
	bl	_AmCheckpointerProcess
	cbz	x0, LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _TopMemoryContext@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TopMemoryContext@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_AllocSetContextCreate
Lloh11:
	adrp	x19, _pendingOpsCxt@GOTPAGE
Lloh12:
	ldr	x19, [x19, _pendingOpsCxt@GOTPAGEOFF]
	str	w0, [x19]
	mov	w1, #1
	bl	_MemoryContextAllowInCriticalSection
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_MemSet
	movi.2s	v0, #4
	str	d0, [sp]
	ldr	w8, [x19]
	str	w8, [sp, #8]
Lloh13:
	adrp	x8, _HASH_ELEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HASH_ELEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _HASH_BLOBS@GOTPAGE
Lloh17:
	ldr	x9, [x9, _HASH_BLOBS@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh19:
	adrp	x9, _HASH_CONTEXT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _HASH_CONTEXT@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w3, w8, w9
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, sp
	mov	w1, #100
	bl	_hash_create
Lloh24:
	adrp	x8, _pendingOps@GOTPAGE
Lloh25:
	ldr	x8, [x8, _pendingOps@GOTPAGEOFF]
Lloh26:
	str	w0, [x8]
Lloh27:
	adrp	x8, _NIL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _pendingUnlinks@GOTPAGE
Lloh31:
	ldr	x9, [x9, _pendingUnlinks@GOTPAGEOFF]
Lloh32:
	str	w8, [x9]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IsUnderPostmaster,4,2          ; @IsUnderPostmaster
	.comm	_TopMemoryContext,4,2           ; @TopMemoryContext
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Pending ops context"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ; @ALLOCSET_DEFAULT_SIZES
	.comm	_pendingOpsCxt,4,2              ; @pendingOpsCxt
l_.str.1:                               ; @.str.1
	.asciz	"Pending Ops Table"

	.comm	_HASH_ELEM,4,2                  ; @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ; @HASH_BLOBS
	.comm	_HASH_CONTEXT,4,2               ; @HASH_CONTEXT
	.comm	_pendingOps,4,2                 ; @pendingOps
	.comm	_NIL,4,2                        ; @NIL
	.comm	_pendingUnlinks,4,2             ; @pendingUnlinks
.subsections_via_symbols
