	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_deliver_reasm_check
_sctp_deliver_reasm_check:              ## @sctp_deliver_reasm_check
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	callq	_SCTP_SB_LIMIT_RCV
	movq	_SCTP_PARTIAL_DELIVERY_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	8(%rbx), %rcx
	movq	(%rcx), %rsi
	movl	%eax, %edi
	callq	_min
	jmp	LBB0_3
LBB0_2:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
LBB0_3:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	20(%r14), %r12
	movq	%r12, %rdi
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_16
## %bb.4:
	movq	%rax, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_17
LBB0_5:
	xorl	%r15d, %r15d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	jne	LBB0_57
## %bb.6:
	leaq	L_.str(%rip), %r13
	movq	_next_instrm@GOTPCREL(%rip), %r14
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rbx
	testq	%r15, %r15
	je	LBB0_18
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_SCTP_DEBUG_XXX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rcx
	movq	8(%rbx), %r8
	movl	76(%rbx), %r9d
	movl	72(%rbx), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_SCTPDBG
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_TAILQ_NEXT
	movq	%rax, %r15
	cmpq	$0, (%rbx)
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_sctps_reasmusrmsgs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_STAT_INCR_COUNTER64
	movl	(%r14), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	movq	$0, 16(%rbx)
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, 24(%rbx)
	jne	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi), %rcx
	movq	8(%rsi), %rdi
	movq	(%rbx), %r8
	movq	_SCTP_SO_NOT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdx
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_sctp_add_to_readq
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, 32(%rbx)
	jl	LBB0_7
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	jne	LBB0_7
## %bb.15:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	$1, (%rax)
	movl	$1, 40(%rbx)
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi), %rcx
	movq	8(%rsi), %rdi
	movq	_SCTP_SO_NOT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdx
	xorl	%r8d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_sctp_add_to_readq
	jmp	LBB0_18
LBB0_16:
	xorl	%r15d, %r15d
	cmpq	$0, (%r14)
	jne	LBB0_57
	jmp	LBB0_18
LBB0_17:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_sctp_handle_old_unordered_data
	testq	%rax, %rax
	je	LBB0_5
LBB0_18:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leaq	16(%rbx), %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_TAILQ_FIRST
	cmpq	$0, (%rbx)
	jne	LBB0_30
## %bb.19:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_30
## %bb.20:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	8(%rbx), %rsi
	movq	8(%r15), %rdx
	callq	_SCTP_MID_EQ
	testq	%rax, %rax
	je	LBB0_31
## %bb.21:
	movq	_next_instrm@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_TAILQ_NEXT
	movq	%rax, %r13
	movq	_SCTP_DEBUG_XXX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rcx
	movq	8(%r15), %r8
	movl	76(%r15), %r9d
	movl	72(%r15), %eax
	movq	%rbx, %r12
	movq	8(%rbx), %rdx
	movq	%rdx, 8(%rsp)
	movl	%eax, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_SCTPDBG
	cmpq	$0, (%r15)
	je	LBB0_32
## %bb.22:
	cmpq	$0, 16(%r15)
	je	LBB0_24
## %bb.23:
	movq	_sctps_reasmusrmsgs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_STAT_INCR_COUNTER64
	movl	(%r14), %edx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_TAILQ_REMOVE
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rax
	xorl	%ecx, %ecx
	subq	32(%r15), %rax
	cmovgeq	%rax, %rcx
	movq	%rcx, 8(%rdx)
	movl	16(%rdx), %edi
	callq	_sctp_ucount_decr
	movq	$0, 16(%r15)
LBB0_24:
	movq	%r12, %rbx
	cmpq	$0, (%r12)
	je	LBB0_27
## %bb.25:
	cmpl	$0, 40(%r15)
	je	LBB0_27
## %bb.26:
	movl	$0, 40(%r15)
	movq	$0, (%rbx)
LBB0_27:
	cmpq	$0, 24(%r15)
	jne	LBB0_33
