	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function compute_estimated_gain_clicks
LCPI0_0:
	.quad	0x3fb999999999999a              ## double 0.10000000000000001
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_compute_estimated_gain_clicks:         ## @compute_estimated_gain_clicks
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	testl	%edi, %edi
	jne	LBB0_4
## %bb.1:
	movl	4(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_2
## %bb.3:
	movq	_log_split_mod@GOTPCREL(%rip), %rax
	imull	(%rax), %edi
LBB0_4:
	callq	_compute_projected_views
LBB0_5:
	cvtsi2sdq	8(%rbx), %xmm1
	cvtsi2sd	%r15, %xmm0
	movq	_INIT_L_CLICKS@GOTPCREL(%rip), %rcx
	cvtsi2sdq	(%rcx), %xmm2
	movsd	LCPI0_0(%rip), %xmm3            ## xmm3 = mem[0],zero
	mulsd	%xmm3, %xmm0
	addsd	%xmm2, %xmm0
	xorps	%xmm2, %xmm2
	cvtsi2sd	%r14, %xmm2
	cvtsi2sd	%eax, %xmm4
	mulsd	%xmm1, %xmm0
	mulsd	%xmm3, %xmm2
	addsd	%xmm4, %xmm2
	divsd	%xmm2, %xmm0
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_INIT_L_VIEWS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_INIT_L_VIEWS,4,2               ## @INIT_L_VIEWS
	.comm	_log_split_mod,4,2              ## @log_split_mod
	.comm	_INIT_L_CLICKS,8,3              ## @INIT_L_CLICKS
	.no_dead_strip	_compute_estimated_gain_clicks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_estimated_gain_clicks
_compute_estimated_gain_clicks:         ; @compute_estimated_gain_clicks
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x0]
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_5
; %bb.2:
Lloh0:
	adrp	x9, _log_split_mod@GOTPAGE
Lloh1:
	ldr	x9, [x9, _log_split_mod@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mul	w0, w9, w8
LBB0_3:
	bl	_compute_projected_views
LBB0_4:
	ldr	d0, [x21, #8]
	scvtf	d0, d0
	scvtf	d1, x20
Lloh3:
	adrp	x8, _INIT_L_CLICKS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INIT_L_CLICKS@GOTPAGEOFF]
Lloh5:
	ldr	d2, [x8]
	scvtf	d2, d2
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16313, lsl #48
	fmov	d3, x8
	fmadd	d1, d1, d3, d2
	scvtf	d2, x19
	fmul	d0, d1, d0
	scvtf	d1, w0
	fmadd	d1, d2, d3, d1
	fdiv	d0, d0, d1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh6:
	adrp	x8, _INIT_L_VIEWS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INIT_L_VIEWS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_INIT_L_VIEWS,4,2               ; @INIT_L_VIEWS
	.comm	_log_split_mod,4,2              ; @log_split_mod
	.comm	_INIT_L_CLICKS,8,3              ; @INIT_L_CLICKS
	.no_dead_strip	_compute_estimated_gain_clicks
.subsections_via_symbols
