	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function drfti1
LCPI0_0:
	.long	0x40c90fdb                      ## float 6.28318548
LCPI0_1:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_drfti1:                                ## @drfti1
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %ecx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	leaq	8(%rdx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	$-1, %rax
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_12 Depth 3
	leaq	1(%rax), %rdx
	cmpq	$2, %rax
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jg	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	_drfti1.ntryh(%rip), %rax
	movl	(%rax,%rdx,4), %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	$2, %r14d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %r10
	leal	1(%r10), %r11d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r10,4), %rdi
	xorl	%r12d, %r12d
	movl	%r11d, %esi
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	$2, 8(%rcx)
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=2
	incl	%r12d
	addq	$4, %rdi
	incl	%esi
	movl	%eax, %ecx
	cmpl	$1, %eax
	je	LBB0_18
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_12 Depth 3
	movq	%r10, %r15
	movl	%ecx, %eax
	cltd
	idivl	%r14d
	movl	%eax, %edx
	imull	%r14d, %edx
	cmpl	%edx, %ecx
	jne	LBB0_1
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	leaq	1(%r15), %r10
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, 8(%rcx,%r15,4)
	cmpl	$2, %r14d
	jne	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	%esi, %ecx
	decq	%rcx
	leal	(%r11,%r12), %r9d
	andq	$-2, %rcx
	leaq	-1(%r9), %r13
	testq	%r15, %r15
	je	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	jle	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	$1, %r8d
	cmpl	$2, %r9d
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	$-1, %r8
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	-4(%rdi,%r8,4), %rdx
	movq	%rdx, (%rdi,%r8,4)
	leaq	(%rcx,%r8), %rdx
	addq	$-2, %rdx
	addq	$-2, %r8
	cmpq	$-1, %rdx
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=2
	negq	%r8
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	testb	$1, %r13b
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r10, %rcx
	subq	%r8, %rcx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movl	4(%r8,%rcx,4), %edx
	movl	%edx, 8(%r8,%rcx,4)
	jmp	LBB0_16
LBB0_18:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movl	%r10d, 4(%rax)
	testl	%r15d, %r15d
	jle	LBB0_31
## %bb.19:
	cvtsi2ssl	-44(%rbp), %xmm0        ## 4-byte Folded Reload
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	movss	%xmm1, -100(%rbp)               ## 4-byte Spill
	movl	%r15d, %r8d
	movl	$1, %r12d
	xorl	%edx, %edx
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	xorl	%esi, %esi
	movq	%r8, -128(%rbp)                 ## 8-byte Spill
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	addl	-84(%rbp), %esi                 ## 4-byte Folded Reload
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
LBB0_30:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rdx
	movl	%ecx, %r12d
	cmpq	%r8, %rdx
	je	LBB0_31
LBB0_20:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
                                        ##       Child Loop BB0_25 Depth 3
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax,%rdx,4), %edi
	movl	%edi, %ecx
	imull	%r12d, %ecx
	cmpl	$2, %edi
	jl	LBB0_30
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	decl	%edi
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cltd
	movl	%ecx, -88(%rbp)                 ## 4-byte Spill
	idivl	%ecx
	movl	%esi, -92(%rbp)                 ## 4-byte Spill
	movslq	%esi, %r14
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movslq	%eax, %rcx
	movl	%ecx, %eax
	imull	%edi, %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	leal	-3(%rcx), %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	shrl	%eax
	incl	%eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	andl	$-2, %eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movl	%r12d, -112(%rbp)               ## 4-byte Spill
	movl	%edi, -76(%rbp)                 ## 4-byte Spill
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=2
	addq	-144(%rbp), %r14                ## 8-byte Folded Reload
	incl	%r13d
	cmpl	%edi, %r13d
	je	LBB0_29
