	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_lookup_struct_elt_type     ## -- Begin function ada_lookup_struct_elt_type
	.p2align	4, 0x90
_ada_lookup_struct_elt_type:            ## @ada_lookup_struct_elt_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rdi, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.1:
	movq	%rcx, %r12
	movq	_TYPE_CODE_PTR@GOTPCREL(%rip), %r14
	movq	_TYPE_CODE_REF@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_TYPE_TARGET_TYPE
	movq	%rax, %rbx
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_CHECK_TYPEDEF
	movq	%rbx, %rdi
	callq	_TYPE_CODE
	cmpq	(%r14), %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_TYPE_CODE
	cmpq	(%r15), %rax
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_STRUCT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_UNION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_target_terminal_ours
	movq	_gdb_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gdb_flush
	movq	_gdb_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf_unfiltered
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$-1, %ecx
	callq	_type_print
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_8:
	movq	%rbx, %rdi
	callq	_to_static_fixed_type
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TYPE_NFIELDS
	testl	%eax, %eax
	jle	LBB0_19
## %bb.9:
	movl	%r13d, -68(%rbp)                ## 4-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	$0, -44(%rbp)
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_TYPE_FIELD_TYPE
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, %edx
	leaq	-44(%rbp), %rcx
	callq	_ada_lookup_struct_elt_type
	testq	%rax, %rax
	jne	LBB0_25
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	incl	%r13d
	movq	%rbx, %rdi
	callq	_TYPE_NFIELDS
	cmpl	%eax, %r13d
	jge	LBB0_18
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_TYPE_FIELD_NAME
	testq	%rax, %rax
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_field_name_match
	testq	%rax, %rax
	jne	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ada_is_wrapper_field
	testq	%rax, %rax
	jne	LBB0_16
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ada_is_variant_part
	testq	%rax, %rax
	je	LBB0_17
## %bb.22:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_TYPE_FIELD_TYPE
	movq	%rax, %rdi
	callq	_check_typedef
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TYPE_NFIELDS
	movl	%eax, %r15d
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%r15d, %r15d
	jle	LBB0_17
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=2
	decl	%r15d
	movl	$0, -44(%rbp)
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_TYPE_FIELD_TYPE
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, %edx
	leaq	-44(%rbp), %rcx
	callq	_ada_lookup_struct_elt_type
	testq	%rax, %rax
	je	LBB0_23
LBB0_25:
	movq	%rax, %r14
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_27
## %bb.26:
	movl	-44(%rbp), %r15d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_TYPE_FIELD_BITPOS
                                        ## kill: def $eax killed $eax def $rax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	addl	%r15d, %ecx
	addl	%ecx, (%r12)
	jmp	LBB0_27
LBB0_18:
	movl	-68(%rbp), %r13d                ## 4-byte Reload
LBB0_19:
	xorl	%r14d, %r14d
	testl	%r13d, %r13d
	jne	LBB0_27
## %bb.20:
	xorl	%eax, %eax
	callq	_target_terminal_ours
	movq	_gdb_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gdb_flush
	movq	_gdb_stderr@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf_unfiltered
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$-1, %ecx
	callq	_type_print
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_fprintf_unfiltered
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	leaq	L_.str.5(%rip), %rsi
	cmovneq	%rax, %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_27:
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_TYPE_FIELD_BITPOS
                                        ## kill: def $eax killed $eax def $rax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	addl	%ecx, (%r14)
LBB0_14:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_TYPE_FIELD_TYPE
	movq	%rax, %rdi
	callq	_check_typedef
	movq	%rax, %r14
	jmp	LBB0_27
	.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_STRUCT,8,3           ## @TYPE_CODE_STRUCT
	.comm	_TYPE_CODE_UNION,8,3            ## @TYPE_CODE_UNION
	.comm	_gdb_stdout,4,2                 ## @gdb_stdout
	.comm	_gdb_stderr,4,2                 ## @gdb_stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Type "

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

L_.str.2:                               ## @.str.2
	.asciz	" is not a structure or union type"

L_.str.3:                               ## @.str.3
	.asciz	" has no component named "

L_.str.4:                               ## @.str.4
	.asciz	"%s"

L_.str.5:                               ## @.str.5
	.asciz	"<null>"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_lookup_struct_elt_type     ; -- Begin function ada_lookup_struct_elt_type
	.p2align	2
_ada_lookup_struct_elt_type:            ; @ada_lookup_struct_elt_type
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	cbz	x1, LBB0_21
; %bb.1:
	mov	x20, x3
Lloh0:
	adrp	x23, _TYPE_CODE_PTR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TYPE_CODE_PTR@GOTPAGEOFF]
Lloh2:
	adrp	x24, _TYPE_CODE_REF@GOTPAGE
