	.file	"extr_sm_statefuns.c_sctp_sf_do_asconf_ack.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sctp_sf_do_asconf_ack
	.type	sctp_sf_do_asconf_ack, @function
sctp_sf_do_asconf_ack:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r8
	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, r9
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, r8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdx]
	mov	QWORD PTR 16[rsp], 0
	mov	QWORD PTR [rsp], rax
	call	sctp_vtag_verify@PLT
	test	eax, eax
	je	.L27
	mov	r8d, DWORD PTR 16[rbx]
	test	r8d, r8d
	je	.L4
	mov	edi, DWORD PTR 0[rbp]
	test	edi, edi
	jne	.L5
	mov	esi, DWORD PTR 16[r15]
	test	esi, esi
	je	.L4
.L5:
	mov	esi, 4
	mov	rdi, r15
	call	sctp_chunk_length_valid@PLT
	test	eax, eax
	je	.L28
	mov	rax, QWORD PTR 8[r15]
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	call	ntohl@PLT
	xor	edx, edx
	lea	rcx, 16[rsp]
	mov	rsi, r15
	mov	rdi, rbx
	mov	QWORD PTR 8[rsp], rax
	call	sctp_verify_asconf@PLT
	test	eax, eax
	je	.L29
	mov	rax, QWORD PTR [rsp]
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	call	ntohl@PLT
	mov	rdx, rax
	lea	rsi, 1[rax]
.L9:
	mov	rdi, QWORD PTR 8[rsp]
	mov	QWORD PTR [rsp], rdx
	call	ADDIP_SERIAL_gte@PLT
	mov	rdx, QWORD PTR [rsp]
	test	rax, rax
	je	.L10
	cmp	QWORD PTR 8[rbx], 0
	je	.L30
	cmp	rdx, QWORD PTR 8[rsp]
	je	.L16
