	.file	"extr_asfdec_o.c_asf_deinterleave.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	asf_deinterleave, @function
asf_deinterleave:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movsx	rdx, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	lea	rdi, 48[rsp]
	mov	rax, QWORD PTR [rax]
	mov	r14, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR 8[rsi]
	mov	esi, DWORD PTR [rsi]
	mov	ebp, DWORD PTR [r14]
	mov	r15d, DWORD PTR 4[r14]
	mov	QWORD PTR [rsp], r14
	mov	QWORD PTR 32[rsp], rax
	mov	DWORD PTR 44[rsp], ebp
	call	av_new_packet@PLT
	test	eax, eax
	js	.L1
	mov	eax, ebp
	movsx	rcx, r15d
	mov	esi, DWORD PTR [rbx]
	mov	edi, DWORD PTR 8[r14]
	cdq
	mov	QWORD PTR 16[rsp], rcx
	idiv	r15d
	imul	eax, r15d
	cdqe
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, DWORD PTR 44[rsp]
	mov	ecx, edx
	imul	ecx, edi
	lea	r8d, [rcx+rax]
	cmp	r8d, esi
	jg	.L11
	cmp	eax, esi
	jge	.L11
	mov	DWORD PTR 40[rsp], 0
	mov	DWORD PTR 28[rsp], 0
	test	edx, edx
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	test	edi, edi
	jle	.L6
	movsx	rcx, DWORD PTR 40[rsp]
	mov	rdx, QWORD PTR 32[rsp]
	movsx	rbp, eax
	xor	r12d, r12d
	lea	r13, [rdx+rcx]
	mov	rcx, rbx
	mov	ebx, r15d
	mov	r15, rcx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rdi, QWORD PTR 48[rsp]
	mov	rsi, r13
	mov	edx, ebx
	add	r12d, 1
	add	rdi, rbp
	call	memcpy@PLT
	mov	rax, QWORD PTR [rsp]
	add	rbp, QWORD PTR 16[rsp]
	add	r13, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR 8[rax]
	cmp	edi, r12d
	jle	.L21
	mov	esi, DWORD PTR [r15]
	mov	eax, r14d
.L9:
	lea	r14d, [rbx+rax]
	cmp	r14d, esi
	jl	.L22
	mov	rcx, r15
	mov	r15d, ebx
	mov	rbx, rcx
.L6:
	add	DWORD PTR 28[rsp], 1
	mov	ecx, DWORD PTR 28[rsp]
	cmp	DWORD PTR 44[rsp], ecx
	je	.L19
	add	DWORD PTR 40[rsp], r15d
	cmp	eax, esi
	jl	.L4
.L19:
	mov	ecx, DWORD PTR 44[rsp]
	imul	ecx, edi
.L5:
	movsx	rcx, ecx
	add	QWORD PTR 32[rsp], rcx
	mov	rdx, QWORD PTR 32[rsp]
	movsx	rcx, esi
	add	rcx, QWORD PTR 8[rbx]
	cmp	rdx, rcx
	jbe	.L3
.L11:
	lea	rdi, 8[rbx]
	call	av_packet_unref@PLT
	mov	rax, QWORD PTR 48[rsp]
	mov	QWORD PTR 8[rbx], rax
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L23
	add	rsp, 72
	.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
.L21:
	.cfi_restore_state
	mov	rax, r15
	mov	r15d, ebx
	mov	esi, DWORD PTR [rax]
	mov	rbx, rax
	mov	eax, r14d
	jmp	.L6
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	asf_deinterleave, .-asf_deinterleave
	.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_asfdec_o.c_asf_deinterleave.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	asf_deinterleave, %function
asf_deinterleave:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r1
	ldr	r3, [r0]
	sub	sp, sp, #28
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r6, [r3, r2, lsl #2]
	ldr	r3, .L21
	ldr	r4, [r6]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r3, [r5, #4]
	add	r0, sp, #16
	ldr	fp, [r6, #4]
	str	r4, [sp, #8]
	str	r3, [sp, #12]
	bl	av_new_packet
	cmp	r0, #0
	blt	.L1
	mov	r1, fp
	mov	r0, r4
	bl	__aeabi_idiv
	ldr	lr, [r6, #8]
	mul	r7, fp, r0
	mul	r4, lr, r4
	mov	r0, #0
	mov	r1, r4
	ldr	ip, [r5]
.L3:
	add	r3, r1, r0
	cmp	r3, ip
	cmple	r0, ip
	movge	r8, #1
	movlt	r8, #0
	bge	.L11
	ldr	r3, [sp, #8]
	cmp	r3, #0
	ble	.L5
	mov	r10, fp
	ldr	r3, [sp, #12]
	str	r3, [sp, #4]
.L4:
	cmp	lr, #0
	ble	.L6
	mov	fp, #0
	ldr	r9, [sp, #4]
	b	.L9
.L18:
	ldr	r3, [sp, #16]
	mov	r1, r9
	mov	r2, r10
	add	r0, r3, r0
	bl	memcpy
	ldr	lr, [r6, #8]
	add	fp, fp, #1
	cmp	lr, fp
	mov	r0, r4
	ldr	ip, [r5]
	add	r9, r9, r7
	ble	.L6
.L9:
	add	r4, r10, r0
	cmp	r4, ip
	blt	.L18
.L6:
	ldr	r3, [sp, #8]
	add	r8, r8, #1
	cmp	r3, r8
	beq	.L19
	ldr	r3, [sp, #4]
	cmp	r0, ip
	add	r3, r3, r10
	str	r3, [sp, #4]
	blt	.L4
	mov	fp, r10
	ldr	r1, [sp, #8]
	mul	r1, lr, r1
.L5:
	ldr	r2, [sp, #12]
	ldr	r3, [r5, #4]
	add	r2, r2, r1
	add	r3, r3, ip
	cmp	r2, r3
	str	r2, [sp, #12]
	bls	.L3
.L11:
	add	r0, r5, #4
	bl	av_packet_unref
	mov	r0, #0
	ldr	r3, [sp, #16]
	str	r3, [r5, #4]
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	mov	r1, r3
	mov	fp, r10
	mul	r1, lr, r1
	b	.L5
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC0
	.size	asf_deinterleave, .-asf_deinterleave
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