LBB0_22:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_25 Depth 3
	addl	%r12d, %eax
	cmpl	$3, -116(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_28
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	mulss	-100(%rbp), %xmm1               ## 4-byte Folded Reload
	xorps	%xmm2, %xmm2
	movq	%r14, %r15
	cmpl	$2, -108(%rbp)                  ## 4-byte Folded Reload
	jb	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=2
	xorps	%xmm2, %xmm2
	movl	-96(%rbp), %r12d                ## 4-byte Reload
	movq	%r14, %r15
	movss	%xmm1, -56(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_20 Depth=1
                                        ##     Parent Loop BB0_22 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	addss	%xmm0, %xmm2
	movss	%xmm2, -64(%rbp)                ## 4-byte Spill
	mulss	%xmm2, %xmm1
	movss	%xmm1, -48(%rbp)                ## 4-byte Spill
	movaps	%xmm1, %xmm0
	callq	_cos
	movss	%xmm0, (%rbx,%r15,4)
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_sin
	movss	%xmm0, 4(%rbx,%r15,4)
	movss	-64(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	addss	LCPI0_1(%rip), %xmm0
	movss	%xmm0, -64(%rbp)                ## 4-byte Spill
	movss	-56(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	-64(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	callq	_cos
	movss	%xmm0, 8(%rbx,%r15,4)
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_sin
	movss	-64(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movss	-56(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	%xmm0, 12(%rbx,%r15,4)
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addq	$4, %r15
	addl	$-2, %r12d
	jne	LBB0_25
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=2
	testb	$1, -104(%rbp)                  ## 1-byte Folded Reload
	movl	-112(%rbp), %r12d               ## 4-byte Reload
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_22 Depth=2
	addss	%xmm0, %xmm2
	mulss	%xmm2, %xmm1
	movss	%xmm1, -56(%rbp)                ## 4-byte Spill
	movaps	%xmm1, %xmm0
	callq	_cos
	movss	%xmm0, (%rbx,%r15,4)
	movss	-56(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_sin
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	movss	%xmm0, 4(%rbx,%r15,4)
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_28
LBB0_31:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @drfti1.ntryh
_drfti1.ntryh:
	.long	4                               ## 0x4
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	5                               ## 0x5

	.no_dead_strip	_drfti1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drfti1
_drfti1:                                ; @drfti1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	d13, d12, [sp, #48]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #64]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #80]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
	mov	w9, #0
	mov	w13, #0
	add	x8, x2, #8
	mov	x10, #-1
	mov	w11, #2
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
	mov	x16, x0
Lloh0:
	adrp	x12, _drfti1.ntryh@PAGE
Lloh1:
	add	x12, x12, _drfti1.ntryh@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
                                        ; kill: def $w13 killed $w13 killed $x13 def $x13
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;       Child Loop BB0_13 Depth 3
	mov	x14, x10
	add	x10, x10, #1
	cmp	x14, #2
	b.gt	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x12, x10, lsl #2]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w9, w9, #2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	sxtw	x0, w13
	add	w14, w13, #1
	add	x15, x8, w13, sxtw #2
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	str	w11, [x2, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x0, x13, #1
	add	x15, x15, #4
	add	w14, w14, #1
	mov	x16, x17
	cmp	w17, #1
	b.eq	LBB0_14
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_13 Depth 3
	mov	x13, x0
	sdiv	w17, w16, w9
	mul	w0, w17, w9
	cmp	w16, w0
	b.ne	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x16, x2, x13, lsl #2
	str	w9, [x16, #8]
	cmp	w9, #2
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	cbz	x13, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	cmp	x13, #1
	b.lt	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	w16, w14
	sub	x16, x16, #1
	mov	x1, x15
	mov	x0, x15
LBB0_13:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_8 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w3, [x0, #-4]!
	str	w3, [x1]
	mov	x1, x0
	subs	x16, x16, #1
	b.ne	LBB0_13
	b	LBB0_6
LBB0_14:
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	stp	w8, w0, [x2]
	cmp	w13, #1
	b.lt	LBB0_24
; %bb.15:
	mov	x22, #0
	mov	w10, #0
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	scvtf	s0, w8
	mov	w8, #4059
	movk	w8, #16585, lsl #16
	fmov	s1, w8
	fdiv	s9, s1, s0
	and	x9, x13, #0xffffffff
	mov	w25, #1
	fmov	s10, #1.00000000
	stp	x9, x2, [sp, #8]                ; 16-byte Folded Spill
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	ldp	w11, w10, [sp, #40]             ; 8-byte Folded Reload
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	add	w10, w10, w8
	ldp	x9, x2, [sp, #8]                ; 16-byte Folded Reload
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x22, x22, #1
	mov	x25, x11
	cmp	x22, x9
	b.eq	LBB0_24
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
                                        ;       Child Loop BB0_23 Depth 3
	add	x8, x2, x22, lsl #2
	ldr	w8, [x8, #8]
	mul	w11, w8, w25
	cmp	w8, #2
	b.lt	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w27, #0
	mov	w28, #0
	ldr	w9, [sp, #32]                   ; 4-byte Folded Reload
	sdiv	w20, w9, w11
	sub	w24, w8, #1
	mul	w8, w20, w24
	stp	w8, w11, [sp, #36]              ; 8-byte Folded Spill
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	w10, [sp, #44]                  ; 4-byte Folded Spill
	add	x21, x8, w10, sxtw #2
	sbfiz	x23, x20, #2, #32
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	add	w27, w27, #1
	add	x21, x21, x23
	cmp	w27, w24
	b.eq	LBB0_16
LBB0_21:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_23 Depth 3
	add	w28, w28, w25
	cmp	w20, #3
	b.lt	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	mov	x19, #0
	scvtf	s0, w28
	fmul	s11, s9, s0
	movi	d12, #0000000000000000
LBB0_23:                                ;   Parent Loop BB0_18 Depth=1
                                        ;     Parent Loop BB0_21 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	fadd	s12, s12, s10
	fmul	s8, s11, s12
	fmov	s0, s8
	bl	_cos
	add	x26, x21, x19, lsl #2
	str	s0, [x26]
	fmov	s0, s8
	bl	_sin
	str	s0, [x26, #4]
	add	x19, x19, #2
	add	w8, w19, #2
	cmp	w8, w20
	b.lt	LBB0_23
	b	LBB0_20
LBB0_24:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #80]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #64]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @drfti1.ntryh
_drfti1.ntryh:
	.long	4                               ; 0x4
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	5                               ; 0x5

	.no_dead_strip	_drfti1
.subsections_via_symbols
