	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dfs_modify_vtables
_dfs_modify_vtables:                    ## @dfs_modify_vtables
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_BINFO_TYPE
	movl	%eax, %edi
	callq	_TYPE_CONTAINS_VPTR_P
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	callq	_BINFO_TYPE
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_SAME_BINFO_TYPE_P
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_CLASSTYPE_HAS_PRIMARY_BASE_P
	testl	%eax, %eax
	je	LBB0_9
LBB0_4:
	movq	%r15, %rdi
	callq	_BINFO_PRIMARY_P
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_BINFO_VIRTUAL_P
	testl	%eax, %eax
	je	LBB0_9
LBB0_6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_make_new_vtable
	movq	%r15, %rdi
	callq	_BINFO_VIRTUALS
	movq	%rax, %rbx
	movq	%rax, -48(%rbp)
	movq	%r15, %rdi
	callq	_BINFO_TYPE
	movl	%eax, %edi
	callq	_TYPE_BINFO
	movq	%rax, %rdi
	callq	_BINFO_VIRTUALS
	movq	%rax, %r12
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.7:
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_BV_FN
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	movq	%r13, %rcx
	movl	%ebx, %r8d
	callq	_update_vtable_entry_for_fn
	incl	%ebx
	movq	-48(%rbp), %rdi
	callq	_TREE_CHAIN
	movq	%rax, -48(%rbp)
	movq	%r12, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %r12
	cmpq	$0, -48(%rbp)
	jne	LBB0_8
LBB0_9:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_1:
	movq	_dfs_skip_bases@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dfs_skip_bases,8,3             ## @dfs_skip_bases
	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.no_dead_strip	_dfs_modify_vtables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dfs_modify_vtables
_dfs_modify_vtables:                    ; @dfs_modify_vtables
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_BINFO_TYPE
	bl	_TYPE_CONTAINS_VPTR_P
	cbz	w0, LBB0_9
; %bb.1:
	mov	x0, x20
	bl	_BINFO_TYPE
	mov	x1, x19
	bl	_SAME_BINFO_TYPE_P
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_CLASSTYPE_HAS_PRIMARY_BASE_P
	cbz	w0, LBB0_8
LBB0_3:
	mov	x0, x20
	bl	_BINFO_PRIMARY_P
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_BINFO_VIRTUAL_P
	cbz	w0, LBB0_8
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_make_new_vtable
	mov	x0, x20
	bl	_BINFO_VIRTUALS
	mov	x21, x0
	str	x0, [sp, #8]
	mov	x0, x20
	bl	_BINFO_TYPE
	bl	_TYPE_BINFO
	bl	_BINFO_VIRTUALS
	cbz	x21, LBB0_8
; %bb.6:
	mov	x22, x0
	mov	w21, #0
Lloh0:
	adrp	x23, _NULL_TREE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NULL_TREE@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_BV_FN
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	x4, x21
	bl	_update_vtable_entry_for_fn
	add	w21, w21, #1
	ldr	x0, [sp, #8]
	bl	_TREE_CHAIN
	str	x0, [sp, #8]
	mov	x0, x22
	bl	_TREE_CHAIN
	mov	x22, x0
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_7
	b	LBB0_10
LBB0_8:
Lloh2:
	adrp	x23, _NULL_TREE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _NULL_TREE@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh4:
	adrp	x23, _dfs_skip_bases@GOTPAGE
Lloh5:
	ldr	x23, [x23, _dfs_skip_bases@GOTPAGEOFF]
LBB0_10:
	ldr	x0, [x23]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_dfs_skip_bases,8,3             ; @dfs_skip_bases
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.no_dead_strip	_dfs_modify_vtables
.subsections_via_symbols
