	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_quant_matrix
_init_quant_matrix:                     ## @init_quant_matrix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	movq	8(%rdi), %rcx
	movq	_VC2_QM_DEF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$4, %r8d
	jg	LBB0_7
## %bb.1:
	cmpq	%rax, %rcx
	jne	LBB0_7
## %bb.2:
	movl	$0, 16(%rdi)
	testl	%r8d, %r8d
	jle	LBB0_21
## %bb.3:
	movq	24(%rdi), %rcx
	movq	32(%rdi), %rax
	movq	_ff_dirac_default_qmat@GOTPCREL(%rip), %r9
	movq	(%r9), %rsi
	movq	(%rsi,%rcx,8), %rsi
	movq	(%rsi), %rsi
	movq	(%rsi), %rsi
	movq	(%rax), %rax
	movq	%rsi, (%rax)
	movq	(%r9), %rsi
	movq	(%rsi,%rcx,8), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movq	32(%rdi), %rdx
	movq	(%rdx), %rdx
	movq	%rax, 8(%rdx)
	movq	(%rsi,%rcx,8), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movq	32(%rdi), %rdx
	movq	(%rdx), %rdx
	movq	%rax, 16(%rdx)
	movq	(%rsi,%rcx,8), %rax
	movq	(%rax), %rax
	movq	24(%rax), %rax
	movq	32(%rdi), %rdx
	movq	(%rdx), %rdx
	movq	%rax, 24(%rdx)
	cmpl	$1, %r8d
	je	LBB0_21
## %bb.4:
	movq	(%rsi,%rcx,8), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	32(%rdi), %rdx
	movq	8(%rdx), %rdx
	movq	%rax, (%rdx)
	movq	(%r9), %rsi
	movq	(%rsi,%rcx,8), %rax
	movq	8(%rax), %rax
	movq	8(%rax), %rax
	movq	32(%rdi), %rdx
	movq	8(%rdx), %rdx
	movq	%rax, 8(%rdx)
	movq	(%rsi,%rcx,8), %rax
	movq	8(%rax), %rax
	movq	16(%rax), %rax
	movq	32(%rdi), %rdx
	movq	8(%rdx), %rdx
	movq	%rax, 16(%rdx)
	movq	(%rsi,%rcx,8), %rax
	movq	8(%rax), %rax
	movq	24(%rax), %rax
	movq	32(%rdi), %rdx
	movq	8(%rdx), %rdx
	movq	%rax, 24(%rdx)
	cmpl	$2, %r8d
	je	LBB0_21
## %bb.5:
	movq	(%rsi,%rcx,8), %rax
	movq	16(%rax), %rax
	movq	(%rax), %rax
	movq	32(%rdi), %rdx
	movq	16(%rdx), %rdx
	movq	%rax, (%rdx)
	movq	(%r9), %rsi
	movq	(%rsi,%rcx,8), %rax
	movq	16(%rax), %rax
	movq	8(%rax), %rax
	movq	32(%rdi), %rdx
	movq	16(%rdx), %rdx
	movq	%rax, 8(%rdx)
	movq	(%rsi,%rcx,8), %rax
	movq	16(%rax), %rax
	movq	16(%rax), %rax
	movq	32(%rdi), %rdx
	movq	16(%rdx), %rdx
	movq	%rax, 16(%rdx)
	movq	(%rsi,%rcx,8), %rax
	movq	16(%rax), %rax
	movq	24(%rax), %rax
	movq	32(%rdi), %rdx
	movq	16(%rdx), %rdx
	movq	%rax, 24(%rdx)
	cmpl	$3, %r8d
	je	LBB0_21
