	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_tones_info
_decode_tones_info:                     ## @decode_tones_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	%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
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%edx, -116(%rbp)                ## 4-byte Spill
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	movl	-116(%rbp), %r14d               ## 4-byte Reload
	xorl	%ebx, %ebx
	movq	_ATRAC3P_SUBBANDS@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	(%r15), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_2
LBB0_3:
	movq	%r12, %rdi
	callq	_get_bits1
	movq	8(%r13), %rcx
	movq	%rax, 56(%rcx)
	testq	%rax, %rax
	je	LBB0_27
## %bb.4:
	movq	48(%rcx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r12, %rdi
	callq	_get_bits1
	movq	8(%r13), %rcx
	movq	%rax, 40(%rcx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	_tone_vlc_tabs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r12, %rdi
	movl	$1, %ecx
	callq	_get_vlc2
	incl	%eax
	movq	8(%r13), %rcx
	movl	%eax, (%rcx)
	cmpl	$2, -116(%rbp)                  ## 4-byte Folded Reload
	movq	-128(%rbp), %r15                ## 8-byte Reload
	jne	LBB0_8
## %bb.7:
	movq	16(%rcx), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_get_subband_flags
	movq	8(%r13), %rax
	movq	8(%rax), %rsi
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_get_subband_flags
	movq	8(%r13), %rax
	movq	32(%rax), %rsi
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_get_subband_flags
	movq	8(%r13), %rcx
LBB0_8:
	movq	$0, 24(%rcx)
	cmpl	$0, -116(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_19
## %bb.9:
	xorl	%ebx, %ebx
	leaq	-112(%rbp), %r14
	cmpl	$0, (%rcx)
	jle	LBB0_16
	.p2align	4, 0x90
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	16(%rcx), %rsi
	xorl	%edx, %edx
	cmpq	$0, (%rsi,%rax,8)
	sete	%dl
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	%edx, -112(%rbp,%rax,4)
	incq	%rax
	movslq	(%rcx), %rdx
	cmpq	%rdx, %rax
	jge	LBB0_16
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %ebx
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	$1, %edx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	movq	%r14, %rcx
	callq	_decode_tones_envelope
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	movq	%r14, %rcx
	movq	%r15, %r8
	callq	_decode_band_numwavs
	testl	%eax, %eax
	js	LBB0_28
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	movq	%r14, %rcx
	callq	_decode_tones_frequency
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	movq	%r14, %rcx
	callq	_decode_tones_amplitude
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	movq	%r14, %rcx
	callq	_decode_tones_phase
	incl	%ebx
	cmpl	-116(%rbp), %ebx                ## 4-byte Folded Reload
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	8(%r13), %rcx
	cmpl	$0, (%rcx)
	jg	LBB0_11
	jmp	LBB0_16
LBB0_19:
	xorl	%eax, %eax
	cmpl	$2, -116(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_28
## %bb.20:
	movq	8(%r13), %rcx
	cmpl	$0, (%rcx)
	jle	LBB0_28
## %bb.21:
	xorl	%ebx, %ebx
	movq	_Atrac3pWavesData@GOTPCREL(%rip), %r14
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=1
	incq	%rbx
	movslq	(%rcx), %rax
	cmpq	%rax, %rbx
	jge	LBB0_27
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rcx), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	(%r13), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rax
	movl	(%rdx,%rbx,4), %edx
	movl	%edx, (%rax,%rbx,4)
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	8(%rcx), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	(%r14), %edi
	movq	(%r13), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movl	(%rcx,%rbx,4), %esi
	movl	(%rax,%rbx,4), %edx
	callq	_FFSWAP
	movq	8(%r13), %rcx
	jmp	LBB0_26
LBB0_27:
	xorl	%eax, %eax
	jmp	LBB0_28
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_avpriv_report_missing_feature
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_28:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_30
## %bb.29:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ATRAC3P_SUBBANDS,4,2           ## @ATRAC3P_SUBBANDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GHA amplitude mode 0"

	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
	.comm	_tone_vlc_tabs,8,3              ## @tone_vlc_tabs
	.comm	_Atrac3pWavesData,4,2           ## @Atrac3pWavesData
	.no_dead_strip	_decode_tones_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_tones_info
_decode_tones_info:                     ; @decode_tones_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
	mov	w8, w21
	lsl	x24, x8, #3
Lloh3:
	adrp	x25, _ATRAC3P_SUBBANDS@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ATRAC3P_SUBBANDS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x0, [x8, x23]
	ldr	w8, [x25]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	add	x23, x23, #8
	cmp	x24, x23
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x22
	bl	_get_bits1
	ldr	x8, [x19, #8]
	str	x0, [x8, #56]
	cbz	x0, LBB0_28
; %bb.4:
	ldr	x0, [x8, #48]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x22
	bl	_get_bits1
	ldr	x8, [x19, #8]
	str	x0, [x8, #40]
	cbz	x0, LBB0_27
; %bb.5:
Lloh5:
	adrp	x8, _tone_vlc_tabs@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tone_vlc_tabs@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldp	w2, w1, [x8]
	mov	x0, x22
	mov	w3, #1
	bl	_get_vlc2
	add	w2, w0, #1
	ldr	x8, [x19, #8]
	str	w2, [x8]
	cmp	w21, #2
	b.ne	LBB0_7
; %bb.6:
	ldr	x1, [x8, #16]
	mov	x0, x22
	bl	_get_subband_flags
	ldr	x8, [x19, #8]
	ldr	x1, [x8, #8]
	ldr	w2, [x8]
	mov	x0, x22
	bl	_get_subband_flags
	ldr	x8, [x19, #8]
	ldr	x1, [x8, #32]
	ldr	w2, [x8]
	mov	x0, x22
	bl	_get_subband_flags
	ldr	x8, [x19, #8]
LBB0_7:
	str	xzr, [x8, #24]
	cmp	w21, #1
	b.lt	LBB0_18
; %bb.8:
	mov	w23, #0
	add	x24, sp, #8
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x9, #0
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	x10, [x8, #16]
	ldr	x10, [x10, x9, lsl #3]
	cmp	x10, #0
	cset	w10, eq
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	str	w10, [x24, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x10, [x8]
	cmp	x9, x10
	b.ge	LBB0_15
LBB0_13:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbnz	w23, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	w10, #1
	b	LBB0_12
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	bl	_decode_tones_envelope
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	mov	x4, x20
	bl	_decode_band_numwavs
	tbnz	w0, #31, LBB0_28
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	bl	_decode_tones_frequency
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	bl	_decode_tones_amplitude
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	bl	_decode_tones_phase
	add	w23, w23, #1
	cmp	w23, w21
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x19, #8]
	b	LBB0_9
LBB0_18:
	cmp	w21, #2
	b.ne	LBB0_26
; %bb.19:
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_26
; %bb.20:
	mov	x20, #0
Lloh8:
	adrp	x21, _Atrac3pWavesData@GOTPAGE
Lloh9:
	ldr	x21, [x21, _Atrac3pWavesData@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x20, x20, #1
	ldrsw	x9, [x8]
	cmp	x20, x9
	b.ge	LBB0_26
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, #16]
	ldr	x10, [x9, x20, lsl #3]
	lsl	x9, x20, #2
	cbz	x10, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x10, [x19]
	ldp	x11, x10, [x10]
	ldr	w11, [x11, x9]
	str	w11, [x10, x9]
LBB0_24:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x10, [x8, #8]
	ldr	x10, [x10, x20, lsl #3]
	cbz	x10, LBB0_21
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w0, [x21]
	ldr	x8, [x19]
	ldp	x10, x8, [x8]
	ldr	w1, [x10, x9]
	ldr	w2, [x8, x9]
	bl	_FFSWAP
	ldr	x8, [x19, #8]
	b	LBB0_21
LBB0_26:
	mov	w0, #0
	b	LBB0_28
LBB0_27:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_avpriv_report_missing_feature
Lloh12:
	adrp	x8, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_28:
	ldr	x8, [sp, #72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.29:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ATRAC3P_SUBBANDS,4,2           ; @ATRAC3P_SUBBANDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GHA amplitude mode 0"

	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
	.comm	_tone_vlc_tabs,8,3              ; @tone_vlc_tabs
	.comm	_Atrac3pWavesData,4,2           ; @Atrac3pWavesData
	.no_dead_strip	_decode_tones_info
.subsections_via_symbols
