	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pf_flush_fragments
_pf_flush_fragments:                    ## @pf_flush_fragments
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_PF_FRAG_ASSERT
	movq	_V_pf_frent_z@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_uma_zone_get_cur
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax,8), %eax
	cltq
	imulq	$1717986919, %rax, %rbx         ## imm = 0x66666667
	movq	%rbx, %rax
	shrq	$63, %rax
	sarq	$34, %rbx
	addl	%eax, %ebx
	movslq	%ebx, %r15
	movq	%r15, %rdi
	callq	_DPFPRINTF
	movl	(%r14), %edi
	callq	_uma_zone_get_cur
	cmpl	%eax, %r15d
	jge	LBB0_4
## %bb.1:
	movq	_pf_fragqueue@GOTPCREL(%rip), %r12
	movq	_V_pf_fragqueue@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_TAILQ_LAST
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	callq	_pf_free_fragment
	movl	(%r14), %edi
	callq	_uma_zone_get_cur
	cmpl	%eax, %ebx
	jl	LBB0_2
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_pf_frent_z,4,2               ## @V_pf_frent_z
	.comm	_V_pf_fragqueue,4,2             ## @V_pf_fragqueue
	.comm	_pf_fragqueue,4,2               ## @pf_fragqueue
	.no_dead_strip	_pf_flush_fragments
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pf_flush_fragments
_pf_flush_fragments:                    ; @pf_flush_fragments
	.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
	bl	_PF_FRAG_ASSERT
Lloh0:
	adrp	x20, _V_pf_frent_z@GOTPAGE
Lloh1:
	ldr	x20, [x20, _V_pf_frent_z@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_uma_zone_get_cur
	add	w8, w0, w0, lsl #3
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w21, w8, w9
	sxtw	x0, w21
	bl	_DPFPRINTF
	ldr	w0, [x20]
	bl	_uma_zone_get_cur
	cmp	w21, w0
	b.ge	LBB0_4
; %bb.1:
Lloh2:
	adrp	x22, _pf_fragqueue@GOTPAGE
Lloh3:
	ldr	x22, [x22, _pf_fragqueue@GOTPAGEOFF]
Lloh4:
	adrp	x19, _V_pf_fragqueue@GOTPAGE
Lloh5:
	ldr	x19, [x19, _V_pf_fragqueue@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	bl	_TAILQ_LAST
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_pf_free_fragment
	ldr	w0, [x20]
	bl	_uma_zone_get_cur
	cmp	w21, w0
	b.lt	LBB0_2
LBB0_4:
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_V_pf_frent_z,4,2               ; @V_pf_frent_z
	.comm	_V_pf_fragqueue,4,2             ; @V_pf_fragqueue
	.comm	_pf_fragqueue,4,2               ; @pf_fragqueue
	.no_dead_strip	_pf_flush_fragments
.subsections_via_symbols