## %bb.28:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi), %rcx
	movq	8(%rsi), %rdi
	movq	(%r15), %r8
	movq	_SCTP_SO_NOT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r15, %rdx
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_sctp_add_to_readq
	jmp	LBB0_33
LBB0_30:
	xorl	%r15d, %r15d
	jmp	LBB0_57
LBB0_31:
	movq	%r15, %r13
	jmp	LBB0_33
LBB0_32:
	movq	%r15, %r13
	movq	%r12, %rbx
LBB0_33:
	xorl	%r15d, %r15d
	cmpq	$0, (%rbx)
	jne	LBB0_57
## %bb.34:
	testq	%r13, %r13
	je	LBB0_57
## %bb.35:
	movq	%rbx, %r14
	movq	8(%rbx), %r12
	incq	%r12
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movq	_SCTP_DEBUG_XXX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13), %rcx
	movq	8(%r13), %r8
	movl	76(%r13), %r9d
	movl	72(%r13), %eax
	movq	%r12, 8(%rsp)
	movl	%eax, (%rsp)
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_SCTPDBG
	movq	_next_instrm@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_TAILQ_NEXT
	movq	%rax, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	8(%r13), %rsi
	movq	%r12, %rdx
	callq	_SCTP_MID_EQ
	testq	%rax, %rax
	je	LBB0_57
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	cmpq	$0, 64(%r13)
	je	LBB0_57
## %bb.38:                              ##   in Loop: Header=BB0_36 Depth=1
	cmpq	$0, (%r13)
	je	LBB0_42
## %bb.39:                              ##   in Loop: Header=BB0_36 Depth=1
	cmpq	$0, 16(%r13)
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	_sctps_reasmusrmsgs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_STAT_INCR_COUNTER64
	movq	_next_instrm@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_TAILQ_REMOVE
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rax
	subq	32(%r13), %rax
	movl	$0, %ecx
	cmovgeq	%rax, %rcx
	movq	%rcx, 8(%rdx)
	movl	16(%rdx), %edi
	callq	_sctp_ucount_decr
	movq	$0, 16(%r13)
LBB0_41:                                ##   in Loop: Header=BB0_36 Depth=1
	incl	%r15d
LBB0_42:                                ##   in Loop: Header=BB0_36 Depth=1
	movl	44(%r13), %eax
	sarl	$8, %eax
	notl	%eax
	movq	_SCTP_DATA_NOT_FRAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_36 Depth=1
	movl	56(%r13), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_sctp_mark_non_revokable
	movq	(%r13), %r8
	testq	%r8, %r8
	jne	LBB0_45
	jmp	LBB0_53
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_36 Depth=1
	movq	(%r13), %r8
	testq	%r8, %r8
	je	LBB0_51
LBB0_45:                                ##   in Loop: Header=BB0_36 Depth=1
	movq	48(%r13), %rax
	cmpq	$0, 24(%r13)
	je	LBB0_48
## %bb.46:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	%r12, 8(%r14)
	testq	%rax, %rax
	je	LBB0_57
## %bb.47:                              ##   in Loop: Header=BB0_36 Depth=1
	testq	%rbx, %rbx
	jne	LBB0_50
	jmp	LBB0_57
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_36 Depth=1
	testq	%rax, %rax
	je	LBB0_55
## %bb.49:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi), %rcx
	movq	8(%rsi), %rdi
	movq	_SCTP_SO_NOT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdx
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_sctp_add_to_readq
	movq	%r12, 8(%r14)
	testq	%rbx, %rbx
	je	LBB0_57
LBB0_50:                                ##   in Loop: Header=BB0_36 Depth=1
	incq	%r12
	movq	%rbx, %r13
	jmp	LBB0_36
LBB0_51:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, 32(%r13)
	jl	LBB0_57
## %bb.52:
	cmpq	$0, (%r14)
	jne	LBB0_57
