	.file	"extr_rtpdec.c_ff_rtp_send_rtcp_feedback.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ff_rtp_send_rtcp_feedback
	.type	ff_rtp_send_rtcp_feedback, @function
ff_rtp_send_rtcp_feedback:
.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
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, rsi
	mov	DWORD PTR [rsp], 0
	or	rax, rdx
	mov	DWORD PTR 4[rsp], 0
	je	.L10
	mov	rax, QWORD PTR 24[rdi]
	mov	rbx, rdi
	mov	r12, rsi
	mov	rbp, rdx
	xor	r14d, r14d
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L4
	mov	edi, DWORD PTR 16[rdi]
	xor	r14d, r14d
	call	rax
	test	eax, eax
	setne	r14b
.L4:
	lea	rdx, 4[rsp]
	mov	rsi, rsp
	mov	rdi, rbx
	call	find_missing_packets@PLT
	mov	r13d, eax
	mov	eax, r14d
	or	eax, r13d
	jne	.L5
.L34:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L36
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	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
.L5:
	.cfi_restore_state
	xor	eax, eax
	call	av_gettime_relative@PLT
	mov	rdx, QWORD PTR [rbx]
	test	rdx, rdx
	je	.L6
	mov	rcx, rax
	sub	rcx, rdx
	cmp	rcx, QWORD PTR MIN_FEEDBACK_INTERVAL[rip]
	jl	.L34
.L6:
	mov	QWORD PTR [rbx], rax
	test	r12, r12
	je	.L37
	lea	rdi, 8[rsp]
	call	avio_open_dyn_buf@PLT
	test	rax, rax
	js	.L10
	mov	rbp, QWORD PTR 8[rsp]
	test	r14d, r14d
	jne	.L38
.L11:
	test	r13d, r13d
	jne	.L39
.L12:
	mov	rdi, rbp
	call	avio_flush@PLT
	test	r12, r12
	je	.L34
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, 16[rsp]
	call	avio_close_dyn_buf@PLT
	test	eax, eax
	jle	.L34
	mov	rsi, QWORD PTR 16[rsp]
	test	rsi, rsi
	je	.L34
	mov	rdi, r12
	mov	edx, eax
	call	ffurl_write@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	av_free@PLT
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L37:
	mov	QWORD PTR 8[rsp], rbp
	test	r14d, r14d
	je	.L11
.L38:
	mov	esi, DWORD PTR RTP_VERSION[rip]
	mov	rdi, rbp
	sal	esi, 6
	or	esi, 1
	call	avio_w8@PLT
	mov	esi, DWORD PTR RTCP_PSFB[rip]
	mov	rdi, QWORD PTR 8[rsp]
	call	avio_w8@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	esi, 2
	call	avio_wb16@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, 1[rax]
	call	avio_wb32@PLT
	mov	rsi, QWORD PTR 8[rbx]
	mov	rdi, QWORD PTR 8[rsp]
	call	avio_wb32@PLT
	mov	rbp, QWORD PTR 8[rsp]
	test	r13d, r13d
	je	.L12
