	.file	"extr_sctp_input.c_sctp_handle_stream_reset_response.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sctp_handle_stream_reset_response, @function
sctp_handle_stream_reset_response:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR [rdi], 0
	je	.L2
	mov	rbp, rdi
	cmp	QWORD PTR 8[rdi], rsi
	je	.L63
.L2:
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 40[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L64
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L63:
	.cfi_restore_state
	mov	r12, rdx
	lea	rdx, 16[rsp]
	mov	rbx, rcx
	call	sctp_find_stream_reset@PLT
	mov	r13, rax
	test	rax, rax
	je	.L4
	add	QWORD PTR 8[rbp], 1
	mov	edi, DWORD PTR 4[rax]
	call	ntohs@PLT
	mov	edi, DWORD PTR 0[r13]
	movsx	r14, eax
	call	ntohs@PLT
	cmp	QWORD PTR SCTP_STR_RESET_OUT_REQUEST[rip], r14
	je	.L65
	cmp	QWORD PTR SCTP_STR_RESET_IN_REQUEST[rip], r14
	je	.L66
	cmp	QWORD PTR SCTP_STR_RESET_ADD_OUT_STREAMS[rip], r14
	je	.L67
	cmp	QWORD PTR SCTP_STR_RESET_ADD_IN_STREAMS[rip], r14
	je	.L68
	cmp	QWORD PTR SCTP_STR_RESET_TSN_REQUEST[rip], r14
	je	.L27
.L15:
	mov	rax, QWORD PTR 0[rbp]
.L11:
	test	rax, rax
	jne	.L2
	mov	rdi, rbp
	call	sctp_clean_up_stream_reset@PLT
.L4:
	cmp	QWORD PTR 0[rbp], 0
	jne	.L2
	mov	esi, DWORD PTR SCTP_SO_NOT_LOCKED[rip]
	mov	rdi, rbp
	call	sctp_send_stream_reset_out_if_possible@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L65:
	cdqe
	mov	DWORD PTR 16[rbp], 0
	lea	r14, -8[rax]
	mov	rax, QWORD PTR 0[rbp]
	shr	r14, 3
	test	rax, rax
	je	.L6
	sub	rax, 1
	mov	QWORD PTR 0[rbp], rax
.L6:
	cmp	QWORD PTR SCTP_STREAM_RESET_RESULT_PERFORMED[rip], r12
	je	.L69
	cmp	QWORD PTR SCTP_STREAM_RESET_RESULT_DENIED[rip], r12
	je	.L70
	cmp	QWORD PTR SCTP_STREAM_RESET_RESULT_IN_PROGRESS[rip], r12
	jne	.L10
	mov	rax, QWORD PTR 0[rbp]
	sub	QWORD PTR 8[rbp], 1
	mov	DWORD PTR 16[rbp], 1
	add	rax, 1
	mov	QWORD PTR 0[rbp], rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L66:
	cdqe
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR 0[rbp]
	shr	rdx, 3
	test	rax, rax
	je	.L13
	sub	rax, 1
	mov	QWORD PTR 0[rbp], rax
.L13:
	cmp	QWORD PTR SCTP_STREAM_RESET_RESULT_DENIED[rip], r12
	je	.L71
	cmp	QWORD PTR SCTP_STREAM_RESET_RESULT_PERFORMED[rip], r12
	je	.L15
	mov	r8d, DWORD PTR SCTP_SO_NOT_LOCKED[rip]
	mov	rcx, QWORD PTR 0[r13]
	mov	rsi, rbp
	mov	edi, DWORD PTR SCTP_NOTIFY_STR_RESET_FAILED_IN[rip]
	call	sctp_ulp_notify@PLT
	mov	rax, QWORD PTR 0[rbp]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L67:
	mov	rcx, QWORD PTR 0[rbp]
	mov	r8d, DWORD PTR 20[rbp]
	mov	DWORD PTR 20[rbp], 0
	mov	eax, DWORD PTR 24[rbp]
	mov	edx, DWORD PTR 28[rbp]
	test	rcx, rcx
	je	.L17
	sub	rcx, 1
	mov	QWORD PTR 0[rbp], rcx
.L17:
	cmp	QWORD PTR SCTP_STREAM_RESET_RESULT_PERFORMED[rip], r12
	mov	esi, DWORD PTR 104[rbp]
	je	.L72
	cmp	QWORD PTR SCTP_STREAM_RESET_RESULT_DENIED[rip], r12
	je	.L61
.L60:
	mov	ecx, DWORD PTR SCTP_STREAM_CHANGE_FAILED[rip]
	mov	rdi, rbp
	call	sctp_notify_stream_reset_add@PLT
	mov	rax, QWORD PTR 0[rbp]
	jmp	.L11
.L10:
	mov	rcx, QWORD PTR 0[r13]
	mov	edi, DWORD PTR SCTP_NOTIFY_STR_RESET_FAILED_OUT[rip]
	mov	rdx, r14
	mov	rsi, rbp
	mov	r8d, DWORD PTR SCTP_SO_NOT_LOCKED[rip]
	call	sctp_ulp_notify@PLT
.L8:
	mov	rdx, QWORD PTR 0[r13]
	mov	rsi, r14
	mov	rdi, rbp
	call	sctp_reset_clear_pending@PLT
	mov	rax, QWORD PTR 0[rbp]
	jmp	.L11
.L68:
	mov	rax, QWORD PTR 0[rbp]
	test	rax, rax
	je	.L24
	sub	rax, 1
	mov	QWORD PTR 0[rbp], rax
.L24:
	cmp	QWORD PTR SCTP_STREAM_RESET_RESULT_DENIED[rip], r12
	je	.L73
	cmp	QWORD PTR SCTP_STREAM_RESET_RESULT_PERFORMED[rip], r12
	je	.L15
	mov	edx, DWORD PTR 28[rbp]
	mov	esi, DWORD PTR 104[rbp]
	jmp	.L60
.L69:
	mov	rdx, QWORD PTR 0[r13]
	mov	rsi, r14
	mov	rdi, rbp
	call	sctp_reset_out_streams@PLT
	jmp	.L8
.L27:
	mov	DWORD PTR 12[rsp], 0
	test	rbx, rbx
	je	.L2
	mov	edi, DWORD PTR [rbx]
	call	ntohs@PLT
	cmp	eax, 7
	jbe	.L2
	cmp	QWORD PTR SCTP_STREAM_RESET_RESULT_PERFORMED[rip], r12
	je	.L74
	mov	rax, QWORD PTR 32[rbp]
	cmp	QWORD PTR SCTP_STREAM_RESET_RESULT_DENIED[rip], r12
	mov	rsi, QWORD PTR 40[rbp]
	lea	rdx, 1[rax]
	je	.L75
	mov	ecx, DWORD PTR SCTP_ASSOC_RESET_FAILED[rip]
	mov	rdi, rbp
	call	sctp_notify_stream_reset_tsn@PLT
	jmp	.L15
.L70:
	mov	rcx, QWORD PTR 0[r13]
	mov	edi, DWORD PTR SCTP_NOTIFY_STR_RESET_DENIED_OUT[rip]
	mov	rdx, r14
	mov	rsi, rbp
	mov	r8d, DWORD PTR SCTP_SO_NOT_LOCKED[rip]
	call	sctp_ulp_notify@PLT
	jmp	.L8
.L73:
	mov	edx, DWORD PTR 28[rbp]
	mov	esi, DWORD PTR 104[rbp]
.L61:
	mov	ecx, DWORD PTR SCTP_STREAM_CHANGE_DENIED[rip]
	mov	rdi, rbp
	call	sctp_notify_stream_reset_add@PLT
	mov	rax, QWORD PTR 0[rbp]
	jmp	.L11
.L72:
	sub	eax, edx
	cmp	eax, r8d
	cmovg	eax, r8d
	lea	r8d, [rax+rdx]
	cmp	edx, r8d
	jge	.L21
	movsx	rdi, edx
	not	edx
	mov	rcx, QWORD PTR 112[rbp]
	add	edx, r8d
	add	rdx, rdi
	lea	rax, [rcx+rdi*4]
	lea	rcx, 4[rcx+rdx*4]
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edx, DWORD PTR SCTP_STREAM_OPEN[rip]
	add	rax, 4
	mov	DWORD PTR -4[rax], edx
	cmp	rcx, rax
	jne	.L20
.L21:
	mov	DWORD PTR 28[rbp], r8d
	xor	ecx, ecx
	mov	edx, r8d
	mov	rdi, rbp
	call	sctp_notify_stream_reset_add@PLT
	mov	rax, QWORD PTR 0[rbp]
	jmp	.L11
.L71:
	mov	r8d, DWORD PTR SCTP_SO_NOT_LOCKED[rip]
	mov	rcx, QWORD PTR 0[r13]
	mov	rsi, rbp
	mov	edi, DWORD PTR SCTP_NOTIFY_STR_RESET_DENIED_IN[rip]
	call	sctp_ulp_notify@PLT
	mov	rax, QWORD PTR 0[rbp]
	jmp	.L11
.L75:
	mov	ecx, DWORD PTR SCTP_ASSOC_RESET_DENIED[rip]
	mov	rdi, rbp
	call	sctp_notify_stream_reset_tsn@PLT
	jmp	.L15
.L64:
	call	__stack_chk_fail@PLT
.L74:
	sub	QWORD PTR 0[rbp], 1
	mov	edi, 12
	call	htons@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	DWORD PTR 36[rsp], eax
	mov	eax, DWORD PTR SCTP_FORWARD_CUM_TSN[rip]
	mov	DWORD PTR 32[rsp], eax
	call	ntohl@PLT
	lea	rdi, -1[rax]
	call	htonl@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	lea	rdx, 12[rsp]
	lea	rsi, 28[rsp]
	mov	rdi, rbp
	mov	DWORD PTR 28[rsp], eax
	call	sctp_handle_forward_tsn@PLT
	cmp	DWORD PTR 12[rsp], 0
	mov	eax, 1
	jne	.L1
	mov	edi, DWORD PTR 4[rbx]
	call	ntohl@PLT
	mov	edi, DWORD PTR sctp_logging_level[rip]
	sub	rax, 1
	mov	QWORD PTR 72[rbp], rax
	call	SCTP_BASE_SYSCTL@PLT
	test	DWORD PTR SCTP_MAP_LOGGING_ENABLE[rip], eax
	jne	.L76
.L31:
	mov	rax, QWORD PTR 72[rbp]
	mov	edi, DWORD PTR 4[rbx]
	mov	QWORD PTR 48[rbp], rax
	mov	QWORD PTR 96[rbp], rax
	call	ntohl@PLT
	mov	edx, DWORD PTR 64[rbp]
	mov	edi, DWORD PTR 88[rbp]
	xor	esi, esi
	mov	QWORD PTR 32[rbp], rax
	call	memset@PLT
	mov	rax, QWORD PTR 72[rbp]
	mov	edx, DWORD PTR 64[rbp]
	xor	esi, esi
	mov	edi, DWORD PTR 68[rbp]
	mov	QWORD PTR 80[rbp], rax
	call	memset@PLT
	mov	edi, DWORD PTR [rbx]
	call	ntohl@PLT
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbp
	mov	QWORD PTR 40[rbp], rax
	mov	rax, QWORD PTR 48[rbp]
	mov	QWORD PTR 56[rbp], rax
	call	sctp_reset_out_streams@PLT
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbp
	call	sctp_reset_in_stream@PLT
	mov	rax, QWORD PTR 32[rbp]
	mov	rsi, QWORD PTR 40[rbp]
	xor	ecx, ecx
	mov	rdi, rbp
	lea	rdx, 1[rax]
	call	sctp_notify_stream_reset_tsn@PLT
	jmp	.L15
.L76:
	mov	rdx, QWORD PTR 72[rbp]
	mov	ecx, DWORD PTR SCTP_MAP_SLIDE_RESULT[rip]
	mov	esi, 7
	xor	edi, edi
	call	sctp_log_map@PLT
	jmp	.L31
	.cfi_endproc
.LFE0:
	.size	sctp_handle_stream_reset_response, .-sctp_handle_stream_reset_response
	.comm	sctp_logging_level,4,4
	.comm	SCTP_STR_RESET_TSN_REQUEST,8,8
	.comm	SCTP_STR_RESET_OUT_REQUEST,8,8
	.comm	SCTP_STR_RESET_IN_REQUEST,8,8
	.comm	SCTP_STR_RESET_ADD_OUT_STREAMS,8,8
	.comm	SCTP_STR_RESET_ADD_IN_STREAMS,8,8
	.comm	SCTP_STREAM_RESET_RESULT_PERFORMED,8,8
	.comm	SCTP_STREAM_RESET_RESULT_IN_PROGRESS,8,8
	.comm	SCTP_STREAM_RESET_RESULT_DENIED,8,8
	.comm	SCTP_STREAM_OPEN,4,4
	.comm	SCTP_STREAM_CHANGE_FAILED,4,4
	.comm	SCTP_STREAM_CHANGE_DENIED,4,4
	.comm	SCTP_SO_NOT_LOCKED,4,4
	.comm	SCTP_NOTIFY_STR_RESET_FAILED_OUT,4,4
	.comm	SCTP_NOTIFY_STR_RESET_FAILED_IN,4,4
	.comm	SCTP_NOTIFY_STR_RESET_DENIED_OUT,4,4
	.comm	SCTP_NOTIFY_STR_RESET_DENIED_IN,4,4
	.comm	SCTP_MAP_SLIDE_RESULT,4,4
	.comm	SCTP_MAP_LOGGING_ENABLE,4,4
	.comm	SCTP_FORWARD_CUM_TSN,4,4
	.comm	SCTP_ASSOC_RESET_FAILED,4,4
	.comm	SCTP_ASSOC_RESET_DENIED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sctp_input.c_sctp_handle_stream_reset_response.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sctp_handle_stream_reset_response, %function
sctp_handle_stream_reset_response:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, [r0]
	mov	r5, r3
	ldr	r3, .L79
	sub	sp, sp, #32
	cmp	ip, #0
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	beq	.L2
	ldr	r3, [r0, #4]
	mov	r4, r0
	cmp	r3, r1
	beq	.L67
.L2:
	mov	r5, #0
.L1:
	ldr	r3, .L79
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L68
	mov	r0, r5
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L67:
	mov	r6, r2
	add	r2, sp, #8
	bl	sctp_find_stream_reset
	subs	r7, r0, #0
	beq	.L4
	ldr	r3, [r4, #4]
	ldr	r0, [r7, #4]
	add	r3, r3, #1
	str	r3, [r4, #4]
	bl	ntohs
	mov	r8, r0
	ldr	r0, [r7]
	bl	ntohs
	ldr	r3, .L79+4
	ldr	r3, [r3]
	cmp	r3, r8
	beq	.L69
	ldr	r3, .L79+8
	ldr	r3, [r3]
	cmp	r3, r8
	beq	.L70
	ldr	r3, .L79+12
	ldr	r3, [r3]
	cmp	r3, r8
	beq	.L71
	ldr	r3, .L79+16
	ldr	r3, [r3]
	cmp	r3, r8
	beq	.L72
	ldr	r3, .L79+20
	ldr	r3, [r3]
	cmp	r3, r8
	beq	.L27
.L15:
	ldr	r3, [r4]
.L11:
	cmp	r3, #0
	bne	.L2
	mov	r0, r4
	bl	sctp_clean_up_stream_reset
.L4:
	ldr	r5, [r4]
	cmp	r5, #0
	bne	.L2
	ldr	r3, .L79+24
	mov	r0, r4
	ldr	r1, [r3]
	bl	sctp_send_stream_reset_out_if_possible
	b	.L1
.L69:
	mov	r2, #0
	ldr	r3, [r4]
	sub	r0, r0, #4
	cmp	r3, r2
	subne	r3, r3, #1
	strne	r3, [r4]
	ldr	r3, .L79+28
	lsr	r5, r0, #2
	ldr	r3, [r3]
	str	r2, [r4, #8]
	cmp	r3, r6
	beq	.L73
	ldr	r3, .L79+32
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L74
	ldr	r3, .L79+36
	ldr	r3, [r3]
	cmp	r3, r6
	bne	.L10
	mov	r1, #1
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	add	r3, r3, r1
	sub	r2, r2, #1
	str	r3, [r4]
	str	r2, [r4, #4]
	str	r1, [r4, #8]
	b	.L11
.L70:
	ldr	r3, [r4]
	sub	r0, r0, #4
	cmp	r3, #0
	subne	r3, r3, #1
	strne	r3, [r4]
	ldr	r3, .L79+32
	lsr	r2, r0, #2
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L75
	ldr	r3, .L79+28
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L15
	ldr	r1, .L79+24
	ldr	r3, [r7]
	ldr	r0, [r1]
	ldr	r1, .L79+40
.L65:
	str	r0, [sp]
	ldr	r0, [r1]
	mov	r1, r4
	bl	sctp_ulp_notify
	ldr	r3, [r4]
	b	.L11
.L71:
	mov	r2, #0
	ldr	r3, [r4]
	ldr	lr, [r4, #12]
	cmp	r3, r2
	subne	r3, r3, #1
	strne	r3, [r4]
	ldr	r3, .L79+28
	str	r2, [r4, #12]
	ldr	r3, [r3]
	ldr	r0, [r4, #16]
	cmp	r3, r6
	ldr	r2, [r4, #20]
	ldr	r1, [r4, #64]
	beq	.L76
	ldr	r3, .L79+32
	mov	r0, r4
	ldr	r3, [r3]
	cmp	r3, r6
	ldreq	r3, .L79+44
	ldrne	r3, .L79+48
	ldr	r3, [r3]
	bl	sctp_notify_stream_reset_add
	ldr	r3, [r4]
	b	.L11
.L10:
	ldr	r2, .L79+24
	ldr	r3, [r7]
	ldr	r1, [r2]
	ldr	r2, .L79+52
.L63:
	str	r1, [sp]
	ldr	r0, [r2]
	mov	r1, r4
	mov	r2, r5
	bl	sctp_ulp_notify
.L8:
	mov	r1, r5
	mov	r0, r4
	ldr	r2, [r7]
	bl	sctp_reset_clear_pending
	ldr	r3, [r4]
	b	.L11
.L72:
	ldr	r3, [r4]
	cmp	r3, #0
	subne	r3, r3, #1
	strne	r3, [r4]
	ldr	r3, .L79+32
	ldr	r3, [r3]
	cmp	r3, r6
	ldreq	r3, .L79+44
	beq	.L64
	ldr	r3, .L79+28
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L15
	ldr	r3, .L79+48
.L64:
	ldr	r3, [r3]
	mov	r0, r4
	ldr	r2, [r4, #20]
	ldr	r1, [r4, #64]
	bl	sctp_notify_stream_reset_add
	ldr	r3, [r4]
	b	.L11
.L73:
	mov	r1, r5
	mov	r0, r4
	ldr	r2, [r7]
	bl	sctp_reset_out_streams
	b	.L8
.L27:
	mov	r3, #0
	cmp	r5, r3
	str	r3, [sp, #12]
	beq	.L2
	ldr	r0, [r5]
	bl	ntohs
	cmp	r0, #7
	bls	.L2
	ldr	r3, .L79+28
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L77
	ldr	r3, .L79+32
	ldr	r2, [r4, #24]
	ldr	r3, [r3]
	mov	r0, r4
	cmp	r3, r6
	ldreq	r3, .L79+56
	ldrne	r3, .L79+60
	ldr	r1, [r4, #28]
	ldr	r3, [r3]
	add	r2, r2, #1
	bl	sctp_notify_stream_reset_tsn
	b	.L15
.L74:
	ldr	r2, .L79+24
	ldr	r3, [r7]
	ldr	r1, [r2]
	ldr	r2, .L79+64
	b	.L63
.L76:
	sub	r0, r0, r2
	cmp	r0, lr
	addle	lr, r2, r0
	addgt	lr, r2, lr
	cmp	r2, lr
	bge	.L21
	ldr	r0, [r4, #68]
	ldr	r5, .L79+68
	add	r3, r0, r2, lsl #2
	sub	r0, r0, #4
	sub	r3, r3, #4
	add	ip, r0, lr, lsl #2
.L20:
	ldr	r0, [r5]
	str	r0, [r3, #4]!
	cmp	ip, r3
	bne	.L20
.L21:
	mov	r3, #0
	mov	r2, lr
	mov	r0, r4
	str	lr, [r4, #20]
	bl	sctp_notify_stream_reset_add
	ldr	r3, [r4]
	b	.L11
.L75:
	ldr	r1, .L79+24
	ldr	r3, [r7]
	ldr	r0, [r1]
	ldr	r1, .L79+72
	b	.L65
.L68:
	bl	__stack_chk_fail
.L77:
	ldr	r3, [r4]
	mov	r0, #12
	sub	r3, r3, #1
	str	r3, [r4]
	bl	htons
	mov	r2, r0
	ldr	r3, .L79+76
	ldr	r0, [r5, #4]
	ldr	r3, [r3]
	str	r2, [sp, #24]
	str	r3, [sp, #20]
	bl	ntohl
	sub	r0, r0, #1
	bl	htonl
	mov	r3, #0
	mov	ip, r0
	add	r2, sp, #12
	mov	r0, r4
	str	r3, [sp]
	add	r1, sp, #16
	str	ip, [sp, #16]
	bl	sctp_handle_forward_tsn
	ldr	r6, [sp, #12]
	cmp	r6, #0
	movne	r5, #1
	bne	.L1
	ldr	r0, [r5, #4]
	bl	ntohl
	ldr	r2, .L79+80
	sub	r3, r0, #1
	str	r3, [r4, #48]
	ldr	r0, [r2]
	bl	SCTP_BASE_SYSCTL
	ldr	r3, .L79+84
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L78
.L31:
	ldr	r3, [r4, #48]
	ldr	r0, [r5, #4]
	str	r3, [r4, #32]
	str	r3, [r4, #60]
	bl	ntohl
	ldr	r2, [r4, #40]
	str	r0, [r4, #24]
	mov	r1, #0
	ldr	r0, [r4, #56]
	bl	memset
	ldr	r3, [r4, #48]
	ldr	r2, [r4, #40]
	str	r3, [r4, #52]
	mov	r1, #0
	ldr	r0, [r4, #44]
	bl	memset
	ldr	r0, [r5]
	bl	ntohl
	mov	r2, #0
	ldr	r3, [r4, #32]
	mov	r1, r2
	str	r3, [r4, #36]
	str	r0, [r4, #28]
	mov	r0, r4
	bl	sctp_reset_out_streams
	mov	r2, #0
	mov	r0, r4
	mov	r1, r2
	bl	sctp_reset_in_stream
	ldr	r2, [r4, #24]
	mov	r3, #0
	mov	r0, r4
	ldr	r1, [r4, #28]
	add	r2, r2, #1
	bl	sctp_notify_stream_reset_tsn
	b	.L15
.L78:
	ldr	r3, .L79+88
	mov	r0, r6
	mov	r1, #7
	ldr	r3, [r3]
	ldr	r2, [r4, #48]
	bl	sctp_log_map
	b	.L31
.L80:
	.align	2
.L79:
	.word	.LC0
	.word	SCTP_STR_RESET_OUT_REQUEST
	.word	SCTP_STR_RESET_IN_REQUEST
	.word	SCTP_STR_RESET_ADD_OUT_STREAMS
	.word	SCTP_STR_RESET_ADD_IN_STREAMS
	.word	SCTP_STR_RESET_TSN_REQUEST
	.word	SCTP_SO_NOT_LOCKED
	.word	SCTP_STREAM_RESET_RESULT_PERFORMED
	.word	SCTP_STREAM_RESET_RESULT_DENIED
	.word	SCTP_STREAM_RESET_RESULT_IN_PROGRESS
	.word	SCTP_NOTIFY_STR_RESET_FAILED_IN
	.word	SCTP_STREAM_CHANGE_DENIED
	.word	SCTP_STREAM_CHANGE_FAILED
	.word	SCTP_NOTIFY_STR_RESET_FAILED_OUT
	.word	SCTP_ASSOC_RESET_DENIED
	.word	SCTP_ASSOC_RESET_FAILED
	.word	SCTP_NOTIFY_STR_RESET_DENIED_OUT
	.word	SCTP_STREAM_OPEN
	.word	SCTP_NOTIFY_STR_RESET_DENIED_IN
	.word	SCTP_FORWARD_CUM_TSN
	.word	sctp_logging_level
	.word	SCTP_MAP_LOGGING_ENABLE
	.word	SCTP_MAP_SLIDE_RESULT
	.size	sctp_handle_stream_reset_response, .-sctp_handle_stream_reset_response
	.comm	sctp_logging_level,4,4
	.comm	SCTP_STR_RESET_TSN_REQUEST,4,4
	.comm	SCTP_STR_RESET_OUT_REQUEST,4,4
	.comm	SCTP_STR_RESET_IN_REQUEST,4,4
	.comm	SCTP_STR_RESET_ADD_OUT_STREAMS,4,4
	.comm	SCTP_STR_RESET_ADD_IN_STREAMS,4,4
	.comm	SCTP_STREAM_RESET_RESULT_PERFORMED,4,4
	.comm	SCTP_STREAM_RESET_RESULT_IN_PROGRESS,4,4
	.comm	SCTP_STREAM_RESET_RESULT_DENIED,4,4
	.comm	SCTP_STREAM_OPEN,4,4
	.comm	SCTP_STREAM_CHANGE_FAILED,4,4
	.comm	SCTP_STREAM_CHANGE_DENIED,4,4
	.comm	SCTP_SO_NOT_LOCKED,4,4
	.comm	SCTP_NOTIFY_STR_RESET_FAILED_OUT,4,4
	.comm	SCTP_NOTIFY_STR_RESET_FAILED_IN,4,4
	.comm	SCTP_NOTIFY_STR_RESET_DENIED_OUT,4,4
	.comm	SCTP_NOTIFY_STR_RESET_DENIED_IN,4,4
	.comm	SCTP_MAP_SLIDE_RESULT,4,4
	.comm	SCTP_MAP_LOGGING_ENABLE,4,4
	.comm	SCTP_FORWARD_CUM_TSN,4,4
	.comm	SCTP_ASSOC_RESET_FAILED,4,4
	.comm	SCTP_ASSOC_RESET_DENIED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
