	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drain_scheduler_sch_cb
_drain_scheduler_sch_cb:                ## @drain_scheduler_sch_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_DN_HAVE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rdi), %rdi
	testl	%eax, 12(%rbx)
	je	LBB0_2
## %bb.1:
	leaq	8(%rbx), %rsi
	movq	_drain_scheduler_cb@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	callq	_dn_ht_scan_bucket
	incl	8(%rbx)
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	xorl	%esi, %esi
	callq	_drain_scheduler_cb
	movq	_DNHT_SCAN_DEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	$0, (%rbx)
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_DN_HAVE_MASK,4,2               ## @DN_HAVE_MASK
	.comm	_DNHT_SCAN_DEL,8,3              ## @DNHT_SCAN_DEL
	.no_dead_strip	_drain_scheduler_sch_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drain_scheduler_sch_cb
_drain_scheduler_sch_cb:                ; @drain_scheduler_sch_cb
	.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
	mov	x19, x0
	ldr	w8, [x0, #12]
Lloh0:
	adrp	x9, _DN_HAVE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DN_HAVE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	x0, [x0]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	add	x1, x19, #8
Lloh3:
	adrp	x2, _drain_scheduler_cb@GOTPAGE
Lloh4:
	ldr	x2, [x2, _drain_scheduler_cb@GOTPAGEOFF]
	mov	x3, #0
	bl	_dn_ht_scan_bucket
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	cbz	x0, LBB0_2
; %bb.4:
	mov	x1, #0
	bl	_drain_scheduler_cb
Lloh5:
	adrp	x8, _DNHT_SCAN_DEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DNHT_SCAN_DEL@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.5:
	str	xzr, [x19]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DN_HAVE_MASK,4,2               ; @DN_HAVE_MASK
	.comm	_DNHT_SCAN_DEL,8,3              ; @DNHT_SCAN_DEL
	.no_dead_strip	_drain_scheduler_sch_cb
.subsections_via_symbols
