	.file	"extr_avcodec_video_decoder.c_avcodec_component_destroy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	avcodec_component_destroy, @function
avcodec_component_destroy:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 32[rdi]
	mov	rbp, QWORD PTR [rax]
	mov	rdi, QWORD PTR 24[rbp]
	test	rdi, rdi
	je	.L2
	call	av_free@PLT
.L2:
	mov	rdi, QWORD PTR 16[rbp]
	test	rdi, rdi
	je	.L3
	mov	r8, QWORD PTR 8[rdi]
	test	r8, r8
	je	.L4
	mov	rdi, r8
	call	vcos_free@PLT
	mov	rdi, QWORD PTR 16[rbp]
.L4:
	cmp	QWORD PTR [rdi], 0
	jne	.L27
.L5:
	call	av_free@PLT
.L3:
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	jne	.L28
	mov	rdi, QWORD PTR 0[rbp]
	test	rdi, rdi
	jne	.L29
.L7:
	mov	rdi, rbp
	call	vcos_free@PLT
	cmp	QWORD PTR 24[rbx], 0
	jne	.L30
.L8:
	cmp	QWORD PTR 8[rbx], 0
	jne	.L31
	mov	eax, DWORD PTR MMAL_SUCCESS[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	call	avcodec_close@PLT
	mov	rdi, QWORD PTR 16[rbp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L31:
	mov	edi, DWORD PTR [rbx]
	mov	esi, 1
	call	mmal_ports_free@PLT
	mov	eax, DWORD PTR MMAL_SUCCESS[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	call	mmal_queue_destroy@PLT
	mov	rdi, QWORD PTR 0[rbp]
	test	rdi, rdi
	je	.L7
.L29:
	call	mmal_queue_destroy@PLT
	mov	rdi, rbp
	call	vcos_free@PLT
	cmp	QWORD PTR 24[rbx], 0
	je	.L8
.L30:
	mov	edi, DWORD PTR 16[rbx]
	mov	esi, 1
	call	mmal_ports_free@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	avcodec_component_destroy, .-avcodec_component_destroy
	.comm	MMAL_SUCCESS,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_avcodec_video_decoder.c_avcodec_component_destroy.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	avcodec_component_destroy, %function
avcodec_component_destroy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #16]
	push	{r4, r5, r6, lr}
	ldr	r5, [r3]
	mov	r4, r0
	ldr	r0, [r5, #12]
	cmp	r0, #0
	beq	.L2
	bl	av_free
.L2:
	ldr	r0, [r5, #8]
	cmp	r0, #0
	beq	.L3
	ldr	r3, [r0, #4]
	cmp	r3, #0
	beq	.L4
	mov	r0, r3
	bl	vcos_free
	ldr	r0, [r5, #8]
.L4:
	ldr	r3, [r0]
	cmp	r3, #0
	bne	.L36
.L5:
	bl	av_free
.L3:
	ldr	r0, [r5, #4]
	cmp	r0, #0
	bne	.L37
	ldr	r0, [r5]
	cmp	r0, #0
	bne	.L38
.L7:
	mov	r0, r5
	bl	vcos_free
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L39
.L8:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L40
.L9:
	ldr	r3, .L41
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L36:
	bl	avcodec_close
	ldr	r0, [r5, #8]
	b	.L5
.L40:
	mov	r1, #1
	ldr	r0, [r4]
	bl	mmal_ports_free
	b	.L9
.L37:
	bl	mmal_queue_destroy
	ldr	r0, [r5]
	cmp	r0, #0
	beq	.L7
.L38:
	bl	mmal_queue_destroy
	b	.L7
.L39:
	mov	r1, #1
	ldr	r0, [r4, #8]
	bl	mmal_ports_free
	b	.L8
.L42:
	.align	2
.L41:
	.word	MMAL_SUCCESS
	.size	avcodec_component_destroy, .-avcodec_component_destroy
	.comm	MMAL_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
