	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_array_descriptor
_make_array_descriptor:                 ## @make_array_descriptor
	.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
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_desc_bounds_type
	movq	%rax, %r15
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_desc_base_type
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_allocate_value
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_allocate_value
	movq	%rax, %rbx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_VALUE_TYPE
	movl	%eax, %edi
	callq	_check_typedef
	movl	%eax, %edi
	callq	_ada_array_arity
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	movl	%eax, %r12d
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_VALUE_CONTENTS
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_ada_array_bound
	movl	%eax, %edi
	callq	_value_as_long
	movq	%rax, %rbx
	movq	%r15, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_desc_bound_bitpos
	movl	%eax, %r13d
	movq	%r15, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_desc_bound_bitsize
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_modify_general_field
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_VALUE_CONTENTS
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_ada_array_bound
	movl	%eax, %edi
	callq	_value_as_long
	movq	%rax, %r13
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_desc_bound_bitpos
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_desc_bound_bitsize
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movl	%ebx, %edx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_modify_general_field
	leal	-1(%r12), %eax
	cmpl	$1, %r12d
	movl	%eax, %r12d
	ja	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_place_on_stack
	movq	%rax, %r14
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_VALUE_CONTENTS
	movl	%eax, %r15d
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_fat_pntr_data_bitpos
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_fat_pntr_data_bitsize
	movl	%r15d, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_modify_general_field
	movq	%r13, %rdi
	callq	_VALUE_CONTENTS
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_VALUE_ADDRESS
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_fat_pntr_bounds_bitpos
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_fat_pntr_bounds_bitsize
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_modify_general_field
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_place_on_stack
	movq	%rax, %rbx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_TYPE_CODE
	movq	_TYPE_CODE_PTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_value_addr                     ## TAILCALL
LBB0_4:
	movq	%rbx, %rax
	addq	$56, %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
	.no_dead_strip	_make_array_descriptor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_array_descriptor
_make_array_descriptor:                 ; @make_array_descriptor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x23, x1
	mov	x19, x0
	bl	_desc_bounds_type
	mov	x24, x0
	mov	x0, x19
	bl	_desc_base_type
	mov	x22, x0
	bl	_allocate_value
	mov	x21, x0
	mov	x0, x24
	bl	_allocate_value
	mov	x25, x0
	mov	x0, x23
	bl	_VALUE_TYPE
	bl	_check_typedef
	bl	_ada_array_arity
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x26, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_VALUE_CONTENTS
	mov	x27, x0
	mov	x0, x23
	mov	x1, x26
	mov	w2, #0
	bl	_ada_array_bound
	bl	_value_as_long
	mov	x28, x0
	mov	x0, x24
	mov	x1, x26
	mov	w2, #0
	bl	_desc_bound_bitpos
	mov	x20, x0
	mov	x0, x24
	mov	x1, x26
	mov	w2, #0
	bl	_desc_bound_bitsize
	mov	x3, x0
	mov	x0, x27
	mov	x1, x28
	mov	x2, x20
	bl	_modify_general_field
	mov	x0, x25
	bl	_VALUE_CONTENTS
	mov	x20, x0
	mov	x0, x23
	mov	x1, x26
	mov	w2, #1
	bl	_ada_array_bound
	bl	_value_as_long
	mov	x27, x0
	mov	x0, x24
	mov	x1, x26
	mov	w2, #1
	bl	_desc_bound_bitpos
	mov	x28, x0
	mov	x0, x24
	mov	x1, x26
	mov	w2, #1
	bl	_desc_bound_bitsize
	mov	x3, x0
	mov	x0, x20
	mov	x1, x27
	mov	x2, x28
	bl	_modify_general_field
	subs	w26, w26, #1
	b.hi	LBB0_2
LBB0_3:
	mov	x0, x25
	ldr	x26, [sp, #8]                   ; 8-byte Folded Reload
	mov	x1, x26
	bl	_place_on_stack
	mov	x20, x0
	mov	x0, x21
	bl	_VALUE_CONTENTS
	mov	x24, x0
	mov	x0, x22
	bl	_fat_pntr_data_bitpos
	mov	x25, x0
	mov	x0, x22
	bl	_fat_pntr_data_bitsize
	mov	x3, x0
	mov	x0, x24
	mov	x1, x23
	mov	x2, x25
	bl	_modify_general_field
	mov	x0, x21
	bl	_VALUE_CONTENTS
	mov	x23, x0
	mov	x0, x20
	bl	_VALUE_ADDRESS
	mov	x20, x0
	mov	x0, x22
	bl	_fat_pntr_bounds_bitpos
	mov	x24, x0
	mov	x0, x22
	bl	_fat_pntr_bounds_bitsize
	mov	x3, x0
	mov	x0, x23
	mov	x1, x20
	mov	x2, x24
	bl	_modify_general_field
	mov	x0, x21
	mov	x1, x26
	bl	_place_on_stack
	mov	x20, x0
	mov	x0, x19
	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_5
; %bb.4:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_value_addr
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CODE_PTR,8,3              ; @TYPE_CODE_PTR
	.no_dead_strip	_make_array_descriptor
.subsections_via_symbols
