	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function fadst4_1d
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_fadst4_1d:                             ## @fadst4_1d
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	jle	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	cvtsi2sd	%edx, %xmm1
	addsd	%xmm1, %xmm1
	addsd	LCPI0_0(%rip), %xmm1
	movl	%edx, %eax
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	_M_PI@GOTPCREL(%rip), %r13
	movsd	%xmm1, -72(%rbp)                ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	$0, (%rdi,%rcx,8)
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%r14,%r15,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, -80(%rbp)                ## 8-byte Spill
	movl	(%r13), %eax
	imull	%r12d, %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	incq	%r15
	divsd	%xmm1, %xmm0
	movq	%rdi, %rbx
	cvttsd2si	%xmm0, %edi
	callq	_sin
	movq	%rbx, %rdi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movsd	-72(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	-80(%rbp), %xmm0                ## 8-byte Folded Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addsd	(%rbx,%rcx,8), %xmm0
	movsd	%xmm0, (%rbx,%rcx,8)
	addl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	cmpq	%r15, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	addl	$2, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, %rcx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rbx
	jne	LBB0_2
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,4,2                       ## @M_PI
	.no_dead_strip	_fadst4_1d
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fadst4_1d
_fadst4_1d:                             ; @fadst4_1d
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	cmp	w2, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x21, #0
	scvtf	d0, w2
	fmov	d1, #1.00000000
	fmov	d2, #2.00000000
	fmadd	d8, d0, d2, d1
	mov	w22, w2
	mov	w23, #1
Lloh0:
	adrp	x24, _M_PI@GOTPAGE
Lloh1:
	ldr	x24, [x24, _M_PI@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	str	xzr, [x20, x21, lsl #3]
	mov	x25, x23
	mov	x26, x22
	mov	x27, x19
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d9, [x27], #8
	ldr	w8, [x24]
	mul	w8, w25, w8
	scvtf	d0, w8
	fdiv	d0, d0, d8
	fcvtzs	w0, d0
	bl	_sin
	lsl	x8, x21, #3
	ldr	d1, [x20, x8]
	fmadd	d0, d9, d0, d1
	str	d0, [x20, x8]
	add	w25, w25, w23
	subs	x26, x26, #1
	b.ne	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	add	w23, w23, #2
	cmp	x21, x22
	b.ne	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,4,2                       ; @M_PI
	.no_dead_strip	_fadst4_1d
.subsections_via_symbols
