	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_aac_encode_ltp_info         ## -- Begin function ff_aac_encode_ltp_info
	.p2align	4, 0x90
_ff_aac_encode_ltp_info:                ## @ff_aac_encode_ltp_info
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_FF_PROFILE_AAC_LTP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	%rsi, %r12
	cmpl	$0, 28(%rsi)
	je	LBB0_8
## %bb.2:
	movq	%rdi, %r14
	testl	%edx, %edx
	je	LBB0_4
## %bb.3:
	leaq	8(%r14), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_put_bits
LBB0_4:
	addq	$8, %r14
	movl	16(%r12), %edx
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_put_bits
	cmpl	$0, 16(%r12)
	je	LBB0_8
## %bb.5:
	movl	12(%r12), %edx
	movq	%r14, %rdi
	movl	$11, %esi
	callq	_put_bits
	movl	8(%r12), %edx
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_put_bits
	movl	24(%r12), %edi
	movq	_MAX_LTP_LONG_SFB@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_FFMIN
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_put_bits
	incq	%rbx
	movl	24(%r12), %edi
	movl	(%r15), %esi
	callq	_FFMIN
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_PROFILE_AAC_LTP,8,3         ## @FF_PROFILE_AAC_LTP
	.comm	_MAX_LTP_LONG_SFB,4,2           ## @MAX_LTP_LONG_SFB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_aac_encode_ltp_info         ; -- Begin function ff_aac_encode_ltp_info
	.p2align	2
_ff_aac_encode_ltp_info:                ; @ff_aac_encode_ltp_info
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _FF_PROFILE_AAC_LTP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FF_PROFILE_AAC_LTP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	mov	x19, x1
	ldr	w8, [x1, #28]
	cbz	w8, LBB0_8
; %bb.2:
	mov	x20, x0
	cbz	w2, LBB0_4
; %bb.3:
	add	x0, x20, #8
	mov	w1, #1
	mov	w2, #0
	bl	_put_bits
LBB0_4:
	add	x20, x20, #8
	ldr	w2, [x19, #16]
	mov	x0, x20
	mov	w1, #1
	bl	_put_bits
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_8
; %bb.5:
	ldr	w2, [x19, #12]
	mov	x0, x20
	mov	w1, #11
	bl	_put_bits
	ldr	w2, [x19, #8]
	mov	x0, x20
	mov	w1, #3
	bl	_put_bits
	ldr	w0, [x19, #24]
Lloh3:
	adrp	x21, _MAX_LTP_LONG_SFB@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MAX_LTP_LONG_SFB@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_FFMIN
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x22, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w2, [x8, x22, lsl #2]
	mov	x0, x20
	mov	w1, #1
	bl	_put_bits
	add	x22, x22, #1
	ldr	w0, [x19, #24]
	ldr	w1, [x21]
	bl	_FFMIN
	cmp	x22, w0, sxtw
	b.lt	LBB0_7
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_PROFILE_AAC_LTP,8,3         ; @FF_PROFILE_AAC_LTP
	.comm	_MAX_LTP_LONG_SFB,4,2           ; @MAX_LTP_LONG_SFB
.subsections_via_symbols
