	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stop_and_resume_callback
_stop_and_resume_callback:              ## @stop_and_resume_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$0, 12(%rdi)
	jne	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	cmpl	$0, 8(%rdi)
	je	LBB0_2
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_stop_callback
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_stop_wait_callback
	movq	_lwp_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rbx
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r14, %rbx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_resume_callback
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_resume_set_callback
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_lwp_list,8,3                   ## @lwp_list
	.no_dead_strip	_stop_and_resume_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stop_and_resume_callback
_stop_and_resume_callback:              ; @stop_and_resume_callback
	.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
	ldr	w8, [x0, #12]
	cbnz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #8]
	cbnz	w8, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, #0
	bl	_stop_callback
	mov	x0, x19
	mov	x1, #0
	bl	_stop_wait_callback
Lloh0:
	adrp	x8, _lwp_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lwp_list@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	cbnz	x20, LBB0_5
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x20, [x20]
	cbz	x20, LBB0_3
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x20, x19
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, #0
	bl	_resume_callback
	mov	x0, x19
	mov	x1, #0
	bl	_resume_set_callback
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_lwp_list,8,3                   ; @lwp_list
	.no_dead_strip	_stop_and_resume_callback
.subsections_via_symbols
