	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function make_sin_table
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_make_sin_table:                        ## @make_sin_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LOG_PERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-2, %eax
	movl	$1, %r11d
	movl	%eax, %ecx
	shll	%cl, %r11d
	movq	_AMPLITUDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_AMPLITUDE_SHIFT@GOTPCREL(%rip), %r8
	movb	(%r8), %cl
	shll	%cl, %esi
	movl	$1, %edx
	movl	$0, (%rdi)
	movl	%esi, (%rdi,%r11,4)
	testl	%eax, %eax
	je	LBB0_1
	.p2align	4, 0x90
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_41
LBB0_1:
	movb	(%r8), %al
	leal	-1(%rax), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	leaq	1(%r11), %r9
	movl	%edx, (%rdi)
	movl	$1, %edx
	cmpl	$4, %r11d
	jb	LBB0_12
## %bb.2:
	cmpq	_AMPLITUDE_SHIFT@GOTPCREL(%rip), %rdi
	jae	LBB0_4
## %bb.3:
	leaq	(%rdi,%r9,4), %rax
	cmpq	_AMPLITUDE_SHIFT@GOTPCREL(%rip), %rax
	ja	LBB0_12
LBB0_4:
	movl	%r11d, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %rax
	movq	%rax, %r10
	shrq	$2, %r10
	incq	%r10
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r10, %rcx
	andq	$-2, %rcx
	movd	(%r8), %xmm1                    ## xmm1 = mem[0],zero,zero,zero
	pcmpeqd	%xmm0, %xmm0
	paddd	%xmm1, %xmm0
	pmovzxdq	%xmm0, %xmm2                    ## xmm2 = xmm0[0],zero,xmm0[1],zero
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	pslld	%xmm2, %xmm0
	xorl	%eax, %eax
	pmovzxdq	%xmm1, %xmm1                    ## xmm1 = xmm1[0],zero,xmm1[1],zero
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	4(%rdi,%rax,4), %xmm2
	paddd	%xmm0, %xmm2
	psrad	%xmm1, %xmm2
	movdqu	20(%rdi,%rax,4), %xmm3
	paddd	%xmm0, %xmm3
	psrad	%xmm1, %xmm3
	movdqu	%xmm2, 4(%rdi,%rax,4)
	movdqu	%xmm3, 20(%rdi,%rax,4)
	addq	$8, %rax
	addq	$-2, %rcx
	jne	LBB0_7
## %bb.8:
	testb	$1, %r10b
	je	LBB0_10
LBB0_9:
	shlq	$2, %rax
	orq	$4, %rax
	movdqu	(%rdi,%rax), %xmm0
	movd	(%r8), %xmm1                    ## xmm1 = mem[0],zero,zero,zero
	pcmpeqd	%xmm2, %xmm2
	paddd	%xmm1, %xmm2
	pmovzxdq	%xmm2, %xmm2                    ## xmm2 = xmm2[0],zero,xmm2[1],zero
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [1,1,1,1]
	pslld	%xmm2, %xmm3
	paddd	%xmm0, %xmm3
	psrad	%xmm1, %xmm3
	movdqu	%xmm3, (%rdi,%rax)
LBB0_10:
	cmpq	%rdx, %r11
	je	LBB0_15
## %bb.11:
	orq	$1, %rdx
LBB0_12:
	movq	%rdx, %rax
	notq	%rax
	testb	$1, %r9b
	jne	LBB0_14
## %bb.13:
	movb	(%r8), %r10b
	leal	-1(%r10), %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	addl	(%rdi,%rdx,4), %esi
	movl	%r10d, %ecx
	sarl	%cl, %esi
	movl	%esi, (%rdi,%rdx,4)
	incq	%rdx
LBB0_14:
	addq	%r9, %rax
	je	LBB0_15
	.p2align	4, 0x90
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r8), %eax
	leal	-1(%rax), %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	addl	(%rdi,%rdx,4), %esi
	movl	%eax, %ecx
	sarl	%cl, %esi
	movl	%esi, (%rdi,%rdx,4)
	movzbl	(%r8), %eax
	leal	-1(%rax), %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	addl	4(%rdi,%rdx,4), %esi
	movl	%eax, %ecx
	sarl	%cl, %esi
	movl	%esi, 4(%rdi,%rdx,4)
	addq	$2, %rdx
	cmpq	%rdx, %r9
	jne	LBB0_42
LBB0_15:
	leal	(%r11,%r11), %r9d
	leaq	-1(%r11), %rax
	movl	%r11d, %r8d
	andl	$3, %r8d
	cmpq	$3, %rax
	jae	LBB0_39
## %bb.16:
	xorl	%edx, %edx
	jmp	LBB0_17
