	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_enum_name                  ## -- Begin function ada_enum_name
	.p2align	4, 0x90
_ada_enum_name:                         ## @ada_enum_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	addq	$2, %rax
	movq	%rax, %rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movl	$46, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rax
	movq	%rax, %rbx
	jmp	LBB0_1
LBB0_5:
	cmpb	$81, (%rbx)
	jne	LBB0_15
## %bb.6:
	movb	1(%rbx), %al
	orb	$2, %al
	cmpb	$87, %al
	jne	LBB0_15
## %bb.7:
	leaq	2(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-20(%rbp), %rdx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_15
## %bb.8:
	movl	-20(%rbp), %edi
	callq	_isascii
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movl	-20(%rbp), %edi
	callq	_isprint
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	-20(%rbp), %edx
	leaq	_ada_enum_name.result(%rip), %rbx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_14
LBB0_11:
	cmpb	$85, 1(%rbx)
	movl	-20(%rbp), %edx
	leaq	_ada_enum_name.result(%rip), %rbx
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str.4(%rip), %rsi
LBB0_14:
	movq	%rbx, %rdi
	callq	_sprintf
LBB0_15:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"__"

.zerofill __DATA,__bss,_ada_enum_name.result,16,4 ## @ada_enum_name.result
L_.str.1:                               ## @.str.1
	.asciz	"%x"

L_.str.2:                               ## @.str.2
	.asciz	"'%c'"

L_.str.3:                               ## @.str.3
	.asciz	"[\"%02x\"]"

L_.str.4:                               ## @.str.4
	.asciz	"[\"%04x\"]"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_enum_name                  ; -- Begin function ada_enum_name
	.p2align	2
_ada_enum_name:                         ; @ada_enum_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x0, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_strstr
	cbnz	x0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	w1, #46
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x0, #1
	b	LBB0_2
LBB0_5:
	ldrb	w8, [x19]
	cmp	w8, #81
	b.ne	LBB0_15
; %bb.6:
	ldrb	w8, [x19, #1]
	orr	w8, w8, #0x2
	cmp	w8, #87
	b.ne	LBB0_15
; %bb.7:
	add	x0, x19, #2
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_15
; %bb.8:
	ldr	w0, [sp, #12]
	bl	_isascii
	cbz	x0, LBB0_11
; %bb.9:
	ldr	w0, [sp, #12]
	bl	_isprint
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w2, [sp, #12]
Lloh4:
	adrp	x19, _ada_enum_name.result@PAGE
Lloh5:
	add	x19, x19, _ada_enum_name.result@PAGEOFF
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_11:
	ldrb	w8, [x19, #1]
	ldr	w2, [sp, #12]
Lloh8:
	adrp	x19, _ada_enum_name.result@PAGE
Lloh9:
	add	x19, x19, _ada_enum_name.result@PAGEOFF
	cmp	w8, #85
	b.ne	LBB0_13
; %bb.12:
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_14:
	mov	x0, x19
	bl	_sprintf
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"__"

.zerofill __DATA,__bss,_ada_enum_name.result,16,0 ; @ada_enum_name.result
l_.str.1:                               ; @.str.1
	.asciz	"%x"

l_.str.2:                               ; @.str.2
	.asciz	"'%c'"

l_.str.3:                               ; @.str.3
	.asciz	"[\"%02x\"]"

l_.str.4:                               ; @.str.4
	.asciz	"[\"%04x\"]"

.subsections_via_symbols
