	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_set_global_click_stats      ## -- Begin function do_set_global_click_stats
	.p2align	4, 0x90
_do_set_global_click_stats:             ## @do_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_fprintf
	movq	_MAX_AD_VIEWS@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_15
## %bb.1:
	testl	%r14d, %r14d
	jle	LBB0_2
## %bb.3:
	movabsq	$1000000000000000, %r8          ## imm = 0x38D7EA4C68000
	movl	%r14d, %r9d
	shlq	$4, %r9
	xorl	%esi, %esi
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rcx, %rdi
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	$16, %rsi
	cmpq	%rsi, %r9
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rsi), %rdi
	testq	%rdi, %rdi
	js	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx,%rsi), %rdx
	testq	%rdx, %rdx
	js	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rdi, %rdx
	jg	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r8, %rdi
	ja	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	%rcx, %rdi
	cmpq	%r8, %rdi
	jg	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	%rdx, %rax
	movq	%rdi, %rcx
	jmp	LBB0_12
LBB0_2:
	xorl	%edi, %edi
	xorl	%eax, %eax
LBB0_13:
	cmpq	(%rbx), %rdi
	jne	LBB0_15
## %bb.14:
	cmpq	8(%rbx), %rax
	jne	LBB0_15
## %bb.16:
	movq	_LEV_TARG_GLOBAL_CLICK_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %r15d
	shll	$4, %r15d
	leal	8(%r15), %esi
	movl	%r14d, %edx
	callq	_alloc_log_event
	movq	%rax, %r14
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_global_click_stats         ## TAILCALL
LBB0_15:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"do_set_global_click_stats(%d)\n"

	.comm	_MAX_AD_VIEWS,4,2               ## @MAX_AD_VIEWS
	.comm	_LEV_TARG_GLOBAL_CLICK_STATS,4,2 ## @LEV_TARG_GLOBAL_CLICK_STATS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_set_global_click_stats      ; -- Begin function do_set_global_click_stats
	.p2align	2
_do_set_global_click_stats:             ; @do_set_global_click_stats
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_fprintf
Lloh5:
	adrp	x8, _MAX_AD_VIEWS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_AD_VIEWS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_14
; %bb.1:
	cmp	w20, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x10, #0
	mov	x8, #0
	mov	x9, #0
	mov	x11, #1125899906809856
	movk	x11, #42182, lsl #16
	movk	x11, #36222, lsl #32
	mov	w12, w20
	lsl	x12, x12, #4
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x14, x8
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x10, #16
	cmp	x12, x10
	b.eq	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x19, x10]
	tbnz	x13, #63, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x14, x19, x10
	ldr	x14, [x14, #8]
	tbnz	x14, #63, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x14, x13
	ccmp	x13, x11, #2, le
	b.hi	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x10, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x13, x9
	cmp	x9, x11
	b.le	LBB0_3
	b	LBB0_14
LBB0_10:
	mov	x9, #0
	mov	x8, #0
LBB0_11:
	ldr	x10, [x19]
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.12:
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:
Lloh8:
	adrp	x8, _LEV_TARG_GLOBAL_CLICK_STATS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LEV_TARG_GLOBAL_CLICK_STATS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	lsl	w21, w20, #4
	mov	w1, #8
	bfi	w1, w20, #4, #28
	mov	x2, x20
	bl	_alloc_log_event
	mov	x20, x0
	ldr	w0, [x0]
	mov	x1, x19
	mov	x2, x21
	bl	_memcpy
	mov	x0, x20
	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
	b	_set_global_click_stats
LBB0_14:
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"do_set_global_click_stats(%d)\n"

	.comm	_MAX_AD_VIEWS,4,2               ; @MAX_AD_VIEWS
	.comm	_LEV_TARG_GLOBAL_CLICK_STATS,4,2 ; @LEV_TARG_GLOBAL_CLICK_STATS
.subsections_via_symbols
