	.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_erfc
LCPI0_0:
	.quad	0xbfe0000000000000              ## double -0.5
LCPI0_1:
	.quad	0x4024000000000000              ## double 10
LCPI0_2:
	.quad	0x3fe4cccccccccccd              ## double 0.65000000000000002
LCPI0_3:
	.quad	0x4010000000000000              ## double 4
LCPI0_4:
	.quad	0x4008000000000000              ## double 3
LCPI0_5:
	.quad	0x4000000000000000              ## double 2
LCPI0_8:
	.quad	0x3fa20ded0b57fbdd              ## double 0.035262496599891092
LCPI0_9:
	.quad	0x3fe66989be8ea720              ## double 0.70038306444368814
LCPI0_10:
	.quad	0x40197eeff2a86f23              ## double 6.3739622035316499
LCPI0_11:
	.quad	0x4040f4d8cbb02431              ## double 33.912866078382997
LCPI0_12:
	.quad	0x405c05131ca58d35              ## double 112.0792914978709
LCPI0_13:
	.quad	0x406ba6d5c7a28cf5              ## double 221.21359616993109
LCPI0_14:
	.quad	0x406b869ea974c7e9              ## double 220.20686791237611
LCPI0_15:
	.quad	0x3fb6a09e667f3bcd              ## double 0.088388347648318447
LCPI0_16:
	.quad	0x3ffc173673887d1a              ## double 1.7556671631826419
LCPI0_17:
	.quad	0x4030106df11bd48f              ## double 16.064177579206952
LCPI0_18:
	.quad	0x4055b1f78433a599              ## double 86.780732202946083
LCPI0_19:
	.quad	0x4072890729ba781a              ## double 296.56424877967368
LCPI0_20:
	.quad	0x4083eaab47fa1778              ## double 637.33363337883111
LCPI0_21:
	.quad	0x4088ce9cb298974e              ## double 793.82651251994844
LCPI0_22:
	.quad	0x407b869ea974c7e9              ## double 440.41373582475222
LCPI0_23:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_6:
	.space	8
	.quad	0x3ff0000000000000              ## double 1
LCPI0_7:
	.quad	0x40040d931ff62707              ## double 2.5066282746310011
	.space	8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_kf_erfc
	.p2align	4, 0x90
_kf_erfc:                               ## @kf_erfc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movsd	%xmm0, -16(%rbp)                ## 8-byte Spill
	callq	_fabs
	movq	_M_SQRT2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	imull	%ebx, %eax
	cmpl	$38, %eax
	jl	LBB0_2
## %bb.1:
	xorpd	%xmm1, %xmm1
	cmpltsd	-16(%rbp), %xmm1                ## 8-byte Folded Reload
	movsd	LCPI0_5(%rip), %xmm0            ## xmm0 = mem[0],zero
	andnpd	%xmm0, %xmm1
	jmp	LBB0_6
