	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function read_dct_coeffs
LCPI0_0:
	.long	4                               ## 0x4
	.long	24                              ## 0x18
	.long	44                              ## 0x2c
	.long	1                               ## 0x1
LCPI0_1:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	3                               ## 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_read_dct_coeffs:                       ## @read_dct_coeffs
	.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	$1128, %rsp                     ## imm = 0x468
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -1152(%rbp)                ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, -1136(%rbp)               ## 8-byte Spill
	movq	%rdx, -1144(%rbp)               ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_get_bits_left
	cmpl	$3, %eax
	jle	LBB0_1
## %bb.2:
	movq	%r15, -1160(%rbp)               ## 8-byte Spill
	movq	%r14, -1168(%rbp)               ## 8-byte Spill
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [4,24,44,1]
	movaps	%xmm0, -304(%rbp)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [0,0,0,3]
	movaps	%xmm0, -816(%rbp)
	movabsq	$12884901890, %rax              ## imm = 0x300000002
	movq	%rax, -288(%rbp)
	movabsq	$12884901891, %rax              ## imm = 0x300000003
	movq	%rax, -800(%rbp)
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_get_bits
	testl	%eax, %eax
	jle	LBB0_3
## %bb.9:
	movl	%eax, %ecx
	movl	$64, %r12d
	movl	$70, %esi
	xorl	%r14d, %r14d
	movq	%rbx, -1120(%rbp)               ## 8-byte Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%r12d, %edx
	movl	%r12d, -1080(%rbp)              ## 4-byte Spill
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	-1080(%rbp), %edx               ## 4-byte Reload
	movl	%edx, %r12d
	cmpl	$2, %eax
	jl	LBB0_4
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##       Child Loop BB0_15 Depth 3
                                        ##       Child Loop BB0_25 Depth 3
	movl	%ecx, %eax
	leal	-1(%rax), %ecx
	cmpl	%esi, %r12d
	jge	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$1, %edx
	shll	%cl, %edx
	movl	%edx, -1112(%rbp)               ## 4-byte Spill
	movl	%r12d, %edx
	movl	%r12d, -1080(%rbp)              ## 4-byte Spill
	movl	%ecx, -1084(%rbp)               ## 4-byte Spill
	movq	%rax, -1104(%rbp)               ## 8-byte Spill
LBB0_14:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_15 Depth 3
                                        ##       Child Loop BB0_25 Depth 3
	movq	%r14, -1096(%rbp)               ## 8-byte Spill
	movslq	%r12d, %r12
	movl	%esi, -1076(%rbp)               ## 4-byte Spill
	movslq	%esi, %r15
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=3
	incq	%r12
	cmpq	%r15, %r12
	jge	LBB0_18
LBB0_15:                                ##   Parent Loop BB0_11 Depth=1
                                        ##     Parent Loop BB0_14 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	-1072(%rbp,%r12,4), %r14d
	movl	-560(%rbp,%r12,4), %r13d
	movl	%r13d, %eax
	orl	%r14d, %eax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=3
	movq	%rbx, %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=2
	cmpl	$3, %r14d
	ja	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_14 Depth=2
	movslq	%r13d, %rdx
	movl	%r14d, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_22:                                ##   in Loop: Header=BB0_14 Depth=2
	leal	4(%r13), %eax
	movl	%eax, -560(%rbp,%r12,4)
	movl	$1, %eax
	movl	%r12d, %ecx
	movl	%r12d, -1108(%rbp)              ## 4-byte Spill
	jmp	LBB0_24
LBB0_33:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	$2, -1072(%rbp,%r12,4)
	leaq	-1072(,%r15,4), %rdi
	addq	%rbp, %rdi
	movl	$12, %edx
	leaq	L_.memset_pattern(%rip), %rsi
	callq	_memset_pattern16
	leal	4(%r13), %eax
	movl	%eax, -560(%rbp,%r15,4)
	leal	8(%r13), %eax
	movl	%eax, -556(%rbp,%r15,4)
	addl	$12, %r13d
	movl	%r13d, -552(%rbp,%r15,4)
	addl	$3, %r15d
	movl	%r15d, %esi
	movq	-1096(%rbp), %r14               ## 8-byte Reload
	jmp	LBB0_38
LBB0_23:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	$0, -560(%rbp,%r12,4)
	leal	1(%r12), %eax
	movl	%eax, -1108(%rbp)               ## 4-byte Spill
	xorl	%eax, %eax
