	.file	"extr_mxfdec.c_mxf_read_generic_descriptor.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"VideoLineMap element size %d currently not supported\n"
	.align 8
.LC1:
	.string	"Duplicate sony_mpeg4_extradata\n"
	.text
	.p2align 4
	.type	mxf_read_generic_descriptor, @function
mxf_read_generic_descriptor:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	cmp	edx, 12818
	jg	.L2
	cmp	edx, 12800
	jg	.L3
	cmp	edx, 12293
	je	.L4
	jle	.L50
	cmp	edx, 12294
	jne	.L8
	mov	rdi, rsi
	call	avio_rb32@PLT
	mov	QWORD PTR 136[rbp], rax
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L50:
	.cfi_restore_state
	cmp	edx, 12290
	je	.L6
	cmp	edx, 12292
	jne	.L8
	mov	esi, DWORD PTR 148[rdi]
	mov	edx, 16
	mov	rdi, r12
	call	avio_read@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	sub	edx, 12801
	cmp	edx, 17
	ja	.L8
	lea	rsi, .L10[rip]
	movsx	rax, DWORD PTR [rsi+rdx*4]
	add	rax, rsi
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L16-.L10
	.long	.L15-.L10
	.long	.L14-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L13-.L10
	.long	.L12-.L10
	.long	.L11-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L9-.L10
	.text
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	edx, 15617
	je	.L18
	jle	.L51
	cmp	edx, 15623
	je	.L25
	jle	.L52
	cmp	edx, 16129
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	lea	rdx, 156[rdi]
	lea	rsi, 160[rdi]
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	mxf_read_strong_ref_array@PLT
	.p2align 4,,10
	.p2align 3
.L51:
	.cfi_restore_state
	cmp	edx, 13064
	je	.L20
	jle	.L53
	cmp	edx, 13313
	jne	.L8
	mov	rsi, rdi
	mov	rdi, r12
	call	mxf_read_pixel_layout@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L52:
	cmp	edx, 15619
	je	.L27
	cmp	edx, 15622
	jne	.L8
.L16:
	mov	esi, DWORD PTR 32[rbp]
	mov	edx, 16
	mov	rdi, r12
	call	avio_read@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L53:
	cmp	edx, 13057
	je	.L22
	cmp	edx, 13058
	jne	.L8
	mov	rdi, rsi
	call	avio_rb32@PLT
	mov	QWORD PTR 64[rbp], rax
	jmp	.L1
.L8:
	mov	esi, DWORD PTR mxf_sony_mpeg4_extradata[rip]
	mov	edi, r8d
	mov	DWORD PTR 8[rsp], r8d
	mov	DWORD PTR 12[rsp], ecx
	call	IS_KLV_KEY@PLT
	mov	r8d, DWORD PTR 8[rsp]
	test	eax, eax
	je	.L33
	mov	edi, DWORD PTR 8[rbp]
	mov	ecx, DWORD PTR 12[rsp]
	test	edi, edi
	jne	.L54
.L34:
	mov	DWORD PTR 12[rsp], r8d
	mov	DWORD PTR 8[rsp], ecx
	call	av_free@PLT
	mov	ecx, DWORD PTR 8[rsp]
	mov	DWORD PTR 0[rbp], 0
	mov	edi, ecx
	call	av_malloc@PLT
	mov	ecx, DWORD PTR 8[rsp]
	mov	r8d, DWORD PTR 12[rsp]
	test	eax, eax
	mov	DWORD PTR 8[rbp], eax
	mov	esi, eax
	je	.L55
	mov	DWORD PTR 0[rbp], ecx
	mov	edx, ecx
	mov	rdi, r12
	mov	DWORD PTR 8[rsp], r8d
	call	avio_read@PLT
	mov	r8d, DWORD PTR 8[rsp]
