	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tgq_calculate_qtable
_tgq_calculate_qtable:                  ## @tgq_calculate_qtable
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$100, %ecx
	subl	%esi, %ecx
	movl	%ecx, %eax
	shll	$4, %eax
	subl	%ecx, %eax
	subl	%ecx, %eax
	cltq
	imulq	$1374389535, %rax, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$37, %rdx
	leal	(%rdx,%rsi), %eax
	addl	%esi, %edx
	incl	%edx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leal	(%rcx,%rcx,4), %edx
	leal	(%rcx,%rdx,2), %ecx
	movslq	%ecx, %rcx
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rdx
	sarq	$37, %rdx
	shrq	$63, %rcx
	leal	(%rdx,%rcx), %r13d
	addl	$4, %r13d
	movq	_ff_inv_aanscales@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdi), %rsi
	leal	(,%rax,8), %r12d
	subl	%eax, %r12d
	addl	$7, %r12d
	leal	(%rax,%rax,2), %edi
	leal	(%rdi,%rdi), %ecx
	addl	$6, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leal	5(%rax,%rax,4), %r10d
	leal	4(,%rax,4), %r11d
	leal	(%rax,%rax,2), %r14d
	addl	$3, %r14d
	leal	(%rax,%rax), %r15d
	addl	$2, %r15d
	xorl	%eax, %eax
	xorl	%r9d, %r9d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r9d, %rdi
	imulq	$-1840700269, %rdi, %rbx        ## imm = 0x92492493
	shrq	$32, %rbx
	addl	%edi, %ebx
	movl	%ebx, %ecx
	shrl	$31, %ecx
	sarl	$3, %ebx
	addl	%ecx, %ebx
	addl	%r13d, %ebx
	imull	(%rdx,%rax), %ebx
	sarl	$10, %ebx
	movl	%ebx, (%rsi,%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rdi), %r9d
	movslq	%r9d, %rcx
	imulq	$-1840700269, %rcx, %r8         ## imm = 0x92492493
	shrq	$32, %r8
	addl	%r8d, %ecx
	movl	%ecx, %ebx
	shrl	$31, %ebx
	sarl	$3, %ecx
	addl	%ebx, %ecx
	addl	%r13d, %ecx
	imull	4(%rdx,%rax), %ecx
	sarl	$10, %ecx
	movl	%ecx, 4(%rsi,%rax)
	leal	(%r15,%rdi), %ecx
	movslq	%ecx, %rcx
	imulq	$-1840700269, %rcx, %rbx        ## imm = 0x92492493
	shrq	$32, %rbx
	addl	%ebx, %ecx
	movl	%ecx, %ebx
	shrl	$31, %ebx
	sarl	$3, %ecx
	addl	%ebx, %ecx
	addl	%r13d, %ecx
	imull	8(%rdx,%rax), %ecx
	sarl	$10, %ecx
	movl	%ecx, 8(%rsi,%rax)
	leal	(%r14,%rdi), %ecx
	movslq	%ecx, %rcx
	imulq	$-1840700269, %rcx, %rbx        ## imm = 0x92492493
	shrq	$32, %rbx
	addl	%ebx, %ecx
	movl	%ecx, %ebx
	shrl	$31, %ebx
	sarl	$3, %ecx
	addl	%ebx, %ecx
	addl	%r13d, %ecx
	imull	12(%rdx,%rax), %ecx
	sarl	$10, %ecx
	movl	%ecx, 12(%rsi,%rax)
	leal	(%r11,%rdi), %ecx
	movslq	%ecx, %rcx
	imulq	$-1840700269, %rcx, %rbx        ## imm = 0x92492493
	shrq	$32, %rbx
	addl	%ebx, %ecx
	movl	%ecx, %ebx
	shrl	$31, %ebx
	sarl	$3, %ecx
	addl	%ebx, %ecx
	addl	%r13d, %ecx
	imull	16(%rdx,%rax), %ecx
	sarl	$10, %ecx
	movl	%ecx, 16(%rsi,%rax)
	leal	(%r10,%rdi), %ecx
	movslq	%ecx, %rcx
	imulq	$-1840700269, %rcx, %rbx        ## imm = 0x92492493
	shrq	$32, %rbx
	addl	%ebx, %ecx
	movl	%ecx, %ebx
	shrl	$31, %ebx
	sarl	$3, %ecx
	addl	%ebx, %ecx
	addl	%r13d, %ecx
	imull	20(%rdx,%rax), %ecx
	sarl	$10, %ecx
	movl	%ecx, 20(%rsi,%rax)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%edi, %ecx
	movslq	%ecx, %rcx
	imulq	$-1840700269, %rcx, %rbx        ## imm = 0x92492493
	shrq	$32, %rbx
	addl	%ebx, %ecx
	movl	%ecx, %ebx
	shrl	$31, %ebx
	sarl	$3, %ecx
	addl	%ebx, %ecx
	addl	%r13d, %ecx
	imull	24(%rdx,%rax), %ecx
	sarl	$10, %ecx
	movl	%ecx, 24(%rsi,%rax)
	addl	%r12d, %edi
	movslq	%edi, %rcx
	imulq	$-1840700269, %rcx, %rdi        ## imm = 0x92492493
	shrq	$32, %rdi
	addl	%edi, %ecx
	movl	%ecx, %edi
	shrl	$31, %edi
	sarl	$3, %ecx
	addl	%edi, %ecx
	addl	%r13d, %ecx
	imull	28(%rdx,%rax), %ecx
	sarl	$10, %ecx
	movl	%ecx, 28(%rsi,%rax)
	addq	$32, %rax
	cmpq	$256, %rax                      ## imm = 0x100
	jne	LBB0_1
