	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_renaming_type              ## -- Begin function ada_renaming_type
	.p2align	4, 0x90
_ada_renaming_type:                     ## @ada_renaming_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	callq	_TYPE_CODE
	movq	_TYPE_CODE_ENUM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.2:
	movq	%rbx, %rdi
	callq	_type_name_no_tag
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %rbx
	movb	5(%rax), %al
	testb	%al, %al
	je	LBB0_6
## %bb.5:
	movsbl	%al, %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_11
LBB0_6:
	addq	$3, %rbx
	jmp	LBB0_12
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CODE_ENUM,8,3             ## @TYPE_CODE_ENUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"___XR"

L_.str.1:                               ## @.str.1
	.asciz	"PES_"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_renaming_type              ; -- Begin function ada_renaming_type
	.p2align	2
_ada_renaming_type:                     ; @ada_renaming_type
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	bl	_TYPE_CODE
Lloh0:
	adrp	x8, _TYPE_CODE_ENUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_CODE_ENUM@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_type_name_no_tag
	cbz	x0, LBB0_8
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_8
; %bb.4:
	mov	x19, x0
	ldrb	w8, [x0, #5]
	cbz	w8, LBB0_6
; %bb.5:
	sxtb	w1, w8
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_strchr
	cbz	x0, LBB0_8
LBB0_6:
	add	x0, x19, #3
	b	LBB0_8
LBB0_7:
	mov	x0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CODE_ENUM,8,3             ; @TYPE_CODE_ENUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"___XR"

l_.str.1:                               ; @.str.1
	.asciz	"PES_"

.subsections_via_symbols