.L33:
	mov	esi, DWORD PTR mxf_jp2k_rsiz[rip]
	mov	edi, r8d
	call	IS_KLV_KEY@PLT
	test	eax, eax
	je	.L1
	mov	rdi, r12
	call	avio_rb16@PLT
	cmp	DWORD PTR FF_PROFILE_JPEG2000_DCINEMA_2K[rip], eax
	je	.L37
	cmp	DWORD PTR FF_PROFILE_JPEG2000_DCINEMA_4K[rip], eax
	jne	.L1
.L37:
	mov	eax, DWORD PTR AV_PIX_FMT_XYZ12[rip]
	mov	DWORD PTR 4[rbp], eax
	jmp	.L1
.L9:
	mov	rdi, r12
	call	avio_r8@PLT
	mov	QWORD PTR 80[rbp], rax
	jmp	.L1
.L11:
	mov	rdi, r12
	call	avio_rb32@PLT
	mov	rdi, r12
	mov	QWORD PTR 96[rbp], rax
	call	avio_rb32@PLT
	mov	QWORD PTR 88[rbp], rax
	jmp	.L1
.L12:
	mov	rdi, r12
	call	avio_rb32@PLT
	mov	rdi, r12
	mov	r13, rax
	call	avio_rb32@PLT
	cmp	eax, 4
	jne	.L29
	mov	rbx, QWORD PTR 104[rbp]
	test	r13d, r13d
	jg	.L56
	mov	QWORD PTR [rbx], 0
.L32:
	mov	rax, QWORD PTR 104[rbp]
	mov	QWORD PTR 8[rax], 0
	jmp	.L1
.L13:
	mov	rdi, r12
	call	avio_r8@PLT
	mov	QWORD PTR 112[rbp], rax
	jmp	.L1
.L14:
	mov	rdi, r12
	call	avio_rb32@PLT
	mov	QWORD PTR 128[rbp], rax
	jmp	.L1