LBB0_39:
	andl	$-4, %r11d
	xorl	%edx, %edx
	movl	%r9d, %eax
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rdx,4), %ecx
	movl	%eax, %esi
	movl	%ecx, (%rdi,%rsi,4)
	movl	4(%rdi,%rdx,4), %ecx
	leal	-1(%rax), %esi
	movl	%ecx, (%rdi,%rsi,4)
	movl	8(%rdi,%rdx,4), %ecx
	leal	-2(%rax), %esi
	movl	%ecx, (%rdi,%rsi,4)
	movl	12(%rdi,%rdx,4), %ecx
	leal	-3(%rax), %esi
	movl	%ecx, (%rdi,%rsi,4)
	addq	$4, %rdx
	addl	$-4, %eax
	cmpq	%rdx, %r11
	jne	LBB0_40
LBB0_17:
	testq	%r8, %r8
	je	LBB0_20
## %bb.18:
	movl	%r9d, %eax
	subl	%edx, %eax
	leaq	(%rdi,%rdx,4), %r10
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r10,%rsi,4), %ecx
	movl	%eax, %edx
	movl	%ecx, (%rdi,%rdx,4)
	incq	%rsi
	decl	%eax
	cmpq	%rsi, %r8
	jne	LBB0_19
LBB0_20:
	testl	%r9d, %r9d
	je	LBB0_38
## %bb.21:
	movl	%r9d, %r10d
	cmpl	$8, %r9d
	jae	LBB0_23
## %bb.22:
	xorl	%edx, %edx
LBB0_32:
	movq	%rdx, %r8
	notq	%r8
	addq	%r10, %r8
	movq	%r10, %r11
	andq	$2, %r11
	je	LBB0_36
## %bb.33:
	addl	%edx, %r9d
	leaq	(%rdi,%r9,4), %r9
	leaq	(%rdi,%rdx,4), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	subl	(%rcx,%rsi,4), %eax
	movl	%eax, (%r9,%rsi,4)
	incq	%rsi
	cmpq	%rsi, %r11
	jne	LBB0_34
## %bb.35:
	addq	%rsi, %rdx
LBB0_36:
	cmpq	$3, %r8
	jb	LBB0_38
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	subl	(%rdi,%rdx,4), %eax
	leaq	(%r10,%rdx), %rcx
	movl	%ecx, %esi
	movl	%eax, (%rdi,%rsi,4)
	xorl	%eax, %eax
	subl	4(%rdi,%rdx,4), %eax
	leal	1(%rcx), %esi
	movl	%eax, (%rdi,%rsi,4)
	xorl	%eax, %eax
	subl	8(%rdi,%rdx,4), %eax
	leal	2(%rcx), %esi
	movl	%eax, (%rdi,%rsi,4)
	xorl	%eax, %eax
	subl	12(%rdi,%rdx,4), %eax
	addl	$3, %ecx
	movl	%eax, (%rdi,%rcx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r10
	jne	LBB0_37
	jmp	LBB0_38
LBB0_23:
	leaq	-1(%r10), %rax
	xorl	%edx, %edx
	movl	%r9d, %ecx
	addl	%eax, %ecx
	jb	LBB0_32
## %bb.24:
	shrq	$32, %rax
	jne	LBB0_32
## %bb.25:
	movl	%r10d, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rax
	movq	%rax, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_26
## %bb.27:
	movq	%r8, %r11
	andq	$-2, %r11
	xorl	%esi, %esi
	movl	%r9d, %ecx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdi,%rsi,4), %xmm0
	movdqu	16(%rdi,%rsi,4), %xmm1
	pxor	%xmm2, %xmm2
	psubd	%xmm0, %xmm2
	pxor	%xmm0, %xmm0
	psubd	%xmm1, %xmm0
	movl	%ecx, %eax
	movdqu	%xmm2, (%rdi,%rax,4)
	movdqu	%xmm0, 16(%rdi,%rax,4)
	movdqu	32(%rdi,%rsi,4), %xmm0
	movdqu	48(%rdi,%rsi,4), %xmm1
	pxor	%xmm2, %xmm2
	psubd	%xmm0, %xmm2
	pxor	%xmm0, %xmm0
	psubd	%xmm1, %xmm0
	leal	8(%rcx), %eax
	movdqu	%xmm2, (%rdi,%rax,4)
	movdqu	%xmm0, 16(%rdi,%rax,4)
	addq	$16, %rsi
	addl	$16, %ecx
	addq	$-2, %r11
	jne	LBB0_28
## %bb.29:
	testb	$1, %r8b
	je	LBB0_31
LBB0_30:
	movdqu	(%rdi,%rsi,4), %xmm0
	movdqu	16(%rdi,%rsi,4), %xmm1
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	psubd	%xmm0, %xmm3
	psubd	%xmm1, %xmm2
	leal	(%r9,%rsi), %eax
	movdqu	%xmm3, (%rdi,%rax,4)
	movdqu	%xmm2, 16(%rdi,%rax,4)
LBB0_31:
	cmpq	%r10, %rdx
	jne	LBB0_32
LBB0_38:
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	testb	$1, %r10b
	jne	LBB0_9
	jmp	LBB0_10
