	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eventloop                      ## -- Begin function eventloop
	.p2align	4, 0x90
_eventloop:                             ## @eventloop
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_LIST_EMPTY
	testl	%eax, %eax
	jne	LBB0_42
## %bb.1:
	movq	_detaching@GOTPCREL(%rip), %rbx
	movq	_P_ALL@GOTPCREL(%rip), %r15
	leaq	-72(%rbp), %r12
	jmp	LBB0_2
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_report_exit
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	movl	(%rax), %edi
	callq	_free_proc
	movq	$0, 8(%r13)
LBB0_41:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_LIST_EMPTY
	testl	%eax, %eax
	jne	LBB0_42
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rbx)
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edi
	movq	_WEXITED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_WTRAPPED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_waitid
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_41
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax
	xorl	%edi, %edi
	movq	_SIGCHLD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movl	-64(%rbp), %eax
	leal	-130(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-56(%rbp), %esi
	movq	%r13, %rdi
	callq	_find_exit_thread
	movq	_COUNTONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$131, -64(%rbp)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_thread_exit_syscall
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$128, %eax
	je	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %eax
	jne	LBB0_41
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_errx
	jmp	LBB0_41
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_PT_LWPINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-56(%rbp), %esi
	leaq	-48(%rbp), %rdx
                                        ## kill: def $edx killed $edx killed $rdx
	movl	$8, %ecx
	callq	_ptrace
	cmpl	$-1, %eax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_err
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %eax
	movq	_PL_FLAG_CHILD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-56(%rbp), %esi
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_new_proc
	movq	%r14, %rdi
	callq	_LIST_FIRST
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setne	%dil
	callq	_assert
	jmp	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_PL_FLAG_BORN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-56(%rbp), %esi
	movq	%r13, %rdi
	callq	_find_proc
	movl	-44(%rbp), %esi
	movl	%eax, %edi
	callq	_new_thread
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-56(%rbp), %esi
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_find_thread
	movl	-60(%rbp), %r15d
	movl	-48(%rbp), %eax
	movq	_SIGTRAP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	jne	LBB0_35
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_PL_FLAG_BORN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_PL_FLAG_EXITED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %esi
	orl	%edi, %esi
	movq	_PL_FLAG_SCE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	_PL_FLAG_SCX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movl	%r9d, %edx
	orl	%r8d, %edx
	orl	%esi, %edx
	testl	%eax, %edx
	je	LBB0_35
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %edi
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_COUNTONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	testl	%eax, (%r13)
	jne	LBB0_40
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_report_thread_birth
	jmp	LBB0_40
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %ecx
	movq	_PL_FLAG_CHILD@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	movq	_COUNTONLY@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_40
## %bb.37:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_report_new_child
	jmp	LBB0_40
LBB0_38:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_NOSIGS@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	leaq	-48(%rbp), %rdx
	callq	_report_signal
	movl	-60(%rbp), %r15d
	jmp	LBB0_40
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %ecx
	je	LBB0_31
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_COUNTONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	jne	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_report_thread_death
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rdi
	callq	_free_thread
	movq	$0, 8(%r13)
	xorl	%r15d, %r15d
	jmp	LBB0_40
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %r9d
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rsi
	movq	%r13, %rdi
	leaq	-48(%rbp), %rdx
	callq	_enter_syscall
	xorl	%r15d, %r15d
	jmp	LBB0_40
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	testl	%eax, %r8d
	je	LBB0_40
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	leaq	-48(%rbp), %rsi
	callq	_exit_syscall
LBB0_40:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_PT_SYSCALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-56(%rbp), %esi
	movl	$1, %edx
	movl	%r15d, %ecx
	callq	_ptrace
	movq	_P_ALL@GOTPCREL(%rip), %r15
	movq	_detaching@GOTPCREL(%rip), %rbx
	jmp	LBB0_41
LBB0_3:
	movq	%r13, %rdi
	callq	_detach_all_procs
LBB0_42:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_detaching,8,3                  ## @detaching
	.comm	_P_ALL,4,2                      ## @P_ALL
	.comm	_WTRAPPED,4,2                   ## @WTRAPPED
	.comm	_WEXITED,4,2                    ## @WEXITED
	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected error from waitid"

	.comm	_SIGCHLD,8,3                    ## @SIGCHLD
	.comm	_COUNTONLY,4,2                  ## @COUNTONLY
	.comm	_PT_LWPINFO,4,2                 ## @PT_LWPINFO
L_.str.1:                               ## @.str.1
	.asciz	"ptrace(PT_LWPINFO)"

	.comm	_PL_FLAG_CHILD,4,2              ## @PL_FLAG_CHILD
	.comm	_PL_FLAG_BORN,4,2               ## @PL_FLAG_BORN
	.comm	_SIGTRAP,4,2                    ## @SIGTRAP
	.comm	_PL_FLAG_EXITED,4,2             ## @PL_FLAG_EXITED
	.comm	_PL_FLAG_SCE,4,2                ## @PL_FLAG_SCE
	.comm	_PL_FLAG_SCX,4,2                ## @PL_FLAG_SCX
	.comm	_NOSIGS,4,2                     ## @NOSIGS
	.comm	_PT_SYSCALL,4,2                 ## @PT_SYSCALL
L_.str.2:                               ## @.str.2
	.asciz	"waitid reported CLD_STOPPED"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eventloop                      ; -- Begin function eventloop
	.p2align	2
_eventloop:                             ; @eventloop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	add	x20, x0, #16
	mov	x0, x20
	bl	_LIST_EMPTY
	cbnz	w0, LBB0_43
; %bb.1:
Lloh0:
	adrp	x24, _detaching@GOTPAGE
Lloh1:
	ldr	x24, [x24, _detaching@GOTPAGEOFF]
Lloh2:
	adrp	x25, _P_ALL@GOTPAGE
Lloh3:
	ldr	x25, [x25, _P_ALL@GOTPAGEOFF]
Lloh4:
	adrp	x26, _WTRAPPED@GOTPAGE
Lloh5:
	ldr	x26, [x26, _WTRAPPED@GOTPAGEOFF]
Lloh6:
	adrp	x27, _WEXITED@GOTPAGE
Lloh7:
	ldr	x27, [x27, _WEXITED@GOTPAGEOFF]
Lloh8:
	adrp	x28, _errno@GOTPAGE
Lloh9:
	ldr	x28, [x28, _errno@GOTPAGEOFF]
Lloh10:
	adrp	x22, _EINTR@GOTPAGE
Lloh11:
	ldr	x22, [x22, _EINTR@GOTPAGEOFF]
Lloh12:
	adrp	x23, _SIGCHLD@GOTPAGE
Lloh13:
	ldr	x23, [x23, _SIGCHLD@GOTPAGEOFF]
Lloh14:
	adrp	x21, _COUNTONLY@GOTPAGE
Lloh15:
	ldr	x21, [x21, _COUNTONLY@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, sp
	mov	x0, x19
	bl	_report_exit
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_free_proc
	str	xzr, [x19, #8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_LIST_EMPTY
	cbnz	w0, LBB0_43
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	cbnz	x8, LBB0_42
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x25]
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w3, w9, w8
	mov	x2, sp
	mov	w1, #0
	bl	_waitid
	cmn	w0, #1
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x28]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp]
	ldr	x9, [x23]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	w8, [sp, #8]
	sub	w9, w8, #130
	cmp	w9, #3
	b.hs	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [sp, #16]
	mov	x0, x19
	bl	_find_exit_thread
	ldr	w8, [x19]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #8]
	cmp	w8, #131
	b.ne	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_thread_exit_syscall
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #128
	b.eq	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #129
	b.ne	LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
	b	LBB0_4
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh20:
	adrp	x8, _PT_LWPINFO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PT_LWPINFO@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldr	w1, [sp, #16]
	add	x2, sp, #24
	mov	w3, #8
	bl	_ptrace
	cmn	w0, #1
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #24]
Lloh25:
	adrp	x9, _PL_FLAG_CHILD@GOTPAGE
Lloh26:
	ldr	x9, [x9, _PL_FLAG_CHILD@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [sp, #16]
	ldr	w2, [sp, #28]
	mov	x0, x19
	bl	_new_proc
	mov	x0, x20
	bl	_LIST_FIRST
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh28:
	adrp	x9, _PL_FLAG_BORN@GOTPAGE
Lloh29:
	ldr	x9, [x9, _PL_FLAG_BORN@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [sp, #16]
	mov	x0, x19
	bl	_find_proc
	ldr	w1, [sp, #28]
	bl	_new_thread
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [sp, #16]
	ldr	w2, [sp, #28]
	mov	x0, x19
	bl	_find_thread
	ldr	w3, [sp, #12]
Lloh31:
	adrp	x8, _SIGTRAP@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SIGTRAP@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x8]
	ldr	w8, [sp, #24]
	cmp	w3, w9
	b.ne	LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh34:
	adrp	x9, _PL_FLAG_BORN@GOTPAGE
Lloh35:
	ldr	x9, [x9, _PL_FLAG_BORN@GOTPAGEOFF]
Lloh36:
	ldr	w12, [x9]
Lloh37:
	adrp	x9, _PL_FLAG_EXITED@GOTPAGE
Lloh38:
	ldr	x9, [x9, _PL_FLAG_EXITED@GOTPAGEOFF]
Lloh39:
	ldr	w11, [x9]
	orr	w9, w11, w12
Lloh40:
	adrp	x10, _PL_FLAG_SCE@GOTPAGE
Lloh41:
	ldr	x10, [x10, _PL_FLAG_SCE@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	orr	w13, w9, w10
Lloh43:
	adrp	x9, _PL_FLAG_SCX@GOTPAGE
Lloh44:
	ldr	x9, [x9, _PL_FLAG_SCX@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	orr	w13, w13, w9
	tst	w13, w8
	b.eq	LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_5 Depth=1
	tst	w12, w8
	b.eq	LBB0_34
; %bb.25:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_report_thread_birth
	b	LBB0_30
LBB0_27:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh46:
	adrp	x9, _PL_FLAG_CHILD@GOTPAGE
Lloh47:
	ldr	x9, [x9, _PL_FLAG_CHILD@GOTPAGEOFF]
Lloh48:
	ldr	w10, [x9]
	ldr	w9, [x19]
	tst	w10, w8
	b.eq	LBB0_32
; %bb.28:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21]
	tst	w8, w9
	b.ne	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_report_new_child
LBB0_30:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w3, #0
LBB0_31:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh49:
	adrp	x8, _PT_SYSCALL@GOTPAGE
Lloh50:
	ldr	x8, [x8, _PT_SYSCALL@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	ldr	w1, [sp, #16]
	mov	w2, #1
	bl	_ptrace
	b	LBB0_4
LBB0_32:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh52:
	adrp	x8, _NOSIGS@GOTPAGE
Lloh53:
	ldr	x8, [x8, _NOSIGS@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	tst	w8, w9
	b.ne	LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, sp
	add	x2, sp, #24
	mov	x0, x19
	bl	_report_signal
	ldr	w3, [sp, #12]
	b	LBB0_31
LBB0_34:                                ;   in Loop: Header=BB0_5 Depth=1
	tst	w11, w8
	b.eq	LBB0_38
; %bb.35:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_report_thread_death
LBB0_37:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19, #8]
	bl	_free_thread
	mov	w3, #0
	str	xzr, [x19, #8]
	b	LBB0_31
LBB0_38:                                ;   in Loop: Header=BB0_5 Depth=1
	tst	w10, w8
	b.eq	LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [x19, #8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_enter_syscall
	b	LBB0_30
LBB0_40:                                ;   in Loop: Header=BB0_5 Depth=1
	tst	w9, w8
	b.eq	LBB0_30
; %bb.41:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #24
	mov	x0, x19
	bl	_exit_syscall
	b	LBB0_30
LBB0_42:
	mov	x0, x19
	bl	_detach_all_procs
LBB0_43:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_detaching,8,3                  ; @detaching
	.comm	_P_ALL,4,2                      ; @P_ALL
	.comm	_WTRAPPED,4,2                   ; @WTRAPPED
	.comm	_WEXITED,4,2                    ; @WEXITED
	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected error from waitid"

	.comm	_SIGCHLD,8,3                    ; @SIGCHLD
	.comm	_COUNTONLY,4,2                  ; @COUNTONLY
	.comm	_PT_LWPINFO,4,2                 ; @PT_LWPINFO
l_.str.1:                               ; @.str.1
	.asciz	"ptrace(PT_LWPINFO)"

	.comm	_PL_FLAG_CHILD,4,2              ; @PL_FLAG_CHILD
	.comm	_PL_FLAG_BORN,4,2               ; @PL_FLAG_BORN
	.comm	_SIGTRAP,4,2                    ; @SIGTRAP
	.comm	_PL_FLAG_EXITED,4,2             ; @PL_FLAG_EXITED
	.comm	_PL_FLAG_SCE,4,2                ; @PL_FLAG_SCE
	.comm	_PL_FLAG_SCX,4,2                ; @PL_FLAG_SCX
	.comm	_NOSIGS,4,2                     ; @NOSIGS
	.comm	_PT_SYSCALL,4,2                 ; @PT_SYSCALL
l_.str.2:                               ; @.str.2
	.asciz	"waitid reported CLD_STOPPED"

.subsections_via_symbols
