	.file	"extr_mov.c_mov_parse_stsd_audio.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"compatible_brands"
.LC1:
	.string	"audio channels %d\n"
.LC2:
	.string	"version =%d, isom =%d\n"
.LC3:
	.string	"qt  "
	.text
	.p2align 4
	.type	mov_parse_stsd_audio, @function
mov_parse_stsd_audio:
.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, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	rdi, rsi
	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
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	avio_rb16@PLT
	mov	ecx, DWORD PTR AV_DICT_MATCH_CASE[rip]
	lea	rsi, .LC0[rip]
	xor	edx, edx
	mov	r14, rax
	mov	rax, QWORD PTR 8[r12]
	mov	edi, DWORD PTR [rax]
	call	av_dict_get@PLT
	mov	rdi, rbp
	mov	r15, rax
	call	avio_rb16@PLT
	mov	rdi, rbp
	call	avio_rb32@PLT
	mov	rdi, rbp
	call	avio_rb16@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	rdi, rbp
	mov	DWORD PTR [rdx], eax
	call	avio_rb16@PLT
	mov	esi, DWORD PTR AV_LOG_TRACE[rip]
	mov	rdi, QWORD PTR 8[r12]
	lea	rdx, .LC1[rip]
	mov	r8, rax
	mov	rax, QWORD PTR [rbx]
	mov	DWORD PTR 4[rax], r8d
	mov	ecx, DWORD PTR [rax]
	xor	eax, eax
	call	av_log@PLT
	mov	rdi, rbp
	call	avio_rb16@PLT
	mov	rdi, rbp
	mov	DWORD PTR 0[r13], eax
	call	avio_rb16@PLT
	mov	rdi, rbp
	call	avio_rb32@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	rdi, QWORD PTR 8[r12]
	mov	ecx, r14d
	sar	eax, 16
	mov	r8d, DWORD PTR [r12]
	mov	esi, DWORD PTR AV_LOG_TRACE[rip]
	mov	DWORD PTR 8[rdx], eax
	lea	rdx, .LC2[rip]
	xor	eax, eax
	call	av_log@PLT
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	je	.L2
	test	r15, r15
	je	.L6
	mov	edi, DWORD PTR [r15]
	lea	rsi, .LC3[rip]
	call	strstr@PLT
	test	rax, rax
	je	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	r14d, 1
	je	.L46
	cmp	r14d, 2
	je	.L47
	mov	rdx, QWORD PTR [rbx]
	test	r14d, r14d
	jne	.L7
.L34:
	mov	eax, DWORD PTR 24[rdx]
	sub	eax, 132
	cmp	eax, 1
	ja	.L7
	mov	eax, DWORD PTR AVSTREAM_PARSE_FULL[rip]
	mov	DWORD PTR 8[rbx], eax
.L7:
	cmp	QWORD PTR 24[r13], 0
	je	.L12
.L48:
	mov	edi, DWORD PTR 24[rdx]
.L13:
	lea	eax, -128[rdi]
	cmp	eax, 9
	ja	.L16
	lea	rcx, .L18[rip]
	movsx	rax, DWORD PTR [rcx+rax*4]
	add	rax, rcx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L18:
	.long	.L23-.L18
	.long	.L23-.L18
	.long	.L22-.L18
	.long	.L22-.L18
	.long	.L16-.L18
	.long	.L16-.L18
	.long	.L21-.L18
	.long	.L20-.L18
	.long	.L19-.L18
	.long	.L17-.L18
	.text
	.p2align 4,,10
	.p2align 3
.L6:
	cmp	QWORD PTR 8[r13], 0
	jne	.L11
	test	r14d, r14d
	jg	.L2
.L11:
	cmp	QWORD PTR 24[r13], 0
	mov	rdx, QWORD PTR [rbx]
	jne	.L48
.L12:
	mov	eax, DWORD PTR 4[rdx]
	cmp	eax, 8
	je	.L49
	cmp	eax, 16
	je	.L50
	mov	edi, DWORD PTR 24[rdx]
	lea	ecx, -128[rdi]
	cmp	ecx, 9
	ja	.L16
	lea	rsi, .L35[rip]
	movsx	rcx, DWORD PTR [rsi+rcx*4]
	add	rcx, rsi
	notrack jmp	rcx
	.section	.rodata
	.align 4
	.align 4
.L35:
	.long	.L24-.L35
	.long	.L24-.L35
	.long	.L26-.L35
	.long	.L26-.L35
	.long	.L16-.L35
	.long	.L16-.L35
	.long	.L21-.L35
	.long	.L20-.L35
	.long	.L19-.L35
	.long	.L17-.L35
	.text
	.p2align 4,,10
	.p2align 3
.L23:
	mov	eax, DWORD PTR 4[rdx]
.L24:
	cmp	eax, 16
	je	.L25
