	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function series
LCPI0_0:
	.quad	0x3c670ef54646d497              ## double 1.0000000000000001E-17
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_series:                                ## @series
	.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
	movl	%esi, %r15d
	movl	%edi, %r14d
	testl	%esi, %esi
	jle	LBB0_1
## %bb.5:
	xorpd	%xmm0, %xmm0
	movl	%r15d, %r12d
	movl	%r14d, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ebx, %xmm1
	movsd	%xmm1, -64(%rbp)                ## 8-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r12d, %xmm0
	callq	_expm
	movapd	%xmm0, %xmm1
	divsd	-64(%rbp), %xmm1                ## 8-byte Folded Reload
	addsd	-40(%rbp), %xmm1                ## 8-byte Folded Reload
	cvttpd2dq	%xmm1, %xmm0
	cvtdq2pd	%xmm0, %xmm0
	subsd	%xmm0, %xmm1
	addl	$8, %ebx
	movapd	%xmm1, %xmm0
	decl	%r12d
	jne	LBB0_6
	jmp	LBB0_2
LBB0_1:
	xorpd	%xmm1, %xmm1
LBB0_2:
	leal	100(%r15), %r12d
	cmpl	%r12d, %r15d
	cmovgl	%r15d, %r12d
	notl	%r12d
	addl	%r15d, %r12d
	leal	(%r14,%r15,8), %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movapd	%xmm1, -64(%rbp)                ## 16-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r14d, %xmm0
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	movl	$16, %edi
	callq	_pow
	divsd	-40(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	ja	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	addsd	%xmm0, %xmm1
	cvttpd2dq	%xmm1, %xmm0
	cvtdq2pd	%xmm0, %xmm0
	subsd	%xmm0, %xmm1
	decl	%ebx
	addl	$8, %r14d
	cmpl	%ebx, %r12d
	jne	LBB0_3
	jmp	LBB0_8
LBB0_4:
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
LBB0_8:
	movapd	%xmm1, %xmm0
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eps,8,3                        ## @eps
	.no_dead_strip	_series
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function series
_series:                                ; @series
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	movi	d8, #0000000000000000
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, x19
	mov	x22, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	scvtf	d9, w22
	scvtf	d0, w21
	fmov	d1, d9
	bl	_expm
	fdiv	d0, d0, d9
	fadd	d0, d8, d0
	fcvtzs	w8, d0
	scvtf	d1, w8
	fsub	d8, d0, d1
	add	w22, w22, #8
	subs	w21, w21, #1
	b.ne	LBB0_2
LBB0_3:
	mov	w21, #0
	add	w8, w19, #100
	cmp	w19, w8
	csel	w8, w19, w8, gt
	mvn	w8, w8
	add	w22, w8, w19
	add	w19, w20, w19, lsl #3
	mov	x20, #54423
	movk	x20, #17990, lsl #16
	movk	x20, #3829, lsl #32
	movk	x20, #15463, lsl #48
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	scvtf	d9, w19
	scvtf	d0, w21
	mov	w0, #16
	bl	_pow
	fdiv	d0, d0, d9
	fmov	d1, x20
	fcmp	d0, d1
	b.mi	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	fadd	d0, d8, d0
	fcvtzs	w8, d0
	scvtf	d1, w8
	fsub	d8, d0, d1
	sub	w21, w21, #1
	add	w19, w19, #8
	cmp	w22, w21
	b.ne	LBB0_4
LBB0_6:
	fmov	d0, d8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_eps,8,3                        ; @eps
	.no_dead_strip	_series
.subsections_via_symbols
