	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_precompute_de_pq               ## -- Begin function precompute_de_pq
	.p2align	4, 0x90
_precompute_de_pq:                      ## @precompute_de_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
	movl	$125, %edi
	callq	_dc_fixpt_from_int
	movq	_NUM_PTS_IN_REGION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leal	(%rdx,%rdx,4), %ecx
	leal	(%rcx,%rcx,4), %r13d
	testl	%edx, %edx
	js	LBB0_1
## %bb.9:
	leal	(%rdx,%rdx,2), %ecx
	leal	(%rdx,%rcx,4), %edx
	movq	_de_pq_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
	xorl	%ecx, %ecx
	testl	%edx, %edx
	cmovlel	%ecx, %edx
	leal	1(%rdx), %ebx
	cmpl	$7, %edx
	jb	LBB0_20
## %bb.10:
	movq	_dc_fixpt_zero@GOTPCREL(%rip), %r8
	leaq	4(%r8), %rcx
	cmpq	%rcx, %r10
	jae	LBB0_13
## %bb.11:
	leaq	(%r10,%rbx,4), %rcx
	cmpq	_dc_fixpt_zero@GOTPCREL(%rip), %rcx
	jbe	LBB0_13
## %bb.12:
	xorl	%ecx, %ecx
	jmp	LBB0_20
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
LBB0_13:
	movl	%ebx, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %rsi
	movq	%rsi, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.15:
	movq	%r9, %rdi
	andq	$-2, %rdi
	movd	(%r8), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%r10,%rsi,4)
	movdqu	%xmm0, 16(%r10,%rsi,4)
	movdqu	%xmm0, 32(%r10,%rsi,4)
	movdqu	%xmm0, 48(%r10,%rsi,4)
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_16
## %bb.17:
	testb	$1, %r9b
	je	LBB0_19
LBB0_18:
	movd	(%r8), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqu	%xmm0, (%r10,%rsi,4)
	movdqu	%xmm0, 16(%r10,%rsi,4)
LBB0_19:
	cmpq	%rbx, %rcx
	je	LBB0_2
LBB0_20:
	movl	%edx, %r9d
	incl	%edx
	movq	%r9, %r8
	subq	%rcx, %r8
	andq	$3, %rdx
	je	LBB0_23
## %bb.21:
	movq	_dc_fixpt_zero@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %esi
	movl	%esi, (%r10,%rcx,4)
	incq	%rcx
	decq	%rdx
	jne	LBB0_22
LBB0_23:
	cmpq	$3, %r8
	jb	LBB0_2
## %bb.24:
	decq	%rcx
	movq	_dc_fixpt_zero@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %esi
	movl	%esi, 4(%r10,%rcx,4)
	movl	(%rdx), %esi
	movl	%esi, 8(%r10,%rcx,4)
	movl	(%rdx), %esi
	movl	%esi, 12(%r10,%rcx,4)
	movl	(%rdx), %esi
	movl	%esi, 16(%r10,%rcx,4)
	addq	$4, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_25
LBB0_2:
	cmpl	%r13d, %ebx
	jg	LBB0_5
## %bb.3:
	movl	%ebx, %ebx
	leaq	-48(%rbp), %r12
	movq	_de_pq_table@GOTPCREL(%rip), %r14
	movl	%eax, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_coordinates_x@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	movq	%r12, %rsi
	callq	_compute_de_pq
	movl	-48(%rbp), %edi
	movl	%r15d, %esi
	callq	_dc_fixpt_mul
	movq	(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	leal	-1(%rbx), %eax
	cmpl	%eax, %r13d
	jg	LBB0_4
LBB0_5:
	movq	_MAX_HW_POINTS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jg	LBB0_8
## %bb.6:
	movq	_de_pq_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%ebx, %rdx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rcx,%rdx,4), %esi
	movl	%edx, %edi
	movl	%esi, (%rcx,%rdi,4)
	leaq	1(%rdx), %rsi
	movslq	(%rax), %rdi
	cmpq	%rdi, %rdx
	movq	%rsi, %rdx
	jl	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	xorl	%esi, %esi
	testb	$1, %r9b
	jne	LBB0_18
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_PTS_IN_REGION,4,2          ## @NUM_PTS_IN_REGION
	.comm	_dc_fixpt_zero,4,2              ## @dc_fixpt_zero
	.comm	_de_pq_table,8,3                ## @de_pq_table
	.comm	_coordinates_x,8,3              ## @coordinates_x
	.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_de_pq               ; -- Begin function precompute_de_pq
	.p2align	2
