	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_dequant8_coeff_table
_init_dequant8_coeff_table:             ## @init_dequant8_coeff_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rsi), %eax
	leal	(%rax,%rax,2), %eax
	addl	%eax, %eax
	addl	$4, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rcx, (%rax,%r15,8)
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%r15
	cmpq	$6, %r15
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_12
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	(%rcx,%r15,8), %rcx
	movq	%rcx, (%rax,%r15,8)
	testq	%r15, %r15
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	(%rax,%r15,8), %rsi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_3
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ff_h264_quant_div6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_ff_h264_quant_rem6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_ff_h264_dequant8_coeff_init@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_ff_h264_dequant8_coeff_init_scan@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	movq	16(%rax), %rax
	movq	(%rax,%r15,8), %r11
	movq	(%rcx,%r15,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r9d, %r9d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r9,4), %ecx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax,%r9,4), %rdx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rdx,8), %rdx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r9,8), %r12
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rbx, %r8
	shrq	%r8
	andl	$12, %r8d
	movl	%ebx, %r14d
	andl	$3, %r14d
	orq	%r8, %r14
	movq	(%r10,%r14,8), %rsi
	movl	(%r11,%rbx,4), %edi
	imull	(%rdx,%rsi,8), %edi
	shll	%cl, %edi
	movl	%ebx, %esi
	shrl	$3, %esi
	movl	%r13d, %eax
	andl	$56, %eax
	orl	%esi, %eax
	movl	%edi, (%r12,%rax,4)
	incq	%rbx
	addl	$8, %r13d
	cmpq	$64, %rbx
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	incq	%r9
	cmpq	-56(%rbp), %r9                  ## 8-byte Folded Reload
	jne	LBB0_8
	jmp	LBB0_11
LBB0_12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_h264_quant_div6,8,3         ## @ff_h264_quant_div6
	.comm	_ff_h264_quant_rem6,8,3         ## @ff_h264_quant_rem6
	.comm	_ff_h264_dequant8_coeff_init,8,3 ## @ff_h264_dequant8_coeff_init
	.comm	_ff_h264_dequant8_coeff_init_scan,8,3 ## @ff_h264_dequant8_coeff_init_scan
	.no_dead_strip	_init_dequant8_coeff_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_dequant8_coeff_table
_init_dequant8_coeff_table:             ; @init_dequant8_coeff_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
	mov	x19, x0
	mov	x20, #0
	ldr	w8, [x1]
	mov	w9, #6
	orr	w10, wzr, #0x4
	madd	w21, w8, w9, w10
Lloh0:
	adrp	x22, _ff_h264_quant_div6@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ff_h264_quant_div6@GOTPAGEOFF]
Lloh2:
	adrp	x23, _ff_h264_quant_rem6@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ff_h264_quant_rem6@GOTPAGEOFF]
Lloh4:
	adrp	x24, _ff_h264_dequant8_coeff_init@GOTPAGE
Lloh5:
	ldr	x24, [x24, _ff_h264_dequant8_coeff_init@GOTPAGEOFF]
Lloh6:
	adrp	x25, _ff_h264_dequant8_coeff_init_scan@GOTPAGE
Lloh7:
	ldr	x25, [x25, _ff_h264_dequant8_coeff_init_scan@GOTPAGEOFF]
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	x10, x9, [x19]
	ldr	x8, [x9, x8, lsl #3]
	str	x8, [x10, x20, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	cmp	x20, #6
	b.eq	LBB0_23
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;       Child Loop BB0_17 Depth 3
	lsl	x26, x20, #3
	ldp	x9, x8, [x19]
	ldr	x8, [x8, x26]
	str	x8, [x9, x26]
	cbz	x20, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	ldr	x1, [x8, x20, lsl #3]
	mov	w2, #256
	bl	_memcmp
	cbz	w0, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x20, #1
	b.eq	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, #8]
	ldr	x1, [x8, x20, lsl #3]
	mov	w2, #256
	bl	_memcmp
	cbz	w0, LBB0_19
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x20, #2
	b.eq	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, #16]
	ldr	x1, [x8, x20, lsl #3]
	mov	w2, #256
	bl	_memcmp
	cbz	w0, LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x20, #3
	b.eq	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, #24]
	ldr	x1, [x8, x20, lsl #3]
	mov	w2, #256
	bl	_memcmp
	cbz	w0, LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x20, #4
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, #32]
	ldr	x1, [x8, x20, lsl #3]
	mov	w2, #256
	bl	_memcmp
	cbz	w0, LBB0_22
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w21, #1
	b.lt	LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
	ldr	x9, [x22]
	ldr	x10, [x23]
	ldr	x11, [x24]
	ldr	x12, [x25]
	ldr	x13, [x19, #16]
	ldr	x13, [x13, x26]
	ldr	x14, [x19]
	ldr	x14, [x14, x26]
LBB0_16:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_17 Depth 3
	mov	w15, #0
	mov	x16, #0
	lsl	x0, x8, #2
	ldr	w17, [x9, x0]
	ldrsw	x0, [x10, x0]
	ldr	x0, [x11, x0, lsl #3]
	ldr	x1, [x14, x8, lsl #3]
LBB0_17:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_16 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	lsr	x2, x16, #1
	and	x2, x2, #0xc
	bfxil	x2, x16, #0, #2
	ldr	x2, [x12, x2, lsl #3]
	ldr	x2, [x0, x2, lsl #3]
	ldr	w3, [x13, x16, lsl #2]
	mul	w2, w3, w2
	lsl	w2, w2, w17
	and	w3, w15, #0x38
	orr	w3, w3, w16, lsr #3
	str	w2, [x1, w3, uxtw #2]
	add	x16, x16, #1
	add	w15, w15, #8
	cmp	x16, #64
	b.ne	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=2
	add	x8, x8, #1
	cmp	x8, x21
	b.ne	LBB0_16
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	b	LBB0_2
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #2
	b	LBB0_2
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #3
	b	LBB0_2
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #4
	b	LBB0_2
LBB0_23:
	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	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_h264_quant_div6,8,3         ; @ff_h264_quant_div6
	.comm	_ff_h264_quant_rem6,8,3         ; @ff_h264_quant_rem6
	.comm	_ff_h264_dequant8_coeff_init,8,3 ; @ff_h264_dequant8_coeff_init
	.comm	_ff_h264_dequant8_coeff_init_scan,8,3 ; @ff_h264_dequant8_coeff_init_scan
	.no_dead_strip	_init_dequant8_coeff_table
.subsections_via_symbols
