	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_pctl_on_socket_accept      ## -- Begin function fpm_pctl_on_socket_accept
	.p2align	4, 0x90
_fpm_pctl_on_socket_accept:             ## @fpm_pctl_on_socket_accept
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	_fpm_globals@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	xorl	%eax, %eax
	callq	_getpid
	cmpq	%rax, %rbx
	jne	LBB0_10
## %bb.1:
	movq	$0, 40(%r14)
	movq	(%r14), %rax
	movq	16(%r14), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
## %bb.4:
	movq	24(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_fpm_request_is_idle
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_9
LBB0_6:
	movl	$0, 8(%r14)
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_fpm_children_make
	cmpq	$0, 8(%r15)
	jne	LBB0_10
## %bb.7:
	movq	_ZLOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r14), %rax
	movl	8(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_zlog                           ## TAILCALL
LBB0_2:
	cmpl	$0, 8(%r14)
	jne	LBB0_10
## %bb.3:
	movq	_FPM_SCOREBOARD_ACTION_INC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	32(%r14), %ebx
	subq	$8, %rsp
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	pushq	%rbx
	pushq	%rax
	pushq	$0
	callq	_fpm_scoreboard_update
	addq	$32, %rsp
	movq	_ZLOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r14), %rax
	movl	8(%rax), %edx
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_zlog
	movl	$1, 8(%r14)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fpm_globals,16,3               ## @fpm_globals
	.comm	_FPM_SCOREBOARD_ACTION_INC,4,2  ## @FPM_SCOREBOARD_ACTION_INC
	.comm	_ZLOG_WARNING,4,2               ## @ZLOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[pool %s] server reached max_children setting (%d), consider raising it"

	.comm	_ZLOG_DEBUG,4,2                 ## @ZLOG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"[pool %s] got accept without idle child available .... I forked"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_pctl_on_socket_accept      ; -- Begin function fpm_pctl_on_socket_accept
	.p2align	2
_fpm_pctl_on_socket_accept:             ; @fpm_pctl_on_socket_accept
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
Lloh0:
	adrp	x21, _fpm_globals@GOTPAGE
Lloh1:
	ldr	x21, [x21, _fpm_globals@GOTPAGEOFF]
	ldr	x20, [x21]
	bl	_getpid
	cmp	x20, x0
	b.ne	LBB0_9
; %bb.1:
	str	xzr, [x19, #40]
	ldr	x8, [x19]
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_7
; %bb.2:
	ldr	x20, [x19, #24]
	cbz	x20, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_fpm_request_is_idle
	cbnz	x0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x20, [x20]
	cbnz	x20, LBB0_3
LBB0_5:
	str	wzr, [x19, #8]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	mov	w3, #1
	bl	_fpm_children_make
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_9
; %bb.6:
Lloh2:
	adrp	x8, _ZLOG_DEBUG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ZLOG_DEBUG@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
	ldr	w2, [x8, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	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
	add	sp, sp, #64
	b	_zlog
LBB0_7:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_9
; %bb.8:
Lloh7:
	adrp	x8, _FPM_SCOREBOARD_ACTION_INC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FPM_SCOREBOARD_ACTION_INC@GOTPAGEOFF]
Lloh9:
	ldr	w7, [x8]
	ldr	w8, [x19, #32]
	str	w8, [sp]
	mov	w20, #1
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #1
	mov	w6, #0
	bl	_fpm_scoreboard_update
Lloh10:
	adrp	x8, _ZLOG_WARNING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ZLOG_WARNING@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
	ldr	w2, [x8, #8]
	ldr	x8, [x8]
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_zlog
	str	w20, [x19, #8]
LBB0_9:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_fpm_globals,16,3               ; @fpm_globals
	.comm	_FPM_SCOREBOARD_ACTION_INC,4,2  ; @FPM_SCOREBOARD_ACTION_INC
	.comm	_ZLOG_WARNING,4,2               ; @ZLOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[pool %s] server reached max_children setting (%d), consider raising it"

	.comm	_ZLOG_DEBUG,4,2                 ; @ZLOG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"[pool %s] got accept without idle child available .... I forked"

.subsections_via_symbols
