	.file	"extr_sctp_input.c_sctp_handle_abort.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"sctp_handle_abort: handling ABORT\n"
	.align 8
.LC1:
	.string	"Received Colliding state abort flags:%x\n"
	.align 8
.LC2:
	.string	"Received missing state abort flags:%x\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"sctp_handle_abort: finished\n"
	.text
	.p2align 4
	.type	sctp_handle_abort, @function
sctp_handle_abort:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	eax, eax
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	lea	rsi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR SCTP_DEBUG_INPUT2[rip]
	call	SCTPDBG@PLT
	test	rbx, rbx
	je	.L6
	mov	edi, DWORD PTR 4[r12]
	call	ntohs@PLT
	cmp	eax, 7
	ja	.L13
	xor	r13d, r13d
.L4:
	mov	esi, DWORD PTR [rbx]
	mov	edi, DWORD PTR SCTP_TIMER_TYPE_RECV[rip]
	mov	rcx, r14
	mov	rdx, rbx
	mov	r8, QWORD PTR SCTP_LOC_7[rip]
	add	r8, QWORD PTR SCTP_FROM_SCTP_INPUT[rip]
	call	sctp_timer_stop@PLT
	mov	rcx, r12
	mov	edx, r13d
	mov	esi, 1
	mov	r8d, DWORD PTR SCTP_SO_NOT_LOCKED[rip]
	mov	rdi, rbx
	call	sctp_abort_notification@PLT
	mov	edi, DWORD PTR sctps_aborted[rip]
	call	SCTP_STAT_INCR_COUNTER32@PLT
	mov	rdi, rbx
	call	SCTP_GET_STATE@PLT
	cmp	rax, QWORD PTR SCTP_STATE_OPEN[rip]
	je	.L9
	mov	rdi, rbx
	call	SCTP_GET_STATE@PLT
	cmp	rax, QWORD PTR SCTP_STATE_SHUTDOWN_RECEIVED[rip]
	je	.L9
.L8:
	mov	esi, DWORD PTR SCTP_STATE_WAS_ABORTED[rip]
	mov	rdi, rbx
	call	SCTP_ADD_SUBSTATE@PLT
	mov	edi, DWORD PTR [rbx]
	mov	edx, DWORD PTR SCTP_NORMAL_PROC[rip]
	mov	rsi, rbx
	mov	rcx, QWORD PTR SCTP_LOC_8[rip]
	add	rcx, QWORD PTR SCTP_FROM_SCTP_INPUT[rip]
	call	sctp_free_assoc@PLT
	mov	edi, DWORD PTR SCTP_DEBUG_INPUT2[rip]
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	SCTPDBG@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbx
	.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
.L13:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[r12]
	call	ntohs@PLT
	cmp	DWORD PTR SCTP_CAUSE_NAT_COLLIDING_STATE[rip], eax
	mov	r13d, eax
	je	.L14
	cmp	DWORD PTR SCTP_CAUSE_NAT_MISSING_STATE[rip], eax
	jne	.L4
	mov	edi, DWORD PTR SCTP_DEBUG_INPUT2[rip]
	mov	edx, DWORD PTR [r12]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	SCTPDBG@PLT
	mov	rsi, r14
	mov	rdi, rbx
	call	sctp_handle_nat_missing_state@PLT
	test	rax, rax
	je	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	xor	eax, eax
.L15:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.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
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR sctps_currestab[rip]
	call	SCTP_STAT_DECR_GAUGE32@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR SCTP_DEBUG_INPUT2[rip]
	mov	edx, DWORD PTR [r12]
	xor	eax, eax
	lea	rsi, .LC1[rip]
	call	SCTPDBG@PLT
	mov	rdi, rbx
	call	sctp_handle_nat_colliding_state@PLT
	test	rax, rax
	je	.L4
	xor	eax, eax
	jmp	.L15
	.cfi_endproc
.LFE0:
	.size	sctp_handle_abort, .-sctp_handle_abort
	.comm	sctps_currestab,4,4
	.comm	sctps_aborted,4,4
	.comm	SCTP_TIMER_TYPE_RECV,4,4
	.comm	SCTP_STATE_WAS_ABORTED,4,4
	.comm	SCTP_STATE_SHUTDOWN_RECEIVED,8,8
	.comm	SCTP_STATE_OPEN,8,8
	.comm	SCTP_SO_NOT_LOCKED,4,4
	.comm	SCTP_NORMAL_PROC,4,4
	.comm	SCTP_LOC_8,8,8
	.comm	SCTP_LOC_7,8,8
	.comm	SCTP_FROM_SCTP_INPUT,8,8
	.comm	SCTP_DEBUG_INPUT2,4,4
	.comm	SCTP_CAUSE_NAT_MISSING_STATE,4,4
	.comm	SCTP_CAUSE_NAT_COLLIDING_STATE,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_abort.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sctp_handle_abort: handling ABORT\012\000"
	.align	2
