	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_audio_data_combine          ## -- Begin function ff_audio_data_combine
	.p2align	4, 0x90
_ff_audio_data_combine:                 ## @ff_audio_data_combine
	.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	%rdx, %rbx
	movq	(%rdi), %rax
	cmpq	(%rdx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_2
## %bb.5:
	movl	%ecx, %r15d
	movl	%esi, %r13d
	testl	%esi, %esi
	js	LBB0_9
## %bb.6:
	testl	%r15d, %r15d
	js	LBB0_9
## %bb.7:
	movl	16(%r14), %esi
	cmpl	%r13d, %esi
	jl	LBB0_9
## %bb.8:
	movl	16(%rbx), %eax
	subl	%r15d, %eax
	jge	LBB0_10
LBB0_9:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_4
LBB0_2:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
LBB0_3:
	xorl	%eax, %eax
	callq	_av_log
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_10:
	movl	%r8d, %r12d
	cmpl	%r8d, %eax
	cmovll	%eax, %r12d
	xorl	%eax, %eax
	testl	%r12d, %r12d
	jle	LBB0_22
## %bb.11:
	cmpq	$0, 40(%r14)
	je	LBB0_13
## %bb.12:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	jmp	LBB0_3
LBB0_13:
	addl	%r12d, %esi
	movq	%r14, %rdi
	callq	_ff_audio_data_realloc
	testl	%eax, %eax
	js	LBB0_14
## %bb.15:
	movl	16(%r14), %eax
	cmpl	$0, 20(%rbx)
	jle	LBB0_21
## %bb.16:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	leal	(%r12,%r13), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	subl	%r13d, %eax
	xorl	%r12d, %r12d
	movslq	%r13d, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_17
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	32(%r14), %rax
	movslq	24(%r14), %rdi
	imulq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	addq	(%rax,%r12,8), %rdi
	movq	32(%rbx), %rax
	movl	24(%rbx), %edx
	movl	%edx, %ecx
	imull	%r15d, %ecx
	movslq	%ecx, %rsi
	addq	(%rax,%r12,8), %rsi
	imull	-56(%rbp), %edx                 ## 4-byte Folded Reload
	callq	_memcpy
	incq	%r12
	movslq	20(%rbx), %rax
	cmpq	%rax, %r12
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jge	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	jle	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	32(%r14), %rax
	movq	(%rax,%r12,8), %rax
	movl	24(%r14), %edx
	movl	%edx, %ecx
	imull	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	movslq	%ecx, %rdi
	addq	%rax, %rdi
	movl	%edx, %ecx
	imull	%r13d, %ecx
	movslq	%ecx, %rsi
	addq	%rax, %rsi
	imull	-44(%rbp), %edx                 ## 4-byte Folded Reload
	callq	_memmove
	jmp	LBB0_19
LBB0_14:
	movl	%eax, %ebx
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movl	%ebx, %eax
	jmp	LBB0_22
LBB0_20:
	movl	16(%r14), %eax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_21:
	addl	%r12d, %eax
	movl	%eax, 16(%r14)
	xorl	%eax, %eax
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sample format mismatch\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"offset out-of-bounds: src=%d dst=%d\n"

L_.str.2:                               ## @.str.2
	.asciz	"dst is read-only\n"

L_.str.3:                               ## @.str.3
	.asciz	"error reallocating dst\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_audio_data_combine          ; -- Begin function ff_audio_data_combine
	.p2align	2
_ff_audio_data_combine:                 ; @ff_audio_data_combine
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	ldr	x8, [x0]
	ldr	x9, [x2]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.2:
	mov	x21, x3
	mov	x22, x1
	tbnz	w1, #31, LBB0_6
; %bb.3:
	tbnz	w21, #31, LBB0_6
; %bb.4:
	ldr	w8, [x19, #16]
	cmp	w8, w22
	b.lt	LBB0_6
; %bb.5:
	ldr	w9, [x20, #16]
	subs	w9, w9, w21
	b.ge	LBB0_10
LBB0_6:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	stp	x21, x22, [sp]
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
LBB0_8:
	mov	x0, x20
LBB0_9:
	bl	_av_log
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_AVERROR
LBB0_10:
	cmp	w9, w4
	csel	w24, w9, w4, lt
	cmp	w24, #1
	b.lt	LBB0_13
; %bb.11:
	ldr	x9, [x19, #40]
	cbz	x9, LBB0_14
; %bb.12:
Lloh13:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	b	LBB0_9
LBB0_13:
	mov	w23, #0
	b	LBB0_23
LBB0_14:
	add	w1, w24, w8
	mov	x0, x19
	bl	_ff_audio_data_realloc
	tbnz	w0, #31, LBB0_20
; %bb.15:
	ldr	w8, [x19, #16]
	ldr	w9, [x20, #20]
	cmp	w9, #1
	b.lt	LBB0_22
; %bb.16:
	mov	x23, #0
	add	w25, w24, w22
	sub	w26, w8, w22
	mov	x8, x22
	sxtw	x27, w8
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x19, #32]
	lsl	x9, x23, #3
	ldr	x8, [x8, x9]
	ldrsw	x10, [x19, #24]
	madd	x0, x10, x27, x8
	ldr	x8, [x20, #32]
	ldr	x8, [x8, x9]
	ldr	w9, [x20, #24]
	mul	w10, w9, w21
	add	x1, x8, w10, sxtw
	mul	w2, w9, w24
	bl	_memcpy
	add	x23, x23, #1
	ldrsw	x8, [x20, #20]
	cmp	x23, x8
	b.ge	LBB0_21
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	cmp	w26, #1
	b.lt	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x19, #32]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w9, [x19, #24]
	mul	w10, w9, w25
	add	x0, x8, w10, sxtw
	mul	w10, w9, w22
	add	x1, x8, w10, sxtw
	mul	w2, w9, w26
	bl	_memmove
	b	LBB0_17
LBB0_20:
	mov	x23, x0
Lloh18:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x2, l_.str.3@PAGE
Lloh22:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_av_log
	b	LBB0_23
LBB0_21:
	ldr	w8, [x19, #16]
LBB0_22:
	mov	w23, #0
	add	w8, w8, w24
	str	w8, [x19, #16]
LBB0_23:
	mov	x0, x23
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sample format mismatch\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"offset out-of-bounds: src=%d dst=%d\n"

l_.str.2:                               ; @.str.2
	.asciz	"dst is read-only\n"

l_.str.3:                               ; @.str.3
	.asciz	"error reallocating dst\n"

.subsections_via_symbols