## %bb.6:
	movq	(%rsi,%rcx,8), %rax
	movq	24(%rax), %rax
	movq	(%rax), %rax
	movq	32(%rdi), %rdx
	movq	24(%rdx), %rdx
	movq	%rax, (%rdx)
	movq	(%r9), %rax
	movq	(%rax,%rcx,8), %rdx
	movq	24(%rdx), %rdx
	movq	8(%rdx), %rdx
	movq	32(%rdi), %rsi
	movq	24(%rsi), %rsi
	movq	%rdx, 8(%rsi)
	movq	(%rax,%rcx,8), %rdx
	movq	24(%rdx), %rdx
	movq	16(%rdx), %rdx
	movq	32(%rdi), %rsi
	movq	24(%rsi), %rsi
	movq	%rdx, 16(%rsi)
	movq	(%rax,%rcx,8), %rax
	movq	24(%rax), %rax
	movq	24(%rax), %rax
	movq	32(%rdi), %rcx
	movq	24(%rcx), %rcx
	movq	%rax, 24(%rcx)
	popq	%rbp
	retq
LBB0_7:
	movl	$1, 16(%rdi)
	cmpq	%rax, %rcx
	jne	LBB0_14
## %bb.8:
	testl	%r8d, %r8d
	jle	LBB0_21
## %bb.9:
	xorl	%ecx, %ecx
	movq	_ff_dirac_default_qmat@GOTPCREL(%rip), %r9
	movq	_vc2_qm_col_tab@GOTPCREL(%rip), %r10
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r9), %rdx
	movq	24(%rdi), %rsi
	movq	32(%rdi), %rax
	movq	(%rdx,%rsi,8), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movq	(%rdx), %rdx
	movq	(%rax,%rcx,8), %rax
	movq	%rdx, (%rax)
	movq	(%r9), %rax
	movq	24(%rdi), %rdx
	movq	32(%rdi), %rsi
	movq	(%rax,%rdx,8), %rax
	movq	(%rax,%rcx,8), %rax
	movq	8(%rax), %rax
	movq	(%rsi,%rcx,8), %rdx
	movq	%rax, 8(%rdx)
	movq	(%r9), %rax
	movq	24(%rdi), %rdx
	movq	32(%rdi), %rsi
	movq	(%rax,%rdx,8), %rax
	movq	(%rax,%rcx,8), %rax
	movq	16(%rax), %rax
	movq	(%rsi,%rcx,8), %rdx
	movq	%rax, 16(%rdx)
	movq	24(%rdi), %rsi
	shlq	$3, %rsi
	addq	(%r9), %rsi
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	(%rsi), %rax
	movq	(%rax,%rcx,8), %rax
	movq	24(%rax), %rax
	movq	32(%rdi), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movq	%rax, 24(%rdx)
	incq	%rcx
	cmpq	%rcx, %r8
	je	LBB0_21
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$4, %rcx
	jb	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r10), %rsi
	movq	(%rsi,%rcx,8), %rsi
	movq	(%rsi), %rsi
	movq	32(%rdi), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movq	%rsi, (%rdx)
	movq	(%r10), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movq	8(%rdx), %rdx
	movq	32(%rdi), %rsi
	movq	(%rsi,%rcx,8), %rsi
	movq	%rdx, 8(%rsi)
	movq	(%r10), %rdx
	movq	(%rdx,%rcx,8), %rdx
	movq	16(%rdx), %rdx
	movq	32(%rdi), %rsi
	movq	(%rsi,%rcx,8), %rsi
	movq	%rdx, 16(%rsi)
	movq	%r10, %rsi
	jmp	LBB0_13
LBB0_14:
	movq	_VC2_QM_COL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_15
## %bb.18:
	testl	%r8d, %r8d
	jle	LBB0_21
## %bb.19:
	movq	_vc2_qm_col_tab@GOTPCREL(%rip), %r9
	movq	(%r9), %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdx,8), %rax
	movq	(%rax), %rax
	movq	32(%rdi), %rsi
	movq	(%rsi,%rdx,8), %rsi
	movq	%rax, (%rsi)
	movq	(%r9), %rsi
	movq	(%rsi,%rdx,8), %rax
	movq	8(%rax), %rax
	movq	32(%rdi), %rcx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rax, 8(%rcx)
	movq	(%rsi,%rdx,8), %rax
	movq	16(%rax), %rax
	movq	32(%rdi), %rcx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rax, 16(%rcx)
	movq	(%rsi,%rdx,8), %rax
	movq	24(%rax), %rax
	movq	32(%rdi), %rcx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rax, 24(%rcx)
	incq	%rdx
	cmpq	%rdx, %r8
	jne	LBB0_20
	jmp	LBB0_21
