	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function avcodec_component_destroy
_avcodec_component_destroy:             ## @avcodec_component_destroy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	32(%rdi), %rax
	movq	(%rax), %rbx
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_av_free
LBB0_2:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.3:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rdi
	callq	_vcos_free
	movq	16(%rbx), %rdi
LBB0_5:
	cmpq	$0, (%rdi)
	je	LBB0_7
## %bb.6:
	callq	_avcodec_close
	movq	16(%rbx), %rdi
LBB0_7:
	callq	_av_free
LBB0_8:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_mmal_queue_destroy
LBB0_10:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_mmal_queue_destroy
LBB0_12:
	movq	%rbx, %rdi
	callq	_vcos_free
	cmpq	$0, 24(%r14)
	je	LBB0_14
## %bb.13:
	movl	16(%r14), %edi
	movl	$1, %esi
	callq	_mmal_ports_free
LBB0_14:
	cmpq	$0, 8(%r14)
	je	LBB0_16
## %bb.15:
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_mmal_ports_free
LBB0_16:
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
	.no_dead_strip	_avcodec_component_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function avcodec_component_destroy
_avcodec_component_destroy:             ; @avcodec_component_destroy
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	x20, [x8]
	ldr	x0, [x20, #24]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_av_free
LBB0_2:
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_8
; %bb.3:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x8
	bl	_vcos_free
	ldr	x0, [x20, #16]
LBB0_5:
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.6:
	bl	_avcodec_close
	ldr	x0, [x20, #16]
LBB0_7:
	bl	_av_free
LBB0_8:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_mmal_queue_destroy
LBB0_10:
	ldr	x0, [x20]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_mmal_queue_destroy
LBB0_12:
	mov	x0, x20
	bl	_vcos_free
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_14
; %bb.13:
	ldr	w0, [x19, #16]
	mov	w1, #1
	bl	_mmal_ports_free
LBB0_14:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_16
; %bb.15:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_mmal_ports_free
LBB0_16:
Lloh0:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
	.no_dead_strip	_avcodec_component_destroy
.subsections_via_symbols
