	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function splitter_component_destroy
_splitter_component_destroy:            ## @splitter_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
	movl	(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_7
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movl	%esi, %eax
	cmpq	%rax, %rbx
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_mmal_queue_destroy
	movl	(%r14), %esi
	jmp	LBB0_4
LBB0_5:
	testl	%esi, %esi
	je	LBB0_7
## %bb.6:
	movq	24(%r14), %rdi
	callq	_mmal_ports_free
LBB0_7:
	movl	4(%r14), %esi
	testl	%esi, %esi
	je	LBB0_14
## %bb.8:
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movl	%esi, %eax
	cmpq	%rax, %rbx
	jae	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	callq	_mmal_queue_destroy
	movl	4(%r14), %esi
	jmp	LBB0_11
LBB0_12:
	testl	%esi, %esi
	je	LBB0_14
## %bb.13:
	movq	16(%r14), %rdi
	callq	_mmal_ports_free
LBB0_14:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_vcos_free
	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	_splitter_component_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function splitter_component_destroy
_splitter_component_destroy:            ; @splitter_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	w1, [x0]
	cbz	w1, LBB0_7
; %bb.1:
	mov	x20, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	cmp	x20, w1, uxtw
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x20, lsl #3]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_mmal_queue_destroy
	ldr	w1, [x19]
	b	LBB0_2
LBB0_5:
	cbz	w1, LBB0_7
; %bb.6:
	ldr	x0, [x19, #24]
	bl	_mmal_ports_free
LBB0_7:
	ldr	w1, [x19, #4]
	cbz	w1, LBB0_14
; %bb.8:
	mov	x20, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x20, x20, #1
	cmp	x20, w1, uxtw
	b.hs	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x20, lsl #3]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [x8]
	cbz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	bl	_mmal_queue_destroy
	ldr	w1, [x19, #4]
	b	LBB0_9
LBB0_12:
	cbz	w1, LBB0_14
; %bb.13:
	ldr	x0, [x19, #16]
	bl	_mmal_ports_free
LBB0_14:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_vcos_free
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	_splitter_component_destroy
.subsections_via_symbols