LBB0_53:
	cmpq	$0, 24(%r13)
	jne	LBB0_56
## %bb.54:
	xorl	%r8d, %r8d
LBB0_55:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rax
	xorl	%ecx, %ecx
	subq	32(%r13), %rax
	cmovgeq	%rax, %rcx
	movq	%rcx, 8(%rdx)
	movq	$1, (%r14)
	movl	$1, 40(%r13)
	movq	(%rsi), %rcx
	movq	8(%rsi), %rdi
	movq	_SCTP_SO_NOT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdx
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_sctp_add_to_readq
LBB0_56:
	movq	%r12, 8(%r14)
LBB0_57:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_PARTIAL_DELIVERY_SHIFT,4,2 ## @SCTP_PARTIAL_DELIVERY_SHIFT
	.comm	_SCTP_DEBUG_XXX,4,2             ## @SCTP_DEBUG_XXX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Looking at control: %p e(%d) ssn: %u top_fsn: %u inc_fsn: %u -uo\n"

	.comm	_next_instrm,4,2                ## @next_instrm
	.comm	_sctps_reasmusrmsgs,4,2         ## @sctps_reasmusrmsgs
	.comm	_SCTP_SO_NOT_LOCKED,4,2         ## @SCTP_SO_NOT_LOCKED
L_.str.1:                               ## @.str.1
	.asciz	"Looking at control: %p e(%d) ssn: %u top_fsn: %u inc_fsn: %u (lastdel: %u)- o\n"

L_.str.2:                               ## @.str.2
	.asciz	"Looking at control: %p e(%d) ssn: %u top_fsn: %u inc_fsn: %u (nxtdel: %u)- o\n"

	.comm	_SCTP_DATA_NOT_FRAG,4,2         ## @SCTP_DATA_NOT_FRAG
	.comm	_SCTP_ON_ORDERED,8,3            ## @SCTP_ON_ORDERED
	.comm	_SCTP_ON_UNORDERED,8,3          ## @SCTP_ON_UNORDERED
	.no_dead_strip	_sctp_deliver_reasm_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_deliver_reasm_check
