	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_variant_discrim_name       ## -- Begin function ada_variant_discrim_name
	.p2align	4, 0x90
_ada_variant_discrim_name:              ## @ada_variant_discrim_name
	.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	%rdi, %rbx
	callq	_TYPE_CODE
	movq	_TYPE_CODE_PTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_TYPE_TARGET_TYPE
	movq	%rax, %rbx
LBB0_2:
	movq	%rbx, %rdi
	callq	_ada_type_name
	leaq	L_.str(%rip), %r14
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	movq	%rax, %r15
	cmpb	$0, (%rax)
	je	LBB0_15
## %bb.4:
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %rbx
	cmpq	$6, %rbx
	je	LBB0_15
## %bb.5:
	leaq	-6(%r15), %r13
	leaq	L_.str.1(%rip), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%r13), %rdi
	movq	%r12, %rsi
	movl	$6, %edx
	callq	_DEPRECATED_STREQN
	testq	%rax, %rax
	jne	LBB0_7
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	decq	%rbx
	cmpq	$6, %rbx
	jne	LBB0_6
	jmp	LBB0_15
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	-1(%r12), %rbx
	leaq	1(%r13), %rax
	cmpb	$46, -7(%r15,%r12)
	je	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r13
	leaq	-6(%rbx), %rax
	cmpq	$1, %rax
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %r12
	cmpq	$3, %rax
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	jle	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	(%r15,%r12), %rdi
	addq	$-9, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$3, %edx
	callq	_DEPRECATED_STREQN
	testq	%rax, %rax
	je	LBB0_12
LBB0_13:
	leal	1(%r13), %edx
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_GROW_VECT
	leaq	(%r15,%r12), %rsi
	addq	$-6, %rsi
	xorl	%edi, %edi
	movl	%r13d, %edx
	callq	_strncpy
LBB0_15:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CODE_PTR,8,3              ## @TYPE_CODE_PTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

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

L_.str.2:                               ## @.str.2
	.asciz	"___"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_variant_discrim_name       ; -- Begin function ada_variant_discrim_name
	.p2align	2
_ada_variant_discrim_name:              ; @ada_variant_discrim_name
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	bl	_TYPE_CODE
Lloh0:
	adrp	x8, _TYPE_CODE_PTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_CODE_PTR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_TYPE_TARGET_TYPE
	mov	x19, x0
LBB0_2:
	mov	x0, x19
	bl	_ada_type_name
	cbz	x0, LBB0_15
; %bb.3:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_15
; %bb.4:
	mov	x0, x19
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x23, w0
	cmp	x23, #6
	b.eq	LBB0_15
; %bb.5:
	sub	x22, x19, #6
Lloh3:
	adrp	x21, l_.str.1@PAGE
Lloh4:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh5:
	adrp	x20, l_.str@PAGE
Lloh6:
	add	x20, x20, l_.str@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x22, x23
	mov	x1, x21
	mov	w2, #6
	bl	_DEPRECATED_STREQN
	cbnz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x23, x23, #1
	cmp	x23, #6
	b.ne	LBB0_6
	b	LBB0_16
LBB0_8:
	mov	x8, #0
Lloh7:
	adrp	x21, l_.str.2@PAGE
Lloh8:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x19, x22
	ldurb	w9, [x8, #-7]
	sub	x23, x22, #1
	add	x8, x20, #1
	cmp	w9, #46
	b.eq	LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x20, x8
	sub	x8, x23, #6
	cmp	x8, #1
	b.eq	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x22, x23
	cmp	x8, #3
	b.eq	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	x8, #4
	b.lt	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x19, x22
	sub	x0, x8, #9
	mov	x1, x21
	mov	w2, #3
	bl	_DEPRECATED_STREQN
	cbz	x0, LBB0_9
LBB0_14:
	add	w2, w20, #1
	mov	x0, #0
	mov	x1, #0
	bl	_GROW_VECT
	add	x8, x19, x22
	sub	x1, x8, #6
	mov	x0, #0
	mov	x2, x20
	bl	_strncpy
	mov	x20, #0
	b	LBB0_16
LBB0_15:
Lloh9:
	adrp	x20, l_.str@PAGE
Lloh10:
	add	x20, x20, l_.str@PAGEOFF
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CODE_PTR,8,3              ; @TYPE_CODE_PTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

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

l_.str.2:                               ; @.str.2
	.asciz	"___"

.subsections_via_symbols
