	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt_do_flush
_rt_do_flush:                           ## @rt_do_flush
	.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	%edi, %r14d
	movq	_rt_hash_table@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%r15d
	movq	_rt_hash_mask@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	ja	LBB0_8
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_need_resched
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_cond_resched
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rax
	movl	%r15d, %r13d
	cmpq	$0, (%rax,%r13,8)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %edi
	callq	_rt_hash_lock_addr
	movl	%eax, %edi
	callq	_spin_lock_bh
	movq	(%r12), %rax
	movq	(%rax,%r13,8), %rbx
	movq	$0, (%rax,%r13,8)
	movl	%r15d, %edi
	callq	_rt_hash_lock_addr
	movl	%eax, %edi
	callq	_spin_unlock_bh
	testq	%rbx, %rbx
	je	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %r13
	movq	%rbx, %rdi
	callq	_rt_free
	movq	%r13, %rbx
	testq	%r13, %r13
	jne	LBB0_6
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rt_hash_mask,4,2               ## @rt_hash_mask
	.comm	_rt_hash_table,8,3              ## @rt_hash_table
	.no_dead_strip	_rt_do_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt_do_flush
_rt_do_flush:                           ; @rt_do_flush
	.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	x19, x0
	mov	w20, #0
Lloh0:
	adrp	x22, _rt_hash_table@GOTPAGE
Lloh1:
	ldr	x22, [x22, _rt_hash_table@GOTPAGEOFF]
Lloh2:
	adrp	x23, _rt_hash_mask@GOTPAGE
Lloh3:
	ldr	x23, [x23, _rt_hash_mask@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w20, w20, #1
	ldr	w8, [x23]
	cmp	w20, w8
	b.hi	LBB0_8
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cbz	w19, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_need_resched
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_cond_resched
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22]
	ldr	x8, [x8, w20, uxtw #3]
	cbz	x8, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w21, w20
	mov	x0, x20
	bl	_rt_hash_lock_addr
	bl	_spin_lock_bh
	ldr	x8, [x22]
	lsl	x9, x21, #3
	ldr	x21, [x8, x9]
	str	xzr, [x8, x9]
	mov	x0, x20
	bl	_rt_hash_lock_addr
	bl	_spin_unlock_bh
	cbz	x21, LBB0_1
LBB0_7:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x24, [x21]
	mov	x0, x21
	bl	_rt_free
	mov	x21, x24
	cbnz	x24, LBB0_7
	b	LBB0_1
LBB0_8:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_rt_hash_mask,4,2               ; @rt_hash_mask
	.comm	_rt_hash_table,8,3              ; @rt_hash_table
	.no_dead_strip	_rt_do_flush
.subsections_via_symbols
