	.file	"extr_vt_utils.c_cvpxpic_unmap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	cvpxpic_unmap
	.type	cvpxpic_unmap, @function
cvpxpic_unmap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR 8[rdi]
	mov	DWORD PTR 4[rsp], eax
	add	eax, -128
	cmp	eax, 4
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR VLC_CODEC_CVPX_I420[rip]
	mov	DWORD PTR 4[rsp], eax
.L9:
	xor	edi, edi
	cmp	QWORD PTR 0[rbp], 0
	setne	dil
	call	assert@PLT
	lea	rdi, 4[rsp]
	call	picture_NewFromFormat@PLT
	mov	rdi, rbp
	mov	r12, rax
	test	rax, rax
	je	.L14
	call	cvpxpic_get_ref@PLT
	mov	rdi, r12
	mov	esi, eax
	call	cvpxpic_attach@PLT
	mov	rdi, r12
	mov	rsi, rbp
	call	picture_CopyProperties@PLT
	mov	rdi, rbp
.L14:
	call	picture_Release@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, DWORD PTR VLC_CODEC_CVPX_BGRA[rip]
	mov	DWORD PTR 4[rsp], eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR VLC_CODEC_CVPX_UYVY[rip]
	mov	DWORD PTR 4[rsp], eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR VLC_CODEC_CVPX_P010[rip]
	mov	DWORD PTR 4[rsp], eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR VLC_CODEC_CVPX_NV12[rip]
	mov	DWORD PTR 4[rsp], eax
	jmp	.L9
.L2:
	xor	edi, edi
	xor	r12d, r12d
	call	assert@PLT
	mov	rdi, rbp
	call	picture_Release@PLT
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cvpxpic_unmap, .-cvpxpic_unmap
	.comm	VLC_CODEC_CVPX_UYVY,4,4
	.comm	VLC_CODEC_CVPX_P010,4,4
	.comm	VLC_CODEC_CVPX_NV12,4,4
	.comm	VLC_CODEC_CVPX_I420,4,4
	.comm	VLC_CODEC_CVPX_BGRA,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_vt_utils.c_cvpxpic_unmap.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cvpxpic_unmap
	.syntax unified
	.arm
	.fpu softvfp
	.type	cvpxpic_unmap, %function
cvpxpic_unmap:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r2, [r0, #4]
	ldr	r3, .L17
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	sub	r3, r2, #128
	mov	r4, r0
	str	r2, [sp]
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r3, .L17+4
	ldr	r3, [r3]
	str	r3, [sp]
.L9:
	ldr	r0, [r4]
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	mov	r0, sp
	bl	picture_NewFromFormat
	subs	r5, r0, #0
	mov	r0, r4
	beq	.L14
	bl	cvpxpic_get_ref
	mov	r1, r0
	mov	r0, r5
	bl	cvpxpic_attach
	mov	r1, r4
	mov	r0, r5
	bl	picture_CopyProperties
	mov	r0, r4
.L14:
	bl	picture_Release
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	ldr	r3, .L17+8
	ldr	r3, [r3]
	str	r3, [sp]
	b	.L9
.L7:
	ldr	r3, .L17+12
	ldr	r3, [r3]
	str	r3, [sp]
	b	.L9
.L6:
	ldr	r3, .L17+16
	ldr	r3, [r3]
	str	r3, [sp]
	b	.L9
.L5:
	ldr	r3, .L17+20
	ldr	r3, [r3]
	str	r3, [sp]
	b	.L9
.L16:
	bl	__stack_chk_fail
.L2:
	mov	r0, #0
	bl	assert
	mov	r0, r4
	bl	picture_Release
	mov	r5, #0
	b	.L1
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	VLC_CODEC_CVPX_BGRA
	.word	VLC_CODEC_CVPX_UYVY
	.word	VLC_CODEC_CVPX_P010
	.word	VLC_CODEC_CVPX_NV12
	.word	VLC_CODEC_CVPX_I420
	.size	cvpxpic_unmap, .-cvpxpic_unmap
	.comm	VLC_CODEC_CVPX_UYVY,4,4
	.comm	VLC_CODEC_CVPX_P010,4,4
	.comm	VLC_CODEC_CVPX_NV12,4,4
	.comm	VLC_CODEC_CVPX_I420,4,4
	.comm	VLC_CODEC_CVPX_BGRA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
