	.file	"extr_sm_make_chunk.c_sctp_process_asconf_ack.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sctp_process_asconf_ack
	.type	sctp_process_asconf_ack, @function
sctp_process_asconf_ack:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR [rdi]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR 8[rax]
	mov	ebx, DWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	edi, DWORD PTR 4[rax]
	lea	r15, 4[rax]
	sub	ebx, 4
	call	ntohs@PLT
	mov	DWORD PTR 4[rsp], 0
	movsx	rcx, eax
	sub	ebx, eax
	mov	rax, QWORD PTR 8[r14]
	add	r15, rcx
	mov	r13d, DWORD PTR [rax]
	test	ebx, ebx
	jle	.L2
	mov	r12d, 1
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L35:
	mov	edx, r12d
	mov	rsi, r15
	mov	rdi, r14
	call	sctp_get_asconf_response@PLT
	cmp	eax, 131
	je	.L14
	test	r12d, r12d
	je	.L14
	xor	r12d, r12d
	cmp	eax, 129
	je	.L30
.L10:
	cmp	eax, 128
	je	.L33
.L6:
	mov	edi, DWORD PTR [r15]
	call	ntohs@PLT
	movsx	rdx, eax
	sub	ebx, eax
	add	r15, rdx
	test	ebx, ebx
	jle	.L34
.L8:
	cmp	r13d, 4
	jne	.L35
	mov	rsi, r15
	mov	rdi, rbp
	call	sctp_asconf_param_success@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L14:
	cmp	eax, 129
	je	.L30
	cmp	eax, 131
	jne	.L10
	mov	rsi, r15
	mov	rdi, rbp
	call	sctp_asconf_param_success@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L33:
	mov	eax, DWORD PTR 4[r15]
	or	DWORD PTR 12[rbp], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L30:
	mov	DWORD PTR 4[rsp], 1
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L34:
	test	r12d, r12d
	jne	.L2
.L9:
	mov	rbx, QWORD PTR 8[rsp]
	mov	rdi, rbx
	call	list_del_init@PLT
	mov	rdi, rbx
	call	sctp_chunk_free@PLT
	mov	QWORD PTR 0[rbp], 0
	mov	eax, DWORD PTR 4[rsp]
	add	rsp, 24
	.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
.L2:
	.cfi_restore_state
	cmp	QWORD PTR 16[rbp], 0
	je	.L9
	mov	QWORD PTR 16[rbp], 0
	mov	edi, DWORD PTR 8[rbp]
	call	sctp_transport_immediate_rtx@PLT
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	sctp_process_asconf_ack, .-sctp_process_asconf_ack
	.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_make_chunk.c_sctp_process_asconf_ack.c"
	.text
	.align	2
	.global	sctp_process_asconf_ack
	.syntax unified
	.arm
	.fpu softvfp
	.type	sctp_process_asconf_ack, %function
sctp_process_asconf_ack:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, [r0]
	mov	r5, r0
	ldr	r3, [r9, #4]
	mov	r8, r1
	ldm	r3, {r4, fp}
	ldr	r0, [fp, #4]
	bl	ntohs
	sub	r4, r4, #4
	ldr	r3, [r8, #4]
	sub	r4, r4, r0
	add	fp, fp, #4
	cmp	r4, #0
	mov	r10, #0
	ldr	r7, [r3]
	add	fp, fp, r0
	ble	.L2
	mov	r6, #1
	b	.L7
.L31:
	cmp	r0, #129
	beq	.L28
	cmp	r0, #131
	bne	.L9
.L3:
	mov	r1, fp
	mov	r0, r5
	bl	sctp_asconf_param_success
.L5:
	ldr	r0, [fp]
	bl	ntohs
	sub	r4, r4, r0
	cmp	r4, #0
	add	fp, fp, r0
	ble	.L30
.L7:
	cmp	r7, #4
	beq	.L3
	mov	r2, r6
	mov	r1, fp
	mov	r0, r8
	bl	sctp_get_asconf_response
	cmp	r0, #131
	moveq	r3, #0
	andne	r3, r6, #1
	cmp	r3, #0
	beq	.L31
	cmp	r0, #129
	mov	r6, #0
	beq	.L28
.L9:
	cmp	r0, #128
	ldreq	r3, [r5, #8]
	ldreq	r2, [fp, #4]
	orreq	r3, r3, r2
	streq	r3, [r5, #8]
	b	.L5
.L28:
	mov	r10, #1
	b	.L5
.L30:
	cmp	r6, #0
	bne	.L2
.L8:
	mov	r0, r9
	bl	list_del_init
	mov	r0, r9
	bl	sctp_chunk_free
	mov	r3, #0
	mov	r0, r10
	str	r3, [r5]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, [r5, #12]
	cmp	r3, #0
	beq	.L8
	mov	r3, #0
	ldr	r0, [r5, #4]
	str	r3, [r5, #12]
	bl	sctp_transport_immediate_rtx
	b	.L8
	.size	sctp_process_asconf_ack, .-sctp_process_asconf_ack
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
