	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_g723_1_gen_dirac_train      ## -- Begin function ff_g723_1_gen_dirac_train
	.p2align	4, 0x90
_ff_g723_1_gen_dirac_train:             ## @ff_g723_1_gen_dirac_train
	.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
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SUBFRAME_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %r12d
	movq	%r12, %rax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	leal	(,%r12,8), %edx
	movq	%rbx, %rdi
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	callq	_memcpy
	movslq	(%r14), %r14
	cmpl	%r15d, %r14d
	jle	LBB0_14
## %bb.1:
	movslq	%r15d, %r8
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r8,8), %rdx
	addq	$48, %rdx
	leaq	(,%r8,8), %r11
	movq	%r14, %r9
	subq	%r8, %r9
	addq	$-4, %r9
	leaq	(%rax,%r8,8), %rsi
	xorl	%r13d, %r13d
	movq	%r8, %r10
	movq	%r11, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	%r8, %r10
	incq	%r13
	addq	%r11, %rdx
	subq	%r8, %r9
	addq	%r11, %rsi
	cmpq	%r14, %r10
	jge	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
	movq	%r14, %rdi
	subq	%r10, %rdi
	jle	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rax
	imulq	%r8, %rax
	addq	%r8, %rax
	movq	%r14, %r15
	subq	%rax, %r15
	cmpq	$4, %r15
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	negq	%rax
	addq	%r14, %rax
	addq	$-4, %rax
	movq	%rax, %r12
	shrq	$2, %r12
	incq	%r12
	cmpq	$4, %rax
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r9, %r11
	shrq	$2, %r11
	incq	%r11
	andq	$-2, %r11
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-48(%rdx,%rax,8), %xmm0
	movdqu	-32(%rdx,%rax,8), %xmm1
	movdqu	-16(%rdx,%rax,8), %xmm2
	movdqu	(%rdx,%rax,8), %xmm3
	paddq	(%rbx,%rax,8), %xmm0
	paddq	16(%rbx,%rax,8), %xmm1
	movdqu	%xmm0, -48(%rdx,%rax,8)
	movdqu	%xmm1, -32(%rdx,%rax,8)
	paddq	32(%rbx,%rax,8), %xmm2
	paddq	48(%rbx,%rax,8), %xmm3
	movdqu	%xmm2, -16(%rdx,%rax,8)
	movdqu	%xmm3, (%rdx,%rax,8)
	addq	$8, %rax
	addq	$-2, %r11
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rcx
	andq	$-4, %rcx
	testb	$1, %r12b
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rax,%r10), %r11
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movdqu	(%r12,%r11,8), %xmm0
	movdqu	16(%r12,%r11,8), %xmm1
	paddq	(%rbx,%rax,8), %xmm0
	paddq	16(%rbx,%rax,8), %xmm1
	movdqu	%xmm0, (%r12,%r11,8)
	movdqu	%xmm1, 16(%r12,%r11,8)
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rcx, %r15
	movq	-64(%rbp), %r11                 ## 8-byte Reload
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx,%rcx,8), %rax
	addq	%rax, (%rsi,%rcx,8)
	incq	%rcx
	cmpq	%rdi, %rcx
	jl	LBB0_12
	jmp	LBB0_13
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SUBFRAME_LEN,4,2               ## @SUBFRAME_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_g723_1_gen_dirac_train      ; -- Begin function ff_g723_1_gen_dirac_train
	.p2align	2
_ff_g723_1_gen_dirac_train:             ; @ff_g723_1_gen_dirac_train
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x22, _SUBFRAME_LEN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _SUBFRAME_LEN@GOTPAGEOFF]
	ldr	w12, [x22]
	lsl	x8, x12, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x19, x9, x8
	mov	sp, x19
	lsl	w2, w12, #3
	mov	x0, x19
	mov	x1, x20
	bl	_memcpy
	ldrsw	x8, [x22]
	cmp	w8, w21
	b.le	LBB0_10
; %bb.1:
	mov	x9, #0
	sxtw	x10, w21
	sub	x11, x8, x10
	sbfiz	x12, x21, #3, #32
	add	x13, x20, x12
	add	x14, x13, #32
	add	x15, x19, #32
	mov	x16, x10
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	sub	x11, x11, x10
	add	x14, x14, x12
	add	x13, x13, x12
	add	x16, x16, x10
	cmp	x16, x8
	b.ge	LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	sub	x17, x8, x16
	cmp	x17, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	madd	x0, x9, x10, x10
	sub	x1, x8, x0
	cmp	x1, #8
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, #0
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	and	x2, x11, #0xfffffffffffffff8
	and	x0, x1, #0xfffffffffffffff8
	mov	x3, x15
	mov	x4, x14
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x3, #-32]
	ldp	q2, q3, [x3], #64
	ldp	q4, q5, [x4, #-32]
	ldp	q6, q7, [x4]
	add.2d	v0, v4, v0
	add.2d	v1, v5, v1
	add.2d	v2, v6, v2
	add.2d	v3, v7, v3
	stp	q0, q1, [x4, #-32]
	stp	q2, q3, [x4], #64
	subs	x2, x2, #8
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x1, x0
	b.eq	LBB0_2
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x1, x0, #3
	ldr	x2, [x19, x1]
	ldr	x3, [x13, x1]
	add	x2, x3, x2
	str	x2, [x13, x1]
	add	x0, x0, #1
	cmp	x0, x17
	b.lt	LBB0_9
	b	LBB0_2
LBB0_10:
	ldur	x8, [x29, #-40]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SUBFRAME_LEN,4,2               ; @SUBFRAME_LEN
.subsections_via_symbols
