	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_g723_1_scale_vector         ## -- Begin function ff_g723_1_scale_vector
	.p2align	4, 0x90
_ff_g723_1_scale_vector:                ## @ff_g723_1_scale_vector
	.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
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	%edx, %r13d
	testl	%edx, %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	jle	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%r15,4), %edi
	callq	_FFABS
	orl	%eax, %ebx
	incq	%r15
	cmpq	%r15, %r13
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
LBB0_4:
	movl	%ebx, %edi
	callq	_av_log2_16bit
	movl	$14, %edi
	subl	%eax, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	movl	%eax, %ecx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	jle	LBB0_18
## %bb.5:
	xorl	%eax, %eax
	cmpl	$8, %edx
	jb	LBB0_14
## %bb.6:
	movq	%r14, %rdx
	subq	%r12, %rdx
	cmpq	$32, %rdx
	jb	LBB0_14
## %bb.7:
	movl	%r13d, %eax
	andl	$-8, %eax
	movd	%ecx, %xmm0
	leaq	-8(%rax), %rdx
	movq	%rdx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	pmovzxdq	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,xmm0[1],zero
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.9:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%r12,%rdx,4), %xmm1
	movdqu	16(%r12,%rdx,4), %xmm2
	pslld	%xmm0, %xmm1
	pslld	%xmm0, %xmm2
	psrad	$3, %xmm1
	psrad	$3, %xmm2
	movdqu	%xmm1, (%r14,%rdx,4)
	movdqu	%xmm2, 16(%r14,%rdx,4)
	movdqu	32(%r12,%rdx,4), %xmm1
	movdqu	48(%r12,%rdx,4), %xmm2
	pslld	%xmm0, %xmm1
	pslld	%xmm0, %xmm2
	psrad	$3, %xmm1
	psrad	$3, %xmm2
	movdqu	%xmm1, 32(%r14,%rdx,4)
	movdqu	%xmm2, 48(%r14,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rdi
	jne	LBB0_10
## %bb.11:
	testb	$1, %sil
	je	LBB0_13
LBB0_12:
	movdqu	(%r12,%rdx,4), %xmm1
	movdqu	16(%r12,%rdx,4), %xmm2
	pslld	%xmm0, %xmm1
	pslld	%xmm0, %xmm2
	psrad	$3, %xmm1
	psrad	$3, %xmm2
	movdqu	%xmm1, (%r14,%rdx,4)
	movdqu	%xmm2, 16(%r14,%rdx,4)
LBB0_13:
	cmpq	%r13, %rax
	je	LBB0_18
LBB0_14:
	movq	%rax, %rdx
	notq	%rdx
	addq	%r13, %rdx
	movq	%r13, %rsi
	andq	$3, %rsi
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rax,4), %edi
	shll	%cl, %edi
	sarl	$3, %edi
	movl	%edi, (%r14,%rax,4)
	incq	%rax
	decq	%rsi
	jne	LBB0_15
LBB0_16:
	cmpq	$3, %rdx
	jb	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rax,4), %edx
	shll	%cl, %edx
	sarl	$3, %edx
	movl	%edx, (%r14,%rax,4)
	movl	4(%r12,%rax,4), %edx
	shll	%cl, %edx
	sarl	$3, %edx
	movl	%edx, 4(%r14,%rax,4)
	movl	8(%r12,%rax,4), %edx
	shll	%cl, %edx
	sarl	$3, %edx
	movl	%edx, 8(%r14,%rax,4)
	movl	12(%r12,%rax,4), %edx
	shll	%cl, %edx
	sarl	$3, %edx
	movl	%edx, 12(%r14,%rax,4)
	addq	$4, %rax
	cmpq	%rax, %r13
	jne	LBB0_17
LBB0_18:
	addl	$-3, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%edx, %edx
	testb	$1, %sil
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_g723_1_scale_vector         ; -- Begin function ff_g723_1_scale_vector
	.p2align	2
_ff_g723_1_scale_vector:                ; @ff_g723_1_scale_vector
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	w23, w2
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w22, #0
	mov	x24, x23
	mov	x25, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25], #4
	bl	_FFABS
	orr	w22, w0, w22
	subs	x24, x24, #1
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
	mov	x0, x22
	bl	_av_log2_16bit
	mov	w8, #14
	sub	w0, w8, w0
	mov	w1, #0
	bl	_FFMAX
	cmp	w21, #1
	b.lt	LBB0_12
; %bb.5:
	mov	x8, #0
	cmp	w21, #16
	b.lo	LBB0_10
; %bb.6:
	sub	x9, x20, x19
	cmp	x9, #64
	b.lo	LBB0_10
; %bb.7:
	and	x8, x23, #0xfffffff0
	dup.4s	v0, w0
	add	x9, x20, #32
	add	x10, x19, #32
	mov	x11, x8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x10, #-32]
	ldp	q3, q4, [x10], #64
	ushl.4s	v1, v1, v0
	ushl.4s	v2, v2, v0
	ushl.4s	v3, v3, v0
	ushl.4s	v4, v4, v0
	sshr.4s	v1, v1, #3
	sshr.4s	v2, v2, #3
	sshr.4s	v3, v3, #3
	sshr.4s	v4, v4, #3
	stp	q1, q2, [x9, #-32]
	stp	q3, q4, [x9], #64
	subs	x11, x11, #16
	b.ne	LBB0_8
; %bb.9:
	cmp	x8, x23
	b.eq	LBB0_12
LBB0_10:
	lsl	x10, x8, #2
	add	x9, x20, x10
	add	x10, x19, x10
	sub	x8, x23, x8
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #4
	lsl	w11, w11, w0
	asr	w11, w11, #3
	str	w11, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_11
LBB0_12:
	sub	w0, w0, #3
	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
.subsections_via_symbols
