	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_scoreboard_init_main       ## -- Begin function fpm_scoreboard_init_main
	.p2align	4, 0x90
_fpm_scoreboard_init_main:              ## @fpm_scoreboard_init_main
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_fpm_worker_all_pools@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %r14
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rcx), %ecx
	movl	%ecx, 12(%rax)
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_time
	movq	8(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movl	4(%rcx), %edi
	movq	(%rbx), %rax
	movl	4(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	(%rbx), %rax
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%rbx)
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(,%r15,4), %rax
	leaq	(%rax,%r15,8), %rdi
	addq	$4, %rdi
	callq	_fpm_shm_alloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rcx
	movl	(%rcx), %edx
	movl	%edx, (%rax)
	testl	%edx, %edx
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	4(,%r15,8), %rdx
	movq	%rax, %rcx
	addq	%rdx, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rax), %rax
	movq	%rcx, (%rax,%rdx,8)
	incq	%rdx
	addq	$4, %rcx
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	cmpq	%rsi, %rdx
	jb	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rcx
	jmp	LBB0_13
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_5:
	movq	%r12, %r14
LBB0_6:
	movq	_ZLOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	4(%rax), %edx
	movq	%r14, %rsi
	callq	_zlog
LBB0_7:
	movl	$-1, %r15d
LBB0_14:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fpm_worker_all_pools,8,3       ## @fpm_worker_all_pools
	.comm	_ZLOG_ERROR,4,2                 ## @ZLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[pool %s] Unable to create scoreboard SHM because max_client is not set"

L_.str.1:                               ## @.str.1
	.asciz	"[pool %s] Unable to create scoreboard SHM because it already exists"

	.comm	_HZ,4,2                         ## @HZ
	.comm	_ZLOG_DEBUG,4,2                 ## @ZLOG_DEBUG
	.comm	__SC_CLK_TCK,4,2                ## @_SC_CLK_TCK
	.comm	_fpm_scoreboard_tick,4,2        ## @fpm_scoreboard_tick
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_scoreboard_init_main       ; -- Begin function fpm_scoreboard_init_main
	.p2align	2
_fpm_scoreboard_init_main:              ; @fpm_scoreboard_init_main
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _fpm_worker_all_pools@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fpm_worker_all_pools@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	cbz	x20, LBB0_10
; %bb.1:
Lloh3:
	adrp	x19, l_.str@PAGE
Lloh4:
	add	x19, x19, l_.str@PAGEOFF
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8, #8]
	str	w8, [x0, #12]
	mov	x0, #0
	bl	_time
	ldp	x9, x8, [x20]
	str	w0, [x8, #8]
	ldr	w0, [x8, #4]
	ldr	w1, [x9, #4]
	mov	w2, #4
	bl	_strlcpy
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x8, [x20]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x20, #8]
	cbnz	x10, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w22, #4
	bfi	x22, x9, #3, #32
	add	x0, x22, x9, lsl #2
	bl	_fpm_shm_alloc
	cbz	x0, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x0, [x20, #8]
	ldr	x8, [x20]
	ldr	w9, [x8]
	str	w9, [x0]
	cbz	w9, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	add	x9, x0, x22
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x0, #16]
	str	x9, [x10, x8, lsl #3]
	add	x8, x8, #1
	add	x9, x9, #4
	ldr	x0, [x20, #8]
	ldr	w10, [x0]
	cmp	x8, x10
	b.lo	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	b	LBB0_2
LBB0_10:
	mov	w0, #0
	b	LBB0_14
LBB0_11:
	mov	x19, x21
LBB0_12:
Lloh7:
	adrp	x9, _ZLOG_ERROR@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ZLOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x9]
	ldr	w2, [x8, #4]
	mov	x1, x19
	bl	_zlog
LBB0_13:
	mov	w0, #-1
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_fpm_worker_all_pools,8,3       ; @fpm_worker_all_pools
	.comm	_ZLOG_ERROR,4,2                 ; @ZLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[pool %s] Unable to create scoreboard SHM because max_client is not set"

l_.str.1:                               ; @.str.1
	.asciz	"[pool %s] Unable to create scoreboard SHM because it already exists"

	.comm	_HZ,4,2                         ; @HZ
	.comm	_ZLOG_DEBUG,4,2                 ; @ZLOG_DEBUG
	.comm	__SC_CLK_TCK,4,2                ; @_SC_CLK_TCK
	.comm	_fpm_scoreboard_tick,4,2        ; @fpm_scoreboard_tick
.subsections_via_symbols
