	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flush_view_counters            ## -- Begin function flush_view_counters
	.p2align	4, 0x90
_flush_view_counters:                   ## @flush_view_counters
	.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	_counters_commit_head@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_2:
	movq	$0, (%r14)
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.3:
	movq	_LEV_STATS_VIEWS@GOTPCREL(%rip), %r15
	movq	_LEV_STATS_VIEWS_EXT@GOTPCREL(%rip), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %rdi
	movl	$12, %esi
	callq	_alloc_log_event
	movl	(%rbx), %ecx
	movl	%ecx, (%rax)
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$0, (%rbx)
	incl	%r14d
	movq	%r13, %rbx
	testq	%r13, %r13
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpl	$1000000, %r14d                 ## imm = 0xF4240
	setb	%dil
	callq	_assert
	movq	8(%rbx), %r13
	movq	$0, 8(%rbx)
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	setg	%dil
	callq	_assert
	movl	4(%rbx), %edx
	movslq	(%rbx), %rdi
	cmpq	$255, %rdi
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	(%r15), %rdi
	movl	$8, %esi
	callq	_alloc_log_event
	jmp	LBB0_7
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_counters_commit_head,8,3       ## @counters_commit_head
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"flush_view_counters()\n"

	.comm	_LEV_STATS_VIEWS,8,3            ## @LEV_STATS_VIEWS
	.comm	_LEV_STATS_VIEWS_EXT,8,3        ## @LEV_STATS_VIEWS_EXT
	.comm	_LEV_STATS_VIEWS_64,8,3         ## @LEV_STATS_VIEWS_64
	.comm	_LEV_STATS_VIEWS_EXT_64,8,3     ## @LEV_STATS_VIEWS_EXT_64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flush_view_counters            ; -- Begin function flush_view_counters
	.p2align	2
_flush_view_counters:                   ; @flush_view_counters
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x19, _counters_commit_head@GOTPAGE
Lloh1:
	ldr	x19, [x19, _counters_commit_head@GOTPAGEOFF]
	ldr	x20, [x19]
Lloh2:
	adrp	x8, _verbosity@GOTPAGE
Lloh3:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
	str	xzr, [x19]
	mov	w19, #0
	cbz	x20, LBB0_8
; %bb.3:
	mov	w21, #16960
	movk	w21, #15, lsl #16
Lloh10:
	adrp	x22, _LEV_STATS_VIEWS@GOTPAGE
Lloh11:
	ldr	x22, [x22, _LEV_STATS_VIEWS@GOTPAGEOFF]
Lloh12:
	adrp	x23, _LEV_STATS_VIEWS_EXT@GOTPAGE
Lloh13:
	ldr	x23, [x23, _LEV_STATS_VIEWS_EXT@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x23]
	mov	w1, #12
	bl	_alloc_log_event
	ldr	w8, [x20]
	str	w8, [x0]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	wzr, [x20]
	add	w19, w19, #1
	mov	x20, x24
	cbz	x24, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w19, w21
	cset	w0, lo
	bl	_assert
	ldr	x24, [x20, #8]
	str	xzr, [x20, #8]
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w0, gt
	bl	_assert
	ldp	w8, w2, [x20]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	cmp	w8, #255
	b.gt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x22]
	add	x0, x9, x8
	mov	w1, #8
	bl	_alloc_log_event
	b	LBB0_5
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_counters_commit_head,8,3       ; @counters_commit_head
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"flush_view_counters()\n"

	.comm	_LEV_STATS_VIEWS,8,3            ; @LEV_STATS_VIEWS
	.comm	_LEV_STATS_VIEWS_EXT,8,3        ; @LEV_STATS_VIEWS_EXT
	.comm	_LEV_STATS_VIEWS_64,8,3         ; @LEV_STATS_VIEWS_64
	.comm	_LEV_STATS_VIEWS_EXT_64,8,3     ; @LEV_STATS_VIEWS_EXT_64
.subsections_via_symbols
