	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_nb_samples
_get_nb_samples:                        ## @get_nb_samples
	.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	%r8, %r12
	movq	32(%rdi), %r8
	movl	(%rdi), %r14d
	movl	$0, (%rcx)
	movl	$0, (%r12)
	testl	%r14d, %r14d
	jle	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	leal	-128(%rdi), %eax
	cmpl	$36, %eax
	ja	LBB0_10
## %bb.2:
	movq	%rcx, %r15
	movl	%edx, %r9d
	movq	%rsi, %r13
	movl	$-8, %esi
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	leal	(%r9,%r9), %eax
	cltd
	idivl	%r14d
	movl	%eax, %ecx
	testl	%eax, %eax
	jne	LBB0_62
## %bb.4:
	leal	-129(%rdi), %eax
	cmpl	$30, %eax
	ja	LBB0_10
## %bb.5:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	xorl	%ecx, %ecx
	jmpq	*%rax
LBB0_6:
	xorl	%eax, %eax
	cmpl	$134, %edi
	sete	%al
	movl	$4, %ecx
	subl	%eax, %ecx
	cmpl	$133, %edi
	movl	$2, %eax
	cmovnel	%ecx, %eax
	movq	(%r8), %rcx
	xorl	%esi, %esi
	cmpl	$0, (%rcx)
	jne	LBB0_9
## %bb.7:
	cmpl	%r9d, %r14d
	jg	LBB0_37
## %bb.8:
	subl	%r14d, %r9d
	movl	$1, %esi
LBB0_9:
	imull	%eax, %r9d
	movl	%r9d, %eax
	cltd
	idivl	%r14d
	movl	%eax, %ecx
	addl	%esi, %ecx
	jmp	LBB0_62
LBB0_10:
	xorl	%ecx, %ecx
	jmp	LBB0_62
LBB0_11:
	leal	(,%r14,4), %esi
	negl	%esi
LBB0_12:
	addl	%r9d, %esi
	addl	%esi, %esi
	movl	%esi, %eax
	jmp	LBB0_41
LBB0_13:
	cmpl	$0, 16(%rbx)
	je	LBB0_55
## %bb.14:
	movl	%r9d, %eax
	shll	$4, %eax
	subl	%r9d, %eax
	subl	%r9d, %eax
	shll	$3, %r14d
	jmp	LBB0_41
LBB0_15:
	shll	$4, %r14d
	movl	%r9d, %eax
	cltd
	idivl	%r14d
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax,8), %ecx
	leal	(%rcx,%rcx,2), %ecx
	addl	%eax, %ecx
	jmp	LBB0_62
LBB0_16:
	leal	127(%r9), %eax
	testl	%r9d, %r9d
	cmovnsl	%r9d, %eax
	sarl	$7, %eax
	imull	$224, %eax, %eax
	jmp	LBB0_41
LBB0_17:
	leal	-2(,%r9,8), %ebx
	movq	%r13, %rdi
	callq	_bytestream2_get_byte
	movl	%eax, %esi
	sarl	$6, %esi
	addl	$2, %esi
	leal	(%r14,%r14,4), %eax
	leal	(%r14,%rax,4), %edi
	addl	%r14d, %edi
	imull	%r14d, %esi
	movl	%esi, %ecx
	shll	$12, %ecx
	subl	%esi, %ecx
	addl	%edi, %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %ecx
	shll	$12, %ecx
	subl	%edi, %edx
	jl	LBB0_62
## %bb.18:
	movl	%edx, %eax
	cltd
	idivl	%esi
	orl	$1, %ecx
	addl	%eax, %ecx
	jmp	LBB0_62