LBB0_15:
	testl	%r8d, %r8d
	jle	LBB0_21
## %bb.16:
	movq	_vc2_qm_flat_tab@GOTPCREL(%rip), %r9
	movq	(%r9), %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdx,8), %rax
	movq	(%rax), %rax
	movq	32(%rdi), %rsi
	movq	(%rsi,%rdx,8), %rsi
	movq	%rax, (%rsi)
	movq	(%r9), %rsi
	movq	(%rsi,%rdx,8), %rax
	movq	8(%rax), %rax
	movq	32(%rdi), %rcx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rax, 8(%rcx)
	movq	(%rsi,%rdx,8), %rax
	movq	16(%rax), %rax
	movq	32(%rdi), %rcx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rax, 16(%rcx)
	movq	(%rsi,%rdx,8), %rax
	movq	24(%rax), %rax
	movq	32(%rdi), %rcx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rax, 24(%rcx)
	incq	%rdx
	cmpq	%rdx, %r8
	jne	LBB0_17
LBB0_21:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC2_QM_DEF,8,3                 ## @VC2_QM_DEF
	.comm	_ff_dirac_default_qmat,8,3      ## @ff_dirac_default_qmat
	.comm	_vc2_qm_col_tab,8,3             ## @vc2_qm_col_tab
	.comm	_VC2_QM_COL,8,3                 ## @VC2_QM_COL
	.comm	_vc2_qm_flat_tab,8,3            ## @vc2_qm_flat_tab
	.no_dead_strip	_init_quant_matrix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_quant_matrix
