	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_quant_table
_read_quant_table:                      ## @read_quant_table
	.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
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CONTEXT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leal	(,%rbx,4), %edx
	movq	%r12, %rdi
	movl	$128, %esi
	callq	_memset
	leaq	112(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	16(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%r10,%r9), %rax
	decq	%rax
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%r15d
	cmpl	$127, %eax
	jge	LBB0_18
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_get_symbol
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %ecx
	movl	$128, %edx
	subl	%r14d, %edx
	cmpl	%edx, %ecx
	ja	LBB0_25
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%ecx, %ecx
	je	LBB0_25
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %edx
	imull	-52(%rbp), %edx                 ## 4-byte Folded Reload
	movslq	%r14d, %r9
	cmpl	$7, %eax
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r9, %r14
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r8d
	incq	%r8
	movq	%r8, %r10
	andq	$-8, %r10
	movd	%edx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%r10), %rax
	movq	%rax, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$3, %esi
	cmpq	$24, %rax
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	andq	$-4, %rdi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r9,4), %rax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -112(%rax,%rbx,4)
	movdqu	%xmm0, -96(%rax,%rbx,4)
	movdqu	%xmm0, -80(%rax,%rbx,4)
	movdqu	%xmm0, -64(%rax,%rbx,4)
	movdqu	%xmm0, -48(%rax,%rbx,4)
	movdqu	%xmm0, -32(%rax,%rbx,4)
	movdqu	%xmm0, -16(%rax,%rbx,4)
	movdqu	%xmm0, (%rax,%rbx,4)
	addq	$32, %rbx
	addq	$-4, %rdi
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	addq	%r9, %rbx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx,4), %rax
	shlq	$5, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -16(%rax,%rdi)
	movdqu	%xmm0, (%rax,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%r10,%r9), %r14
	cmpq	%r10, %r8
	je	LBB0_24
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	subl	%r10d, %ecx
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%r14,4), %rax
	addq	%r13, %rax
	negl	%ecx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edx, (%rax)
	decq	%rsi
	addq	$4, %rax
	cmpl	%esi, %ecx
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	subq	%rsi, %r14
	leaq	-1(%r14), %rax
	jmp	LBB0_17
LBB0_25:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_22
LBB0_18:
	leaq	1020(%r13), %rax
	movl	$4, %ecx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edx, %edx
	subl	-12(%r13,%rcx,4), %edx
	movl	%edx, (%rax)
	xorl	%edx, %edx
	subl	-8(%r13,%rcx,4), %edx
	movl	%edx, -4(%rax)
	xorl	%edx, %edx
	subl	-4(%r13,%rcx,4), %edx
	movl	%edx, -8(%rax)
	cmpq	$128, %rcx
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	xorl	%edx, %edx
	subl	(%r13,%rcx,4), %edx
	movl	%edx, -12(%rax)
	addq	$-16, %rax
	addq	$4, %rcx
	jmp	LBB0_19
LBB0_21:
	xorl	%eax, %eax
	subl	508(%r13), %eax
	movl	%eax, 512(%r13)
	leal	(%r15,%r15), %eax
	decl	%eax
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_26
## %bb.23:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CONTEXT_SIZE,4,2               ## @CONTEXT_SIZE
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_read_quant_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_quant_table
_read_quant_table:                      ; @read_quant_table
	.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
	sub	sp, sp, #16
	mov	x20, x2
	mov	x19, 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, #-72]
Lloh3:
	adrp	x8, _CONTEXT_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CONTEXT_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	lsl	w2, w12, #2
	mov	w24, #128
	mov	x0, x22
	mov	w1, #128
	bl	_memset
	mov	w23, #0
	mov	w26, #0
	add	x25, x19, #32
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x11, x10
	sub	x8, x8, #1
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w23, #1
	cmp	w8, #127
	b.ge	LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x21
	mov	x1, x22
	mov	w2, #0
	bl	_get_symbol
	add	w8, w0, #1
	sub	w9, w24, w26
	cmp	w8, w9
	ccmp	w8, #0, #4, ls
	b.eq	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mul	w9, w23, w20
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	sxtw	x10, w26
	cmp	w0, #15
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x10
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w11, w0
	add	x12, x11, #1
	and	x11, x12, #0x1fffffff0
	add	x26, x11, x10
	sub	w8, w8, w11
	dup.4s	v0, w9
	add	x13, x25, x10, lsl #2
	mov	x14, x11
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q0, q0, [x13, #-32]
	stp	q0, q0, [x13], #64
	subs	x14, x14, #16
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x12, x11
	b.eq	LBB0_1
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w9, [x19, x26, lsl #2]
	add	x26, x26, #1
	subs	w8, w8, #1
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x26, #1
	b	LBB0_2
LBB0_11:
Lloh8:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_12:
	mov	w8, #1020
	mov	w9, #4
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x19, x9]
	neg	w10, w10
	str	w10, [x19, x8]
	sub	x8, x8, #4
	add	x9, x9, #4
	cmp	x9, #512
	b.ne	LBB0_13
; %bb.14:
	ldr	w8, [x19, #508]
	neg	w8, w8
	str	w8, [x19, #512]
	lsl	w8, w23, #1
	sub	w0, w8, #1
LBB0_15:
	ldur	x8, [x29, #-72]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	sub	sp, x29, #64
	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_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_CONTEXT_SIZE,4,2               ; @CONTEXT_SIZE
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_read_quant_table
.subsections_via_symbols
