	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitializeMaxBackends          ## -- Begin function InitializeMaxBackends
	.p2align	4, 0x90
_InitializeMaxBackends:                 ## @InitializeMaxBackends
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_MaxBackends@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_Assert
	movq	_MaxConnections@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_autovacuum_max_workers@GOTPCREL(%rip), %rcx
	movq	_max_worker_processes@GOTPCREL(%rip), %rdx
	movq	_max_wal_senders@GOTPCREL(%rip), %rsi
	addq	(%rcx), %rax
	movq	(%rsi), %rcx
	addq	(%rdx), %rax
	addq	%rcx, %rax
	incq	%rax
	movq	%rax, (%rbx)
	movq	_MAX_BACKENDS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_1
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_elog                           ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MaxBackends,8,3                ## @MaxBackends
	.comm	_MaxConnections,8,3             ## @MaxConnections
	.comm	_autovacuum_max_workers,8,3     ## @autovacuum_max_workers
	.comm	_max_worker_processes,8,3       ## @max_worker_processes
	.comm	_max_wal_senders,8,3            ## @max_wal_senders
	.comm	_MAX_BACKENDS,8,3               ## @MAX_BACKENDS
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many backends configured"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitializeMaxBackends          ; -- Begin function InitializeMaxBackends
	.p2align	2
_InitializeMaxBackends:                 ; @InitializeMaxBackends
	.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	x19, _MaxBackends@GOTPAGE
Lloh1:
	ldr	x19, [x19, _MaxBackends@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
Lloh2:
	adrp	x8, _MaxConnections@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MaxConnections@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _autovacuum_max_workers@GOTPAGE
Lloh6:
	ldr	x9, [x9, _autovacuum_max_workers@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _max_worker_processes@GOTPAGE
Lloh9:
	ldr	x10, [x10, _max_worker_processes@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	adrp	x11, _max_wal_senders@GOTPAGE
Lloh12:
	ldr	x11, [x11, _max_wal_senders@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	add	x8, x8, x9
	add	x8, x8, x10
	add	x8, x8, x11
	add	x8, x8, #1
	str	x8, [x19]
Lloh14:
	adrp	x9, _MAX_BACKENDS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MAX_BACKENDS@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_2
; %bb.1:
Lloh17:
	adrp	x8, _ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_elog
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MaxBackends,8,3                ; @MaxBackends
	.comm	_MaxConnections,8,3             ; @MaxConnections
	.comm	_autovacuum_max_workers,8,3     ; @autovacuum_max_workers
	.comm	_max_worker_processes,8,3       ; @max_worker_processes
	.comm	_max_wal_senders,8,3            ; @max_wal_senders
	.comm	_MAX_BACKENDS,8,3               ; @MAX_BACKENDS
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many backends configured"

.subsections_via_symbols