LBB0_24:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	-1096(%rbp), %r14               ## 8-byte Reload
	movl	%eax, -1072(%rbp,%r12,4)
	movq	-1136(%rbp), %rax               ## 8-byte Reload
	leaq	(%rax,%rdx,8), %rax
	movq	%rax, -1128(%rbp)               ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	-1080(%rbp), %ebx               ## 4-byte Reload
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_25 Depth=3
	movslq	%ebx, %rax
	decl	%ebx
	leal	(%r15,%r13), %ecx
	movl	%ecx, -564(%rbp,%rax,4)
	movl	$3, -1076(%rbp,%rax,4)
LBB0_31:                                ##   in Loop: Header=BB0_25 Depth=3
	incq	%r15
	cmpl	$4, %r15d
	je	LBB0_32
LBB0_25:                                ##   Parent Loop BB0_11 Depth=1
                                        ##     Parent Loop BB0_14 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	-1120(%rbp), %rdi               ## 8-byte Reload
	callq	_get_bits1
	testl	%eax, %eax
	jne	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=3
	movl	-1084(%rbp), %esi               ## 4-byte Reload
	testl	%esi, %esi
	je	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_25 Depth=3
	movq	%r14, -1096(%rbp)               ## 8-byte Spill
	movq	-1120(%rbp), %r14               ## 8-byte Reload
	movq	%r14, %rdi
	callq	_get_bits
	movl	%eax, %r12d
	orl	-1112(%rbp), %r12d              ## 4-byte Folded Reload
	movq	%r14, %rdi
	movq	-1096(%rbp), %r14               ## 8-byte Reload
	callq	_get_bits1
	movl	%eax, %ecx
	negl	%ecx
	xorl	%r12d, %ecx
	addl	%eax, %ecx
	jmp	LBB0_30
LBB0_28:                                ##   in Loop: Header=BB0_25 Depth=3
	movq	-1120(%rbp), %rdi               ## 8-byte Reload
	callq	_get_bits1
	addl	%eax, %eax
	movl	$1, %ecx
	subl	%eax, %ecx
LBB0_30:                                ##   in Loop: Header=BB0_25 Depth=3
	movq	-1128(%rbp), %rax               ## 8-byte Reload
	movq	(%rax,%r15,8), %rax
	movq	-1144(%rbp), %rdx               ## 8-byte Reload
	movl	%ecx, (%rdx,%rax,4)
	movslq	%r14d, %rax
	incl	%r14d
	leal	(%r15,%r13), %ecx
	movq	-1152(%rbp), %rdx               ## 8-byte Reload
	movl	%ecx, (%rdx,%rax,4)
	jmp	LBB0_31
LBB0_32:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	%ebx, -1080(%rbp)               ## 4-byte Spill
	movl	-1108(%rbp), %eax               ## 4-byte Reload
	movl	%eax, %r12d
	movq	-1104(%rbp), %rax               ## 8-byte Reload
	movl	-1076(%rbp), %esi               ## 4-byte Reload
	movq	-1120(%rbp), %rbx               ## 8-byte Reload
	jmp	LBB0_39
LBB0_34:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	%rdx, -1128(%rbp)               ## 8-byte Spill
	movl	-1084(%rbp), %esi               ## 4-byte Reload
	testl	%esi, %esi
	movq	-1096(%rbp), %r14               ## 8-byte Reload
	movq	%rbx, %rdi
	je	LBB0_35
## %bb.36:                              ##   in Loop: Header=BB0_14 Depth=2
	callq	_get_bits
	movl	%eax, %r15d
	orl	-1112(%rbp), %r15d              ## 4-byte Folded Reload
	movq	%rbx, %rdi
	callq	_get_bits1
	movl	%eax, %ecx
	negl	%ecx
	xorl	%r15d, %ecx
	addl	%eax, %ecx
	jmp	LBB0_37
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	-1096(%rbp), %r14               ## 8-byte Reload
	movq	-1104(%rbp), %rax               ## 8-byte Reload
	movl	-1076(%rbp), %esi               ## 4-byte Reload
	jmp	LBB0_39
LBB0_35:                                ##   in Loop: Header=BB0_14 Depth=2
	callq	_get_bits1
	addl	%eax, %eax
	movl	$1, %ecx
	subl	%eax, %ecx
LBB0_37:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	-1076(%rbp), %esi               ## 4-byte Reload
	movq	-1136(%rbp), %rax               ## 8-byte Reload
	movq	-1128(%rbp), %rdx               ## 8-byte Reload
	movq	(%rax,%rdx,8), %rax
	movq	-1144(%rbp), %rdx               ## 8-byte Reload
	movl	%ecx, (%rdx,%rax,4)
	movslq	%r14d, %rax
	incl	%r14d
	movq	-1152(%rbp), %rcx               ## 8-byte Reload
	movl	%r13d, (%rcx,%rax,4)
	movl	$0, -560(%rbp,%r12,4)
	movl	$0, -1072(%rbp,%r12,4)
	leal	1(%r12), %eax
	movl	%eax, %r12d
