	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function exp
LCPI0_0:
	.quad	0x4000000000000000              ## double 2
LCPI0_1:
	.quad	0xc000000000000000              ## double -2
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_exp
	.p2align	4, 0x90
_exp:                                   ## @exp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	callq	___HI
	movl	%eax, %ecx
	shrl	$31, %ecx
	movl	%eax, %edx
	andl	$2147483647, %edx               ## imm = 0x7FFFFFFF
	cmpl	$1082535490, %edx               ## imm = 0x40862E42
	jb	LBB0_11
## %bb.1:
	cmpl	$2146435072, %edx               ## imm = 0x7FF00000
	jb	LBB0_6
## %bb.2:
	movl	%eax, %ebx
	movl	%eax, %r14d
	andl	$1048575, %r14d                 ## imm = 0xFFFFF
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	___LO
	orl	%r14d, %eax
	je	LBB0_4
## %bb.3:
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	%xmm0, %xmm0
	jmp	LBB0_24
LBB0_11:
	cmpl	$1071001155, %edx               ## imm = 0x3FD62E43
	jb	LBB0_16
## %bb.12:
	cmpl	$1072734897, %edx               ## imm = 0x3FF0A2B1
	movsd	-24(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	ja	LBB0_15
## %bb.13:
	movq	_ln2HI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, %edx
	subsd	(%rax,%rdx,8), %xmm3
	movq	_ln2LO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsd	(%rax,%rdx,8), %xmm1            ## xmm1 = mem[0],zero
	movl	%ecx, %eax
	xorl	$1, %eax
	subl	%ecx, %eax
	jmp	LBB0_14
LBB0_6:
	movq	_o_threshold@GOTPCREL(%rip), %rax
	movsd	-24(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	ucomisd	(%rax), %xmm3
	jbe	LBB0_9
## %bb.7:
	movq	_huge@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_16:
	xorl	%eax, %eax
	cmpl	$1043333119, %edx               ## imm = 0x3E2FFFFF
	ja	LBB0_17
## %bb.18:
	movq	_huge@GOTPCREL(%rip), %rcx
	movsd	(%rcx), %xmm1                   ## xmm1 = mem[0],zero
	movsd	-24(%rbp), %xmm5                ## 8-byte Reload
                                        ## xmm5 = mem[0],zero
	addsd	%xmm5, %xmm1
	movq	_one@GOTPCREL(%rip), %rcx
	movsd	(%rcx), %xmm0                   ## xmm0 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_19
## %bb.25:
	addsd	%xmm5, %xmm0
	jmp	LBB0_24
LBB0_9:
	movq	_u_threshold@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	ucomisd	%xmm3, %xmm0
	jbe	LBB0_15
## %bb.10:
	movq	_twom1000@GOTPCREL(%rip), %rax
LBB0_8:
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	%xmm0, %xmm0
	jmp	LBB0_24
LBB0_15:
	movq	_halF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, %ecx
	xorps	%xmm0, %xmm0
	cvtsi2sdq	(%rax,%rcx,8), %xmm0
	movq	_invln2@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	mulsd	%xmm3, %xmm1
	addsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %eax
	cvttpd2dq	%xmm1, %xmm0
	cvtdq2pd	%xmm0, %xmm1
	movq	_ln2HI@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movsd	(%rcx), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	%xmm1, %xmm0
	subsd	%xmm0, %xmm3
	movq	_ln2LO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	mulsd	(%rcx), %xmm1
LBB0_14:
	movapd	%xmm3, %xmm2
	movapd	%xmm3, %xmm0
	subsd	%xmm1, %xmm0
	movapd	%xmm0, %xmm5
	jmp	LBB0_20
LBB0_17:
                                        ## implicit-def: $xmm1
                                        ## implicit-def: $xmm2
	movsd	-24(%rbp), %xmm5                ## 8-byte Reload
                                        ## xmm5 = mem[0],zero
	jmp	LBB0_20
LBB0_4:
	testl	%ebx, %ebx
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	jns	LBB0_24
## %bb.5:
	xorpd	%xmm0, %xmm0
	jmp	LBB0_24
LBB0_19:
                                        ## implicit-def: $xmm1
                                        ## implicit-def: $xmm2
LBB0_20:
	movapd	%xmm5, %xmm0
	mulsd	%xmm5, %xmm0
	movq	_P1@GOTPCREL(%rip), %rcx
	movq	_P2@GOTPCREL(%rip), %rdx
	movq	_P4@GOTPCREL(%rip), %rsi
	movq	_P5@GOTPCREL(%rip), %rdi
	movsd	(%rdi), %xmm3                   ## xmm3 = mem[0],zero
	mulsd	%xmm0, %xmm3
	addsd	(%rsi), %xmm3
	movq	_P3@GOTPCREL(%rip), %rsi
	mulsd	%xmm0, %xmm3
	addsd	(%rsi), %xmm3
	mulsd	%xmm0, %xmm3
	addsd	(%rdx), %xmm3
	mulsd	%xmm0, %xmm3
	addsd	(%rcx), %xmm3
	mulsd	%xmm0, %xmm3
	movapd	%xmm5, %xmm4
	subsd	%xmm3, %xmm4
	movq	_one@GOTPCREL(%rip), %rcx
	movsd	(%rcx), %xmm0                   ## xmm0 = mem[0],zero
	movapd	%xmm5, %xmm3
	mulsd	%xmm4, %xmm3
	testl	%eax, %eax
	je	LBB0_21
## %bb.22:
	movsd	LCPI0_0(%rip), %xmm5            ## xmm5 = mem[0],zero
	subsd	%xmm4, %xmm5
	divsd	%xmm5, %xmm3
	subsd	%xmm3, %xmm1
	subsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	cmpl	$-1022, %eax                    ## imm = 0xFC02
	jg	LBB0_24
## %bb.23:
	movq	_twom1000@GOTPCREL(%rip), %rax
	mulsd	(%rax), %xmm0
	jmp	LBB0_24
LBB0_21:
	addsd	LCPI0_1(%rip), %xmm4
	divsd	%xmm4, %xmm3
	subsd	%xmm5, %xmm3
	subsd	%xmm3, %xmm0
LBB0_24:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_o_threshold,8,3                ## @o_threshold
	.comm	_huge,8,3                       ## @huge
	.comm	_u_threshold,8,3                ## @u_threshold
	.comm	_twom1000,8,3                   ## @twom1000
	.comm	_ln2HI,8,3                      ## @ln2HI
	.comm	_ln2LO,8,3                      ## @ln2LO
	.comm	_invln2,8,3                     ## @invln2
	.comm	_halF,8,3                       ## @halF
	.comm	_one,8,3                        ## @one
	.comm	_P1,8,3                         ## @P1
	.comm	_P2,8,3                         ## @P2
	.comm	_P3,8,3                         ## @P3
	.comm	_P4,8,3                         ## @P4
	.comm	_P5,8,3                         ## @P5
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exp                            ; -- Begin function exp
	.p2align	2
_exp:                                   ; @exp
	.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	___HI
	lsr	w8, w0, #31
	and	w9, w0, #0x7fffffff
	mov	w10, #11842
	movk	w10, #16518, lsl #16
	cmp	w9, w10
	b.lo	LBB0_3
; %bb.1:
	lsr	w9, w9, #20
	cmp	w9, #2047
	b.lo	LBB0_6
; %bb.2:
	mov	x19, x0
	and	w20, w0, #0xfffff
	fmov	d0, d8
	bl	___LO
	orr	w8, w0, w20
	cmp	w19, #0
	movi	d0, #0000000000000000
	fcsel	d0, d8, d0, ge
	fadd	d1, d8, d8
	cmp	w8, #0
	fcsel	d0, d0, d1, eq
	b	LBB0_21
LBB0_3:
	mov	w10, #11843
	movk	w10, #16342, lsl #16
	cmp	w9, w10
	b.lo	LBB0_8
; %bb.4:
	mov	w10, #41649
	movk	w10, #16368, lsl #16
	cmp	w9, w10
	b.hi	LBB0_15
; %bb.5:
Lloh0:
	adrp	x9, _ln2HI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ln2HI@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	lsl	x10, x8, #3
	ldr	d0, [x9, x10]
	fsub	d0, d8, d0
Lloh3:
	adrp	x9, _ln2LO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ln2LO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	d1, [x9, x10]
	eor	w9, w8, #0x1
	sub	w8, w9, w8
	b	LBB0_16
LBB0_6:
Lloh6:
	adrp	x9, _o_threshold@GOTPAGE
Lloh7:
	ldr	x9, [x9, _o_threshold@GOTPAGEOFF]
Lloh8:
	ldr	d0, [x9]
	fcmp	d0, d8
	b.pl	LBB0_12
; %bb.7:
Lloh9:
	adrp	x8, _huge@GOTPAGE
Lloh10:
	ldr	x8, [x8, _huge@GOTPAGEOFF]
	b	LBB0_14
LBB0_8:
	lsr	w8, w9, #20
	cmp	w8, #994
	b.hi	LBB0_11
; %bb.9:
Lloh11:
	adrp	x8, _huge@GOTPAGE
Lloh12:
	ldr	x8, [x8, _huge@GOTPAGEOFF]
Lloh13:
	ldr	d0, [x8]
	fadd	d1, d0, d8
Lloh14:
	adrp	x8, _one@GOTPAGE
Lloh15:
	ldr	x8, [x8, _one@GOTPAGEOFF]
Lloh16:
	ldr	d0, [x8]
	fcmp	d1, d0
	b.le	LBB0_11
; %bb.10:
	fadd	d0, d0, d8
	b	LBB0_21
LBB0_11:
	mov	w8, #0
                                        ; implicit-def: $d1
                                        ; implicit-def: $d0
	b	LBB0_17
LBB0_12:
Lloh17:
	adrp	x9, _u_threshold@GOTPAGE
Lloh18:
	ldr	x9, [x9, _u_threshold@GOTPAGEOFF]
Lloh19:
	ldr	d0, [x9]
	fcmp	d0, d8
	b.le	LBB0_15
; %bb.13:
Lloh20:
	adrp	x8, _twom1000@GOTPAGE
Lloh21:
	ldr	x8, [x8, _twom1000@GOTPAGEOFF]
LBB0_14:
	ldr	d0, [x8]
	fmul	d0, d0, d0
	b	LBB0_21
LBB0_15:
Lloh22:
	adrp	x9, _invln2@GOTPAGE
Lloh23:
	ldr	x9, [x9, _invln2@GOTPAGEOFF]
Lloh24:
	ldr	d0, [x9]
Lloh25:
	adrp	x9, _halF@GOTPAGE
Lloh26:
	ldr	x9, [x9, _halF@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	ldr	d1, [x9, w8, uxtw #3]
	scvtf	d1, d1
	fmadd	d0, d0, d8, d1
	fcvtzs	w8, d0
	scvtf	d1, w8
Lloh28:
	adrp	x9, _ln2HI@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ln2HI@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	ldr	d0, [x9]
	fmsub	d0, d1, d0, d8
Lloh31:
	adrp	x9, _ln2LO@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ln2LO@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	ldr	d2, [x9]
	fmul	d1, d2, d1
LBB0_16:
	fsub	d8, d0, d1
LBB0_17:
	fmul	d2, d8, d8
Lloh34:
	adrp	x9, _P1@GOTPAGE
Lloh35:
	ldr	x9, [x9, _P1@GOTPAGEOFF]
Lloh36:
	ldr	d3, [x9]
Lloh37:
	adrp	x9, _P2@GOTPAGE
Lloh38:
	ldr	x9, [x9, _P2@GOTPAGEOFF]
Lloh39:
	ldr	d4, [x9]
Lloh40:
	adrp	x9, _P3@GOTPAGE
Lloh41:
	ldr	x9, [x9, _P3@GOTPAGEOFF]
Lloh42:
	ldr	d5, [x9]
Lloh43:
	adrp	x9, _P4@GOTPAGE
Lloh44:
	ldr	x9, [x9, _P4@GOTPAGEOFF]
Lloh45:
	ldr	d6, [x9]
Lloh46:
	adrp	x9, _P5@GOTPAGE
Lloh47:
	ldr	x9, [x9, _P5@GOTPAGEOFF]
Lloh48:
	ldr	d7, [x9]
	fmadd	d6, d2, d7, d6
	fmadd	d5, d2, d6, d5
	fmadd	d4, d2, d5, d4
	fmadd	d3, d2, d4, d3
	fmsub	d3, d2, d3, d8
Lloh49:
	adrp	x9, _one@GOTPAGE
Lloh50:
	ldr	x9, [x9, _one@GOTPAGEOFF]
Lloh51:
	ldr	d2, [x9]
	fmul	d4, d8, d3
	cbz	w8, LBB0_20
; %bb.18:
	fmov	d5, #2.00000000
	fsub	d3, d5, d3
	fdiv	d3, d4, d3
	fsub	d1, d1, d3
	fsub	d0, d1, d0
	fsub	d0, d2, d0
	cmn	w8, #1022
	b.gt	LBB0_21
; %bb.19:
Lloh52:
	adrp	x8, _twom1000@GOTPAGE
Lloh53:
	ldr	x8, [x8, _twom1000@GOTPAGEOFF]
Lloh54:
	ldr	d1, [x8]
	fmul	d0, d0, d1
	b	LBB0_21
LBB0_20:
	fmov	d0, #-2.00000000
	fadd	d0, d3, d0
	fdiv	d0, d4, d0
	fsub	d0, d0, d8
	fsub	d0, d2, d0
LBB0_21:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_o_threshold,8,3                ; @o_threshold
	.comm	_huge,8,3                       ; @huge
	.comm	_u_threshold,8,3                ; @u_threshold
	.comm	_twom1000,8,3                   ; @twom1000
	.comm	_ln2HI,8,3                      ; @ln2HI
	.comm	_ln2LO,8,3                      ; @ln2LO
	.comm	_invln2,8,3                     ; @invln2
	.comm	_halF,8,3                       ; @halF
	.comm	_one,8,3                        ; @one
	.comm	_P1,8,3                         ; @P1
	.comm	_P2,8,3                         ; @P2
	.comm	_P3,8,3                         ; @P3
	.comm	_P4,8,3                         ; @P4
	.comm	_P5,8,3                         ; @P5
.subsections_via_symbols
