	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_value_print                ## -- Begin function ada_value_print
	.p2align	4, 0x90
_ada_value_print:                       ## @ada_value_print
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_VALUE_CONTENTS
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_VALUE_ADDRESS
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_VALUE_OFFSET
	movq	%rax, %r13
	addq	%r15, %r13
	movq	%rbx, %rdi
	callq	_VALUE_TYPE
	movl	%eax, %edi
	movq	%r14, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_ada_to_fixed_type
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_value_from_contents_and_address
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_PTR@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_REF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_2:
	movq	%r15, %rdi
	callq	_TYPE_CODE
	cmpq	(%rbx), %rax
	jne	LBB0_6
## %bb.3:
	movq	%r15, %rdi
	callq	_TYPE_TARGET_TYPE
	movq	%rax, %rdi
	callq	_TYPE_LENGTH
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	callq	_TYPE_TARGET_TYPE
	movq	%rax, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_INT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_TYPE_TARGET_TYPE
	movq	%rax, %rdi
	callq	_TYPE_UNSIGNED
	testl	%eax, %eax
	jne	LBB0_6
	jmp	LBB0_7
LBB0_8:
	movq	%r15, %rdi
	callq	_ada_is_array_descriptor
	testq	%rax, %rax
	je	LBB0_9
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_fprintf_filtered
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	movl	$-1, %ecx
	callq	_type_print
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_fprintf_filtered
LBB0_7:
	movq	%r14, %rdi
	callq	_VALUE_CONTENTS
	subq	$8, %rsp
	movq	%r15, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	movq	%r13, %rcx
	movq	%r12, %r8
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	$0
	pushq	$1
	callq	_val_print
	addq	$56, %rsp
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r15, %rdi
	callq	_ada_is_bogus_array_descriptor
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_fprintf_filtered
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	movl	$-1, %ecx
	callq	_type_print
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_fprintf_filtered
	xorl	%eax, %eax
	addq	$24, %rsp
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CODE_PTR,8,3              ## @TYPE_CODE_PTR
	.comm	_TYPE_CODE_REF,8,3              ## @TYPE_CODE_REF
	.comm	_TYPE_CODE_INT,8,3              ## @TYPE_CODE_INT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"("

L_.str.1:                               ## @.str.1
	.space	1

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

L_.str.3:                               ## @.str.3
	.asciz	") (...?)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_value_print                ; -- Begin function ada_value_print
	.p2align	2
_ada_value_print:                       ; @ada_value_print
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
	bl	_VALUE_CONTENTS
	mov	x24, x0
	mov	x0, x23
	bl	_VALUE_ADDRESS
	mov	x22, x0
	mov	x0, x23
	bl	_VALUE_OFFSET
	add	x22, x0, x22
	mov	x0, x23
	bl	_VALUE_TYPE
	mov	x1, x24
	mov	x2, x22
	mov	x3, #0
	bl	_ada_to_fixed_type
	mov	x23, x0
	mov	x1, x24
	mov	x2, x22
	bl	_value_from_contents_and_address
	mov	x24, x0
	mov	x0, x23
	bl	_TYPE_CODE
Lloh0:
	adrp	x25, _TYPE_CODE_PTR@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TYPE_CODE_PTR@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x23
	bl	_TYPE_CODE
Lloh2:
	adrp	x8, _TYPE_CODE_REF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TYPE_CODE_REF@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
LBB0_2:
	mov	x0, x23
	bl	_TYPE_CODE
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x23
	bl	_TYPE_TARGET_TYPE
	bl	_TYPE_LENGTH
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.4:
	mov	x0, x23
	bl	_TYPE_TARGET_TYPE
	bl	_TYPE_CODE
Lloh5:
	adrp	x8, _TYPE_CODE_INT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TYPE_CODE_INT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x23
	bl	_TYPE_TARGET_TYPE
	bl	_TYPE_UNSIGNED
	cbnz	w0, LBB0_7
	b	LBB0_8
LBB0_6:
	mov	x0, x23
	bl	_ada_is_array_descriptor
	cbz	x0, LBB0_10
LBB0_7:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fprintf_filtered
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	mov	x2, x19
	mov	w3, #-1
	bl	_type_print
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_fprintf_filtered
LBB0_8:
	mov	x0, x24
	bl	_VALUE_CONTENTS
	mov	x1, x0
	str	w21, [sp]
	mov	x0, x23
	mov	w2, #0
	mov	x3, x22
	mov	x4, x19
	mov	x5, x20
	mov	w6, #1
	mov	w7, #0
	bl	_val_print
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:
	mov	x0, x23
	bl	_ada_is_bogus_array_descriptor
	cbz	x0, LBB0_8
; %bb.11:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fprintf_filtered
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	mov	x2, x19
	mov	w3, #-1
	bl	_type_print
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_fprintf_filtered
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CODE_PTR,8,3              ; @TYPE_CODE_PTR
	.comm	_TYPE_CODE_REF,8,3              ; @TYPE_CODE_REF
	.comm	_TYPE_CODE_INT,8,3              ; @TYPE_CODE_INT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"("

l_.str.1:                               ; @.str.1
	.space	1

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

l_.str.3:                               ; @.str.3
	.asciz	") (...?)"

.subsections_via_symbols
