	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_bsf_free                    ## -- Begin function av_bsf_free
	.p2align	4, 0x90
_av_bsf_free:                           ## @av_bsf_free
	.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
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.2:
	movq	32(%rbx), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	*%rcx
	movq	32(%rbx), %rax
LBB0_4:
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.5:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_av_opt_free
LBB0_7:
	movq	%rbx, %rdi
	callq	_av_opt_free
	leaq	16(%rbx), %r15
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	addq	$24, %rdi
	callq	_av_packet_free
LBB0_9:
	movq	%r15, %rdi
	callq	_av_freep
	leaq	8(%rbx), %rdi
	callq	_av_freep
	leaq	4(%rbx), %rdi
	callq	_avcodec_parameters_free
	movq	%rbx, %rdi
	callq	_avcodec_parameters_free
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_freep                       ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_bsf_free                    ; -- Begin function av_bsf_free
	.p2align	2
_av_bsf_free:                           ; @av_bsf_free
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0]
	cbz	x20, LBB0_10
; %bb.2:
	ldr	x8, [x20, #32]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_4
; %bb.3:
	mov	x0, x20
	blr	x9
	ldr	x8, [x20, #32]
LBB0_4:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_av_opt_free
LBB0_7:
	mov	x0, x20
	bl	_av_opt_free
	mov	x21, x20
	ldr	x8, [x21, #16]!
	cbz	x8, LBB0_9
; %bb.8:
	add	x0, x8, #24
	bl	_av_packet_free
LBB0_9:
	mov	x0, x21
	bl	_av_freep
	add	x0, x20, #8
	bl	_av_freep
	add	x0, x20, #4
	bl	_avcodec_parameters_free
	mov	x0, x20
	bl	_avcodec_parameters_free
	mov	x0, x19
	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
	b	_av_freep
LBB0_10:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
