	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compare_types
_compare_types:                         ## @compare_types
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	_VT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rdi), %ecx
	andl	%esi, %ecx
	andl	(%rbx), %esi
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movq	_VT_CONSTANT@GOTPCREL(%rip), %rax
	movq	_VT_VOLATILE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	notl	%edx
	andl	%edx, %ecx
	andl	%edx, %esi
LBB0_2:
	xorl	%eax, %eax
	cmpl	%esi, %ecx
	jne	LBB0_8
## %bb.3:
	movq	_VT_BTYPE@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movq	_VT_PTR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_4
## %bb.9:
	callq	_pointed_type
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_pointed_type
	movq	%r14, %rdi
	movq	%rax, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_is_compatible_types            ## TAILCALL
LBB0_4:
	movq	_VT_STRUCT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_6
## %bb.5:
	movq	_VT_UNION@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_6
## %bb.7:
	movq	_VT_FUNC@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpl	(%rdx), %ecx
	jne	LBB0_8
## %bb.10:
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_is_compatible_func             ## TAILCALL
LBB0_6:
	movq	8(%rdi), %rcx
	xorl	%eax, %eax
	cmpq	8(%rbx), %rcx
	sete	%al
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VT_TYPE,4,2                    ## @VT_TYPE
	.comm	_VT_CONSTANT,4,2                ## @VT_CONSTANT
	.comm	_VT_VOLATILE,4,2                ## @VT_VOLATILE
	.comm	_VT_BTYPE,4,2                   ## @VT_BTYPE
	.comm	_VT_PTR,4,2                     ## @VT_PTR
	.comm	_VT_STRUCT,4,2                  ## @VT_STRUCT
	.comm	_VT_UNION,4,2                   ## @VT_UNION
	.comm	_VT_FUNC,4,2                    ## @VT_FUNC
	.no_dead_strip	_compare_types
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compare_types
_compare_types:                         ; @compare_types
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _VT_TYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VT_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	ldr	w10, [x1]
	and	w9, w10, w9
	cbz	w2, LBB0_2
; %bb.1:
Lloh3:
	adrp	x10, _VT_CONSTANT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _VT_CONSTANT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _VT_VOLATILE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _VT_VOLATILE@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	orr	w10, w11, w10
	bic	w8, w8, w10
	bic	w9, w9, w10
LBB0_2:
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.3:
Lloh9:
	adrp	x9, _VT_BTYPE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VT_BTYPE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh12:
	adrp	x9, _VT_PTR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VT_PTR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.4:
	bl	_pointed_type
	mov	x20, x0
	mov	x0, x19
	bl	_pointed_type
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_is_compatible_types
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh15:
	adrp	x9, _VT_STRUCT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VT_STRUCT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _VT_UNION@GOTPAGE
Lloh19:
	ldr	x10, [x10, _VT_UNION@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_9
; %bb.8:
	ldr	x8, [x0, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_6
LBB0_9:
Lloh21:
	adrp	x9, _VT_FUNC@GOTPAGE
Lloh22:
	ldr	x9, [x9, _VT_FUNC@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.10:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_is_compatible_func
LBB0_11:
	mov	w0, #1
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_VT_TYPE,4,2                    ; @VT_TYPE
	.comm	_VT_CONSTANT,4,2                ; @VT_CONSTANT
	.comm	_VT_VOLATILE,4,2                ; @VT_VOLATILE
	.comm	_VT_BTYPE,4,2                   ; @VT_BTYPE
	.comm	_VT_PTR,4,2                     ; @VT_PTR
	.comm	_VT_STRUCT,4,2                  ; @VT_STRUCT
	.comm	_VT_UNION,4,2                   ; @VT_UNION
	.comm	_VT_FUNC,4,2                    ; @VT_FUNC
	.no_dead_strip	_compare_types
.subsections_via_symbols
