	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_snow_release_buffer         ## -- Begin function ff_snow_release_buffer
	.p2align	4, 0x90
_ff_snow_release_buffer:                ## @ff_snow_release_buffer
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rdx
	movq	24(%rdx), %rax
	movslq	(%rdx), %rcx
	movq	-8(%rax,%rcx,8), %rdi
	movq	(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.1:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	callq	_av_frame_unref
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movl	(%r8), %ecx
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	addq	$8, %r13
	addq	$4, %r15
	cmpl	$9, %ebx
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rax
	movabsq	$-6148914691236517205, %rdx     ## imm = 0xAAAAAAAAAAAAAAAB
	mulq	%rdx
	shrq	%rdx
	leaq	(,%rdx,8), %rax
	leaq	(%rax,%rax,2), %rax
	movq	%r13, %r12
	subq	%rax, %r12
	movq	8(%r8), %rax
	movslq	%ecx, %rsi
	movq	-8(%rax,%rsi,8), %rax
	movzbl	%bl, %esi
	imull	$171, %esi, %r14d
	shrq	$9, %r14
	movq	8(%rax,%r14,8), %rax
	movq	(%rax,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	shlq	$2, %rdx
	leaq	(%rdx,%rdx,2), %rax
	movq	%r15, %rcx
	subq	%rax, %rcx
	incq	%r14
	movq	_EDGE_WIDTH@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	16(%r8), %rdx
	movq	(%rdx), %rdx
	movslq	(%rdx,%rcx), %rcx
	incq	%rcx
	imulq	%rax, %rcx
	shlq	$2, %rcx
	subq	%rcx, %rdi
	callq	_av_free
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	8(%r8), %rax
	movslq	(%r8), %rcx
	movq	-8(%rax,%rcx,8), %rax
	movq	(%rax,%r14,8), %rax
	movq	$0, (%rax,%r12)
	jmp	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EDGE_WIDTH,4,2                 ## @EDGE_WIDTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_snow_release_buffer         ; -- Begin function ff_snow_release_buffer
	.p2align	2
_ff_snow_release_buffer:                ; @ff_snow_release_buffer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x19, [x0]
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19]
	add	x8, x8, x9, lsl #3
	ldur	x0, [x8, #-8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	bl	_av_frame_unref
	mov	w20, #0
	ldr	w8, [x19]
	mov	w21, #171
Lloh0:
	adrp	x22, _EDGE_WIDTH@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EDGE_WIDTH@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w20, w20, #1
	cmp	w20, #9
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	sub	w10, w8, #1
	ldr	x9, [x9, w10, sxtw #3]
	and	w10, w20, #0xff
	mul	w10, w10, w21
	lsr	w10, w10, #9
	add	w23, w10, #1
	ldr	x9, [x9, w23, uxtw #3]
	add	w10, w10, w10, lsl #1
	sub	w10, w20, w10
	and	x24, x10, #0xff
	ldr	x9, [x9, x24, lsl #3]
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x8, [x22]
	ldr	x10, [x19, #16]
	ldr	x10, [x10]
	ldrsw	x10, [x10, x24, lsl #2]
	madd	x8, x8, x10, x8
	sub	x0, x9, x8, lsl #2
	bl	_av_free
	ldr	x9, [x19, #8]
	ldr	w8, [x19]
	sub	w10, w8, #1
	ldr	x9, [x9, w10, sxtw #3]
	ldr	x9, [x9, x23, lsl #3]
	str	xzr, [x9, x24, lsl #3]
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EDGE_WIDTH,4,2                 ; @EDGE_WIDTH
.subsections_via_symbols
