	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lsapi_init_children_status
_lsapi_init_children_status:            ## @lsapi_init_children_status
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_g_prefork_server@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movslq	(%rax), %rcx
	movslq	4(%rax), %r12
	addq	%rcx, %r12
	leal	4107(,%r12,8), %eax
	leal	8202(,%r12,8), %r14d
	testl	%eax, %eax
	cmovnsl	%eax, %r14d
	andl	$-4096, %r14d                   ## imm = 0xF000
	movq	_PROT_READ@GOTPCREL(%rip), %rax
	movq	_PROT_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_MAP_ANON@GOTPCREL(%rip), %rax
	movq	_MAP_SHARED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	$-1, %r15d
	xorl	%edi, %edi
	movl	%r14d, %esi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_mmap
	movq	%rax, %rbx
	movq	_MAP_FAILED@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	movq	(%r13), %rax
	movq	%rbx, 24(%rax)
	movq	%rbx, 16(%rax)
	leaq	(%rbx,%r12,4), %rcx
	movq	%rcx, 8(%rax)
	movq	_s_busy_workers@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	leaq	4(%rbx,%r12,4), %rax
	movq	_s_accepting_workers@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	8(%rbx,%r12,4), %rax
	movq	_s_global_counter@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	(%rbx,%r12,4), %rax
	addq	$12, %rax
	movq	_s_avail_pages@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%r15d, %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_perror
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_g_prefork_server,8,3           ## @g_prefork_server
	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_PROT_WRITE,4,2                 ## @PROT_WRITE
	.comm	_MAP_ANON,4,2                   ## @MAP_ANON
	.comm	_MAP_SHARED,4,2                 ## @MAP_SHARED
	.comm	_MAP_FAILED,8,3                 ## @MAP_FAILED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Anonymous mmap() failed"

	.comm	_s_busy_workers,8,3             ## @s_busy_workers
	.comm	_s_accepting_workers,8,3        ## @s_accepting_workers
	.comm	_s_global_counter,8,3           ## @s_global_counter
	.comm	_s_avail_pages,8,3              ## @s_avail_pages
	.no_dead_strip	_lsapi_init_children_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lsapi_init_children_status
_lsapi_init_children_status:            ; @lsapi_init_children_status
	.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	x21, _g_prefork_server@GOTPAGE
Lloh1:
	ldr	x21, [x21, _g_prefork_server@GOTPAGEOFF]
	ldr	x8, [x21]
	ldp	w9, w8, [x8]
	add	w22, w8, w9
	lsl	w8, w22, #3
	mov	w9, #4107
	add	w9, w8, w9
	mov	w10, #8202
	add	w8, w8, w10
	cmp	w9, #0
	csel	w8, w8, w9, lt
	and	w19, w8, #0xfffff000
Lloh2:
	adrp	x8, _PROT_READ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PROT_READ@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _PROT_WRITE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PROT_WRITE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _MAP_ANON@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MAP_ANON@GOTPAGEOFF]
	orr	w2, w9, w8
Lloh10:
	ldr	w8, [x10]
Lloh11:
	adrp	x9, _MAP_SHARED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MAP_SHARED@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, #0
	mov	x1, x19
	mov	w4, #-1
	mov	w5, #0
	bl	_mmap
Lloh14:
	adrp	x8, _MAP_FAILED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAP_FAILED@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_3
; %bb.1:
	mov	x20, x0
	mov	w1, #0
	mov	x2, x19
	bl	_memset
	mov	w0, #0
	add	x8, x20, w22, sxtw #2
	add	x9, x8, #4
Lloh17:
	adrp	x10, _s_accepting_workers@GOTPAGE
Lloh18:
	ldr	x10, [x10, _s_accepting_workers@GOTPAGEOFF]
Lloh19:
	str	x9, [x10]
	add	x9, x8, #8
Lloh20:
	adrp	x10, _s_global_counter@GOTPAGE
Lloh21:
	ldr	x10, [x10, _s_global_counter@GOTPAGEOFF]
Lloh22:
	str	x9, [x10]
	ldr	x9, [x21]
	str	x20, [x9, #24]
Lloh23:
	adrp	x10, _s_busy_workers@GOTPAGE
Lloh24:
	ldr	x10, [x10, _s_busy_workers@GOTPAGEOFF]
	stp	x8, x20, [x9, #8]
Lloh25:
	str	x8, [x10]
	add	x8, x8, #12
Lloh26:
	adrp	x9, _s_avail_pages@GOTPAGE
Lloh27:
	ldr	x9, [x9, _s_avail_pages@GOTPAGEOFF]
Lloh28:
	str	x8, [x9]
LBB0_2:
	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
LBB0_3:
Lloh29:
	adrp	x0, l_.str@PAGE
Lloh30:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	w0, #-1
	b	LBB0_2
	.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 AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_g_prefork_server,8,3           ; @g_prefork_server
	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_PROT_WRITE,4,2                 ; @PROT_WRITE
	.comm	_MAP_ANON,4,2                   ; @MAP_ANON
	.comm	_MAP_SHARED,4,2                 ; @MAP_SHARED
	.comm	_MAP_FAILED,8,3                 ; @MAP_FAILED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Anonymous mmap() failed"

	.comm	_s_busy_workers,8,3             ; @s_busy_workers
	.comm	_s_accepting_workers,8,3        ; @s_accepting_workers
	.comm	_s_global_counter,8,3           ; @s_global_counter
	.comm	_s_avail_pages,8,3              ; @s_avail_pages
	.no_dead_strip	_lsapi_init_children_status
.subsections_via_symbols
