	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function user_cpv_is_enough
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_user_cpv_is_enough
	.p2align	4, 0x90
_user_cpv_is_enough:                    ## @user_cpv_is_enough
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	testl	%edi, %edi
	js	LBB0_8
## %bb.1:
	movl	%esi, %ebx
	testl	%esi, %esi
	jle	LBB0_8
## %bb.2:
	movq	_MAX_USERS@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jle	LBB0_8
## %bb.3:
	movq	_GSORT_HEAP_SIZE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_8
## %bb.4:
	movl	%edx, %r14d
	movq	_User@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %edx
	movq	(%rax,%rdx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.5:
	movl	$1, %r15d
	cmpl	$0, (%rdi)
	je	LBB0_8
## %bb.6:
	movq	_heap_push_user_ad_ext@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_heap_push_user_ad@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movq	___use_factor@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	___use_views_limit@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	___exclude_ad_id@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movzbl	%cl, %eax
	movq	_ADF_SITES_MASK_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movzbl	%r8b, %edx
	shll	%cl, %edx
	movq	___and_mask@GOTPCREL(%rip), %r13
	movl	%eax, (%r13)
	movq	___xor_mask@GOTPCREL(%rip), %r12
	movl	%edx, (%r12)
	movl	%ebx, %esi
	callq	_build_user_ad_heap
	movq	___use_factor@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	___use_views_limit@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_ADF_SITES_MASK_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$254, %eax
	shll	%cl, %eax
	movl	%eax, (%r13)
	movl	$0, (%r12)
	movq	_HN@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jl	LBB0_8
## %bb.7:
	movq	_H@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsd	8(%rax), %xmm0                  ## xmm0 = mem[0],zero
	movq	_CTR_GAIN_PRICE_MULTIPLIER@GOTPCREL(%rip), %rax
	mulsd	(%rax), %xmm0
	addsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
	xorl	%r15d, %r15d
	cmpl	%r14d, %eax
	setl	%r15b
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_USERS,4,2                  ## @MAX_USERS
	.comm	_GSORT_HEAP_SIZE,4,2            ## @GSORT_HEAP_SIZE
	.comm	_User,8,3                       ## @User
	.comm	_heap_push_user_ad_ext,4,2      ## @heap_push_user_ad_ext
	.comm	_heap_push_user_ad,4,2          ## @heap_push_user_ad
	.comm	___use_factor,4,2               ## @__use_factor
	.comm	___use_views_limit,8,3          ## @__use_views_limit
	.comm	___exclude_ad_id,8,3            ## @__exclude_ad_id
	.comm	_ADF_SITES_MASK_SHIFT,4,2       ## @ADF_SITES_MASK_SHIFT
	.comm	___and_mask,4,2                 ## @__and_mask
	.comm	___xor_mask,4,2                 ## @__xor_mask
	.comm	_HN,4,2                         ## @HN
	.comm	_H,8,3                          ## @H
	.comm	_CTR_GAIN_PRICE_MULTIPLIER,8,3  ## @CTR_GAIN_PRICE_MULTIPLIER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_cpv_is_enough             ; -- Begin function user_cpv_is_enough
	.p2align	2
_user_cpv_is_enough:                    ; @user_cpv_is_enough
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	tbnz	w0, #31, LBB0_7
; %bb.1:
	mov	x21, x1
	mov	w20, #0
	cmp	w1, #1
	b.lt	LBB0_8
; %bb.2:
Lloh0:
	adrp	x8, _MAX_USERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_USERS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GSORT_HEAP_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GSORT_HEAP_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w21, #4, gt
	b.le	LBB0_8
; %bb.3:
Lloh6:
	adrp	x8, _User@GOTPAGE
Lloh7:
	ldr	x8, [x8, _User@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x0, [x8, w0, uxtw #3]
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w8, [x0]
	mov	w20, #1
	cbz	w8, LBB0_8
; %bb.5:
	mov	x19, x2
Lloh9:
	adrp	x8, _heap_push_user_ad_ext@GOTPAGE
Lloh10:
	ldr	x8, [x8, _heap_push_user_ad_ext@GOTPAGEOFF]
Lloh11:
	adrp	x9, _heap_push_user_ad@GOTPAGE
Lloh12:
	ldr	x9, [x9, _heap_push_user_ad@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	str	w8, [x9]
Lloh15:
	adrp	x22, ___use_factor@GOTPAGE
Lloh16:
	ldr	x22, [x22, ___use_factor@GOTPAGEOFF]
Lloh17:
	adrp	x23, ___use_views_limit@GOTPAGE
Lloh18:
	ldr	x23, [x23, ___use_views_limit@GOTPAGEOFF]
	str	w20, [x22]
	str	xzr, [x23]
Lloh19:
	adrp	x8, ___exclude_ad_id@GOTPAGE
Lloh20:
	ldr	x8, [x8, ___exclude_ad_id@GOTPAGEOFF]
Lloh21:
	str	xzr, [x8]
	and	w8, w3, #0xff
Lloh22:
	adrp	x24, _ADF_SITES_MASK_SHIFT@GOTPAGE
Lloh23:
	ldr	x24, [x24, _ADF_SITES_MASK_SHIFT@GOTPAGEOFF]
	ldr	w9, [x24]
	lsl	w8, w8, w9
Lloh24:
	adrp	x25, ___and_mask@GOTPAGE
Lloh25:
	ldr	x25, [x25, ___and_mask@GOTPAGEOFF]
	str	w8, [x25]
	and	w8, w4, #0xff
	lsl	w8, w8, w9
Lloh26:
	adrp	x26, ___xor_mask@GOTPAGE
Lloh27:
	ldr	x26, [x26, ___xor_mask@GOTPAGEOFF]
	str	w8, [x26]
	mov	x1, x21
	bl	_build_user_ad_heap
	str	wzr, [x22]
	str	xzr, [x23]
	ldr	w8, [x24]
	mov	w9, #254
	lsl	w8, w9, w8
	str	w8, [x25]
	str	wzr, [x26]
Lloh28:
	adrp	x8, _HN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _HN@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmp	w8, w21
	b.lt	LBB0_8
; %bb.6:
Lloh31:
	adrp	x8, _H@GOTPAGE
Lloh32:
	ldr	x8, [x8, _H@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	ldr	d0, [x8, #8]
Lloh34:
	adrp	x8, _CTR_GAIN_PRICE_MULTIPLIER@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CTR_GAIN_PRICE_MULTIPLIER@GOTPAGEOFF]
Lloh36:
	ldr	d1, [x8]
	fmov	d2, #0.50000000
	fmadd	d0, d0, d1, d2
	fcvtzs	w8, d0
	cmp	w8, w19
	cset	w20, lt
	b	LBB0_8
LBB0_7:
	mov	w20, #0
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_USERS,4,2                  ; @MAX_USERS
	.comm	_GSORT_HEAP_SIZE,4,2            ; @GSORT_HEAP_SIZE
	.comm	_User,8,3                       ; @User
	.comm	_heap_push_user_ad_ext,4,2      ; @heap_push_user_ad_ext
	.comm	_heap_push_user_ad,4,2          ; @heap_push_user_ad
	.comm	___use_factor,4,2               ; @__use_factor
	.comm	___use_views_limit,8,3          ; @__use_views_limit
	.comm	___exclude_ad_id,8,3            ; @__exclude_ad_id
	.comm	_ADF_SITES_MASK_SHIFT,4,2       ; @ADF_SITES_MASK_SHIFT
	.comm	___and_mask,4,2                 ; @__and_mask
	.comm	___xor_mask,4,2                 ; @__xor_mask
	.comm	_HN,4,2                         ; @HN
	.comm	_H,8,3                          ; @H
	.comm	_CTR_GAIN_PRICE_MULTIPLIER,8,3  ; @CTR_GAIN_PRICE_MULTIPLIER
.subsections_via_symbols
