	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsb_read_header
_fsb_read_header:                       ## @fsb_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r13
	xorl	%esi, %esi
	callq	_avformat_new_stream
	movq	%rax, %r14
	movq	%r13, %rdi
	movl	$3, %esi
	callq	_avio_skip
	movq	%r13, %rdi
	callq	_avio_r8
	movl	%eax, %ebx
	leal	-53(%rbx), %eax
	cmpl	$-3, %eax
	ja	LBB0_3
## %bb.1:
	addl	$-48, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
LBB0_2:
	callq	_avpriv_request_sample
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax
LBB0_33:
	movl	(%rax), %eax
	jmp	LBB0_34
LBB0_3:
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_avio_skip
	testq	%r14, %r14
	je	LBB0_48
## %bb.4:
	movq	8(%r14), %r12
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r12)
	movq	$0, 32(%r12)
	cmpl	$52, %ebx
	je	LBB0_13
## %bb.5:
	cmpl	$51, %ebx
	jne	LBB0_17
## %bb.6:
	movq	%r13, %rdi
	callq	_avio_rl32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movl	$44, %esi
	callq	_avio_skip
	movq	%r13, %rdi
	callq	_avio_rl32
	movl	%eax, (%r14)
	movq	%r13, %rdi
	movl	$12, %esi
	callq	_avio_skip
	movq	%r13, %rdi
	callq	_avio_rl32
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_avio_rl32
	movl	%eax, (%r12)
	testl	%eax, %eax
	jle	LBB0_32
## %bb.7:
	movq	%r13, %rdi
	movl	$6, %esi
	callq	_avio_skip
	movq	%r13, %rdi
	callq	_avio_rl16
	movl	%eax, 4(%r12)
	testl	%eax, %eax
	je	LBB0_32
## %bb.8:
	addl	$24, -44(%rbp)                  ## 4-byte Folded Spill
	testl	$256, %ebx                      ## imm = 0x100
	jne	LBB0_28
## %bb.9:
	testl	$4194304, %ebx                  ## imm = 0x400000
	jne	LBB0_35
## %bb.10:
	testl	$8388608, %ebx                  ## imm = 0x800000
	jne	LBB0_41
## %bb.11:
	testl	$33554432, %ebx                 ## imm = 0x2000000
	jne	LBB0_42
## %bb.12:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	jmp	LBB0_2
LBB0_13:
	movq	%r13, %rdi
	callq	_avio_rl32
	movl	%eax, %ebx
	movq	%r13, %rdi
	movl	$80, %esi
	callq	_avio_skip
	movq	%r13, %rdi
	callq	_avio_rl32
	movl	%eax, (%r14)
	movq	%r13, %rdi
	callq	_avio_rb32
	movl	$128, %ecx
	cmpl	$1073745920, %eax               ## imm = 0x40001000
	jle	LBB0_19
## %bb.14:
	cmpl	$1073745921, %eax               ## imm = 0x40001001
	je	LBB0_22
## %bb.15:
	cmpl	$1073746049, %eax               ## imm = 0x40001081
	je	LBB0_22
## %bb.16:
	cmpl	$1075838977, %eax               ## imm = 0x40200001
	je	LBB0_22
	jmp	LBB0_30
LBB0_17:
	xorl	%edi, %edi
	callq	_av_assert0
                                        ## implicit-def: $ebx
LBB0_18:
	movq	%r13, %rdi
	callq	_avio_tell
	subl	%eax, %ebx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_avio_skip
	movq	%r13, %rdi
	callq	_avio_tell
	movq	(%r15), %rcx
	movl	%eax, (%rcx)
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	$64, %esi
	movl	$1, %edx
	callq	_avpriv_set_pts_info
	xorl	%eax, %eax
LBB0_34:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	cmpl	$4101, %eax                     ## imm = 0x1005
	je	LBB0_22
## %bb.20:
	cmpl	$1073743874, %eax               ## imm = 0x40000802
	jne	LBB0_30
## %bb.21:
	movl	$129, %ecx
LBB0_22:
	movl	%ecx, 8(%r12)
	movq	%r13, %rdi
	callq	_avio_rl32
	movl	%eax, (%r12)
	testl	%eax, %eax
	jle	LBB0_32
