	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_packed_array_type
_decode_packed_array_type:              ## @decode_packed_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
	callq	_check_typedef
	movq	%rax, %rdi
	callq	_ada_type_name
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_alloca
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_strstr
	movq	%rax, %r14
	movq	%rax, %rbx
	subq	%r12, %rbx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movb	$0, (%r15,%rbx)
	xorl	%edi, %edi
	callq	_get_selected_block
	movq	_VAR_DOMAIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %rcx
	leaq	-64(%rbp), %r8
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_ada_lookup_symbol_list
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	movq	_LOC_TYPEDEF@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_SYMBOL_CLASS
	cmpq	(%r13), %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_SYMBOL_TYPE
	movq	%rax, %rdi
	callq	_ada_type_name
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_DEPRECATED_STREQ
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	movq	-48(%rbp), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_SYMBOL_TYPE
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_ARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.10:
	addq	$5, %r14
	leaq	L_.str.3(%rip), %rsi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.12:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_packed_array_type
	jmp	LBB0_13
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
LBB0_7:
	callq	_warning
	xorl	%eax, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_7
LBB0_11:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"___XP"

	.comm	_VAR_DOMAIN,4,2                 ## @VAR_DOMAIN
	.comm	_LOC_TYPEDEF,8,3                ## @LOC_TYPEDEF
L_.str.1:                               ## @.str.1
	.asciz	"could not find bounds information on packed array"

	.comm	_TYPE_CODE_ARRAY,8,3            ## @TYPE_CODE_ARRAY
L_.str.2:                               ## @.str.2
	.asciz	"could not understand bounds information on packed array"

L_.str.3:                               ## @.str.3
	.asciz	"%ld"

L_.str.4:                               ## @.str.4
	.asciz	"could not understand bit size information on packed array"

	.no_dead_strip	_decode_packed_array_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_packed_array_type
_decode_packed_array_type:              ; @decode_packed_array_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	bl	_check_typedef
	bl	_ada_type_name
	mov	x21, x0
	bl	_strlen
	add	x0, x0, #1
	bl	_alloca
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strstr
	mov	x19, x0
	sub	x22, x0, x21
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	strb	wzr, [x20, x22]
	mov	x0, #0
	bl	_get_selected_block
	mov	x1, x0
Lloh2:
	adrp	x8, _VAR_DOMAIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VAR_DOMAIN@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x3, sp, #24
	add	x4, sp, #16
	mov	x0, x20
	bl	_ada_lookup_symbol_list
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x21, #0
	mov	w8, w0
	lsl	x22, x8, #3
Lloh5:
	adrp	x23, _LOC_TYPEDEF@GOTPAGE
Lloh6:
	ldr	x23, [x23, _LOC_TYPEDEF@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #8
	cmp	x22, x21
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	ldr	x0, [x8, x21]
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_SYMBOL_CLASS
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #24]
	ldr	x0, [x8, x21]
	bl	_SYMBOL_TYPE
	bl	_ada_type_name
	mov	x1, x0
	mov	x0, x20
	bl	_DEPRECATED_STREQ
	cbz	x0, LBB0_2
; %bb.6:
	ldr	x8, [sp, #24]
	ldr	x0, [x8, x21]
	bl	_SYMBOL_TYPE
	mov	x20, x0
	bl	_TYPE_CODE
Lloh7:
	adrp	x8, _TYPE_CODE_ARRAY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TYPE_CODE_ARRAY@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.7:
	add	x0, x19, #5
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #8
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_13
; %bb.8:
	add	x1, sp, #8
	mov	x0, x20
	bl	_packed_array_type
	b	LBB0_11
LBB0_9:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_10:
	bl	_warning
	mov	x0, #0
LBB0_11:
	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
	add	sp, sp, #96
	ret
LBB0_12:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_13:
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"___XP"

	.comm	_VAR_DOMAIN,4,2                 ; @VAR_DOMAIN
	.comm	_LOC_TYPEDEF,8,3                ; @LOC_TYPEDEF
l_.str.1:                               ; @.str.1
	.asciz	"could not find bounds information on packed array"

	.comm	_TYPE_CODE_ARRAY,8,3            ; @TYPE_CODE_ARRAY
l_.str.2:                               ; @.str.2
	.asciz	"could not understand bounds information on packed array"

l_.str.3:                               ; @.str.3
	.asciz	"%ld"

l_.str.4:                               ; @.str.4
	.asciz	"could not understand bit size information on packed array"

	.no_dead_strip	_decode_packed_array_type
.subsections_via_symbols
