	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function convert_pd2zp
LCPI0_0:
	.quad	0x4066800000000000              ## double 180
	.quad	0x4066800000000000              ## double 180
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x4066800000000000              ## double 180
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_convert_pd2zp:                         ## @convert_pd2zp
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	jle	LBB0_19
## %bb.1:
	movq	(%rdi), %rax
	movq	(%rax), %r15
	movq	_M_PI@GOTPCREL(%rip), %rax
	cvtsi2sdl	(%rax), %xmm1
	movl	%esi, %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movddup	%xmm1, %xmm0                    ## xmm0 = xmm1[0,0]
	movapd	%xmm0, -176(%rbp)               ## 16-byte Spill
	xorl	%eax, %eax
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movapd	%xmm1, -64(%rbp)                ## 16-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-160(%rbp), %rax                ## 8-byte Reload
	incq	%rax
	cmpq	-144(%rbp), %rax                ## 8-byte Folded Reload
	je	LBB0_19
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_17 Depth 2
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	%rax, %rbx
	shlq	$4, %rbx
	movq	%r15, %r13
	movq	(%r15,%rbx), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	(%rax), %r14d
	testl	%r14d, %r14d
	jle	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rax
	movq	8(%r13,%rbx), %rax
	movq	(%rax), %r12
	cmpl	$1, %r14d
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movl	%r14d, %r15d
	andl	$-2, %r15d
	movq	%r15, %r13
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movupd	(%rbx), %xmm0
	movupd	16(%rbx), %xmm2
	movapd	%xmm0, %xmm1
	unpcklpd	%xmm2, %xmm1                    ## xmm1 = xmm1[0],xmm2[0]
	movapd	%xmm1, -128(%rbp)               ## 16-byte Spill
	unpckhpd	%xmm2, %xmm0                    ## xmm0 = xmm0[1],xmm2[1]
	mulpd	-176(%rbp), %xmm0               ## 16-byte Folded Reload
	divpd	LCPI0_0(%rip), %xmm0
	movapd	%xmm0, -80(%rbp)                ## 16-byte Spill
	callq	___sincos_stret
	movapd	%xmm0, -112(%rbp)               ## 16-byte Spill
	movapd	%xmm1, -96(%rbp)                ## 16-byte Spill
	movapd	-80(%rbp), %xmm0                ## 16-byte Reload
	unpckhpd	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	callq	___sincos_stret
	movapd	-96(%rbp), %xmm2                ## 16-byte Reload
	unpcklpd	%xmm1, %xmm2                    ## xmm2 = xmm2[0],xmm1[0]
	movapd	-128(%rbp), %xmm1               ## 16-byte Reload
	mulpd	%xmm1, %xmm2
	movapd	-112(%rbp), %xmm3               ## 16-byte Reload
	unpcklpd	%xmm0, %xmm3                    ## xmm3 = xmm3[0],xmm0[0]
	mulpd	%xmm1, %xmm3
	movapd	%xmm2, %xmm0
	unpckhpd	%xmm3, %xmm0                    ## xmm0 = xmm0[1],xmm3[1]
	unpcklpd	%xmm3, %xmm2                    ## xmm2 = xmm2[0],xmm3[0]
	movupd	%xmm2, (%rbx)
	movupd	%xmm0, 16(%rbx)
	addq	$32, %rbx
	addq	$-2, %r13
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, %r15
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	subq	%r15, %r14
	shlq	$4, %r15
	addq	%r15, %r12
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	8(%r12), %xmm0                  ## xmm0 = mem[0],zero
	mulsd	%xmm1, %xmm0
	divsd	%xmm2, %xmm0
	callq	___sincos_stret
	movddup	(%r12), %xmm2                   ## xmm2 = mem[0,0]
	unpcklpd	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	mulpd	%xmm2, %xmm1
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	movupd	%xmm1, (%r12)
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	addq	$16, %r12
	decq	%r14
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movl	4(%rax), %r14d
	testl	%r14d, %r14d
	movq	%r13, %r15
	jle	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15,%rbx), %rax
	movq	8(%rax), %r13
	cmpl	$1, %r14d
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %r12d
	andl	$-2, %r12d
	movq	%r12, %r15
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movupd	(%rbx), %xmm0
	movupd	16(%rbx), %xmm2
	movapd	%xmm0, %xmm1
	unpcklpd	%xmm2, %xmm1                    ## xmm1 = xmm1[0],xmm2[0]
	movapd	%xmm1, -128(%rbp)               ## 16-byte Spill
	unpckhpd	%xmm2, %xmm0                    ## xmm0 = xmm0[1],xmm2[1]
	mulpd	-176(%rbp), %xmm0               ## 16-byte Folded Reload
	divpd	LCPI0_0(%rip), %xmm0
	movapd	%xmm0, -80(%rbp)                ## 16-byte Spill
	callq	___sincos_stret
	movapd	%xmm0, -112(%rbp)               ## 16-byte Spill
	movapd	%xmm1, -96(%rbp)                ## 16-byte Spill
	movapd	-80(%rbp), %xmm0                ## 16-byte Reload
	unpckhpd	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	callq	___sincos_stret
	movapd	-96(%rbp), %xmm2                ## 16-byte Reload
	unpcklpd	%xmm1, %xmm2                    ## xmm2 = xmm2[0],xmm1[0]
	movapd	-128(%rbp), %xmm1               ## 16-byte Reload
	mulpd	%xmm1, %xmm2
	movapd	-112(%rbp), %xmm3               ## 16-byte Reload
	unpcklpd	%xmm0, %xmm3                    ## xmm3 = xmm3[0],xmm0[0]
	mulpd	%xmm1, %xmm3
	movapd	%xmm2, %xmm0
	unpckhpd	%xmm3, %xmm0                    ## xmm0 = xmm0[1],xmm3[1]
	unpcklpd	%xmm3, %xmm2                    ## xmm2 = xmm2[0],xmm3[0]
	movupd	%xmm2, (%rbx)
	movupd	%xmm0, 16(%rbx)
	addq	$32, %rbx
	addq	$-2, %r15
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, %r12
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	je	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	subq	%r12, %r14
	shlq	$4, %r12
	addq	%r12, %r13
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	8(%r13), %xmm0                  ## xmm0 = mem[0],zero
	mulsd	%xmm1, %xmm0
	divsd	%xmm2, %xmm0
	callq	___sincos_stret
	movddup	(%r13), %xmm2                   ## xmm2 = mem[0,0]
	unpcklpd	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	mulpd	%xmm2, %xmm1
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	movupd	%xmm1, (%r13)
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	addq	$16, %r13
	decq	%r14
	jne	LBB0_17
	jmp	LBB0_18
