	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stop_wait_callback
_stop_wait_callback:                    ## @stop_wait_callback
	.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
	cmpl	$0, (%rdi)
	je	LBB0_2
LBB0_1:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_errno@GOTPCREL(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, (%r14)
	jne	LBB0_1
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_wait_lwp
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %ebx
	testq	%r15, %r15
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	callq	_WSTOPSIG
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_sigismember
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, 8(%r14)
	je	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	$0, (%r12)
	movq	_PTRACE_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	16(%r14), %edi
	callq	_GET_LWP
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ptrace
	movq	_debug_lin_lwp@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	16(%r14), %edi
	callq	_target_pid_to_str
	movq	%rax, %rbx
	movq	(%r12), %rdi
	leaq	L_.str.1(%rip), %rcx
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	callq	_safe_strerror
	movq	%rax, %rcx
	jmp	LBB0_3
LBB0_12:
	movl	%ebx, %edi
	callq	_WSTOPSIG
	movq	_SIGSTOP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:
	movl	$1, (%r14)
	movq	$0, 8(%r14)
	jmp	LBB0_1
LBB0_14:
	movl	%ebx, %edi
	callq	_WSTOPSIG
	movq	_SIGTRAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.15:
	movq	$0, (%r12)
	movq	_PTRACE_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	16(%r14), %edi
	callq	_GET_LWP
	movl	%r13d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ptrace
	movq	_debug_lin_lwp@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_26
## %bb.16:
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	16(%r14), %edi
	callq	_target_pid_to_str
	movq	%rax, %r13
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.17:
	callq	_safe_strerror
	movq	%rax, %rcx
	jmp	LBB0_25
LBB0_18:
	movl	$1, (%r14)
	jmp	LBB0_1
LBB0_19:
	movq	_debug_lin_lwp@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.20:
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_status_to_str
	movq	%rax, %r13
	movl	16(%r14), %edi
	callq	_target_pid_to_str
	leaq	L_.str.4(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
LBB0_21:
	movq	$0, (%r12)
	movq	_PTRACE_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	16(%r14), %edi
	callq	_GET_LWP
	movl	%r13d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ptrace
	movq	_debug_lin_lwp@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_33
## %bb.22:
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	16(%r14), %edi
	callq	_target_pid_to_str
	movq	%rax, %r13
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_31
## %bb.23:
	callq	_safe_strerror
	movq	%rax, %rcx
	jmp	LBB0_32
LBB0_24:
	leaq	L_.str.1(%rip), %rcx
LBB0_25:
	leaq	L_.str(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	16(%r14), %edi
	callq	_target_pid_to_str
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
LBB0_26:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_stop_wait_callback
	cmpl	$0, 4(%r14)
	je	LBB0_30
## %bb.27:
	movq	_debug_lin_lwp@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_29
## %bb.28:
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	16(%r14), %edi
	callq	_target_pid_to_str
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	_status_to_str
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edi
	movq	%r12, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
LBB0_29:
	movl	16(%r14), %edi
	callq	_GET_LWP
	movl	%eax, %r15d
	movl	4(%r14), %edi
	callq	_WSTOPSIG
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_kill_lwp
	jmp	LBB0_30
LBB0_31:
	leaq	L_.str.1(%rip), %rcx
LBB0_32:
	leaq	L_.str.5(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
LBB0_33:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_stop_wait_callback
	cmpl	$0, 4(%r14)
	je	LBB0_30
## %bb.34:
	movq	_debug_lin_lwp@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_36
## %bb.35:
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	16(%r14), %edi
	callq	_target_pid_to_str
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	_status_to_str
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edi
	movq	%r12, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
LBB0_36:
	movl	16(%r14), %edi
	callq	_GET_LWP
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_WSTOPSIG
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_kill_lwp
	jmp	LBB0_1
LBB0_30:
	movl	%ebx, 4(%r14)
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_PTRACE_CONT,4,2                ## @PTRACE_CONT
	.comm	_debug_lin_lwp,8,3              ## @debug_lin_lwp
	.comm	_gdb_stdlog,4,2                 ## @gdb_stdlog
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PTRACE_CONT %s, 0, 0 (%s)\n"

L_.str.1:                               ## @.str.1
	.asciz	"OK"

	.comm	_SIGSTOP,8,3                    ## @SIGSTOP
	.comm	_SIGTRAP,8,3                    ## @SIGTRAP
L_.str.2:                               ## @.str.2
	.asciz	"SWC: Candidate SIGTRAP event in %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"SWC: kill %s, %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"SWC: Pending event %s in %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"SWC: PTRACE_CONT %s, 0, 0 (%s)\n"

	.no_dead_strip	_stop_wait_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stop_wait_callback
_stop_wait_callback:                    ; @stop_wait_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_2
LBB0_1:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x26, _errno@GOTPAGE
Lloh1:
	ldr	x26, [x26, _errno@GOTPAGEOFF]
Lloh2:
	adrp	x27, _PTRACE_CONT@GOTPAGE
Lloh3:
	ldr	x27, [x27, _PTRACE_CONT@GOTPAGEOFF]
Lloh4:
	adrp	x28, l_.str.1@PAGE
Lloh5:
	add	x28, x28, l_.str.1@PAGEOFF
Lloh6:
	adrp	x25, _debug_lin_lwp@GOTPAGE
Lloh7:
	ldr	x25, [x25, _debug_lin_lwp@GOTPAGEOFF]
Lloh8:
	adrp	x24, _gdb_stdlog@GOTPAGE
Lloh9:
	ldr	x24, [x24, _gdb_stdlog@GOTPAGEOFF]
Lloh10:
	adrp	x22, l_.str@PAGE
Lloh11:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_safe_strerror
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x0, [sp]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	bl	_fprintf_unfiltered
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19]
	cbnz	w8, LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_wait_lwp
	cbz	w0, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, x0
	cbz	x21, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_WSTOPSIG
	mov	x1, x0
	mov	x0, x21
	bl	_sigismember
	cbz	x0, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x26]
	ldr	w20, [x27]
	ldr	w0, [x19, #16]
	bl	_GET_LWP
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	bl	_ptrace
	ldr	x8, [x25]
	cbz	x8, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w20, [x24]
	ldr	w0, [x19, #16]
	bl	_target_pid_to_str
	mov	x23, x0
	ldr	x0, [x26]
	cbnz	x0, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x28
	b	LBB0_4
LBB0_13:
	mov	x0, x20
	bl	_WSTOPSIG
Lloh12:
	adrp	x8, _SIGSTOP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SIGSTOP@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.14:
	mov	w8, #1
	str	w8, [x19]
	str	xzr, [x19, #8]
	b	LBB0_1
LBB0_15:
	mov	x0, x20
	bl	_WSTOPSIG
Lloh15:
	adrp	x8, _SIGTRAP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SIGTRAP@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.16:
	str	xzr, [x26]
	ldr	w22, [x27]
	ldr	w0, [x19, #16]
	bl	_GET_LWP
	mov	x1, x0
	mov	x0, x22
	mov	w2, #0
	mov	w3, #0
	bl	_ptrace
	ldr	x8, [x25]
	cbz	x8, LBB0_27
; %bb.17:
	ldr	w22, [x24]
	ldr	w0, [x19, #16]
	bl	_target_pid_to_str
	mov	x23, x0
	ldr	x0, [x26]
	cbz	x0, LBB0_25
; %bb.18:
	bl	_safe_strerror
	b	LBB0_26
LBB0_19:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_1
LBB0_20:
	ldr	x8, [x25]
	cbz	x8, LBB0_22
; %bb.21:
	ldr	w22, [x24]
	mov	x0, x20
	bl	_status_to_str
	mov	x23, x0
	ldr	w0, [x19, #16]
	bl	_target_pid_to_str
	str	x0, [sp]
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	bl	_fprintf_unfiltered
LBB0_22:
	str	xzr, [x26]
	ldr	w22, [x27]
	ldr	w0, [x19, #16]
	bl	_GET_LWP
	mov	x1, x0
	mov	x0, x22
	mov	w2, #0
	mov	w3, #0
	bl	_ptrace
	ldr	x8, [x25]
	cbz	x8, LBB0_33
; %bb.23:
	ldr	w22, [x24]
	ldr	w0, [x19, #16]
	bl	_target_pid_to_str
	mov	x23, x0
	ldr	x0, [x26]
	cbz	x0, LBB0_31
; %bb.24:
	bl	_safe_strerror
	b	LBB0_32
LBB0_25:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_26:
	str	x0, [sp]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	bl	_fprintf_unfiltered
	ldr	w22, [x24]
	ldr	w0, [x19, #16]
	bl	_target_pid_to_str
	mov	x2, x0
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_fprintf_unfiltered
LBB0_27:
	mov	x0, x19
	mov	x1, x21
	bl	_stop_wait_callback
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_37
; %bb.28:
	ldr	x8, [x25]
	cbz	x8, LBB0_30
; %bb.29:
	ldr	w21, [x24]
	ldr	w0, [x19, #16]
	bl	_target_pid_to_str
	mov	x22, x0
	mov	x0, x20
	bl	_status_to_str
	str	x0, [sp]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_fprintf_unfiltered
LBB0_30:
	ldr	w0, [x19, #16]
	bl	_GET_LWP
	mov	x21, x0
	ldr	w0, [x19, #4]
	bl	_WSTOPSIG
	mov	x1, x0
	mov	x0, x21
	bl	_kill_lwp
	b	LBB0_37
LBB0_31:
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_32:
	str	x0, [sp]
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	bl	_fprintf_unfiltered
LBB0_33:
	mov	x0, x19
	mov	x1, x21
	bl	_stop_wait_callback
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_37
; %bb.34:
	ldr	x8, [x25]
	cbz	x8, LBB0_36
; %bb.35:
	ldr	w21, [x24]
	ldr	w0, [x19, #16]
	bl	_target_pid_to_str
	mov	x22, x0
	mov	x0, x20
	bl	_status_to_str
	str	x0, [sp]
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_fprintf_unfiltered
LBB0_36:
	ldr	w0, [x19, #16]
	bl	_GET_LWP
	mov	x19, x0
	mov	x0, x20
	bl	_WSTOPSIG
	mov	x1, x0
	mov	x0, x19
	bl	_kill_lwp
	b	LBB0_1
LBB0_37:
	str	w20, [x19, #4]
	b	LBB0_1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_PTRACE_CONT,4,2                ; @PTRACE_CONT
	.comm	_debug_lin_lwp,8,3              ; @debug_lin_lwp
	.comm	_gdb_stdlog,4,2                 ; @gdb_stdlog
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PTRACE_CONT %s, 0, 0 (%s)\n"

l_.str.1:                               ; @.str.1
	.asciz	"OK"

	.comm	_SIGSTOP,8,3                    ; @SIGSTOP
	.comm	_SIGTRAP,8,3                    ; @SIGTRAP
l_.str.2:                               ; @.str.2
	.asciz	"SWC: Candidate SIGTRAP event in %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"SWC: kill %s, %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"SWC: Pending event %s in %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"SWC: PTRACE_CONT %s, 0, 0 (%s)\n"

	.no_dead_strip	_stop_wait_callback
.subsections_via_symbols
