	.file	"extr_sm_statefuns.c_sctp_sf_do_5_1C_ack.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sctp_sf_do_5_1C_ack
	.type	sctp_sf_do_5_1C_ack, @function
sctp_sf_do_5_1C_ack:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	mov	rsi, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	rdi, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r9
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	sctp_vtag_verify@PLT
	test	eax, eax
	je	.L17
	mov	esi, DWORD PTR 32[rbx]
	test	esi, esi
	je	.L19
	mov	esi, 4
	mov	rdi, rbx
	call	sctp_chunk_length_valid@PLT
	test	eax, eax
	je	.L20
	mov	rax, QWORD PTR 8[rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	mov	r8, QWORD PTR [rbx]
	mov	rdx, r15
	mov	r9, rbx
	mov	rsi, r13
	mov	rdi, r12
	mov	rax, QWORD PTR [rax]
	mov	ecx, DWORD PTR 4[r8]
	mov	QWORD PTR 24[rsp], 0
	mov	QWORD PTR 24[rbx], rax
	lea	rax, 24[rsp]
	push	rax
	.cfi_def_cfa_offset 112
	call	sctp_verify_init@PLT
	pop	rdx
	.cfi_def_cfa_offset 104
	pop	rcx
	.cfi_def_cfa_offset 96
	test	eax, eax
	jne	.L6
	mov	eax, DWORD PTR SCTP_ERROR_NO_RESOURCE[rip]
	mov	DWORD PTR 4[rsp], eax
	mov	rax, QWORD PTR 16[rsp]
	test	rax, rax
	je	.L7
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	call	ntohs@PLT
	mov	rcx, rbx
	mov	rdx, r15
	mov	rsi, r13
	mov	r8, rax
	mov	rax, QWORD PTR 16[rsp]
	mov	rdi, r12
	lea	r9, -4[r8]
	mov	rax, QWORD PTR [rax]
	lea	r8, 16[rax]
	call	sctp_abort_pkt_new@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	QWORD PTR 8[rsp], rax
	call	sctp_chunk_free@PLT
	mov	r8, QWORD PTR 8[rsp]
	test	r8, r8
	je	.L7
	mov	rdi, r8
	call	SCTP_PACKET@PLT
	mov	esi, DWORD PTR SCTP_CMD_SEND_PKT[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	esi, DWORD PTR SCTP_MIB_OUTCTRLCHUNKS[rip]
	mov	rdi, r12
	call	SCTP_INC_STATS@PLT
	mov	eax, DWORD PTR SCTP_ERROR_INV_PARAM[rip]
	mov	DWORD PTR 4[rsp], eax
.L7:
	mov	edi, DWORD PTR SCTP_CID_ABORT[rip]
	mov	rsi, r15
	call	sctp_auth_recv_cid@PLT
	test	rax, rax
	je	.L8
.L17:
	mov	r9, rbp
	mov	r8, rbx
	mov	ecx, r14d
	mov	rdx, r15
	mov	rsi, r13
	mov	rdi, r12
	call	sctp_sf_pdiscard@PLT
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L21
	add	rsp, 40
	.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
.L19:
	.cfi_restore_state
	mov	r9, rbp
	mov	r8, rbx
	mov	ecx, r14d
	mov	rdx, r15
	mov	rsi, r13
	mov	rdi, r12
	call	sctp_sf_violation_chunk@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	r9, rbp
	mov	r8, rbx
	mov	ecx, r14d
	mov	rdx, r15
	mov	rsi, r13
	mov	rdi, r12
	call	sctp_sf_violation_chunklen@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, DWORD PTR SCTP_MIB_ABORTEDS[rip]
	mov	rdi, r12
	call	SCTP_INC_STATS@PLT
	mov	r9d, DWORD PTR 20[rbx]
	mov	edx, DWORD PTR 4[rsp]
	mov	r8, r15
	mov	ecx, DWORD PTR ECONNREFUSED[rip]
	mov	rsi, rbp
	mov	rdi, r12
	call	sctp_stop_t1_and_abort@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, QWORD PTR 8[rbx]
	mov	esi, 4
	call	skb_pull@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	DWORD PTR 16[rbx], eax
	call	SCTP_PEER_INIT@PLT
	mov	esi, DWORD PTR SCTP_CMD_PEER_INIT[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	xor	eax, eax
	call	SCTP_NULL@PLT
	mov	esi, DWORD PTR SCTP_CMD_INIT_COUNTER_RESET[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	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, rbp
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	edi, DWORD PTR SCTP_EVENT_TIMEOUT_T1_COOKIE[rip]
	call	SCTP_TO@PLT
	mov	esi, DWORD PTR SCTP_CMD_TIMER_START[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	edi, DWORD PTR SCTP_STATE_COOKIE_ECHOED[rip]
	call	SCTP_STATE@PLT
	mov	esi, DWORD PTR SCTP_CMD_NEW_STATE[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	xor	eax, eax
	call	SCTP_NULL@PLT
	mov	esi, DWORD PTR SCTP_CMD_ASSOC_SHKEY[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	SCTP_CHUNK@PLT
	mov	esi, DWORD PTR SCTP_CMD_GEN_COOKIE_ECHO[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	eax, DWORD PTR SCTP_DISPOSITION_CONSUME[rip]
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sctp_sf_do_5_1C_ack, .-sctp_sf_do_5_1C_ack
	.comm	SCTP_STATE_COOKIE_ECHOED,4,4
	.comm	SCTP_MIB_OUTCTRLCHUNKS,4,4
	.comm	SCTP_MIB_ABORTEDS,4,4
	.comm	SCTP_EVENT_TIMEOUT_T1_INIT,4,4
	.comm	SCTP_EVENT_TIMEOUT_T1_COOKIE,4,4
	.comm	SCTP_ERROR_NO_RESOURCE,4,4
	.comm	SCTP_ERROR_INV_PARAM,4,4
	.comm	SCTP_DISPOSITION_CONSUME,4,4
	.comm	SCTP_CMD_TIMER_STOP,4,4
	.comm	SCTP_CMD_TIMER_START,4,4
	.comm	SCTP_CMD_SEND_PKT,4,4
	.comm	SCTP_CMD_PEER_INIT,4,4
	.comm	SCTP_CMD_NEW_STATE,4,4
	.comm	SCTP_CMD_INIT_COUNTER_RESET,4,4
	.comm	SCTP_CMD_GEN_COOKIE_ECHO,4,4
	.comm	SCTP_CMD_ASSOC_SHKEY,4,4
	.comm	SCTP_CID_ABORT,4,4
	.comm	ECONNREFUSED,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_do_5_1C_ack.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sctp_sf_do_5_1C_ack
	.syntax unified
	.arm
	.fpu softvfp
	.type	sctp_sf_do_5_1C_ack, %function
sctp_sf_do_5_1C_ack:
	@ args = 8, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #28
	ldr	r4, [sp, #64]
	mov	r9, r3
	ldr	r3, .L22
	mov	r6, r0
	mov	r7, r1
	mov	r0, r4
	mov	r1, r2
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r8, [sp, #68]
	bl	sctp_vtag_verify
	cmp	r0, #0
	beq	.L17
	ldr	r3, [r4, #20]
	cmp	r3, #0
	beq	.L19
	mov	r1, #4
	mov	r0, r4
	bl	sctp_chunk_length_valid
	cmp	r0, #0
	beq	.L20
	ldm	r4, {r2, r3}
	mov	ip, #0
	ldr	r0, [r3]
	add	r1, sp, #16
	ldr	r3, [r2, #4]
	str	r0, [r4, #16]
	stm	sp, {r2, r4}
	str	r1, [sp, #8]
	mov	r2, r5
	mov	r1, r7
	mov	r0, r6
	str	ip, [sp, #16]
	bl	sctp_verify_init
	cmp	r0, #0
	bne	.L6
	ldr	r3, [sp, #16]
	ldr	r2, .L22+4
	cmp	r3, #0
	ldr	r10, [r2]
	beq	.L7
	ldr	fp, [r3]
	ldr	r0, [fp], #16
	bl	ntohs
	sub	r0, r0, #4
	mov	r3, r4
	mov	r2, r5
	mov	r1, r7
	str	fp, [sp]
	str	r0, [sp, #4]
	mov	r0, r6
	bl	sctp_abort_pkt_new
	mov	fp, r0
	ldr	r0, [sp, #16]
	bl	sctp_chunk_free
	cmp	fp, #0
	beq	.L7
	ldr	r3, .L22+8
	mov	r0, fp
	ldr	r10, [r3]
	bl	SCTP_PACKET
	mov	r1, r10
	mov	r2, r0
	mov	r0, r8
	bl	sctp_add_cmd_sf
	ldr	r3, .L22+12
	mov	r0, r6
	ldr	r1, [r3]
	bl	SCTP_INC_STATS
	ldr	r3, .L22+16
	ldr	r10, [r3]
.L7:
	ldr	r3, .L22+20
	mov	r1, r5
	ldr	r0, [r3]
	bl	sctp_auth_recv_cid
	cmp	r0, #0
	beq	.L8
.L17:
	mov	r3, r9
	mov	r2, r5
	mov	r1, r7
	mov	r0, r6
	stm	sp, {r4, r8}
	bl	sctp_sf_pdiscard
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	mov	r3, r9
	mov	r2, r5
	mov	r1, r7
	mov	r0, r6
	stm	sp, {r4, r8}
	bl	sctp_sf_violation_chunk
	b	.L1
.L20:
	mov	r3, r9
	mov	r2, r5
	mov	r1, r7
	mov	r0, r6
	stm	sp, {r4, r8}
	bl	sctp_sf_violation_chunklen
	b	.L1
.L8:
	ldr	r3, .L22+24
	mov	r0, r6
	ldr	r1, [r3]
	bl	SCTP_INC_STATS
	ldr	r2, [r4, #12]
	ldr	r3, .L22+28
	str	r2, [sp, #4]
	str	r5, [sp]
	mov	r2, r10
	mov	r1, r8
	mov	r0, r6
	ldr	r3, [r3]
	bl	sctp_stop_t1_and_abort
	b	.L1
.L6:
	mov	r1, #4
	ldr	r0, [r4, #4]
	bl	skb_pull
	ldr	r3, .L22+32
	str	r0, [r4, #8]
	ldr	r0, [r4]
	ldr	r4, [r3]
	bl	SCTP_PEER_INIT
	mov	r1, r4
	mov	r2, r0
	mov	r0, r8
	bl	sctp_add_cmd_sf
	ldr	r3, .L22+36
	ldr	r4, [r3]
	bl	SCTP_NULL
	mov	r1, r4
	mov	r2, r0
	mov	r0, r8
	bl	sctp_add_cmd_sf
	ldr	r3, .L22+40
	ldr	r2, .L22+44
	ldr	r0, [r3]
	ldr	r4, [r2]
	bl	SCTP_TO
	mov	r1, r4
	mov	r2, r0
	mov	r0, r8
	bl	sctp_add_cmd_sf
	ldr	r3, .L22+48
	ldr	r2, .L22+52
	ldr	r0, [r3]
	ldr	r4, [r2]
	bl	SCTP_TO
	mov	r1, r4
	mov	r2, r0
	mov	r0, r8
	bl	sctp_add_cmd_sf
	ldr	r3, .L22+56
	ldr	r2, .L22+60
	ldr	r0, [r3]
	ldr	r4, [r2]
	bl	SCTP_STATE
	mov	r1, r4
	mov	r2, r0
	mov	r0, r8
	bl	sctp_add_cmd_sf
	ldr	r3, .L22+64
	ldr	r4, [r3]
	bl	SCTP_NULL
	mov	r1, r4
	mov	r2, r0
	mov	r0, r8
	bl	sctp_add_cmd_sf
	ldr	r3, .L22+68
	ldr	r0, [sp, #16]
	ldr	r4, [r3]
	bl	SCTP_CHUNK
	mov	r1, r4
	mov	r2, r0
	mov	r0, r8
	bl	sctp_add_cmd_sf
	ldr	r3, .L22+72
	ldr	r0, [r3]
	b	.L1
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	SCTP_ERROR_NO_RESOURCE
	.word	SCTP_CMD_SEND_PKT
	.word	SCTP_MIB_OUTCTRLCHUNKS
	.word	SCTP_ERROR_INV_PARAM
	.word	SCTP_CID_ABORT
	.word	SCTP_MIB_ABORTEDS
	.word	ECONNREFUSED
	.word	SCTP_CMD_PEER_INIT
	.word	SCTP_CMD_INIT_COUNTER_RESET
	.word	SCTP_EVENT_TIMEOUT_T1_INIT
	.word	SCTP_CMD_TIMER_STOP
	.word	SCTP_EVENT_TIMEOUT_T1_COOKIE
	.word	SCTP_CMD_TIMER_START
	.word	SCTP_STATE_COOKIE_ECHOED
	.word	SCTP_CMD_NEW_STATE
	.word	SCTP_CMD_ASSOC_SHKEY
	.word	SCTP_CMD_GEN_COOKIE_ECHO
	.word	SCTP_DISPOSITION_CONSUME
	.size	sctp_sf_do_5_1C_ack, .-sctp_sf_do_5_1C_ack
	.comm	SCTP_STATE_COOKIE_ECHOED,4,4
	.comm	SCTP_MIB_OUTCTRLCHUNKS,4,4
	.comm	SCTP_MIB_ABORTEDS,4,4
	.comm	SCTP_EVENT_TIMEOUT_T1_INIT,4,4
	.comm	SCTP_EVENT_TIMEOUT_T1_COOKIE,4,4
	.comm	SCTP_ERROR_NO_RESOURCE,4,4
	.comm	SCTP_ERROR_INV_PARAM,4,4
	.comm	SCTP_DISPOSITION_CONSUME,4,4
	.comm	SCTP_CMD_TIMER_STOP,4,4
	.comm	SCTP_CMD_TIMER_START,4,4
	.comm	SCTP_CMD_SEND_PKT,4,4
	.comm	SCTP_CMD_PEER_INIT,4,4
	.comm	SCTP_CMD_NEW_STATE,4,4
	.comm	SCTP_CMD_INIT_COUNTER_RESET,4,4
	.comm	SCTP_CMD_GEN_COOKIE_ECHO,4,4
	.comm	SCTP_CMD_ASSOC_SHKEY,4,4
	.comm	SCTP_CID_ABORT,4,4
	.comm	ECONNREFUSED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