## %bb.2:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_inv_aanscales,8,3           ## @ff_inv_aanscales
	.no_dead_strip	_tgq_calculate_qtable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tgq_calculate_qtable
_tgq_calculate_qtable:                  ; @tgq_calculate_qtable
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	mov	x8, #0
	mov	w9, #0
	mov	w10, #100
	sub	w11, w10, w1
	mov	w10, #14
	mul	w10, w11, w10
	mov	w12, #34079
	movk	w12, #20971, lsl #16
	smull	x10, w10, w12
	lsr	x13, x10, #63
	asr	x10, x10, #37
	add	w16, w10, w13
	lsl	w10, w16, #3
	sub	w13, w10, w16
	add	w10, w16, #1
	mov	w14, #11
	mul	w11, w11, w14
	smull	x11, w11, w12
	lsr	x12, x11, #63
	asr	x11, x11, #37
	add	w11, w11, w12
Lloh0:
	adrp	x12, _ff_inv_aanscales@GOTPAGE
Lloh1:
	ldr	x12, [x12, _ff_inv_aanscales@GOTPAGEOFF]
	add	w11, w11, #4
Lloh2:
	ldr	x1, [x12]
	ldr	x2, [x0]
	add	w12, w13, #7
	mov	w13, #6
	orr	w14, wzr, #0x6
	madd	w13, w16, w13, w14
	lsl	w15, w16, #2
	add	w14, w15, w16
	add	w14, w14, #5
	add	w15, w15, #4
	lsl	w17, w16, #1
	add	w16, w17, w16
	add	w16, w16, #3
	add	w17, w17, #2
	add	x0, x1, #16
	add	x1, x2, #28
	mov	w2, #9363
	movk	w2, #37449, lsl #16
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	smull	x3, w9, w2
	lsr	x3, x3, #32
	add	w3, w3, w9
	asr	w4, w3, #3
	add	w3, w4, w3, lsr #31
	add	x4, x0, x8
	ldur	w5, [x4, #-16]
	add	w3, w11, w3
	mul	w3, w5, w3
	asr	w6, w3, #10
	add	x5, x1, x8
	add	w3, w10, w9
	smull	x7, w3, w2
	stur	w6, [x5, #-28]
	lsr	x6, x7, #32
	add	w6, w6, w3
	asr	w7, w6, #3
	add	w6, w7, w6, lsr #31
	add	w6, w11, w6
	ldur	w7, [x4, #-12]
	mul	w6, w7, w6
	asr	w6, w6, #10
	add	w7, w17, w9
	smull	x19, w7, w2
	lsr	x19, x19, #32
	stur	w6, [x5, #-24]
	add	w6, w19, w7
	asr	w7, w6, #3
	add	w6, w7, w6, lsr #31
	add	w6, w11, w6
	ldur	w7, [x4, #-8]
	mul	w6, w7, w6
	asr	w6, w6, #10
	add	w7, w16, w9
	smull	x19, w7, w2
	lsr	x19, x19, #32
	add	w7, w19, w7
	stur	w6, [x5, #-20]
	asr	w6, w7, #3
	add	w6, w6, w7, lsr #31
	add	w6, w11, w6
	ldur	w7, [x4, #-4]
	mul	w6, w7, w6
	asr	w6, w6, #10
	add	w7, w15, w9
	smull	x19, w7, w2
	lsr	x19, x19, #32
	add	w7, w19, w7
	asr	w19, w7, #3
	stur	w6, [x5, #-16]
	add	w6, w19, w7, lsr #31
	add	w6, w11, w6
	ldr	w7, [x4]
	mul	w6, w7, w6
	add	w7, w14, w9
	asr	w6, w6, #10
	smull	x19, w7, w2
	lsr	x19, x19, #32
	add	w7, w19, w7
	asr	w19, w7, #3
	add	w7, w19, w7, lsr #31
	stur	w6, [x5, #-12]
	add	w6, w11, w7
	ldr	w7, [x4, #4]
	add	w19, w13, w9
	smull	x20, w19, w2
	lsr	x20, x20, #32
	mul	w6, w7, w6
	add	w7, w20, w19
	asr	w19, w7, #3
	add	w7, w19, w7, lsr #31
	asr	w6, w6, #10
	add	w7, w11, w7
	stur	w6, [x5, #-8]
	ldr	w6, [x4, #8]
	mul	w6, w6, w7
	asr	w6, w6, #10
	add	w9, w12, w9
	smull	x7, w9, w2
	stur	w6, [x5, #-4]
	lsr	x6, x7, #32
	add	w9, w6, w9
	asr	w6, w9, #3
	add	w9, w6, w9, lsr #31
	ldr	w4, [x4, #12]
	add	w9, w11, w9
	mul	w9, w4, w9
	asr	w9, w9, #10
	str	w9, [x5]
	add	x8, x8, #32
	mov	x9, x3
	cmp	x8, #256
	b.ne	LBB0_1
; %bb.2:
	ldp	x20, x19, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_inv_aanscales,8,3           ; @ff_inv_aanscales
	.no_dead_strip	_tgq_calculate_qtable
.subsections_via_symbols
