	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitAuxiliaryProcess           ## -- Begin function InitAuxiliaryProcess
	.p2align	4, 0x90
_InitAuxiliaryProcess:                  ## @InitAuxiliaryProcess
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ProcGlobal@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	movq	_AuxiliaryProcs@GOTPCREL(%rip), %r13
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%r13)
	jne	LBB0_3
LBB0_2:
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_3:
	movq	_MyProc@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_5:
	movq	_ProcStructLock@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_SpinLockAcquire
	movq	(%r15), %rax
	movl	8(%rax), %edi
	callq	_set_spins_per_delay
	movq	_NUM_AUXILIARY_PROCS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jle	LBB0_6
## %bb.7:
	movq	(%r13), %rax
	leal	-1(%rbx), %ecx
	leaq	(%rcx,%rcx,8), %r13
	shlq	$4, %r13
	addq	%rax, %r13
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rcx
	addq	$144, %rax
	cmpq	%rcx, %rbx
	jne	LBB0_8
	jmp	LBB0_10
LBB0_6:
	xorl	%ebx, %ebx
                                        ## implicit-def: $r13
LBB0_10:
	movl	(%r12), %edi
	callq	_SpinLockRelease
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_elog
	movq	%r13, %rax
	jmp	LBB0_12
LBB0_11:
	movl	%ecx, %ebx
LBB0_12:
	movq	_MyProcPid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	%rax, (%r14)
	movq	(%r15), %rcx
	movq	8(%rax), %rax
	shlq	$5, %rax
	addq	(%rcx), %rax
	movq	_MyPgXact@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	movl	(%r12), %edi
	callq	_SpinLockRelease
	movl	$140, %edi
	addq	(%r14), %rdi
	callq	_SHMQueueElemInit
	movq	_STATUS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r14), %rax
	movl	%ecx, 136(%rax)
	movq	_InvalidLocalTransactionId@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 128(%rax)
	movl	$0, 16(%rax)
	movq	%rcx, 120(%rax)
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r15), %rdx
	movq	%rcx, 24(%rdx)
	movq	%rcx, 16(%rdx)
	movq	_InvalidBackendId@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 112(%rax)
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 104(%rax)
	movq	%rcx, 96(%rax)
	movq	%rcx, 88(%rax)
	movq	_IsBackgroundWorker@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 80(%rax)
	movl	$0, (%rdx)
	movq	$0, 8(%rdx)
	movl	$0, 20(%rax)
	leaq	40(%rax), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rax)
	movq	$0, 72(%rax)
	callq	_OwnLatch
	xorl	%eax, %eax
	callq	_SwitchToSharedLatch
	movq	(%r14), %rax
	xorl	%edi, %edi
	cmpq	$0, 32(%rax)
	sete	%dil
	callq	_Assert
	movq	(%r14), %rdi
	addq	$28, %rdi
	callq	_dlist_is_empty
	movl	%eax, %edi
	callq	_Assert
	movq	(%r14), %rax
	movl	24(%rax), %edi
	callq	_PGSemaphoreReset
	movq	_AuxiliaryProcKill@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_Int32GetDatum
	movl	%r14d, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_on_shmem_exit                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ProcGlobal,8,3                 ## @ProcGlobal
	.comm	_AuxiliaryProcs,8,3             ## @AuxiliaryProcs
	.comm	_PANIC,4,2                      ## @PANIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"proc header uninitialized"

	.comm	_MyProc,8,3                     ## @MyProc
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"you already exist"

	.comm	_ProcStructLock,4,2             ## @ProcStructLock
	.comm	_NUM_AUXILIARY_PROCS,4,2        ## @NUM_AUXILIARY_PROCS
	.comm	_FATAL,4,2                      ## @FATAL
L_.str.2:                               ## @.str.2
	.asciz	"all AuxiliaryProcs are in use"

	.comm	_MyProcPid,8,3                  ## @MyProcPid
	.comm	_MyPgXact,8,3                   ## @MyPgXact
	.comm	_STATUS_OK,4,2                  ## @STATUS_OK
	.comm	_InvalidLocalTransactionId,8,3  ## @InvalidLocalTransactionId
	.comm	_InvalidTransactionId,8,3       ## @InvalidTransactionId
	.comm	_InvalidBackendId,4,2           ## @InvalidBackendId
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_IsBackgroundWorker,4,2         ## @IsBackgroundWorker
	.comm	_AuxiliaryProcKill,4,2          ## @AuxiliaryProcKill
	.comm	_NUM_LOCK_PARTITIONS,4,2        ## @NUM_LOCK_PARTITIONS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitAuxiliaryProcess           ; -- Begin function InitAuxiliaryProcess
	.p2align	2