.L13:
	mov	eax, DWORD PTR SCTP_DISPOSITION_DISCARD[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r9, r12
	mov	r8, r15
	mov	ecx, r14d
	mov	rdx, rbx
	mov	rsi, r13
	mov	rdi, rbp
	call	sctp_sf_discard_chunk@PLT
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L31
	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
.L27:
	.cfi_restore_state
	call	SCTP_NULL@PLT
	mov	esi, DWORD PTR SCTP_CMD_REPORT_BAD_TAG[rip]
	mov	rdi, r12
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	r9, r12
	mov	r8, r15
	mov	ecx, r14d
	mov	rdx, rbx
	mov	rsi, r13
	mov	rdi, rbp
	call	sctp_sf_pdiscard@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rsi, QWORD PTR [rbx]
	lea	rdx, -1[rsi]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L28:
	mov	r9, r12
	mov	r8, r15
	mov	ecx, r14d
	mov	rdx, rbx
	mov	rsi, r13
	mov	rdi, rbp
	call	sctp_sf_violation_chunklen@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	cmp	rdx, QWORD PTR 8[rsp]
	jne	.L13
	cmp	QWORD PTR 8[rbx], 0
	je	.L13
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR SCTP_EVENT_TIMEOUT_T4_RTO[rip]
	call	SCTP_TO@PLT
	mov	esi, DWORD PTR SCTP_CMD_TIMER_STOP[rip]
	mov	rdi, r12
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	rsi, r15
	mov	rdi, rbx
	call	sctp_process_asconf_ack@PLT
	test	eax, eax
	jne	.L14
	mov	r8, r12
	mov	ecx, r14d
	mov	rdx, rbx
	mov	rsi, r13
	mov	rdi, rbp
	call	sctp_send_next_asconf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L29:
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	mov	ecx, r14d
	mov	rdx, rbx
	mov	r8, r15
	push	r12
	.cfi_def_cfa_offset 112
	mov	r9, QWORD PTR 32[rsp]
	mov	rsi, r13
	mov	rdi, rbp
	call	sctp_sf_violation_paramlen@PLT
	pop	rdx
	.cfi_def_cfa_offset 104
	pop	rcx
	.cfi_def_cfa_offset 96
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edx, 4
	mov	rsi, r15
	mov	rdi, rbx
	call	sctp_make_abort@PLT
	mov	r13, rax
	test	rax, rax
	je	.L15
	mov	esi, DWORD PTR SCTP_ERROR_RSRC_LOW[rip]
	xor	edx, edx
	mov	rdi, rax
	call	sctp_init_cause@PLT
	mov	rdi, r13
	call	SCTP_CHUNK@PLT
	mov	esi, DWORD PTR SCTP_CMD_REPLY[rip]
	mov	edx, eax
.L25:
	mov	rdi, r12
	call	sctp_add_cmd_sf@PLT
.L15:
	xor	eax, eax
	call	SCTP_NULL@PLT
	mov	esi, DWORD PTR SCTP_CMD_DISCARD_PACKET[rip]
	mov	rdi, r12
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	edi, DWORD PTR ECONNABORTED[rip]
	call	SCTP_ERROR@PLT
	mov	esi, DWORD PTR SCTP_CMD_SET_SK_ERR[rip]
	mov	rdi, r12
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	edi, DWORD PTR SCTP_ERROR_ASCONF_ACK[rip]
	call	SCTP_PERR@PLT
	mov	esi, DWORD PTR SCTP_CMD_ASSOC_FAILED[rip]
	mov	rdi, r12
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
	mov	esi, DWORD PTR SCTP_MIB_ABORTEDS[rip]
	mov	rdi, rbp
	call	SCTP_INC_STATS@PLT
	mov	esi, DWORD PTR SCTP_MIB_CURRESTAB[rip]
	mov	rdi, rbp
	call	SCTP_DEC_STATS@PLT
	mov	eax, DWORD PTR SCTP_DISPOSITION_ABORT[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L30:
	mov	edx, 4
	mov	rsi, r15
	mov	rdi, rbx
	call	sctp_make_abort@PLT
	mov	r13, rax
	test	rax, rax
	je	.L12
	mov	esi, DWORD PTR SCTP_ERROR_ASCONF_ACK[rip]
	xor	edx, edx
	mov	rdi, rax
	call	sctp_init_cause@PLT
	mov	rdi, r13
	call	SCTP_CHUNK@PLT
	mov	esi, DWORD PTR SCTP_CMD_REPLY[rip]
	mov	rdi, r12
	mov	edx, eax
	call	sctp_add_cmd_sf@PLT
.L12:
	mov	edi, DWORD PTR SCTP_EVENT_TIMEOUT_T4_RTO[rip]
	call	SCTP_TO@PLT
	mov	esi, DWORD PTR SCTP_CMD_TIMER_STOP[rip]
	mov	edx, eax
	jmp	.L25
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sctp_sf_do_asconf_ack, .-sctp_sf_do_asconf_ack
	.comm	SCTP_MIB_CURRESTAB,4,4
	.comm	SCTP_MIB_ABORTEDS,4,4
	.comm	SCTP_EVENT_TIMEOUT_T4_RTO,4,4
	.comm	SCTP_ERROR_RSRC_LOW,4,4
	.comm	SCTP_ERROR_ASCONF_ACK,4,4
	.comm	SCTP_DISPOSITION_DISCARD,4,4
	.comm	SCTP_DISPOSITION_ABORT,4,4
	.comm	SCTP_CMD_TIMER_STOP,4,4
	.comm	SCTP_CMD_SET_SK_ERR,4,4
	.comm	SCTP_CMD_REPORT_BAD_TAG,4,4
	.comm	SCTP_CMD_REPLY,4,4
	.comm	SCTP_CMD_DISCARD_PACKET,4,4
	.comm	SCTP_CMD_ASSOC_FAILED,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_do_asconf_ack.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sctp_sf_do_asconf_ack
	.syntax unified
	.arm
	.fpu softvfp
	.type	sctp_sf_do_asconf_ack, %function
sctp_sf_do_asconf_ack:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r2
	mov	r2, #0
	sub	sp, sp, #36
	ldr	r6, [sp, #72]
	mov	r8, r3
	ldr	r3, .L39
	mov	r5, r0
	mov	r7, r1
	mov	r0, r6
	mov	r1, r4
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	ldr	r10, [r4, #4]
	ldr	r9, [sp, #76]
	str	r2, [sp, #24]
	bl	sctp_vtag_verify
	cmp	r0, #0
	beq	.L33
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [r5]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [r6, #8]
	cmp	r3, #0
	beq	.L4
.L5:
	mov	r1, #4
	mov	r0, r6
	bl	sctp_chunk_length_valid
	cmp	r0, #0
	beq	.L34
	ldr	r3, [r6, #4]
	ldr	r3, [r3]
	ldr	r0, [r3]
	bl	ntohl
	mov	r2, #0
	mov	fp, r0
	mov	r1, r6
	mov	r0, r4
	add	r3, sp, #24
	bl	sctp_verify_asconf
	cmp	r0, #0
	beq	.L35
	cmp	r10, #0
	beq	.L8
	ldr	r3, [r10]
	ldr	r0, [r3]
	bl	ntohl
	add	r1, r0, #1
	mov	r10, r0
	mov	r0, fp
	bl	ADDIP_SERIAL_gte
	cmp	r0, #0
	beq	.L10
.L38:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L36
	cmp	r10, fp
	beq	.L16
.L13:
	ldr	r3, .L39+4
	ldr	r0, [r3]
	b	.L1
.L4:
	mov	r3, r8
	mov	r2, r4
	mov	r1, r7
	mov	r0, r5
	stm	sp, {r6, r9}
	bl	sctp_sf_discard_chunk
.L1:
	ldr	r3, .L39
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L37
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L33:
	ldr	r3, .L39+8
	ldr	r10, [r3]
	bl	SCTP_NULL
	mov	r1, r10
	mov	r2, r0
	mov	r0, r9
	bl	sctp_add_cmd_sf
	mov	r3, r8
	mov	r2, r4
	mov	r1, r7
	mov	r0, r5
	stm	sp, {r6, r9}
	bl	sctp_sf_pdiscard
	b	.L1
.L8:
	ldr	r1, [r4]
	mov	r0, fp
	sub	r10, r1, #1
	bl	ADDIP_SERIAL_gte
	cmp	r0, #0
	bne	.L38
.L10:
	cmp	r10, fp
	bne	.L13
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L13
.L16:
	ldr	r3, .L39+12
	ldr	r2, .L39+16
	ldr	r0, [r3]
	ldr	r10, [r2]
	bl	SCTP_TO
	mov	r1, r10
	mov	r2, r0
	mov	r0, r9
	bl	sctp_add_cmd_sf
	mov	r1, r6
	mov	r0, r4
	bl	sctp_process_asconf_ack
	cmp	r0, #0
	bne	.L14
	mov	r3, r8
	mov	r2, r4
	mov	r1, r7
	mov	r0, r5
	str	r9, [sp]
	bl	sctp_send_next_asconf
	b	.L1
.L34:
	mov	r3, r8
	mov	r2, r4
	mov	r1, r7
	mov	r0, r5
	stm	sp, {r6, r9}
	bl	sctp_sf_violation_chunklen
	b	.L1
.L35:
	ldr	ip, [sp, #24]
	mov	r3, r8
	mov	r2, r4
	mov	r1, r7
	mov	r0, r5
	str	r9, [sp, #8]
	str	r6, [sp]
	str	ip, [sp, #4]
	bl	sctp_sf_violation_paramlen
	b	.L1
.L14:
	mov	r0, r4
	mov	r1, r6
	mov	r2, #4
	bl	sctp_make_abort
	subs	r4, r0, #0
	beq	.L15
	ldr	r3, .L39+20
	mov	r2, #0
	ldr	r1, [r3]
	bl	sctp_init_cause
	ldr	r3, .L39+24
	mov	r0, r4
	ldr	r4, [r3]
	bl	SCTP_CHUNK
	mov	r1, r4
	mov	r2, r0
	mov	r0, r9
	bl	sctp_add_cmd_sf
.L15:
	ldr	r3, .L39+28
	ldr	r4, [r3]
	bl	SCTP_NULL
	mov	r1, r4
	mov	r2, r0
	mov	r0, r9
	bl	sctp_add_cmd_sf
	ldr	r3, .L39+32
	ldr	r2, .L39+36
	ldr	r0, [r3]
	ldr	r4, [r2]
	bl	SCTP_ERROR
	mov	r1, r4
	mov	r2, r0
	mov	r0, r9
	bl	sctp_add_cmd_sf
	ldr	r2, .L39+40
	ldr	r3, .L39+44
	ldr	r4, [r2]
	ldr	r0, [r3]
.L31:
	bl	SCTP_PERR
	mov	r1, r4
	mov	r2, r0
	mov	r0, r9
	bl	sctp_add_cmd_sf
	ldr	r3, .L39+48
	mov	r0, r5
	ldr	r1, [r3]
	bl	SCTP_INC_STATS
	ldr	r3, .L39+52
	mov	r0, r5
	ldr	r1, [r3]
	bl	SCTP_DEC_STATS
	ldr	r3, .L39+56
	ldr	r0, [r3]
	b	.L1
.L36:
	mov	r1, r6
	mov	r0, r4
	mov	r2, #4
	str	r3, [sp, #20]
	bl	sctp_make_abort
	subs	r4, r0, #0
	ldr	r6, .L39+44
	ldr	r3, [sp, #20]
	beq	.L12
	mov	r2, r3
	ldr	r1, [r6]
	bl	sctp_init_cause
	ldr	r3, .L39+24
	mov	r0, r4
	ldr	r4, [r3]
	bl	SCTP_CHUNK
	mov	r1, r4
	mov	r2, r0
	mov	r0, r9
	bl	sctp_add_cmd_sf
.L12:
	ldr	r3, .L39+12
	ldr	r2, .L39+16
	ldr	r0, [r3]
	ldr	r4, [r2]
	bl	SCTP_TO
	mov	r1, r4
	mov	r2, r0
	mov	r0, r9
	bl	sctp_add_cmd_sf
	ldr	r3, .L39+28
	ldr	r4, [r3]
	bl	SCTP_NULL
	mov	r1, r4
	mov	r2, r0
	mov	r0, r9
	bl	sctp_add_cmd_sf
	ldr	r3, .L39+32
	ldr	r2, .L39+36
	ldr	r0, [r3]
	ldr	r4, [r2]
	bl	SCTP_ERROR
	mov	r1, r4
	mov	r2, r0
	mov	r0, r9
	bl	sctp_add_cmd_sf
	ldr	r3, .L39+40
	ldr	r0, [r6]
	ldr	r4, [r3]
	b	.L31
.L37:
	bl	__stack_chk_fail
.L40:
	.align	2
.L39:
	.word	.LC0
	.word	SCTP_DISPOSITION_DISCARD
	.word	SCTP_CMD_REPORT_BAD_TAG
	.word	SCTP_EVENT_TIMEOUT_T4_RTO
	.word	SCTP_CMD_TIMER_STOP
	.word	SCTP_ERROR_RSRC_LOW
	.word	SCTP_CMD_REPLY
	.word	SCTP_CMD_DISCARD_PACKET
	.word	ECONNABORTED
	.word	SCTP_CMD_SET_SK_ERR
	.word	SCTP_CMD_ASSOC_FAILED
	.word	SCTP_ERROR_ASCONF_ACK
	.word	SCTP_MIB_ABORTEDS
	.word	SCTP_MIB_CURRESTAB
	.word	SCTP_DISPOSITION_ABORT
	.size	sctp_sf_do_asconf_ack, .-sctp_sf_do_asconf_ack
	.comm	SCTP_MIB_CURRESTAB,4,4
	.comm	SCTP_MIB_ABORTEDS,4,4
	.comm	SCTP_EVENT_TIMEOUT_T4_RTO,4,4
	.comm	SCTP_ERROR_RSRC_LOW,4,4
	.comm	SCTP_ERROR_ASCONF_ACK,4,4
	.comm	SCTP_DISPOSITION_DISCARD,4,4
	.comm	SCTP_DISPOSITION_ABORT,4,4
	.comm	SCTP_CMD_TIMER_STOP,4,4
	.comm	SCTP_CMD_SET_SK_ERR,4,4
	.comm	SCTP_CMD_REPORT_BAD_TAG,4,4
	.comm	SCTP_CMD_REPLY,4,4
	.comm	SCTP_CMD_DISCARD_PACKET,4,4
	.comm	SCTP_CMD_ASSOC_FAILED,4,4
	.comm	ECONNABORTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
