	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function to_fixed_array_type
_to_fixed_array_type:                   ## @to_fixed_array_type
	.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
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rsi
	callq	_ada_find_parallel_type
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%rax, %rdi
	callq	_TYPE_NFIELDS
	movl	%eax, %ebx
	movq	%r13, %rax
	testl	%ebx, %ebx
	jle	LBB0_6
## %bb.4:
	incl	%ebx
	movq	%r13, %rax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_TYPE_TARGET_TYPE
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_5
LBB0_6:
	movq	%r13, %rbx
	movq	%rax, %rdi
	callq	_check_typedef
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_ada_to_fixed_type
	movq	%rax, %r13
	movq	%r15, %r12
	movq	%r15, %rdi
	callq	_TYPE_NFIELDS
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	movl	%eax, %r15d
	incl	%r15d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%r15), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_TYPE_FIELD_NAME
	movq	%r14, %rbx
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_TYPE_OBJFILE
	movl	%r14d, %edi
	movq	%rbx, %r14
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_to_fixed_range_type
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_TYPE_OBJFILE
	movl	%eax, %edi
	callq	_alloc_type
	movl	%eax, %edi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_create_array_type
	movq	%rax, %r13
	decl	%r15d
	cmpl	$1, %r15d
	ja	LBB0_8
LBB0_9:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_12
## %bb.10:
	movq	%r13, %rdi
	callq	_TYPE_LENGTH
	movq	_varsize_limit@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_12
## %bb.11:
	leaq	L_.str.1(%rip), %rdi
	callq	_error
	jmp	LBB0_12
LBB0_1:
	movq	%r13, %rdi
	callq	_TYPE_TARGET_TYPE
	movq	%rax, %rdi
	callq	_check_typedef
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_ada_to_fixed_type
	cmpq	%rax, %rbx
	je	LBB0_12
## %bb.2:
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_TYPE_OBJFILE
	movl	%eax, %edi
	callq	_alloc_type
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_TYPE_INDEX_TYPE
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%rax, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_create_array_type              ## TAILCALL
LBB0_12:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"___XA"

	.comm	_varsize_limit,8,3              ## @varsize_limit
L_.str.1:                               ## @.str.1
	.asciz	"array type with dynamic size is larger than varsize-limit"

	.no_dead_strip	_to_fixed_array_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function to_fixed_array_type
_to_fixed_array_type:                   ; @to_fixed_array_type
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ada_find_parallel_type
	cbz	x0, LBB0_10
; %bb.1:
	mov	x22, x0
	bl	_TYPE_NFIELDS
	mov	x8, x0
	mov	x0, x19
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	add	w23, w8, #1
	mov	x0, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_TYPE_TARGET_TYPE
	sub	w23, w23, #1
	cmp	w23, #1
	b.hi	LBB0_3
LBB0_4:
	bl	_check_typedef
	mov	w1, #0
	mov	w2, #0
	mov	x3, x20
	bl	_ada_to_fixed_type
	mov	x23, x0
	mov	x0, x22
	bl	_TYPE_NFIELDS
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.5:
	add	w25, w0, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w1, w25, #2
	mov	x0, x22
	bl	_TYPE_FIELD_NAME
	mov	x24, x0
	mov	x0, x19
	bl	_TYPE_OBJFILE
	mov	x2, x0
	mov	x0, x24
	mov	x1, x20
	bl	_to_fixed_range_type
	mov	x24, x0
	mov	x0, x19
	bl	_TYPE_OBJFILE
	bl	_alloc_type
	mov	x1, x23
	mov	x2, x24
	bl	_create_array_type
	mov	x23, x0
	sub	w25, w25, #1
	cmp	w25, #1
	b.hi	LBB0_6
LBB0_7:
	cbnz	w21, LBB0_13
; %bb.8:
	mov	x0, x23
	bl	_TYPE_LENGTH
Lloh2:
	adrp	x8, _varsize_limit@GOTPAGE
Lloh3:
	ldr	x8, [x8, _varsize_limit@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_13
; %bb.9:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
	b	LBB0_13
LBB0_10:
	mov	x0, x19
	bl	_TYPE_TARGET_TYPE
	bl	_check_typedef
	mov	x21, x0
	mov	w1, #0
	mov	w2, #0
	mov	x3, x20
	bl	_ada_to_fixed_type
	cmp	x21, x0
	b.eq	LBB0_12
; %bb.11:
	mov	x20, x0
	mov	x0, x19
	bl	_TYPE_OBJFILE
	bl	_alloc_type
	mov	x21, x0
	mov	x0, x19
	bl	_TYPE_INDEX_TYPE
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_create_array_type
LBB0_12:
	mov	x23, x19
LBB0_13:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"___XA"

	.comm	_varsize_limit,8,3              ; @varsize_limit
l_.str.1:                               ; @.str.1
	.asciz	"array type with dynamic size is larger than varsize-limit"

	.no_dead_strip	_to_fixed_array_type
.subsections_via_symbols
