	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SampleGrabber_cleanup
_SampleGrabber_cleanup:                 ## @SampleGrabber_cleanup
	.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
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TRACE
	movq	40(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_WARN
LBB0_2:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_IMemAllocator_Release
LBB0_4:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_IMemInputPin_Release
LBB0_6:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_ISampleGrabberCB_Release
LBB0_8:
	movl	12(%rbx), %edi
	callq	_CoTaskMemFree
	movl	8(%rbx), %edi
	callq	_CoTaskMemFree
	movq	(%rbx), %rdi
	addq	$8, %rsp
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.10:
	popq	%rbx
	popq	%rbp
	jmp	_IUnknown_Release               ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%p)\n"

L_.str.1:                               ## @.str.1
	.asciz	"(%p) still joined to filter graph %p\n"

	.no_dead_strip	_SampleGrabber_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SampleGrabber_cleanup
_SampleGrabber_cleanup:                 ; @SampleGrabber_cleanup
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_TRACE
	ldr	x2, [x19, #40]
	cbz	x2, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_WARN
LBB0_2:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_IMemAllocator_Release
LBB0_4:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_IMemInputPin_Release
LBB0_6:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_ISampleGrabberCB_Release
LBB0_8:
	ldr	w0, [x19, #12]
	bl	_CoTaskMemFree
	ldr	w0, [x19, #8]
	bl	_CoTaskMemFree
	ldr	x0, [x19]
	cbz	x0, LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_IUnknown_Release
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%p)\n"

l_.str.1:                               ; @.str.1
	.asciz	"(%p) still joined to filter graph %p\n"

	.no_dead_strip	_SampleGrabber_cleanup
.subsections_via_symbols
