	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function makePmTable
LCPI0_0:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_1:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_2:
	.quad	0x4092c00000000000              ## double 1200
LCPI0_3:
	.quad	0x43e0000000000000              ## double 9.2233720368547758E+18
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_makePmTable:                           ## @makePmTable
	.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	_PM_PG_WIDTH@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_PM_DEPTH@GOTPCREL(%rip), %r12
	movq	_PI@GOTPCREL(%rip), %r13
	movq	_pmtable@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PM_AMP@GOTPCREL(%rip), %rdx
	xorps	%xmm0, %xmm0
	cvtsi2sdq	(%rdx), %xmm0
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sdq	(%r12), %xmm0
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movsd	(%r13), %xmm1                   ## xmm1 = mem[0],zero
	addsd	%xmm1, %xmm1
	movq	%rbx, %xmm2
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [1127219200,1160773632,0,0]
	punpckldq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
	movapd	LCPI0_1(%rip), %xmm4            ## xmm4 = [4.503599627370496E+15,1.9342813113834067E+25]
	subpd	%xmm4, %xmm2
	movapd	%xmm2, %xmm0
	unpckhpd	%xmm2, %xmm0                    ## xmm0 = xmm0[1],xmm2[1]
	addsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm0
	movq	%rax, %xmm1
	punpckldq	%xmm3, %xmm1            ## xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
	subpd	%xmm4, %xmm1
	movapd	%xmm1, %xmm2
	unpckhpd	%xmm1, %xmm2                    ## xmm2 = xmm2[1],xmm1[1]
	addsd	%xmm1, %xmm2
	divsd	%xmm2, %xmm0
	callq	_sin
	mulsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	divsd	LCPI0_2(%rip), %xmm0
	movl	$2, %edi
	callq	_pow
	mulsd	-56(%rbp), %xmm0                ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %rax
	movq	%rax, %rcx
	subsd	LCPI0_3(%rip), %xmm0
	cvttsd2si	%xmm0, %rdx
	sarq	$63, %rcx
	andq	%rcx, %rdx
	orq	%rax, %rdx
	movq	(%r14), %rax
	movq	%rdx, (%rax,%rbx,8)
	incq	%rbx
	movq	(%r15), %rax
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PM_PG_WIDTH,8,3                ## @PM_PG_WIDTH
	.comm	_PM_AMP,8,3                     ## @PM_AMP
	.comm	_PM_DEPTH,8,3                   ## @PM_DEPTH
	.comm	_PI,8,3                         ## @PI
	.comm	_pmtable,8,3                    ## @pmtable
	.no_dead_strip	_makePmTable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function makePmTable
_makePmTable:                           ; @makePmTable
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset b8, -88
	.cfi_offset b9, -96
Lloh0:
	adrp	x19, _PM_PG_WIDTH@GOTPAGE
Lloh1:
	ldr	x19, [x19, _PM_PG_WIDTH@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x20, #0
Lloh2:
	adrp	x21, _PM_AMP@GOTPAGE
Lloh3:
	ldr	x21, [x21, _PM_AMP@GOTPAGEOFF]
Lloh4:
	adrp	x22, _PM_DEPTH@GOTPAGE
Lloh5:
	ldr	x22, [x22, _PM_DEPTH@GOTPAGEOFF]
Lloh6:
	adrp	x23, _PI@GOTPAGE
Lloh7:
	ldr	x23, [x23, _PI@GOTPAGEOFF]
	mov	x24, #211106232532992
	movk	x24, #16530, lsl #48
Lloh8:
	adrp	x25, _pmtable@GOTPAGE
Lloh9:
	ldr	x25, [x25, _pmtable@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x21]
	scvtf	d8, d0
	ldr	d0, [x22]
	scvtf	d9, d0
	ldr	d0, [x23]
	fadd	d0, d0, d0
	ucvtf	d1, x20
	fmul	d0, d0, d1
	ucvtf	d1, x8
	fdiv	d0, d0, d1
	bl	_sin
	fmul	d0, d0, d9
	fmov	d1, x24
	fdiv	d0, d0, d1
	mov	w0, #2
	bl	_pow
	fmul	d0, d0, d8
	fcvtzu	x8, d0
	ldr	x9, [x25]
	str	x8, [x9, x20, lsl #3]
	add	x20, x20, #1
	ldr	x8, [x19]
	cmp	x20, x8
	b.lo	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PM_PG_WIDTH,8,3                ; @PM_PG_WIDTH
	.comm	_PM_AMP,8,3                     ; @PM_AMP
	.comm	_PM_DEPTH,8,3                   ; @PM_DEPTH
	.comm	_PI,8,3                         ; @PI
	.comm	_pmtable,8,3                    ; @pmtable
	.no_dead_strip	_makePmTable
.subsections_via_symbols
