	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_global_click_stats
_set_global_click_stats:                ## @set_global_click_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	%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
	movq	%rdi, %r13
	movl	(%rdi), %eax
	movq	_MAX_AD_VIEWS@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpl	(%rbx), %eax
	sete	%dil
	callq	_assert
	cmpl	$0, (%rbx)
	jle	LBB0_1
## %bb.2:
	movabsq	$1000000000000001, %r14         ## imm = 0x38D7EA4C68001
	movq	8(%r13), %rcx
	movq	(%rcx), %rax
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	setns	%dl
	cmpq	%rax, %rcx
	setle	%cl
	andb	%dl, %cl
	cmpq	%r14, %rax
	setb	%al
	andb	%cl, %al
	movzbl	%al, %edi
	jmp	LBB0_5
LBB0_3:
	xorl	%edi, %edi
LBB0_5:
	callq	_assert
	movq	_MAX_AD_VIEWS@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_1
## %bb.6:
	movl	$1, %r15d
	movl	$24, %r12d
	xorl	%ebx, %ebx
	leaq	-1(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rcx,%r12), %rcx
	testq	%rcx, %rcx
	sets	%dl
	cmpq	%rax, %rcx
	setg	%cl
	orb	%dl, %cl
	cmpq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	seta	%al
	orb	%cl, %al
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	xorb	$1, %al
	movzbl	%al, %edi
	callq	_assert
	movq	8(%r13), %rax
	addq	-8(%rax,%r12), %r14
	addq	(%rax,%r12), %rbx
	xorl	%edi, %edi
	movabsq	$1000000000000001, %rax         ## imm = 0x38D7EA4C68001
	cmpq	%rax, %r14
	setl	%dil
	callq	_assert
	incq	%r15
	movq	_MAX_AD_VIEWS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$16, %r12
	cmpq	%rax, %r15
	jge	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rcx
	movq	-8(%rcx,%r12), %rax
	testq	%rax, %rax
	jns	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movb	$1, %al
	jmp	LBB0_10
LBB0_1:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
LBB0_11:
	movq	8(%r13), %rax
	cmpq	(%rax), %r14
	movl	$0, %edi
	jne	LBB0_13
## %bb.12:
	xorl	%edi, %edi
	cmpq	8(%rax), %rbx
	sete	%dil
LBB0_13:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_assert
	movq	_AdStats@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rsi
	movq	_MAX_AD_VIEWS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$4, %edx
	callq	_memcpy
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_AD_VIEWS,4,2               ## @MAX_AD_VIEWS
	.comm	_AdStats,4,2                    ## @AdStats
	.no_dead_strip	_set_global_click_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_global_click_stats
_set_global_click_stats:                ; @set_global_click_stats
	.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
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x20, _MAX_AD_VIEWS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MAX_AD_VIEWS@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x21, #32769
	movk	x21, #42182, lsl #16
	movk	x21, #36222, lsl #32
	movk	x21, #3, lsl #48
	ldr	x9, [x19, #8]
	ldr	x8, [x9]
	tbnz	x8, #63, LBB0_3
; %bb.2:
	ldr	x9, [x9, #8]
	cmp	x9, #0
	ccmp	x9, x8, #0, ge
	ccmp	x8, x21, #2, le
	cset	w0, lo
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	bl	_assert
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_10
; %bb.5:
	mov	x24, #0
	mov	x22, #0
	mov	x23, #0
	mov	w25, #1
	sub	x26, x21, #1
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x9, #24]
	cmp	x9, #0
	ccmp	x9, x8, #0, ge
	ccmp	x8, x26, #2, le
	cset	w8, hi
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	eor	w0, w8, #0x1
	bl	_assert
	ldr	x8, [x19, #8]
	add	x8, x8, x24
	ldp	x9, x8, [x8, #16]
	add	x22, x8, x22
	add	x23, x9, x23
	cmp	x23, x21
	cset	w0, lt
	bl	_assert
	add	x25, x25, #1
	ldrsw	x8, [x20]
	add	x24, x24, #16
	cmp	x25, x8
	b.ge	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x9, x8, x24
	ldr	x8, [x9, #16]
	tbz	x8, #63, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #1
	b	LBB0_7
LBB0_10:
	mov	x23, #0
	mov	x22, #0
LBB0_11:
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
	cmp	x23, x9
	b.ne	LBB0_13
; %bb.12:
	ldr	x8, [x8, #8]
	cmp	x22, x8
	cset	w0, eq
	b	LBB0_14
LBB0_13:
	mov	w0, #0
LBB0_14:
	bl	_assert
Lloh2:
	adrp	x8, _AdStats@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AdStats@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x1, [x19, #8]
	ldr	w8, [x20]
	lsl	w2, w8, #4
	bl	_memcpy
	mov	w0, #1
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_AD_VIEWS,4,2               ; @MAX_AD_VIEWS
	.comm	_AdStats,4,2                    ; @AdStats
	.no_dead_strip	_set_global_click_stats
.subsections_via_symbols
