	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tta_read_header
_tta_read_header:                       ## @tta_read_header
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	16(%rdi), %r12
	callq	_ff_id3v1_read
	movq	8(%r13), %rdi
	callq	_avio_tell
	movq	%rax, %r14
	testq	%rax, %rax
	js	LBB0_28
## %bb.1:
	movq	8(%r13), %rdi
	movq	_ff_crcEDB88320_update@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UINT32_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ffio_init_checksum
	movq	8(%r13), %rdi
	callq	_avio_rl32
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_AV_RL32
	cmpl	%eax, %ebx
	jne	LBB0_2
## %bb.3:
	movq	8(%r13), %rdi
	movl	$2, %esi
	callq	_avio_skip
	movq	8(%r13), %rdi
	callq	_avio_rl16
	movl	%eax, %ebx
	movq	8(%r13), %rdi
	callq	_avio_rl16
	movl	%eax, %r15d
	movq	8(%r13), %rdi
	callq	_avio_rl32
                                        ## kill: def $eax killed $eax def $rax
	leal	-1000001(%rax), %ecx
	cmpl	$-1000001, %ecx                 ## imm = 0xFFF0BDBF
	ja	LBB0_6
## %bb.4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_5
LBB0_6:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, -64(%rbp)                ## 4-byte Spill
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rdi
	callq	_avio_rl32
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	%eax, %r12d
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movq	8(%r13), %rdi
	callq	_ffio_get_checksum
	movl	%eax, %ebx
	movq	_UINT32_MAX@GOTPCREL(%rip), %rax
	xorl	(%rax), %ebx
	movq	8(%r13), %rdi
	callq	_avio_rl32
	cmpl	%eax, %ebx
	je	LBB0_11
## %bb.9:
	movq	_AV_EF_CRCCHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_11
## %bb.10:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_5
LBB0_11:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi def $rsi
	shll	$8, %esi
	imulq	$192835267, %rsi, %rax          ## imm = 0xB7E6EC3
	shrq	$32, %rax
	subl	%eax, %esi
	shrl	%esi
	addl	%eax, %esi
	shrl	$7, %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%esi, (%rdi)
	movl	%r12d, %eax
	cltd
	idivl	%esi
	testl	%edx, %edx
	cmovel	%esi, %edx
	movl	%edx, 4(%rdi)
	xorl	%ecx, %ecx
	cmpl	%esi, %edx
	setl	%cl
	addl	%eax, %ecx
	movl	%ecx, 8(%rdi)
	movq	$0, 16(%rdi)
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.12:
	movslq	%ecx, %rax
	movq	_UINT_MAX@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	shrq	$2, %rdx
	cmpq	%rax, %rdx
	jbe	LBB0_13
## %bb.14:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_avformat_new_stream
	testq	%rax, %rax
	je	LBB0_29
## %bb.15:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_avpriv_set_pts_info
	movq	$0, 16(%rbx)
	movl	%r12d, (%rbx)
	movq	8(%r13), %rdi
	callq	_avio_tell
	movq	%rax, %r12
	testq	%rax, %rax
	js	LBB0_16
## %bb.17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	8(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r15
	movq	8(%r13), %rdi
	callq	_avio_tell
	subq	%r14, %rax
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ff_alloc_extradata
	testq	%rax, %rax
	je	LBB0_18
LBB0_29:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_7:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
LBB0_5:
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_28:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_2
LBB0_16:
	movl	%r12d, %r14d
	jmp	LBB0_28
LBB0_18:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r13), %rdi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_avio_seek
	movq	8(%r13), %rdi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movl	20(%rax), %edx
	movl	24(%rax), %esi
	callq	_avio_read
	movq	8(%r13), %rdi
	movq	_ff_crcEDB88320_update@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UINT32_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ffio_init_checksum
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpl	$0, 8(%r14)
	jle	LBB0_23
## %bb.19:
	leaq	(%r12,%r15,4), %r12
	addq	$4, %r12
	xorl	%ebx, %ebx
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rdi
	callq	_avio_rl32
	movl	%eax, %r15d
	movl	(%r14), %edx
	imull	%ebx, %edx
	movq	_AVINDEX_KEYFRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	callq	_av_add_index_entry
	testl	%eax, %eax
	js	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%r14, %rcx
	movslq	%r15d, %rax
	addq	%rax, %r12
	incl	%ebx
	cmpl	8(%r14), %ebx
	jl	LBB0_20
LBB0_23:
	movq	8(%r13), %rdi
	callq	_ffio_get_checksum
	movl	%eax, %ebx
	movq	_UINT32_MAX@GOTPCREL(%rip), %rax
	xorl	(%rax), %ebx
	movq	8(%r13), %rdi
	callq	_avio_rl32
	cmpl	%eax, %ebx
	je	LBB0_26
## %bb.24:
	movq	_AV_EF_CRCCHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_26
## %bb.25:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_5
LBB0_26:
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movl	%eax, 16(%rcx)
	movq	_AV_CODEC_ID_TTA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rcx)
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rcx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 4(%rcx)
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rcx)
	movq	8(%r13), %rdi
	movq	_AVIO_SEEKABLE_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	testl	%eax, (%rdi)
	je	LBB0_28