LBB0_19:
	movl	20(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_21
## %bb.20:
	movl	%r9d, %edi
	callq	_FFMIN
	movl	%eax, %r9d
LBB0_21:
	leal	(,%r14,8), %eax
	andl	$2147483632, %eax               ## imm = 0x7FFFFFF0
	jmp	LBB0_32
LBB0_22:
	movl	20(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_24
## %bb.23:
	movl	%r9d, %edi
	callq	_FFMIN
	movl	%eax, %r9d
LBB0_24:
	leal	(%r14,%r14), %eax
	leal	(%rax,%rax,2), %eax
	jmp	LBB0_32
LBB0_25:
	movq	_ff_adpcm_ima_block_sizes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	24(%rbx), %rcx
	movl	-8(%rax,%rcx,4), %r12d
	movq	_ff_adpcm_ima_block_samples@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-8(%rax,%rcx,4), %r15d
	movl	20(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_27
## %bb.26:
	movl	%r9d, %edi
	callq	_FFMIN
	movl	%eax, %r9d
LBB0_27:
	leal	(,%r14,4), %eax
	subl	%eax, %r9d
	jl	LBB0_37
## %bb.28:
	imull	%r14d, %r12d
	movl	%r9d, %eax
	cltd
	idivl	%r12d
	movl	%eax, %ecx
	imull	%r15d, %ecx
	incl	%ecx
	jmp	LBB0_62
LBB0_29:
	movl	20(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_31
## %bb.30:
	movl	%r9d, %edi
	callq	_FFMIN
	movl	%eax, %r9d
LBB0_31:
	leal	(,%r14,4), %eax
LBB0_32:
	subl	%eax, %r9d
	addl	%r9d, %r9d
	movl	%r9d, %eax
	jmp	LBB0_41
LBB0_33:
	movq	%r13, %rdi
	movq	%r9, %rbx
	callq	_bytestream2_get_le32
	movl	%eax, (%r15)
	leal	(,%r14,8), %eax
	subl	%eax, %ebx
	leal	(%rbx,%rbx), %eax
	addl	$-8, %eax
	cltd
	idivl	%r14d
	movl	%eax, %ecx
	jmp	LBB0_61
LBB0_34:
	movl	20(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_36
## %bb.35:
	movl	%r9d, %edi
	callq	_FFMIN
	movl	%eax, %r9d
LBB0_36:
	leal	(,%r14,4), %eax
	subl	%eax, %r9d
	jge	LBB0_57
LBB0_37:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_62
LBB0_38:
	movl	20(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_40
## %bb.39:
	movl	%r9d, %edi
	callq	_FFMIN
	movl	%eax, %r9d
LBB0_40:
	leal	(%r9,%r9), %eax
	addl	$-32, %eax
	cltq
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	shll	$2, %eax
                                        ## kill: def $eax killed $eax killed $rax
LBB0_41:
	cltd
	idivl	%r14d
	movl	%eax, %ecx
	jmp	LBB0_62
LBB0_42:
	leal	(%r14,%r14,4), %ebx
	negl	%ebx
	movq	%r13, %rdi
	movq	%r9, %r13
	callq	_bytestream2_get_be32
	jmp	LBB0_46
LBB0_43:
	leal	(%r14,%r14,4), %ebx
	jmp	LBB0_45
LBB0_44:
	leal	(%r14,%r14,8), %ebx
LBB0_45:
	negl	%ebx
	movq	%r13, %rdi
	movq	%r9, %r13
	callq	_bytestream2_get_le32
LBB0_46:
	movq	%r13, %rdx
	cltq
	imulq	$-1840700269, %rax, %rcx        ## imm = 0x92492493
	shrq	$32, %rcx
	addl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$4, %eax
	addl	%ecx, %eax
	leal	(%rax,%rax,8), %ecx
	leal	(%rcx,%rcx,2), %ecx
	addl	%eax, %ecx
	movl	%ecx, (%r15)
	addl	%ebx, %edx
	leal	(%rdx,%rdx), %eax
	addl	$-8, %eax
	cltd
	idivl	%r14d
	cltq
	imulq	$-1840700269, %rax, %rcx        ## imm = 0x92492493
	shrq	$32, %rcx
	addl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$4, %eax
	addl	%ecx, %eax
	leal	(%rax,%rax,8), %ecx
	leal	(%rcx,%rcx,2), %ecx
	addl	%eax, %ecx
LBB0_60:
	movl	$1, (%r12)
	jmp	LBB0_61
LBB0_47:
	subl	%r14d, %r9d
	movl	%r9d, %eax
	cltd
	idivl	%r14d
	movl	%eax, %ecx
	addl	%eax, %ecx
	jmp	LBB0_62
LBB0_48:
	movq	%r13, %rdi
	movq	%r9, %rbx
	callq	_bytestream2_get_le32
	cltq
	imulq	$-1840700269, %rax, %rcx        ## imm = 0x92492493
	shrq	$32, %rcx
	addl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$4, %eax
	addl	%ecx, %eax
	leal	(%rax,%rax,8), %ecx
	leal	(%rcx,%rcx,2), %ecx
	addl	%eax, %ecx
	movl	%ecx, (%r15)
	movl	%ebx, %eax
	addl	$-12, %eax
	cltq
	imulq	$-2004318071, %rax, %rax        ## imm = 0x88888889
	shrq	$32, %rax
	addl	%ebx, %eax
	addl	$-12, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$4, %eax
	addl	%ecx, %eax
	leal	(%rax,%rax,8), %ecx
	leal	(%rcx,%rcx,2), %ecx
	addl	%eax, %ecx
LBB0_61:
	movl	(%r15), %eax
	cmpl	%ecx, %eax
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmovgl	%edx, %ecx
	testl	%eax, %eax
	cmovlel	%edx, %ecx
LBB0_62:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_50:
	movl	%r14d, %eax
	shll	$5, %eax
	leal	(%rax,%r14,2), %edx
	movl	$64, %eax
	jmp	LBB0_52
LBB0_51:
	imull	$76, %r14d, %edx
	movl	$128, %eax
LBB0_52:
	movl	$0, %ecx
	cmpl	%r9d, %edx
	jg	LBB0_62
## %bb.53:
	movl	%eax, %ecx
	jmp	LBB0_62
LBB0_54:
	leal	(%r14,%r14,8), %ecx
	movl	%r9d, %eax
	cltd
	idivl	%ecx
	movl	%eax, %ecx
	shll	$4, %ecx
	jmp	LBB0_62
LBB0_55:
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_bytestream2_skip
	movq	8(%rbx), %rax
	cmpl	$130, (%rax)
	jne	LBB0_58
## %bb.56:
	movq	%r13, %rdi
	callq	_bytestream2_get_le32
	jmp	LBB0_59
LBB0_57:
	addl	%r9d, %r9d
	movl	%r9d, %eax
	cltd
	idivl	%r14d
	movl	%eax, %ecx
	incl	%ecx
	jmp	LBB0_62
LBB0_58:
	movq	%r13, %rdi
	callq	_bytestream2_get_be32
LBB0_59:
	movl	%eax, (%r15)
	leal	(,%r14,4), %eax
	leal	(%rax,%rax,8), %ecx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subl	%ecx, %eax
	addl	$-8, %eax
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	%r14d
                                        ## kill: def $eax killed $eax def $rax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movl	%ecx, %edx
	sarl	$3, %edx
	movl	%edx, %esi
	shll	$4, %esi
	subl	%edx, %esi
	subl	%edx, %esi
	andl	$-8, %ecx
	subl	%ecx, %eax
	xorl	%edx, %edx
	cmpl	$2, %eax
	leal	-2(%rax,%rax), %ecx
	cmovll	%edx, %ecx
	addl	%esi, %ecx
	jmp	LBB0_60
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_50, LBB0_50-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_51, LBB0_51-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_48, LBB0_48-LJTI0_0
.set L0_0_set_54, LBB0_54-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_16
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_17
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_15
	.long	L0_0_set_19
	.long	L0_0_set_22
	.long	L0_0_set_3
	.long	L0_0_set_25
	.long	L0_0_set_11
	.long	L0_0_set_29
	.long	L0_0_set_50
	.long	L0_0_set_3
	.long	L0_0_set_11
	.long	L0_0_set_3
	.long	L0_0_set_33
	.long	L0_0_set_34
	.long	L0_0_set_38
	.long	L0_0_set_11
	.long	L0_0_set_3
	.long	L0_0_set_12
	.long	L0_0_set_51
	.long	L0_0_set_42
	.long	L0_0_set_43
	.long	L0_0_set_44
	.long	L0_0_set_47
	.long	L0_0_set_48
	.long	L0_0_set_15
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_11
	.long	L0_0_set_54
	.long	L0_0_set_11
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
.set L0_1_set_17, LBB0_17-LJTI0_1
.set L0_1_set_6, LBB0_6-LJTI0_1
.set L0_1_set_15, LBB0_15-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_62, LBB0_62-LJTI0_1
.set L0_1_set_25, LBB0_25-LJTI0_1
.set L0_1_set_11, LBB0_11-LJTI0_1
.set L0_1_set_29, LBB0_29-LJTI0_1
.set L0_1_set_33, LBB0_33-LJTI0_1
.set L0_1_set_34, LBB0_34-LJTI0_1
.set L0_1_set_38, LBB0_38-LJTI0_1
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_42, LBB0_42-LJTI0_1
.set L0_1_set_43, LBB0_43-LJTI0_1
.set L0_1_set_44, LBB0_44-LJTI0_1
.set L0_1_set_47, LBB0_47-LJTI0_1
.set L0_1_set_48, LBB0_48-LJTI0_1
LJTI0_1:
	.long	L0_1_set_16
	.long	L0_1_set_13
	.long	L0_1_set_13
	.long	L0_1_set_17
	.long	L0_1_set_6
	.long	L0_1_set_6
	.long	L0_1_set_6
	.long	L0_1_set_15
	.long	L0_1_set_19
	.long	L0_1_set_22
	.long	L0_1_set_62
	.long	L0_1_set_25
	.long	L0_1_set_11
	.long	L0_1_set_29
	.long	L0_1_set_62
	.long	L0_1_set_62
	.long	L0_1_set_11
	.long	L0_1_set_62
	.long	L0_1_set_33
	.long	L0_1_set_34
	.long	L0_1_set_38
	.long	L0_1_set_11
	.long	L0_1_set_62
	.long	L0_1_set_12
	.long	L0_1_set_62
	.long	L0_1_set_42
	.long	L0_1_set_43
	.long	L0_1_set_44
	.long	L0_1_set_47
	.long	L0_1_set_48
	.long	L0_1_set_15
	.end_data_region
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_ff_adpcm_ima_block_sizes,8,3   ## @ff_adpcm_ima_block_sizes
	.comm	_ff_adpcm_ima_block_samples,8,3 ## @ff_adpcm_ima_block_samples
	.no_dead_strip	_get_nb_samples
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_nb_samples
_get_nb_samples:                        ; @get_nb_samples
	.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
	ldr	x8, [x0, #32]
	ldr	w24, [x0]
	str	wzr, [x3]
	str	wzr, [x4]
	cmp	w24, #1
	b.lt	LBB0_53
; %bb.1:
	mov	x23, x0
	ldr	x9, [x0, #8]
	ldr	w9, [x9]
	sub	w11, w9, #128
	cmp	w11, #36
	b.hi	LBB0_53
; %bb.2:
	mov	x21, x4
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	w10, #-8
Lloh0:
	adrp	x12, lJTI0_0@PAGE
Lloh1:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x13, LBB0_3
	ldrb	w14, [x12, x11]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_3:
	lsl	w10, w19, #1
	sdiv	w0, w10, w24
	cbnz	w0, LBB0_54
; %bb.4:
	sub	w11, w9, #129
	cmp	w11, #30
	b.hi	LBB0_54
; %bb.5:
	mov	w10, #-8
Lloh2:
	adrp	x12, lJTI0_1@PAGE
Lloh3:
	add	x12, x12, lJTI0_1@PAGEOFF
	adr	x13, LBB0_6
	ldrb	w14, [x12, x11]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_6:
	cmp	w9, #134
	mov	w10, #3
	cinc	w10, w10, ne
	mov	w11, #2
	cmp	w9, #133
	csel	w9, w11, w10, eq
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_14
; %bb.7:
	mov	w8, #0
	b	LBB0_16
LBB0_8:
	neg	w10, w24, lsl #2
LBB0_9:
	add	w8, w10, w19
LBB0_10:
	lsl	w8, w8, #1
	sdiv	w0, w8, w24
	b	LBB0_54
LBB0_11:
	ldr	w8, [x23, #16]
	cbz	w8, LBB0_56
; %bb.12:
	mov	w8, #14
	mul	w8, w19, w8
	lsl	w9, w24, #3
	sdiv	w0, w8, w9
	b	LBB0_54
LBB0_13:
	lsl	w8, w24, #4
	sdiv	w8, w19, w8
	mov	w9, #28
	mul	w0, w8, w9
	b	LBB0_54
LBB0_14:
	cmp	w24, w19
	b.gt	LBB0_37
; %bb.15:
	sub	w19, w19, w24
	mov	w8, #1
LBB0_16:
	mul	w9, w19, w9
	sdiv	w9, w9, w24
	add	w0, w9, w8
	b	LBB0_54
LBB0_17:
	add	w8, w19, #127
	cmp	w19, #0
	csel	w8, w8, w19, lt
	asr	w8, w8, #7
	mov	w9, #224
	mul	w8, w8, w9
	sdiv	w0, w8, w24
	b	LBB0_54
LBB0_18:
	lsl	w8, w19, #3
	sub	w19, w8, #2
	mov	x0, x22
	bl	_bytestream2_get_byte
	asr	w8, w0, #6
	add	w8, w8, #2
	mov	w9, #22
	mul	w9, w24, w9
	mul	w8, w8, w24
	lsl	w10, w8, #12
	sub	w10, w10, w8
	add	w10, w10, w9
	sdiv	w11, w19, w10
	msub	w10, w10, w11, w19
	lsl	w0, w11, #12
	subs	w9, w10, w9
	b.lt	LBB0_54
; %bb.19:
	sdiv	w8, w9, w8
	orr	w9, w0, #0x1
	add	w0, w9, w8
	b	LBB0_54
LBB0_20:
	ldr	w1, [x23, #20]
	cmp	w1, #1
	b.lt	LBB0_22
; %bb.21:
	mov	x0, x19
	bl	_FFMIN
	mov	x19, x0
LBB0_22:
	lsl	w8, w24, #3
	and	w8, w8, #0x7ffffff0
	sub	w8, w19, w8
	b	LBB0_10
LBB0_23:
	ldr	w1, [x23, #20]
	cmp	w1, #1
	b.lt	LBB0_25
; %bb.24:
	mov	x0, x19
	bl	_FFMIN
	mov	x19, x0
LBB0_25:
	mov	w8, #-6
	madd	w8, w24, w8, w19
	b	LBB0_10
LBB0_26:
Lloh4:
	adrp	x8, _ff_adpcm_ima_block_sizes@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ff_adpcm_ima_block_sizes@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldp	w1, w9, [x23, #20]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	lsl	x9, x9, #2
	sub	x9, x9, #8
	ldr	w21, [x8, x9]
Lloh7:
	adrp	x8, _ff_adpcm_ima_block_samples@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ff_adpcm_ima_block_samples@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	w20, [x8, x9]
	cmp	w1, #1
	b.lt	LBB0_28
; %bb.27:
	mov	x0, x19
	bl	_FFMIN
	mov	x19, x0
LBB0_28:
	lsl	w8, w24, #2
	subs	w8, w19, w8
	b.lt	LBB0_37
; %bb.29:
	mul	w9, w21, w24
	sdiv	w8, w8, w9
	orr	w9, wzr, #0x1
	madd	w0, w8, w20, w9
	b	LBB0_54
LBB0_30:
	ldr	w1, [x23, #20]
	cmp	w1, #1
	b.lt	LBB0_32
; %bb.31:
	mov	x0, x19
	bl	_FFMIN
	mov	x19, x0
LBB0_32:
	sub	w8, w19, w24, lsl #2
	b	LBB0_10
LBB0_33:
	mov	x0, x22
	bl	_bytestream2_get_le32
	str	w0, [x20]
	sub	w8, w19, w24, lsl #3
	lsl	w8, w8, #1
	sub	w8, w8, #8
	sdiv	w8, w8, w24
	b	LBB0_49
LBB0_34:
	ldr	w1, [x23, #20]
	cmp	w1, #1
	b.lt	LBB0_36
; %bb.35:
	mov	x0, x19
	bl	_FFMIN
	mov	x19, x0
LBB0_36:
	lsl	w8, w24, #2
	subs	w8, w19, w8
	b.ge	LBB0_58
LBB0_37:
Lloh10:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	b	LBB0_54
LBB0_38:
	ldr	w1, [x23, #20]
	cmp	w1, #1
	b.lt	LBB0_40
; %bb.39:
	mov	x0, x19
	bl	_FFMIN
	mov	x19, x0
LBB0_40:
	lsl	w8, w19, #1
	sub	w8, w8, #32
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	lsl	w8, w8, #2
	sdiv	w0, w8, w24
	b	LBB0_54
LBB0_41:
	add	w8, w24, w24, lsl #2
	neg	w23, w8
	mov	x0, x22
	bl	_bytestream2_get_be32
	b	LBB0_45
LBB0_42:
	add	w8, w24, w24, lsl #2
	b	LBB0_44
LBB0_43:
	add	w8, w24, w24, lsl #3
LBB0_44:
	neg	w23, w8
	mov	x0, x22
	bl	_bytestream2_get_le32
LBB0_45:
	mov	w8, #9363
	movk	w8, #37449, lsl #16
	smull	x9, w0, w8
	lsr	x9, x9, #32
	add	w9, w9, w0
	asr	w10, w9, #4
	add	w9, w10, w9, lsr #31
	mov	w10, #28
	mul	w9, w9, w10
	str	w9, [x20]
	add	w9, w19, w23
	lsl	w9, w9, #1
	sub	w9, w9, #8
	sdiv	w9, w9, w24
	smull	x8, w9, w8
	lsr	x8, x8, #32
	add	w8, w8, w9
	asr	w9, w8, #4
	add	w8, w9, w8, lsr #31
	mul	w8, w8, w10
LBB0_46:
	mov	w9, #1
	str	w9, [x21]
	b	LBB0_49
LBB0_47:
	sub	w8, w19, w24
	sdiv	w8, w8, w24
	lsl	w0, w8, #1
	b	LBB0_54
LBB0_48:
	mov	x0, x22
	bl	_bytestream2_get_le32
	mov	w8, #9363
	movk	w8, #37449, lsl #16
	smull	x8, w0, w8
	lsr	x8, x8, #32
	add	w8, w8, w0
	asr	w9, w8, #4
	add	w8, w9, w8, lsr #31
	mov	w9, #28
	mul	w8, w8, w9
	str	w8, [x20]
	sub	w8, w19, #12
	mov	w10, #34953
	movk	w10, #34952, lsl #16
	smull	x10, w8, w10
	lsr	x10, x10, #32
	add	w8, w10, w8
	asr	w10, w8, #4
	add	w8, w10, w8, lsr #31
	mul	w8, w8, w9
LBB0_49:
	ldr	w9, [x20]
	cmp	w9, w8
	ccmp	w9, #1, #8, le
Lloh13:
	adrp	x9, _AVERROR_INVALIDDATA@GOTPAGE
Lloh14:
	ldr	x9, [x9, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	csel	w0, w9, w8, lt
	b	LBB0_54
LBB0_50:
	add	w8, w24, w24, lsl #4
	lsl	w8, w8, #1
	cmp	w8, w19
	b.gt	LBB0_53
; %bb.51:
	mov	w0, #64
	b	LBB0_54
LBB0_52:
	mov	w8, #76
	mul	w8, w24, w8
	cmp	w8, w19
	b.le	LBB0_59
LBB0_53:
	mov	w0, #0
LBB0_54:
	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_55:
	add	w8, w24, w24, lsl #3
	sdiv	w8, w19, w8
	lsl	w0, w8, #4
	b	LBB0_54
LBB0_56:
	mov	x0, x22
	mov	w1, #4
	bl	_bytestream2_skip
	ldr	x8, [x23, #8]
	ldr	w8, [x8]
	mov	x0, x22
	cmp	w8, #130
	b.ne	LBB0_60
; %bb.57:
	bl	_bytestream2_get_le32
	b	LBB0_61
LBB0_58:
	lsl	w8, w8, #1
	sdiv	w8, w8, w24
	add	w0, w8, #1
	b	LBB0_54
LBB0_59:
	mov	w0, #128
	b	LBB0_54
LBB0_60:
	bl	_bytestream2_get_be32
LBB0_61:
	str	w0, [x20]
	mov	w8, #-36
	madd	w8, w24, w8, w19
	sub	w8, w8, #8
	sdiv	w8, w8, w24
	add	w9, w8, #7
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w10, w9, #3
	mov	w11, #14
	and	w9, w9, #0xfffffff8
	sub	w8, w8, w9
	lsl	w9, w8, #1
	sub	w9, w9, #2
	cmp	w8, #1
	csel	w8, w9, wzr, gt
	madd	w8, w10, w11, w8
	b	LBB0_46
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_20-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_26-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_30-LBB0_3)>>2
	.byte	(LBB0_50-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_33-LBB0_3)>>2
	.byte	(LBB0_34-LBB0_3)>>2
	.byte	(LBB0_38-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_52-LBB0_3)>>2
	.byte	(LBB0_41-LBB0_3)>>2
	.byte	(LBB0_42-LBB0_3)>>2
	.byte	(LBB0_43-LBB0_3)>>2
	.byte	(LBB0_47-LBB0_3)>>2
	.byte	(LBB0_48-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_55-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
lJTI0_1:
	.byte	(LBB0_17-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
	.byte	(LBB0_20-LBB0_6)>>2
	.byte	(LBB0_23-LBB0_6)>>2
	.byte	(LBB0_54-LBB0_6)>>2
	.byte	(LBB0_26-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_30-LBB0_6)>>2
	.byte	(LBB0_54-LBB0_6)>>2
	.byte	(LBB0_54-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_54-LBB0_6)>>2
	.byte	(LBB0_33-LBB0_6)>>2
	.byte	(LBB0_34-LBB0_6)>>2
	.byte	(LBB0_38-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_54-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_54-LBB0_6)>>2
	.byte	(LBB0_41-LBB0_6)>>2
	.byte	(LBB0_42-LBB0_6)>>2
	.byte	(LBB0_43-LBB0_6)>>2
	.byte	(LBB0_47-LBB0_6)>>2
	.byte	(LBB0_48-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_ff_adpcm_ima_block_sizes,8,3   ; @ff_adpcm_ima_block_sizes
	.comm	_ff_adpcm_ima_block_samples,8,3 ; @ff_adpcm_ima_block_samples
	.no_dead_strip	_get_nb_samples
.subsections_via_symbols