_sctp_deliver_reasm_check:              ; @sctp_deliver_reasm_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w3, [sp, #20]                   ; 4-byte Folded Spill
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_SCTP_SB_LIMIT_RCV
Lloh0:
	adrp	x8, _SCTP_PARTIAL_DELIVERY_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_PARTIAL_DELIVERY_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	asr	w0, w0, w8
	ldr	x8, [x21, #8]
	ldr	x1, [x8]
	bl	_min
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
LBB0_3:
	add	x24, x19, #20
	mov	x0, x24
	bl	_TAILQ_FIRST
	cbz	x0, LBB0_16
; %bb.4:
	mov	x25, x0
	ldr	x8, [x22]
	cbz	x8, LBB0_19
LBB0_5:
	ldr	x8, [x19]
	cbnz	x8, LBB0_17
; %bb.6:
Lloh3:
	adrp	x20, _SCTP_DEBUG_XXX@GOTPAGE
Lloh4:
	ldr	x20, [x20, _SCTP_DEBUG_XXX@GOTPAGEOFF]
Lloh5:
	adrp	x26, l_.str@PAGE
Lloh6:
	add	x26, x26, l_.str@PAGEOFF
Lloh7:
	adrp	x28, _next_instrm@GOTPAGE
Lloh8:
	ldr	x28, [x28, _next_instrm@GOTPAGEOFF]
Lloh9:
	adrp	x23, _sctps_reasmusrmsgs@GOTPAGE
Lloh10:
	ldr	x23, [x23, _sctps_reasmusrmsgs@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, x27
	cbz	x27, LBB0_20
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldp	x3, x4, [x25]
	ldp	w6, w5, [x25, #72]
	mov	x1, x26
	mov	x2, x25
	bl	_SCTPDBG
	ldr	w1, [x28]
	mov	x0, x25
	bl	_TAILQ_NEXT
	mov	x27, x0
	ldr	x8, [x25]
	cbz	x8, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x25, #16]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x23]
	bl	_SCTP_STAT_INCR_COUNTER64
	ldr	w2, [x28]
	mov	x0, x24
	mov	x1, x25
	bl	_TAILQ_REMOVE
	str	xzr, [x25, #16]
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x25, #24]
	cbnz	x8, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldp	x3, x0, [x21]
	ldr	x4, [x25]
Lloh11:
	adrp	x8, _SCTP_SO_NOT_LOCKED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SCTP_SO_NOT_LOCKED@GOTPAGEOFF]
Lloh13:
	ldr	w6, [x8]
	mov	x1, x21
	mov	x2, x25
	ldr	w5, [sp, #20]                   ; 4-byte Folded Reload
	bl	_sctp_add_to_readq
	b	LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x25, #32]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x8, x9
	b.lt	LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19]
	cbnz	x8, LBB0_7
; %bb.15:
	mov	w8, #1
	str	x8, [x19]
	str	w8, [x25, #40]
	ldp	x3, x0, [x21]
Lloh14:
	adrp	x8, _SCTP_SO_NOT_LOCKED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SCTP_SO_NOT_LOCKED@GOTPAGEOFF]
Lloh16:
	ldr	w6, [x8]
	mov	x1, x21
	mov	x2, x25
	mov	x4, #0
	ldr	w5, [sp, #20]                   ; 4-byte Folded Reload
	bl	_sctp_add_to_readq
	b	LBB0_20
LBB0_16:
	ldr	x8, [x19]
	cbz	x8, LBB0_20
LBB0_17:
	mov	w26, #0
LBB0_18:
	mov	x0, x26
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_19:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	mov	x3, x25
	ldr	x4, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w5, [sp, #20]                   ; 4-byte Folded Reload
	bl	_sctp_handle_old_unordered_data
	cbz	x0, LBB0_5
LBB0_20:
	add	x24, x19, #16
	mov	x0, x24
	bl	_TAILQ_FIRST
	mov	w26, #0
	ldr	x8, [x19]
	cbnz	x8, LBB0_18
; %bb.21:
	mov	x27, x0
	cbz	x0, LBB0_18
; %bb.22:
	ldr	x0, [x22]
	ldr	x1, [x19, #8]
	ldr	x2, [x27, #8]
	bl	_SCTP_MID_EQ
	cbz	x0, LBB0_31
; %bb.23:
Lloh17:
	adrp	x20, _next_instrm@GOTPAGE
Lloh18:
	ldr	x20, [x20, _next_instrm@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x27
	bl	_TAILQ_NEXT
	mov	x25, x0
Lloh19:
	adrp	x8, _SCTP_DEBUG_XXX@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SCTP_DEBUG_XXX@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldp	x3, x4, [x27]
	ldp	w6, w5, [x27, #72]
	ldr	x8, [x19, #8]
	str	x8, [sp]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x27
	bl	_SCTPDBG
	ldr	x8, [x27]
	cbz	x8, LBB0_31
; %bb.24:
	ldr	x8, [x27, #16]
	cbz	x8, LBB0_26
; %bb.25:
Lloh24:
	adrp	x8, _sctps_reasmusrmsgs@GOTPAGE
Lloh25:
	ldr	x8, [x8, _sctps_reasmusrmsgs@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_SCTP_STAT_INCR_COUNTER64
	ldr	w2, [x20]
	mov	x0, x24
	mov	x1, x27
	bl	_TAILQ_REMOVE
	ldr	x8, [x22, #8]
	ldr	x9, [x27, #32]
	subs	x8, x8, x9
	csel	x8, xzr, x8, lt
	str	x8, [x22, #8]
	ldr	w0, [x22, #16]
	bl	_sctp_ucount_decr
	str	xzr, [x27, #16]
LBB0_26:
	ldr	x8, [x19]
	cbz	x8, LBB0_29
; %bb.27:
	ldr	w8, [x27, #40]
	cbz	w8, LBB0_29
; %bb.28:
	str	wzr, [x27, #40]
	str	xzr, [x19]
LBB0_29:
	ldr	x8, [x27, #24]
	cbnz	x8, LBB0_32
; %bb.30:
	ldp	x3, x0, [x21]
	ldr	x4, [x27]
Lloh27:
	adrp	x8, _SCTP_SO_NOT_LOCKED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SCTP_SO_NOT_LOCKED@GOTPAGEOFF]
Lloh29:
	ldr	w6, [x8]
	mov	x1, x21
	mov	x2, x27
	ldr	w5, [sp, #20]                   ; 4-byte Folded Reload
	bl	_sctp_add_to_readq
	b	LBB0_32
LBB0_31:
	mov	x25, x27
LBB0_32:
	mov	w26, #0
	ldr	x8, [x19]
	cbnz	x8, LBB0_18
; %bb.33:
	cbz	x25, LBB0_18
; %bb.34:
	mov	w26, #0
	ldr	x8, [x19, #8]
	add	x27, x8, #1
Lloh30:
	adrp	x23, _SCTP_DEBUG_XXX@GOTPAGE
Lloh31:
	ldr	x23, [x23, _SCTP_DEBUG_XXX@GOTPAGEOFF]
Lloh32:
	adrp	x20, _SCTP_SO_NOT_LOCKED@GOTPAGE
Lloh33:
	ldr	x20, [x20, _SCTP_SO_NOT_LOCKED@GOTPAGEOFF]
	b	LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=1
	add	x27, x27, #1
	mov	x25, x28
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	ldp	x3, x4, [x25]
	ldp	w6, w5, [x25, #72]
	str	x27, [sp]
Lloh34:
	adrp	x1, l_.str.2@PAGE
Lloh35:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x25
	bl	_SCTPDBG
Lloh36:
	adrp	x8, _next_instrm@GOTPAGE
Lloh37:
	ldr	x8, [x8, _next_instrm@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_TAILQ_NEXT
	mov	x28, x0
	ldr	x0, [x22]
	ldr	x1, [x25, #8]
	mov	x2, x27
	bl	_SCTP_MID_EQ
	cbz	x0, LBB0_18
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=1
	ldr	x8, [x25, #64]
	cbz	x8, LBB0_18
; %bb.38:                               ;   in Loop: Header=BB0_36 Depth=1
	ldr	x8, [x25]
	cbz	x8, LBB0_42
; %bb.39:                               ;   in Loop: Header=BB0_36 Depth=1
	ldr	x8, [x25, #16]
	cbz	x8, LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_36 Depth=1
Lloh39:
	adrp	x8, _sctps_reasmusrmsgs@GOTPAGE
Lloh40:
	ldr	x8, [x8, _sctps_reasmusrmsgs@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_SCTP_STAT_INCR_COUNTER64
Lloh42:
	adrp	x8, _next_instrm@GOTPAGE
Lloh43:
	ldr	x8, [x8, _next_instrm@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	mov	x0, x24
	mov	x1, x25
	bl	_TAILQ_REMOVE
	ldr	x8, [x22, #8]
	ldr	x9, [x25, #32]
	subs	x8, x8, x9
	csel	x8, xzr, x8, lt
	str	x8, [x22, #8]
	ldr	w0, [x22, #16]
	bl	_sctp_ucount_decr
	str	xzr, [x25, #16]
LBB0_41:                                ;   in Loop: Header=BB0_36 Depth=1
	add	w26, w26, #1
LBB0_42:                                ;   in Loop: Header=BB0_36 Depth=1
	ldr	w8, [x25, #44]
Lloh45:
	adrp	x9, _SCTP_DATA_NOT_FRAG@GOTPAGE
Lloh46:
	ldr	x9, [x9, _SCTP_DATA_NOT_FRAG@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	bics	wzr, w9, w8, asr #8
	b.ne	LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_36 Depth=1
	ldr	w1, [x25, #56]
	mov	x0, x22
	bl	_sctp_mark_non_revokable
	ldr	x4, [x25]
	cbnz	x4, LBB0_45
	b	LBB0_52
LBB0_44:                                ;   in Loop: Header=BB0_36 Depth=1
	ldr	x4, [x25]
	cbz	x4, LBB0_50
LBB0_45:                                ;   in Loop: Header=BB0_36 Depth=1
	ldr	x8, [x25, #48]
	ldr	x9, [x25, #24]
	cbz	x9, LBB0_48
; %bb.46:                               ;   in Loop: Header=BB0_36 Depth=1
	str	x27, [x19, #8]
	cbz	x8, LBB0_18
; %bb.47:                               ;   in Loop: Header=BB0_36 Depth=1
	cbnz	x28, LBB0_35
	b	LBB0_18
LBB0_48:                                ;   in Loop: Header=BB0_36 Depth=1
	cbz	x8, LBB0_54
; %bb.49:                               ;   in Loop: Header=BB0_36 Depth=1
	ldp	x3, x0, [x21]
	ldr	w6, [x20]
	mov	x1, x21
	mov	x2, x25
	ldr	w5, [sp, #20]                   ; 4-byte Folded Reload
	bl	_sctp_add_to_readq
	str	x27, [x19, #8]
	cbnz	x28, LBB0_35
	b	LBB0_18
LBB0_50:
	ldr	x8, [x25, #32]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x8, x9
	b.lt	LBB0_18
; %bb.51:
	ldr	x8, [x19]
	cbnz	x8, LBB0_18
LBB0_52:
	ldr	x8, [x25, #24]
	cbnz	x8, LBB0_55
; %bb.53:
	mov	x4, #0
LBB0_54:
	ldr	x8, [x22, #8]
	ldr	x9, [x25, #32]
	subs	x8, x8, x9
	csel	x8, xzr, x8, lt
	str	x8, [x22, #8]
	mov	w8, #1
	str	x8, [x19]
	str	w8, [x25, #40]
	ldp	x3, x0, [x21]
	ldr	w6, [x20]
	mov	x1, x21
	mov	x2, x25
	ldr	w5, [sp, #20]                   ; 4-byte Folded Reload
	bl	_sctp_add_to_readq
LBB0_55:
	str	x27, [x19, #8]
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_PARTIAL_DELIVERY_SHIFT,4,2 ; @SCTP_PARTIAL_DELIVERY_SHIFT
	.comm	_SCTP_DEBUG_XXX,4,2             ; @SCTP_DEBUG_XXX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Looking at control: %p e(%d) ssn: %u top_fsn: %u inc_fsn: %u -uo\n"

	.comm	_next_instrm,4,2                ; @next_instrm
	.comm	_sctps_reasmusrmsgs,4,2         ; @sctps_reasmusrmsgs
	.comm	_SCTP_SO_NOT_LOCKED,4,2         ; @SCTP_SO_NOT_LOCKED
l_.str.1:                               ; @.str.1
	.asciz	"Looking at control: %p e(%d) ssn: %u top_fsn: %u inc_fsn: %u (lastdel: %u)- o\n"

l_.str.2:                               ; @.str.2
	.asciz	"Looking at control: %p e(%d) ssn: %u top_fsn: %u inc_fsn: %u (nxtdel: %u)- o\n"

	.comm	_SCTP_DATA_NOT_FRAG,4,2         ; @SCTP_DATA_NOT_FRAG
	.comm	_SCTP_ON_ORDERED,8,3            ; @SCTP_ON_ORDERED
	.comm	_SCTP_ON_UNORDERED,8,3          ; @SCTP_ON_UNORDERED
	.no_dead_strip	_sctp_deliver_reasm_check
.subsections_via_symbols
