	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function _kf_gammap
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
__kf_gammap:                            ## @_kf_gammap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movapd	%xmm1, %xmm6
	movapd	%xmm0, %xmm4
	movq	_KF_GAMMA_EPS@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	movl	$1, %eax
	movapd	%xmm1, %xmm5
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm2, %xmm2
	cvtsi2sd	%eax, %xmm2
	movapd	%xmm1, %xmm3
	addsd	%xmm4, %xmm2
	movapd	%xmm6, %xmm1
	divsd	%xmm2, %xmm1
	mulsd	%xmm3, %xmm1
	addsd	%xmm1, %xmm5
	movapd	%xmm1, %xmm2
	divsd	%xmm5, %xmm2
	ucomisd	%xmm2, %xmm0
	ja	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%rax), %ecx
	cmpl	$99, %eax
	movl	%ecx, %eax
	jne	LBB0_1
LBB0_3:
	movapd	%xmm6, %xmm0
	movsd	%xmm4, -16(%rbp)                ## 8-byte Spill
	movsd	%xmm5, -24(%rbp)                ## 8-byte Spill
	movsd	%xmm6, -8(%rbp)                 ## 8-byte Spill
	callq	_log
	movsd	-16(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	%xmm1, %xmm0
	subsd	-8(%rbp), %xmm0                 ## 8-byte Folded Reload
	movsd	%xmm0, -8(%rbp)                 ## 8-byte Spill
	addsd	LCPI0_0(%rip), %xmm1
	movapd	%xmm1, %xmm0
	callq	_kf_lgamma
	movsd	-8(%rbp), %xmm1                 ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	movsd	%xmm1, -8(%rbp)                 ## 8-byte Spill
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_log
	addsd	-8(%rbp), %xmm0                 ## 8-byte Folded Reload
	addq	$32, %rsp
	popq	%rbp
	jmp	_exp                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KF_GAMMA_EPS,8,3               ## @KF_GAMMA_EPS
	.no_dead_strip	__kf_gammap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _kf_gammap
__kf_gammap:                            ; @_kf_gammap
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset b8, -24
	.cfi_offset b9, -32
	.cfi_offset b10, -40
	.cfi_offset b11, -48
	fmov	d10, d1
	fmov	d8, d0
Lloh0:
	adrp	x8, _KF_GAMMA_EPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KF_GAMMA_EPS@GOTPAGEOFF]
Lloh2:
	ldr	d0, [x8]
	fmov	d1, #1.00000000
	mov	w8, #1
	fmov	d9, #1.00000000
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	scvtf	d2, w8
	fadd	d2, d2, d8
	fdiv	d2, d10, d2
	fmul	d1, d1, d2
	fadd	d9, d9, d1
	fdiv	d2, d1, d9
	fcmp	d2, d0
	b.mi	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w9, w8, #1
	cmp	w8, #99
	mov	x8, x9
	b.ne	LBB0_1
LBB0_3:
	fmov	d0, d10
	bl	_log
	fnmsub	d10, d8, d0, d10
	fmov	d0, #1.00000000
	fadd	d0, d8, d0
	bl	_kf_lgamma
	fsub	d8, d10, d0
	fmov	d0, d9
	bl	_log
	fadd	d0, d0, d8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #48             ; 16-byte Folded Reload
	b	_exp
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KF_GAMMA_EPS,8,3               ; @KF_GAMMA_EPS
	.no_dead_strip	__kf_gammap
.subsections_via_symbols
