	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pids_init
_pids_init:                             ## @pids_init
	.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	_maxprocs@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	shll	$2, %edi
	callq	_malloc
	movq	_childpids@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpl	$0, (%r14)
	jg	LBB0_3
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	cmpl	$0, (%r14)
	jle	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_clearslot
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_maxprocs,4,2                   ## @maxprocs
	.comm	_childpids,8,3                  ## @childpids
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc failed"

	.no_dead_strip	_pids_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pids_init
_pids_init:                             ; @pids_init
	.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	x20, _maxprocs@GOTPAGE
Lloh1:
	ldr	x20, [x20, _maxprocs@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_malloc
Lloh2:
	adrp	x8, _childpids@GOTPAGE
Lloh3:
	ldr	x8, [x8, _childpids@GOTPAGEOFF]
Lloh4:
	str	x0, [x8]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w19, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_clearslot
	add	w19, w19, #1
	ldr	w8, [x20]
	cmp	w19, w8
	b.lt	LBB0_4
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_maxprocs,4,2                   ; @maxprocs
	.comm	_childpids,8,3                  ; @childpids
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc failed"

	.no_dead_strip	_pids_init
.subsections_via_symbols
