	.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	$56, %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, -48(%rbp)
	movq	8(%rdi), %r13
	movq	8(%r13), %rax
	movq	16(%r13), %r14
	movq	(%rax), %r15
	movq	%rsi, %rdi
	callq	_av_frame_is_writable
	movq	%rbx, %r12
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_ff_get_audio_buffer
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_av_frame_copy_props
LBB0_4:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_filter_channel@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r15), %ebx
	movq	%r13, %rdi
	callq	_ff_filter_get_nb_threads
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_FFMIN
	leaq	-88(%rbp), %rdx
	movq	%r13, %rdi
	movl	%r12d, %esi
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	movq	(%r14), %rcx
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	$0, (%rcx,%rbx,8)
	incq	%rbx
	movslq	%eax, %rdx
	cmpq	%rdx, %rbx
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rbx,8), %r8
	testq	%r8, %r8
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_av_log
	movq	(%r14), %rcx
	movl	(%r15), %eax
	jmp	LBB0_8
LBB0_9:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	cmpq	-72(%rbp), %rbx                 ## 8-byte Folded Reload
	je	LBB0_11
## %bb.10:
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
LBB0_11:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ff_filter_frame
LBB0_12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_filter_channel,4,2             ## @filter_channel
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Channel %d clipping %d times. 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, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x1
	str	x1, [sp, #24]
	ldr	x21, [x0, #8]
	ldp	x8, x25, [x21, #8]
	ldr	x19, [x8]
	mov	x0, x1
	bl	_av_frame_is_writable
	mov	x22, x20
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ff_get_audio_buffer
	cbz	x0, LBB0_12
; %bb.2:
	mov	x22, x0
	mov	x1, x20
	bl	_av_frame_copy_props
LBB0_3:
	stp	x22, x20, [sp, #8]
	ldr	x8, [x21]
	ldr	x26, [x8]
Lloh0:
	adrp	x8, _filter_channel@GOTPAGE
Lloh1:
	ldr	x8, [x8, _filter_channel@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	ldr	w24, [x19]
	mov	x0, x21
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x24
	bl	_FFMIN
	mov	x4, x0
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x23
	mov	x3, #0
	blr	x26
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x23, #0
	ldr	x9, [x25]
Lloh3:
	adrp	x26, _AV_LOG_WARNING@GOTPAGE
Lloh4:
	ldr	x26, [x26, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh5:
	adrp	x24, l_.str@PAGE
Lloh6:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x9, x23, lsl #3]
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x4, [x9, x23, lsl #3]
	cmp	x4, #1
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x26]
	mov	x0, x21
	mov	x2, x24
	mov	x3, x23
	bl	_av_log
	ldr	x9, [x25]
	ldr	w8, [x19]
	b	LBB0_5
LBB0_8:
	cmp	x22, x20
	b.eq	LBB0_10
; %bb.9:
	add	x0, sp, #24
	bl	_av_frame_free
LBB0_10:
	mov	x0, x19
	mov	x1, x22
	bl	_ff_filter_frame
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	add	x0, sp, #24
	bl	_av_frame_free
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_filter_channel,4,2             ; @filter_channel
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Channel %d clipping %d times. Please reduce gain.\n"

	.no_dead_strip	_filter_frame
.subsections_via_symbols