.L44:
	mov	edi, DWORD PTR 24[rdx]
	.p2align 4,,10
	.p2align 3
.L16:
	call	av_get_bits_per_sample@PLT
	test	eax, eax
	je	.L1
	mov	rdx, QWORD PTR [rbx]
	mov	DWORD PTR 4[rdx], eax
	sar	eax, 3
	imul	eax, DWORD PTR [rdx]
	mov	DWORD PTR 32[r13], eax
.L1:
	add	rsp, 8
	.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	eax, DWORD PTR 4[rdx]
	cmp	eax, 8
	je	.L51
.L26:
	cmp	eax, 24
	je	.L52
	cmp	eax, 32
	jne	.L44
	cmp	edi, 131
	mov	edi, DWORD PTR AV_CODEC_ID_PCM_S32BE[rip]
	cmovne	edi, DWORD PTR AV_CODEC_ID_PCM_S32LE[rip]
	mov	DWORD PTR 24[rdx], edi
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L47:
	mov	rdi, rbp
	call	avio_rb32@PLT
	mov	rdi, rbp
	call	avio_rb64@PLT
	mov	r12, QWORD PTR [rbx]
	mov	edi, eax
	call	av_int2double@PLT
	mov	rdi, rbp
	mov	DWORD PTR 8[r12], eax
	mov	r12, QWORD PTR [rbx]
	call	avio_rb32@PLT
	mov	rdi, rbp
	mov	DWORD PTR [r12], eax
	call	avio_rb32@PLT
	mov	r12, QWORD PTR [rbx]
	mov	rdi, rbp
	call	avio_rb32@PLT
	mov	rdi, rbp
	mov	DWORD PTR 4[r12], eax
	call	avio_rb32@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	avio_rb32@PLT
	mov	rdi, rbp
	mov	DWORD PTR 20[r13], eax
	call	avio_rb32@PLT
	mov	ecx, 109
	mov	edx, 99
	mov	esi, 112
	mov	DWORD PTR 16[r13], eax
	mov	rax, QWORD PTR [rbx]
	mov	edi, 108
	mov	rbp, QWORD PTR 16[rax]
	call	MKTAG@PLT
	cmp	rbp, rax
	jne	.L11
	mov	rbp, QWORD PTR [rbx]
	mov	esi, r12d
	mov	edi, DWORD PTR 4[rbp]
	call	ff_mov_get_lpcm_codec_id@PLT
	mov	DWORD PTR 24[rbp], eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L17:
	imul	eax, DWORD PTR [rdx], 34
	mov	DWORD PTR 16[r13], 64
	mov	edi, 137
	mov	DWORD PTR 20[r13], eax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L19:
	movabs	rax, 141733920928
	mov	edi, 136
	mov	QWORD PTR 16[r13], rax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L20:
	mov	eax, DWORD PTR [rdx]
	mov	DWORD PTR 16[r13], 6
	mov	edi, 135
	add	eax, eax
	mov	DWORD PTR 20[r13], eax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L21:
	mov	eax, DWORD PTR [rdx]
	mov	DWORD PTR 16[r13], 6
	mov	edi, 134
	mov	DWORD PTR 20[r13], eax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L46:
	mov	rdi, rbp
	call	avio_rb32@PLT
	mov	rdi, rbp
	mov	DWORD PTR 16[r13], eax
	call	avio_rb32@PLT
	mov	rdi, rbp
	call	avio_rb32@PLT
	mov	rdi, rbp
	mov	DWORD PTR 20[r13], eax
	call	avio_rb32@PLT
	cmp	DWORD PTR 0[r13], -2
	mov	rdx, QWORD PTR [rbx]
	jne	.L34
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L49:
	mov	ecx, 32
	mov	edx, 119
	mov	esi, 97
	mov	edi, 114
.L43:
	call	MKTAG@PLT
	mov	rdi, rbx
	mov	rsi, rax
	call	mov_codec_id@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	edi, eax
	mov	DWORD PTR 24[rdx], eax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L50:
	mov	ecx, 115
	mov	edx, 111
	mov	esi, 119
	mov	edi, 116
	jmp	.L43
	.p2align 4,,10
	.p2align 3
.L51:
	mov	DWORD PTR 24[rdx], 129
	mov	edi, 129
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L25:
	mov	DWORD PTR 24[rdx], 131
	mov	edi, 131
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L52:
	cmp	edi, 131
	mov	edi, DWORD PTR AV_CODEC_ID_PCM_S24BE[rip]
	cmovne	edi, DWORD PTR AV_CODEC_ID_PCM_S24LE[rip]
	mov	DWORD PTR 24[rdx], edi
	jmp	.L16
	.cfi_endproc