## %bb.27:
	callq	_avio_tell
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_ff_ape_parse_tag
	movq	8(%r13), %rdi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_avio_seek
	jmp	LBB0_28
LBB0_21:
	movl	%eax, %r14d
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_crcEDB88320_update,4,2      ## @ff_crcEDB88320_update
	.comm	_UINT32_MAX,4,2                 ## @UINT32_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TTA1"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"nonsense samplerate\n"

L_.str.2:                               ## @.str.2
	.asciz	"invalid number of samples\n"

	.comm	_AV_EF_CRCCHECK,4,2             ## @AV_EF_CRCCHECK
L_.str.3:                               ## @.str.3
	.asciz	"Header CRC error\n"

	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
L_.str.4:                               ## @.str.4
	.asciz	"totalframes %d invalid\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_AVINDEX_KEYFRAME,4,2           ## @AVINDEX_KEYFRAME
L_.str.5:                               ## @.str.5
	.asciz	"Seek table CRC error\n"

	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ## @AVMEDIA_TYPE_AUDIO
	.comm	_AV_CODEC_ID_TTA,4,2            ## @AV_CODEC_ID_TTA
	.comm	_AVIO_SEEKABLE_NORMAL,4,2       ## @AVIO_SEEKABLE_NORMAL
	.no_dead_strip	_tta_read_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tta_read_header
