	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_frame
_filter_frame:                          ## @filter_frame
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rsi, -56(%rbp)
	movq	(%rdi), %r12
	movq	8(%r12), %rax
	movq	16(%r12), %r13
	movq	(%rax), %r14
	movq	$0, -48(%rbp)
	movl	(%rsi), %esi
	movq	%r14, %rdi
	callq	_ff_get_audio_buffer
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_av_frame_copy_props
	movq	%rbx, -64(%rbp)
	movq	%r15, -72(%rbp)
	movl	32(%r13), %eax
	movl	%eax, -80(%rbp)
	movl	28(%r13), %eax
	movl	%eax, -84(%rbp)
	movl	24(%r13), %eax
	movl	%eax, -88(%rbp)
	leaq	-48(%rbp), %rax
	movq	%rax, -112(%rbp)
	movups	8(%r13), %xmm0
	movups	%xmm0, -104(%rbp)
	movq	(%r13), %rax
	movq	_TIME_DOMAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_sofalizer_convolute@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_10
LBB0_4:
	movq	_FREQUENCY_DOMAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	_sofalizer_fast_convolute@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%r12), %rbx
	movl	(%rax), %esi
	leaq	-112(%rbp), %rdx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	movl	$2, %r8d
	callq	*(%rbx)
LBB0_7:
	xorl	%eax, %eax
	callq	_emms_c
	movl	-44(%rbp), %ecx
	addl	-48(%rbp), %ecx
	jle	LBB0_9
## %bb.8:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %r8d
	addl	%r8d, %r8d
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	callq	_av_log
LBB0_9:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ff_filter_frame
LBB0_10:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_TIME_DOMAIN,8,3                ## @TIME_DOMAIN
	.comm	_sofalizer_convolute,4,2        ## @sofalizer_convolute
	.comm	_FREQUENCY_DOMAIN,8,3           ## @FREQUENCY_DOMAIN
	.comm	_sofalizer_fast_convolute,4,2   ## @sofalizer_fast_convolute
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d of %d samples clipped. Please reduce gain.\n"

	.no_dead_strip	_filter_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_frame
_filter_frame:                          ; @filter_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x22, x1
	stur	x1, [x29, #-56]
	ldr	x21, [x0]
	ldp	x8, x23, [x21, #8]
	ldr	x19, [x8]
	str	xzr, [sp, #64]
	ldr	w1, [x1]
	mov	x0, x19
	bl	_ff_get_audio_buffer
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x1, x22
	bl	_av_frame_copy_props
	stp	x20, x22, [sp, #48]
	ldr	w8, [x23, #32]
	str	w8, [sp, #40]
	ldr	d0, [x23, #24]
	str	d0, [sp, #32]
	add	x8, sp, #64
	str	x8, [sp, #8]
	ldur	q0, [x23, #8]
	stur	q0, [sp, #16]
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _TIME_DOMAIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TIME_DOMAIN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _sofalizer_convolute@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sofalizer_convolute@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	sub	x0, x29, #56
	bl	_av_frame_free
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_10
LBB0_4:
Lloh8:
	adrp	x9, _FREQUENCY_DOMAIN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FREQUENCY_DOMAIN@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
Lloh11:
	adrp	x8, _sofalizer_fast_convolute@GOTPAGE
Lloh12:
	ldr	x8, [x8, _sofalizer_fast_convolute@GOTPAGEOFF]
LBB0_6:
	ldr	x9, [x21]
	ldr	x9, [x9]
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x21
	mov	x3, #0
	mov	w4, #2
	blr	x9
LBB0_7:
	bl	_emms_c
	ldp	w8, w9, [sp, #64]
	add	w3, w9, w8
	cmp	w3, #1
	b.lt	LBB0_9
; %bb.8:
Lloh13:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w8, [x20]
	lsl	w4, w8, #1
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_av_log
LBB0_9:
	sub	x0, x29, #56
	bl	_av_frame_free
	mov	x0, x19
	mov	x1, x20
	bl	_ff_filter_frame
LBB0_10:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_TIME_DOMAIN,8,3                ; @TIME_DOMAIN
	.comm	_sofalizer_convolute,4,2        ; @sofalizer_convolute
	.comm	_FREQUENCY_DOMAIN,8,3           ; @FREQUENCY_DOMAIN
	.comm	_sofalizer_fast_convolute,4,2   ; @sofalizer_fast_convolute
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d of %d samples clipped. Please reduce gain.\n"

	.no_dead_strip	_filter_frame
.subsections_via_symbols
