	.file	"extr_output.c_sctp_packet_bundle_sack.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sctp_packet_bundle_sack, @function
sctp_packet_bundle_sack:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	rdi, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12d, DWORD PTR SCTP_XMIT_OK[rip]
	call	sctp_chunk_is_data@PLT
	test	rax, rax
	je	.L1
	cmp	QWORD PTR 8[rbp], 0
	je	.L17
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.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
.L17:
	.cfi_restore_state
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR SCTP_EVENT_TIMEOUT_SACK[rip]
	mov	r13, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 24[r13]
	lea	r14, [rax+rdx*4]
	mov	rdi, r14
	call	timer_pending@PLT
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR [rdx]
	cmp	QWORD PTR [rax], rcx
	jne	.L1
	mov	eax, DWORD PTR 16[r13]
	mov	rdi, r13
	mov	DWORD PTR 20[r13], eax
	call	sctp_make_sack@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L1
	mov	rdi, rbp
	call	sctp_packet_append_chunk@PLT
	mov	QWORD PTR 8[r13], 0
	mov	rdi, r14
	mov	r12d, eax
	call	del_timer@PLT
	test	rax, rax
	je	.L1
	mov	rdi, r13
	call	sctp_association_put@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	sctp_packet_bundle_sack, .-sctp_packet_bundle_sack
	.comm	SCTP_XMIT_OK,4,4
	.comm	SCTP_EVENT_TIMEOUT_SACK,8,8
	.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_output.c_sctp_packet_bundle_sack.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sctp_packet_bundle_sack, %function
sctp_packet_bundle_sack:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L18
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r0, r1
	ldr	r4, [r3]
	bl	sctp_chunk_is_data
	cmp	r0, #0
	beq	.L1
	ldr	r3, [r5, #8]
	cmp	r3, #0
	bne	.L1
	ldr	r6, [r5, #4]
	cmp	r6, #0
	beq	.L17
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	ldr	r2, [r5]
	ldr	r3, .L18+4
	ldr	r8, [r2, #4]
	ldr	r3, [r3]
	ldr	r7, [r8, #16]
	add	r7, r7, r3, lsl #2
	mov	r0, r7
	bl	timer_pending
	cmp	r0, #0
	beq	.L1
	ldr	r3, [r5]
	ldr	r1, [r3, #4]
	ldr	r2, [r3]
	ldr	r3, [r1]
	cmp	r2, r3
	bne	.L1
	ldr	r3, [r8, #8]
	mov	r0, r8
	str	r3, [r8, #12]
	bl	sctp_make_sack
	subs	r1, r0, #0
	beq	.L1
	mov	r0, r5
	bl	sctp_packet_append_chunk
	str	r6, [r8, #4]
	mov	r4, r0
	mov	r0, r7
	bl	del_timer
	cmp	r0, #0
	beq	.L1
	mov	r0, r8
	bl	sctp_association_put
	b	.L1
.L19:
	.align	2
.L18:
	.word	SCTP_XMIT_OK
	.word	SCTP_EVENT_TIMEOUT_SACK
	.size	sctp_packet_bundle_sack, .-sctp_packet_bundle_sack
	.comm	SCTP_XMIT_OK,4,4
	.comm	SCTP_EVENT_TIMEOUT_SACK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
