	.file	"extr_sm_statefuns.c_sctp_sf_abort_violation.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sctp_sf_abort_violation, @function
sctp_sf_abort_violation:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r9
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR SCTP_CID_ABORT[rip]
	call	sctp_auth_recv_cid@PLT
	test	rax, rax
	je	.L20
.L2:
	xor	edi, edi
	call	SCTP_ST_CHUNK@PLT
	mov	r8, rbx
	mov	rcx, r12
	mov	rsi, rbp
	mov	rdi, r13
	mov	edx, eax
	call	sctp_sf_pdiscard@PLT
	mov	eax, DWORD PTR SCTP_DISPOSITION_ABORT[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	rdx, r14
	mov	rcx, r15
	mov	rsi, r12
	mov	rdi, rbp
	call	sctp_make_abort_violation@PLT
	mov	r14, rax
	test	rax, rax
	je	.L3
	test	rbp, rbp
	je	.L4
	mov	r15, QWORD PTR 16[r12]
	mov	rax, QWORD PTR SCTP_CID_INIT_ACK[rip]
	cmp	QWORD PTR [r15], rax
	je	.L21
.L5:
	mov	rdi, r14
	call	SCTP_CHUNK@PLT
	mov	esi, DWORD PTR SCTP_CMD_REPLY[rip]
	mov	rdi, rbx
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	edi, DWORD PTR SCTP_MIB_OUTCTRLCHUNKS[rip]
	call	SCTP_INC_STATS@PLT
	mov	rax, QWORD PTR SCTP_STATE_COOKIE_ECHOED[rip]
	cmp	QWORD PTR 0[rbp], rax
	jle	.L22
	mov	edi, DWORD PTR ECONNABORTED[rip]
	call	SCTP_ERROR@PLT
	mov	esi, DWORD PTR SCTP_CMD_SET_SK_ERR[rip]
	mov	rdi, rbx
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	edi, DWORD PTR SCTP_ERROR_PROTO_VIOLATION[rip]
	call	SCTP_PERR@PLT
	mov	esi, DWORD PTR SCTP_CMD_ASSOC_FAILED[rip]
	mov	rdi, rbx
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	edi, DWORD PTR SCTP_MIB_CURRESTAB[rip]
	call	SCTP_DEC_STATS@PLT
.L8:
	mov	edi, DWORD PTR SCTP_MIB_ABORTEDS[rip]
	call	SCTP_INC_STATS@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edi, DWORD PTR SCTP_EVENT_TIMEOUT_T1_INIT[rip]
	call	SCTP_TO@PLT
	mov	esi, DWORD PTR SCTP_CMD_TIMER_STOP[rip]
	mov	rdi, rbx
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	edi, DWORD PTR ECONNREFUSED[rip]
	call	SCTP_ERROR@PLT
	mov	esi, DWORD PTR SCTP_CMD_SET_SK_ERR[rip]
	mov	rdi, rbx
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	edi, DWORD PTR SCTP_ERROR_PROTO_VIOLATION[rip]
	call	SCTP_PERR@PLT
	mov	esi, DWORD PTR SCTP_CMD_INIT_FAILED[rip]
	mov	rdi, rbx
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L21:
	mov	eax, DWORD PTR 8[rbp]
	test	eax, eax
	jne	.L5
	mov	esi, 4
	mov	rdi, r12
	call	sctp_chunk_length_valid@PLT
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR 16[r14]
	mov	edx, DWORD PTR SCTP_CHUNK_FLAG_T[rip]
	or	DWORD PTR 8[rax], edx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L23:
	call	sctp_chunk_free@PLT
.L3:
	mov	eax, DWORD PTR SCTP_DISPOSITION_NOMEM[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	edi, edi
	mov	rsi, r12
	call	sctp_ootb_pkt_new@PLT
	mov	rdi, r14
	mov	r15, rax
	test	rax, rax
	je	.L23
	call	sctp_test_T_bit@PLT
	test	rax, rax
	jne	.L24
.L10:
	mov	edx, DWORD PTR 0[r13]
	mov	rax, QWORD PTR [r14]
	mov	rsi, r14
	mov	rdi, r15
	mov	DWORD PTR [rax], edx
	call	sctp_packet_append_chunk@PLT
	mov	rdi, r15
	call	SCTP_PACKET@PLT
	mov	esi, DWORD PTR SCTP_CMD_SEND_PKT[rip]
	mov	rdi, rbx
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	edi, DWORD PTR SCTP_MIB_OUTCTRLCHUNKS[rip]
	call	SCTP_INC_STATS@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rax, QWORD PTR 8[r12]
	mov	edi, DWORD PTR [rax]
	call	ntohl@PLT
	mov	QWORD PTR [r15], rax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR [r15]
	call	ntohl@PLT
	mov	rdi, rax
	call	SCTP_U32@PLT
	mov	esi, DWORD PTR SCTP_CMD_UPDATE_INITTAG[rip]
	mov	rdi, rbx
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	sctp_sf_abort_violation, .-sctp_sf_abort_violation
	.comm	SCTP_STATE_COOKIE_ECHOED,8,8
	.comm	SCTP_MIB_OUTCTRLCHUNKS,4,4
	.comm	SCTP_MIB_CURRESTAB,4,4
	.comm	SCTP_MIB_ABORTEDS,4,4
	.comm	SCTP_EVENT_TIMEOUT_T1_INIT,4,4
	.comm	SCTP_ERROR_PROTO_VIOLATION,4,4
	.comm	SCTP_DISPOSITION_NOMEM,4,4
	.comm	SCTP_DISPOSITION_ABORT,4,4
	.comm	SCTP_CMD_UPDATE_INITTAG,4,4
	.comm	SCTP_CMD_TIMER_STOP,4,4
	.comm	SCTP_CMD_SET_SK_ERR,4,4
	.comm	SCTP_CMD_SEND_PKT,4,4
	.comm	SCTP_CMD_REPLY,4,4
	.comm	SCTP_CMD_INIT_FAILED,4,4
	.comm	SCTP_CMD_ASSOC_FAILED,4,4
	.comm	SCTP_CID_INIT_ACK,8,8
	.comm	SCTP_CID_ABORT,4,4
	.comm	SCTP_CHUNK_FLAG_T,4,4
	.comm	ECONNREFUSED,4,4
	.comm	ECONNABORTED,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_sm_statefuns.c_sctp_sf_abort_violation.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sctp_sf_abort_violation, %function
sctp_sf_abort_violation:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	ip, .L25
	mov	r7, r0
	sub	sp, sp, #12
	ldr	r0, [ip]
	mov	r6, r2
	mov	r5, r3
	mov	r4, r1
	bl	sctp_auth_recv_cid
	cmp	r0, #0
	beq	.L20
.L2:
	mov	r0, #0
	bl	SCTP_ST_CHUNK
	mov	r3, r6
	mov	r2, r0
	mov	r1, r4
	mov	r0, r7
	str	r5, [sp]
	bl	sctp_sf_pdiscard
	ldr	r3, .L25+4
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L20:
	mov	r1, r6
	mov	r0, r4
	ldr	r3, [sp, #44]
	ldr	r2, [sp, #40]
	bl	sctp_make_abort_violation
	subs	r8, r0, #0
	beq	.L3
	cmp	r4, #0
	beq	.L4
	ldr	r9, [r6, #8]
	ldr	r3, .L25+8
	ldr	r2, [r9]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L21
.L5:
	ldr	r3, .L25+12
	mov	r0, r8
	ldr	r8, [r3]
	bl	SCTP_CHUNK
	mov	r1, r8
	mov	r2, r0
	mov	r0, r5
	bl	sctp_add_cmd_sf
	ldr	r3, .L25+16
	ldr	r0, [r3]
	bl	SCTP_INC_STATS
	ldr	r3, .L25+20
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L22
	ldr	r3, .L25+24
	ldr	r2, .L25+28
	ldr	r0, [r3]
	ldr	r8, [r2]
	bl	SCTP_ERROR
	mov	r1, r8
	mov	r2, r0
	mov	r0, r5
	bl	sctp_add_cmd_sf
	ldr	r3, .L25+32
	ldr	r2, .L25+36
	ldr	r0, [r3]
	ldr	r8, [r2]
	bl	SCTP_PERR
	mov	r1, r8
	mov	r2, r0
	mov	r0, r5
	bl	sctp_add_cmd_sf
	ldr	r3, .L25+40
	ldr	r0, [r3]
	bl	SCTP_DEC_STATS
.L8:
	ldr	r3, .L25+44
	ldr	r0, [r3]
	bl	SCTP_INC_STATS
	b	.L2
.L22:
	ldr	r3, .L25+48
	ldr	r2, .L25+52
	ldr	r0, [r3]
	ldr	r8, [r2]
	bl	SCTP_TO
	mov	r1, r8
	mov	r2, r0
	mov	r0, r5
	bl	sctp_add_cmd_sf
	ldr	r3, .L25+56
	ldr	r2, .L25+28
	ldr	r0, [r3]
	ldr	r8, [r2]
	bl	SCTP_ERROR
	mov	r1, r8
	mov	r2, r0
	mov	r0, r5
	bl	sctp_add_cmd_sf
	ldr	r3, .L25+32
	ldr	r2, .L25+60
	ldr	r0, [r3]
	ldr	r8, [r2]
	bl	SCTP_PERR
	mov	r1, r8
	mov	r2, r0
	mov	r0, r5
	bl	sctp_add_cmd_sf
	b	.L8
.L21:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L5
	mov	r1, #4
	mov	r0, r6
	bl	sctp_chunk_length_valid
	cmp	r0, #0
	bne	.L6
	ldr	r2, [r8, #8]
	ldr	r1, .L25+64
	ldr	r3, [r2, #4]
	ldr	r1, [r1]
	orr	r3, r3, r1
	str	r3, [r2, #4]
	b	.L5
.L23:
	bl	sctp_chunk_free
.L3:
	ldr	r3, .L25+68
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L4:
	mov	r1, r6
	mov	r0, r4
	bl	sctp_ootb_pkt_new
	subs	r9, r0, #0
	mov	r0, r8
	beq	.L23
	bl	sctp_test_T_bit
	cmp	r0, #0
	bne	.L24
.L10:
	ldr	r2, [r7]
	ldr	r3, [r8]
	mov	r1, r8
	str	r2, [r3]
	mov	r0, r9
	bl	sctp_packet_append_chunk
	ldr	r3, .L25+72
	mov	r0, r9
	ldr	r8, [r3]
	bl	SCTP_PACKET
	mov	r1, r8
	mov	r2, r0
	mov	r0, r5
	bl	sctp_add_cmd_sf
	ldr	r3, .L25+16
	ldr	r0, [r3]
	bl	SCTP_INC_STATS
	b	.L8
.L24:
	ldr	r3, [r6, #4]
	ldr	r0, [r3]
	bl	ntohl
	str	r0, [r9]
	b	.L10
.L6:
	ldr	r0, [r9]
	bl	ntohl
	ldr	r3, .L25+76
	ldr	r9, [r3]
	bl	SCTP_U32
	mov	r1, r9
	mov	r2, r0
	mov	r0, r5
	bl	sctp_add_cmd_sf
	b	.L5
.L26:
	.align	2
.L25:
	.word	SCTP_CID_ABORT
	.word	SCTP_DISPOSITION_ABORT
	.word	SCTP_CID_INIT_ACK
	.word	SCTP_CMD_REPLY
	.word	SCTP_MIB_OUTCTRLCHUNKS
	.word	SCTP_STATE_COOKIE_ECHOED
	.word	ECONNABORTED
	.word	SCTP_CMD_SET_SK_ERR
	.word	SCTP_ERROR_PROTO_VIOLATION
	.word	SCTP_CMD_ASSOC_FAILED
	.word	SCTP_MIB_CURRESTAB
	.word	SCTP_MIB_ABORTEDS
	.word	SCTP_EVENT_TIMEOUT_T1_INIT
	.word	SCTP_CMD_TIMER_STOP
	.word	ECONNREFUSED
	.word	SCTP_CMD_INIT_FAILED
	.word	SCTP_CHUNK_FLAG_T
	.word	SCTP_DISPOSITION_NOMEM
	.word	SCTP_CMD_SEND_PKT
	.word	SCTP_CMD_UPDATE_INITTAG
	.size	sctp_sf_abort_violation, .-sctp_sf_abort_violation
	.comm	SCTP_STATE_COOKIE_ECHOED,4,4
	.comm	SCTP_MIB_OUTCTRLCHUNKS,4,4
	.comm	SCTP_MIB_CURRESTAB,4,4
	.comm	SCTP_MIB_ABORTEDS,4,4
	.comm	SCTP_EVENT_TIMEOUT_T1_INIT,4,4
	.comm	SCTP_ERROR_PROTO_VIOLATION,4,4
	.comm	SCTP_DISPOSITION_NOMEM,4,4
	.comm	SCTP_DISPOSITION_ABORT,4,4
	.comm	SCTP_CMD_UPDATE_INITTAG,4,4
	.comm	SCTP_CMD_TIMER_STOP,4,4
	.comm	SCTP_CMD_SET_SK_ERR,4,4
	.comm	SCTP_CMD_SEND_PKT,4,4
	.comm	SCTP_CMD_REPLY,4,4
	.comm	SCTP_CMD_INIT_FAILED,4,4
	.comm	SCTP_CMD_ASSOC_FAILED,4,4
	.comm	SCTP_CID_INIT_ACK,4,4
	.comm	SCTP_CID_ABORT,4,4
	.comm	SCTP_CHUNK_FLAG_T,4,4
	.comm	ECONNREFUSED,4,4
	.comm	ECONNABORTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
