	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function destroy_splitter_component
_destroy_splitter_component:            ## @destroy_splitter_component
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_SPLITTER_OUTPUT_PORT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_mmal_port_pool_destroy
LBB0_2:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_mmal_component_destroy
	movq	$0, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPLITTER_OUTPUT_PORT,8,3       ## @SPLITTER_OUTPUT_PORT
	.no_dead_strip	_destroy_splitter_component
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function destroy_splitter_component
_destroy_splitter_component:            ; @destroy_splitter_component
	.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	x1, [x0, #8]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _SPLITTER_OUTPUT_PORT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SPLITTER_OUTPUT_PORT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_mmal_port_pool_destroy
LBB0_2:
	ldr	x0, [x19]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_mmal_component_destroy
	str	xzr, [x19]
LBB0_4:
	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	_SPLITTER_OUTPUT_PORT,8,3       ; @SPLITTER_OUTPUT_PORT
	.no_dead_strip	_destroy_splitter_component
.subsections_via_symbols
