	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NewD                           ## -- Begin function NewD
	.p2align	4, 0x90
_NewD:                                  ## @NewD
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_Z1@GOTPCREL(%rip), %r14
	movq	_Q@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	imull	(%r14), %eax
	movq	_X@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	movq	_Half@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	_Radix@GOTPCREL(%rip), %rbx
	cltd
	idivl	(%rbx)
	cltq
	subq	%rax, %rdi
	callq	_FLOOR
	movl	%eax, %ecx
	movl	(%rbx), %r11d
	imull	%r11d, %ecx
	addl	(%r12), %ecx
	movl	%ecx, (%r12)
	movl	(%r15), %eax
	movq	_Z@GOTPCREL(%rip), %r8
	movl	(%r8), %edi
	movl	%edi, %edx
	imull	%ecx, %edx
	subl	%edx, %eax
	cltd
	idivl	%r11d
	movl	%eax, %r9d
	movl	%ecx, %ebx
	imull	%ecx, %ebx
	movq	_D@GOTPCREL(%rip), %r10
	movl	(%r10), %esi
	movl	%esi, %eax
	cltd
	idivl	%r11d
	imull	%ebx, %eax
	addl	%r9d, %eax
	movl	%eax, (%r15)
	movq	_Two@GOTPCREL(%rip), %rax
	imull	%esi, %ecx
	imull	(%rax), %ecx
	subl	%ecx, %edi
	movl	%edi, (%r8)
	movq	_Zero@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jg	LBB0_2
## %bb.1:
	negl	%edi
	movl	%edi, (%r8)
	negl	(%r14)
LBB0_2:
	imull	%r11d, %esi
	movl	%esi, (%r10)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z1,4,2                         ## @Z1
	.comm	_Q,4,2                          ## @Q
	.comm	_X,4,2                          ## @X
	.comm	_Half,8,3                       ## @Half
	.comm	_Radix,4,2                      ## @Radix
	.comm	_Z,4,2                          ## @Z
	.comm	_D,4,2                          ## @D
	.comm	_Two,4,2                        ## @Two
	.comm	_Zero,4,2                       ## @Zero
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NewD                           ; -- Begin function NewD
	.p2align	2
_NewD:                                  ; @NewD
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x19, _Z1@GOTPAGE
Lloh1:
	ldr	x19, [x19, _Z1@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x20, _Q@GOTPAGE
Lloh3:
	ldr	x20, [x20, _Q@GOTPAGEOFF]
	ldr	w9, [x20]
	mul	w8, w9, w8
Lloh4:
	adrp	x21, _X@GOTPAGE
Lloh5:
	ldr	x21, [x21, _X@GOTPAGEOFF]
	str	w8, [x21]
Lloh6:
	adrp	x9, _Half@GOTPAGE
Lloh7:
	ldr	x9, [x9, _Half@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x22, _Radix@GOTPAGE
Lloh10:
	ldr	x22, [x22, _Radix@GOTPAGEOFF]
	ldr	w10, [x22]
	sdiv	w8, w8, w10
	sub	x0, x9, w8, sxtw
	bl	_FLOOR
	ldr	w8, [x22]
	ldr	w9, [x21]
	madd	w12, w8, w0, w9
	str	w12, [x21]
	ldr	w9, [x20]
Lloh11:
	adrp	x10, _Z@GOTPAGE
Lloh12:
	ldr	x10, [x10, _Z@GOTPAGEOFF]
	ldr	w13, [x10]
	msub	w9, w13, w12, w9
	sdiv	w14, w9, w8
	mul	w15, w12, w12
Lloh13:
	adrp	x9, _D@GOTPAGE
Lloh14:
	ldr	x9, [x9, _D@GOTPAGEOFF]
	ldr	w11, [x9]
	sdiv	w16, w11, w8
	madd	w14, w15, w16, w14
	str	w14, [x20]
Lloh15:
	adrp	x14, _Two@GOTPAGE
Lloh16:
	ldr	x14, [x14, _Two@GOTPAGEOFF]
Lloh17:
	ldr	w14, [x14]
	mul	w12, w11, w12
	msub	w12, w12, w14, w13
	str	w12, [x10]
Lloh18:
	adrp	x13, _Zero@GOTPAGE
Lloh19:
	ldr	x13, [x13, _Zero@GOTPAGEOFF]
Lloh20:
	ldr	w13, [x13]
	cmp	w12, w13
	b.gt	LBB0_2
; %bb.1:
	neg	w12, w12
	str	w12, [x10]
	ldr	w10, [x19]
	neg	w10, w10
	str	w10, [x19]
LBB0_2:
	mul	w8, w11, w8
	str	w8, [x9]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_Z1,4,2                         ; @Z1
	.comm	_Q,4,2                          ; @Q
	.comm	_X,4,2                          ; @X
	.comm	_Half,8,3                       ; @Half
	.comm	_Radix,4,2                      ; @Radix
	.comm	_Z,4,2                          ; @Z
	.comm	_D,4,2                          ; @D
	.comm	_Two,4,2                        ; @Two
	.comm	_Zero,4,2                       ; @Zero
.subsections_via_symbols
