	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_sack_on_board
_is_sack_on_board:                      ## @is_sack_on_board
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	_SACK_FILTER_BLOCKS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_19
## %bb.1:
	movq	%rdi, %r15
	movl	(%rdi), %ebx
	leaq	4(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rcx,%r13,8), %rax
	addq	$4, %rax
	movl	%edi, 4(%r12)
	movq	%r12, %rcx
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	movq	_SACK_FILTER_BLOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	incl	%r14d
	movl	%edx, %ebx
	cmpl	%ecx, %r14d
	jge	LBB0_19
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_sack_blk_used
	testq	%rax, %rax
	je	LBB0_18
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %edi
	movl	16(%r15), %esi
	callq	_SEQ_LT
	movl	16(%r15), %esi
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, (%r13)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	callq	_SEQ_LT
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r15), %eax
	movl	%eax, (%r12)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %esi
	movl	$1, %r12d
	cmpl	%eax, %esi
	je	LBB0_20
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movslq	%ebx, %r13
	movl	(%rax,%r13,8), %edi
	callq	_SEQ_LEQ
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movl	4(%rax,%r13,8), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	callq	_SEQ_GEQ
	testq	%rax, %rax
	jne	LBB0_20
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movl	4(%rax,%r13,8), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	callq	_SEQ_LT
	testq	%rax, %rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%r13,8), %edi
	movl	(%r12), %esi
	callq	_SEQ_GT
	testq	%rax, %rax
	jne	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%r13,8), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	callq	_SEQ_LEQ
	movq	8(%r15), %rcx
	movl	4(%rcx,%r13,8), %edi
	testq	%rax, %rax
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %esi
	callq	_SEQ_GEQ
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rcx
	leaq	(%rcx,%r13,8), %rax
	movl	(%rcx,%r13,8), %ecx
	movl	%ecx, (%r12)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_19:
	movl	4(%r12), %eax
	movq	%r12, %rcx
	xorl	%r12d, %r12d
	cmpl	(%rcx), %eax
	sete	%r12b
LBB0_20:
	movl	%r12d, %eax
	addq	$24, %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	_is_sack_on_board
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_sack_on_board
_is_sack_on_board:                      ; @is_sack_on_board
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
Lloh0:
	adrp	x22, _SACK_FILTER_BLOCKS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SACK_FILTER_BLOCKS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.1:
	mov	x20, x0
	mov	w23, #0
	ldr	w21, [x0]
	add	x24, x19, #4
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	w0, [x19, #4]
	mov	x8, x19
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x8]
	str	w8, [x9]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w21, #1
	ldr	w9, [x22]
	sdiv	w10, w8, w9
	msub	w21, w10, w9, w8
	add	w23, w23, #1
	cmp	w23, w9
	b.ge	LBB0_19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_sack_blk_used
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x24]
	ldr	w1, [x20, #16]
	bl	_SEQ_LT
	ldr	w1, [x20, #16]
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w1, [x24]
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	bl	_SEQ_LT
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x20, #16]
	str	w8, [x19]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19]
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x24]
	cmp	w1, w8
	b.eq	LBB0_20
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #8]
	sxtw	x25, w21
	sbfiz	x9, x21, #3, #32
	ldr	w0, [x8, x9]
	bl	_SEQ_LEQ
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #8]
	add	x8, x8, x25, lsl #3
	ldr	w0, [x8, #4]
	ldr	w1, [x19]
	bl	_SEQ_GEQ
	cbnz	x0, LBB0_20
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #8]
	add	x8, x8, x25, lsl #3
	ldr	w0, [x8, #4]
	ldr	w1, [x24]
	bl	_SEQ_LT
	cbnz	x0, LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #8]
	lsl	x26, x25, #3
	ldr	w0, [x8, x26]
	ldr	w1, [x19]
	bl	_SEQ_GT
	cbnz	x0, LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x26]
	ldr	w1, [x24]
	bl	_SEQ_LEQ
	mov	x8, x0
	ldr	x9, [x20, #8]
	add	x9, x9, x26
	ldr	w0, [x9, #4]!
	cbnz	x8, LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x19]
	bl	_SEQ_GEQ
	cbz	x0, LBB0_4
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #8]
	add	x9, x8, x25, lsl #3
	ldr	w8, [x9]
	str	w8, [x19]
	mov	x8, x24
	b	LBB0_3
LBB0_19:
	ldp	w9, w8, [x19]
	cmp	w8, w9
	cset	w0, eq
	b	LBB0_21
LBB0_20:
	mov	w0, #1
LBB0_21:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 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	_is_sack_on_board
.subsections_via_symbols