_precompute_de_pq:                      ; @precompute_de_pq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	w0, #125
	bl	_dc_fixpt_from_int
Lloh0:
	adrp	x8, _NUM_PTS_IN_REGION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_PTS_IN_REGION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #25
	mul	w21, w8, w9
Lloh3:
	adrp	x20, _de_pq_table@GOTPAGE
Lloh4:
	ldr	x20, [x20, _de_pq_table@GOTPAGEOFF]
	tbnz	w8, #31, LBB0_11
; %bb.1:
	mov	w9, #13
	mul	w8, w8, w9
	ldr	x9, [x20]
	cmp	w8, #0
	csel	w10, w8, wzr, gt
	add	w22, w10, #1
Lloh5:
	adrp	x8, _dc_fixpt_zero@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dc_fixpt_zero@GOTPAGEOFF]
	cmp	w10, #15
	b.lo	LBB0_6
; %bb.2:
	add	x11, x9, x22, lsl #2
	add	x12, x8, #4
	cmp	x9, x12
	ccmp	x11, x8, #0, lo
	b.hi	LBB0_6
; %bb.3:
	and	x11, x22, #0xfffffff0
	ld1r.4s	{ v0 }, [x8]
	add	x12, x9, #32
	mov	x13, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x12, #-32]
	stp	q0, q0, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x22
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x11, #0
LBB0_7:
	add	x9, x9, x11, lsl #2
	sub	x10, x10, x11
	add	x10, x10, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	str	w11, [x9], #4
	subs	x10, x10, #1
	b.ne	LBB0_8
LBB0_9:
	cmp	w22, w21
	b.le	LBB0_12
LBB0_10:
	mov	x9, x22
	b	LBB0_14
LBB0_11:
	mov	w22, #0
	cmp	w22, w21
	b.gt	LBB0_10
LBB0_12:
	mov	w19, w0
	mov	w8, w22
	lsl	x23, x8, #2
Lloh7:
	adrp	x24, _coordinates_x@GOTPAGE
Lloh8:
	ldr	x24, [x24, _coordinates_x@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	w0, [x8, x23]
	add	x1, sp, #8
	bl	_compute_de_pq
	ldr	w0, [sp, #8]
	mov	x1, x19
	bl	_dc_fixpt_mul
	ldr	x8, [x20]
	str	w0, [x8, x23]
	add	w9, w22, #1
	add	x23, x23, #4
	cmp	w21, w22
	mov	x22, x9
	b.gt	LBB0_13
LBB0_14:
Lloh9:
	adrp	x8, _MAX_HW_POINTS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAX_HW_POINTS@GOTPAGEOFF]
	ldr	w10, [x8]
	cmp	w9, w10
	b.gt	LBB0_17
; %bb.15:
	ldr	x10, [x20]
	sxtw	x9, w9
	sub	x11, x10, #4
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11, x9, lsl #2]
	str	w12, [x10, w9, uxtw #2]
	add	x12, x9, #1
	ldrsw	x13, [x8]
	cmp	x9, x13
	mov	x9, x12
	b.lt	LBB0_16
LBB0_17:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_PTS_IN_REGION,4,2          ; @NUM_PTS_IN_REGION
	.comm	_dc_fixpt_zero,4,2              ; @dc_fixpt_zero
	.comm	_de_pq_table,8,3                ; @de_pq_table
	.comm	_coordinates_x,8,3              ; @coordinates_x
	.comm	_MAX_HW_POINTS,4,2              ; @MAX_HW_POINTS
.subsections_via_symbols