.LFE0:
	.size	mov_parse_stsd_audio, .-mov_parse_stsd_audio
	.comm	AV_LOG_TRACE,4,4
	.comm	AV_DICT_MATCH_CASE,4,4
	.comm	AV_CODEC_ID_PCM_S32LE,4,4
	.comm	AV_CODEC_ID_PCM_S32BE,4,4
	.comm	AV_CODEC_ID_PCM_S24LE,4,4
	.comm	AV_CODEC_ID_PCM_S24BE,4,4
	.comm	AVSTREAM_PARSE_FULL,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_mov.c_mov_parse_stsd_audio.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"compatible_brands\000"
	.align	2
.LC1:
	.ascii	"audio channels %d\012\000"
	.align	2
.LC2:
	.ascii	"version =%d, isom =%d\012\000"
	.align	2
.LC3:
	.ascii	"qt  \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mov_parse_stsd_audio, %function
mov_parse_stsd_audio:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	sub	sp, sp, #8
	mov	r0, r1
	mov	r4, r1
	mov	r5, r2
	mov	r7, r3
	bl	avio_rb16
	ldr	r2, [r6, #4]
	ldr	r3, .L55
	ldr	r1, .L55+4
	ldr	r3, [r3]
	mov	r8, r0
	ldr	r0, [r2]
	mov	r2, #0
	bl	av_dict_get
	mov	r9, r0
	mov	r0, r4
	bl	avio_rb16
	mov	r0, r4
	bl	avio_rb32
	mov	r0, r4
	bl	avio_rb16
	mov	r2, r0
	ldr	r3, [r5]
	mov	r0, r4
	str	r2, [r3]
	bl	avio_rb16
	ldr	r10, .L55+8
	ldr	r3, [r5]
	ldr	r1, [r10]
	ldr	r2, .L55+12
	str	r0, [r3, #4]
	ldr	r3, [r3]
	ldr	r0, [r6, #4]
	bl	av_log
	mov	r0, r4
	bl	avio_rb16
	mov	r3, r0
	mov	r0, r4
	str	r3, [r7]
	bl	avio_rb16
	mov	r0, r4
	bl	avio_rb32
	ldr	r2, [r6]
	ldr	ip, [r5]
	asr	r3, r0, #16
	str	r3, [ip, #8]
	str	r2, [sp]
	mov	r3, r8
	ldr	r1, [r10]
	ldr	r0, [r6, #4]
	ldr	r2, .L55+16
	bl	av_log
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L2
	cmp	r9, #0
	beq	.L5
	ldr	r0, [r9]
	ldr	r1, .L55+20
	bl	strstr
	cmp	r0, #0
	beq	.L5
.L2:
	cmp	r8, #1
	beq	.L49
	cmp	r8, #2
	beq	.L50
	cmp	r8, #0
	ldr	r3, [r5]
	beq	.L33
.L6:
	ldr	r2, [r7, #16]
	cmp	r2, #0
	beq	.L11
.L51:
	ldr	r0, [r3, #16]
.L12:
	sub	r2, r0, #128
	cmp	r2, #9
	ldrls	pc, [pc, r2, asl #2]
	b	.L15
.L17:
	.word	.L22
	.word	.L22
	.word	.L21
	.word	.L21
	.word	.L15
	.word	.L15
	.word	.L20
	.word	.L19
	.word	.L18
	.word	.L16
.L22:
	ldr	r2, [r3, #4]
.L23:
	cmp	r2, #16
	beq	.L24
.L47:
	ldr	r0, [r3, #16]
.L15:
	bl	av_get_bits_per_sample
	cmp	r0, #0
	beq	.L1
	ldr	r2, [r5]
	asr	r3, r0, #3
	ldr	r1, [r2]
	str	r0, [r2, #4]
	mul	r3, r1, r3
	str	r3, [r7, #20]
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L49:
	mov	r0, r4
	bl	avio_rb32
	mov	r3, r0
	mov	r0, r4
	str	r3, [r7, #8]
	bl	avio_rb32
	mov	r0, r4
	bl	avio_rb32
	mov	r3, r0
	mov	r0, r4
	str	r3, [r7, #12]
	bl	avio_rb32
	ldr	r3, [r7]
	cmn	r3, #2
	ldr	r3, [r5]
	beq	.L6
.L33:
	ldr	r2, [r3, #16]
	sub	r2, r2, #132
	cmp	r2, #1
	ldrls	r2, .L55+24
	ldrls	r2, [r2]
	strls	r2, [r5, #4]
	ldr	r2, [r7, #16]
	cmp	r2, #0
	bne	.L51
.L11:
	ldr	r2, [r3, #4]
	cmp	r2, #8
	beq	.L52
	cmp	r2, #16
	beq	.L53
	ldr	r0, [r3, #16]
	sub	r1, r0, #128
	cmp	r1, #9
	ldrls	pc, [pc, r1, asl #2]
	b	.L15
.L34:
	.word	.L23
	.word	.L23
	.word	.L25
	.word	.L25
	.word	.L15
	.word	.L15
	.word	.L20
	.word	.L19
	.word	.L18
	.word	.L16
.L5:
	ldr	r2, [r7, #4]
	cmp	r8, #0
	movle	r3, #0
	movgt	r3, #1
	cmp	r2, #0
	movne	r3, #0
	cmp	r3, #0
	bne	.L2
.L10:
	ldr	r3, [r5]
	b	.L6
.L21:
	ldr	r2, [r3, #4]
	cmp	r2, #8
	moveq	r0, #129
	streq	r0, [r3, #16]
	beq	.L15
.L25:
	cmp	r2, #24
	beq	.L54
	cmp	r2, #32
	bne	.L47
	cmp	r0, #131
	ldreq	r2, .L55+28
	ldrne	r2, .L55+32
	ldr	r0, [r2]
.L31:
	str	r0, [r3, #16]
	b	.L15
.L19:
	mov	r2, #6
	ldr	r3, [r3]
	mov	r0, #135
	lsl	r3, r3, #1
	str	r2, [r7, #8]
	str	r3, [r7, #12]
	b	.L15
.L18:
	mov	r2, #160
	mov	r3, #33
	mov	r0, #136
	str	r2, [r7, #8]
	str	r3, [r7, #12]
	b	.L15
.L16:
	mov	r2, #64
	ldr	r3, [r3]
	mov	r0, #137
	add	r3, r3, r3, lsl #4
	lsl	r3, r3, #1
	str	r2, [r7, #8]
	str	r3, [r7, #12]
	b	.L15
.L20:
	mov	r2, #6
	ldr	r3, [r3]
	mov	r0, #134
	str	r2, [r7, #8]
	str	r3, [r7, #12]
	b	.L15
.L50:
	mov	r0, r4
	bl	avio_rb32
	mov	r0, r4
	bl	avio_rb64
	ldr	r6, [r5]
	bl	av_int2double
	mov	r3, r0
	mov	r0, r4
	str	r3, [r6, #8]
	ldr	r6, [r5]
	bl	avio_rb32
	mov	r3, r0
	mov	r0, r4
	str	r3, [r6]
	bl	avio_rb32
	mov	r0, r4
	ldr	r6, [r5]
	bl	avio_rb32
	mov	r3, r0
	mov	r0, r4
	str	r3, [r6, #4]
	bl	avio_rb32
	mov	r6, r0
	mov	r0, r4
	bl	avio_rb32
	mov	r3, r0
	mov	r0, r4
	str	r3, [r7, #12]
	bl	avio_rb32
	ldr	ip, [r5]
	mov	r3, #109
	str	r0, [r7, #8]
	mov	r2, #99
	mov	r1, #112
	mov	r0, #108
	ldr	r4, [ip, #12]
	bl	MKTAG
	cmp	r4, r0
	bne	.L10
	ldr	r4, [r5]
	mov	r1, r6
	ldr	r0, [r4, #4]
	bl	ff_mov_get_lpcm_codec_id
	str	r0, [r4, #16]
	b	.L10
.L52:
	mov	r3, #32
	mov	r2, #119
	mov	r1, #97
	mov	r0, #114
.L46:
	bl	MKTAG
	mov	r1, r0
	mov	r0, r5
	bl	mov_codec_id
	ldr	r3, [r5]
	str	r0, [r3, #16]
	b	.L12
.L53:
	mov	r3, #115
	mov	r2, #111
	mov	r1, #119
	mov	r0, #116
	b	.L46
.L24:
	mov	r0, #131
	str	r0, [r3, #16]
	b	.L15
.L54:
	cmp	r0, #131
	ldreq	r2, .L55+36
	ldrne	r2, .L55+40
	ldr	r0, [r2]
	b	.L31
.L56:
	.align	2
.L55:
	.word	AV_DICT_MATCH_CASE
	.word	.LC0
	.word	AV_LOG_TRACE
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	AVSTREAM_PARSE_FULL
	.word	AV_CODEC_ID_PCM_S32BE
	.word	AV_CODEC_ID_PCM_S32LE
	.word	AV_CODEC_ID_PCM_S24BE
	.word	AV_CODEC_ID_PCM_S24LE
	.size	mov_parse_stsd_audio, .-mov_parse_stsd_audio
	.comm	AV_LOG_TRACE,4,4
	.comm	AV_DICT_MATCH_CASE,4,4
	.comm	AV_CODEC_ID_PCM_S32LE,4,4
	.comm	AV_CODEC_ID_PCM_S32BE,4,4
	.comm	AV_CODEC_ID_PCM_S24LE,4,4
	.comm	AV_CODEC_ID_PCM_S24BE,4,4
	.comm	AVSTREAM_PARSE_FULL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
