	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drop_cb
_drop_cb:                               ## @drop_cb
	.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	%rsi, %r12
	movq	%rdi, %r14
	movq	16(%rsi), %r13
	movq	24(%rdi), %r15
	movq	%r15, %rdi
	callq	_PMUTEX_OWNER_ID
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_TID
	cmpq	%rax, %rbx
	jne	LBB0_4
## %bb.1:
	movq	(%r13), %rsi
	movq	_MAX_DEFER_WAITERS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jl	LBB0_3
## %bb.2:
	movq	16(%r13), %rdi
	callq	__thr_wake_all
	xorl	%esi, %esi
LBB0_3:
	movq	8(%r14), %rax
	movq	16(%r13), %rcx
	leaq	1(%rsi), %rdx
	movq	%rdx, (%r13)
	movq	%rax, (%rcx,%rsi,8)
	movq	_PMUTEX_FLAG_DEFERRED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	jmp	LBB0_7
LBB0_4:
	movq	(%r12), %rsi
	movq	_MAX_DEFER_WAITERS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jl	LBB0_6
## %bb.5:
	movq	8(%r12), %rdi
	callq	__thr_wake_all
	xorl	%esi, %esi
LBB0_6:
	movq	8(%r14), %rax
	movq	8(%r12), %rcx
	leaq	1(%rsi), %rdx
	movq	%rdx, (%r12)
	movq	%rax, (%rcx,%rsi,8)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_DEFER_WAITERS,8,3          ## @MAX_DEFER_WAITERS
	.comm	_PMUTEX_FLAG_DEFERRED,4,2       ## @PMUTEX_FLAG_DEFERRED
	.no_dead_strip	_drop_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drop_cb
_drop_cb:                               ; @drop_cb
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
	ldr	x21, [x1, #16]
	ldr	x20, [x0, #24]
	mov	x0, x20
	bl	_PMUTEX_OWNER_ID
	mov	x23, x0
	mov	x0, x21
	bl	_TID
	cmp	x23, x0
	b.ne	LBB0_4
; %bb.1:
	ldr	x1, [x21]
Lloh0:
	adrp	x8, _MAX_DEFER_WAITERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_DEFER_WAITERS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.lt	LBB0_3
; %bb.2:
	ldr	x0, [x21, #16]
	bl	__thr_wake_all
	mov	x1, #0
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	x9, [x21, #16]
	add	x10, x1, #1
	str	x10, [x21]
	str	x8, [x9, x1, lsl #3]
Lloh3:
	adrp	x8, _PMUTEX_FLAG_DEFERRED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PMUTEX_FLAG_DEFERRED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_7
LBB0_4:
	ldr	x1, [x22]
Lloh6:
	adrp	x8, _MAX_DEFER_WAITERS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_DEFER_WAITERS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x1, x8
	b.lt	LBB0_6
; %bb.5:
	ldr	x0, [x22, #8]
	bl	__thr_wake_all
	mov	x1, #0
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	x9, [x22, #8]
	add	x10, x1, #1
	str	x10, [x22]
	str	x8, [x9, x1, lsl #3]
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_DEFER_WAITERS,8,3          ; @MAX_DEFER_WAITERS
	.comm	_PMUTEX_FLAG_DEFERRED,4,2       ; @PMUTEX_FLAG_DEFERRED
	.no_dead_strip	_drop_cb
.subsections_via_symbols