LBB0_2:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	mulsd	%xmm0, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	callq	_exp
	movsd	-24(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	cvtsi2sd	%ebx, %xmm1
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	divsd	%xmm1, %xmm2
	ucomisd	%xmm3, %xmm2
	jbe	LBB0_4
## %bb.3:
	movsd	LCPI0_8(%rip), %xmm1            ## xmm1 = mem[0],zero
	mulsd	%xmm3, %xmm1
	addsd	LCPI0_9(%rip), %xmm1
	mulsd	%xmm3, %xmm1
	addsd	LCPI0_10(%rip), %xmm1
	mulsd	%xmm3, %xmm1
	addsd	LCPI0_11(%rip), %xmm1
	mulsd	%xmm3, %xmm1
	addsd	LCPI0_12(%rip), %xmm1
	mulsd	%xmm3, %xmm1
	addsd	LCPI0_13(%rip), %xmm1
	mulsd	%xmm3, %xmm1
	addsd	LCPI0_14(%rip), %xmm1
	movsd	LCPI0_15(%rip), %xmm2           ## xmm2 = mem[0],zero
	mulsd	%xmm3, %xmm2
	addsd	LCPI0_16(%rip), %xmm2
	mulsd	%xmm3, %xmm2
	addsd	LCPI0_17(%rip), %xmm2
	mulsd	%xmm3, %xmm2
	addsd	LCPI0_18(%rip), %xmm2
	mulsd	%xmm3, %xmm2
	addsd	LCPI0_19(%rip), %xmm2
	mulsd	%xmm3, %xmm2
	addsd	LCPI0_20(%rip), %xmm2
	mulsd	%xmm1, %xmm0
	mulsd	%xmm3, %xmm2
	addsd	LCPI0_21(%rip), %xmm2
	mulsd	%xmm3, %xmm2
	addsd	LCPI0_22(%rip), %xmm2
	divsd	%xmm2, %xmm0
	jmp	LBB0_5
LBB0_4:
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	addsd	%xmm3, %xmm1
	movsd	LCPI0_3(%rip), %xmm2            ## xmm2 = mem[0],zero
	divsd	%xmm1, %xmm2
	addsd	%xmm3, %xmm2
	movsd	LCPI0_4(%rip), %xmm1            ## xmm1 = mem[0],zero
	divsd	%xmm2, %xmm1
	addsd	%xmm3, %xmm1
	movsd	LCPI0_5(%rip), %xmm2            ## xmm2 = mem[0],zero
	divsd	%xmm1, %xmm2
	addsd	%xmm3, %xmm2
	blendpd	$2, LCPI0_6(%rip), %xmm0        ## xmm0 = xmm0[0],mem[1]
	movapd	LCPI0_7(%rip), %xmm1            ## xmm1 = <2.5066282746310011E+0,u>
	unpcklpd	%xmm2, %xmm1                    ## xmm1 = xmm1[0],xmm2[0]
	divpd	%xmm1, %xmm0
	movapd	%xmm0, %xmm1
	unpckhpd	%xmm0, %xmm1                    ## xmm1 = xmm1[1],xmm0[1]
	addsd	%xmm3, %xmm1
	divsd	%xmm1, %xmm0
LBB0_5:
	movsd	-16(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	movsd	LCPI0_23(%rip), %xmm2           ## xmm2 = mem[0],zero
	subsd	%xmm0, %xmm2
	xorpd	%xmm1, %xmm1
	cmpltsd	%xmm3, %xmm1
	movapd	%xmm1, %xmm3
	andnpd	%xmm2, %xmm3
	andpd	%xmm0, %xmm1
	orpd	%xmm3, %xmm1
	addsd	%xmm1, %xmm1
LBB0_6:
	movapd	%xmm1, %xmm0
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_SQRT2,4,2                    ## @M_SQRT2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kf_erfc                        ; -- Begin function kf_erfc
	.p2align	2
_kf_erfc:                               ; @kf_erfc
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [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 w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	fmov	d8, d0
	bl	_fabs
Lloh0:
	adrp	x8, _M_SQRT2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_SQRT2@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	mul	w8, w19, w0
	cmp	w8, #38
	b.lt	LBB0_2
; %bb.1:
	fcmp	d8, #0.0
	fmov	d0, #2.00000000
	movi	d1, #0000000000000000
	fcsel	d0, d1, d0, gt
	b	LBB0_6
LBB0_2:
	scvtf	d9, w8
	fmul	d0, d9, d9
	fmov	d1, #-0.50000000
	fmul	d0, d0, d1
	bl	_exp
	scvtf	d1, w19
	fmov	d2, #10.00000000
	fdiv	d1, d2, d1
	fcmp	d1, d9
	b.le	LBB0_4
; %bb.3:
	mov	x8, #42784
	movk	x8, #48782, lsl #16
	movk	x8, #27017, lsl #32
	movk	x8, #16358, lsl #48
	fmov	d1, x8
	mov	x8, #64477
	movk	x8, #2903, lsl #16
	movk	x8, #3565, lsl #32
	movk	x8, #16290, lsl #48
	fmov	d2, x8
	fmadd	d1, d9, d2, d1
	mov	x8, #28451
	movk	x8, #62120, lsl #16
	movk	x8, #32495, lsl #32
	movk	x8, #16409, lsl #48
	fmov	d2, x8
	fmadd	d1, d1, d9, d2
	mov	x8, #9265
	movk	x8, #52144, lsl #16
	movk	x8, #62680, lsl #32
	movk	x8, #16448, lsl #48
	fmov	d2, x8
	fmadd	d1, d1, d9, d2
	mov	x8, #36149
	movk	x8, #7333, lsl #16
	movk	x8, #1299, lsl #32
	movk	x8, #16476, lsl #48
	fmov	d2, x8
	fmadd	d1, d1, d9, d2
	mov	x8, #36085
	movk	x8, #51106, lsl #16
	movk	x8, #42709, lsl #32
	movk	x8, #16491, lsl #48
	fmov	d2, x8
	fmadd	d1, d1, d9, d2
	mov	x8, #51177
	movk	x8, #43380, lsl #16
	movk	x8, #34462, lsl #32
	movk	x8, #16491, lsl #48
	fmov	d2, x8
	fmadd	d1, d1, d9, d2
	fmul	d0, d0, d1
	mov	x8, #32026
	movk	x8, #29576, lsl #16
	movk	x8, #5942, lsl #32
	movk	x8, #16380, lsl #48
	fmov	d1, x8
	mov	x8, #15309
	movk	x8, #26239, lsl #16
	movk	x8, #41118, lsl #32
	movk	x8, #16310, lsl #48
	fmov	d2, x8
	fmadd	d1, d9, d2, d1
	mov	x8, #54415
	movk	x8, #61723, lsl #16
	movk	x8, #4205, lsl #32
	movk	x8, #16432, lsl #48
	fmov	d2, x8
	fmadd	d1, d1, d9, d2
	mov	x8, #42393
	movk	x8, #33843, lsl #16
	movk	x8, #45559, lsl #32
	movk	x8, #16469, lsl #48
	fmov	d2, x8
	fmadd	d1, d1, d9, d2
	mov	x8, #30746
	movk	x8, #10682, lsl #16
	movk	x8, #35079, lsl #32
	movk	x8, #16498, lsl #48
	fmov	d2, x8
	fmadd	d1, d1, d9, d2
	mov	x8, #6008
	movk	x8, #18426, lsl #16
	movk	x8, #60075, lsl #32
	movk	x8, #16515, lsl #48
	fmov	d2, x8
	fmadd	d1, d1, d9, d2
	mov	x8, #38734
	movk	x8, #45720, lsl #16
	movk	x8, #52892, lsl #32
	movk	x8, #16520, lsl #48
	fmov	d2, x8
	fmadd	d1, d1, d9, d2
	mov	x8, #51177
	movk	x8, #43380, lsl #16
	movk	x8, #34462, lsl #32
	movk	x8, #16507, lsl #48
	fmov	d2, x8
	fmadd	d1, d1, d9, d2
	b	LBB0_5
LBB0_4:
	mov	x8, #9991
	movk	x8, #8182, lsl #16
	movk	x8, #3475, lsl #32
	movk	x8, #16388, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	mov	x8, #-3689348814741910324
	movk	x8, #52429
	movk	x8, #16356, lsl #48
	fmov	d1, x8
	fadd	d1, d9, d1
	fmov	d2, #4.00000000
	fdiv	d1, d2, d1
	fadd	d1, d1, d9
	fmov	d2, #3.00000000
	fdiv	d1, d2, d1
	fadd	d1, d1, d9
	fmov	d2, #2.00000000
	fdiv	d1, d2, d1
	fadd	d1, d1, d9
	fmov	d2, #1.00000000
	fdiv	d1, d2, d1
	fadd	d1, d1, d9
LBB0_5:
	fdiv	d0, d0, d1
	fmov	d1, #1.00000000
	fsub	d1, d1, d0
	fcmp	d8, #0.0
	fcsel	d0, d0, d1, gt
	fadd	d0, d0, d0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_SQRT2,4,2                    ; @M_SQRT2
.subsections_via_symbols
