	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function makeAmTable
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_3:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_4:
	.quad	0x43e0000000000000              ## double 9.2233720368547758E+18
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_2:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_makeAmTable:                           ## @makeAmTable
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_AM_PG_WIDTH@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.1:
	movq	_DB_STEP@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movq	_PI@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	addsd	%xmm0, %xmm0
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movq	_PM_PG_WIDTH@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	movq	_amtable@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	xorl	%ebx, %ebx
	movq	_AM_DEPTH@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sdq	(%r12), %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	divsd	-56(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	movq	%rbx, %xmm1
	punpckldq	LCPI0_1(%rip), %xmm1    ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
	subpd	LCPI0_2(%rip), %xmm1
	movapd	%xmm1, %xmm0
	unpckhpd	%xmm1, %xmm0                    ## xmm0 = xmm0[1],xmm1[1]
	addsd	%xmm1, %xmm0
	mulsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	divsd	-40(%rbp), %xmm0                ## 8-byte Folded Reload
	callq	_sin
	addsd	LCPI0_3(%rip), %xmm0
	mulsd	-64(%rbp), %xmm0                ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %rax
	movq	%rax, %rcx
	sarq	$63, %rcx
	subsd	LCPI0_4(%rip), %xmm0
	cvttsd2si	%xmm0, %rdx
	andq	%rcx, %rdx
	orq	%rax, %rdx
	movq	%rdx, (%r15,%rbx,8)
	incq	%rbx
	cmpq	(%r14), %rbx
	jb	LBB0_2
LBB0_3:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AM_PG_WIDTH,8,3                ## @AM_PG_WIDTH
	.comm	_AM_DEPTH,8,3                   ## @AM_DEPTH
	.comm	_DB_STEP,8,3                    ## @DB_STEP
	.comm	_PI,8,3                         ## @PI
	.comm	_PM_PG_WIDTH,8,3                ## @PM_PG_WIDTH
	.comm	_amtable,8,3                    ## @amtable
	.no_dead_strip	_makeAmTable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function makeAmTable
_makeAmTable:                           ; @makeAmTable
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	.cfi_offset b12, -88
	.cfi_offset b13, -96
Lloh0:
	adrp	x19, _AM_PG_WIDTH@GOTPAGE
Lloh1:
	ldr	x19, [x19, _AM_PG_WIDTH@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x20, #0
Lloh2:
	adrp	x8, _DB_STEP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DB_STEP@GOTPAGEOFF]
Lloh4:
	ldr	d8, [x8]
Lloh5:
	adrp	x8, _PI@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PI@GOTPAGEOFF]
Lloh7:
	ldr	d0, [x8]
	fadd	d9, d0, d0
Lloh8:
	adrp	x8, _PM_PG_WIDTH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PM_PG_WIDTH@GOTPAGEOFF]
Lloh10:
	adrp	x9, _amtable@GOTPAGE
Lloh11:
	ldr	x9, [x9, _amtable@GOTPAGEOFF]
Lloh12:
	ldr	d10, [x8]
Lloh13:
	ldr	x21, [x9]
Lloh14:
	adrp	x22, _AM_DEPTH@GOTPAGE
Lloh15:
	ldr	x22, [x22, _AM_DEPTH@GOTPAGEOFF]
	fmov	d11, #0.50000000
	fmov	d12, #1.00000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x22]
	scvtf	d0, d0
	fmul	d0, d0, d11
	fdiv	d13, d0, d8
	ucvtf	d0, x20
	fmul	d0, d9, d0
	fdiv	d0, d0, d10
	bl	_sin
	fadd	d0, d0, d12
	fmul	d0, d13, d0
	fcvtzu	x8, d0
	str	x8, [x21, 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	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AM_PG_WIDTH,8,3                ; @AM_PG_WIDTH
	.comm	_AM_DEPTH,8,3                   ; @AM_DEPTH
	.comm	_DB_STEP,8,3                    ; @DB_STEP
	.comm	_PI,8,3                         ; @PI
	.comm	_PM_PG_WIDTH,8,3                ; @PM_PG_WIDTH
	.comm	_amtable,8,3                    ; @amtable
	.no_dead_strip	_makeAmTable
.subsections_via_symbols
