	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cp_fold_obj_type_ref           ## -- Begin function cp_fold_obj_type_ref
	.p2align	4, 0x90
_cp_fold_obj_type_ref:                  ## @cp_fold_obj_type_ref
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	callq	_OBJ_TYPE_REF_TOKEN
	movl	$1, %r15d
	movl	%eax, %edi
	movl	$1, %esi
	callq	_tree_low_cst
	movq	%rax, %r12
	movl	%r14d, %edi
	callq	_TYPE_BINFO
	movl	%eax, %edi
	callq	_BINFO_VIRTUALS
	testq	%r12, %r12
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_TARGET_VTABLE_USES_DESCRIPTORS@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	cmovel	%r15d, %ecx
	movslq	%ecx, %rcx
	addq	%rcx, %rbx
	movl	%eax, %edi
	callq	_TREE_CHAIN
	cmpq	%r12, %rbx
	jne	LBB0_2
LBB0_3:
	movl	%eax, %edi
	callq	_BV_FN
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_cgraph_node
	movl	$1, (%rax)
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_build_address                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TARGET_VTABLE_USES_DESCRIPTORS,4,2 ## @TARGET_VTABLE_USES_DESCRIPTORS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cp_fold_obj_type_ref           ; -- Begin function cp_fold_obj_type_ref
	.p2align	2
_cp_fold_obj_type_ref:                  ; @cp_fold_obj_type_ref
	.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, x1
	bl	_OBJ_TYPE_REF_TOKEN
	mov	w21, #1
	mov	w1, #1
	bl	_tree_low_cst
	mov	x19, x0
	mov	x0, x20
	bl	_TYPE_BINFO
	bl	_BINFO_VIRTUALS
	cbz	x19, LBB0_3
; %bb.1:
	mov	x20, #0
Lloh0:
	adrp	x22, _TARGET_VTABLE_USES_DESCRIPTORS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TARGET_VTABLE_USES_DESCRIPTORS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cmp	w8, #0
	csinc	w8, w8, wzr, ne
	add	x20, x20, w8, sxtw
	bl	_TREE_CHAIN
	cmp	x20, x19
	b.ne	LBB0_2
LBB0_3:
	bl	_BV_FN
	mov	x19, x0
	bl	_cgraph_node
	str	w21, [x0]
	mov	x0, x19
	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	_build_address
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_VTABLE_USES_DESCRIPTORS,4,2 ; @TARGET_VTABLE_USES_DESCRIPTORS
.subsections_via_symbols
