	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libcodec2_decode
_libcodec2_decode:                      ## @libcodec2_decode
	.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, %r14
	movq	%rdi, %r13
	movq	8(%rdi), %r12
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %eax
	cltd
	idivl	(%rdi)
	movl	%eax, %ebx
	movq	%rsi, %r15
	movl	4(%rdi), %eax
	imull	%ebx, %eax
	movl	%eax, (%rsi)
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.2:
	movq	8(%r15), %rax
	movq	(%rax), %r14
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_codec2_decode
	movslq	(%r13), %rax
	leaq	(%rbx,%rax,4), %rbx
	movslq	4(%r13), %rax
	leaq	(%r14,%rax,4), %r14
	decl	%r15d
	jne	LBB0_3
LBB0_4:
	xorl	%eax, %eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	setg	%al
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	(%r13), %eax
	imull	%edx, %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_libcodec2_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libcodec2_decode
_libcodec2_decode:                      ; @libcodec2_decode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x24, [x0, #8]
	ldr	w8, [x3]
	ldp	w9, w10, [x0]
	sdiv	w23, w8, w9
	mul	w8, w10, w23
	str	w8, [x1]
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_5
; %bb.1:
	cmp	w23, #1
	b.lt	LBB0_4
; %bb.2:
	ldr	x8, [x21, #8]
	ldr	x21, [x8]
	ldr	x22, [x22, #8]
	mov	x25, x23
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	mov	x1, x21
	mov	x2, x22
	bl	_codec2_decode
	ldpsw	x8, x9, [x20]
	add	x22, x22, x8, lsl #2
	add	x21, x21, x9, lsl #2
	subs	w25, w25, #1
	b.ne	LBB0_3
LBB0_4:
	cmp	w23, #0
	cset	w8, gt
	str	w8, [x19]
	ldr	w8, [x20]
	mul	w0, w8, w23
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_libcodec2_decode
.subsections_via_symbols