LBB0_19:
	addq	$136, %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	_convert_pd2zp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_pd2zp
_convert_pd2zp:                         ; @convert_pd2zp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #256
	.cfi_def_cfa_offset 256
	stp	d9, d8, [sp, #144]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #160]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #176]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #192]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #208]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #224]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #240]            ; 16-byte Folded Spill
	add	x29, sp, #240
	.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	w1, #1
	b.lt	LBB0_19
; %bb.1:
	mov	x19, #0
	ldr	x8, [x0]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _M_PI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh2:
	ldr	s0, [x8]
	sshll.2d	v0, v0, #0
	scvtf	d1, d0
	mov	w21, w1
	dup.2d	v0, v1[0]
	str	q0, [sp]                        ; 16-byte Folded Spill
	mov	x22, #140737488355328
	movk	x22, #16486, lsl #48
	dup.2d	v0, x22
	stp	q0, q1, [sp, #96]               ; 32-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #1
	cmp	x19, x21
	b.eq	LBB0_19
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
	lsl	x8, x19, #4
	ldr	x23, [x20, x8]
	ldr	w24, [x23]
	cmp	w24, #1
	b.lt	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x20, x19, lsl #4
	ldr	x8, [x8, #8]
	ldr	x25, [x8]
	cmp	w24, #1
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	and	x26, x24, #0xfffffffe
	mov	x27, x26
	mov	x28, x25
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ld2.2d	{ v1, v2 }, [x28]
	add	x8, sp, #64
	st1.2d	{ v1, v2 }, [x8]                ; 32-byte Folded Spill
	ldr	q0, [sp]                        ; 16-byte Folded Reload
	fmul.2d	v0, v2, v0
	ldr	q1, [sp, #96]                   ; 16-byte Folded Reload
	fdiv.2d	v0, v0, v1
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	mov	d0, v0[1]
	bl	___sincos_stret
	stp	q1, q0, [sp, #32]               ; 32-byte Folded Spill
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
                                        ; kill: def $d0 killed $d0 killed $q0
	bl	___sincos_stret
                                        ; kill: def $d0 killed $d0 def $q0
                                        ; kill: def $d1 killed $d1 def $q1
	ldp	q2, q5, [sp, #32]               ; 32-byte Folded Reload
	mov.d	v1[1], v2[0]
	add	x8, sp, #64
	ld1.2d	{ v3, v4 }, [x8]                ; 32-byte Folded Reload
	fmul.2d	v1, v3, v1
	mov.d	v0[1], v5[0]
	fmul.2d	v2, v3, v0
	st2.2d	{ v1, v2 }, [x28], #32
	subs	x27, x27, #2
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x26, x24
	ldr	q1, [sp, #112]                  ; 16-byte Folded Reload
	b.eq	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x25, x26, lsl #4
	add	x25, x8, #8
	sub	x24, x24, x26
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	d8, d0, [x25, #-8]
	fmul	d0, d0, d1
	fmov	d1, x22
	fdiv	d0, d0, d1
	bl	___sincos_stret
	fmul	d2, d8, d1
	ldr	q1, [sp, #112]                  ; 16-byte Folded Reload
	fmul	d0, d8, d0
	stp	d2, d0, [x25, #-8]
	add	x25, x25, #16
	subs	x24, x24, #1
	b.ne	LBB0_10
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w23, [x23, #4]
	cmp	w23, #1
	b.lt	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x20, x19, lsl #4
	ldr	x8, [x8, #8]
	ldr	x24, [x8, #8]
	cmp	w23, #1
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, #0
	b	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	and	x25, x23, #0xfffffffe
	mov	x26, x25
	mov	x27, x24
LBB0_15:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ld2.2d	{ v2, v3 }, [x27]
	add	x8, sp, #64
	st1.2d	{ v2, v3 }, [x8]                ; 32-byte Folded Spill
	fmul.2d	v0, v3, v1[0]
	ldr	q1, [sp, #96]                   ; 16-byte Folded Reload
	fdiv.2d	v0, v0, v1
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	mov	d0, v0[1]
	bl	___sincos_stret
	stp	q1, q0, [sp, #32]               ; 32-byte Folded Spill
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
                                        ; kill: def $d0 killed $d0 killed $q0
	bl	___sincos_stret
                                        ; kill: def $d0 killed $d0 def $q0
                                        ; kill: def $d1 killed $d1 def $q1
	ldp	q2, q5, [sp, #32]               ; 32-byte Folded Reload
	mov.d	v1[1], v2[0]
	add	x8, sp, #64
	ld1.2d	{ v3, v4 }, [x8]                ; 32-byte Folded Reload
	fmul.2d	v1, v3, v1
	mov.d	v0[1], v5[0]
	fmul.2d	v2, v3, v0
	st2.2d	{ v1, v2 }, [x27], #32
	ldr	q1, [sp, #112]                  ; 16-byte Folded Reload
	subs	x26, x26, #2
	b.ne	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	x25, x23
	b.eq	LBB0_2
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x24, x25, lsl #4
	add	x24, x8, #8
	sub	x23, x23, x25
LBB0_18:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	d8, d0, [x24, #-8]
	fmul	d0, d0, d1
	fmov	d1, x22
	fdiv	d0, d0, d1
	bl	___sincos_stret
	fmul	d1, d8, d1
	stur	d1, [x24, #-8]
	ldr	q1, [sp, #112]                  ; 16-byte Folded Reload
	fmul	d0, d8, d0
	str	d0, [x24], #16
	subs	x23, x23, #1
	b.ne	LBB0_18
	b	LBB0_2
LBB0_19:
	ldp	x29, x30, [sp, #240]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #224]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #208]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #192]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #176]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #160]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #144]              ; 16-byte Folded Reload
	add	sp, sp, #256
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,4,2                       ; @M_PI
	.no_dead_strip	_convert_pd2zp
.subsections_via_symbols
