	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function flush_buffer
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_flush_buffer:                          ## @flush_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	56(%rdi), %esi
	movq	%rdx, %rdi
	callq	_ff_get_audio_buffer
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%rax, %r12
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.2:
	movl	(%r12), %edi
	xorl	%r8d, %r8d
	movq	_DBL_EPSILON@GOTPCREL(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %ecx
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r8
	movslq	%ecx, %rdx
	cmpq	%rdx, %r8
	jge	LBB0_16
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testl	%edi, %edi
	jle	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %rcx
	movq	(%rcx,%r8,8), %r14
	xorl	%r13d, %r13d
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	32(%rbx), %rcx
	xorps	%xmm1, %xmm1
	cvtsi2sdq	(%rcx,%r8,8), %xmm1
	addsd	%xmm0, %xmm1
	movsd	%xmm1, (%r14,%r13,8)
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=2
	incq	%r13
	movslq	(%r12), %rdi
	cmpq	%rdi, %r13
	jge	LBB0_14
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, 48(%rbx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movsd	(%r15), %xmm0                   ## xmm0 = mem[0],zero
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	movsd	8(%rbx), %xmm1                  ## xmm1 = mem[0],zero
	movsd	16(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	ucomisd	(%r15), %xmm1
	jbe	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	callq	_FFMIN
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	movsd	%xmm0, (%r14,%r13,8)
	cmpq	$0, 40(%rbx)
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=2
	testb	$1, %r13b
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=2
	xorpd	LCPI0_0(%rip), %xmm0
	jmp	LBB0_12
LBB0_16:
	decl	24(%rbx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_filter_frame                   ## TAILCALL
LBB0_17:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_DBL_EPSILON,8,3                ## @DBL_EPSILON
	.no_dead_strip	_flush_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flush_buffer
_flush_buffer:                          ; @flush_buffer
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	ldr	w1, [x0, #56]
	mov	x0, x2
	bl	_ff_get_audio_buffer
	cbz	x0, LBB0_15
; %bb.1:
	mov	x21, x0
	ldr	w9, [x20]
	cmp	w9, #1
	b.lt	LBB0_14
; %bb.2:
	mov	x22, #0
	ldr	w8, [x21]
Lloh0:
	adrp	x23, _DBL_EPSILON@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DBL_EPSILON@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x20]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	cmp	x22, w9, sxtw
	b.ge	LBB0_14
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, #0
	ldr	x8, [x21, #8]
	ldr	x25, [x8, x22, lsl #3]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x24, x24, #1
	ldrsw	x8, [x21]
	cmp	x24, x8
	b.ge	LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	d0, [x23]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	d2, [x23]
	ldp	d1, d0, [x20, #8]
	fcmp	d1, d2
	b.le	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	bl	_FFMIN
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=2
	str	d0, [x25, x24, lsl #3]
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=2
	fneg	d1, d0
	tst	x24, #0x1
	fcsel	d0, d0, d1, eq
	ldr	x8, [x20, #32]
	ldr	d1, [x8, x22, lsl #3]
	scvtf	d1, d1
	fadd	d0, d0, d1
	str	d0, [x25, x24, lsl #3]
	b	LBB0_7
LBB0_14:
	ldr	w8, [x20, #24]
	sub	w8, w8, #1
	str	w8, [x20, #24]
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_filter_frame
LBB0_15:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_DBL_EPSILON,8,3                ; @DBL_EPSILON
	.no_dead_strip	_flush_buffer
.subsections_via_symbols
