	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_audio_data_add_to_fifo      ## -- Begin function ff_audio_data_add_to_fifo
	.p2align	4, 0x90
_ff_audio_data_add_to_fifo:             ## @ff_audio_data_add_to_fifo
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_AVRESAMPLE_MAX_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rsi
	xorl	%eax, %eax
	cmpl	%r12d, (%rbx)
	jle	LBB0_19
## %bb.1:
	movl	8(%rbx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_18
## %bb.2:
	movslq	4(%rbx), %rax
	movslq	%r12d, %r10
	imulq	%rax, %r10
	movq	16(%rbx), %rdx
	xorl	%edi, %edi
	cmpl	$4, %r8d
	jb	LBB0_12
## %bb.3:
	movq	%rsi, %rax
	subq	%rdx, %rax
	cmpq	$32, %rax
	jb	LBB0_12
## %bb.4:
	movl	%r8d, %edi
	andl	$-4, %edi
	leaq	-4(%rdi), %rax
	movq	%rax, %rbx
	shrq	$2, %rbx
	incq	%rbx
	movl	%ebx, %r9d
	andl	$3, %r9d
	movq	%r10, %xmm0
	cmpq	$12, %rax
	jae	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:
	andq	$-4, %rbx
	xorl	%eax, %eax
	pshufd	$68, %xmm0, %xmm1               ## xmm1 = xmm0[0,1,0,1]
	psllq	$2, %xmm1
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdx,%rax,8), %xmm2
	movdqu	16(%rdx,%rax,8), %xmm3
	paddq	%xmm1, %xmm2
	paddq	%xmm1, %xmm3
	movdqa	%xmm2, (%rsi,%rax,8)
	movdqa	%xmm3, 16(%rsi,%rax,8)
	movdqu	32(%rdx,%rax,8), %xmm2
	movdqu	48(%rdx,%rax,8), %xmm3
	paddq	%xmm1, %xmm2
	paddq	%xmm1, %xmm3
	movdqa	%xmm2, 32(%rsi,%rax,8)
	movdqa	%xmm3, 48(%rsi,%rax,8)
	movdqu	64(%rdx,%rax,8), %xmm2
	movdqu	80(%rdx,%rax,8), %xmm3
	paddq	%xmm1, %xmm2
	paddq	%xmm1, %xmm3
	movdqa	%xmm2, 64(%rsi,%rax,8)
	movdqa	%xmm3, 80(%rsi,%rax,8)
	movdqu	96(%rdx,%rax,8), %xmm2
	movdqu	112(%rdx,%rax,8), %xmm3
	paddq	%xmm1, %xmm2
	paddq	%xmm1, %xmm3
	movdqa	%xmm2, 96(%rsi,%rax,8)
	movdqa	%xmm3, 112(%rsi,%rax,8)
	addq	$16, %rax
	addq	$-4, %rbx
	jne	LBB0_7
LBB0_8:
	testq	%r9, %r9
	je	LBB0_11
## %bb.9:
	leaq	(%rsi,%rax,8), %rbx
	addq	$16, %rbx
	leaq	(%rdx,%rax,8), %rax
	addq	$16, %rax
	shlq	$5, %r9
	xorl	%ecx, %ecx
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	psllq	$2, %xmm0
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rax,%rcx), %xmm1
	movdqu	(%rax,%rcx), %xmm2
	paddq	%xmm0, %xmm1
	paddq	%xmm0, %xmm2
	movdqa	%xmm1, -16(%rbx,%rcx)
	movdqa	%xmm2, (%rbx,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_10
LBB0_11:
	cmpq	%r8, %rdi
	je	LBB0_18
LBB0_12:
	movq	%rdi, %r9
	notq	%r9
	addq	%r8, %r9
	movq	%r8, %rbx
	andq	$3, %rbx
	je	LBB0_15
## %bb.13:
	leaq	(,%r10,4), %rcx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi,8), %rax
	addq	%rcx, %rax
	movq	%rax, (%rsi,%rdi,8)
	incq	%rdi
	decq	%rbx
	jne	LBB0_14
LBB0_15:
	cmpq	$3, %r9
	jb	LBB0_18
## %bb.16:
	shlq	$2, %r10
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi,8), %rax
	addq	%r10, %rax
	movq	%rax, (%rsi,%rdi,8)
	movq	8(%rdx,%rdi,8), %rax
	addq	%r10, %rax
	movq	%rax, 8(%rsi,%rdi,8)
	movq	16(%rdx,%rdi,8), %rax
	addq	%r10, %rax
	movq	%rax, 16(%rsi,%rdi,8)
	movq	24(%rdx,%rdi,8), %rax
	addq	%r10, %rax
	movq	%rax, 24(%rsi,%rdi,8)
	addq	$4, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_17
LBB0_18:
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_av_audio_fifo_write
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_21
## %bb.20:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AVRESAMPLE_MAX_CHANNELS,4,2    ## @AVRESAMPLE_MAX_CHANNELS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_audio_data_add_to_fifo      ; -- Begin function ff_audio_data_add_to_fifo
	.p2align	2
_ff_audio_data_add_to_fifo:             ; @ff_audio_data_add_to_fifo
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	sp, sp, #16
	mov	x8, x1
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-8]
Lloh3:
	adrp	x9, _AVRESAMPLE_MAX_CHANNELS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AVRESAMPLE_MAX_CHANNELS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	x12, x9, #3
	mov	x9, x12
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x12, #15
	and	x10, x10, #0xffffffff0
	sub	x1, x9, x10
	mov	sp, x1
	ldr	w9, [x8]
	cmp	w9, w2
	b.le	LBB0_10
; %bb.1:
	ldr	w9, [x8, #8]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x10, #0
	ldr	w11, [x8, #4]
	mul	w12, w11, w2
	ldr	x11, [x8, #16]
	sxtw	x8, w12
	cmp	w9, #8
	b.lo	LBB0_7
; %bb.3:
	sub	x12, x1, x11
	cmp	x12, #64
	b.lo	LBB0_7
; %bb.4:
	and	x10, x9, #0xfffffff8
	add	x12, x1, #32
	add	x13, x11, #32
	dup.2d	v0, x8
	shl.2d	v0, v0, #2
	mov	x14, x10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x13, #-32]
	ldp	q3, q4, [x13], #64
	add.2d	v1, v1, v0
	add.2d	v2, v2, v0
	add.2d	v3, v3, v0
	add.2d	v4, v4, v0
	stp	q1, q2, [x12, #-32]
	stp	q3, q4, [x12], #64
	subs	x14, x14, #8
	b.ne	LBB0_5
; %bb.6:
	cmp	x10, x9
	b.eq	LBB0_9
LBB0_7:
	lsl	x13, x10, #3
	add	x12, x1, x13
	add	x11, x11, x13
	sub	x9, x9, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x11], #8
	add	x10, x10, x8, lsl #2
	str	x10, [x12], #8
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
	mov	x2, x3
	bl	_av_audio_fifo_write
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldur	x8, [x29, #-8]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	sp, x29
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AVRESAMPLE_MAX_CHANNELS,4,2    ; @AVRESAMPLE_MAX_CHANNELS
.subsections_via_symbols
