	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_reap_all                       ## -- Begin function reap_all
	.p2align	4, 0x90
_reap_all:                              ## @reap_all
	.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
	movl	$1000000, %edi                  ## imm = 0xF4240
	callq	_get_precise_time
	movq	_last_check_time@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_active_pnum@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	movq	_active_pids@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_try_reap
	xorl	%ecx, %ecx
	cmpl	$2, %eax
	setge	%cl
	addl	%ecx, %r15d
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r15d, %r15d
LBB0_4:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_last_check_time,4,2            ## @last_check_time
	.comm	_active_pnum,4,2                ## @active_pnum
	.comm	_active_pids,8,3                ## @active_pids
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_reap_all                       ; -- Begin function reap_all
	.p2align	2
_reap_all:                              ; @reap_all
	.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
	mov	w0, #16960
	movk	w0, #15, lsl #16
	bl	_get_precise_time
Lloh0:
	adrp	x8, _last_check_time@GOTPAGE
Lloh1:
	ldr	x8, [x8, _last_check_time@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
Lloh3:
	adrp	x20, _active_pnum@GOTPAGE
Lloh4:
	ldr	x20, [x20, _active_pnum@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
	mov	w19, #0
Lloh5:
	adrp	x22, _active_pids@GOTPAGE
Lloh6:
	ldr	x22, [x22, _active_pids@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w0, [x8, x21, lsl #2]
	bl	_try_reap
	cmp	w0, #1
	cinc	w19, w19, gt
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w19, #0
LBB0_4:
	mov	x0, x19
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_last_check_time,4,2            ; @last_check_time
	.comm	_active_pnum,4,2                ; @active_pnum
	.comm	_active_pids,8,3                ; @active_pids
.subsections_via_symbols
