	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_ics
_decode_ics:                            ## @decode_ics
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movl	%ecx, %ebx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	leaq	40(%rsi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	24(%rsi), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	16(%rsi), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	8(%rax), %rcx
	movq	_AOT_ER_AAC_ELD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rcx
	sete	-44(%rbp)                       ## 1-byte Folded Spill
	movq	_AOT_ER_AAC_LC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	movq	_AOT_ER_AAC_LTP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	sete	-43(%rbp)                       ## 1-byte Folded Spill
	movq	_AOT_ER_AAC_LD@GOTPCREL(%rip), %rax
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	cmpq	(%rax), %rcx
	sete	-42(%rbp)                       ## 1-byte Folded Spill
	movq	$0, -104(%rbp)
	movq	%rdx, %rdi
	movl	$8, %esi
	callq	_get_bits
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	orl	%ebx, %r13d
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_decode_ics_info
	testl	%eax, %eax
	js	LBB0_9
LBB0_2:
	movl	(%r15), %esi
	movl	8(%r15), %edx
	movq	%r12, %rdi
	movq	%r14, %rcx
	movq	%rbx, %r8
	callq	_decode_band_types
	testl	%eax, %eax
	js	LBB0_9
## %bb.3:
	movl	(%r15), %r9d
	movl	4(%r15), %esi
	movl	8(%r15), %eax
	subq	$8, %rsp
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r14, %rdx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	%rbx, %r8
	pushq	%rax
	callq	_decode_scalefactors
	addq	$16, %rsp
	testl	%eax, %eax
	js	LBB0_9
## %bb.4:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r8d, %r8d
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_12
LBB0_5:
	movl	(%r15), %eax
	movl	4(%r15), %ecx
	leaq	-104(%rbp), %r9
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	pushq	%rax
	pushq	%rbx
	callq	_decode_spectrum_and_dequant
	addq	$16, %rsp
	testl	%eax, %eax
	js	LBB0_30
## %bb.6:
	xorl	%r13d, %r13d
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_11
## %bb.7:
	movq	8(%r14), %rax
	movq	_AOT_AAC_MAIN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, 8(%rax)
	jne	LBB0_11
## %bb.8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_apply_prediction
	jmp	LBB0_11
LBB0_9:
	movl	%eax, %r13d
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_10:
	movq	$0, (%r12)
LBB0_11:
	movl	%r13d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -96(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_20
## %bb.13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits1
	movq	%rax, %r13
	testl	%r13d, %r13d
	je	LBB0_20
## %bb.14:
	movq	%rbx, %rax
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_EIGHT_SHORT_SEQUENCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.15:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_19
LBB0_17:
	movl	32(%r15), %ecx
	movl	36(%r15), %edx
	leaq	-104(%rbp), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_decode_pulses
	movl	%r13d, %ecx
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_19:
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_10
LBB0_20:
	movb	-41(%rbp), %r13b                ## 1-byte Reload
	orb	-43(%rbp), %r13b                ## 1-byte Folded Reload
	orb	-42(%rbp), %r13b                ## 1-byte Folded Reload
	orb	-44(%rbp), %r13b                ## 1-byte Folded Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_get_bits1
	movq	%rax, (%r12)
	testq	%rax, %rax
	sete	%al
	movb	%r13b, -41(%rbp)                ## 1-byte Spill
	orb	%r13b, %al
	jne	LBB0_22
## %bb.21:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_decode_tns
	testl	%eax, %eax
	js	LBB0_30
LBB0_22:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -96(%rbp)                 ## 8-byte Folded Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_26
## %bb.23:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_26
## %bb.24:
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_decode_gain_control
	cmpl	$0, (%r14)
	jne	LBB0_26
## %bb.25:
	movl	16(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_avpriv_report_missing_feature
	movl	$1, (%r14)
LBB0_26:
	cmpq	$0, (%r12)
	setne	%al
	andb	-41(%rbp), %al                  ## 1-byte Folded Reload
	cmpb	$1, %al
	jne	LBB0_29
## %bb.27:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_decode_tns
	testl	%eax, %eax
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	jns	LBB0_5
LBB0_30:
	movl	%eax, %r13d
	jmp	LBB0_10
LBB0_29:
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_AOT_ER_AAC_ELD,8,3             ## @AOT_ER_AAC_ELD
	.comm	_AOT_ER_AAC_LC,8,3              ## @AOT_ER_AAC_LC
	.comm	_AOT_ER_AAC_LTP,8,3             ## @AOT_ER_AAC_LTP
	.comm	_AOT_ER_AAC_LD,8,3              ## @AOT_ER_AAC_LD
	.comm	_EIGHT_SHORT_SEQUENCE,8,3       ## @EIGHT_SHORT_SEQUENCE
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Pulse tool not allowed in eight short sequence.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"Pulse data corrupt or invalid.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Gain control"

	.comm	_AOT_AAC_MAIN,8,3               ## @AOT_AAC_MAIN
	.no_dead_strip	_decode_ics
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_ics
_decode_ics:                            ; @decode_ics
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x26, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x20, x0
	add	x19, x1, #40
	add	x24, x1, #24
	ldr	x8, [x1, #16]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x8, [x0, #8]
	ldr	x25, [x8, #8]
Lloh0:
	adrp	x8, _AOT_ER_AAC_ELD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AOT_ER_AAC_ELD@GOTPAGEOFF]
Lloh2:
	adrp	x9, _AOT_ER_AAC_LC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AOT_ER_AAC_LC@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x25, x9
Lloh5:
	adrp	x9, _AOT_ER_AAC_LTP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AOT_ER_AAC_LTP@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ccmp	x25, x9, #4, ne
Lloh8:
	adrp	x9, _AOT_ER_AAC_LD@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AOT_ER_AAC_LD@GOTPAGEOFF]
Lloh10:
	ldr	x28, [x8]
Lloh11:
	ldr	x8, [x9]
	ccmp	x25, x8, #4, ne
	ccmp	x25, x28, #4, ne
	cset	w8, eq
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	str	xzr, [sp, #24]
	mov	x0, x2
	mov	w1, #8
	bl	_get_bits
	mov	x27, x0
	str	w22, [sp, #12]                  ; 4-byte Folded Spill
	orr	w8, w26, w22
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	bl	_decode_ics_info
	tbnz	w0, #31, LBB0_26
LBB0_2:
	ldr	w1, [x21]
	ldr	w2, [x21, #8]
	mov	x0, x20
	mov	x3, x23
	mov	x4, x24
	bl	_decode_band_types
	tbnz	w0, #31, LBB0_26
; %bb.3:
	ldp	w5, w1, [x21]
	ldr	w6, [x21, #8]
	mov	x0, x20
	mov	x2, x23
	mov	x3, x27
	mov	x4, x24
	bl	_decode_scalefactors
	tbnz	w0, #31, LBB0_26
; %bb.4:
	cbz	w26, LBB0_10
; %bb.5:
	mov	w26, #0
LBB0_6:
	ldp	w7, w3, [x21]
	add	x5, sp, #24
	mov	x0, x20
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	mov	x2, x23
	mov	x4, x26
	mov	x6, x24
	bl	_decode_spectrum_and_dequant
	tbnz	w0, #31, LBB0_26
; %bb.7:
	mov	w0, #0
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_27
; %bb.8:
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
Lloh12:
	adrp	x9, _AOT_AAC_MAIN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AOT_AAC_MAIN@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.9:
	mov	x0, x20
	mov	x1, x21
	bl	_apply_prediction
	mov	w0, #0
	b	LBB0_27
LBB0_10:
	cmp	x25, x28
	b.ne	LBB0_12
; %bb.11:
	mov	w26, #0
	ldr	w27, [sp, #8]                   ; 4-byte Folded Reload
	b	LBB0_18
LBB0_12:
	mov	x0, x23
	bl	_get_bits1
	mov	x26, x0
	ldr	w27, [sp, #8]                   ; 4-byte Folded Reload
	cbz	w26, LBB0_18
; %bb.13:
	ldr	x8, [x24]
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _EIGHT_SHORT_SEQUENCE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _EIGHT_SHORT_SEQUENCE@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:
	ldr	w0, [x20, #16]
Lloh18:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x2, l_.str@PAGE
Lloh22:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_17
LBB0_15:
	ldp	w3, w2, [x21, #32]
	add	x0, sp, #24
	mov	x1, x23
	bl	_decode_pulses
	cbz	x0, LBB0_18
; %bb.16:
	ldr	w0, [x20, #16]
Lloh23:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x2, l_.str.1@PAGE
Lloh27:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_17:
	bl	_av_log
Lloh28:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	b	LBB0_26
LBB0_18:
	mov	x0, x23
	bl	_get_bits1
	str	x0, [x19]
	cmp	x0, #0
	cset	w8, eq
	orr	w8, w8, w27
	tbnz	w8, #0, LBB0_20
; %bb.19:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, x24
	bl	_decode_tns
	tbnz	w0, #31, LBB0_26
LBB0_20:
	cmp	x25, x28
	b.eq	LBB0_24
; %bb.21:
	mov	x0, x23
	bl	_get_bits1
	cbz	x0, LBB0_24
; %bb.22:
	mov	x0, x21
	mov	x1, x23
	bl	_decode_gain_control
	ldr	w8, [x20]
	cbnz	w8, LBB0_24
; %bb.23:
	ldr	w0, [x20, #16]
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_avpriv_report_missing_feature
	mov	w8, #1
	str	w8, [x20]
LBB0_24:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w8, ne
	and	w8, w8, w27
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.25:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, x24
	bl	_decode_tns
	tbz	w0, #31, LBB0_6
LBB0_26:
	str	xzr, [x19]
LBB0_27:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh10
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_AOT_ER_AAC_ELD,8,3             ; @AOT_ER_AAC_ELD
	.comm	_AOT_ER_AAC_LC,8,3              ; @AOT_ER_AAC_LC
	.comm	_AOT_ER_AAC_LTP,8,3             ; @AOT_ER_AAC_LTP
	.comm	_AOT_ER_AAC_LD,8,3              ; @AOT_ER_AAC_LD
	.comm	_EIGHT_SHORT_SEQUENCE,8,3       ; @EIGHT_SHORT_SEQUENCE
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Pulse tool not allowed in eight short sequence.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"Pulse data corrupt or invalid.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Gain control"

	.comm	_AOT_AAC_MAIN,8,3               ; @AOT_AAC_MAIN
	.no_dead_strip	_decode_ics
.subsections_via_symbols
