	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CountOtherDBBackends           ## -- Begin function CountOtherDBBackends
	.p2align	4, 0x90
_CountOtherDBBackends:                  ## @CountOtherDBBackends
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_procArray@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	xorl	%ebx, %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$100000, %edi                   ## imm = 0x186A0
	callq	_pg_usleep
	movl	-100(%rbp), %ebx                ## 4-byte Reload
	incl	%ebx
	cmpl	$50, %ebx
	je	LBB0_7
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_20 Depth 2
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	$0, (%rax)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	$0, (%rax)
	movq	_ProcArrayLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	cmpl	$0, (%r13)
	jle	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, -100(%rbp)                ## 4-byte Spill
	movq	8(%r13), %rax
	movq	_allProcs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_allPgXact@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r8
	xorl	%esi, %esi
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movq	-120(%rbp), %r9                 ## 8-byte Reload
	movq	-112(%rbp), %r10                ## 8-byte Reload
	movq	_MyProc@GOTPCREL(%rip), %r11
	jmp	LBB0_9
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	incl	(%r9)
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=2
	incq	%rsi
	movslq	(%r13), %rdx
	cmpq	%rdx, %rsi
	jge	LBB0_17
LBB0_9:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rax,%rsi,4), %rbx
	movq	%rbx, %rdi
	shlq	$4, %rdi
	cmpq	%r12, (%rcx,%rdi)
	jne	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	leaq	(%rcx,%rdi), %rdx
	cmpq	(%r11), %rdx
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpl	$0, 8(%rcx,%rdi)
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=2
	incl	(%r10)
	movq	_PROC_IS_AUTOVACUUM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	$1, %r15d
	testl	%edx, (%r8,%rbx,4)
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpl	$9, %r14d
	jg	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=2
	leaq	(%rcx,%rdi), %rdx
	addq	$8, %rdx
	movl	(%rdx), %edx
	movslq	%r14d, %rdi
	incl	%r14d
	movl	%edx, -96(%rbp,%rdi,4)
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_ProcArrayLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%r14d, %r14d
	movq	_SIGTERM@GOTPCREL(%rip), %r15
	jle	LBB0_6
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-96(%rbp,%rbx,4), %edi
	movl	(%r15), %esi
	callq	_kill
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_20
	jmp	LBB0_6
LBB0_2:
	movq	_ProcArrayLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_7:
	movl	$1, %eax
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_5
## %bb.21:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_procArray,8,3                  ## @procArray
	.comm	_ProcArrayLock,4,2              ## @ProcArrayLock
	.comm	_LW_SHARED,4,2                  ## @LW_SHARED
	.comm	_allProcs,8,3                   ## @allProcs
	.comm	_allPgXact,8,3                  ## @allPgXact
	.comm	_MyProc,8,3                     ## @MyProc
	.comm	_PROC_IS_AUTOVACUUM,4,2         ## @PROC_IS_AUTOVACUUM
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_MAXAUTOVACPIDS,4,2             ## @MAXAUTOVACPIDS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CountOtherDBBackends           ; -- Begin function CountOtherDBBackends
	.p2align	2
_CountOtherDBBackends:                  ; @CountOtherDBBackends
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w22, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _procArray@GOTPAGE
Lloh4:
	ldr	x8, [x8, _procArray@GOTPAGEOFF]
Lloh5:
	adrp	x27, _MyProc@GOTPAGE
Lloh6:
	ldr	x27, [x27, _MyProc@GOTPAGEOFF]
Lloh7:
	ldr	x28, [x8]
Lloh8:
	adrp	x25, _SIGTERM@GOTPAGE
Lloh9:
	ldr	x25, [x25, _SIGTERM@GOTPAGEOFF]
Lloh10:
	adrp	x26, _PROC_IS_AUTOVACUUM@GOTPAGE
Lloh11:
	ldr	x26, [x26, _PROC_IS_AUTOVACUUM@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #34464
	movk	w0, #1, lsl #16
	bl	_pg_usleep
	add	w22, w22, #1
	cmp	w22, #50
	b.eq	LBB0_17
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
	bl	_CHECK_FOR_INTERRUPTS
	str	wzr, [x19]
	str	wzr, [x20]
Lloh12:
	adrp	x8, _ProcArrayLock@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ProcArrayLock@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _LW_SHARED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	ldr	w8, [x28]
	cmp	w8, #0
	b.le	LBB0_15
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, #0
	mov	w23, #0
	mov	w24, #0
	ldr	x9, [x28, #8]
Lloh18:
	adrp	x10, _allProcs@GOTPAGE
Lloh19:
	ldr	x10, [x10, _allProcs@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
Lloh21:
	adrp	x11, _allPgXact@GOTPAGE
Lloh22:
	ldr	x11, [x11, _allPgXact@GOTPAGEOFF]
Lloh23:
	ldr	x11, [x11]
	mov	x16, sp
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	w12, [x19]
	add	w12, w12, #1
	str	w12, [x19]
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	w24, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x8, x8, #1
	ldrsw	x12, [x28]
	cmp	x8, x12
	b.ge	LBB0_11
LBB0_7:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x13, [x9, x8, lsl #2]
	add	x12, x10, x13, lsl #4
	ldr	x14, [x12]
	ldr	x15, [x27]
	cmp	x14, x21
	ccmp	x12, x15, #4, eq
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w14, [x12, #8]!
	cbz	w14, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w14, [x20]
	add	w14, w14, #1
	str	w14, [x20]
	ldr	w13, [x11, x13, lsl #2]
	ldr	w14, [x26]
	and	w13, w14, w13
	cmp	w13, #0
	ccmp	w23, #9, #0, ne
	b.gt	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	w12, [x12]
	str	w12, [x16, w23, sxtw #2]
	add	w23, w23, #1
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh24:
	adrp	x8, _ProcArrayLock@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ProcArrayLock@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_LWLockRelease
	cbz	w24, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, #1
	b.lt	LBB0_1
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w23, w23
	mov	x24, sp
LBB0_14:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x24], #4
	ldr	w1, [x25]
	bl	_kill
	subs	x23, x23, #1
	b.ne	LBB0_14
	b	LBB0_1
LBB0_15:
Lloh27:
	adrp	x8, _ProcArrayLock@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ProcArrayLock@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_LWLockRelease
LBB0_16:
	mov	w0, #0
	b	LBB0_18
LBB0_17:
	mov	w0, #1
LBB0_18:
	ldr	x8, [sp, #40]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_procArray,8,3                  ; @procArray
	.comm	_ProcArrayLock,4,2              ; @ProcArrayLock
	.comm	_LW_SHARED,4,2                  ; @LW_SHARED
	.comm	_allProcs,8,3                   ; @allProcs
	.comm	_allPgXact,8,3                  ; @allPgXact
	.comm	_MyProc,8,3                     ; @MyProc
	.comm	_PROC_IS_AUTOVACUUM,4,2         ; @PROC_IS_AUTOVACUUM
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_MAXAUTOVACPIDS,4,2             ; @MAXAUTOVACPIDS
.subsections_via_symbols
