	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function canAcceptConnections
_canAcceptConnections:                  ## @canAcceptConnections
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_CAC_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_pmState@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PM_RUN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.1:
	movq	_BACKEND_TYPE_BGWORKER@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	_PM_WAIT_BACKUP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	movq	_CAC_WAITBACKUP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_4:
	movq	_BACKEND_TYPE_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CountChildren
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_MaxLivePostmasterChildren
	cmpq	%rax, %rbx
	jl	LBB0_15
## %bb.5:
	movq	_CAC_TOOMANY@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_6:
	movq	_Shutdown@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_NoShutdown@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jle	LBB0_8
## %bb.7:
	movq	_CAC_SHUTDOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_8:
	movq	_FatalError@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_9
LBB0_13:
	movq	_CAC_RECOVERY@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_9:
	movq	_PM_STARTUP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.10:
	movq	_PM_RECOVERY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.12:
	movq	_PM_HOT_STANDBY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
	jmp	LBB0_13
LBB0_11:
	movq	_CAC_STARTUP@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %r14d
LBB0_15:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CAC_OK,4,2                     ## @CAC_OK
	.comm	_pmState,8,3                    ## @pmState
	.comm	_PM_RUN,8,3                     ## @PM_RUN
	.comm	_BACKEND_TYPE_BGWORKER,4,2      ## @BACKEND_TYPE_BGWORKER
	.comm	_PM_WAIT_BACKUP,8,3             ## @PM_WAIT_BACKUP
	.comm	_CAC_WAITBACKUP,4,2             ## @CAC_WAITBACKUP
	.comm	_Shutdown,8,3                   ## @Shutdown
	.comm	_NoShutdown,8,3                 ## @NoShutdown
	.comm	_CAC_SHUTDOWN,4,2               ## @CAC_SHUTDOWN
	.comm	_FatalError,4,2                 ## @FatalError
	.comm	_PM_STARTUP,8,3                 ## @PM_STARTUP
	.comm	_PM_RECOVERY,8,3                ## @PM_RECOVERY
	.comm	_CAC_STARTUP,4,2                ## @CAC_STARTUP
	.comm	_PM_HOT_STANDBY,8,3             ## @PM_HOT_STANDBY
	.comm	_CAC_RECOVERY,4,2               ## @CAC_RECOVERY
	.comm	_BACKEND_TYPE_ALL,4,2           ## @BACKEND_TYPE_ALL
	.comm	_CAC_TOOMANY,4,2                ## @CAC_TOOMANY
	.no_dead_strip	_canAcceptConnections
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function canAcceptConnections
_canAcceptConnections:                  ; @canAcceptConnections
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _CAC_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAC_OK@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _pmState@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pmState@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _PM_RUN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PM_RUN@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _BACKEND_TYPE_BGWORKER@GOTPAGE
Lloh10:
	ldr	x10, [x10, _BACKEND_TYPE_BGWORKER@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	x8, x9
	ccmp	w10, w0, #4, ne
	b.eq	LBB0_3
; %bb.1:
Lloh12:
	adrp	x9, _PM_WAIT_BACKUP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PM_WAIT_BACKUP@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
Lloh15:
	adrp	x8, _CAC_WAITBACKUP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CAC_WAITBACKUP@GOTPAGEOFF]
Lloh17:
	ldr	w20, [x8]
LBB0_3:
Lloh18:
	adrp	x8, _BACKEND_TYPE_ALL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BACKEND_TYPE_ALL@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_CountChildren
	mov	x19, x0
	bl	_MaxLivePostmasterChildren
Lloh21:
	adrp	x8, _CAC_TOOMANY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CAC_TOOMANY@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	x19, x0
	csel	w0, w20, w8, lt
	b	LBB0_11
LBB0_4:
Lloh24:
	adrp	x9, _Shutdown@GOTPAGE
Lloh25:
	ldr	x9, [x9, _Shutdown@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
Lloh27:
	adrp	x10, _NoShutdown@GOTPAGE
Lloh28:
	ldr	x10, [x10, _NoShutdown@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x10]
	cmp	x9, x10
	b.le	LBB0_6
; %bb.5:
Lloh30:
	adrp	x8, _CAC_SHUTDOWN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CAC_SHUTDOWN@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh32:
	adrp	x9, _FatalError@GOTPAGE
Lloh33:
	ldr	x9, [x9, _FatalError@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	cbz	w9, LBB0_8
LBB0_7:
Lloh35:
	adrp	x8, _CAC_RECOVERY@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CAC_RECOVERY@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh37:
	adrp	x9, _PM_STARTUP@GOTPAGE
Lloh38:
	ldr	x9, [x9, _PM_STARTUP@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
Lloh40:
	adrp	x10, _PM_RECOVERY@GOTPAGE
Lloh41:
	ldr	x10, [x10, _PM_RECOVERY@GOTPAGEOFF]
Lloh42:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_12
; %bb.9:
Lloh43:
	adrp	x8, _CAC_STARTUP@GOTPAGE
Lloh44:
	ldr	x8, [x8, _CAC_STARTUP@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh45:
	adrp	x9, _PM_HOT_STANDBY@GOTPAGE
Lloh46:
	ldr	x9, [x9, _PM_HOT_STANDBY@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_CAC_OK,4,2                     ; @CAC_OK
	.comm	_pmState,8,3                    ; @pmState
	.comm	_PM_RUN,8,3                     ; @PM_RUN
	.comm	_BACKEND_TYPE_BGWORKER,4,2      ; @BACKEND_TYPE_BGWORKER
	.comm	_PM_WAIT_BACKUP,8,3             ; @PM_WAIT_BACKUP
	.comm	_CAC_WAITBACKUP,4,2             ; @CAC_WAITBACKUP
	.comm	_Shutdown,8,3                   ; @Shutdown
	.comm	_NoShutdown,8,3                 ; @NoShutdown
	.comm	_CAC_SHUTDOWN,4,2               ; @CAC_SHUTDOWN
	.comm	_FatalError,4,2                 ; @FatalError
	.comm	_PM_STARTUP,8,3                 ; @PM_STARTUP
	.comm	_PM_RECOVERY,8,3                ; @PM_RECOVERY
	.comm	_CAC_STARTUP,4,2                ; @CAC_STARTUP
	.comm	_PM_HOT_STANDBY,8,3             ; @PM_HOT_STANDBY
	.comm	_CAC_RECOVERY,4,2               ; @CAC_RECOVERY
	.comm	_BACKEND_TYPE_ALL,4,2           ; @BACKEND_TYPE_ALL
	.comm	_CAC_TOOMANY,4,2                ; @CAC_TOOMANY
	.no_dead_strip	_canAcceptConnections
.subsections_via_symbols
