	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_handle_stream_reset_response
_sctp_handle_stream_reset_response:     ## @sctp_handle_stream_reset_response
	.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
	xorl	%r14d, %r14d
	cmpq	$0, (%rdi)
	je	LBB0_70
## %bb.1:
	movq	%rdi, %r13
	cmpq	%rsi, 8(%rdi)
	jne	LBB0_68
## %bb.2:
	movq	%rcx, %r15
	movq	%rdx, %r12
	leaq	-64(%rbp), %rdx
	movq	%r13, %rdi
	callq	_sctp_find_stream_reset
	testq	%rax, %rax
	je	LBB0_68
## %bb.3:
	movq	%rax, %rbx
	incq	8(%r13)
	movl	4(%rax), %edi
	callq	_ntohs
	movslq	%eax, %r14
	movl	(%rbx), %edi
	callq	_ntohs
	movq	_SCTP_STR_RESET_OUT_REQUEST@GOTPCREL(%rip), %rcx
	cmpq	%r14, (%rcx)
	jne	LBB0_6
## %bb.4:
	movslq	%eax, %r15
	addq	$-8, %r15
	movl	$0, 16(%r13)
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.5:
	leaq	-1(%rax), %rcx
	movq	%rcx, (%r13)
	jmp	LBB0_19
LBB0_6:
	movq	_SCTP_STR_RESET_IN_REQUEST@GOTPCREL(%rip), %rcx
	cmpq	%r14, (%rcx)
	jne	LBB0_11
## %bb.7:
	movslq	%eax, %rdx
	addq	$-8, %rdx
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	decq	%rax
	movq	%rax, (%r13)
LBB0_9:
	shrq	$3, %rdx
	movq	_SCTP_STREAM_RESET_RESULT_DENIED@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	movl	$0, %r14d
	jne	LBB0_23
## %bb.10:
	movq	_SCTP_NOTIFY_STR_RESET_DENIED_IN@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_11:
	movq	_SCTP_STR_RESET_ADD_OUT_STREAMS@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_26
## %bb.12:
	movl	20(%r13), %eax
	movl	24(%r13), %ecx
	movslq	28(%r13), %rdx
	subl	%edx, %ecx
	cmpl	%ecx, %eax
	cmovll	%eax, %ecx
	movl	$0, 20(%r13)
	movq	(%r13), %rax
	testq	%rax, %rax
	movl	$0, %r14d
	je	LBB0_14
## %bb.13:
	decq	%rax
	movq	%rax, (%r13)
LBB0_14:
	movq	_SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_33
## %bb.15:
	leal	(%rcx,%rdx), %r11d
	testl	%ecx, %ecx
	jle	LBB0_64
## %bb.16:
	movq	112(%r13), %rcx
	movslq	%r11d, %rsi
	leaq	1(%rdx), %rax
	cmpq	%rsi, %rax
	movq	%rsi, %r14
	cmovgq	%rax, %r14
	subq	%rdx, %r14
	cmpq	$8, %r14
	jb	LBB0_17
## %bb.49:
	cmpq	%rsi, %rax
	cmovleq	%rsi, %rax
	leaq	(%rcx,%rdx,4), %rdi
	movq	_SCTP_STREAM_OPEN@GOTPCREL(%rip), %r8
	leaq	4(%r8), %rbx
	cmpq	%rbx, %rdi
	jae	LBB0_52
## %bb.50:
	leaq	(%rcx,%rax,4), %rax
	cmpq	_SCTP_STREAM_OPEN@GOTPCREL(%rip), %rax
	jbe	LBB0_52
LBB0_17:
	xorl	%r14d, %r14d
LBB0_62:
	movq	_SCTP_STREAM_OPEN@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_63:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edi
	movl	%edi, (%rcx,%rdx,4)
	incq	%rdx
	cmpq	%rsi, %rdx
	jl	LBB0_63
LBB0_64:
	movl	%r11d, 28(%r13)
	movl	104(%r13), %esi
	movq	%r13, %rdi
	movl	%r11d, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_65
LBB0_18:
	movl	$1, %eax
LBB0_19:
	xorl	%r14d, %r14d
	shrq	$3, %r15
	movq	_SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPCREL(%rip), %rcx
	cmpq	%r12, (%rcx)
	jne	LBB0_21
