	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_list_counter               ## -- Begin function get_list_counter
	.p2align	4, 0x90
_get_list_counter:                      ## @get_list_counter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_metafile_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_prepare_list_metafile
	testq	%rax, %rax
	js	LBB0_2
LBB0_3:
	movl	%ebx, %edi
	movl	$2, %esi
	callq	___get_list_f
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_unpack_metafile_pointers
	movq	_SUBCATS@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jbe	LBB0_6
## %bb.8:
	movl	%r14d, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_metafile_get_sublist_size      ## TAILCALL
LBB0_4:
	movl	$-1, %eax
	jmp	LBB0_7
LBB0_2:
	movl	$-2, %eax
	jmp	LBB0_7
LBB0_6:
	movq	_M_tot_entries@GOTPCREL(%rip), %rcx
	movq	(%rbx), %rax
	movl	(%rax), %eax
	addl	(%rcx), %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_metafile_mode,8,3              ## @metafile_mode
	.comm	_SUBCATS,4,2                    ## @SUBCATS
	.comm	_M_tot_entries,4,2              ## @M_tot_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_list_counter               ; -- Begin function get_list_counter
	.p2align	2
_get_list_counter:                      ; @get_list_counter
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _metafile_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _metafile_mode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #1
	bl	_prepare_list_metafile
	tbnz	x0, #63, LBB0_6
LBB0_2:
	mov	x0, x20
	mov	w1, #2
	bl	___get_list_f
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
	bl	_unpack_metafile_pointers
Lloh3:
	adrp	x8, _SUBCATS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SUBCATS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ls	LBB0_7
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_metafile_get_sublist_size
LBB0_5:
	mov	w0, #-1
	b	LBB0_8
LBB0_6:
	mov	w0, #-2
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x8, _M_tot_entries@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_tot_entries@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x9, [x20]
	ldr	w9, [x9]
	add	w0, w9, w8
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_metafile_mode,8,3              ; @metafile_mode
	.comm	_SUBCATS,4,2                    ; @SUBCATS
	.comm	_M_tot_entries,4,2              ; @M_tot_entries
.subsections_via_symbols
