	.file	"extr_outqueue.c_sctp_retransmit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sctp_retransmit
	.type	sctp_retransmit, @function
sctp_retransmit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rax, QWORD PTR 8[rdi]
	mov	rbp, rdi
	mov	edi, DWORD PTR 16[rax]
	call	sock_net@PLT
	mov	rdi, rax
	cmp	r12d, 130
	je	.L2
	ja	.L3
	cmp	r12d, 128
	je	.L4
	cmp	r12d, 129
	jne	.L6
	mov	esi, DWORD PTR SCTP_MIB_T1_RETRANSMITS[rip]
	call	SCTP_INC_STATS@PLT
	mov	rax, QWORD PTR 0[r13]
	add	DWORD PTR [rax], 1
.L12:
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, rbp
	call	sctp_retransmit_mark@PLT
.L9:
	mov	edx, DWORD PTR GFP_ATOMIC[rip]
	mov	rdi, rbp
	mov	esi, 1
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	sctp_outq_flush@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	r12d, 131
	jne	.L6
	mov	esi, DWORD PTR SCTP_MIB_FAST_RETRANSMITS[rip]
	call	SCTP_INC_STATS@PLT
	mov	esi, DWORD PTR SCTP_LOWER_CWND_FAST_RTX[rip]
	mov	rdi, r13
	call	sctp_transport_lower_cwnd@PLT
	mov	rsi, r13
	mov	rdi, rbp
	mov	edx, 131
	mov	DWORD PTR 0[rbp], 1
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	sctp_retransmit_mark@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR SCTP_MIB_PMTUD_RETRANSMITS[rip]
	call	SCTP_INC_STATS@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR SCTP_MIB_T3_RETRANSMITS[rip]
	call	SCTP_INC_STATS@PLT
	mov	esi, DWORD PTR SCTP_LOWER_CWND_T3_RTX[rip]
	mov	rdi, r13
	call	sctp_transport_lower_cwnd@PLT
	mov	rdi, QWORD PTR 0[r13]
	cmp	QWORD PTR 16[rdi], r13
	je	.L14
.L8:
	mov	eax, DWORD PTR 4[rdi]
	add	DWORD PTR 8[rdi], eax
	mov	rsi, r13
	mov	rdi, rbp
	mov	edx, 128
	call	sctp_retransmit_mark@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, rbp
	mov	rdx, QWORD PTR 8[rax]
	mov	esi, DWORD PTR [rax]
	call	[QWORD PTR [rdx]]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L14:
	call	sctp_assoc_update_retran_path@PLT
	mov	rdi, QWORD PTR 0[r13]
	jmp	.L8
.L6:
	xor	eax, eax
	call	BUG@PLT
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	sctp_retransmit, .-sctp_retransmit
	.comm	SCTP_MIB_T3_RETRANSMITS,4,4
	.comm	SCTP_MIB_T1_RETRANSMITS,4,4
	.comm	SCTP_MIB_PMTUD_RETRANSMITS,4,4
	.comm	SCTP_MIB_FAST_RETRANSMITS,4,4
	.comm	SCTP_LOWER_CWND_T3_RTX,4,4
	.comm	SCTP_LOWER_CWND_FAST_RTX,4,4
	.comm	GFP_ATOMIC,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_outqueue.c_sctp_retransmit.c"
	.text
	.align	2
	.global	sctp_retransmit
	.syntax unified
	.arm
	.fpu softvfp
	.type	sctp_retransmit, %function
sctp_retransmit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r2
	ldr	r3, [r0, #4]
	mov	r4, r0
	ldr	r0, [r3, #8]
	mov	r5, r1
	bl	sock_net
	sub	r3, r6, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r3, .L15
	ldr	r1, [r3]
	bl	SCTP_INC_STATS
	ldr	r3, .L15+4
	mov	r0, r5
	ldr	r1, [r3]
	bl	sctp_transport_lower_cwnd
	mov	r3, #1
	mov	r1, r5
	mov	r0, r4
	str	r3, [r4]
	mov	r2, #131
	pop	{r4, r5, r6, lr}
	b	sctp_retransmit_mark
.L7:
	ldr	r3, .L15+8
	ldr	r1, [r3]
	bl	SCTP_INC_STATS
	ldr	r3, .L15+12
	mov	r0, r5
	ldr	r1, [r3]
	bl	sctp_transport_lower_cwnd
	ldr	r0, [r5]
	ldr	r3, [r0, #12]
	cmp	r3, r5
	beq	.L14
.L8:
	ldmib	r0, {r2, r3}
	add	r3, r3, r2
	str	r3, [r0, #8]
	mov	r1, r5
	mov	r2, #128
	mov	r0, r4
	bl	sctp_retransmit_mark
	ldr	r3, [r4, #4]
	mov	r0, r4
	ldm	r3, {r1, r2}
	ldr	r3, [r2]
	blx	r3
.L9:
	ldr	r3, .L15+16
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r1, #1
	ldr	r2, [r3]
	b	sctp_outq_flush
.L6:
	ldr	r3, .L15+20
	ldr	r1, [r3]
	bl	SCTP_INC_STATS
	ldr	r2, [r5]
	ldr	r3, [r2]
	add	r3, r3, #1
	str	r3, [r2]
.L12:
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	sctp_retransmit_mark
	b	.L9
.L5:
	ldr	r3, .L15+24
	ldr	r1, [r3]
	bl	SCTP_INC_STATS
	b	.L12
.L14:
	bl	sctp_assoc_update_retran_path
	ldr	r0, [r5]
	b	.L8
.L2:
	bl	BUG
	b	.L12
.L16:
	.align	2
.L15:
	.word	SCTP_MIB_FAST_RETRANSMITS
	.word	SCTP_LOWER_CWND_FAST_RTX
	.word	SCTP_MIB_T3_RETRANSMITS
	.word	SCTP_LOWER_CWND_T3_RTX
	.word	GFP_ATOMIC
	.word	SCTP_MIB_T1_RETRANSMITS
	.word	SCTP_MIB_PMTUD_RETRANSMITS
	.size	sctp_retransmit, .-sctp_retransmit
	.comm	SCTP_MIB_T3_RETRANSMITS,4,4
	.comm	SCTP_MIB_T1_RETRANSMITS,4,4
	.comm	SCTP_MIB_PMTUD_RETRANSMITS,4,4
	.comm	SCTP_MIB_FAST_RETRANSMITS,4,4
	.comm	SCTP_LOWER_CWND_T3_RTX,4,4
	.comm	SCTP_LOWER_CWND_FAST_RTX,4,4
	.comm	GFP_ATOMIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