## %bb.20:
	movq	(%rbx), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_sctp_reset_out_streams
	jmp	LBB0_43
LBB0_21:
	movq	_SCTP_STREAM_RESET_RESULT_DENIED@GOTPCREL(%rip), %rcx
	cmpq	%r12, (%rcx)
	jne	LBB0_31
## %bb.22:
	movq	_SCTP_NOTIFY_STR_RESET_DENIED_OUT@GOTPCREL(%rip), %rax
	jmp	LBB0_42
LBB0_23:
	movq	_SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	je	LBB0_66
## %bb.24:
	movq	_SCTP_NOTIFY_STR_RESET_FAILED_IN@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %edi
	movq	(%rbx), %rcx
	movq	_SCTP_SO_NOT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rsi
	callq	_sctp_ulp_notify
	jmp	LBB0_66
LBB0_26:
	movq	_SCTP_STR_RESET_ADD_IN_STREAMS@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_35
## %bb.27:
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	decq	%rax
	movq	%rax, (%r13)
LBB0_29:
	movq	_SCTP_STREAM_RESET_RESULT_DENIED@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	movl	$0, %r14d
	jne	LBB0_44
## %bb.30:
	movl	28(%r13), %edx
	movl	104(%r13), %esi
	movq	_SCTP_STREAM_CHANGE_DENIED@GOTPCREL(%rip), %rax
	jmp	LBB0_46
LBB0_31:
	movq	_SCTP_STREAM_RESET_RESULT_IN_PROGRESS@GOTPCREL(%rip), %rcx
	cmpq	%r12, (%rcx)
	jne	LBB0_41
## %bb.32:
	movq	%rax, (%r13)
	decq	8(%r13)
	movl	$1, 16(%r13)
	jmp	LBB0_70
LBB0_33:
	movq	_SCTP_STREAM_RESET_RESULT_DENIED@GOTPCREL(%rip), %rax
	movl	104(%r13), %esi
	cmpq	%r12, (%rax)
	jne	LBB0_47
## %bb.34:
	movq	_SCTP_STREAM_CHANGE_DENIED@GOTPCREL(%rip), %rax
	jmp	LBB0_48
LBB0_35:
	movq	_SCTP_STR_RESET_TSN_REQUEST@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	movl	$0, %r14d
	jne	LBB0_66
## %bb.36:
	movl	$0, -44(%rbp)
	xorl	%ebx, %ebx
	testq	%r15, %r15
	je	LBB0_40
## %bb.37:
	movl	(%r15), %edi
	callq	_ntohs
	cmpl	$8, %eax
	jb	LBB0_40
## %bb.38:
	movq	_SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_55
