	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_aac_adjust_common_ltp       ## -- Begin function ff_aac_adjust_common_ltp
	.p2align	4, 0x90
_ff_aac_adjust_common_ltp:              ## @ff_aac_adjust_common_ltp
	.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	8(%rsi), %r12
	cmpl	$0, (%rsi)
	je	LBB0_5
## %bb.1:
	movq	(%r12), %rcx
	movq	_EIGHT_SHORT_SEQUENCE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rcx)
	je	LBB0_5
## %bb.2:
	movq	40(%r12), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_3
LBB0_5:
	movl	$0, 16(%r12)
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	32(%r12), %edi
	movq	_MAX_LTP_LONG_SFB@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_FFMIN
	testl	%eax, %eax
	jle	LBB0_4
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%r15d
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movl	32(%r12), %edi
	movl	(%r14), %esi
	callq	_FFMIN
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	movq	64(%r12), %rcx
	movl	(%rcx,%rbx,4), %ecx
	addl	(%rax,%rbx,4), %ecx
	cmpl	$2, %ecx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	$0, (%rax,%rbx,4)
	jmp	LBB0_10
LBB0_4:
	xorl	%r15d, %r15d
LBB0_11:
	xorl	%eax, %eax
	testl	%r15d, %r15d
	setne	%al
	movl	%eax, 16(%r12)
	movl	%eax, 8(%r12)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_EIGHT_SHORT_SEQUENCE,8,3       ## @EIGHT_SHORT_SEQUENCE
	.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_adjust_common_ltp       ; -- Begin function ff_aac_adjust_common_ltp
	.p2align	2
_ff_aac_adjust_common_ltp:              ; @ff_aac_adjust_common_ltp
	.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	x19, [x1, #8]
	ldr	w8, [x1]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x8]
Lloh0:
	adrp	x8, _EIGHT_SHORT_SEQUENCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIGHT_SHORT_SEQUENCE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_3
; %bb.2:
	ldr	x9, [x19, #40]
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
LBB0_3:
	str	wzr, [x19, #16]
LBB0_4:
	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_5:
	ldr	w0, [x19, #32]
Lloh3:
	adrp	x20, _MAX_LTP_LONG_SFB@GOTPAGE
Lloh4:
	ldr	x20, [x20, _MAX_LTP_LONG_SFB@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_FFMIN
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.6:
	mov	x22, #0
	mov	w21, #0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w21, w21, #1
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	ldr	w0, [x19, #32]
	ldr	w1, [x20]
	bl	_FFMIN
	cmp	x22, w0, sxtw
	b.ge	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	lsl	x9, x22, #2
	ldr	w10, [x8, x9]
	ldr	x11, [x19, #64]
	ldr	w9, [x11, x9]
	add	w9, w9, w10
	cmp	w9, #2
	b.eq	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	str	wzr, [x8, x22, lsl #2]
	b	LBB0_8
LBB0_11:
	mov	w21, #0
LBB0_12:
	cmp	w21, #0
	cset	w8, ne
	str	w8, [x19, #16]
	str	w8, [x19, #8]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EIGHT_SHORT_SEQUENCE,8,3       ; @EIGHT_SHORT_SEQUENCE
	.comm	_MAX_LTP_LONG_SFB,4,2           ; @MAX_LTP_LONG_SFB
.subsections_via_symbols
