	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sack_move_to_empty
_sack_move_to_empty:                    ## @sack_move_to_empty
	.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	_SACK_FILTER_BLOCKS@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	cmpl	$2, %ecx
	jl	LBB0_5
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r15
	leal	1(%r14), %eax
	cltd
	idivl	%ecx
	movl	%edx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_sack_blk_used
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	movl	(%r12), %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	incl	%r13d
	decl	%ecx
	movl	%edx, %ebx
	cmpl	%ecx, %r13d
	jl	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movq	8(%r15), %rax
	movslq	%ebx, %rcx
	leaq	(%rax,%rcx,4), %rdi
	movslq	%r14d, %rcx
	leaq	(%rax,%rcx,4), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_sack_blk_clr
	movl	%eax, (%r15)
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_sack_blk_set
	movl	%eax, (%r15)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SACK_FILTER_BLOCKS,4,2         ## @SACK_FILTER_BLOCKS
	.no_dead_strip	_sack_move_to_empty
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sack_move_to_empty
_sack_move_to_empty:                    ; @sack_move_to_empty
	.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
Lloh0:
	adrp	x22, _SACK_FILTER_BLOCKS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SACK_FILTER_BLOCKS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	w23, #0
	add	w9, w1, #1
	sdiv	w10, w9, w8
	msub	w21, w10, w8, w9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_sack_blk_used
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w21, #1
	ldr	w9, [x22]
	sdiv	w10, w8, w9
	msub	w21, w10, w9, w8
	add	w23, w23, #1
	sub	w8, w9, #1
	cmp	w23, w8
	b.lt	LBB0_2
	b	LBB0_5
LBB0_4:
	ldr	x8, [x19, #8]
	add	x0, x8, w21, sxtw #2
	add	x1, x8, w20, sxtw #2
	mov	w2, #4
	bl	_memcpy
	mov	x0, x19
	mov	x1, x20
	bl	_sack_blk_clr
	str	w0, [x19]
	mov	x0, x19
	mov	x1, x21
	bl	_sack_blk_set
	str	w0, [x19]
LBB0_5:
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SACK_FILTER_BLOCKS,4,2         ; @SACK_FILTER_BLOCKS
	.no_dead_strip	_sack_move_to_empty
.subsections_via_symbols