LBB0_38:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	-1104(%rbp), %rax               ## 8-byte Reload
LBB0_39:                                ##   in Loop: Header=BB0_14 Depth=2
	cmpl	%esi, %r12d
	movl	-1084(%rbp), %ecx               ## 4-byte Reload
	jl	LBB0_14
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-1096(%rbp), %r14               ## 8-byte Reload
	movl	-1084(%rbp), %ecx               ## 4-byte Reload
	movq	-1104(%rbp), %rax               ## 8-byte Reload
	movl	-1076(%rbp), %esi               ## 4-byte Reload
	jmp	LBB0_10
LBB0_3:
	xorl	%r14d, %r14d
LBB0_4:
	movq	%r14, %r15
	movl	16(%rbp), %ecx
	cmpl	$-1, %ecx
	movq	-1168(%rbp), %r14               ## 8-byte Reload
	movq	-1160(%rbp), %rax               ## 8-byte Reload
	je	LBB0_5
## %bb.40:
	cmpl	$16, %ecx
	jb	LBB0_6
## %bb.41:
	movl	(%rax), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
LBB0_1:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_7
LBB0_5:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_get_bits
	movl	%eax, %ecx
LBB0_6:
	movl	%r15d, (%r14)
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.42:
	movl	%ecx, %eax
	addq	$1128, %rsp                     ## imm = 0x468
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_33
	.long	L0_0_set_23
	.long	L0_0_set_34
	.end_data_region
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"quant_index %d out of range\n"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	2                               ## 0x2

	.no_dead_strip	_read_dct_coeffs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function read_dct_coeffs
lCPI0_0:
	.long	4                               ; 0x4
	.long	24                              ; 0x18
	.long	44                              ; 0x2c
	.long	1                               ; 0x1
lCPI0_1:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	3                               ; 0x3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_2:
	.long	2                               ; 0x2
	.long	3                               ; 0x3
