	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reaper
_reaper:                                ## @reaper
	.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	_errno@GOTPCREL(%rip), %r14
	movl	(%r14), %r15d
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_load_securenets
	jmp	LBB0_6
LBB0_2:
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_7
## %bb.3:
	movq	_WNOHANG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-44(%rbp), %rdi
	xorl	%edx, %edx
	callq	_wait3
	testq	%rax, %rax
	jle	LBB0_6
## %bb.4:
	movq	_children@GOTPCREL(%rip), %r13
	leaq	-44(%rbp), %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	decl	(%r13)
	movl	(%r12), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_wait3
	testq	%rax, %rax
	jg	LBB0_5
LBB0_6:
	movl	%r15d, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	callq	_unregister
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.comm	_WNOHANG,4,2                    ## @WNOHANG
	.comm	_children,4,2                   ## @children
	.no_dead_strip	_reaper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reaper
_reaper:                                ; @reaper
	.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
Lloh0:
	adrp	x19, _errno@GOTPAGE
Lloh1:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
	ldr	w20, [x19]
Lloh2:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	bl	_load_securenets
	b	LBB0_6
LBB0_2:
Lloh5:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_7
; %bb.3:
Lloh8:
	adrp	x21, _WNOHANG@GOTPAGE
Lloh9:
	ldr	x21, [x21, _WNOHANG@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x0, sp, #12
	mov	x2, #0
	bl	_wait3
	cmp	x0, #1
	b.lt	LBB0_6
; %bb.4:
Lloh10:
	adrp	x22, _children@GOTPAGE
Lloh11:
	ldr	x22, [x22, _children@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	sub	w8, w8, #1
	str	w8, [x22]
	ldr	w1, [x21]
	add	x0, sp, #12
	mov	x2, #0
	bl	_wait3
	cmp	x0, #0
	b.gt	LBB0_5
LBB0_6:
	str	w20, [x19]
	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
LBB0_7:
	bl	_unregister
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.comm	_WNOHANG,4,2                    ; @WNOHANG
	.comm	_children,4,2                   ; @children
	.no_dead_strip	_reaper
.subsections_via_symbols