.LC1:
	.ascii	"Received Colliding state abort flags:%x\012\000"
	.align	2
.LC2:
	.ascii	"Received missing state abort flags:%x\012\000"
	.align	2
.LC3:
	.ascii	"sctp_handle_abort: finished\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sctp_handle_abort, %function
sctp_handle_abort:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r1
	ldr	r8, .L15
	mov	r5, r0
	ldr	r1, .L15+4
	ldr	r0, [r8]
	sub	sp, sp, #12
	mov	r7, r2
	bl	SCTPDBG
	cmp	r4, #0
	beq	.L6
	ldr	r0, [r5, #4]
	bl	ntohs
	cmp	r0, #7
	bhi	.L13
	mov	r6, #0
.L4:
	ldr	r9, .L15+8
	ldr	r3, .L15+12
	ldr	r1, [r9]
	ldr	r3, [r3]
	ldr	r2, .L15+16
	add	r1, r1, r3
	str	r1, [sp]
	mov	r3, r7
	ldr	r0, [r2]
	ldr	r1, [r4]
	mov	r2, r4
	bl	sctp_timer_stop
	ldr	r2, .L15+20
	mov	r3, r5
	ldr	r1, [r2]
	mov	r0, r4
	mov	r2, r6
	str	r1, [sp]
	mov	r1, #1
	bl	sctp_abort_notification
	ldr	r3, .L15+24
	ldr	r0, [r3]
	bl	SCTP_STAT_INCR_COUNTER32
	mov	r0, r4
	bl	SCTP_GET_STATE
	ldr	r3, .L15+28
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L9
	mov	r0, r4
	bl	SCTP_GET_STATE
	ldr	r3, .L15+32
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L9
.L8:
	ldr	r3, .L15+36
	mov	r0, r4
	ldr	r1, [r3]
	bl	SCTP_ADD_SUBSTATE
	ldr	r3, .L15+40
	ldr	r1, [r9]
	ldr	r3, [r3]
	ldr	r2, .L15+44
	add	r3, r1, r3
	ldr	r2, [r2]
	mov	r1, r4
	ldr	r0, [r4]
	bl	sctp_free_assoc
	ldr	r0, [r8]
	ldr	r1, .L15+48
	bl	SCTPDBG
	mov	r0, #1
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	ldr	r0, [r5, #8]
	bl	ntohs
	ldr	r3, .L15+52
	mov	r6, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L14
	ldr	r3, .L15+56
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L4
	ldr	r2, [r5]
	ldr	r1, .L15+60
	ldr	r0, [r8]
	bl	SCTPDBG
	mov	r1, r7
	mov	r0, r4
	bl	sctp_handle_nat_missing_state
	cmp	r0, #0
	beq	.L4
.L6:
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	ldr	r3, .L15+64
	ldr	r0, [r3]
	bl	SCTP_STAT_DECR_GAUGE32
	b	.L8
.L14:
	ldr	r2, [r5]
	ldr	r1, .L15+68
	ldr	r0, [r8]
	bl	SCTPDBG
	mov	r0, r4
	bl	sctp_handle_nat_colliding_state
	cmp	r0, #0
	beq	.L4
	b	.L6
.L16:
	.align	2
.L15:
	.word	SCTP_DEBUG_INPUT2
	.word	.LC0
	.word	SCTP_FROM_SCTP_INPUT
	.word	SCTP_LOC_7
	.word	SCTP_TIMER_TYPE_RECV
	.word	SCTP_SO_NOT_LOCKED
	.word	sctps_aborted
	.word	SCTP_STATE_OPEN
	.word	SCTP_STATE_SHUTDOWN_RECEIVED
	.word	SCTP_STATE_WAS_ABORTED
	.word	SCTP_LOC_8
	.word	SCTP_NORMAL_PROC
	.word	.LC3
	.word	SCTP_CAUSE_NAT_COLLIDING_STATE
	.word	SCTP_CAUSE_NAT_MISSING_STATE
	.word	.LC2
	.word	sctps_currestab
	.word	.LC1
	.size	sctp_handle_abort, .-sctp_handle_abort
	.comm	sctps_currestab,4,4
	.comm	sctps_aborted,4,4
	.comm	SCTP_TIMER_TYPE_RECV,4,4
	.comm	SCTP_STATE_WAS_ABORTED,4,4
	.comm	SCTP_STATE_SHUTDOWN_RECEIVED,4,4
	.comm	SCTP_STATE_OPEN,4,4
	.comm	SCTP_SO_NOT_LOCKED,4,4
	.comm	SCTP_NORMAL_PROC,4,4
	.comm	SCTP_LOC_8,4,4
	.comm	SCTP_LOC_7,4,4
	.comm	SCTP_FROM_SCTP_INPUT,4,4
	.comm	SCTP_DEBUG_INPUT2,4,4
	.comm	SCTP_CAUSE_NAT_MISSING_STATE,4,4
	.comm	SCTP_CAUSE_NAT_COLLIDING_STATE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