_tta_read_header:                       ; @tta_read_header
	.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	x19, x0
	ldr	x27, [x0, #16]
	bl	_ff_id3v1_read
	ldr	x0, [x19, #8]
	bl	_avio_tell
	mov	x23, x0
	tbnz	x0, #63, LBB0_13
; %bb.1:
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x26, _ff_crcEDB88320_update@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ff_crcEDB88320_update@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh2:
	adrp	x28, _UINT32_MAX@GOTPAGE
Lloh3:
	ldr	x28, [x28, _UINT32_MAX@GOTPAGEOFF]
	ldr	w2, [x28]
	bl	_ffio_init_checksum
	ldr	x0, [x19, #8]
	bl	_avio_rl32
	mov	x20, x0
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_AV_RL32
	cmp	w20, w0
	b.ne	LBB0_12
; %bb.2:
	ldr	x0, [x19, #8]
	mov	w1, #2
	bl	_avio_skip
	ldr	x0, [x19, #8]
	bl	_avio_rl16
	mov	x20, x0
	ldr	x0, [x19, #8]
	bl	_avio_rl16
	mov	x21, x0
	ldr	x0, [x19, #8]
	bl	_avio_rl32
	mov	w8, #48575
	movk	w8, #65520, lsl #16
	add	w9, w8, #1
	add	w8, w0, w8
	cmp	w8, w9
	b.hs	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_4:
	mov	x22, x0
	ldr	x0, [x19, #8]
	bl	_avio_rl32
	cbz	w0, LBB0_10
; %bb.5:
	mov	x25, x0
	ldr	x0, [x19, #8]
	bl	_ffio_get_checksum
	ldr	w8, [x28]
	eor	w24, w8, w0
	ldr	x0, [x19, #8]
	bl	_avio_rl32
	cmp	w24, w0
	b.eq	LBB0_8
; %bb.6:
	ldr	w8, [x19]
Lloh11:
	adrp	x9, _AV_EF_CRCCHECK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AV_EF_CRCCHECK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
Lloh14:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str.3@PAGE
Lloh18:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_8:
	lsl	w8, w22, #8
	mov	w9, #28355
	movk	w9, #2942, lsl #16
	umull	x9, w8, w9
	lsr	x9, x9, #32
	sub	w8, w8, w9
	add	w8, w9, w8, lsr #1
	lsr	w8, w8, #7
	sdiv	w9, w25, w8
	msub	w10, w9, w8, w25
	cmp	w10, #0
	csel	w10, w8, w10, eq
	stp	w8, w10, [x27]
	cmp	w10, w8
	cinc	w8, w9, lt
	str	w8, [x27, #8]
	str	xzr, [x27, #16]
	sxtw	x9, w8
Lloh19:
	adrp	x10, _UINT_MAX@GOTPAGE
Lloh20:
	ldr	x10, [x10, _UINT_MAX@GOTPAGEOFF]
Lloh21:
	ldrsw	x10, [x10]
	lsr	x10, x10, #2
	cmp	w8, #1
	ccmp	x10, x9, #0, ge
	b.hi	LBB0_14
; %bb.9:
Lloh22:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x9]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh25:
	adrp	x2, l_.str.4@PAGE
Lloh26:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh27:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x2, l_.str.2@PAGE
Lloh31:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_av_log
LBB0_12:
Lloh32:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh34:
	ldr	w23, [x8]
LBB0_13:
	mov	x0, x23
	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
LBB0_14:
	mov	x0, x19
	mov	x1, #0
	bl	_avformat_new_stream
	cbz	x0, LBB0_17
; %bb.15:
	mov	x24, x0
	mov	w1, #64
	mov	w2, #1
	mov	x3, x22
	bl	_avpriv_set_pts_info
	str	xzr, [x24, #16]
	str	w25, [x24]
	ldr	x0, [x19, #8]
	bl	_avio_tell
	tbnz	x0, #63, LBB0_18
; %bb.16:
	ldrsw	x8, [x27, #8]
	stp	x0, x8, [sp, #8]                ; 16-byte Folded Spill
	ldr	x25, [x24, #8]
	ldr	x0, [x19, #8]
	bl	_avio_tell
	sub	x1, x0, x23
	mov	x0, x25
	bl	_ff_alloc_extradata
	cbz	x0, LBB0_19
LBB0_17:
Lloh35:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	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
	b	_AVERROR
LBB0_18:
	mov	x23, x0
	b	LBB0_13
LBB0_19:
	ldr	x25, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x0, [x19, #8]
Lloh38:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	mov	x1, x23
	bl	_avio_seek
	ldr	x0, [x19, #8]
	str	x24, [sp, #24]                  ; 8-byte Folded Spill
	ldr	x8, [x24, #8]
	ldp	w2, w1, [x8, #20]
	bl	_avio_read
	ldr	x0, [x19, #8]
	ldr	w1, [x26]
	ldr	w2, [x28]
	bl	_ffio_init_checksum
	ldr	w8, [x27, #8]
	cmp	w8, #1
	b.lt	LBB0_23
; %bb.20:
	mov	w24, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x8, x8, x25, lsl #2
	add	x25, x8, #4
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	bl	_avio_rl32
	mov	x26, x0
	ldr	w8, [x27]
	mul	w2, w8, w24
Lloh41:
	adrp	x8, _AVINDEX_KEYFRAME@GOTPAGE
Lloh42:
	ldr	x8, [x8, _AVINDEX_KEYFRAME@GOTPAGEOFF]
Lloh43:
	ldr	w5, [x8]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x25
	mov	x3, x26
	mov	w4, #0
	bl	_av_add_index_entry
	tbnz	w0, #31, LBB0_29
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x25, x25, w26, sxtw
	add	w24, w24, #1
	ldr	w8, [x27, #8]
	cmp	w24, w8
	b.lt	LBB0_21
LBB0_23:
	ldr	x0, [x19, #8]
	bl	_ffio_get_checksum
	ldr	w8, [x28]
	eor	w23, w8, w0
	ldr	x0, [x19, #8]
	bl	_avio_rl32
	cmp	w23, w0
	b.eq	LBB0_26
; %bb.24:
	ldr	w8, [x19]
Lloh44:
	adrp	x9, _AV_EF_CRCCHECK@GOTPAGE
Lloh45:
	ldr	x9, [x9, _AV_EF_CRCCHECK@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.25:
Lloh47:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh48:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
Lloh50:
	adrp	x2, l_.str.5@PAGE
Lloh51:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_11
LBB0_26:
Lloh52:
	adrp	x8, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh53:
	ldr	x8, [x8, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh54:
	ldr	w11, [x8]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x9, [x9, #8]
Lloh55:
	adrp	x10, _AV_CODEC_ID_TTA@GOTPAGE
Lloh56:
	ldr	x10, [x10, _AV_CODEC_ID_TTA@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x10]
	stp	w20, w22, [x9]
	stp	w8, w11, [x9, #12]
	str	w21, [x9, #8]
	ldr	x0, [x19, #8]
	ldr	w8, [x0]
Lloh58:
	adrp	x9, _AVIO_SEEKABLE_NORMAL@GOTPAGE
Lloh59:
	ldr	x9, [x9, _AVIO_SEEKABLE_NORMAL@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.27:
	bl	_avio_tell
	mov	x20, x0
	mov	x0, x19
	bl	_ff_ape_parse_tag
	ldr	x0, [x19, #8]
Lloh61:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh62:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_avio_seek
LBB0_28:
	mov	w23, #0
	b	LBB0_13
LBB0_29:
	mov	x23, x0
	b	LBB0_13
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_crcEDB88320_update,4,2      ; @ff_crcEDB88320_update
	.comm	_UINT32_MAX,4,2                 ; @UINT32_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TTA1"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"nonsense samplerate\n"

l_.str.2:                               ; @.str.2
	.asciz	"invalid number of samples\n"

	.comm	_AV_EF_CRCCHECK,4,2             ; @AV_EF_CRCCHECK
l_.str.3:                               ; @.str.3
	.asciz	"Header CRC error\n"

	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
l_.str.4:                               ; @.str.4
	.asciz	"totalframes %d invalid\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_AVINDEX_KEYFRAME,4,2           ; @AVINDEX_KEYFRAME
l_.str.5:                               ; @.str.5
	.asciz	"Seek table CRC error\n"

	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ; @AVMEDIA_TYPE_AUDIO
	.comm	_AV_CODEC_ID_TTA,4,2            ; @AV_CODEC_ID_TTA
	.comm	_AVIO_SEEKABLE_NORMAL,4,2       ; @AVIO_SEEKABLE_NORMAL
	.no_dead_strip	_tta_read_header
.subsections_via_symbols
