	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_precompute_pq                  ## -- Begin function precompute_pq
	.p2align	4, 0x90
_precompute_pq:                         ## @precompute_pq
	.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	_coordinates_x@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	$80, %edi
	movl	$10000, %esi                    ## imm = 0x2710
	callq	_dc_fixpt_from_fraction
	movl	%eax, %r14d
	movq	_pq_table@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_dc_fixpt_zero@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, (%rax)
	movl	(%rcx), %ecx
	movd	%ecx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqu	%xmm0, 4(%rax)
	movdqu	%xmm0, 20(%rax)
	movdqu	%xmm0, 36(%rax)
	movdqu	%xmm0, 52(%rax)
	movdqu	%xmm0, 68(%rax)
	movdqu	%xmm0, 84(%rax)
	movdqu	%xmm0, 100(%rax)
	movl	%ecx, 116(%rax)
	movl	%ecx, 120(%rax)
	movl	%ecx, 124(%rax)
	movq	_MAX_HW_POINTS@GOTPCREL(%rip), %r12
	cmpl	$32, (%r12)
	jl	LBB0_3
## %bb.1:
	subq	$-128, %r13
	movl	$32, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movl	%r14d, %esi
	callq	_dc_fixpt_mul
	leaq	(,%rbx,4), %rsi
	addq	(%r15), %rsi
	movl	%eax, %edi
	callq	_compute_pq
	addq	$4, %r13
	leaq	1(%rbx), %rax
	movslq	(%r12), %rcx
	cmpq	%rcx, %rbx
	movq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_coordinates_x,8,3              ## @coordinates_x
	.comm	_dc_fixpt_zero,4,2              ## @dc_fixpt_zero
	.comm	_pq_table,8,3                   ## @pq_table
	.comm	_MAX_HW_POINTS,4,2              ## @MAX_HW_POINTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_precompute_pq                  ; -- Begin function precompute_pq
	.p2align	2
_precompute_pq:                         ; @precompute_pq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _coordinates_x@GOTPAGE
Lloh1:
	ldr	x8, [x8, _coordinates_x@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	mov	w0, #80
	mov	w1, #10000
	bl	_dc_fixpt_from_fraction
Lloh3:
	adrp	x21, _pq_table@GOTPAGE
Lloh4:
	ldr	x21, [x21, _pq_table@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh5:
	adrp	x9, _dc_fixpt_zero@GOTPAGE
Lloh6:
	ldr	x9, [x9, _dc_fixpt_zero@GOTPAGEOFF]
	ldr	w10, [x9]
	str	w10, [x8]
	ldr	w9, [x9]
	dup.4s	v0, w9
	stur	q0, [x8, #4]
	stur	q0, [x8, #20]
	stur	q0, [x8, #36]
	stur	q0, [x8, #52]
	stur	q0, [x8, #68]
	stur	q0, [x8, #84]
	stur	q0, [x8, #100]
	stp	w9, w9, [x8, #116]
	str	w9, [x8, #124]
Lloh7:
	adrp	x22, _MAX_HW_POINTS@GOTPAGE
Lloh8:
	ldr	x22, [x22, _MAX_HW_POINTS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #32
	b.lt	LBB0_3
; %bb.1:
	mov	w19, w0
	mov	w23, #31
	mov	w24, #128
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, x24]
	mov	x1, x19
	bl	_dc_fixpt_mul
	ldr	x8, [x21]
	add	x1, x8, x24
	mov	w0, w0
	bl	_compute_pq
	ldrsw	x8, [x22]
	add	x23, x23, #1
	add	x24, x24, #4
	cmp	x23, x8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_coordinates_x,8,3              ; @coordinates_x
	.comm	_dc_fixpt_zero,4,2              ; @dc_fixpt_zero
	.comm	_pq_table,8,3                   ; @pq_table
	.comm	_MAX_HW_POINTS,4,2              ; @MAX_HW_POINTS
.subsections_via_symbols
