	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_setup_header
_parse_setup_header:                    ## @parse_setup_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, %r15
	cmpl	$6, %edx
	jg	LBB0_2
## %bb.1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_6
LBB0_2:
	movq	%rsi, %rbx
	cmpl	$5, (%rsi)
	jne	LBB0_5
## %bb.3:
	movl	%edx, %r12d
	leaq	4(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_6
LBB0_5:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_6:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	%r12d, %edi
	callq	_av_malloc
	testq	%rax, %rax
	je	LBB0_34
## %bb.9:
	movq	%rax, %r14
	movl	%r12d, %eax
	cmpl	$8, %r12d
	jae	LBB0_35
LBB0_10:
	xorl	%r9d, %r9d
LBB0_11:
	movq	%r9, %rdx
	notq	%rdx
	testb	$1, %al
	je	LBB0_13
## %bb.12:
	movl	%r9d, %ecx
	notl	%ecx
	addl	%r12d, %ecx
	movslq	%ecx, %rcx
	movl	(%rbx,%rcx,4), %ecx
	movl	%ecx, (%r14,%r9,4)
	orq	$1, %r9
LBB0_13:
	addq	%rax, %rdx
	je	LBB0_16
## %bb.14:
	subq	%r9, %rax
	movl	%r9d, %edx
	notl	%edx
	addl	%r12d, %edx
	leaq	(%r14,%r9,4), %rcx
	addq	$4, %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %rdx
	movl	(%rbx,%rdx,4), %edi
	movl	%edi, -4(%rcx,%rsi,4)
	leal	-1(%rdx), %edi
	movslq	%edi, %rdi
	movl	(%rbx,%rdi,4), %edi
	movl	%edi, (%rcx,%rsi,4)
	addq	$2, %rsi
	addl	$-2, %edx
	cmpq	%rsi, %rax
	jne	LBB0_15
LBB0_16:
	shll	$3, %r12d
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_init_get_bits
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_get_bits_left
	cmpl	$98, %eax
	jl	LBB0_31
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%rbx, %rdi
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_17
## %bb.19:
	leaq	-44(%rbp), %rdi
	callq	_get_bits_count
	testl	%eax, %eax
	je	LBB0_31
## %bb.20:
	movl	%eax, %ebx
	leaq	-44(%rbp), %rdi
	callq	_get_bits_left
	cmpl	$97, %eax
	jl	LBB0_31
## %bb.21:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %rbx
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_get_bits
	cmpl	$63, %eax
	jg	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_get_bits
	testl	%eax, %eax
	jne	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_get_bits
	testl	%eax, %eax
	jne	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_skip_bits
	cmpl	$64, %r13d
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=1
	leal	1(%r13), %r14d
	movl	-44(%rbp), %eax
	movl	%eax, -64(%rbp)
	leaq	-64(%rbp), %rdi
	movl	$6, %esi
	callq	_get_bits
	cmpl	%eax, %r13d
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	$1, %ecx
	cmovel	%ecx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmovel	%r14d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_get_bits_left
	movl	%r14d, %r13d
	cmpl	$96, %eax
	jg	LBB0_22
LBB0_27:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	-60(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_31
## %bb.28:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpl	$3, %ebx
	jl	LBB0_43
## %bb.29:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_avpriv_request_sample
	cmpl	$64, %ebx
	jb	LBB0_43
## %bb.30:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_32
LBB0_31:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_32:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_33:
	movq	%r14, %rdi
	callq	_av_free
	jmp	LBB0_7
LBB0_34:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_av_log
	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_35:
	leaq	-1(%rax), %rsi
	leal	-1(%r12), %edx
	movl	%edx, %edi
	subl	%esi, %edi
	xorl	%r9d, %r9d
	cmpl	%edx, %edi
	jg	LBB0_11
## %bb.36:
	shrq	$32, %rsi
	jne	LBB0_11
## %bb.37:
	movslq	%edx, %rcx
	leaq	(%rbx,%rcx,4), %rdx
	addq	$4, %rdx
	cmpq	%rdx, %r14
	jae	LBB0_40
## %bb.38:
	leaq	(%r14,%rax,4), %rdx
	incq	%rcx
	subq	%rax, %rcx
	leaq	(%rbx,%rcx,4), %rcx
	cmpq	%rdx, %rcx
	jb	LBB0_10
LBB0_40:
	movl	%eax, %r9d
	andl	$-8, %r9d
	leaq	-8(%r9), %rdx
	movq	%rdx, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rdx, %rdx
	je	LBB0_47
## %bb.41:
	movq	%r8, %rdi
	andq	$-2, %rdi
	leal	-9(%r12), %esi
	xorl	%edx, %edx
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	leal	8(%rsi), %ecx
	movslq	%ecx, %rcx
	movdqu	-28(%rbx,%rcx,4), %xmm0
	movdqu	-12(%rbx,%rcx,4), %xmm1
	pshufd	$27, %xmm1, %xmm1               ## xmm1 = xmm1[3,2,1,0]
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm1, (%r14,%rdx,4)
	movdqu	%xmm0, 16(%r14,%rdx,4)
	movslq	%esi, %rsi
	movdqu	-28(%rbx,%rsi,4), %xmm0
	movdqu	-12(%rbx,%rsi,4), %xmm1
	pshufd	$27, %xmm1, %xmm1               ## xmm1 = xmm1[3,2,1,0]
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm1, 32(%r14,%rdx,4)
	movdqu	%xmm0, 48(%r14,%rdx,4)
	addq	$16, %rdx
	addl	$-16, %esi
	addq	$-2, %rdi
	jne	LBB0_42
	jmp	LBB0_48
LBB0_43:
	movl	%ebx, (%r15)
	leal	-1(%rbx), %edi
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	callq	_av_log2
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %ecx
	movl	$-1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	notl	%eax
	leal	(%rax,%rax), %ecx
	movl	%ecx, 4(%r15)
	addl	%eax, %eax
	addl	$2, %eax
	movl	%eax, 8(%r15)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_init_get_bits
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_skip_bits_long
	xorl	%ebx, %ebx
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_33
## %bb.44:
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	leaq	-44(%rbp), %r12
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$40, %esi
	callq	_skip_bits_long
	movq	%r12, %rdi
	callq	_get_bits1
	movq	16(%r15), %rcx
	movq	%rax, (%rcx,%r13,8)
	addq	$-1, %r13
	jb	LBB0_45
## %bb.46:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_47:
	xorl	%edx, %edx
LBB0_48:
	testb	$1, %r8b
	je	LBB0_50
## %bb.49:
	movl	%edx, %ecx
	notl	%ecx
	addl	%r12d, %ecx
	movslq	%ecx, %rcx
	movdqu	-28(%rbx,%rcx,4), %xmm0
	movdqu	-12(%rbx,%rcx,4), %xmm1
	pshufd	$27, %xmm1, %xmm1               ## xmm1 = xmm1[3,2,1,0]
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm1, (%r14,%rdx,4)
	movdqu	%xmm0, 16(%r14,%rdx,4)
LBB0_50:
	cmpq	%rax, %r9
	jne	LBB0_11
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Setup header is too short\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"Wrong packet type in Setup header\n"

L_.str.2:                               ## @.str.2
	.asciz	"vorbis"

L_.str.3:                               ## @.str.3
	.asciz	"Invalid packet signature in Setup header\n"

L_.str.4:                               ## @.str.4
	.asciz	"Out of memory\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.5:                               ## @.str.5
	.asciz	"Invalid Setup header\n"

L_.str.6:                               ## @.str.6
	.asciz	"%d modes (either a false positive or a sample from an unknown encoder)"

L_.str.7:                               ## @.str.7
	.asciz	"Unsupported mode count: %d\n"

	.no_dead_strip	_parse_setup_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_setup_header
_parse_setup_header:                    ; @parse_setup_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cmp	w2, #6
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	mov	x22, x1
	ldr	w8, [x1]
	cmp	w8, #5
	b.ne	LBB0_5
; %bb.3:
	mov	x21, x2
	add	x0, x22, #4
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #6
	bl	_memcmp
	cbz	x0, LBB0_8
; %bb.4:
Lloh7:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.3@PAGE
Lloh11:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_av_log
Lloh17:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
	mov	x0, x21
	bl	_av_malloc
	cbz	x0, LBB0_31
; %bb.9:
	mov	x20, x0
	mov	w8, w21
	cmp	w21, #16
	b.hs	LBB0_32
LBB0_10:
	mov	x9, #0
LBB0_11:
	mvn	w10, w9
	add	w10, w10, w21
	add	x11, x20, x9, lsl #2
	sub	x8, x8, x9
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x22, w10, sxtw #2]
	str	w9, [x11], #4
	sub	w10, w10, #1
	subs	x8, x8, #1
	b.ne	LBB0_12
LBB0_13:
	lsl	w21, w21, #3
	add	x0, sp, #12
	mov	x1, x20
	mov	x2, x21
	bl	_init_get_bits
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_get_bits_left
	cmp	w0, #98
	b.lt	LBB0_28
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #12
	bl	_get_bits1
	cbz	x0, LBB0_14
; %bb.16:
	add	x0, sp, #12
	bl	_get_bits_count
	cbz	w0, LBB0_28
; %bb.17:
	mov	x22, x0
	add	x0, sp, #12
	bl	_get_bits_left
	cmp	w0, #97
	b.lt	LBB0_28
; %bb.18:
	mov	w23, #0
	mov	w24, #0
	mov	w25, #0
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	mov	w1, #8
	bl	_get_bits
	cmp	w0, #63
	b.gt	LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x0, sp, #12
	mov	w1, #16
	bl	_get_bits
	cbnz	w0, LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x0, sp, #12
	mov	w1, #16
	bl	_get_bits
	cbnz	w0, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x0, sp, #12
	mov	w1, #1
	bl	_skip_bits
	cmp	w25, #64
	b.eq	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	add	w26, w25, #1
	ldr	w8, [sp, #12]
	str	w8, [sp, #8]
	add	x0, sp, #8
	mov	w1, #6
	bl	_get_bits
	cmp	w25, w0
	csinc	w24, w24, wzr, ne
	csinc	w23, w23, w25, ne
	add	x0, sp, #12
	bl	_get_bits_left
	mov	x25, x26
	cmp	w0, #96
	b.gt	LBB0_19
LBB0_24:
	cbz	w24, LBB0_28
; %bb.25:
	cmp	w23, #3
	b.lt	LBB0_39
; %bb.26:
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_avpriv_request_sample
	cmp	w23, #64
	b.lo	LBB0_39
; %bb.27:
Lloh22:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	str	x23, [sp]
Lloh25:
	adrp	x2, l_.str.7@PAGE
Lloh26:
	add	x2, x2, l_.str.7@PAGEOFF
	b	LBB0_29
LBB0_28:
Lloh27:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x2, l_.str.5@PAGE
Lloh31:
	add	x2, x2, l_.str.5@PAGEOFF
LBB0_29:
	mov	x0, x19
	bl	_av_log
Lloh32:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh34:
	ldr	w19, [x8]
LBB0_30:
	mov	x0, x20
	bl	_av_free
	b	LBB0_7
LBB0_31:
Lloh35:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x2, l_.str.4@PAGE
Lloh39:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh40:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_AVERROR
LBB0_32:
	mov	x9, #0
	sub	x10, x8, #1
	sub	w11, w21, #1
	sub	w12, w11, w10
	cmp	w12, w11
	b.gt	LBB0_11
; %bb.33:
	lsr	x12, x10, #32
	cbnz	x12, LBB0_11
; %bb.34:
	sxtw	x9, w11
	add	x9, x9, #1
	add	x11, x22, x9, lsl #2
	cmp	x20, x11
	b.hs	LBB0_36
; %bb.35:
	add	x11, x20, x8, lsl #2
	sub	x9, x9, x8
	add	x9, x22, x9, lsl #2
	cmp	x9, x11
	b.lo	LBB0_10
LBB0_36:
	and	x9, x8, #0xfffffff0
	add	x11, x20, #32
	mov	x12, x9
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	add	x13, x22, w10, sxtw #2
	ldur	q0, [x13, #-12]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	ldur	q1, [x13, #-28]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	ldur	q2, [x13, #-44]
	rev64.4s	v2, v2
	ext.16b	v2, v2, v2, #8
	ldur	q3, [x13, #-60]
	rev64.4s	v3, v3
	ext.16b	v3, v3, v3, #8
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	sub	w10, w10, #16
	sub	x12, x12, #16
	cbnz	x12, LBB0_37
; %bb.38:
	cmp	x9, x8
	b.ne	LBB0_11
	b	LBB0_13
LBB0_39:
	str	w23, [x19]
	subs	w0, w23, #1
	bl	_av_log2
	add	w8, w0, #1
	mov	w9, #-1
	lsl	w8, w9, w8
	mvn	w8, w8
	lsl	w8, w8, #1
	add	w9, w8, #2
	stp	w8, w9, [x19, #4]
	add	x0, sp, #12
	mov	x1, x20
	mov	x2, x21
	bl	_init_get_bits
	add	x0, sp, #12
	mov	x1, x22
	bl	_skip_bits_long
	subs	w8, w23, #1
	b.lt	LBB0_42
; %bb.40:
	lsl	x21, x8, #3
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	mov	w1, #40
	bl	_skip_bits_long
	add	x0, sp, #12
	bl	_get_bits1
	ldr	x8, [x19, #16]
	str	x0, [x8, x21]
	sub	x21, x21, #8
	cmn	x21, #8
	b.ne	LBB0_41
LBB0_42:
	mov	w19, #0
	b	LBB0_30
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	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	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setup header is too short\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"Wrong packet type in Setup header\n"

l_.str.2:                               ; @.str.2
	.asciz	"vorbis"

l_.str.3:                               ; @.str.3
	.asciz	"Invalid packet signature in Setup header\n"

l_.str.4:                               ; @.str.4
	.asciz	"Out of memory\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.5:                               ; @.str.5
	.asciz	"Invalid Setup header\n"

l_.str.6:                               ; @.str.6
	.asciz	"%d modes (either a false positive or a sample from an unknown encoder)"

l_.str.7:                               ; @.str.7
	.asciz	"Unsupported mode count: %d\n"

	.no_dead_strip	_parse_setup_header
.subsections_via_symbols