lCPI0_3:
	.long	4                               ; 0x4
	.long	8                               ; 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_read_dct_coeffs:                       ; @read_dct_coeffs
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	sub	sp, sp, #1120
	mov	x19, x6
	stp	x3, x5, [sp, #32]               ; 16-byte Folded Spill
	mov	x20, x4
	str	x2, [sp, #24]                   ; 8-byte Folded Spill
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
	mov	x0, x1
	bl	_get_bits_left
	cmp	w0, #3
	b.le	LBB0_54
; %bb.1:
	stp	x21, x20, [sp]                  ; 16-byte Folded Spill
	str	w19, [sp, #20]                  ; 4-byte Folded Spill
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp, #848]
Lloh5:
	adrp	x8, lCPI0_1@PAGE
Lloh6:
	ldr	q0, [x8, lCPI0_1@PAGEOFF]
	str	q0, [sp, #336]
Lloh7:
	adrp	x8, lCPI0_2@PAGE
Lloh8:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	str	d0, [sp, #864]
	movi.2s	v0, #3
	str	d0, [sp, #352]
	mov	x0, x22
	mov	w1, #4
	bl	_get_bits
	cmp	w0, #1
	b.lt	LBB0_50
; %bb.2:
	mov	x27, x0
	str	wzr, [sp, #60]                  ; 4-byte Folded Spill
	mov	w25, #64
	mov	w9, #70
	add	x20, sp, #80
	add	x21, sp, #592
Lloh9:
	adrp	x8, lCPI0_3@PAGE
Lloh10:
	ldr	d8, [x8, lCPI0_3@PAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x25
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x23
	cmp	w10, #2
	b.lt	LBB0_51
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	mov	x10, x27
	sub	w27, w27, #1
	cmp	w25, w9
	b.ge	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #1
	lsl	w8, w8, w27
	stp	w8, w10, [sp, #64]              ; 8-byte Folded Spill
	mov	x23, x25
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	mov	x26, x23
	mov	x23, x27
	sxtw	x24, w25
	str	x9, [sp, #72]                   ; 8-byte Folded Spill
	sxtw	x25, w9
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=3
	add	x24, x24, #1
	cmp	x24, x25
	b.ge	LBB0_49
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	lsl	x27, x24, #2
	ldr	w19, [x20, x27]
	ldr	w28, [x21, x27]
	orr	w8, w28, w19
	cbz	w8, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	mov	x0, x22
	bl	_get_bits1
	cbz	w0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=2
	cmp	w19, #3
	b.hi	LBB0_20
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=2
	sxtw	x8, w28
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
Lloh11:
	adrp	x10, lJTI0_0@PAGE
Lloh12:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x8, LBB0_13
	ldrb	w9, [x10, x19]
	add	x8, x8, x9, lsl #2
	br	x8
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=2
	add	w8, w28, #4
	str	w8, [x21, x24, lsl #2]
	mov	w8, #1
	mov	x25, x24
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w8, #2
	str	w8, [x20, x24, lsl #2]
	lsl	x19, x25, #2
	add	x0, x20, x19
Lloh13:
	adrp	x1, l_.memset_pattern@PAGE
Lloh14:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	mov	w2, #12
	bl	_memset_pattern16
	dup.2s	v0, w28
	add.2s	v0, v0, v8
	add	x8, x21, x19
	str	d0, [x8]
	add	w9, w28, #12
	str	w9, [x8, #8]
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	add	w9, w9, #3
	mov	x25, x24
	mov	x27, x23
	b	LBB0_26
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w8, #0
	str	wzr, [x21, x24, lsl #2]
	add	w25, w24, #1
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=2
	str	w8, [x20, x24, lsl #2]
	mov	x0, x22
	bl	_get_bits1
	mov	x27, x23
	cbz	w0, LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=2
	sxtw	x8, w26
	sub	x23, x8, #1
	lsl	x8, x23, #2
	str	w28, [x21, x8]
	mov	w9, #3
	str	w9, [x20, x8]
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	ldr	x26, [sp, #48]                  ; 8-byte Folded Reload
	b	LBB0_29
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=2
	cbz	w23, LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x1, x23
	mov	x0, x22
	bl	_get_bits
	ldr	w8, [sp, #64]                   ; 4-byte Folded Reload
	orr	w19, w0, w8
	mov	x0, x22
	bl	_get_bits1
	neg	w8, w0
	eor	w8, w19, w8
	add	w8, w8, w0
	b	LBB0_24
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x25, x24
	b	LBB0_25
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x23, x26
	mov	x0, x22
	cbz	w27, LBB0_27
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x1, x27
	bl	_get_bits
	ldr	w8, [sp, #64]                   ; 4-byte Folded Reload
	orr	w19, w0, w8
	mov	x0, x22
	bl	_get_bits1
	neg	w8, w0
	eor	w8, w19, w8
	add	w8, w8, w0
	b	LBB0_28
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x22
	bl	_get_bits1
	mov	w8, #1
	sub	w8, w8, w0, lsl #1
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	ldr	x9, [x9, x10, lsl #3]
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	str	w8, [x10, x9, lsl #2]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w9, [sp, #60]                   ; 4-byte Folded Reload
	str	w28, [x8, w9, sxtw #2]
	add	w8, w9, #1
	str	wzr, [x21, x27]
	add	w25, w24, #1
	str	wzr, [x20, x27]
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
LBB0_25:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x27, x23
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
LBB0_26:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x23, x26
	b	LBB0_48
LBB0_27:                                ;   in Loop: Header=BB0_7 Depth=2
	bl	_get_bits1
	mov	w8, #1
	sub	w8, w8, w0, lsl #1
LBB0_28:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x26, [sp, #48]                  ; 8-byte Folded Reload
	ldp	x10, x9, [sp, #24]              ; 16-byte Folded Reload
	ldr	x9, [x9, x26, lsl #3]
	str	w8, [x10, x9, lsl #2]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w9, [sp, #60]                   ; 4-byte Folded Reload
	str	w28, [x8, w9, sxtw #2]
	add	w8, w9, #1
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
LBB0_29:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x24, x26, #1
	mov	x0, x22
	bl	_get_bits1
	cbz	w0, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_7 Depth=2
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	sxtw	x8, w23
	sub	x23, x8, #1
	lsl	x8, x23, #2
	str	w24, [x21, x8]
	mov	w9, #3
	str	w9, [x20, x8]
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	b	LBB0_35
LBB0_31:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x22
	cbz	w27, LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x1, x27
	bl	_get_bits
	ldr	w8, [sp, #64]                   ; 4-byte Folded Reload
	orr	w19, w0, w8
	mov	x0, x22
	bl	_get_bits1
	neg	w8, w0
	eor	w8, w19, w8
	add	w8, w8, w0
	b	LBB0_34
LBB0_33:                                ;   in Loop: Header=BB0_7 Depth=2
	bl	_get_bits1
	mov	w8, #1
	sub	w8, w8, w0, lsl #1
LBB0_34:                                ;   in Loop: Header=BB0_7 Depth=2
	ldp	x10, x9, [sp, #24]              ; 16-byte Folded Reload
	ldr	x9, [x9, x24, lsl #3]
	str	w8, [x10, x9, lsl #2]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w9, [sp, #60]                   ; 4-byte Folded Reload
	str	w24, [x8, w9, sxtw #2]
	add	w8, w9, #1
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
LBB0_35:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x24, x26, #2
	mov	x0, x22
	bl	_get_bits1
	cbz	w0, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_7 Depth=2
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	sxtw	x8, w23
	sub	x23, x8, #1
	lsl	x8, x23, #2
	str	w24, [x21, x8]
	mov	w9, #3
	str	w9, [x20, x8]
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	b	LBB0_41
LBB0_37:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x22
	cbz	w27, LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x1, x27
	bl	_get_bits
	ldr	w8, [sp, #64]                   ; 4-byte Folded Reload
	orr	w19, w0, w8
	mov	x0, x22
	bl	_get_bits1
	neg	w8, w0
	eor	w8, w19, w8
	add	w8, w8, w0
	b	LBB0_40
LBB0_39:                                ;   in Loop: Header=BB0_7 Depth=2
	bl	_get_bits1
	mov	w8, #1
	sub	w8, w8, w0, lsl #1
LBB0_40:                                ;   in Loop: Header=BB0_7 Depth=2
	ldp	x10, x9, [sp, #24]              ; 16-byte Folded Reload
	ldr	x9, [x9, x24, lsl #3]
	str	w8, [x10, x9, lsl #2]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w9, [sp, #60]                   ; 4-byte Folded Reload
	str	w24, [x8, w9, sxtw #2]
	add	w8, w9, #1
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
LBB0_41:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x24, x26, #3
	mov	x0, x22
	bl	_get_bits1
	cbz	w0, LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_7 Depth=2
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	sxtw	x8, w23
	sub	x23, x8, #1
	lsl	x8, x23, #2
	str	w24, [x21, x8]
	mov	w9, #3
	str	w9, [x20, x8]
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	b	LBB0_47
LBB0_43:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x22
	cbz	w27, LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x1, x27
	bl	_get_bits
	ldr	w8, [sp, #64]                   ; 4-byte Folded Reload
	orr	w19, w0, w8
	mov	x0, x22
	bl	_get_bits1
	neg	w8, w0
	eor	w8, w19, w8
	add	w8, w8, w0
	b	LBB0_46
LBB0_45:                                ;   in Loop: Header=BB0_7 Depth=2
	bl	_get_bits1
	mov	w8, #1
	sub	w8, w8, w0, lsl #1
LBB0_46:                                ;   in Loop: Header=BB0_7 Depth=2
	ldp	x10, x9, [sp, #24]              ; 16-byte Folded Reload
	ldr	x9, [x9, x24, lsl #3]
	str	w8, [x10, x9, lsl #2]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w9, [sp, #60]                   ; 4-byte Folded Reload
	str	w24, [x8, w9, sxtw #2]
	add	w8, w9, #1
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
LBB0_47:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
LBB0_48:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w10, [sp, #68]                  ; 4-byte Folded Reload
	cmp	w25, w9
	b.lt	LBB0_7
	b	LBB0_4
LBB0_49:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, x23
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	mov	x23, x26
	ldr	w10, [sp, #68]                  ; 4-byte Folded Reload
	b	LBB0_4
LBB0_50:
	str	wzr, [sp, #60]                  ; 4-byte Folded Spill
LBB0_51:
	ldr	w3, [sp, #20]                   ; 4-byte Folded Reload
	cmn	w3, #1
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	b.eq	LBB0_55
; %bb.52:
	cmp	w3, #16
	b.lo	LBB0_56
; %bb.53:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
LBB0_54:
Lloh20:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	b	LBB0_57
LBB0_55:
	mov	x0, x22
	mov	w1, #4
	bl	_get_bits
	mov	x3, x0
LBB0_56:
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	str	w8, [x19]
LBB0_57:
	ldur	x8, [x29, #-112]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_59
; %bb.58:
	mov	x0, x3
	add	sp, sp, #1120
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_59:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_14-LBB0_13)>>2
	.byte	(LBB0_15-LBB0_13)>>2
	.byte	(LBB0_18-LBB0_13)>>2
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"quant_index %d out of range\n"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	2                               ; 0x2

	.no_dead_strip	_read_dct_coeffs
.subsections_via_symbols