_InitAuxiliaryProcess:                  ; @InitAuxiliaryProcess
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x21, _ProcGlobal@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ProcGlobal@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x23, _AuxiliaryProcs@GOTPAGE
Lloh3:
	ldr	x23, [x23, _AuxiliaryProcs@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _PANIC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
Lloh9:
	adrp	x20, _MyProc@GOTPAGE
Lloh10:
	ldr	x20, [x20, _MyProc@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_4:
Lloh16:
	adrp	x22, _ProcStructLock@GOTPAGE
Lloh17:
	ldr	x22, [x22, _ProcStructLock@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_SpinLockAcquire
	ldr	x8, [x21]
	ldr	w0, [x8, #8]
	bl	_set_spins_per_delay
Lloh18:
	adrp	x8, _NUM_AUXILIARY_PROCS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NUM_AUXILIARY_PROCS@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x8]
	subs	w10, w19, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x9, #0
	ldr	x8, [x23]
	mov	w11, #144
	umaddl	x23, w10, w11, x8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	cbz	x10, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #1
	add	x8, x8, #144
	cmp	x19, x9
	b.ne	LBB0_6
	b	LBB0_9
LBB0_8:
	mov	w19, #0
                                        ; implicit-def: $x23
LBB0_9:
	ldr	w0, [x22]
	bl	_SpinLockRelease
Lloh21:
	adrp	x8, _FATAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_elog
	mov	x8, x23
	b	LBB0_11
LBB0_10:
	mov	x19, x9
LBB0_11:
Lloh26:
	adrp	x9, _MyProcPid@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MyProcPid@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	str	x9, [x8]
	str	x8, [x20]
	ldr	x9, [x21]
	ldr	x9, [x9]
	ldr	x8, [x8, #8]
	add	x8, x9, x8, lsl #5
Lloh29:
	adrp	x21, _MyPgXact@GOTPAGE
Lloh30:
	ldr	x21, [x21, _MyPgXact@GOTPAGEOFF]
	str	x8, [x21]
	ldr	w0, [x22]
	bl	_SpinLockRelease
	ldr	x8, [x20]
	add	x0, x8, #140
	bl	_SHMQueueElemInit
Lloh31:
	adrp	x8, _STATUS_OK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _STATUS_OK@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	ldr	x9, [x20]
	str	w8, [x9, #136]
Lloh34:
	adrp	x8, _InvalidLocalTransactionId@GOTPAGE
Lloh35:
	ldr	x8, [x8, _InvalidLocalTransactionId@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	stp	x8, x8, [x9, #120]
Lloh37:
	adrp	x8, _InvalidBackendId@GOTPAGE
Lloh38:
	ldr	x8, [x8, _InvalidBackendId@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	str	w8, [x9, #112]
Lloh40:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh41:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	stp	x8, x8, [x9, #96]
	str	x8, [x9, #88]
Lloh43:
	adrp	x8, _IsBackgroundWorker@GOTPAGE
Lloh44:
	ldr	x8, [x8, _IsBackgroundWorker@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	str	w8, [x9, #80]
Lloh46:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh47:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	ldr	x10, [x21]
	stp	x8, x8, [x10, #16]
	str	wzr, [x10]
	str	xzr, [x10, #8]
	str	xzr, [x9, #16]
	add	x0, x9, #40
	stp	xzr, xzr, [x9, #64]
	str	xzr, [x9, #56]
	bl	_OwnLatch
	bl	_SwitchToSharedLatch
	ldr	x8, [x20]
	ldr	x8, [x8, #32]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x20]
	add	x0, x8, #28
	bl	_dlist_is_empty
	bl	_Assert
	ldr	x8, [x20]
	ldr	w0, [x8, #24]
	bl	_PGSemaphoreReset
Lloh49:
	adrp	x8, _AuxiliaryProcKill@GOTPAGE
Lloh50:
	ldr	x8, [x8, _AuxiliaryProcKill@GOTPAGEOFF]
Lloh51:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_Int32GetDatum
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_on_shmem_exit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ProcGlobal,8,3                 ; @ProcGlobal
	.comm	_AuxiliaryProcs,8,3             ; @AuxiliaryProcs
	.comm	_PANIC,4,2                      ; @PANIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"proc header uninitialized"

	.comm	_MyProc,8,3                     ; @MyProc
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"you already exist"

	.comm	_ProcStructLock,4,2             ; @ProcStructLock
	.comm	_NUM_AUXILIARY_PROCS,4,2        ; @NUM_AUXILIARY_PROCS
	.comm	_FATAL,4,2                      ; @FATAL
l_.str.2:                               ; @.str.2
	.asciz	"all AuxiliaryProcs are in use"

	.comm	_MyProcPid,8,3                  ; @MyProcPid
	.comm	_MyPgXact,8,3                   ; @MyPgXact
	.comm	_STATUS_OK,4,2                  ; @STATUS_OK
	.comm	_InvalidLocalTransactionId,8,3  ; @InvalidLocalTransactionId
	.comm	_InvalidTransactionId,8,3       ; @InvalidTransactionId
	.comm	_InvalidBackendId,4,2           ; @InvalidBackendId
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_IsBackgroundWorker,4,2         ; @IsBackgroundWorker
	.comm	_AuxiliaryProcKill,4,2          ; @AuxiliaryProcKill
	.comm	_NUM_LOCK_PARTITIONS,4,2        ; @NUM_LOCK_PARTITIONS
.subsections_via_symbols