## %bb.23:
	movq	%r13, %rdi
	movl	$6, %esi
	callq	_avio_skip
	movq	%r13, %rdi
	callq	_avio_rl16
	movl	%eax, 4(%r12)
	testl	%eax, %eax
	je	LBB0_32
## %bb.24:
	addl	$48, %ebx
	movl	8(%r12), %ecx
	cmpl	$129, %ecx
	je	LBB0_31
## %bb.25:
	cmpl	$128, %ecx
	jne	LBB0_18
## %bb.26:
	movq	%r12, %rdi
	movl	$34, %esi
	callq	_ff_alloc_extradata
	movq	24(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_48
## %bb.27:
	xorl	%esi, %esi
	movl	$34, %edx
	callq	_memset
	movl	$2048, 12(%r12)                 ## imm = 0x800
	jmp	LBB0_18
LBB0_28:
	movq	_AV_CODEC_ID_PCM_S16LE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r12)
	shll	$12, %eax
LBB0_29:
	movl	%eax, 12(%r12)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_18
LBB0_30:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	jmp	LBB0_2
LBB0_31:
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	31(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$5, %edx
	cmpl	%eax, %edx
	jge	LBB0_36
LBB0_32:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_35:
	movl	$4, 16(%r12)
	movq	_AV_CODEC_ID_ADPCM_IMA_WAV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r12)
	shll	$2, %eax
	leal	(%rax,%rax,8), %eax
	movl	%eax, 12(%r12)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_18
LBB0_36:
	shll	$5, %eax
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ff_alloc_extradata
	cmpq	$0, 24(%r12)
	je	LBB0_48
## %bb.37:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$128, %esi
	callq	_avio_seek
	cmpl	$0, 4(%r12)
	je	LBB0_49
## %bb.38:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %esi
	andl	$-32, %esi
	addq	24(%r14), %rsi
	movq	%r13, %rdi
	movl	$32, %edx
	callq	_avio_read
	movq	%r13, %rdi
	movl	$14, %esi
	callq	_avio_skip
	incq	%r12
	movl	4(%r14), %eax
	addq	$32, %rbx
	cmpq	%rax, %r12
	jb	LBB0_39
## %bb.40:
	shll	$3, %eax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, 12(%r12)
	jmp	LBB0_18
LBB0_41:
	movq	_AV_CODEC_ID_ADPCM_PSX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r12)
	shll	$4, %eax
	jmp	LBB0_29
