	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_virtual_base_list_length_skip_primaries ## -- Begin function virtual_base_list_length_skip_primaries
	.p2align	4, 0x90
_virtual_base_list_length_skip_primaries: ## @virtual_base_list_length_skip_primaries
	.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, %rbx
	callq	_TYPE_RUNTIME_PTR
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_TYPE_PRIMARY_BASE
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %r14
	movq	_current_vbase_list@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	movq	%rbx, %rdi
	callq	_virtual_base_list_aux
	movq	(%r15), %rbx
	xorl	%r15d, %r15d
	testq	%rbx, %rbx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_virtual_base_index
	shrq	$63, %rax
	addl	%eax, %r15d
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_virtual_base_list_length       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current_vbase_list,8,3         ## @current_vbase_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_virtual_base_list_length_skip_primaries ; -- Begin function virtual_base_list_length_skip_primaries
	.p2align	2
_virtual_base_list_length_skip_primaries: ; @virtual_base_list_length_skip_primaries
	.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	x20, x0
	bl	_TYPE_RUNTIME_PTR
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_TYPE_PRIMARY_BASE
	cbz	x0, LBB0_5
; %bb.2:
	mov	x19, x0
Lloh0:
	adrp	x21, _current_vbase_list@GOTPAGE
Lloh1:
	ldr	x21, [x21, _current_vbase_list@GOTPAGEOFF]
	str	xzr, [x21]
	mov	x0, x20
	bl	_virtual_base_list_aux
	ldr	x21, [x21]
	cbz	x21, LBB0_6
; %bb.3:
	mov	w20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	mov	x1, x19
	bl	_virtual_base_index
	lsr	x8, x0, #63
	add	w20, w20, w8
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_4
	b	LBB0_7
LBB0_5:
	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	_virtual_base_list_length
LBB0_6:
	mov	w20, #0
LBB0_7:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_current_vbase_list,8,3         ; @current_vbase_list
.subsections_via_symbols
