	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function init_stats_data
LCPI0_0:
	.quad	0x3ff8000000000000              ## double 1.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_init_stats_data
	.p2align	4, 0x90
_init_stats_data:                       ## @init_stats_data
	.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
	cmpb	$0, _init_stats_data.initialized(%rip)
	jne	LBB0_5
## %bb.1:
	movb	$1, _init_stats_data.initialized(%rip)
	movq	_reverse_index_mode@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.3:
	movq	_stats_replay_logevent@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_stats_replay_logevent_reverse@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movq	_replay_logevent@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_counters_commit_head@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_max_counters@GOTPCREL(%rip), %rbx
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	callq	_am_choose_hash_prime
	movq	_counters_prime@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	callq	_vkprintf
	movl	(%r14), %eax
	leal	8(,%rax,8), %edi
	callq	_zzmalloc0
	movq	_Counters@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	movl	$16, %edi
	callq	_zzmalloc0
	movq	%rax, %rbx
	movq	(%r15), %rax
	movslq	(%r14), %rcx
	movq	%rbx, (%rax,%rcx,8)
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	%rbx, 8(%rbx)
	movq	%rbx, (%rbx)
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_init_stats_data.initialized,1,2 ## @init_stats_data.initialized
	.comm	_reverse_index_mode,4,2         ## @reverse_index_mode
	.comm	_stats_replay_logevent,4,2      ## @stats_replay_logevent
	.comm	_replay_logevent,4,2            ## @replay_logevent
	.comm	_stats_replay_logevent_reverse,4,2 ## @stats_replay_logevent_reverse
	.comm	_counters_commit_head,8,3       ## @counters_commit_head
	.comm	_max_counters,8,3               ## @max_counters
	.comm	_counters_prime,4,2             ## @counters_prime
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"max_counters: %d, counters_prime: %d\n"

	.comm	_Counters,8,3                   ## @Counters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_stats_data                ; -- Begin function init_stats_data
	.p2align	2
_init_stats_data:                       ; @init_stats_data
	.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
	adrp	x8, _init_stats_data.initialized@PAGE
	ldrb	w9, [x8, _init_stats_data.initialized@PAGEOFF]
	tbnz	w9, #0, LBB0_2
; %bb.1:
	mov	w9, #1
	strb	w9, [x8, _init_stats_data.initialized@PAGEOFF]
Lloh0:
	adrp	x8, _reverse_index_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _reverse_index_mode@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _stats_replay_logevent@GOTPAGE
Lloh4:
	ldr	x9, [x9, _stats_replay_logevent@GOTPAGEOFF]
Lloh5:
	adrp	x10, _stats_replay_logevent_reverse@GOTPAGE
Lloh6:
	ldr	x10, [x10, _stats_replay_logevent_reverse@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _replay_logevent@GOTPAGE
Lloh8:
	ldr	x9, [x9, _replay_logevent@GOTPAGEOFF]
Lloh9:
	str	w8, [x9]
Lloh10:
	adrp	x8, _counters_commit_head@GOTPAGE
Lloh11:
	ldr	x8, [x8, _counters_commit_head@GOTPAGEOFF]
Lloh12:
	str	xzr, [x8]
Lloh13:
	adrp	x19, _max_counters@GOTPAGE
Lloh14:
	ldr	x19, [x19, _max_counters@GOTPAGEOFF]
	ldr	d0, [x19]
	fmov	d1, #1.50000000
	fmul	d0, d0, d1
	bl	_am_choose_hash_prime
	mov	x2, x0
Lloh15:
	adrp	x20, _counters_prime@GOTPAGE
Lloh16:
	ldr	x20, [x20, _counters_prime@GOTPAGEOFF]
	str	w0, [x20]
	ldr	d0, [x19]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_vkprintf
	ldr	w8, [x20]
	lsl	w8, w8, #3
	add	w0, w8, #8
	bl	_zzmalloc0
Lloh19:
	adrp	x21, _Counters@GOTPAGE
Lloh20:
	ldr	x21, [x21, _Counters@GOTPAGEOFF]
	str	x0, [x21]
	mov	w0, #16
	bl	_zzmalloc0
	mov	x19, x0
	ldr	x8, [x21]
	ldrsw	x9, [x20]
	str	x0, [x8, x9, lsl #3]
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	stp	x19, x19, [x19]
LBB0_2:
	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 AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_init_stats_data.initialized,1,2 ; @init_stats_data.initialized
	.comm	_reverse_index_mode,4,2         ; @reverse_index_mode
	.comm	_stats_replay_logevent,4,2      ; @stats_replay_logevent
	.comm	_replay_logevent,4,2            ; @replay_logevent
	.comm	_stats_replay_logevent_reverse,4,2 ; @stats_replay_logevent_reverse
	.comm	_counters_commit_head,8,3       ; @counters_commit_head
	.comm	_max_counters,8,3               ; @max_counters
	.comm	_counters_prime,4,2             ; @counters_prime
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"max_counters: %d, counters_prime: %d\n"

	.comm	_Counters,8,3                   ; @Counters
.subsections_via_symbols
