	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_ancestor                    ## -- Begin function is_ancestor
	.p2align	4, 0x90
_is_ancestor:                           ## @is_ancestor
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_TREE_CODE
	movq	_NAMESPACE_DECL@GOTPCREL(%rip), %r12
	movl	$1, %r15d
	movl	$1, %edi
	cmpq	(%r12), %rax
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_TREE_CODE
	movq	_FUNCTION_DECL@GOTPCREL(%rip), %rcx
	movl	$1, %edi
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_CLASS_TYPE_P
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_3:
	callq	_gcc_assert
	movq	%rbx, %rdi
	callq	_TREE_CODE
	cmpq	(%r12), %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_CLASS_TYPE_P
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
LBB0_5:
	movl	%r15d, %edi
	callq	_gcc_assert
	movq	_global_namespace@GOTPCREL(%rip), %rax
	movl	$1, %r15d
	cmpq	%r14, (%rax)
	je	LBB0_12
## %bb.6:
	testq	%rbx, %rbx
	jne	LBB0_7
LBB0_11:
	xorl	%r15d, %r15d
LBB0_12:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_DECL_CONTEXT
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, %rbx
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_TYPE_P
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_TYPE_NAME
	movq	%rax, %rbx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_NAMESPACE_DECL,8,3             ## @NAMESPACE_DECL
	.comm	_FUNCTION_DECL,8,3              ## @FUNCTION_DECL
	.comm	_global_namespace,8,3           ## @global_namespace
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_ancestor                    ; -- Begin function is_ancestor
	.p2align	2
_is_ancestor:                           ; @is_ancestor
	.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
	mov	x19, x0
	bl	_TREE_CODE
Lloh0:
	adrp	x21, _NAMESPACE_DECL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NAMESPACE_DECL@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_TREE_CODE
Lloh2:
	adrp	x8, _FUNCTION_DECL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FUNCTION_DECL@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
LBB0_2:
	mov	w0, #1
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_CLASS_TYPE_P
	cmp	x0, #0
	cset	w0, ne
LBB0_4:
	bl	_gcc_assert
	mov	x0, x20
	bl	_TREE_CODE
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_CLASS_TYPE_P
	cmp	x0, #0
	cset	w0, ne
LBB0_7:
	bl	_gcc_assert
Lloh5:
	adrp	x8, _global_namespace@GOTPAGE
Lloh6:
	ldr	x8, [x8, _global_namespace@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_9
LBB0_8:
	mov	w0, #1
	b	LBB0_11
LBB0_9:
	cbnz	x20, LBB0_13
; %bb.10:
	mov	w0, #0
LBB0_11:
	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
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	bl	_DECL_CONTEXT
	mov	x20, x0
	cbz	x0, LBB0_11
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	cmp	x20, x19
	b.eq	LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	bl	_TYPE_P
	cbz	x0, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	bl	_TYPE_NAME
	mov	x20, x0
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NAMESPACE_DECL,8,3             ; @NAMESPACE_DECL
	.comm	_FUNCTION_DECL,8,3              ; @FUNCTION_DECL
	.comm	_global_namespace,8,3           ; @global_namespace
.subsections_via_symbols
