	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function quant_matrix_rebuild
_quant_matrix_rebuild:                  ## @quant_matrix_rebuild
	.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	%rbx
	subq	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-288(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memcpy
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rax,8), %rcx
	movl	-288(%rbp,%rcx,4), %ecx
	movq	(%r14,%rax,8), %rdx
	movl	%ecx, (%rbx,%rdx,4)
	movq	8(%r15,%rax,8), %rcx
	movl	-288(%rbp,%rcx,4), %ecx
	movq	8(%r14,%rax,8), %rdx
	movl	%ecx, (%rbx,%rdx,4)
	movq	16(%r15,%rax,8), %rcx
	movl	-288(%rbp,%rcx,4), %ecx
	movq	16(%r14,%rax,8), %rdx
	movl	%ecx, (%rbx,%rdx,4)
	movq	24(%r15,%rax,8), %rcx
	movl	-288(%rbp,%rcx,4), %ecx
	movq	24(%r14,%rax,8), %rdx
	movl	%ecx, (%rbx,%rdx,4)
	addq	$4, %rax
	cmpq	$64, %rax
	jne	LBB0_1
## %bb.2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_quant_matrix_rebuild
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function quant_matrix_rebuild
_quant_matrix_rebuild:                  ; @quant_matrix_rebuild
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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 w27, -56
	.cfi_offset w28, -64
	mov	x19, x2
	mov	x20, 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, #-56]
	add	x22, sp, #8
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #256
	bl	_memcpy
	mov	x8, #0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, x8]
	ldr	w9, [x22, x9, lsl #2]
	ldr	x10, [x19, x8]
	str	w9, [x21, x10, lsl #2]
	add	x8, x8, #8
	cmp	x8, #512
	b.ne	LBB0_1
; %bb.2:
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_quant_matrix_rebuild
.subsections_via_symbols