_init_quant_matrix:                     ; @init_quant_matrix
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x10, _VC2_QM_DEF@GOTPAGE
Lloh1:
	ldr	x10, [x10, _VC2_QM_DEF@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	w8, #4
	ccmp	x9, x10, #0, le
	b.eq	LBB0_8
; %bb.1:
	mov	w11, #1
	str	w11, [x0, #16]
	cmp	x9, x10
	b.ne	LBB0_13
; %bb.2:
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.3:
	mov	x9, #0
Lloh3:
	adrp	x10, _ff_dirac_default_qmat@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ff_dirac_default_qmat@GOTPAGEOFF]
Lloh5:
	adrp	x11, _vc2_qm_col_tab@GOTPAGE
Lloh6:
	ldr	x11, [x11, _vc2_qm_col_tab@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x13, [x10]
	ldp	x14, x15, [x0, #24]
	lsl	x14, x14, #3
	ldr	x13, [x13, x14]
	ldr	x13, [x13, x12]
	ldr	x13, [x13]
	ldr	x16, [x0, #24]
	ldr	x15, [x15, x12]
	str	x13, [x15]
	ldr	x13, [x10]
	ldr	x15, [x13, x14]
	ldr	x15, [x15, x12]
	ldr	x17, [x0, #32]
	ldr	x17, [x17, x12]
	ldr	x15, [x15, #8]
	str	x15, [x17, #8]
	ldr	x14, [x13, x14]
	ldr	x14, [x14, x12]
	ldr	x14, [x14, #16]
	ldr	x15, [x0, #32]
	ldr	x15, [x15, x12]
	str	x14, [x15, #16]
	add	x13, x13, x16, lsl #3
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x13, [x13]
	ldr	x13, [x13, x12]
	ldr	x13, [x13, #24]
	ldr	x14, [x0, #32]
	ldr	x12, [x14, x12]
	str	x13, [x12, #24]
	add	x9, x9, #1
	cmp	x8, x9
	b.eq	LBB0_20
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x12, x9, #3
	cmp	x9, #4
	b.lo	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x13, [x11]
	ldr	x13, [x13, x12]
	ldr	x14, [x0, #32]
	ldr	x14, [x14, x12]
	ldr	x13, [x13]
	str	x13, [x14]
	ldr	x13, [x11]
	ldr	x14, [x13, x12]
	ldr	x14, [x14, #8]
	ldr	x15, [x0, #32]
	ldr	x15, [x15, x12]
	str	x14, [x15, #8]
	ldr	x13, [x13, x12]
	ldr	x13, [x13, #16]
	ldr	x14, [x0, #32]
	ldr	x14, [x14, x12]
	str	x13, [x14, #16]
	mov	x13, x11
	b	LBB0_5
LBB0_8:
	str	wzr, [x0, #16]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.9:
Lloh7:
	adrp	x10, _ff_dirac_default_qmat@GOTPAGE
Lloh8:
	ldr	x10, [x10, _ff_dirac_default_qmat@GOTPAGEOFF]
	ldr	x11, [x10]
	ldp	x9, x12, [x0, #24]
	lsl	x9, x9, #3
	ldr	x11, [x11, x9]
	ldr	x11, [x11]
	ldr	x11, [x11]
	ldr	x12, [x12]
	str	x11, [x12]
	ldr	x11, [x10]
	ldr	x12, [x11, x9]
	ldr	x12, [x12]
	ldr	x12, [x12, #8]
	ldr	x13, [x0, #32]
	ldr	x13, [x13]
	str	x12, [x13, #8]
	ldr	x12, [x11, x9]
	ldr	x12, [x12]
	ldr	x12, [x12, #16]
	ldr	x13, [x0, #32]
	ldr	x13, [x13]
	str	x12, [x13, #16]
	ldr	x12, [x11, x9]
	ldr	x12, [x12]
	ldr	x12, [x12, #24]
	ldr	x13, [x0, #32]
	ldr	x13, [x13]
	str	x12, [x13, #24]
	cmp	w8, #1
	b.eq	LBB0_20
; %bb.10:
	ldr	x11, [x11, x9]
	ldr	x11, [x11, #8]
	ldr	x11, [x11]
	ldr	x12, [x0, #32]
	ldr	x12, [x12, #8]
	str	x11, [x12]
	ldr	x11, [x10]
	ldr	x12, [x11, x9]
	ldr	x12, [x12, #8]
	ldr	x12, [x12, #8]
	ldr	x13, [x0, #32]
	ldr	x13, [x13, #8]
	str	x12, [x13, #8]
	ldr	x12, [x11, x9]
	ldr	x12, [x12, #8]
	ldr	x12, [x12, #16]
	ldr	x13, [x0, #32]
	ldr	x13, [x13, #8]
	str	x12, [x13, #16]
	ldr	x12, [x11, x9]
	ldr	x12, [x12, #8]
	ldr	x12, [x12, #24]
	ldr	x13, [x0, #32]
	ldr	x13, [x13, #8]
	str	x12, [x13, #24]
	cmp	w8, #2
	b.eq	LBB0_20
; %bb.11:
	ldr	x11, [x11, x9]
	ldr	x11, [x11, #16]
	ldr	x11, [x11]
	ldr	x12, [x0, #32]
	ldr	x12, [x12, #16]
	str	x11, [x12]
	ldr	x11, [x10]
	ldr	x12, [x11, x9]
	ldr	x12, [x12, #16]
	ldr	x12, [x12, #8]
	ldr	x13, [x0, #32]
	ldr	x13, [x13, #16]
	str	x12, [x13, #8]
	ldr	x12, [x11, x9]
	ldr	x12, [x12, #16]
	ldr	x12, [x12, #16]
	ldr	x13, [x0, #32]
	ldr	x13, [x13, #16]
	str	x12, [x13, #16]
	ldr	x12, [x11, x9]
	ldr	x12, [x12, #16]
	ldr	x12, [x12, #24]
	ldr	x13, [x0, #32]
	ldr	x13, [x13, #16]
	str	x12, [x13, #24]
	cmp	w8, #3
	b.eq	LBB0_20
; %bb.12:
	ldr	x8, [x11, x9]
	ldr	x8, [x8, #24]
	ldr	x8, [x8]
	ldr	x11, [x0, #32]
	ldr	x11, [x11, #24]
	str	x8, [x11]
	ldr	x8, [x10]
	ldr	x10, [x8, x9]
	ldr	x10, [x10, #24]
	ldr	x10, [x10, #8]
	ldr	x11, [x0, #32]
	ldr	x11, [x11, #24]
	str	x10, [x11, #8]
	ldr	x10, [x8, x9]
	ldr	x10, [x10, #24]
	ldr	x10, [x10, #16]
	ldr	x11, [x0, #32]
	ldr	x11, [x11, #24]
	str	x10, [x11, #16]
	ldr	x8, [x8, x9]
	ldr	x8, [x8, #24]
	ldr	x8, [x8, #24]
	ldr	x9, [x0, #32]
	ldr	x9, [x9, #24]
	str	x8, [x9, #24]
	ret
LBB0_13:
Lloh9:
	adrp	x10, _VC2_QM_COL@GOTPAGE
Lloh10:
	ldr	x10, [x10, _VC2_QM_COL@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_17
; %bb.14:
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.15:
	mov	x9, #0
Lloh12:
	adrp	x10, _vc2_qm_col_tab@GOTPAGE
Lloh13:
	ldr	x10, [x10, _vc2_qm_col_tab@GOTPAGEOFF]
	ldr	x11, [x10]
	lsl	x8, x8, #3
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x11, x9]
	ldr	x11, [x11]
	ldr	x12, [x0, #32]
	ldr	x12, [x12, x9]
	str	x11, [x12]
	ldr	x11, [x10]
	ldr	x12, [x11, x9]
	ldr	x13, [x0, #32]
	ldr	x13, [x13, x9]
	ldr	x12, [x12, #8]
	str	x12, [x13, #8]
	ldr	x12, [x11, x9]
	ldr	x12, [x12, #16]
	ldr	x13, [x0, #32]
	ldr	x13, [x13, x9]
	str	x12, [x13, #16]
	ldr	x12, [x11, x9]
	ldr	x12, [x12, #24]
	ldr	x13, [x0, #32]
	ldr	x13, [x13, x9]
	str	x12, [x13, #24]
	add	x9, x9, #8
	cmp	x8, x9
	b.ne	LBB0_16
	b	LBB0_20
LBB0_17:
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.18:
	mov	x9, #0
Lloh14:
	adrp	x10, _vc2_qm_flat_tab@GOTPAGE
Lloh15:
	ldr	x10, [x10, _vc2_qm_flat_tab@GOTPAGEOFF]
	ldr	x11, [x10]
	lsl	x8, x8, #3
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x11, x9]
	ldr	x11, [x11]
	ldr	x12, [x0, #32]
	ldr	x12, [x12, x9]
	str	x11, [x12]
	ldr	x11, [x10]
	ldr	x12, [x11, x9]
	ldr	x13, [x0, #32]
	ldr	x13, [x13, x9]
	ldr	x12, [x12, #8]
	str	x12, [x13, #8]
	ldr	x12, [x11, x9]
	ldr	x12, [x12, #16]
	ldr	x13, [x0, #32]
	ldr	x13, [x13, x9]
	str	x12, [x13, #16]
	ldr	x12, [x11, x9]
	ldr	x12, [x12, #24]
	ldr	x13, [x0, #32]
	ldr	x13, [x13, x9]
	str	x12, [x13, #24]
	add	x9, x9, #8
	cmp	x8, x9
	b.ne	LBB0_19
LBB0_20:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_VC2_QM_DEF,8,3                 ; @VC2_QM_DEF
	.comm	_ff_dirac_default_qmat,8,3      ; @ff_dirac_default_qmat
	.comm	_vc2_qm_col_tab,8,3             ; @vc2_qm_col_tab
	.comm	_VC2_QM_COL,8,3                 ; @VC2_QM_COL
	.comm	_vc2_qm_flat_tab,8,3            ; @vc2_qm_flat_tab
	.no_dead_strip	_init_quant_matrix
.subsections_via_symbols