## %bb.39:
	decq	(%r13)
	movl	$12, %edi
	callq	_htons
	movl	%eax, -48(%rbp)
	movq	_SCTP_FORWARD_CUM_TSN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	4(%r15), %edi
	callq	_ntohl
	leaq	-1(%rax), %rdi
	callq	_htonl
	movl	%eax, -56(%rbp)
	leaq	-56(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sctp_handle_forward_tsn
	movl	$1, %ebx
	cmpl	$0, -44(%rbp)
	je	LBB0_73
LBB0_40:
	movl	%ebx, %r14d
	jmp	LBB0_70
LBB0_41:
	movq	_SCTP_NOTIFY_STR_RESET_FAILED_OUT@GOTPCREL(%rip), %rax
LBB0_42:
	movl	(%rax), %edi
	movq	(%rbx), %rcx
	movq	_SCTP_SO_NOT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_sctp_ulp_notify
LBB0_43:
	movq	(%rbx), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_sctp_reset_clear_pending
	jmp	LBB0_66
LBB0_44:
	movq	_SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	je	LBB0_66
## %bb.45:
	movl	28(%r13), %edx
	movl	104(%r13), %esi
	movq	_SCTP_STREAM_CHANGE_FAILED@GOTPCREL(%rip), %rax
LBB0_46:
	movl	(%rax), %ecx
	movq	%r13, %rdi
	jmp	LBB0_65
LBB0_47:
	movq	_SCTP_STREAM_CHANGE_FAILED@GOTPCREL(%rip), %rax
LBB0_48:
	movl	(%rax), %ecx
	movq	%r13, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
LBB0_65:
	callq	_sctp_notify_stream_reset_add
LBB0_66:
	cmpq	$0, (%r13)
	jne	LBB0_70
## %bb.67:
	movq	%r13, %rdi
	callq	_sctp_clean_up_stream_reset
LBB0_68:
	cmpq	$0, (%r13)
	jne	LBB0_70
## %bb.69:
	movq	_SCTP_SO_NOT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_sctp_send_stream_reset_out_if_possible
LBB0_70:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_52:
	movq	%r14, %r9
	andq	$-8, %r9
	leaq	-8(%r9), %rax
	movq	%rax, %r10
	shrq	$3, %r10
	incq	%r10
	testq	%rax, %rax
	je	LBB0_57
## %bb.53:
	movq	%r10, %rax
	andq	$-2, %rax
	movd	(%r8), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	(%rcx,%rdx,4), %rdi
	addq	$48, %rdi
	xorl	%ebx, %ebx
LBB0_54:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -48(%rdi,%rbx,4)
	movdqu	%xmm0, -32(%rdi,%rbx,4)
	movdqu	%xmm0, -16(%rdi,%rbx,4)
	movdqu	%xmm0, (%rdi,%rbx,4)
	addq	$16, %rbx
	addq	$-2, %rax
	jne	LBB0_54
	jmp	LBB0_58
LBB0_55:
	movq	_SCTP_STREAM_RESET_RESULT_DENIED@GOTPCREL(%rip), %rax
	movq	32(%r13), %rdx
	movq	40(%r13), %rsi
	incq	%rdx
	cmpq	%r12, (%rax)
	jne	LBB0_71
## %bb.56:
	movq	_SCTP_ASSOC_RESET_DENIED@GOTPCREL(%rip), %rax
	jmp	LBB0_72
LBB0_57:
	xorl	%ebx, %ebx
LBB0_58:
	testb	$1, %r10b
	je	LBB0_60
## %bb.59:
	addq	%rdx, %rbx
	movd	(%r8), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqu	%xmm0, (%rcx,%rbx,4)
	movdqu	%xmm0, 16(%rcx,%rbx,4)
LBB0_60:
	cmpq	%r9, %r14
	movl	$0, %r14d
	je	LBB0_64
## %bb.61:
	addq	%r9, %rdx
	jmp	LBB0_62
LBB0_71:
	movq	_SCTP_ASSOC_RESET_FAILED@GOTPCREL(%rip), %rax
LBB0_72:
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_sctp_notify_stream_reset_tsn
	jmp	LBB0_66
LBB0_73:
	movl	4(%r15), %edi
	callq	_ntohl
	decq	%rax
	movq	%rax, 72(%r13)
	movq	_sctp_logging_level@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_BASE_SYSCTL
	movq	_SCTP_MAP_LOGGING_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_75
## %bb.74:
	movq	72(%r13), %rdx
	movq	_SCTP_MAP_SLIDE_RESULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movl	$7, %esi
	callq	_sctp_log_map
LBB0_75:
	movq	72(%r13), %rax
	movq	%rax, 48(%r13)
	movq	%rax, 96(%r13)
	movl	4(%r15), %edi
	callq	_ntohl
	movq	%rax, 32(%r13)
	movl	64(%r13), %edx
	movl	88(%r13), %edi
	xorl	%esi, %esi
	callq	_memset
	movq	72(%r13), %rax
	movq	%rax, 80(%r13)
	movl	64(%r13), %edx
	movl	68(%r13), %edi
	xorl	%esi, %esi
	callq	_memset
	movl	(%r15), %edi
	callq	_ntohl
	movq	%rax, 40(%r13)
	movq	48(%r13), %rax
	movq	%rax, 56(%r13)
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_sctp_reset_out_streams
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_sctp_reset_in_stream
	movq	32(%r13), %rdx
	movq	40(%r13), %rsi
	incq	%rdx
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	callq	_sctp_notify_stream_reset_tsn
	jmp	LBB0_66
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_STR_RESET_OUT_REQUEST,8,3 ## @SCTP_STR_RESET_OUT_REQUEST
	.comm	_SCTP_STREAM_RESET_RESULT_PERFORMED,8,3 ## @SCTP_STREAM_RESET_RESULT_PERFORMED
	.comm	_SCTP_STREAM_RESET_RESULT_DENIED,8,3 ## @SCTP_STREAM_RESET_RESULT_DENIED
	.comm	_SCTP_NOTIFY_STR_RESET_DENIED_OUT,4,2 ## @SCTP_NOTIFY_STR_RESET_DENIED_OUT
	.comm	_SCTP_SO_NOT_LOCKED,4,2         ## @SCTP_SO_NOT_LOCKED
	.comm	_SCTP_STREAM_RESET_RESULT_IN_PROGRESS,8,3 ## @SCTP_STREAM_RESET_RESULT_IN_PROGRESS
	.comm	_SCTP_NOTIFY_STR_RESET_FAILED_OUT,4,2 ## @SCTP_NOTIFY_STR_RESET_FAILED_OUT
	.comm	_SCTP_STR_RESET_IN_REQUEST,8,3  ## @SCTP_STR_RESET_IN_REQUEST
	.comm	_SCTP_NOTIFY_STR_RESET_DENIED_IN,4,2 ## @SCTP_NOTIFY_STR_RESET_DENIED_IN
	.comm	_SCTP_NOTIFY_STR_RESET_FAILED_IN,4,2 ## @SCTP_NOTIFY_STR_RESET_FAILED_IN
	.comm	_SCTP_STR_RESET_ADD_OUT_STREAMS,8,3 ## @SCTP_STR_RESET_ADD_OUT_STREAMS
	.comm	_SCTP_STREAM_OPEN,4,2           ## @SCTP_STREAM_OPEN
	.comm	_SCTP_STREAM_CHANGE_DENIED,4,2  ## @SCTP_STREAM_CHANGE_DENIED
	.comm	_SCTP_STREAM_CHANGE_FAILED,4,2  ## @SCTP_STREAM_CHANGE_FAILED
	.comm	_SCTP_STR_RESET_ADD_IN_STREAMS,8,3 ## @SCTP_STR_RESET_ADD_IN_STREAMS
	.comm	_SCTP_STR_RESET_TSN_REQUEST,8,3 ## @SCTP_STR_RESET_TSN_REQUEST
	.comm	_SCTP_FORWARD_CUM_TSN,4,2       ## @SCTP_FORWARD_CUM_TSN
	.comm	_sctp_logging_level,4,2         ## @sctp_logging_level
	.comm	_SCTP_MAP_LOGGING_ENABLE,4,2    ## @SCTP_MAP_LOGGING_ENABLE
	.comm	_SCTP_MAP_SLIDE_RESULT,4,2      ## @SCTP_MAP_SLIDE_RESULT
	.comm	_SCTP_ASSOC_RESET_DENIED,4,2    ## @SCTP_ASSOC_RESET_DENIED
	.comm	_SCTP_ASSOC_RESET_FAILED,4,2    ## @SCTP_ASSOC_RESET_FAILED
	.no_dead_strip	_sctp_handle_stream_reset_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_handle_stream_reset_response
_sctp_handle_stream_reset_response:     ; @sctp_handle_stream_reset_response
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_60
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cmp	x8, x1
	b.ne	LBB0_58
; %bb.2:
	mov	x21, x3
	mov	x20, x2
	add	x2, sp, #24
	mov	x0, x19
	bl	_sctp_find_stream_reset
	cbz	x0, LBB0_58
; %bb.3:
	mov	x22, x0
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	ldr	w0, [x0, #4]
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x23, w0
	ldr	w0, [x22]
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _SCTP_STR_RESET_OUT_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_STR_RESET_OUT_REQUEST@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_6
; %bb.4:
	sxtw	x8, w0
	sub	x8, x8, #8
	lsr	x21, x8, #3
	str	wzr, [x19, #16]
	ldr	x8, [x19]
	cbz	x8, LBB0_24
; %bb.5:
	sub	x9, x8, #1
	str	x9, [x19]
	b	LBB0_25
LBB0_6:
Lloh3:
	adrp	x8, _SCTP_STR_RESET_IN_REQUEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCTP_STR_RESET_IN_REQUEST@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_11
; %bb.7:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	sxtw	x8, w0
	sub	x8, x8, #8
	lsr	x2, x8, #3
	ldr	x8, [x19]
	cbz	x8, LBB0_9
; %bb.8:
	sub	x8, x8, #1
	str	x8, [x19]
LBB0_9:
Lloh6:
	adrp	x8, _SCTP_STREAM_RESET_RESULT_DENIED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SCTP_STREAM_RESET_RESULT_DENIED@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_29
; %bb.10:
Lloh9:
	adrp	x8, _SCTP_NOTIFY_STR_RESET_DENIED_IN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SCTP_NOTIFY_STR_RESET_DENIED_IN@GOTPAGEOFF]
	b	LBB0_31
LBB0_11:
Lloh11:
	adrp	x8, _SCTP_STR_RESET_ADD_OUT_STREAMS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SCTP_STR_RESET_ADD_OUT_STREAMS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_32
; %bb.12:
	ldp	w8, w9, [x19, #20]
	ldrsw	x2, [x19, #28]
	sub	w9, w9, w2
	cmp	w8, w9
	csel	w9, w8, w9, lt
	str	wzr, [x19, #20]
	ldr	x8, [x19]
	cbz	x8, LBB0_14
; %bb.13:
	sub	x8, x8, #1
	str	x8, [x19]
LBB0_14:
Lloh14:
	adrp	x8, _SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_39
; %bb.15:
	add	w8, w9, w2
	cmp	w9, #1
	b.lt	LBB0_23
; %bb.16:
	ldr	x9, [x19, #112]
	sxtw	x10, w8
	add	x13, x2, #1
	cmp	x13, x10
	csinc	x11, x10, x2, le
	sub	x12, x11, x2
Lloh17:
	adrp	x11, _SCTP_STREAM_OPEN@GOTPAGE
Lloh18:
	ldr	x11, [x11, _SCTP_STREAM_OPEN@GOTPAGEOFF]
	cmp	x12, #16
	b.lo	LBB0_22
; %bb.17:
	add	x14, x9, x2, lsl #2
	cmp	x13, x10
	csinc	x13, x10, x2, le
	add	x15, x11, #4
	cmp	x14, x15
	b.hs	LBB0_19
; %bb.18:
	add	x13, x9, x13, lsl #2
	cmp	x13, x11
	b.hi	LBB0_22
LBB0_19:
	and	x13, x12, #0xfffffffffffffff0
	add	x2, x13, x2
	ld1r.4s	{ v0 }, [x11]
	add	x14, x14, #32
	mov	x15, x13
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x14, #-32]
	stp	q0, q0, [x14], #64
	subs	x15, x15, #16
	b.ne	LBB0_20
; %bb.21:
	cmp	x12, x13
	b.eq	LBB0_23
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	str	w12, [x9, x2, lsl #2]
	add	x2, x2, #1
	cmp	x2, x10
	b.lt	LBB0_22
LBB0_23:
	str	w8, [x19, #28]
	ldr	w1, [x19, #104]
	mov	x0, x19
	mov	x2, x8
	mov	w3, #0
	b	LBB0_55
LBB0_24:
	mov	w8, #1
LBB0_25:
Lloh19:
	adrp	x9, _SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPAGE
Lloh20:
	ldr	x9, [x9, _SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x20
	b.ne	LBB0_27
; %bb.26:
	ldr	x2, [x22]
	mov	x0, x19
	mov	x1, x21
	bl	_sctp_reset_out_streams
	b	LBB0_49
LBB0_27:
Lloh22:
	adrp	x9, _SCTP_STREAM_RESET_RESULT_DENIED@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SCTP_STREAM_RESET_RESULT_DENIED@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x20
	b.ne	LBB0_37
; %bb.28:
Lloh25:
	adrp	x8, _SCTP_NOTIFY_STR_RESET_DENIED_OUT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SCTP_NOTIFY_STR_RESET_DENIED_OUT@GOTPAGEOFF]
	b	LBB0_48
LBB0_29:
Lloh27:
	adrp	x8, _SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x8, x20
	b.eq	LBB0_56
; %bb.30:
Lloh30:
	adrp	x8, _SCTP_NOTIFY_STR_RESET_FAILED_IN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SCTP_NOTIFY_STR_RESET_FAILED_IN@GOTPAGEOFF]
LBB0_31:
	ldr	w0, [x8]
	ldr	x3, [x22]
Lloh32:
	adrp	x8, _SCTP_SO_NOT_LOCKED@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SCTP_SO_NOT_LOCKED@GOTPAGEOFF]
Lloh34:
	ldr	w4, [x8]
	mov	x1, x19
	bl	_sctp_ulp_notify
	b	LBB0_56
LBB0_32:
Lloh35:
	adrp	x8, _SCTP_STR_RESET_ADD_IN_STREAMS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SCTP_STR_RESET_ADD_IN_STREAMS@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_41
; %bb.33:
	ldr	x8, [x19]
	cbz	x8, LBB0_35
; %bb.34:
	sub	x8, x8, #1
	str	x8, [x19]
LBB0_35:
Lloh38:
	adrp	x8, _SCTP_STREAM_RESET_RESULT_DENIED@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SCTP_STREAM_RESET_RESULT_DENIED@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_50
; %bb.36:
	ldr	w1, [x19, #104]
	ldr	w2, [x19, #28]
Lloh41:
	adrp	x8, _SCTP_STREAM_CHANGE_DENIED@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SCTP_STREAM_CHANGE_DENIED@GOTPAGEOFF]
	b	LBB0_52
LBB0_37:
Lloh43:
	adrp	x9, _SCTP_STREAM_RESET_RESULT_IN_PROGRESS@GOTPAGE
Lloh44:
	ldr	x9, [x9, _SCTP_STREAM_RESET_RESULT_IN_PROGRESS@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x20
	b.ne	LBB0_47
; %bb.38:
	mov	w0, #0
	ldr	x9, [x19, #8]
	sub	x9, x9, #1
	stp	x8, x9, [x19]
	mov	w8, #1
	str	w8, [x19, #16]
	b	LBB0_61
LBB0_39:
Lloh46:
	adrp	x8, _SCTP_STREAM_RESET_RESULT_DENIED@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SCTP_STREAM_RESET_RESULT_DENIED@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	ldr	w1, [x19, #104]
	cmp	x8, x20
	b.ne	LBB0_53
; %bb.40:
Lloh49:
	adrp	x8, _SCTP_STREAM_CHANGE_DENIED@GOTPAGE
Lloh50:
	ldr	x8, [x8, _SCTP_STREAM_CHANGE_DENIED@GOTPAGEOFF]
	b	LBB0_54
LBB0_41:
Lloh51:
	adrp	x8, _SCTP_STR_RESET_TSN_REQUEST@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SCTP_STR_RESET_TSN_REQUEST@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_56
; %bb.42:
	str	wzr, [sp, #4]
	cbz	x21, LBB0_60
; %bb.43:
	ldr	w0, [x21]
	bl	_ntohs
	cmp	w0, #8
	b.lo	LBB0_60
; %bb.44:
Lloh54:
	adrp	x8, _SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPAGE
Lloh55:
	ldr	x8, [x8, _SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_62
; %bb.45:
	ldr	x8, [x19]
	sub	x8, x8, #1
	str	x8, [x19]
	mov	w0, #12
	bl	_htons
Lloh57:
	adrp	x8, _SCTP_FORWARD_CUM_TSN@GOTPAGE
Lloh58:
	ldr	x8, [x8, _SCTP_FORWARD_CUM_TSN@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	stp	w8, w0, [sp, #12]
	ldr	w0, [x21, #4]
	bl	_ntohl
	sub	x0, x0, #1
	bl	_htonl
	str	w0, [sp, #8]
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x19
	mov	x3, #0
	mov	w4, #0
	bl	_sctp_handle_forward_tsn
	ldr	w8, [sp, #4]
	cbz	w8, LBB0_66
; %bb.46:
	mov	w0, #1
	b	LBB0_61
LBB0_47:
Lloh60:
	adrp	x8, _SCTP_NOTIFY_STR_RESET_FAILED_OUT@GOTPAGE
Lloh61:
	ldr	x8, [x8, _SCTP_NOTIFY_STR_RESET_FAILED_OUT@GOTPAGEOFF]
LBB0_48:
	ldr	w0, [x8]
	ldr	x3, [x22]
Lloh62:
	adrp	x8, _SCTP_SO_NOT_LOCKED@GOTPAGE
Lloh63:
	ldr	x8, [x8, _SCTP_SO_NOT_LOCKED@GOTPAGEOFF]
Lloh64:
	ldr	w4, [x8]
	mov	x1, x19
	mov	x2, x21
	bl	_sctp_ulp_notify
LBB0_49:
	ldr	x2, [x22]
	mov	x0, x19
	mov	x1, x21
	bl	_sctp_reset_clear_pending
	b	LBB0_56
LBB0_50:
Lloh65:
	adrp	x8, _SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPAGE
Lloh66:
	ldr	x8, [x8, _SCTP_STREAM_RESET_RESULT_PERFORMED@GOTPAGEOFF]
Lloh67:
	ldr	x8, [x8]
	cmp	x8, x20
	b.eq	LBB0_56
; %bb.51:
	ldr	w1, [x19, #104]
	ldr	w2, [x19, #28]
Lloh68:
	adrp	x8, _SCTP_STREAM_CHANGE_FAILED@GOTPAGE
Lloh69:
	ldr	x8, [x8, _SCTP_STREAM_CHANGE_FAILED@GOTPAGEOFF]
LBB0_52:
	ldr	w3, [x8]
	mov	x0, x19
	b	LBB0_55
LBB0_53:
Lloh70:
	adrp	x8, _SCTP_STREAM_CHANGE_FAILED@GOTPAGE
Lloh71:
	ldr	x8, [x8, _SCTP_STREAM_CHANGE_FAILED@GOTPAGEOFF]
LBB0_54:
	ldr	w3, [x8]
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
LBB0_55:
	bl	_sctp_notify_stream_reset_add
LBB0_56:
	ldr	x8, [x19]
	cbnz	x8, LBB0_60
; %bb.57:
	mov	x0, x19
	bl	_sctp_clean_up_stream_reset
LBB0_58:
	ldr	x8, [x19]
	cbnz	x8, LBB0_60
; %bb.59:
Lloh72:
	adrp	x8, _SCTP_SO_NOT_LOCKED@GOTPAGE
Lloh73:
	ldr	x8, [x8, _SCTP_SO_NOT_LOCKED@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sctp_send_stream_reset_out_if_possible
LBB0_60:
	mov	w0, #0
LBB0_61:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_62:
Lloh75:
	adrp	x8, _SCTP_STREAM_RESET_RESULT_DENIED@GOTPAGE
Lloh76:
	ldr	x8, [x8, _SCTP_STREAM_RESET_RESULT_DENIED@GOTPAGEOFF]
Lloh77:
	ldr	x8, [x8]
	ldp	x9, x1, [x19, #32]
	add	x2, x9, #1
	cmp	x8, x20
	b.ne	LBB0_64
; %bb.63:
Lloh78:
	adrp	x8, _SCTP_ASSOC_RESET_DENIED@GOTPAGE
Lloh79:
	ldr	x8, [x8, _SCTP_ASSOC_RESET_DENIED@GOTPAGEOFF]
	b	LBB0_65
LBB0_64:
Lloh80:
	adrp	x8, _SCTP_ASSOC_RESET_FAILED@GOTPAGE
Lloh81:
	ldr	x8, [x8, _SCTP_ASSOC_RESET_FAILED@GOTPAGEOFF]
LBB0_65:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_sctp_notify_stream_reset_tsn
	b	LBB0_56
LBB0_66:
	ldr	w0, [x21, #4]
	bl	_ntohl
	sub	x8, x0, #1
	str	x8, [x19, #72]
Lloh82:
	adrp	x8, _sctp_logging_level@GOTPAGE
Lloh83:
	ldr	x8, [x8, _sctp_logging_level@GOTPAGEOFF]
Lloh84:
	ldr	w0, [x8]
	bl	_SCTP_BASE_SYSCTL
Lloh85:
	adrp	x8, _SCTP_MAP_LOGGING_ENABLE@GOTPAGE
Lloh86:
	ldr	x8, [x8, _SCTP_MAP_LOGGING_ENABLE@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_68
; %bb.67:
	ldr	x2, [x19, #72]
Lloh88:
	adrp	x8, _SCTP_MAP_SLIDE_RESULT@GOTPAGE
Lloh89:
	ldr	x8, [x8, _SCTP_MAP_SLIDE_RESULT@GOTPAGEOFF]
Lloh90:
	ldr	w3, [x8]
	mov	w0, #0
	mov	w1, #7
	bl	_sctp_log_map
LBB0_68:
	ldr	x8, [x19, #72]
	str	x8, [x19, #48]
	str	x8, [x19, #96]
	ldr	w0, [x21, #4]
	bl	_ntohl
	str	x0, [x19, #32]
	ldr	w0, [x19, #88]
	ldr	w2, [x19, #64]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x19, #72]
	str	x8, [x19, #80]
	ldp	w2, w0, [x19, #64]
	mov	w1, #0
	bl	_memset
	ldr	w0, [x21]
	bl	_ntohl
	str	x0, [x19, #40]
	ldr	x8, [x19, #48]
	str	x8, [x19, #56]
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	bl	_sctp_reset_out_streams
	mov	x0, x19
	mov	w1, #0
	mov	x2, #0
	bl	_sctp_reset_in_stream
	ldp	x8, x1, [x19, #32]
	add	x2, x8, #1
	mov	x0, x19
	mov	w3, #0
	bl	_sctp_notify_stream_reset_tsn
	b	LBB0_56
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_STR_RESET_OUT_REQUEST,8,3 ; @SCTP_STR_RESET_OUT_REQUEST
	.comm	_SCTP_STREAM_RESET_RESULT_PERFORMED,8,3 ; @SCTP_STREAM_RESET_RESULT_PERFORMED
	.comm	_SCTP_STREAM_RESET_RESULT_DENIED,8,3 ; @SCTP_STREAM_RESET_RESULT_DENIED
	.comm	_SCTP_NOTIFY_STR_RESET_DENIED_OUT,4,2 ; @SCTP_NOTIFY_STR_RESET_DENIED_OUT
	.comm	_SCTP_SO_NOT_LOCKED,4,2         ; @SCTP_SO_NOT_LOCKED
	.comm	_SCTP_STREAM_RESET_RESULT_IN_PROGRESS,8,3 ; @SCTP_STREAM_RESET_RESULT_IN_PROGRESS
	.comm	_SCTP_NOTIFY_STR_RESET_FAILED_OUT,4,2 ; @SCTP_NOTIFY_STR_RESET_FAILED_OUT
	.comm	_SCTP_STR_RESET_IN_REQUEST,8,3  ; @SCTP_STR_RESET_IN_REQUEST
	.comm	_SCTP_NOTIFY_STR_RESET_DENIED_IN,4,2 ; @SCTP_NOTIFY_STR_RESET_DENIED_IN
	.comm	_SCTP_NOTIFY_STR_RESET_FAILED_IN,4,2 ; @SCTP_NOTIFY_STR_RESET_FAILED_IN
	.comm	_SCTP_STR_RESET_ADD_OUT_STREAMS,8,3 ; @SCTP_STR_RESET_ADD_OUT_STREAMS
	.comm	_SCTP_STREAM_OPEN,4,2           ; @SCTP_STREAM_OPEN
	.comm	_SCTP_STREAM_CHANGE_DENIED,4,2  ; @SCTP_STREAM_CHANGE_DENIED
	.comm	_SCTP_STREAM_CHANGE_FAILED,4,2  ; @SCTP_STREAM_CHANGE_FAILED
	.comm	_SCTP_STR_RESET_ADD_IN_STREAMS,8,3 ; @SCTP_STR_RESET_ADD_IN_STREAMS
	.comm	_SCTP_STR_RESET_TSN_REQUEST,8,3 ; @SCTP_STR_RESET_TSN_REQUEST
	.comm	_SCTP_FORWARD_CUM_TSN,4,2       ; @SCTP_FORWARD_CUM_TSN
	.comm	_sctp_logging_level,4,2         ; @sctp_logging_level
	.comm	_SCTP_MAP_LOGGING_ENABLE,4,2    ; @SCTP_MAP_LOGGING_ENABLE
	.comm	_SCTP_MAP_SLIDE_RESULT,4,2      ; @SCTP_MAP_SLIDE_RESULT
	.comm	_SCTP_ASSOC_RESET_DENIED,4,2    ; @SCTP_ASSOC_RESET_DENIED
	.comm	_SCTP_ASSOC_RESET_FAILED,4,2    ; @SCTP_ASSOC_RESET_FAILED
	.no_dead_strip	_sctp_handle_stream_reset_response
.subsections_via_symbols
