	.file	"extr_sctp_input.c_sctp_reset_in_stream.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sctp_reset_in_stream
	.type	sctp_reset_in_stream, @function
sctp_reset_in_stream:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	test	rsi, rsi
	jne	.L2
	mov	rdx, QWORD PTR [rdi]
	test	rdx, rdx
	je	.L4
	mov	rax, QWORD PTR 8[rdi]
	lea	rdx, [rax+rdx*4]
	.p2align 4,,10
	.p2align 3
.L8:
	mov	DWORD PTR [rax], -1
	add	rax, 4
	cmp	rax, rdx
	jne	.L8
.L4:
	xor	r13d, r13d
.L7:
	mov	r8d, DWORD PTR SCTP_SO_NOT_LOCKED[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rcx, r13
	mov	rdx, r12
	mov	edi, DWORD PTR SCTP_NOTIFY_STR_RESET_RECV[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	rsi, r14
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	sctp_ulp_notify@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r13, rdx
	mov	rbx, rdx
	lea	rbp, [rdx+rsi*8]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, QWORD PTR [rbx]
	call	ntohs@PLT
	cmp	QWORD PTR [r14], rax
	jbe	.L5
	mov	rdx, QWORD PTR 8[r14]
	mov	DWORD PTR [rdx+rax*4], -1
.L5:
	add	rbx, 8
	cmp	rbp, rbx
	jne	.L6
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	sctp_reset_in_stream, .-sctp_reset_in_stream
	.comm	SCTP_SO_NOT_LOCKED,4,4
	.comm	SCTP_NOTIFY_STR_RESET_RECV,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_reset_in_stream.c"
	.text
	.align	2
	.global	sctp_reset_in_stream
	.syntax unified
	.arm
	.fpu softvfp
	.type	sctp_reset_in_stream, %function
sctp_reset_in_stream:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	subs	r6, r1, #0
	mov	r5, r0
	sub	sp, sp, #12
	bne	.L2
	ldr	r2, [r0]
	cmp	r2, #0
	beq	.L4
	mvn	r1, #0
	ldr	r3, [r0, #4]
	add	r2, r3, r2, lsl #2
	sub	r2, r2, #4
	sub	r3, r3, #4
.L8:
	str	r1, [r3, #4]!
	cmp	r3, r2
	bne	.L8
.L4:
	mov	r7, #0
.L7:
	ldr	r3, .L13
	ldr	r0, .L13+4
	ldr	ip, [r3]
	mov	r2, r6
	str	ip, [sp]
	mov	r3, r7
	mov	r1, r5
	ldr	r0, [r0]
	bl	sctp_ulp_notify
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	mov	r7, r2
	mvn	r9, #0
	sub	r4, r2, #4
	add	r8, r4, r6, lsl #2
.L6:
	ldr	r0, [r4, #4]!
	bl	ntohs
	ldr	r3, [r5]
	cmp	r3, r0
	ldrhi	r3, [r5, #4]
	strhi	r9, [r3, r0, lsl #2]
	cmp	r8, r4
	bne	.L6
	b	.L7
.L14:
	.align	2
.L13:
	.word	SCTP_SO_NOT_LOCKED
	.word	SCTP_NOTIFY_STR_RESET_RECV
	.size	sctp_reset_in_stream, .-sctp_reset_in_stream
	.comm	SCTP_SO_NOT_LOCKED,4,4
	.comm	SCTP_NOTIFY_STR_RESET_RECV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
