	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function compute_ad_lambda_delta
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x4008000000000000              ## double 3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_compute_ad_lambda_delta:               ## @compute_ad_lambda_delta
	.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
	movq	%rsi, %r14
	movl	%edi, %ebx
	xorpd	%xmm3, %xmm3
	ucomisd	%xmm1, %xmm3
	jae	LBB0_2
## %bb.1:
	ucomisd	%xmm2, %xmm3
	jae	LBB0_2
## %bb.3:
	xorpd	%xmm3, %xmm3
	ucomisd	%xmm3, %xmm0
	jne	LBB0_4
	jnp	LBB0_5
LBB0_4:
	movapd	%xmm0, %xmm3
	divsd	%xmm1, %xmm3
	mulsd	%xmm2, %xmm3
	addsd	%xmm1, %xmm3
	movapd	%xmm0, %xmm1
	divsd	%xmm3, %xmm1
	movapd	%xmm1, %xmm3
	mulsd	%xmm1, %xmm3
	divsd	%xmm3, %xmm0
	addsd	%xmm0, %xmm2
	jmp	LBB0_6
LBB0_2:
	movq	_INITIAL_INV_D@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	callq	_sqrt
	movl	%eax, %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movsd	%xmm0, (%r14)
	movq	_INITIAL_LAMBDA@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	jmp	LBB0_7
LBB0_5:
	xorpd	LCPI0_0(%rip), %xmm1
	divsd	%xmm2, %xmm1
LBB0_6:
	movq	_INITIAL_INV_D@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_INITIAL_LAMBDA@GOTPCREL(%rip), %rcx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	imull	(%rcx), %eax
	xorps	%xmm3, %xmm3
	cvtsi2sd	%eax, %xmm3
	mulsd	%xmm2, %xmm1
	addsd	%xmm3, %xmm1
	addsd	%xmm2, %xmm0
	divsd	%xmm0, %xmm1
	movapd	%xmm1, -32(%rbp)                ## 16-byte Spill
	divsd	LCPI0_1(%rip), %xmm0
	callq	_sqrt
	movl	%eax, %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movsd	%xmm0, (%r14)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	mulsd	-32(%rbp), %xmm0                ## 16-byte Folded Reload
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INITIAL_INV_D,4,2              ## @INITIAL_INV_D
	.comm	_INITIAL_LAMBDA,4,2             ## @INITIAL_LAMBDA
	.no_dead_strip	_compute_ad_lambda_delta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_ad_lambda_delta
_compute_ad_lambda_delta:               ; @compute_ad_lambda_delta
	.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
	mov	x20, x1
	mov	x19, x0
	fcmp	d1, #0.0
	b.ls	LBB0_4
; %bb.1:
	fcmp	d2, #0.0
	b.ls	LBB0_4
; %bb.2:
	fcmp	d0, #0.0
	b.eq	LBB0_5
; %bb.3:
	fdiv	d3, d0, d1
	fmadd	d1, d3, d2, d1
	fdiv	d1, d0, d1
	fmul	d3, d1, d1
	fdiv	d0, d0, d3
	fadd	d2, d0, d2
	b	LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, _INITIAL_INV_D@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INITIAL_INV_D@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	scvtf	d0, w8
	bl	_sqrt
	sdiv	w8, w19, w0
	scvtf	d0, w8
	str	d0, [x20]
Lloh3:
	adrp	x8, _INITIAL_LAMBDA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INITIAL_LAMBDA@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mul	w8, w8, w19
	scvtf	d0, w8
	b	LBB0_7
LBB0_5:
	fneg	d0, d1
	fdiv	d1, d0, d2
LBB0_6:
Lloh6:
	adrp	x8, _INITIAL_INV_D@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INITIAL_INV_D@GOTPAGEOFF]
Lloh8:
	adrp	x9, _INITIAL_LAMBDA@GOTPAGE
Lloh9:
	ldr	x9, [x9, _INITIAL_LAMBDA@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	mul	w9, w9, w8
	scvtf	d0, w9
	fmadd	d0, d2, d1, d0
	scvtf	d1, w8
	fadd	d1, d2, d1
	fdiv	d8, d0, d1
	fmov	d0, #3.00000000
	fdiv	d0, d1, d0
	bl	_sqrt
	sdiv	w8, w19, w0
	scvtf	d0, w8
	str	d0, [x20]
	scvtf	d0, w19
	fmul	d0, d8, d0
LBB0_7:
	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	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_INITIAL_INV_D,4,2              ; @INITIAL_INV_D
	.comm	_INITIAL_LAMBDA,4,2             ; @INITIAL_LAMBDA
	.no_dead_strip	_compute_ad_lambda_delta
.subsections_via_symbols
