	.file	"extr_ts_psi.c_SetupAudioExtendedDescriptors.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"      found language: %s"
	.text
	.p2align 4
	.type	SetupAudioExtendedDescriptors, @function
SetupAudioExtendedDescriptors:
.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
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	rdi, rdx
	mov	rax, QWORD PTR 0[rbp]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR TS_STANDARD_AUTO[rip]
	je	.L2
	cmp	rax, QWORD PTR TS_STANDARD_DVB[rip]
	je	.L2
.L1:
	pop	rbx
	.cfi_remember_state
	.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
.L2:
	.cfi_restore_state
	mov	esi, 127
	call	PMTEsFindDescriptor@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L1
	cmp	DWORD PTR [rax], 1
	jle	.L1
	mov	rax, QWORD PTR 8[rax]
	cmp	DWORD PTR [rax], 6
	jne	.L1
	mov	eax, DWORD PTR 4[rax]
	lea	rdi, editorial_classification_coding.1969[rip]
	sar	eax, 2
	mov	r14d, eax
	mov	r13d, eax
	and	r14d, 31
	and	r13d, 31
	call	ARRAY_SIZE@PLT
	cmp	rax, r13
	ja	.L19
.L5:
	test	r14d, r14d
	jne	.L6
	mov	rax, QWORD PTR ES_PRIORITY_SELECTABLE_MIN[rip]
	add	rax, 1
	mov	QWORD PTR 8[r12], rax
.L6:
	mov	rax, QWORD PTR 8[rbx]
	mov	eax, DWORD PTR 4[rax]
	test	al, -128
	jne	.L7
	mov	rdx, QWORD PTR ES_PRIORITY_NOT_DEFAULTABLE[rip]
	mov	QWORD PTR 8[r12], rdx
.L7:
	test	al, 1
	je	.L1
	cmp	DWORD PTR [rbx], 4
	jle	.L1
	mov	rdi, QWORD PTR [r12]
	call	free@PLT
	mov	edi, 4
	call	malloc@PLT
	mov	QWORD PTR [r12], rax
	mov	rdi, rax
	test	rax, rax
	je	.L1
	mov	rsi, QWORD PTR 8[rbx]
	mov	edx, 3
	add	rsi, 8
	call	memcpy@PLT
	mov	rdx, QWORD PTR [r12]
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	mov	QWORD PTR 24[rdx], 0
	pop	rbx
	.cfi_remember_state
	.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
	jmp	msg_Dbg@PLT
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	rdi, QWORD PTR 16[r12]
	call	free@PLT
	lea	rax, editorial_classification_coding.1969[rip]
	mov	rdi, QWORD PTR [rax+r13*8]
	call	strdup@PLT
	mov	QWORD PTR 16[r12], rax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	SetupAudioExtendedDescriptors, .-SetupAudioExtendedDescriptors
	.data
	.align 32
	.type	editorial_classification_coding.1969, @object
	.size	editorial_classification_coding.1969, 32
editorial_classification_coding.1969:
	.quad	129
	.quad	131
	.quad	130
	.quad	128
	.comm	TS_STANDARD_DVB,8,8
	.comm	TS_STANDARD_AUTO,8,8
	.comm	ES_PRIORITY_SELECTABLE_MIN,8,8
	.comm	ES_PRIORITY_NOT_DEFAULTABLE,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_ts_psi.c_SetupAudioExtendedDescriptors.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"      found language: %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	SetupAudioExtendedDescriptors, %function
SetupAudioExtendedDescriptors:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r0]
	mov	r4, r0
	ldr	r0, .L20
	ldr	r3, [r3]
	ldr	r0, [r0]
	mov	r5, r1
	cmp	r3, r0
	beq	.L2
	ldr	r1, .L20+4
	ldr	r1, [r1]
	cmp	r3, r1
	popne	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r2
	mov	r1, #127
	bl	PMTEsFindDescriptor
	subs	r6, r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r6]
	cmp	r3, #1
	pople	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r6, #4]
	ldr	r2, [r3]
	cmp	r2, #6
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r8, .L20+8
	ldr	r7, [r3, #4]
	mov	r0, r8
	bl	ARRAY_SIZE
	asr	r7, r7, #2
	and	r7, r7, #31
	cmp	r0, r7
	bhi	.L19
.L5:
	cmp	r7, #0
	ldreq	r3, .L20+12
	ldreq	r3, [r3]
	addeq	r3, r3, #1
	streq	r3, [r5, #4]
	ldr	r3, [r6, #4]
	ldr	r3, [r3, #4]
	tst	r3, #128
	ldreq	r2, .L20+16
	ldreq	r2, [r2]
	streq	r2, [r5, #4]
	tst	r3, #1
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r6]
	cmp	r3, #4
	pople	{r4, r5, r6, r7, r8, pc}
	ldr	r0, [r5]
	bl	free
	mov	r0, #4
	bl	malloc
	cmp	r0, #0
	mov	r7, r0
	str	r0, [r5]
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r1, [r6, #4]
	mov	r2, #3
	add	r1, r1, #8
	bl	memcpy
	mov	r3, #0
	mov	r0, r4
	mov	r2, r7
	str	r3, [r7, #12]
	ldr	r1, .L20+20
	pop	{r4, r5, r6, r7, r8, lr}
	b	msg_Dbg
.L19:
	ldr	r0, [r5, #8]
	bl	free
	ldr	r0, [r8, r7, lsl #2]
	bl	strdup
	str	r0, [r5, #8]
	b	.L5
.L21:
	.align	2
.L20:
	.word	TS_STANDARD_AUTO
	.word	TS_STANDARD_DVB
	.word	.LANCHOR0
	.word	ES_PRIORITY_SELECTABLE_MIN
	.word	ES_PRIORITY_NOT_DEFAULTABLE
	.word	.LC0
	.size	SetupAudioExtendedDescriptors, .-SetupAudioExtendedDescriptors
	.comm	TS_STANDARD_DVB,4,4
	.comm	TS_STANDARD_AUTO,4,4
	.comm	ES_PRIORITY_SELECTABLE_MIN,4,4
	.comm	ES_PRIORITY_NOT_DEFAULTABLE,4,4
	.data
	.align	2
	.set	.LANCHOR0,. + 0
	.type	editorial_classification_coding.4253, %object
	.size	editorial_classification_coding.4253, 16
editorial_classification_coding.4253:
	.word	129
	.word	131
	.word	130
	.word	128
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
