	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_type_of_array              ## -- Begin function ada_type_of_array
	.p2align	4, 0x90
_ada_type_of_array:                     ## @ada_type_of_array
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	callq	_VALUE_TYPE
	movq	%rax, %rdi
	callq	_ada_is_packed_array_type
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_VALUE_TYPE
	movq	%rax, %rdi
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.14:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_decode_packed_array_type       ## TAILCALL
LBB0_1:
	callq	_ada_is_array_descriptor
	testl	%eax, %eax
	je	LBB0_15
## %bb.2:
	movq	%r12, %rdi
	callq	_VALUE_TYPE
	movq	%rax, %rdi
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.4:
	callq	_TYPE_OBJFILE
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_VALUE_TYPE
	movq	%rax, %rdi
	movl	$-1, %esi
	callq	_ada_array_element_type
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_VALUE_TYPE
	movq	%rax, %rdi
	callq	_ada_array_arity
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	movq	%r12, %rdi
	callq	_desc_bounds
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_value_as_long
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	testl	%r13d, %r13d
	jle	LBB0_12
## %bb.10:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_alloc_type
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_alloc_type
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_desc_one_bound
	movq	%rax, %r12
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	$1, %edx
	callq	_desc_one_bound
	movq	%rax, %r14
	leal	-1(%r13), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_VALUE_TYPE
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_value_as_long
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	callq	_value_as_long
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_create_range_type
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_create_array_type
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	$1, %r13d
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r13d
	ja	LBB0_11
LBB0_12:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lookup_pointer_type            ## TAILCALL
LBB0_15:
	movq	%r12, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VALUE_TYPE                     ## TAILCALL
LBB0_3:
	callq	_desc_data_type
	movl	%eax, %edi
	callq	_TYPE_TARGET_TYPE
	jmp	LBB0_7
LBB0_6:
	movq	%r12, %rdi
	callq	_VALUE_TYPE
LBB0_7:
	movq	%rax, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_check_typedef                  ## TAILCALL
LBB0_13:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_type_of_array              ; -- Begin function ada_type_of_array
	.p2align	2
_ada_type_of_array:                     ; @ada_type_of_array
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x22, x0
	bl	_VALUE_TYPE
	bl	_ada_is_packed_array_type
	mov	x20, x0
	mov	x0, x22
	bl	_VALUE_TYPE
	cbz	x20, LBB0_2
; %bb.1:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_decode_packed_array_type
LBB0_2:
	bl	_ada_is_array_descriptor
	cbz	w0, LBB0_10
; %bb.3:
	mov	x0, x22
	bl	_VALUE_TYPE
	cbz	w19, LBB0_11
; %bb.4:
	bl	_TYPE_OBJFILE
	mov	x19, x0
	mov	x0, x22
	bl	_VALUE_TYPE
	mov	w1, #-1
	bl	_ada_array_element_type
	mov	x20, x0
	mov	x0, x22
	bl	_VALUE_TYPE
	bl	_ada_array_arity
	cbz	x20, LBB0_12
; %bb.5:
	mov	x21, x0
	cbz	w0, LBB0_12
; %bb.6:
	mov	x0, x22
	bl	_desc_bounds
	mov	x22, x0
	bl	_value_as_long
	cbz	x0, LBB0_14
; %bb.7:
	cmp	w21, #1
	b.lt	LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_alloc_type
	mov	x23, x0
	mov	x0, x19
	bl	_alloc_type
	mov	x24, x0
	mov	x0, x22
	mov	x1, x21
	mov	w2, #0
	bl	_desc_one_bound
	mov	x25, x0
	mov	x0, x22
	mov	x1, x21
	mov	w2, #1
	bl	_desc_one_bound
	mov	x26, x0
	mov	x0, x25
	bl	_VALUE_TYPE
	mov	x27, x0
	mov	x0, x25
	bl	_value_as_long
	mov	x25, x0
	mov	x0, x26
	bl	_value_as_long
	mov	x3, x0
	mov	x0, x23
	mov	x1, x27
	mov	x2, x25
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_create_range_type
	mov	x0, x24
	mov	x1, x20
	mov	x2, x23
	bl	_create_array_type
	mov	x20, x0
	subs	w21, w21, #1
	b.hi	LBB0_8
LBB0_9:
	mov	x0, x20
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_lookup_pointer_type
LBB0_10:
	mov	x0, x22
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_VALUE_TYPE
LBB0_11:
	bl	_desc_data_type
	bl	_TYPE_TARGET_TYPE
	b	LBB0_13
LBB0_12:
	mov	x0, x22
	bl	_VALUE_TYPE
LBB0_13:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_check_typedef
LBB0_14:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
