	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_audio_data_copy             ## -- Begin function ff_audio_data_copy
	.p2align	4, 0x90
_ff_audio_data_copy:                    ## @ff_audio_data_copy
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	32(%rdi), %eax
	cmpl	32(%rsi), %eax
	jne	LBB0_5
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rdi), %rax
	cmpq	(%rsi), %rax
	jge	LBB0_2
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_2:
	movq	%rdx, %r15
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.3:
	cmpl	$0, 36(%r12)
	je	LBB0_4
LBB0_6:
	movl	8(%r12), %esi
	testl	%esi, %esi
	je	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	callq	_ff_audio_data_realloc
	testl	%eax, %eax
	js	LBB0_28
## %bb.9:
	testq	%r15, %r15
	je	LBB0_10
## %bb.13:
	cmpq	$0, 40(%r15)
	je	LBB0_17
## %bb.14:
	cmpl	$0, 12(%r12)
	jle	LBB0_17
## %bb.15:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	24(%r14), %rcx
	movl	(%rcx,%rbx,4), %edi
	movq	24(%r12), %rcx
	movl	(%rcx,%rax,4), %esi
	movl	16(%r12), %edx
	imull	8(%r12), %edx
	callq	_memcpy
	incq	%rbx
	movslq	12(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_16
LBB0_17:
	cmpq	$0, 32(%r15)
	jne	LBB0_19
## %bb.18:
	cmpq	$0, 24(%r15)
	je	LBB0_26
LBB0_19:
	cmpl	$0, 12(%r12)
	jle	LBB0_26
## %bb.20:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	24(%r14), %rcx
	movl	(%rcx,%rbx), %edi
	movl	(%rcx,%rax,4), %esi
	movl	16(%r12), %edx
	imull	8(%r12), %edx
	callq	_memcpy
LBB0_25:                                ##   in Loop: Header=BB0_21 Depth=1
	incq	%r13
	movslq	12(%r12), %rax
	addq	$4, %rbx
	cmpq	%rax, %r13
	jge	LBB0_26
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movslq	(%rax,%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	16(%r15), %rax
	cmpq	$0, (%rax,%rbx,2)
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	24(%r14), %rdi
	addq	%rbx, %rdi
	movl	8(%r12), %edx
	movl	32(%r14), %r8d
	xorl	%esi, %esi
	movl	$1, %ecx
	callq	_av_samples_set_silence
	jmp	LBB0_25
LBB0_7:
	movl	$0, 8(%r14)
	jmp	LBB0_27
LBB0_4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	callq	_av_log
	jmp	LBB0_5
LBB0_10:
	cmpl	$0, 12(%r12)
	jle	LBB0_26
## %bb.11:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movq	24(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movl	16(%r12), %edx
	imull	8(%r12), %edx
	callq	_memcpy
	incq	%rbx
	movslq	12(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_12
LBB0_26:
	movl	8(%r12), %eax
	movl	%eax, 8(%r14)
LBB0_27:
	xorl	%eax, %eax
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot remap packed format during copy\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_audio_data_copy             ; -- Begin function ff_audio_data_copy
	.p2align	2
_ff_audio_data_copy:                    ; @ff_audio_data_copy
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x0, #32]
	ldr	w9, [x1, #32]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x9, [x1]
	cmp	x8, x9
	b.ge	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_3:
	mov	x21, x2
	cbz	x2, LBB0_5
; %bb.4:
	ldr	w8, [x19, #36]
	cbz	w8, LBB0_22
LBB0_5:
	ldr	w1, [x19, #8]
	cbz	w1, LBB0_21
; %bb.6:
	mov	x0, x20
	bl	_ff_audio_data_realloc
	tbnz	w0, #31, LBB0_27
; %bb.7:
	cbz	x21, LBB0_23
; %bb.8:
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_12
; %bb.9:
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x22, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, x22, lsl #3]
	ldr	x9, [x20, #24]
	ldr	w0, [x9, x22, lsl #2]
	ldr	x9, [x19, #24]
	ldr	w1, [x9, x8, lsl #2]
	ldr	w8, [x19, #8]
	ldr	w9, [x19, #16]
	mul	w2, w9, w8
	bl	_memcpy
	add	x22, x22, #1
	ldrsw	x8, [x19, #12]
	cmp	x22, x8
	b.lt	LBB0_11
LBB0_12:
	ldr	x8, [x21, #32]
	cbnz	x8, LBB0_14
; %bb.13:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_26
LBB0_14:
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.15:
	mov	x22, #0
	mov	x23, #0
	mov	x24, #0
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x9, [x20, #24]
	ldr	w0, [x9, x23]
	ldr	w1, [x9, x8, lsl #2]
	ldr	w8, [x19, #8]
	ldr	w9, [x19, #16]
	mul	w2, w9, w8
	bl	_memcpy
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x19, #12]
	add	x23, x23, #4
	add	x22, x22, #8
	cmp	x24, x8
	b.ge	LBB0_26
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldrsw	x8, [x8, x23]
	cbnz	w8, LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x22]
	cbz	x8, LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x20, #24]
	add	x0, x8, x23
	ldr	w2, [x19, #8]
	ldr	w4, [x20, #32]
	mov	w1, #0
	mov	w3, #1
	bl	_av_samples_set_silence
	b	LBB0_17
LBB0_21:
	mov	w0, #0
	str	wzr, [x20, #8]
	b	LBB0_27
LBB0_22:
Lloh3:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
	b	LBB0_2
LBB0_23:
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.24:
	mov	x21, #0
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	lsl	x9, x21, #2
	ldr	w0, [x8, x9]
	ldr	x8, [x19, #24]
	ldr	w1, [x8, x9]
	ldr	w8, [x19, #8]
	ldr	w9, [x19, #16]
	mul	w2, w9, w8
	bl	_memcpy
	add	x21, x21, #1
	ldrsw	x8, [x19, #12]
	cmp	x21, x8
	b.lt	LBB0_25
LBB0_26:
	mov	w0, #0
	ldr	w8, [x19, #8]
	str	w8, [x20, #8]
LBB0_27:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot remap packed format during copy\n"

.subsections_via_symbols
