	.file	"extr_rtpfmt.c_rtp_packetize_t140.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rtp_packetize_t140, @function
rtp_packetize_t140:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	call	rtp_mtu@PLT
	mov	r12, QWORD PTR 8[rbp]
	mov	r15, QWORD PTR 0[rbp]
	mov	QWORD PTR 8[rsp], rax
	test	r12, r12
	je	.L2
	sal	rax, 2
	mov	DWORD PTR 16[rsp], 0
	mov	QWORD PTR 24[rsp], rax
.L9:
	mov	rdx, QWORD PTR 8[rsp]
	mov	rbx, r12
	cmp	rdx, r12
	jb	.L22
.L3:
	lea	edi, 12[rbx]
	call	block_Alloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L2
	mov	ecx, DWORD PTR 16[rsp]
	xor	edx, edx
	add	rcx, QWORD PTR 24[rbp]
	mov	rsi, rax
	mov	rdi, r13
	call	rtp_packetize_common@PLT
	mov	rsi, QWORD PTR [r14]
	mov	rdx, rbx
	lea	rdi, 48[rsi]
	mov	rsi, r15
	lea	r15, [r15+rbx*4]
	call	memcpy@PLT
	mov	rax, QWORD PTR 24[rbp]
	mov	rsi, r14
	mov	rdi, r13
	mov	QWORD PTR 16[r14], 0
	mov	QWORD PTR 32[r14], rax
	call	rtp_packetize_send@PLT
	add	DWORD PTR 16[rsp], 1
	sub	r12, rbx
	jne	.L9
.L2:
	mov	rdi, rbp
	call	block_Release@PLT
	mov	eax, DWORD PTR VLC_SUCCESS[rip]
	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
.L22:
	.cfi_restore_state
	mov	rax, QWORD PTR 24[rsp]
	mov	eax, DWORD PTR [r15+rax]
	mov	DWORD PTR 20[rsp], eax
	and	eax, 192
	cmp	eax, 128
	jne	.L11
	test	rdx, rdx
	je	.L2
	mov	rbx, rdx
	.p2align 4,,10
	.p2align 3
.L5:
	sub	rbx, 1
	mov	eax, DWORD PTR [r15+rbx*4]
	and	eax, 192
	cmp	eax, 128
	jne	.L3
	test	rbx, rbx
	jne	.L5
	jmp	.L2
.L11:
	mov	rbx, QWORD PTR 8[rsp]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	rtp_packetize_t140, .-rtp_packetize_t140
	.comm	VLC_SUCCESS,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_rtpfmt.c_rtp_packetize_t140.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtp_packetize_t140, %function
rtp_packetize_t140:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r1
	sub	sp, sp, #12
	mov	fp, r0
	bl	rtp_mtu
	ldr	r6, [r8, #4]
	ldr	r7, [r8]
	cmp	r6, #0
	beq	.L2
	mov	r9, r0
	mov	r10, #0
	lsl	r3, r0, #2
	str	r3, [sp, #4]
.L10:
	cmp	r9, r6
	movcs	r4, r6
	bcc	.L24
.L3:
	add	r0, r4, #12
	bl	block_Alloc
	subs	r5, r0, #0
	beq	.L2
	ldr	r3, [r8, #12]
	mov	r2, #0
	add	r3, r10, r3
	mov	r1, r5
	mov	r0, fp
	bl	rtp_packetize_common
	ldr	r0, [r5]
	mov	r1, r7
	mov	r2, r4
	add	r0, r0, #48
	bl	memcpy
	ldr	r3, [r8, #12]
	mov	r1, r5
	str	r3, [r5, #16]
	mov	r3, #0
	mov	r0, fp
	str	r3, [r5, #8]
	bl	rtp_packetize_send
	subs	r6, r6, r4
	add	r10, r10, #1
	add	r7, r7, r4, lsl #2
	bne	.L10
.L2:
	mov	r0, r8
	bl	block_Release
	ldr	r3, .L25
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	ldr	r2, [sp, #4]
	ldr	r3, [r7, r2]
	add	r2, r7, r2
	and	r3, r3, #192
	cmp	r3, #128
	bne	.L12
	cmp	r9, #0
	beq	.L2
	mov	r4, r9
.L6:
	ldr	r3, [r2, #-4]!
	sub	r4, r4, #1
	and	r3, r3, #192
	cmp	r3, #128
	bne	.L3
	cmp	r4, #0
	bne	.L6
	b	.L2
.L12:
	mov	r4, r9
	b	.L3
.L26:
	.align	2
.L25:
	.word	VLC_SUCCESS
	.size	rtp_packetize_t140, .-rtp_packetize_t140
	.comm	VLC_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