.L39:
	mov	esi, DWORD PTR RTP_VERSION[rip]
	mov	rdi, rbp
	sal	esi, 6
	or	esi, 1
	call	avio_w8@PLT
	mov	esi, DWORD PTR RTCP_RTPFB[rip]
	mov	rdi, QWORD PTR 8[rsp]
	call	avio_w8@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	esi, 3
	call	avio_wb16@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, 1[rax]
	call	avio_wb32@PLT
	mov	rsi, QWORD PTR 8[rbx]
	mov	rdi, QWORD PTR 8[rsp]
	call	avio_wb32@PLT
	mov	esi, DWORD PTR [rsp]
	mov	rdi, QWORD PTR 8[rsp]
	call	avio_wb16@PLT
	mov	esi, DWORD PTR 4[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	call	avio_wb16@PLT
	mov	rbp, QWORD PTR 8[rsp]
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, -1
	jmp	.L1
.L36:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ff_rtp_send_rtcp_feedback, .-ff_rtp_send_rtcp_feedback
	.comm	RTP_VERSION,4,4
	.comm	RTCP_RTPFB,4,4
	.comm	RTCP_PSFB,4,4
	.comm	MIN_FEEDBACK_INTERVAL,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_rtpdec.c_ff_rtp_send_rtcp_feedback.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ff_rtp_send_rtcp_feedback
	.syntax unified
	.arm
	.fpu softvfp
	.type	ff_rtp_send_rtcp_feedback, %function
ff_rtp_send_rtcp_feedback:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r2
	mov	r3, #0
	orrs	r2, r1, r7
	ldr	r2, .L37
	sub	sp, sp, #24
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	str	r3, [sp, #12]
	str	r3, [sp, #16]
	beq	.L10
	ldr	r3, [r0, #12]
	mov	r8, r1
	cmp	r3, #0
	mov	r6, r0
	beq	.L15
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L15
	ldr	r0, [r0, #8]
	blx	r3
	subs	r5, r0, #0
	movne	r5, #1
	b	.L4
.L15:
	mov	r5, r3
.L4:
	mov	r0, r6
	add	r2, sp, #16
	add	r1, sp, #12
	bl	find_missing_packets
	orrs	r3, r5, r0
	mov	r4, r0
	bne	.L5
.L32:
	mov	r0, #0
.L1:
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L34
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	bl	av_gettime_relative
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L6
	ldr	r2, .L37+4
	sub	r3, r0, r3
	ldr	r2, [r2]
	cmp	r3, r2
	blt	.L32
.L6:
	cmp	r8, #0
	str	r0, [r6]
	streq	r7, [sp, #4]
	beq	.L9
	add	r0, sp, #4
	bl	avio_open_dyn_buf
	cmp	r0, #0
	blt	.L10
	ldr	r7, [sp, #4]
.L9:
	cmp	r5, #0
	bne	.L35
.L11:
	cmp	r4, #0
	bne	.L36
.L12:
	mov	r0, r7
	bl	avio_flush
	cmp	r8, #0
	beq	.L32
	ldr	r0, [sp, #4]
	add	r1, sp, #8
	bl	avio_close_dyn_buf
	subs	r2, r0, #0
	ble	.L32
	ldr	r1, [sp, #8]
	cmp	r1, #0
	beq	.L32
	mov	r0, r8
	bl	ffurl_write
	ldr	r0, [sp, #8]
	bl	av_free
	b	.L32
.L36:
	ldr	r3, .L37+8
	mov	r0, r7
	ldr	r1, [r3]
	lsl	r1, r1, #6
	orr	r1, r1, #1
	bl	avio_w8
	ldr	r3, .L37+12
	ldr	r0, [sp, #4]
	ldr	r1, [r3]
	bl	avio_w8
	mov	r1, #3
	ldr	r0, [sp, #4]
	bl	avio_wb16
	ldr	r1, [r6, #4]
	ldr	r0, [sp, #4]
	add	r1, r1, #1
	bl	avio_wb32
	ldr	r1, [r6, #4]
	ldr	r0, [sp, #4]
	bl	avio_wb32
	ldr	r1, [sp, #12]
	ldr	r0, [sp, #4]
	bl	avio_wb16
	ldr	r1, [sp, #16]
	ldr	r0, [sp, #4]
	bl	avio_wb16
	ldr	r7, [sp, #4]
	b	.L12
.L35:
	ldr	r3, .L37+8
	mov	r0, r7
	ldr	r1, [r3]
	lsl	r1, r1, #6
	orr	r1, r1, #1
	bl	avio_w8
	ldr	r3, .L37+16
	ldr	r0, [sp, #4]
	ldr	r1, [r3]
	bl	avio_w8
	mov	r1, #2
	ldr	r0, [sp, #4]
	bl	avio_wb16
	ldr	r1, [r6, #4]
	ldr	r0, [sp, #4]
	add	r1, r1, #1
	bl	avio_wb32
	ldr	r1, [r6, #4]
	ldr	r0, [sp, #4]
	bl	avio_wb32
	ldr	r7, [sp, #4]
	b	.L11
.L10:
	mvn	r0, #0
	b	.L1
.L34:
	bl	__stack_chk_fail
.L38:
	.align	2
.L37:
	.word	.LC0
	.word	MIN_FEEDBACK_INTERVAL
	.word	RTP_VERSION
	.word	RTCP_RTPFB
	.word	RTCP_PSFB
	.size	ff_rtp_send_rtcp_feedback, .-ff_rtp_send_rtcp_feedback
	.comm	RTP_VERSION,4,4
	.comm	RTCP_RTPFB,4,4
	.comm	RTCP_PSFB,4,4
	.comm	MIN_FEEDBACK_INTERVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
