	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_num_var                   ## -- Begin function read_num_var
	.p2align	4, 0x90
_read_num_var:                          ## @read_num_var
	.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	%rdi, %r14
	movl	$32, %edi
	callq	_zzmalloc
	movq	%rax, %rbx
	movl	$32, %edi
	callq	_ADD_PMALLOC
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, 8(%rbx)
	movq	_total_ref_cnt@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_persistent_tree_nodes@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_total_tree_nodes_existed@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_tl_pvar_num_methods@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	_schema_version@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_tl_parse_int
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	callq	_tl_parse_long
LBB0_3:
	movq	%rax, 24(%rbx)
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_tl_parse_int
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	callq	_tl_parse_error
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movl	(%rbx), %eax
	cmpl	(%r14), %eax
	jl	LBB0_6
## %bb.5:
	incl	%eax
	movl	%eax, (%r14)
LBB0_6:
	movq	_FLAG_NOVAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	testl	%eax, 8(%rbx)
	cmoveq	%rbx, %r15
LBB0_7:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_total_ref_cnt,4,2              ## @total_ref_cnt
	.comm	_persistent_tree_nodes,4,2      ## @persistent_tree_nodes
	.comm	_total_tree_nodes_existed,4,2   ## @total_tree_nodes_existed
	.comm	_tl_pvar_num_methods,4,2        ## @tl_pvar_num_methods
	.comm	_schema_version,4,2             ## @schema_version
	.comm	_FLAG_NOVAR,4,2                 ## @FLAG_NOVAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function read_num_var
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_read_num_var
	.p2align	2
_read_num_var:                          ; @read_num_var
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	mov	w0, #32
	bl	_zzmalloc
	mov	x19, x0
	mov	w0, #32
	bl	_ADD_PMALLOC
Lloh0:
	adrp	x8, _total_ref_cnt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _total_ref_cnt@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh2:
	adrp	x8, _persistent_tree_nodes@GOTPAGE
Lloh3:
	ldr	x8, [x8, _persistent_tree_nodes@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh4:
	adrp	x8, _total_tree_nodes_existed@GOTPAGE
Lloh5:
	ldr	x8, [x8, _total_tree_nodes_existed@GOTPAGEOFF]
Lloh6:
	adrp	x9, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh8:
	adrp	x8, _tl_pvar_num_methods@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tl_pvar_num_methods@GOTPAGEOFF]
	str	d0, [x19, #8]
	str	x8, [x19, #16]
Lloh10:
	adrp	x8, _schema_version@GOTPAGE
Lloh11:
	ldr	x8, [x8, _schema_version@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	bl	_tl_parse_int
	b	LBB0_3
LBB0_2:
	bl	_tl_parse_long
LBB0_3:
	str	x0, [x19, #24]
	bl	_tl_parse_int
	str	w0, [x19]
	bl	_tl_parse_error
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, #0
	b	LBB0_8
LBB0_5:
	ldr	w8, [x19]
	ldr	w9, [x20]
	cmp	w8, w9
	b.lt	LBB0_7
; %bb.6:
	add	w8, w8, #1
	str	w8, [x20]
LBB0_7:
	ldr	w8, [x19, #8]
Lloh13:
	adrp	x9, _FLAG_NOVAR@GOTPAGE
Lloh14:
	ldr	x9, [x9, _FLAG_NOVAR@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	csel	x0, x19, xzr, eq
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_total_ref_cnt,4,2              ; @total_ref_cnt
	.comm	_persistent_tree_nodes,4,2      ; @persistent_tree_nodes
	.comm	_total_tree_nodes_existed,4,2   ; @total_tree_nodes_existed
	.comm	_tl_pvar_num_methods,4,2        ; @tl_pvar_num_methods
	.comm	_schema_version,4,2             ; @schema_version
	.comm	_FLAG_NOVAR,4,2                 ; @FLAG_NOVAR
.subsections_via_symbols
