	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_value_struct_elt           ## -- Begin function ada_value_struct_elt
	.p2align	4, 0x90
_ada_value_struct_elt:                  ## @ada_value_struct_elt
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	callq	_ada_coerce_ref
	movq	%rax, %r12
	movq	_TYPE_CODE_PTR@GOTPCREL(%rip), %r13
	movq	_TYPE_CODE_REF@GOTPCREL(%rip), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_ada_value_ind
	movq	%rax, %r12
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_VALUE_TYPE
	movl	%eax, %edi
	callq	_check_typedef
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TYPE_CODE
	cmpq	(%r13), %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_TYPE_CODE
	cmpq	(%r14), %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_STRUCT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_UNION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_error
LBB0_7:
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_ada_search_struct_field
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_error
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %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
	.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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attempt to extract a component of a value that is not a %s."

L_.str.1:                               ## @.str.1
	.asciz	"There is no member named %s."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_value_struct_elt           ; -- Begin function ada_value_struct_elt
	.p2align	2
_ada_value_struct_elt:                  ; @ada_value_struct_elt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x19, x1
	bl	_ada_coerce_ref
	mov	x21, x0
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_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_ada_value_ind
	mov	x21, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_VALUE_TYPE
	bl	_check_typedef
	mov	x22, x0
	bl	_TYPE_CODE
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_TYPE_CODE
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_1
; %bb.4:
	mov	x0, x22
	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_7
; %bb.5:
	mov	x0, x22
	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_7
; %bb.6:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_error
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	mov	x3, x22
	bl	_ada_search_struct_field
	mov	x20, x0
	cbnz	x0, LBB0_9
; %bb.8:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_error
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attempt to extract a component of a value that is not a %s."

l_.str.1:                               ; @.str.1
	.asciz	"There is no member named %s."

.subsections_via_symbols