LBB0_42:
	movl	$129, 8(%r12)
	leal	(,%rax,8), %ecx
	movl	%ecx, 12(%r12)
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	31(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$5, %edx
	cmpl	%eax, %edx
	jl	LBB0_32
## %bb.43:
	shll	$5, %eax
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ff_alloc_extradata
	cmpq	$0, 24(%r12)
	je	LBB0_48
## %bb.44:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$104, %esi
	callq	_avio_seek
	cmpl	$0, 4(%r12)
	je	LBB0_50
## %bb.45:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %esi
	andl	$-32, %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	24(%rax), %rsi
	movq	%r13, %rdi
	movl	$32, %edx
	callq	_avio_read
	movq	%r13, %rdi
	movl	$14, %esi
	callq	_avio_skip
	incq	%rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	addq	$32, %r12
	cmpq	%rax, %rbx
	jb	LBB0_46
## %bb.47:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_18
LBB0_48:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_49:
	xorl	%eax, %eax
	movl	%eax, 12(%r12)
	jmp	LBB0_18
LBB0_50:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"version %d"

	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ## @AVMEDIA_TYPE_AUDIO
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_CODEC_ID_PCM_S16LE,4,2      ## @AV_CODEC_ID_PCM_S16LE
	.comm	_AV_CODEC_ID_ADPCM_IMA_WAV,4,2  ## @AV_CODEC_ID_ADPCM_IMA_WAV
	.comm	_AV_CODEC_ID_ADPCM_PSX,4,2      ## @AV_CODEC_ID_ADPCM_PSX
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
L_.str.1:                               ## @.str.1
	.asciz	"format 0x%X"

	.no_dead_strip	_fsb_read_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsb_read_header
_fsb_read_header:                       ; @fsb_read_header
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	ldr	x21, [x0, #8]
	mov	x1, #0
	bl	_avformat_new_stream
	mov	x20, x0
	mov	x0, x21
	mov	w1, #3
	bl	_avio_skip
	mov	x0, x21
	bl	_avio_r8
	mov	x23, x0
	sub	w8, w0, #53
	cmn	w8, #3
	b.hi	LBB0_4
; %bb.1:
	sub	w2, w23, #48
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x19
LBB0_3:
	bl	_avpriv_request_sample
Lloh2:
	adrp	x8, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_42
LBB0_4:
	mov	x0, x21
	mov	w1, #4
	bl	_avio_skip
	cbz	x20, LBB0_48
; %bb.5:
	ldr	x22, [x20, #8]
Lloh5:
	adrp	x8, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x22, #40]
	str	xzr, [x22, #32]
	cmp	w23, #52
	b.eq	LBB0_14
; %bb.6:
	cmp	w23, #51
	b.ne	LBB0_18
; %bb.7:
	mov	x0, x21
	bl	_avio_rl32
	mov	x23, x0
	mov	x0, x21
	mov	w1, #44
	bl	_avio_skip
	mov	x0, x21
	bl	_avio_rl32
	str	w0, [x20]
	mov	x0, x21
	mov	w1, #12
	bl	_avio_skip
	mov	x0, x21
	bl	_avio_rl32
	mov	x24, x0
	mov	x0, x21
	bl	_avio_rl32
	str	w0, [x22]
	cmp	w0, #0
	b.le	LBB0_31
; %bb.8:
	mov	x0, x21
	mov	w1, #6
	bl	_avio_skip
	mov	x0, x21
	bl	_avio_rl16
	str	w0, [x22, #4]
	cbz	w0, LBB0_31
; %bb.9:
	add	w23, w23, #24
	tbnz	w24, #8, LBB0_28
; %bb.10:
	tbnz	w24, #22, LBB0_32
; %bb.11:
	tbnz	w24, #23, LBB0_39
; %bb.12:
	tbnz	w24, #25, LBB0_43
; %bb.13:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x24
	b	LBB0_3
LBB0_14:
	mov	x0, x21
	bl	_avio_rl32
	mov	x23, x0
	mov	x0, x21
	mov	w1, #80
	bl	_avio_skip
	mov	x0, x21
	bl	_avio_rl32
	str	w0, [x20]
	mov	x0, x21
	bl	_avio_rb32
	mov	x2, x0
	mov	w8, #128
	mov	w9, #4096
	movk	w9, #16384, lsl #16
	cmp	w0, w9
	b.le	LBB0_19
; %bb.15:
	mov	w9, #4097
	movk	w9, #16384, lsl #16
	cmp	w2, w9
	b.eq	LBB0_22
; %bb.16:
	mov	w9, #4225
	movk	w9, #16384, lsl #16
	cmp	w2, w9
	b.eq	LBB0_22
; %bb.17:
	mov	w9, #1
	movk	w9, #16416, lsl #16
	cmp	w2, w9
	b.eq	LBB0_22
	b	LBB0_29
LBB0_18:
	mov	w0, #0
	bl	_av_assert0
                                        ; implicit-def: $w23
	b	LBB0_41
LBB0_19:
	mov	w9, #4101
	cmp	w2, w9
	b.eq	LBB0_22
; %bb.20:
	mov	w8, #2050
	movk	w8, #16384, lsl #16
	cmp	w2, w8
	b.ne	LBB0_29
; %bb.21:
	mov	w8, #129
LBB0_22:
	str	w8, [x22, #8]
	mov	x0, x21
	bl	_avio_rl32
	str	w0, [x22]
	cmp	w0, #0
	b.le	LBB0_31
; %bb.23:
	mov	x0, x21
	mov	w1, #6
	bl	_avio_skip
	mov	x0, x21
	bl	_avio_rl16
	str	w0, [x22, #4]
	cbz	w0, LBB0_31
; %bb.24:
	add	w23, w23, #48
	ldr	w8, [x22, #8]
	cmp	w8, #129
	b.eq	LBB0_30
; %bb.25:
	cmp	w8, #128
	b.ne	LBB0_41
; %bb.26:
	mov	x0, x22
	mov	w1, #34
	bl	_ff_alloc_extradata
	ldr	x0, [x22, #24]
	cbz	x0, LBB0_48
; %bb.27:
	mov	w1, #0
	mov	w2, #34
	bl	_memset
	mov	w8, #2048
	str	w8, [x22, #12]
	b	LBB0_41
LBB0_28:
Lloh10:
	adrp	x8, _AV_CODEC_ID_PCM_S16LE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_CODEC_ID_PCM_S16LE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	lsl	w9, w0, #12
	b	LBB0_40
LBB0_29:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_30:
Lloh15:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	add	w9, w8, #31
	cmp	w8, #0
	csel	w8, w9, w8, lt
	cmp	w0, w8, asr #5
	b.le	LBB0_33
LBB0_31:
Lloh18:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_42
LBB0_32:
	mov	w8, #4
Lloh21:
	adrp	x9, _AV_CODEC_ID_ADPCM_IMA_WAV@GOTPAGE
Lloh22:
	ldr	x9, [x9, _AV_CODEC_ID_ADPCM_IMA_WAV@GOTPAGEOFF]
	str	w8, [x22, #16]
Lloh23:
	ldr	w8, [x9]
	add	w9, w0, w0, lsl #3
	lsl	w9, w9, #2
	b	LBB0_40
LBB0_33:
	lsl	w1, w0, #5
	mov	x0, x22
	bl	_ff_alloc_extradata
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_48
; %bb.34:
Lloh24:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #128
	bl	_avio_seek
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_38
; %bb.35:
	mov	x24, #0
	mov	x25, #0
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #24]
	and	x9, x24, #0xffffffe0
	add	x1, x8, x9
	mov	x0, x21
	mov	w2, #32
	bl	_avio_read
	mov	x0, x21
	mov	w1, #14
	bl	_avio_skip
	add	x25, x25, #1
	ldr	w8, [x22, #4]
	add	x24, x24, #32
	cmp	x25, x8
	b.lo	LBB0_36
; %bb.37:
	lsl	w8, w8, #3
LBB0_38:
	str	w8, [x22, #12]
	b	LBB0_41
LBB0_39:
Lloh27:
	adrp	x8, _AV_CODEC_ID_ADPCM_PSX@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AV_CODEC_ID_ADPCM_PSX@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	lsl	w9, w0, #4
LBB0_40:
	stp	w8, w9, [x22, #8]
LBB0_41:
	mov	x0, x21
	bl	_avio_tell
	sub	w1, w23, w0
	mov	x0, x21
	bl	_avio_skip
	mov	x0, x21
	bl	_avio_tell
	ldr	x8, [x19]
	str	w0, [x8]
	ldr	w3, [x22]
	mov	x0, x20
	mov	w1, #64
	mov	w2, #1
	bl	_avpriv_set_pts_info
	mov	w0, #0
LBB0_42:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_43:
	mov	w8, #129
	lsl	w9, w0, #3
Lloh30:
	adrp	x10, _INT_MAX@GOTPAGE
Lloh31:
	ldr	x10, [x10, _INT_MAX@GOTPAGEOFF]
	stp	w8, w9, [x22, #8]
Lloh32:
	ldr	w8, [x10]
	add	w9, w8, #31
	cmp	w8, #0
	csel	w8, w9, w8, lt
	cmp	w0, w8, asr #5
	b.gt	LBB0_31
; %bb.44:
	lsl	w1, w0, #5
	mov	x0, x22
	bl	_ff_alloc_extradata
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_48
; %bb.45:
Lloh33:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #104
	bl	_avio_seek
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_41
; %bb.46:
	mov	x24, #0
	mov	x25, #0
LBB0_47:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #24]
	and	x9, x24, #0xffffffe0
	add	x1, x8, x9
	mov	x0, x21
	mov	w2, #32
	bl	_avio_read
	mov	x0, x21
	mov	w1, #14
	bl	_avio_skip
	add	x25, x25, #1
	ldr	w8, [x22, #4]
	add	x24, x24, #32
	cmp	x25, x8
	b.lo	LBB0_47
	b	LBB0_41
LBB0_48:
Lloh36:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"version %d"

	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ; @AVMEDIA_TYPE_AUDIO
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_CODEC_ID_PCM_S16LE,4,2      ; @AV_CODEC_ID_PCM_S16LE
	.comm	_AV_CODEC_ID_ADPCM_IMA_WAV,4,2  ; @AV_CODEC_ID_ADPCM_IMA_WAV
	.comm	_AV_CODEC_ID_ADPCM_PSX,4,2      ; @AV_CODEC_ID_ADPCM_PSX
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
l_.str.1:                               ; @.str.1
	.asciz	"format 0x%X"

	.no_dead_strip	_fsb_read_header
.subsections_via_symbols
