	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdata_read_header
_cdata_read_header:                     ## @cdata_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	8(%rdi), %r12
	movq	%rbx, %rdi
	callq	_avio_rb16
                                        ## kill: def $eax killed $eax def $rax
	leal	-1024(%rax), %ecx
	roll	$30, %ecx
	cmpl	$5, %ecx
	ja	LBB0_5
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	$1, (%r12)
	jmp	LBB0_4
LBB0_3:
	movl	$2, (%r12)
LBB0_4:
	xorl	%r13d, %r13d
	jmp	LBB0_9
LBB0_5:
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%eax, %ecx
	callq	_av_log
	movl	$-1, %ebx
	jmp	LBB0_11
LBB0_6:
	movl	$4, (%r12)
	movq	_AV_CH_LAYOUT_QUAD@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movl	$6, (%r12)
	movq	_AV_CH_LAYOUT_5POINT1_BACK@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r13d
LBB0_9:
	movq	%rbx, %rdi
	callq	_avio_rb16
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_avio_r8
                                        ## kill: def $eax killed $eax def $rax
	andl	$32, %eax
	shrl	$3, %eax
	leal	11(%rax), %esi
	movq	%rbx, %rdi
	callq	_avio_skip
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_avformat_new_stream
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%rax), %rdx
	movl	%ecx, 24(%rdx)
	movq	$0, 16(%rdx)
	movq	_AV_CODEC_ID_ADPCM_EA_XAS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rdx)
	movl	(%r12), %ecx
	movl	%ecx, (%rdx)
	movl	%r13d, 8(%rdx)
	movl	%r15d, 4(%rdx)
	movq	%rax, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	%r15d, %ecx
	callq	_avpriv_set_pts_info
	movq	$0, 8(%r12)
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_AV_CH_LAYOUT_QUAD,4,2          ## @AV_CH_LAYOUT_QUAD
	.comm	_AV_CH_LAYOUT_5POINT1_BACK,4,2  ## @AV_CH_LAYOUT_5POINT1_BACK
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown header 0x%04x\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ## @AVMEDIA_TYPE_AUDIO
	.comm	_AV_CODEC_ID_ADPCM_EA_XAS,4,2   ## @AV_CODEC_ID_ADPCM_EA_XAS
	.no_dead_strip	_cdata_read_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdata_read_header
_cdata_read_header:                     ; @cdata_read_header
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldp	x20, x22, [x0]
	mov	x0, x20
	bl	_avio_rb16
	mov	x3, x0
	sub	w8, w0, #1024
	ror	w8, w8, #2
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w23, #0
	mov	w8, #1
	b	LBB0_4
LBB0_3:
	mov	w23, #0
	mov	w8, #2
LBB0_4:
	str	w8, [x22]
	b	LBB0_9
LBB0_5:
Lloh2:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
	mov	w0, #-1
	b	LBB0_11
LBB0_6:
	mov	w8, #4
	str	w8, [x22]
Lloh7:
	adrp	x8, _AV_CH_LAYOUT_QUAD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_CH_LAYOUT_QUAD@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	mov	w8, #6
	str	w8, [x22]
Lloh9:
	adrp	x8, _AV_CH_LAYOUT_5POINT1_BACK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_CH_LAYOUT_5POINT1_BACK@GOTPAGEOFF]
LBB0_8:
	ldr	w23, [x8]
LBB0_9:
	mov	x0, x20
	bl	_avio_rb16
	mov	x21, x0
	mov	x0, x20
	bl	_avio_r8
	tst	w0, #0x20
	mov	w8, #15
	mov	w9, #11
	csel	w1, w9, w8, eq
	mov	x0, x20
	bl	_avio_skip
	mov	x0, x19
	mov	x1, #0
	bl	_avformat_new_stream
	cbz	x0, LBB0_12
; %bb.10:
Lloh11:
	adrp	x8, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	x9, [x0]
	str	w8, [x9, #24]
	str	xzr, [x9, #16]
Lloh14:
	adrp	x8, _AV_CODEC_ID_ADPCM_EA_XAS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_CODEC_ID_ADPCM_EA_XAS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w10, [x22]
	stp	w23, w8, [x9, #8]
	stp	w10, w21, [x9]
	mov	w1, #64
	mov	w2, #1
	mov	x3, x21
	bl	_avpriv_set_pts_info
	mov	w0, #0
	str	xzr, [x22, #8]
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_AV_CH_LAYOUT_QUAD,4,2          ; @AV_CH_LAYOUT_QUAD
	.comm	_AV_CH_LAYOUT_5POINT1_BACK,4,2  ; @AV_CH_LAYOUT_5POINT1_BACK
	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown header 0x%04x\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ; @AVMEDIA_TYPE_AUDIO
	.comm	_AV_CODEC_ID_ADPCM_EA_XAS,4,2   ; @AV_CODEC_ID_ADPCM_EA_XAS
	.no_dead_strip	_cdata_read_header
.subsections_via_symbols
