	.file	"extr_f_swresample.c_configure_lavrr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%dHz %s %s -> %dHz %s %s\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"unsupported conversion: %s -> %s\n"
	.section	.rodata.str1.1
.LC2:
	.string	"filter_size"
.LC3:
	.string	"phase_shift"
.LC4:
	.string	"linear_interp"
.LC9:
	.string	"cutoff"
.LC10:
	.string	"normalize_mix_level"
.LC11:
	.string	"Remix: %s -> %s\n"
	.section	.rodata.str1.8
	.align 8
.LC12:
	.string	"Unsupported input channel layout %s.\n"
	.section	.rodata.str1.1
.LC13:
	.string	"in_channel_layout"
.LC14:
	.string	"out_channel_layout"
.LC15:
	.string	"in_sample_rate"
.LC16:
	.string	"out_sample_rate"
.LC17:
	.string	"in_sample_fmt"
.LC18:
	.string	"out_sample_fmt"
	.section	.rodata.str1.8
	.align 8
.LC19:
	.string	"Cannot open Libavresample context.\n"
	.align 8
.LC20:
	.string	"libswresample failed to initialize.\n"
	.text
	.p2align 4
	.type	configure_lavrr, @function
configure_lavrr:
.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
	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
	lea	rbx, 72[rbp]
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	mov	DWORD PTR 8[rsp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	call	close_lavrr@PLT
	mov	esi, DWORD PTR 112[rbp]
	mov	edi, DWORD PTR 116[rbp]
	call	rate_from_speed@PLT
	mov	edi, DWORD PTR 64[rbp]
	mov	DWORD PTR 0[rbp], eax
	call	af_fmt_to_str@PLT
	mov	rdi, rbx
	mov	r14d, eax
	call	mp_chmap_to_str@PLT
	mov	edi, DWORD PTR 108[rbp]
	mov	r15d, DWORD PTR 4[rbp]
	mov	r13d, eax
	call	af_fmt_to_str@PLT
	lea	rdi, 88[rbp]
	mov	r12d, eax
	call	mp_chmap_to_str@PLT
	push	r14
	.cfi_def_cfa_offset 168
	mov	edx, DWORD PTR 0[rbp]
	mov	rdi, rbp
	push	r13
	.cfi_def_cfa_offset 176
	mov	ecx, eax
	lea	rsi, .LC0[rip]
	mov	r9d, r15d
	mov	r8d, r12d
	xor	eax, eax
	call	MP_VERBOSE@PLT
	xor	eax, eax
	call	avresample_alloc_context@PLT
	mov	QWORD PTR 24[rbp], rax
	xor	eax, eax
	call	avresample_alloc_context@PLT
	cmp	QWORD PTR 24[rbp], 0
	pop	rsi
	.cfi_def_cfa_offset 168
	mov	QWORD PTR 16[rbp], rax
	pop	rdi
	.cfi_def_cfa_offset 160
	je	.L4
	test	rax, rax
	je	.L4
	mov	edi, DWORD PTR 108[rbp]
	call	af_to_avformat@PLT
	mov	edi, DWORD PTR 64[rbp]
	mov	r13d, eax
	call	af_to_avformat@PLT
	mov	edi, eax
	mov	r12d, eax
	call	av_get_planar_sample_fmt@PLT
	mov	r14d, eax
	mov	eax, DWORD PTR AV_SAMPLE_FMT_NONE[rip]
	cmp	r13d, eax
	sete	cl
	cmp	r12d, eax
	sete	dl
	or	cl, dl
	jne	.L25
	cmp	r14d, eax
	je	.L25
	mov	rax, QWORD PTR 96[rbp]
	mov	rdi, QWORD PTR 24[rbp]
	xor	ecx, ecx
	lea	rsi, .LC2[rip]
	mov	edx, DWORD PTR [rax]
	call	av_opt_set_int@PLT
	mov	rax, QWORD PTR 96[rbp]
	mov	rdi, QWORD PTR 24[rbp]
	xor	ecx, ecx
	lea	rsi, .LC3[rip]
	mov	edx, DWORD PTR 4[rax]
	call	av_opt_set_int@PLT
	mov	rax, QWORD PTR 96[rbp]
	mov	rdi, QWORD PTR 24[rbp]
	xor	ecx, ecx
	lea	rsi, .LC4[rip]
	mov	edx, DWORD PTR 8[rax]
	call	av_opt_set_int@PLT
	mov	rax, QWORD PTR 96[rbp]
	pxor	xmm1, xmm1
	movsd	xmm0, QWORD PTR 16[rax]
	comisd	xmm1, xmm0
	jnb	.L32
.L7:
	cvttsd2si	edx, xmm0
	mov	rdi, QWORD PTR 24[rbp]
	xor	ecx, ecx
	lea	rsi, .LC9[rip]
	call	av_opt_set_double@PLT
	mov	rax, QWORD PTR 96[rbp]
	mov	rdi, QWORD PTR 24[rbp]
	xor	edx, edx
	lea	rsi, .LC10[rip]
	mov	ecx, DWORD PTR 24[rax]
	test	ecx, ecx
	setne	dl
	xor	ecx, ecx
	call	av_opt_set_int@PLT
	mov	rax, QWORD PTR 96[rbp]
	mov	rsi, QWORD PTR 24[rbp]
	mov	edi, DWORD PTR 104[rbp]
	mov	edx, DWORD PTR 28[rax]
	call	mp_set_avopts@PLT
	test	rax, rax
	js	.L4
	mov	rax, QWORD PTR 88[rbp]
	lea	r15, 48[rsp]
	mov	rdi, r15
	mov	QWORD PTR 48[rsp], rax
	mov	rax, QWORD PTR 72[rbp]
	mov	QWORD PTR 56[rsp], rax
	call	mp_chmap_is_unknown@PLT
	test	rax, rax
	lea	rax, 56[rsp]
	mov	QWORD PTR 16[rsp], rax
	jne	.L12
	mov	rdi, rax
	call	mp_chmap_is_unknown@PLT
	test	rax, rax
	je	.L33
.L12:
	mov	rsi, QWORD PTR 48[rsp]
	mov	rdi, r15
	call	mp_chmap_set_unknown@PLT
	mov	rsi, QWORD PTR 56[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	call	mp_chmap_set_unknown@PLT
.L11:
	mov	rdi, r15
	call	mp_chmap_to_lavc_unchecked@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	DWORD PTR 32[rsp], eax
	call	mp_chmap_to_lavc_unchecked@PLT
	lea	r8, 64[rsp]
	mov	esi, DWORD PTR 32[rsp]
	mov	rdi, r8
	mov	QWORD PTR 40[rsp], r8
	mov	DWORD PTR 36[rsp], eax
	call	mp_chmap_from_lavc@PLT
	lea	rcx, 72[rsp]
	mov	esi, DWORD PTR 36[rsp]
	mov	rdi, rcx
	mov	QWORD PTR 24[rsp], rcx
	call	mp_chmap_from_lavc@PLT
	mov	eax, DWORD PTR 8[rsp]
	mov	r8, QWORD PTR 40[rsp]
	test	eax, eax
	jne	.L34
.L14:
	mov	rax, QWORD PTR 48[rsp]
	cmp	QWORD PTR 64[rsp], rax
	je	.L16
	mov	rdi, r15
	call	mp_chmap_to_str@PLT
	lea	rsi, .LC12[rip]
	mov	rdi, rbp
	mov	edx, eax
	xor	eax, eax
	call	MP_FATAL@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbp
	call	close_lavrr@PLT
	mov	edi, DWORD PTR 12[rbp]
	call	mp_filter_internal_mark_failed@PLT
	lea	rsi, .LC20[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	MP_FATAL@PLT
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 88[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L35
	add	rsp, 104
	.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
.L25:
	.cfi_restore_state
	mov	edi, DWORD PTR 64[rbp]
	call	af_fmt_to_str@PLT
	mov	edi, DWORD PTR 108[rbp]
	mov	r12d, eax
	call	af_fmt_to_str@PLT
	mov	ecx, r12d
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	mov	edx, eax
	xor	eax, eax
	call	MP_ERR@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L32:
	mov	eax, DWORD PTR [rax]
	pxor	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC7[rip]
	add	eax, 8
	cvtsi2sd	xmm0, eax
	divsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	subsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC6[rip]
	call	MPMAX@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR 32[rbp]
	mov	rdx, r8
	mov	rsi, r15
	call	mp_chmap_get_reorder@PLT
	mov	edi, DWORD PTR 32[rbp]
	mov	rsi, QWORD PTR 48[rsp]
	call	transpose_order@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 24[rsp]
	call	mp_chmap_equals@PLT
	test	rax, rax
	jne	.L24
	mov	rax, QWORD PTR 72[rsp]
	mov	rsi, QWORD PTR 56[rsp]
	lea	r15, 80[rsp]
	mov	rdi, r15
	mov	QWORD PTR 80[rsp], rax
	call	mp_chmap_fill_na@PLT
	mov	rax, QWORD PTR 56[rsp]
	cmp	QWORD PTR 80[rsp], rax
	jne	.L4
.L17:
	mov	rdx, QWORD PTR 16[rsp]
	mov	edi, DWORD PTR 80[rbp]
	mov	rsi, QWORD PTR 24[rsp]
	call	mp_chmap_get_reorder@PLT
	xor	eax, eax
	call	mp_aframe_create@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	QWORD PTR 56[rbp], rax
	mov	rdi, rax
	call	mp_aframe_set_rate@PLT
	mov	rdi, QWORD PTR 56[rbp]
	mov	rsi, rbx
	call	mp_aframe_set_chmap@PLT
	mov	esi, DWORD PTR 64[rbp]
	mov	rdi, QWORD PTR 56[rbp]
	call	mp_aframe_set_format@PLT
	xor	eax, eax
	call	mp_aframe_create@PLT
	mov	rsi, QWORD PTR 56[rbp]
	mov	QWORD PTR 48[rbp], rax
	mov	rdi, rax
	call	mp_aframe_config_copy@PLT
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR 48[rbp]
	call	mp_aframe_set_chmap@PLT
	mov	edi, r14d
	call	af_from_avformat@PLT
	mov	rdi, QWORD PTR 48[rbp]
	mov	esi, eax
	call	mp_aframe_set_format@PLT
	xor	eax, eax
	call	mp_aframe_create@PLT
	mov	rsi, QWORD PTR 48[rbp]
	mov	QWORD PTR 40[rbp], rax
	mov	rdi, rax
	call	mp_aframe_config_copy@PLT
	mov	rax, QWORD PTR 72[rsp]
	cmp	QWORD PTR 56[rsp], rax
	jg	.L36
.L19:
	mov	edx, DWORD PTR 36[rsp]
	mov	esi, DWORD PTR 32[rsp]
	mov	rdi, rbp
	call	fudge_layout_conversion@PLT
	mov	rdi, QWORD PTR 24[rbp]
	mov	edx, DWORD PTR 32[rsp]
	xor	ecx, ecx
	lea	rsi, .LC13[rip]
	mov	ebx, eax
	call	av_opt_set_int@PLT
	mov	rdi, QWORD PTR 24[rbp]
	xor	ecx, ecx
	mov	edx, ebx
	lea	rsi, .LC14[rip]
	call	av_opt_set_int@PLT
	mov	rdi, QWORD PTR 24[rbp]
	mov	edx, DWORD PTR 0[rbp]
	xor	ecx, ecx
	lea	rsi, .LC15[rip]
	call	av_opt_set_int@PLT
	mov	edx, DWORD PTR 4[rbp]
	mov	rdi, QWORD PTR 24[rbp]
	xor	ecx, ecx
	lea	rsi, .LC16[rip]
	call	av_opt_set_int@PLT
	mov	rdi, QWORD PTR 24[rbp]
	mov	edx, r13d
	xor	ecx, ecx
	lea	rsi, .LC17[rip]
	call	av_opt_set_int@PLT
	mov	rdi, QWORD PTR 24[rbp]
	xor	ecx, ecx
	mov	edx, r14d
	lea	rsi, .LC18[rip]
	call	av_opt_set_int@PLT
	mov	rsi, QWORD PTR 56[rsp]
	mov	rdi, r15
	call	mp_chmap_set_unknown@PLT
	mov	rdi, r15
	call	mp_chmap_to_lavc_unchecked@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L4
	mov	rdi, QWORD PTR 16[rbp]
	xor	ecx, ecx
	mov	edx, eax
	lea	rsi, .LC13[rip]
	call	av_opt_set_int@PLT
	mov	rdi, QWORD PTR 16[rbp]
	xor	ecx, ecx
	mov	edx, r13d
	lea	rsi, .LC14[rip]
	call	av_opt_set_int@PLT
	mov	rdi, QWORD PTR 16[rbp]
	xor	ecx, ecx
	mov	edx, r14d
	lea	rsi, .LC17[rip]
	call	av_opt_set_int@PLT
	mov	rdi, QWORD PTR 16[rbp]
	xor	ecx, ecx
	mov	edx, r12d
	lea	rsi, .LC18[rip]
	call	av_opt_set_int@PLT
	mov	edx, DWORD PTR 4[rbp]
	mov	rdi, QWORD PTR 16[rbp]
	xor	ecx, ecx
	lea	rsi, .LC15[rip]
	call	av_opt_set_int@PLT
	mov	edx, DWORD PTR 4[rbp]
	mov	rdi, QWORD PTR 16[rbp]
	xor	ecx, ecx
	lea	rsi, .LC16[rip]
	call	av_opt_set_int@PLT
	mov	rdi, QWORD PTR 24[rbp]
	mov	esi, DWORD PTR 32[rbp]
	call	avresample_set_channel_mapping@PLT
	mov	DWORD PTR 8[rbp], 0
	mov	rdi, QWORD PTR 24[rbp]
	call	avresample_open@PLT
	test	rax, rax
	js	.L21
	mov	rdi, QWORD PTR 16[rbp]
	call	avresample_open@PLT
	test	rax, rax
	js	.L21
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	mov	r14d, r12d
	lea	r15, 80[rsp]
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L33:
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, r15
	call	mp_chmap_equals@PLT
	test	rax, rax
	jne	.L12
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L34:
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, r8
	mov	QWORD PTR 8[rsp], r8
	call	mp_chmap_equals@PLT
	mov	r8, QWORD PTR 8[rsp]
	test	rax, rax
	jne	.L14
	mov	rdi, QWORD PTR 24[rsp]
	call	mp_chmap_to_str@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	DWORD PTR 40[rsp], eax
	mov	rdi, r8
	call	mp_chmap_to_str@PLT
	mov	ecx, DWORD PTR 40[rsp]
	lea	rsi, .LC11[rip]
	mov	rdi, rbp
	mov	edx, eax
	xor	eax, eax
	call	MP_VERBOSE@PLT
	mov	r8, QWORD PTR 8[rsp]
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L36:
	mov	rdi, QWORD PTR 40[rbp]
	mov	rsi, QWORD PTR 16[rsp]
	call	mp_aframe_set_chmap@PLT
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L21:
	lea	rsi, .LC19[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	MP_ERR@PLT
	jmp	.L4
.L35:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	configure_lavrr, .-configure_lavrr
	.comm	AV_SAMPLE_FMT_NONE,4,4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC6:
	.long	2576980378
	.long	1072273817
	.align 8
.LC7:
	.long	0
	.long	1075445760
	.align 8
.LC8:
	.long	0
	.long	1072693248
	.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_f_swresample.c_configure_lavrr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%dHz %s %s -> %dHz %s %s\012\000"
	.align	2
.LC1:
	.ascii	"unsupported conversion: %s -> %s\012\000"
	.align	2
.LC2:
	.ascii	"filter_size\000"
	.align	2
.LC3:
	.ascii	"phase_shift\000"
	.align	2
.LC4:
	.ascii	"linear_interp\000"
	.global	__aeabi_dcmple
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.global	__aeabi_d2iz
	.align	2
.LC5:
	.ascii	"cutoff\000"
	.align	2
.LC6:
	.ascii	"normalize_mix_level\000"
	.align	2
.LC7:
	.ascii	"Remix: %s -> %s\012\000"
	.align	2
.LC8:
	.ascii	"Unsupported input channel layout %s.\012\000"
	.align	2
.LC9:
	.ascii	"in_channel_layout\000"
	.align	2
.LC10:
	.ascii	"out_channel_layout\000"
	.align	2
.LC11:
	.ascii	"in_sample_rate\000"
	.align	2
.LC12:
	.ascii	"out_sample_rate\000"
	.align	2
.LC13:
	.ascii	"in_sample_fmt\000"
	.align	2
.LC14:
	.ascii	"out_sample_fmt\000"
	.align	2
.LC15:
	.ascii	"Cannot open Libavresample context.\012\000"
	.align	2
.LC16:
	.ascii	"libswresample failed to initialize.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	configure_lavrr, %function
configure_lavrr:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r3, .L34
	sub	sp, sp, #52
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	mov	r5, r1
	bl	close_lavrr
	ldr	r1, [r4, #68]
	ldr	r0, [r4, #72]
	bl	rate_from_speed
	mov	r3, r4
	str	r0, [r3], #52
	mov	r6, r0
	mov	r0, r3
	bl	mp_chmap_to_str
	mov	r7, r0
	ldr	r0, [r4, #64]
	bl	af_fmt_to_str
	add	r9, r4, #44
	mov	r10, r0
	mov	r0, r9
	ldr	fp, [r4, #4]
	bl	mp_chmap_to_str
	mov	r8, r0
	ldr	r0, [r4, #40]
	bl	af_fmt_to_str
	mov	r3, r7
	mov	r2, r6
	ldr	r1, .L34+4
	str	r0, [sp, #12]
	stm	sp, {r10, fp}
	mov	r0, r4
	str	r8, [sp, #8]
	bl	MP_VERBOSE
	bl	avresample_alloc_context
	str	r0, [r4, #20]
	bl	avresample_alloc_context
	ldr	r3, [r4, #20]
	str	r0, [r4, #16]
	cmp	r0, #0
	cmpne	r3, #0
	beq	.L3
	ldr	r0, [r4, #64]
	bl	af_to_avformat
	mov	r8, r0
	ldr	r0, [r4, #40]
	bl	af_to_avformat
	mov	r7, r0
	bl	av_get_planar_sample_fmt
	ldr	r3, .L34+8
	mov	r6, r0
	ldr	r3, [r3]
	cmp	r7, r3
	cmpne	r8, r3
	moveq	r10, #1
	movne	r10, #0
	cmp	r0, r3
	orreq	r10, r10, #1
	cmp	r10, #0
	beq	.L4
	ldr	r0, [r4, #64]
	bl	af_fmt_to_str
	mov	r5, r0
	ldr	r0, [r4, #40]
	bl	af_fmt_to_str
	mov	r2, r5
	mov	r3, r0
	ldr	r1, .L34+12
	mov	r0, r4
	bl	MP_ERR
.L3:
	mov	r0, r4
	bl	close_lavrr
	ldr	r0, [r4, #12]
	bl	mp_filter_internal_mark_failed
	mov	r0, r4
	ldr	r1, .L34+16
	bl	MP_FATAL
	mov	r0, #0
.L1:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L29
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	ldr	r2, [r4, #56]
	mov	r3, r10
	ldr	r2, [r2]
	ldr	r1, .L34+20
	ldr	r0, [r4, #20]
	bl	av_opt_set_int
	ldr	r2, [r4, #56]
	mov	r3, r10
	ldr	r2, [r2, #4]
	ldr	r1, .L34+24
	ldr	r0, [r4, #20]
	bl	av_opt_set_int
	ldr	r2, [r4, #56]
	mov	r3, r10
	ldr	r2, [r2, #8]
	ldr	r1, .L34+28
	ldr	r0, [r4, #20]
	bl	av_opt_set_int
	ldr	r3, [r4, #56]
	mov	r2, #0
	mov	r1, r3
	str	r3, [sp, #20]
	add	fp, r1, #16
	ldmia	fp, {r10-fp}
	mov	r3, #0
	mov	r0, r10
	mov	r1, fp
	bl	__aeabi_dcmple
	cmp	r0, #0
	bne	.L30
.L5:
	mov	r1, fp
	mov	r0, r10
	bl	__aeabi_d2iz
	mov	r3, #0
	mov	r2, r0
	ldr	r1, .L34+32
	ldr	r0, [r4, #20]
	bl	av_opt_set_double
	mov	r3, #0
	ldr	r2, [r4, #56]
	ldr	r1, .L34+36
	ldr	r2, [r2, #24]
	ldr	r0, [r4, #20]
	subs	r2, r2, r3
	movne	r2, #1
	bl	av_opt_set_int
	ldr	r3, [r4, #56]
	ldr	r1, [r4, #20]
	ldr	r2, [r3, #28]
	ldr	r0, [r4, #60]
	bl	mp_set_avopts
	cmp	r0, #0
	blt	.L3
	ldr	r2, [r4, #52]
	ldr	r3, [r4, #44]
	add	r0, sp, #24
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	bl	mp_chmap_is_unknown
	cmp	r0, #0
	add	fp, sp, #28
	bne	.L10
	mov	r0, fp
	bl	mp_chmap_is_unknown
	cmp	r0, #0
	beq	.L31
.L10:
	ldr	r1, [sp, #24]
	add	r0, sp, #24
	bl	mp_chmap_set_unknown
	mov	r0, fp
	ldr	r1, [sp, #28]
	bl	mp_chmap_set_unknown
.L9:
	add	r0, sp, #24
	bl	mp_chmap_to_lavc_unchecked
	mov	r10, r0
	mov	r0, fp
	bl	mp_chmap_to_lavc_unchecked
	add	r3, sp, #32
	mov	r1, r10
	str	r0, [sp, #20]
	mov	r0, r3
	bl	mp_chmap_from_lavc
	ldr	r1, [sp, #20]
	add	r0, sp, #36
	bl	mp_chmap_from_lavc
	cmp	r5, #0
	bne	.L32
.L12:
	ldr	r2, [sp, #32]
	ldr	r3, [sp, #24]
	cmp	r2, r3
	beq	.L14
	add	r0, sp, #24
	bl	mp_chmap_to_str
	ldr	r1, .L34+40
	mov	r2, r0
	mov	r0, r4
	bl	MP_FATAL
	b	.L3
.L30:
	ldr	r3, [sp, #20]
	ldr	r0, [r3]
	add	r0, r0, #8
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L34+44
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L34+48
	bl	__aeabi_dsub
	ldr	r2, .L34+52
	ldr	r3, .L34+56
	bl	MPMAX
	mov	r10, r0
	mov	fp, r1
	b	.L5
.L14:
	add	r2, sp, #32
	add	r1, sp, #24
	ldr	r0, [r4, #24]
	bl	mp_chmap_get_reorder
	ldr	r1, [sp, #24]
	ldr	r0, [r4, #24]
	bl	transpose_order
	mov	r1, fp
	add	r0, sp, #36
	bl	mp_chmap_equals
	cmp	r0, #0
	bne	.L22
	ldr	r3, [sp, #36]
	add	r5, sp, #40
	mov	r0, r5
	ldr	r1, [sp, #28]
	str	r3, [sp, #40]
	bl	mp_chmap_fill_na
	ldr	r2, [sp, #40]
	ldr	r3, [sp, #28]
	cmp	r2, r3
	bne	.L3
.L15:
	mov	r2, fp
	add	r1, sp, #36
	ldr	r0, [r4, #48]
	bl	mp_chmap_get_reorder
	bl	mp_aframe_create
	ldr	r1, [r4, #4]
	str	r0, [r4, #36]
	bl	mp_aframe_set_rate
	mov	r1, r9
	ldr	r0, [r4, #36]
	bl	mp_aframe_set_chmap
	ldr	r1, [r4, #40]
	ldr	r0, [r4, #36]
	bl	mp_aframe_set_format
	bl	mp_aframe_create
	ldr	r1, [r4, #36]
	str	r0, [r4, #32]
	bl	mp_aframe_config_copy
	add	r1, sp, #36
	ldr	r0, [r4, #32]
	bl	mp_aframe_set_chmap
	mov	r0, r6
	ldr	r9, [r4, #32]
	bl	af_from_avformat
	mov	r1, r0
	mov	r0, r9
	bl	mp_aframe_set_format
	bl	mp_aframe_create
	ldr	r1, [r4, #32]
	str	r0, [r4, #28]
	bl	mp_aframe_config_copy
	ldr	r2, [sp, #28]
	ldr	r3, [sp, #36]
	cmp	r2, r3
	bgt	.L33
.L17:
	mov	r1, r10
	ldr	r2, [sp, #20]
	mov	r0, r4
	bl	fudge_layout_conversion
	mov	r9, r0
	mov	r2, r10
	mov	r3, #0
	ldr	r1, .L34+60
	ldr	r0, [r4, #20]
	bl	av_opt_set_int
	mov	r2, r9
	mov	r3, #0
	ldr	r1, .L34+64
	ldr	r0, [r4, #20]
	bl	av_opt_set_int
	mov	r3, #0
	ldr	r2, [r4]
	ldr	r1, .L34+68
	ldr	r0, [r4, #20]
	bl	av_opt_set_int
	mov	r3, #0
	ldr	r2, [r4, #4]
	ldr	r1, .L34+72
	ldr	r0, [r4, #20]
	bl	av_opt_set_int
	mov	r2, r8
	mov	r3, #0
	ldr	r1, .L34+76
	ldr	r0, [r4, #20]
	bl	av_opt_set_int
	mov	r3, #0
	mov	r2, r6
	ldr	r1, .L34+80
	ldr	r0, [r4, #20]
	bl	av_opt_set_int
	mov	r0, r5
	ldr	r1, [sp, #28]
	bl	mp_chmap_set_unknown
	mov	r0, r5
	bl	mp_chmap_to_lavc_unchecked
	subs	r5, r0, #0
	beq	.L3
	mov	r3, #0
	mov	r2, r5
	ldr	r1, .L34+60
	ldr	r0, [r4, #16]
	bl	av_opt_set_int
	mov	r2, r5
	mov	r3, #0
	ldr	r1, .L34+64
	ldr	r0, [r4, #16]
	bl	av_opt_set_int
	mov	r2, r6
	mov	r3, #0
	ldr	r1, .L34+76
	ldr	r0, [r4, #16]
	bl	av_opt_set_int
	mov	r2, r7
	mov	r3, #0
	ldr	r1, .L34+80
	ldr	r0, [r4, #16]
	bl	av_opt_set_int
	mov	r3, #0
	ldr	r2, [r4, #4]
	ldr	r1, .L34+68
	ldr	r0, [r4, #16]
	bl	av_opt_set_int
	mov	r3, #0
	ldr	r2, [r4, #4]
	ldr	r1, .L34+72
	ldr	r0, [r4, #16]
	bl	av_opt_set_int
	ldr	r1, [r4, #24]
	ldr	r0, [r4, #20]
	bl	avresample_set_channel_mapping
	mov	r3, #0
	ldr	r0, [r4, #20]
	str	r3, [r4, #8]
	bl	avresample_open
	cmp	r0, #0
	blt	.L19
	ldr	r0, [r4, #16]
	bl	avresample_open
	cmp	r0, #0
	movge	r0, #1
	bge	.L1
.L19:
	mov	r0, r4
	ldr	r1, .L34+84
	bl	MP_ERR
	b	.L3
.L22:
	mov	r6, r7
	add	r5, sp, #40
	b	.L15
.L31:
	mov	r1, fp
	add	r0, sp, #24
	bl	mp_chmap_equals
	cmp	r0, #0
	bne	.L10
	b	.L9
.L32:
	add	r1, sp, #36
	add	r0, sp, #32
	bl	mp_chmap_equals
	cmp	r0, #0
	bne	.L12
	add	r0, sp, #32
	bl	mp_chmap_to_str
	mov	r5, r0
	add	r0, sp, #36
	bl	mp_chmap_to_str
	mov	r2, r5
	mov	r3, r0
	ldr	r1, .L34+88
	mov	r0, r4
	bl	MP_VERBOSE
	b	.L12
.L33:
	mov	r1, fp
	ldr	r0, [r4, #28]
	bl	mp_aframe_set_chmap
	b	.L17
.L29:
	bl	__stack_chk_fail
.L35:
	.align	2
.L34:
	.word	.LC17
	.word	.LC0
	.word	AV_SAMPLE_FMT_NONE
	.word	.LC1
	.word	.LC16
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC8
	.word	1075445760
	.word	1072693248
	.word	-1717986918
	.word	1072273817
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC7
	.size	configure_lavrr, .-configure_lavrr
	.comm	AV_SAMPLE_FMT_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
