	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_proc_stop
_dt_proc_stop:                          ## @dt_proc_stop
	.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
	movl	%esi, %r15d
	movq	%rdi, %r12
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_DT_MUTEX_HELD
	movl	%eax, %edi
	callq	_assert
	movq	_DT_PROC_STOP_IDLE@GOTPCREL(%rip), %r13
	xorl	%edi, %edi
	cmpl	%r15d, (%r13)
	setne	%dil
	callq	_assert
	movl	(%r12), %eax
	testl	%r15d, %eax
	je	LBB0_5
## %bb.1:
	orl	(%r13), %eax
	notl	%r15d
	andl	%eax, %r15d
	movl	%r15d, (%r12)
	leaq	8(%r12), %rbx
	movq	%rbx, %rdi
	callq	_pthread_cond_broadcast
	movq	%r12, %rdi
	callq	_dt_proc_bpdisable
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	testl	%eax, (%r12)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_pthread_cond_wait
	jmp	LBB0_3
LBB0_4:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dt_proc_bpenable               ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DT_PROC_STOP_IDLE,4,2          ## @DT_PROC_STOP_IDLE
	.no_dead_strip	_dt_proc_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_proc_stop
_dt_proc_stop:                          ; @dt_proc_stop
	.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	x21, x1
	mov	x19, x0
	add	x20, x0, #4
	mov	x0, x20
	bl	_DT_MUTEX_HELD
	bl	_assert
Lloh0:
	adrp	x22, _DT_PROC_STOP_IDLE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DT_PROC_STOP_IDLE@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, w21
	cset	w0, ne
	bl	_assert
	ldr	w8, [x19]
	tst	w8, w21
	b.eq	LBB0_5
; %bb.1:
	ldr	w9, [x22]
	orr	w8, w9, w8
	bic	w8, w8, w21
	str	w8, [x19]
	add	x21, x19, #8
	mov	x0, x21
	bl	_pthread_cond_broadcast
	mov	x0, x19
	bl	_dt_proc_bpdisable
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_pthread_cond_wait
	b	LBB0_2
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
	b	_dt_proc_bpenable
LBB0_5:
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DT_PROC_STOP_IDLE,4,2          ; @DT_PROC_STOP_IDLE
	.no_dead_strip	_dt_proc_stop
.subsections_via_symbols
