	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_dequant4_coeff_table
_init_dequant4_coeff_table:             ## @init_dequant4_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rsi), %eax
	leal	(%rax,%rax,2), %eax
	addl	%eax, %eax
	addl	$4, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	%rcx, (%rax,%r14,8)
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%r14
	cmpq	$6, %r14
	movq	-48(%rbp), %r15                 ## 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	(%r15), %rax
	movq	8(%r15), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	%rcx, (%rax,%r14,8)
	testq	%r14, %r14
	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(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	(%rax,%r14,8), %rsi
	movl	$64, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	incq	%rbx
	cmpq	%rbx, %r14
	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, -64(%rbp)                 ## 8-byte Spill
	movq	_ff_h264_quant_rem6@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_ff_h264_dequant4_coeff_init@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	16(%rcx), %rcx
	movq	(%rcx,%r14,8), %rdi
	movq	(%rax,%r14,8), %r11
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rdx,4), %ecx
	addl	$2, %ecx
	movslq	(%r9,%rdx,4), %rax
	movq	(%r10,%rax,8), %rsi
	movq	(%r11,%rdx,8), %rax
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%r12d, %ebx
	andl	$1, %ebx
	movl	%r12d, %r15d
	shrl	$2, %r15d
	btl	$2, %r12d
	adcl	$0, %ebx
	movl	(%rdi,%r12,4), %r8d
	imull	(%rsi,%rbx,8), %r8d
	shll	%cl, %r8d
	movl	%r13d, %ebx
	andl	$12, %ebx
	orl	%r15d, %ebx
	movl	%r8d, (%rax,%rbx,4)
	incq	%r12
	addl	$4, %r13d
	cmpq	$16, %r12
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	incq	%rdx
	cmpq	-56(%rbp), %rdx                 ## 8-byte Folded Reload
	jne	LBB0_8
	jmp	LBB0_11
LBB0_12:
	addq	$24, %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_dequant4_coeff_init,8,3 ## @ff_h264_dequant4_coeff_init
	.no_dead_strip	_init_dequant4_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_dequant4_coeff_table
_init_dequant4_coeff_table:             ; @init_dequant4_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_dequant4_coeff_init@GOTPAGE
Lloh5:
	ldr	x24, [x24, _ff_h264_dequant4_coeff_init@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	x25, x20, #3
	ldp	x9, x8, [x19]
	ldr	x8, [x8, x25]
	str	x8, [x9, x25]
	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, #64
	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, #64
	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, #64
	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, #64
	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, #64
	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, [x19, #16]
	ldr	x12, [x12, x25]
	ldr	x13, [x19]
	ldr	x13, [x13, x25]
LBB0_16:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_17 Depth 3
	mov	w14, #0
	mov	x15, #0
	lsl	x17, x8, #2
	ldr	w16, [x9, x17]
	add	w16, w16, #2
	ldrsw	x17, [x10, x17]
	ldr	x17, [x11, x17, lsl #3]
	ldr	x0, [x13, x8, lsl #3]
LBB0_17:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_16 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	and	w1, w14, #0x1
	ubfx	w2, w14, #2, #1
	add	w1, w2, w1
	ldr	x1, [x17, w1, uxtw #3]
	lsr	w2, w14, #2
	ldr	w3, [x12, x15]
	mul	w1, w3, w1
	lsl	w1, w1, w16
	and	w3, w15, #0xc
	orr	w2, w3, w2
	str	w1, [x0, w2, uxtw #2]
	add	x15, x15, #4
	add	w14, w14, #1
	cmp	x15, #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	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_dequant4_coeff_init,8,3 ; @ff_h264_dequant4_coeff_init
	.no_dead_strip	_init_dequant4_coeff_table
.subsections_via_symbols