Lloh3:
	ldr	x24, [x24, _TYPE_CODE_REF@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_TYPE_TARGET_TYPE
	mov	x19, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_CHECK_TYPEDEF
	mov	x0, x19
	bl	_TYPE_CODE
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_TYPE_CODE
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.5:
	mov	x0, x19
	bl	_TYPE_CODE
Lloh4:
	adrp	x8, _TYPE_CODE_STRUCT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TYPE_CODE_STRUCT@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_TYPE_CODE
Lloh7:
	adrp	x8, _TYPE_CODE_UNION@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TYPE_CODE_UNION@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.7:
	bl	_target_terminal_ours
Lloh10:
	adrp	x8, _gdb_stdout@GOTPAGE
Lloh11:
	ldr	x8, [x8, _gdb_stdout@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_gdb_flush
Lloh13:
	adrp	x23, _gdb_stderr@GOTPAGE
Lloh14:
	ldr	x23, [x23, _gdb_stderr@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf_unfiltered
	ldr	w2, [x23]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w3, #-1
	bl	_type_print
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
LBB0_8:
	mov	x0, x19
	bl	_to_static_fixed_type
	mov	x19, x0
	bl	_TYPE_NFIELDS
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.9:
	mov	w23, #0
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	str	wzr, [sp, #12]
	mov	x0, x19
	mov	x1, x23
	bl	_TYPE_FIELD_TYPE
	add	x3, sp, #12
	mov	x1, x21
	mov	w2, #1
	bl	_ada_lookup_struct_elt_type
	cbnz	x0, LBB0_19
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	w23, w23, #1
	mov	x0, x19
	bl	_TYPE_NFIELDS
	cmp	w23, w0
	b.ge	LBB0_21
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	mov	x0, x19
	mov	x1, x23
	bl	_TYPE_FIELD_NAME
	cbz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x1, x21
	bl	_field_name_match
	cbnz	x0, LBB0_25
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_ada_is_wrapper_field
	cbnz	x0, LBB0_10
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_ada_is_variant_part
	cbz	x0, LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_TYPE_FIELD_TYPE
	bl	_check_typedef
	mov	x25, x0
	bl	_TYPE_NFIELDS
	mov	x26, x0
LBB0_17:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	subs	w26, w26, #1
	b.lt	LBB0_11
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	str	wzr, [sp, #12]
	mov	x0, x25
	mov	x1, x26
	bl	_TYPE_FIELD_TYPE
	add	x3, sp, #12
	mov	x1, x21
	mov	w2, #1
	bl	_ada_lookup_struct_elt_type
	cbz	x0, LBB0_17
LBB0_19:
	mov	x24, x0
	cbz	x20, LBB0_24
; %bb.20:
	ldr	w21, [sp, #12]
	mov	x0, x19
	mov	x1, x23
	bl	_TYPE_FIELD_BITPOS
	add	w8, w0, #7
	cmp	w0, #0
	csel	w8, w8, w0, lt
	add	w8, w21, w8, asr #3
	ldr	w9, [x20]
	add	w8, w8, w9
	str	w8, [x20]
	b	LBB0_24
LBB0_21:
	cbnz	w22, LBB0_23
; %bb.22:
	bl	_target_terminal_ours
Lloh21:
	adrp	x8, _gdb_stdout@GOTPAGE
Lloh22:
	ldr	x8, [x8, _gdb_stdout@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_gdb_flush
Lloh24:
	adrp	x20, _gdb_stderr@GOTPAGE
Lloh25:
	ldr	x20, [x20, _gdb_stderr@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf_unfiltered
	ldr	w2, [x20]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w3, #-1
	bl	_type_print
	ldr	w0, [x20]
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf_unfiltered
Lloh32:
	adrp	x8, l_.str.5@PAGE
Lloh33:
	add	x8, x8, l_.str.5@PAGEOFF
	cmp	x21, #0
	csel	x8, x8, x21, eq
	str	x8, [sp]
Lloh34:
	adrp	x0, l_.str.4@PAGE
Lloh35:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_error
LBB0_23:
	mov	x24, #0
LBB0_24:
	mov	x0, x24
	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_25:
	cbz	x20, LBB0_27
; %bb.26:
	mov	x0, x19
	mov	x1, x23
	bl	_TYPE_FIELD_BITPOS
	add	w8, w0, #7
	cmp	w0, #0
	csel	w8, w8, w0, lt
	ldr	w9, [x20]
	add	w8, w9, w8, asr #3
	str	w8, [x20]
LBB0_27:
	mov	x0, x19
	mov	x1, x23
	bl	_TYPE_FIELD_TYPE
	bl	_check_typedef
	mov	x24, x0
	b	LBB0_24
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.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_STRUCT,8,3           ; @TYPE_CODE_STRUCT
	.comm	_TYPE_CODE_UNION,8,3            ; @TYPE_CODE_UNION
	.comm	_gdb_stdout,4,2                 ; @gdb_stdout
	.comm	_gdb_stderr,4,2                 ; @gdb_stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Type "

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

l_.str.2:                               ; @.str.2
	.asciz	" is not a structure or union type"

l_.str.3:                               ; @.str.3
	.asciz	" has no component named "

l_.str.4:                               ; @.str.4
	.asciz	"%s"

l_.str.5:                               ; @.str.5
	.asciz	"<null>"

.subsections_via_symbols
