	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function container_component_destroy
_container_component_destroy:           ## @container_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	24(%rdi), %rax
	movq	(%rax), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_vc_container_close
LBB0_2:
	cmpl	$0, (%r15)
	je	LBB0_11
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movl	(%r15), %esi
	cmpq	%rsi, %rbx
	jae	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_mmal_queue_destroy
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_vc_container_format_delete
	jmp	LBB0_8
LBB0_9:
	testl	%esi, %esi
	je	LBB0_11
## %bb.10:
	movq	16(%r15), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_mmal_ports_free
LBB0_11:
	movl	4(%r15), %esi
	testl	%esi, %esi
	je	LBB0_18
## %bb.12:
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	movl	%esi, %eax
	cmpq	%rax, %rbx
	jae	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	callq	_mmal_queue_destroy
	movl	4(%r15), %esi
	jmp	LBB0_15
LBB0_16:
	testl	%esi, %esi
	je	LBB0_18
## %bb.17:
	movq	8(%r15), %rdi
	callq	_mmal_ports_free
LBB0_18:
	movq	%r14, %rdi
	callq	_vcos_free
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
	.no_dead_strip	_container_component_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function container_component_destroy
_container_component_destroy:           ; @container_component_destroy
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	ldr	x8, [x0, #24]
	ldr	x19, [x8]
	ldr	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_vc_container_close
LBB0_2:
	ldr	w8, [x20]
	cbz	w8, LBB0_11
; %bb.3:
	mov	x21, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	ldr	w1, [x20]
	cmp	x21, x1
	b.hs	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [x8]
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_mmal_queue_destroy
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x8, [x8]
	ldr	x8, [x8]
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_vc_container_format_delete
	b	LBB0_4
LBB0_9:
	cbz	w1, LBB0_11
; %bb.10:
	ldr	x0, [x20, #16]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_mmal_ports_free
LBB0_11:
	ldr	w1, [x20, #4]
	cbz	w1, LBB0_18
; %bb.12:
	mov	x21, #0
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x21, x21, #1
	cmp	x21, w1, uxtw
	b.hs	LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [x8]
	cbz	x0, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	bl	_mmal_queue_destroy
	ldr	w1, [x20, #4]
	b	LBB0_13
LBB0_16:
	cbz	w1, LBB0_18
; %bb.17:
	ldr	x0, [x20, #8]
	bl	_mmal_ports_free
LBB0_18:
	mov	x0, x19
	bl	_vcos_free
Lloh0:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
	.no_dead_strip	_container_component_destroy
.subsections_via_symbols
