	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_aac_ltp_insert_new_frame    ## -- Begin function ff_aac_ltp_insert_new_frame
	.p2align	4, 0x90
_ff_aac_ltp_insert_new_frame:           ## @ff_aac_ltp_insert_new_frame
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	jle	LBB0_5
## %bb.1:
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	$8192, %r13d                    ## imm = 0x2000
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	16(%rdi), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	1(%rcx), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	4(%rax,%rcx,4), %eax
	xorl	%r12d, %r12d
	movq	_TYPE_CPE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%r12b
	incl	%r12d
	movl	%ebx, %ebx
	movl	$2, %r15d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %r14
	movq	(%r14,%r15,8), %rdi
	leaq	4096(%rdi), %rsi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_memcpy
	movq	(%r14,%r15,8), %rdi
	movl	$4096, %eax                     ## imm = 0x1000
	addq	%rax, %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax,%rbx,8), %rsi
	addq	%r13, %rsi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_memcpy
	movq	(%r14,%r15,8), %rdi
	addq	%r13, %rdi
	movq	-8(%r14,%r15,8), %rsi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_memcpy
	movq	$0, -16(%r14,%r15,8)
	incq	%rbx
	addq	$3, %r15
	decq	%r12
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	addl	-64(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	movslq	(%rax), %rcx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %rdx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rcx, %rsi
	jl	LBB0_2
LBB0_5:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CPE,4,2                   ## @TYPE_CPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_aac_ltp_insert_new_frame    ; -- Begin function ff_aac_ltp_insert_new_frame
	.p2align	2
_ff_aac_ltp_insert_new_frame:           ; @ff_aac_ltp_insert_new_frame
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x8, [x0]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x23, #0
	mov	w20, #0
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	mov	x25, #0
	ldr	x26, [x19, #16]
	add	x24, x23, #1
	ldr	w8, [x8, x24, lsl #2]
Lloh0:
	adrp	x9, _TYPE_CPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TYPE_CPE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	mov	w8, #1
	cinc	w21, w8, eq
	mov	w8, w20
	lsl	x28, x8, #3
	mov	x27, x21
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x26, x23, lsl #3]
	add	x22, x8, x25
	ldr	x0, [x22, #16]
	add	x1, x0, #1, lsl #12             ; =4096
	mov	w2, #4096
	bl	_memcpy
	ldr	x8, [x22, #16]
	add	x0, x8, #1, lsl #12             ; =4096
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x28]
	add	x1, x8, #2, lsl #12             ; =8192
	mov	w2, #4096
	bl	_memcpy
	ldp	x1, x8, [x22, #8]
	add	x0, x8, #2, lsl #12             ; =8192
	mov	w2, #4096
	bl	_memcpy
	str	xzr, [x22]
	add	x28, x28, #8
	add	x25, x25, #24
	subs	x27, x27, #1
	b.ne	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w20, w21, w20
	ldr	x8, [x19]
	ldrsw	x9, [x8]
	mov	x23, x24
	cmp	x24, x9
	b.lt	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CPE,4,2                   ; @TYPE_CPE
.subsections_via_symbols
