	.file	"extr_mock.c_InitAudioTracks.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid audio rate"
.LC1:
	.string	"Invalid audio format"
.LC2:
	.string	"Invalid audio channels"
	.text
	.p2align 4
	.type	InitAudioTracks, @function
InitAudioTracks:
.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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	test	rdx, rdx
	je	.L40
	mov	r13, QWORD PTR [rdi]
	mov	rbp, rdi
	mov	rax, QWORD PTR 0[r13]
	mov	edi, DWORD PTR 16[r13]
	test	rax, rax
	jle	.L4
	cmp	rax, QWORD PTR UINT_MAX[rip]
	je	.L4
	mov	r12d, esi
	mov	rbx, rdx
	call	aout_BitsPerSample@PLT
	mov	r14, rax
	mov	eax, DWORD PTR 8[r13]
	test	eax, eax
	jle	.L36
	cmp	DWORD PTR AOUT_CHAN_MAX[rip], eax
	jl	.L36
	test	r14, r14
	je	.L42
	cmp	eax, 9
	ja	.L12
	lea	rdx, .L14[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L14:
	.long	.L12-.L14
	.long	.L22-.L14
	.long	.L21-.L14
	.long	.L20-.L14
	.long	.L19-.L14
	.long	.L18-.L14
	.long	.L17-.L14
	.long	.L16-.L14
	.long	.L15-.L14
	.long	.L13-.L14
	.text
	.p2align 4,,10
	.p2align 3
.L4:
	call	aout_BitsPerSample@PLT
	xor	ebx, ebx
	mov	r14, rax
	mov	eax, DWORD PTR 8[r13]
	test	eax, eax
	jle	.L7
	xor	ebx, ebx
	cmp	eax, DWORD PTR AOUT_CHAN_MAX[rip]
	setle	bl
.L7:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	msg_Err@PLT
	test	r14, r14
	je	.L31
.L10:
	test	ebx, ebx
	je	.L28
.L11:
	mov	eax, DWORD PTR VLC_EGENERIC[rip]
.L1:
	mov	rbx, QWORD PTR 40[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L43
	add	rsp, 56
	.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
.L40:
	.cfi_restore_state
	mov	eax, DWORD PTR VLC_SUCCESS[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L36:
	test	r14, r14
	je	.L44
.L28:
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	msg_Err@PLT
	jmp	.L11
.L42:
	mov	ebx, 1
	.p2align 4,,10
	.p2align 3
.L31:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	msg_Err@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L44:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	msg_Err@PLT
	jmp	.L28
.L13:
	mov	eax, DWORD PTR AOUT_CHANS_8_1[rip]
	mov	DWORD PTR 12[rsp], eax
	.p2align 4,,10
	.p2align 3
.L23:
	xor	r15d, r15d
	lea	r14, 16[rsp]
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L24:
	add	r15, 1
	cmp	rbx, r15
	je	.L40
.L25:
	mov	edx, DWORD PTR 16[r13]
	mov	esi, DWORD PTR AUDIO_ES[rip]
	mov	rdi, r14
	call	es_format_Init@PLT
	mov	eax, DWORD PTR 32[rsp]
	mov	rdi, r14
	mov	DWORD PTR 28[rsp], eax
	mov	rax, QWORD PTR 0[r13]
	mov	QWORD PTR 16[rsp], rax
	mov	eax, DWORD PTR 12[rsp]
	mov	DWORD PTR 24[rsp], eax
	call	aout_FormatPrepare@PLT
	mov	ecx, DWORD PTR 12[r13]
	mov	edx, r12d
	mov	rsi, r14
	mov	rdi, rbp
	call	AppendMockTrack@PLT
	test	rax, rax
	je	.L24
	mov	eax, DWORD PTR VLC_ENOMEM[rip]
	jmp	.L1
.L15:
	mov	eax, DWORD PTR AOUT_CHANS_7_1[rip]
	mov	DWORD PTR 12[rsp], eax
	jmp	.L23
.L16:
	mov	eax, DWORD PTR AOUT_CHANS_7_0[rip]
	mov	DWORD PTR 12[rsp], eax
	jmp	.L23
.L17:
	mov	eax, DWORD PTR AOUT_CHANS_6_0[rip]
	mov	DWORD PTR 12[rsp], eax
	jmp	.L23
.L18:
	mov	eax, DWORD PTR AOUT_CHANS_4_1[rip]
	mov	DWORD PTR 12[rsp], eax
	jmp	.L23
.L19:
	mov	eax, DWORD PTR AOUT_CHANS_4_0[rip]
	mov	DWORD PTR 12[rsp], eax
	jmp	.L23
.L20:
	mov	eax, DWORD PTR AOUT_CHANS_2_1[rip]
	mov	DWORD PTR 12[rsp], eax
	jmp	.L23
.L21:
	mov	eax, DWORD PTR AOUT_CHANS_2_0[rip]
	mov	DWORD PTR 12[rsp], eax
	jmp	.L23
.L22:
	mov	eax, DWORD PTR AOUT_CHAN_CENTER[rip]
	mov	DWORD PTR 12[rsp], eax
	jmp	.L23
.L12:
	xor	eax, eax
	call	vlc_assert_unreachable@PLT
	mov	DWORD PTR 12[rsp], 0
	jmp	.L23
.L43:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	InitAudioTracks, .-InitAudioTracks
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_ENOMEM,4,4
	.comm	VLC_EGENERIC,4,4
	.comm	UINT_MAX,8,8
	.comm	AUDIO_ES,4,4
	.comm	AOUT_CHAN_MAX,4,4
	.comm	AOUT_CHAN_CENTER,4,4
	.comm	AOUT_CHANS_8_1,4,4
	.comm	AOUT_CHANS_7_1,4,4
	.comm	AOUT_CHANS_7_0,4,4
	.comm	AOUT_CHANS_6_0,4,4
	.comm	AOUT_CHANS_4_1,4,4
	.comm	AOUT_CHANS_4_0,4,4
	.comm	AOUT_CHANS_2_1,4,4
	.comm	AOUT_CHANS_2_0,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_mock.c_InitAudioTracks.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid audio rate\000"
	.align	2
.LC1:
	.ascii	"Invalid audio format\000"
	.align	2
.LC2:
	.ascii	"Invalid audio channels\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	InitAudioTracks, %function
InitAudioTracks:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L44
	sub	sp, sp, #24
	subs	r7, r2, #0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L40
	ldr	r4, [r0]
	mov	r6, r0
	ldr	r3, [r4]
	ldr	r0, [r4, #12]
	cmp	r3, #0
	ble	.L4
	ldr	r2, .L44+4
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L4
	mov	r8, r1
	bl	aout_BitsPerSample
	ldr	r3, [r4, #4]
	mov	r5, r0
	cmp	r3, #0
	ble	.L36
	ldr	r2, .L44+8
	ldr	r2, [r2]
	cmp	r2, r3
	blt	.L36
	cmp	r5, #0
	moveq	r4, #1
	beq	.L31
	sub	r3, r3, #1
	cmp	r3, #8
	ldrls	pc, [pc, r3, asl #2]
	b	.L12
.L14:
	.word	.L22
	.word	.L21
	.word	.L20
	.word	.L19
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L13
.L4:
	bl	aout_BitsPerSample
	ldr	r3, [r4, #4]
	mov	r5, r0
	cmp	r3, #0
	movle	r4, #0
	ble	.L7
	ldr	r2, .L44+8
	ldr	r4, [r2]
	cmp	r3, r4
	movgt	r4, #0
	movle	r4, #1
.L7:
	mov	r0, r6
	ldr	r1, .L44+12
	bl	msg_Err
	cmp	r5, #0
	beq	.L31
.L10:
	cmp	r4, #0
	beq	.L28
.L11:
	ldr	r3, .L44+16
	ldr	r0, [r3]
.L1:
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L42
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L40:
	ldr	r3, .L44+20
	ldr	r0, [r3]
	b	.L1
.L36:
	cmp	r5, #0
	beq	.L43
.L28:
	mov	r0, r6
	ldr	r1, .L44+24
	bl	msg_Err
	b	.L11
.L31:
	mov	r0, r6
	ldr	r1, .L44+28
	bl	msg_Err
	b	.L10
.L43:
	mov	r0, r6
	ldr	r1, .L44+28
	bl	msg_Err
	b	.L28
.L13:
	ldr	r3, .L44+32
	ldr	r10, [r3]
.L23:
	mov	r5, #0
	ldr	r9, .L44+36
	b	.L25
.L24:
	add	r5, r5, #1
	cmp	r7, r5
	beq	.L40
.L25:
	ldr	r1, [r9]
	ldr	r2, [r4, #12]
	add	r0, sp, #4
	bl	es_format_Init
	ldr	r3, [r4]
	ldr	r2, [sp, #16]
	add	r0, sp, #4
	stmib	sp, {r3, r10}
	str	r2, [sp, #12]
	bl	aout_FormatPrepare
	mov	r2, r8
	mov	r0, r6
	ldr	r3, [r4, #8]
	add	r1, sp, #4
	bl	AppendMockTrack
	cmp	r0, #0
	beq	.L24
	ldr	r3, .L44+40
	ldr	r0, [r3]
	b	.L1
.L15:
	ldr	r3, .L44+44
	ldr	r10, [r3]
	b	.L23
.L16:
	ldr	r3, .L44+48
	ldr	r10, [r3]
	b	.L23
.L17:
	ldr	r3, .L44+52
	ldr	r10, [r3]
	b	.L23
.L18:
	ldr	r3, .L44+56
	ldr	r10, [r3]
	b	.L23
.L19:
	ldr	r3, .L44+60
	ldr	r10, [r3]
	b	.L23
.L20:
	ldr	r3, .L44+64
	ldr	r10, [r3]
	b	.L23
.L21:
	ldr	r3, .L44+68
	ldr	r10, [r3]
	b	.L23
.L22:
	ldr	r3, .L44+72
	ldr	r10, [r3]
	b	.L23
.L42:
	bl	__stack_chk_fail
.L12:
	bl	vlc_assert_unreachable
	mov	r10, #0
	b	.L23
.L45:
	.align	2
.L44:
	.word	.LC3
	.word	UINT_MAX
	.word	AOUT_CHAN_MAX
	.word	.LC0
	.word	VLC_EGENERIC
	.word	VLC_SUCCESS
	.word	.LC2
	.word	.LC1
	.word	AOUT_CHANS_8_1
	.word	AUDIO_ES
	.word	VLC_ENOMEM
	.word	AOUT_CHANS_7_1
	.word	AOUT_CHANS_7_0
	.word	AOUT_CHANS_6_0
	.word	AOUT_CHANS_4_1
	.word	AOUT_CHANS_4_0
	.word	AOUT_CHANS_2_1
	.word	AOUT_CHANS_2_0
	.word	AOUT_CHAN_CENTER
	.size	InitAudioTracks, .-InitAudioTracks
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_ENOMEM,4,4
	.comm	VLC_EGENERIC,4,4
	.comm	UINT_MAX,4,4
	.comm	AUDIO_ES,4,4
	.comm	AOUT_CHAN_MAX,4,4
	.comm	AOUT_CHAN_CENTER,4,4
	.comm	AOUT_CHANS_8_1,4,4
	.comm	AOUT_CHANS_7_1,4,4
	.comm	AOUT_CHANS_7_0,4,4
	.comm	AOUT_CHANS_6_0,4,4
	.comm	AOUT_CHANS_4_1,4,4
	.comm	AOUT_CHANS_4_0,4,4
	.comm	AOUT_CHANS_2_1,4,4
	.comm	AOUT_CHANS_2_0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
