	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function modify_stats
_modify_stats:                          ## @modify_stats
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %rax
	movq	_tot_clicks@GOTPCREL(%rip), %r8
	subq	%rax, (%r8)
	movq	8(%rsi), %rax
	movq	_tot_views@GOTPCREL(%rip), %r10
	subq	%rax, (%r10)
	movq	_tot_click_money@GOTPCREL(%rip), %r9
	movl	(%r9), %r14d
	subl	16(%rsi), %r14d
	movq	(%rdi), %rcx
	xorl	%r11d, %r11d
	testq	%rcx, %rcx
	cmovleq	%r11, %rcx
	movq	%rcx, (%rsi)
	movl	8(%rdi), %edx
	movq	_MONEY_SCALE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	imull	%edx, %ebx
	testl	%edx, %edx
	cmovlel	%r11d, %ebx
	movl	%ebx, 16(%rsi)
	movq	16(%rdi), %rdx
	testq	%rdx, %rdx
	cmovleq	%r11, %rdx
	movq	%rdx, 8(%rsi)
	movq	24(%rdi), %rax
	testq	%rax, %rax
	cmovleq	%r11, %rax
	movq	%rax, 24(%rsi)
	movq	32(%rdi), %rax
	testq	%rax, %rax
	cmovleq	%r11, %rax
	movq	%rax, 32(%rsi)
	addq	%rcx, (%r8)
	addq	%rdx, (%r10)
	addl	%r14d, %ebx
	movl	%ebx, (%r9)
	movl	64(%rsi), %eax
	movq	_total_sump0@GOTPCREL(%rip), %rcx
	subl	%eax, (%rcx)
	movl	56(%rsi), %ecx
	movq	_total_sump1@GOTPCREL(%rip), %rdx
	subl	%ecx, (%rdx)
	movl	48(%rsi), %edx
	movq	_total_sump2@GOTPCREL(%rip), %rdi
	subl	%edx, (%rdi)
	subl	%eax, 80(%rsi)
	subl	%ecx, 76(%rsi)
	subl	%edx, 72(%rsi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rsi)
	movq	$0, 64(%rsi)
	movq	_ADF_ANYVIEWS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 40(%rsi)
	movq	%rsi, %rdi
	callq	_compute_estimated_gain
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tot_clicks,8,3                 ## @tot_clicks
	.comm	_tot_views,8,3                  ## @tot_views
	.comm	_tot_click_money,4,2            ## @tot_click_money
	.comm	_MONEY_SCALE,4,2                ## @MONEY_SCALE
	.comm	_total_sump0,4,2                ## @total_sump0
	.comm	_total_sump1,4,2                ## @total_sump1
	.comm	_total_sump2,4,2                ## @total_sump2
	.comm	_ADF_ANYVIEWS,4,2               ## @ADF_ANYVIEWS
	.no_dead_strip	_modify_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function modify_stats
_modify_stats:                          ; @modify_stats
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _tot_clicks@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tot_clicks@GOTPAGEOFF]
	ldr	x9, [x8]
	ldp	x10, x11, [x1]
	sub	x9, x9, x10
	str	x9, [x8]
Lloh2:
	adrp	x9, _tot_views@GOTPAGE
Lloh3:
	ldr	x9, [x9, _tot_views@GOTPAGEOFF]
	ldr	x10, [x9]
	sub	x10, x10, x11
	str	x10, [x9]
	ldr	w10, [x1, #16]
Lloh4:
	adrp	x11, _tot_click_money@GOTPAGE
Lloh5:
	ldr	x11, [x11, _tot_click_money@GOTPAGEOFF]
	ldr	x12, [x0]
	cmp	x12, #0
	csel	x12, x12, xzr, gt
	str	x12, [x1]
Lloh6:
	adrp	x13, _MONEY_SCALE@GOTPAGE
Lloh7:
	ldr	x13, [x13, _MONEY_SCALE@GOTPAGEOFF]
	ldr	w14, [x0, #8]
Lloh8:
	ldr	w13, [x13]
	mul	w13, w13, w14
	cmp	w14, #0
	csel	w13, w13, wzr, gt
	ldr	x14, [x0, #16]
	cmp	x14, #0
	csel	x14, x14, xzr, gt
	str	x14, [x1, #8]
	ldur	q0, [x0, #24]
	ldr	x15, [x8]
	add	x12, x15, x12
	ldr	w15, [x11]
	str	w13, [x1, #16]
	cmgt.2d	v1, v0, #0
	and.16b	v0, v0, v1
	stur	q0, [x1, #24]
	str	x12, [x8]
	ldr	x8, [x9]
	add	x8, x8, x14
	str	x8, [x9]
	sub	w8, w15, w10
	add	w8, w13, w8
	str	w8, [x11]
	ldr	w8, [x1, #64]
Lloh9:
	adrp	x9, _total_sump0@GOTPAGE
Lloh10:
	ldr	x9, [x9, _total_sump0@GOTPAGEOFF]
	ldr	w10, [x9]
	sub	w10, w10, w8
	str	w10, [x9]
Lloh11:
	adrp	x9, _total_sump1@GOTPAGE
Lloh12:
	ldr	x9, [x9, _total_sump1@GOTPAGEOFF]
	ldr	w10, [x9]
Lloh13:
	adrp	x11, _total_sump2@GOTPAGE
Lloh14:
	ldr	x11, [x11, _total_sump2@GOTPAGEOFF]
	ldr	w12, [x11]
	ldr	w13, [x1, #80]
	sub	w8, w13, w8
	ldr	q0, [x1, #48]
	xtn.2s	v0, v0
	mov.s	w13, v0[1]
	str	w8, [x1, #80]
	sub	w8, w10, w13
	str	w8, [x9]
	ldr	d1, [x1, #72]
	sub.2s	v1, v1, v0
	fmov	w8, s0
	sub	w8, w12, w8
	str	w8, [x11]
	str	d1, [x1, #72]
	stp	xzr, xzr, [x1, #56]
	str	xzr, [x1, #48]
Lloh15:
	adrp	x8, _ADF_ANYVIEWS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ADF_ANYVIEWS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x1, #40]
	bic	w8, w9, w8
	str	w8, [x1, #40]
	mov	x0, x1
	bl	_compute_estimated_gain
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_tot_clicks,8,3                 ; @tot_clicks
	.comm	_tot_views,8,3                  ; @tot_views
	.comm	_tot_click_money,4,2            ; @tot_click_money
	.comm	_MONEY_SCALE,4,2                ; @MONEY_SCALE
	.comm	_total_sump0,4,2                ; @total_sump0
	.comm	_total_sump1,4,2                ; @total_sump1
	.comm	_total_sump2,4,2                ; @total_sump2
	.comm	_ADF_ANYVIEWS,4,2               ; @ADF_ANYVIEWS
	.no_dead_strip	_modify_stats
.subsections_via_symbols