LBB0_26:
	xorl	%esi, %esi
	testb	$1, %r8b
	jne	LBB0_30
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_PERIOD,4,2                 ## @LOG_PERIOD
	.comm	_AMPLITUDE,4,2                  ## @AMPLITUDE
	.comm	_AMPLITUDE_SHIFT,4,2            ## @AMPLITUDE_SHIFT
	.no_dead_strip	_make_sin_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_sin_table
_make_sin_table:                        ; @make_sin_table
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _LOG_PERIOD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOG_PERIOD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w10, #1
Lloh3:
	adrp	x9, _AMPLITUDE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AMPLITUDE@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x9]
Lloh6:
	adrp	x9, _AMPLITUDE_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AMPLITUDE_SHIFT@GOTPAGEOFF]
	ldr	w12, [x9]
	str	wzr, [x0]
	subs	w8, w8, #2
	lsl	w8, w10, w8
	lsl	w11, w11, w12
	str	w11, [x0, w8, uxtw #2]
	b.eq	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	b	LBB0_1
LBB0_2:
	add	w11, w8, #1
	ldr	w12, [x9]
	sub	w13, w12, #1
	lsl	w13, w10, w13
	asr	w12, w13, w12
	str	w12, [x0]
	sub	x12, x11, #1
	cmp	x12, #16
	b.lo	LBB0_9
; %bb.3:
	cmp	x0, x9
	b.hs	LBB0_6
; %bb.4:
	add	x10, x0, x11, lsl #2
	cmp	x10, x9
	b.ls	LBB0_6
; %bb.5:
	mov	w10, #1
	b	LBB0_9
LBB0_6:
	and	x13, x12, #0xfffffffffffffff0
	orr	x10, x13, #0x1
	ld1r.4s	{ v1 }, [x9]
	movi.2d	v0, #0xffffffffffffffff
	add.4s	v0, v1, v0
	movi.4s	v2, #1
	ushl.4s	v0, v2, v0
	add	x14, x0, #36
	neg.4s	v1, v1
	mov	x15, x13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q2, q3, [x14, #-32]
	ldp	q4, q5, [x14]
	add.4s	v2, v0, v2
	add.4s	v3, v0, v3
	add.4s	v4, v0, v4
	add.4s	v5, v0, v5
	sshl.4s	v2, v2, v1
	sshl.4s	v3, v3, v1
	sshl.4s	v4, v4, v1
	sshl.4s	v5, v5, v1
	stp	q2, q3, [x14, #-32]
	stp	q4, q5, [x14], #64
	subs	x15, x15, #16
	b.ne	LBB0_7
; %bb.8:
	cmp	x12, x13
	b.eq	LBB0_11
LBB0_9:
	sub	x11, x11, x10
	add	x10, x0, x10, lsl #2
	mov	w12, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x10]
	ldr	w14, [x9]
	sub	w15, w14, #1
	lsl	w15, w12, w15
	add	w13, w15, w13
	asr	w13, w13, w14
	str	w13, [x10], #4
	subs	x11, x11, #1
	b.ne	LBB0_10
LBB0_11:
	lsl	w9, w8, #1
	mov	x10, x0
	mov	x11, x9
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10], #4
	str	w12, [x0, w11, uxtw #2]
	sub	w11, w11, #1
	subs	x8, x8, #1
	b.ne	LBB0_12
; %bb.13:
	cbz	w9, LBB0_22
; %bb.14:
	cmp	w9, #16
	b.hs	LBB0_16
; %bb.15:
	mov	x8, #0
	b	LBB0_21
LBB0_16:
	mov	x8, #0
	sub	x10, x9, #1
	cmn	w9, w10
	b.hs	LBB0_21
; %bb.17:
	lsr	x10, x10, #32
	cbnz	x10, LBB0_21
; %bb.18:
	and	x8, x9, #0xfffffff0
	add	x10, x0, #32
	mov	x11, x9
	mov	x12, x8
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10, #-32]
	ldp	q2, q3, [x10], #64
	neg.4s	v0, v0
	neg.4s	v1, v1
	neg.4s	v2, v2
	neg.4s	v3, v3
	add	x13, x0, w11, uxtw #2
	stp	q0, q1, [x13]
	stp	q2, q3, [x13, #32]
	add	w11, w11, #16
	subs	x12, x12, #16
	b.ne	LBB0_19
; %bb.20:
	cmp	x8, x9
	b.eq	LBB0_22
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0, x8, lsl #2]
	neg	w10, w10
	add	w11, w9, w8
	str	w10, [x0, w11, uxtw #2]
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_21
LBB0_22:
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_PERIOD,4,2                 ; @LOG_PERIOD
	.comm	_AMPLITUDE,4,2                  ; @AMPLITUDE
	.comm	_AMPLITUDE_SHIFT,4,2            ; @AMPLITUDE_SHIFT
	.no_dead_strip	_make_sin_table
.subsections_via_symbols
