	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w9968cf_upload_quantizationtables
_w9968cf_upload_quantizationtables:     ## @w9968cf_upload_quantizationtables
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$16, %esi
	movl	$57, %edx
	callq	_w9968cf_write_reg
	movq	%rax, %rbx
	xorl	%r12d, %r12d
	movq	_UV_QUANTABLE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_Y_QUANTABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax,%r12,8), %esi
	shll	$8, %esi
	orl	(%rax,%r12,8), %esi
	movq	(%r13), %rax
	movl	4(%rax,%r12,8), %r15d
	shll	$8, %r15d
	orl	(%rax,%r12,8), %r15d
	leal	64(%r12), %edx
	movq	%r14, %rdi
	callq	_w9968cf_write_reg
	addl	%eax, %ebx
	leal	96(%r12), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_w9968cf_write_reg
	movslq	%ebx, %rbx
	addq	%rax, %rbx
	incq	%r12
	cmpl	$32, %r12d
	jne	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movl	$18, %esi
	movl	$57, %edx
	callq	_w9968cf_write_reg
	addl	%ebx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Y_QUANTABLE,8,3                ## @Y_QUANTABLE
	.comm	_UV_QUANTABLE,8,3               ## @UV_QUANTABLE
	.no_dead_strip	_w9968cf_upload_quantizationtables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w9968cf_upload_quantizationtables
_w9968cf_upload_quantizationtables:     ; @w9968cf_upload_quantizationtables
	.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
	mov	x19, x0
	mov	w1, #16
	mov	w2, #57
	bl	_w9968cf_write_reg
	mov	x20, x0
	mov	x23, #0
	mov	w21, #96
Lloh0:
	adrp	x24, _Y_QUANTABLE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _Y_QUANTABLE@GOTPAGEOFF]
Lloh2:
	adrp	x25, _UV_QUANTABLE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _UV_QUANTABLE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	add	x8, x8, x23
	ldp	w9, w8, [x8]
	orr	w1, w9, w8, lsl #8
	ldr	x8, [x25]
	add	x8, x8, x23
	ldp	w9, w8, [x8]
	orr	w22, w9, w8, lsl #8
	sub	w2, w21, #32
	mov	x0, x19
	bl	_w9968cf_write_reg
	add	w20, w0, w20
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_w9968cf_write_reg
	add	x20, x0, w20, sxtw
	add	x23, x23, #8
	add	w21, w21, #1
	cmp	w23, #256
	b.ne	LBB0_1
; %bb.2:
	mov	x0, x19
	mov	w1, #18
	mov	w2, #57
	bl	_w9968cf_write_reg
	add	w0, w0, w20
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_Y_QUANTABLE,8,3                ; @Y_QUANTABLE
	.comm	_UV_QUANTABLE,8,3               ; @UV_QUANTABLE
	.no_dead_strip	_w9968cf_upload_quantizationtables
.subsections_via_symbols