.L15:
	mov	rdi, r12
	call	avio_rb32@PLT
	mov	QWORD PTR 120[rbp], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, rsi
	call	avio_rb32@PLT
	mov	QWORD PTR 16[rbp], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, rsi
	call	avio_rb32@PLT
	mov	rdi, r12
	mov	QWORD PTR 48[rbp], rax
	call	avio_rb32@PLT
	mov	QWORD PTR 40[rbp], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rdi, rsi
	call	avio_rb32@PLT
	mov	QWORD PTR 56[rbp], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR 144[rdi]
	mov	edx, 16
	mov	rdi, r12
	call	avio_read@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rsi
	call	avio_rb64@PLT
	mov	DWORD PTR 152[rbp], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rdi, rsi
	call	avio_rb32@PLT
	mov	QWORD PTR 24[rbp], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rdi, rsi
	call	avio_rb32@PLT
	mov	QWORD PTR 72[rbp], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L29:
	mov	esi, DWORD PTR AV_LOG_WARNING[rip]
	mov	ecx, eax
	lea	rdx, .LC0[rip]
	xor	edi, edi
	xor	eax, eax
	call	av_log@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L55:
	mov	edi, DWORD PTR ENOMEM[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	AVERROR@PLT
	.p2align 4,,10
	.p2align 3
.L54:
	.cfi_restore_state
	mov	esi, DWORD PTR AV_LOG_WARNING[rip]
	xor	edi, edi
	xor	eax, eax
	mov	DWORD PTR 12[rsp], r8d
	lea	rdx, .LC1[rip]
	mov	DWORD PTR 8[rsp], ecx
	call	av_log@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	r8d, DWORD PTR 12[rsp]
	mov	ecx, DWORD PTR 8[rsp]
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L56:
	mov	rdi, r12
	call	avio_rb32@PLT
	mov	QWORD PTR [rbx], rax
	cmp	r13d, 1
	je	.L32
	mov	rbx, QWORD PTR 104[rbp]
	mov	rdi, r12
	call	avio_rb32@PLT
	mov	QWORD PTR 8[rbx], rax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	mxf_read_generic_descriptor, .-mxf_read_generic_descriptor
	.comm	mxf_sony_mpeg4_extradata,4,4
	.comm	mxf_jp2k_rsiz,4,4
	.comm	FF_PROFILE_JPEG2000_DCINEMA_4K,4,4
	.comm	FF_PROFILE_JPEG2000_DCINEMA_2K,4,4
	.comm	ENOMEM,4,4
	.comm	AV_PIX_FMT_XYZ12,4,4
	.comm	AV_LOG_WARNING,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_mxfdec.c_mxf_read_generic_descriptor.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"VideoLineMap element size %d currently not supporte"
	.ascii	"d\012\000"
	.align	2
.LC1:
	.ascii	"Duplicate sony_mpeg4_extradata\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mxf_read_generic_descriptor, %function
mxf_read_generic_descriptor:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L55
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r2, ip
	mov	r4, r0
	mov	r5, r1
	mov	r6, r3
	ldr	r7, [sp, #24]
	bgt	.L2
	cmp	r2, #12800
	bgt	.L3
	sub	r2, r2, #12288
	sub	r2, r2, #2
	cmp	r2, #4
	bhi	.L4
	cmp	r2, #4
	ldrls	pc, [pc, r2, asl #2]
	b	.L4
.L19:
	.word	.L22
	.word	.L4
	.word	.L21
	.word	.L20
	.word	.L18
.L2:
	ldr	r3, .L55+4
	cmp	r2, r3
	bgt	.L23
	cmp	r2, #15616
	bgt	.L24
	ldr	r3, .L55+8
	cmp	r2, r3
	beq	.L25
	ble	.L50
	ldr	r3, .L55+12
	cmp	r2, r3
	bne	.L4
	mov	r1, r0
	mov	r0, r5
	bl	mxf_read_pixel_layout
.L1:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	sub	r2, r2, #12800
	sub	r2, r2, #1
	cmp	r2, #17
	ldrls	pc, [pc, r2, asl #2]
	b	.L4
.L12:
	.word	.L8
	.word	.L17
	.word	.L16
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L11
.L50:
	sub	r3, r3, #7
	cmp	r2, r3
	beq	.L27
	add	r3, r3, #1
	cmp	r2, r3
	bne	.L4
	mov	r0, r1
	bl	avio_rb32
	str	r0, [r4, #36]
	b	.L1
.L24:
	sub	r2, r2, #15616
	sub	r2, r2, #1
	cmp	r2, #6
	ldrls	pc, [pc, r2, asl #2]
	b	.L4
.L7:
	.word	.L10
	.word	.L4
	.word	.L9
	.word	.L4
	.word	.L4
	.word	.L8
	.word	.L6
.L23:
	ldr	r3, .L55+16
	cmp	r2, r3
	bne	.L4
	mov	r0, r1
	add	r2, r4, #88
	add	r1, r4, #92
	pop	{r4, r5, r6, r7, r8, lr}
	b	mxf_read_strong_ref_array
.L8:
	mov	r0, r5
	mov	r2, #16
	ldr	r1, [r4, #20]
	bl	avio_read
	b	.L1
.L17:
	mov	r0, r1
	bl	avio_rb32
	str	r0, [r4, #64]
	b	.L1
.L18:
	mov	r0, r1
	bl	avio_rb32
	str	r0, [r4, #72]
	b	.L1
.L20:
	ldr	r1, [r0, #76]
	mov	r2, #16
	mov	r0, r5
	bl	avio_read
	b	.L1
.L21:
	ldr	r1, [r0, #80]
	mov	r2, #16
	mov	r0, r5
	bl	avio_read
	b	.L1
.L22:
	mov	r0, r1
	bl	avio_rb64
	str	r0, [r4, #84]
	b	.L1
.L4:
	ldr	r3, .L55+20
	mov	r0, r7
	ldr	r1, [r3]
	bl	IS_KLV_KEY
	cmp	r0, #0
	beq	.L35
	ldr	r0, [r4, #8]
	cmp	r0, #0
	bne	.L51
.L36:
	bl	av_free
	mov	r3, #0
	mov	r0, r6
	str	r3, [r4]
	bl	av_malloc
	cmp	r0, #0
	mov	r1, r0
	str	r0, [r4, #8]
	beq	.L52
	mov	r2, r6
	mov	r0, r5
	str	r6, [r4]
	bl	avio_read
.L35:
	ldr	r3, .L55+24
	mov	r0, r7
	ldr	r1, [r3]
	bl	IS_KLV_KEY
	cmp	r0, #0
	beq	.L1
	mov	r0, r5
	bl	avio_rb16
	ldr	r3, .L55+28
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L39
	ldr	r3, .L55+32
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L1
.L39:
	ldr	r3, .L55+36
	ldr	r3, [r3]
	str	r3, [r4, #4]
	b	.L1
.L6:
	mov	r0, r5
	bl	avio_rb32
	str	r0, [r4, #16]
	b	.L1
.L9:
	mov	r0, r5
	bl	avio_rb32
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #28]
	bl	avio_rb32
	str	r0, [r4, #24]
	b	.L1
.L10:
	mov	r0, r5
	bl	avio_rb32
	str	r0, [r4, #12]
	b	.L1
.L11:
	mov	r0, r1
	bl	avio_r8
	str	r0, [r4, #44]
	b	.L1
.L13:
	mov	r0, r1
	bl	avio_rb32
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #52]
	bl	avio_rb32
	str	r0, [r4, #48]
	b	.L1
.L14:
	mov	r0, r1
	bl	avio_rb32
	mov	r6, r0
	mov	r0, r5
	bl	avio_rb32
	cmp	r0, #4
	mov	r3, r0
	beq	.L53
	ldr	r2, .L55+40
	mov	r0, #0
	ldr	r1, [r2]
	ldr	r2, .L55+44
	bl	av_log
	b	.L1
.L15:
	mov	r0, r1
	bl	avio_r8
	str	r0, [r4, #60]
	b	.L1
.L16:
	mov	r0, r1
	bl	avio_rb32
	str	r0, [r4, #68]
	b	.L1
.L25:
	mov	r0, r1
	bl	avio_rb32
	str	r0, [r4, #32]
	b	.L1
.L27:
	mov	r0, r1
	bl	avio_rb32
	str	r0, [r4, #40]
	b	.L1
.L53:
	cmp	r6, #0
	movle	r3, #0
	ldr	r7, [r4, #56]
	strle	r3, [r7]
	bgt	.L54
.L34:
	mov	r2, #0
	ldr	r3, [r4, #56]
	str	r2, [r3, #4]
	b	.L1
.L52:
	ldr	r3, .L55+48
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r3]
	b	AVERROR
.L51:
	ldr	r3, .L55+40
	mov	r0, #0
	ldr	r2, .L55+52
	ldr	r1, [r3]
	bl	av_log
	ldr	r0, [r4, #8]
	b	.L36
.L54:
	mov	r0, r5
	bl	avio_rb32
	cmp	r6, #1
	str	r0, [r7]
	beq	.L34
	mov	r0, r5
	ldr	r4, [r4, #56]
	bl	avio_rb32
	str	r0, [r4, #4]
	b	.L1
.L56:
	.align	2
.L55:
	.word	12818
	.word	15623
	.word	13064
	.word	13313
	.word	16129
	.word	mxf_sony_mpeg4_extradata
	.word	mxf_jp2k_rsiz
	.word	FF_PROFILE_JPEG2000_DCINEMA_2K
	.word	FF_PROFILE_JPEG2000_DCINEMA_4K
	.word	AV_PIX_FMT_XYZ12
	.word	AV_LOG_WARNING
	.word	.LC0
	.word	ENOMEM
	.word	.LC1
	.size	mxf_read_generic_descriptor, .-mxf_read_generic_descriptor
	.comm	mxf_sony_mpeg4_extradata,4,4
	.comm	mxf_jp2k_rsiz,4,4
	.comm	FF_PROFILE_JPEG2000_DCINEMA_4K,4,4
	.comm	FF_PROFILE_JPEG2000_DCINEMA_2K,4,4
	.comm	ENOMEM,4,4
	.comm	AV_PIX_FMT_XYZ12,4,4
	.comm	AV_LOG_WARNING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
