	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_rt_vbase_offset           ## -- Begin function find_rt_vbase_offset
	.p2align	4, 0x90
_find_rt_vbase_offset:                  ## @find_rt_vbase_offset
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$0, -44(%rbp)
	callq	_TYPE_PRIMARY_BASE
	testq	%rax, %rax
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	%r13d, -68(%rbp)                ## 4-byte Spill
	je	LBB0_1
## %bb.4:
	leaq	-44(%rbp), %r8
	leaq	-72(%rbp), %r9
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	callq	_find_rt_vbase_offset
	movl	-72(%rbp), %r12d
	testl	%r12d, %r12d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jns	LBB0_2
## %bb.5:
	movl	-44(%rbp), %eax
	movl	%eax, (%rcx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$-1, (%rax)
	jmp	LBB0_9
LBB0_1:
	xorl	%r12d, %r12d
LBB0_2:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_virtual_base_index_skip_primaries
	testl	%eax, %eax
	js	LBB0_3
## %bb.6:
	movl	%eax, %ebx
	movslq	-68(%rbp), %rax                 ## 4-byte Folded Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax), %r14
	testq	%r14, %r14
	jne	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_8:
	movq	_builtin_type_int@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%ebx, %r12d
	movq	_HP_ACC_VBASE_START@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
	shll	$2, %r12d
	negl	%r12d
	movslq	%r12d, %rax
	addq	%rax, %r14
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_value_at
	movq	%rax, %rdi
	callq	_value_as_long
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$-1, (%rcx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	jmp	LBB0_9
LBB0_3:
	movq	%r15, %rdi
	callq	_virtual_base_list_length_skip_primaries
	addl	%r12d, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't find virtual table -- object may not be constructed yet."

	.comm	_builtin_type_int,4,2           ## @builtin_type_int
	.comm	_HP_ACC_VBASE_START,4,2         ## @HP_ACC_VBASE_START
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_rt_vbase_offset           ; -- Begin function find_rt_vbase_offset
	.p2align	2
_find_rt_vbase_offset:                  ; @find_rt_vbase_offset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x5
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x24, x1
	mov	x23, x0
	str	wzr, [sp, #12]
	bl	_TYPE_PRIMARY_BASE
	cbz	x0, LBB0_3
; %bb.1:
	add	x4, sp, #12
	add	x5, sp, #8
	mov	x1, x24
	mov	x2, x22
	mov	x3, x21
	bl	_find_rt_vbase_offset
	ldr	w25, [sp, #8]
	tbz	w25, #31, LBB0_4
; %bb.2:
	ldr	w8, [sp, #12]
	str	w8, [x19]
	mov	w8, #-1
	str	w8, [x20]
	b	LBB0_9
LBB0_3:
	mov	w25, #0
LBB0_4:
	mov	x0, x24
	mov	x1, x23
	bl	_virtual_base_index_skip_primaries
	tbnz	w0, #31, LBB0_8
; %bb.5:
	mov	x24, x0
	ldr	x21, [x22, w21, sxtw]
	cbnz	x21, LBB0_7
; %bb.6:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_7:
Lloh2:
	adrp	x8, _builtin_type_int@GOTPAGE
Lloh3:
	ldr	x8, [x8, _builtin_type_int@GOTPAGEOFF]
Lloh4:
	adrp	x9, _HP_ACC_VBASE_START@GOTPAGE
Lloh5:
	ldr	x9, [x9, _HP_ACC_VBASE_START@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	ldr	w8, [x9]
	add	w9, w25, w24
	add	w8, w9, w8
	neg	w8, w8, lsl #2
	add	x1, x21, w8, sxtw
	mov	x2, #0
	bl	_value_at
	bl	_value_as_long
	mov	w8, #-1
	str	w8, [x20]
	str	w0, [x19]
	b	LBB0_9
LBB0_8:
	mov	x0, x23
	bl	_virtual_base_list_length_skip_primaries
	add	w8, w0, w25
	str	w8, [x20]
	str	wzr, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't find virtual table -- object may not be constructed yet."

	.comm	_builtin_type_int,4,2           ; @builtin_type_int
	.comm	_HP_ACC_VBASE_START,4,2         ; @HP_ACC_VBASE_START
.subsections_via_symbols
