	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function value_struct_elt_for_reference
_value_struct_elt_for_reference:        ## @value_struct_elt_for_reference
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -136(%rbp)                ## 4-byte Spill
	movq	%r8, %r14
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	%rdx, %r13
	movl	%esi, -132(%rbp)                ## 4-byte Spill
	movq	%rdi, -144(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdx, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_STRUCT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	%r13, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_UNION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_3:
	movq	%r13, %rdi
	callq	_TYPE_NFIELDS
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_TYPE_N_BASECLASSES
	cmpl	%eax, %r15d
	jg	LBB0_4
LBB0_14:
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rsi
	callq	_destructor_name_p
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_16:
	testq	%r14, %r14
	je	LBB0_17
## %bb.18:
	movq	_TYPE_CODE_PTR@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_TYPE_CODE
	cmpq	(%r15), %rax
	sete	%bl
	jne	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r14, %rdi
	callq	_TYPE_TARGET_TYPE
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_19
## %bb.22:
	movb	%bl, -113(%rbp)                 ## 1-byte Spill
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_TYPE_N_BASECLASSES
	movl	%ebx, %r15d
	cmpl	%eax, %ebx
	jle	LBB0_14
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%r15), %ebx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_TYPE_FIELD_NAME
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.6:
	decl	%r15d
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_TYPE_FIELD_STATIC
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_value_static_field
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_54
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r15d, %r15d
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_54
LBB0_17:
	movb	$1, -113(%rbp)                  ## 1-byte Folded Spill
LBB0_23:
	xorl	%r14d, %r14d
	jmp	LBB0_24
LBB0_20:
	movb	%bl, -113(%rbp)                 ## 1-byte Spill
LBB0_24:
	movq	%r13, %rdi
	callq	_TYPE_NFN_FIELDS
	testl	%eax, %eax
	jle	LBB0_47
## %bb.25:
	movl	%eax, %r12d
	incl	%r12d
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	_DMGL_ANSI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	leaq	-112(%rbp), %r13
	movq	%r13, %rsi
	callq	_cplus_demangle_opname
	testq	%rax, %rax
	je	LBB0_30
LBB0_32:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	%r13, %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_33
LBB0_46:                                ##   in Loop: Header=BB0_26 Depth=1
	decl	%r12d
	cmpl	$1, %r12d
	movq	%r15, %r13
	jbe	LBB0_47
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	leal	-2(%r12), %esi
	movq	%r13, %r15
	movq	%r13, %rdi
	movl	%esi, -148(%rbp)                ## 4-byte Spill
	callq	_TYPE_FN_FIELDLIST_NAME
	movq	%rax, %rbx
	movq	%rax, %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_31
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	%rbx, %rdi
	leaq	-112(%rbp), %r13
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_cplus_demangle_opname
	testq	%rax, %rax
	jne	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	%rbx, %r13
	testq	%rbx, %rbx
	jne	LBB0_32
	jmp	LBB0_46
LBB0_47:
	movq	%r13, %rdi
	callq	_TYPE_N_BASECLASSES
	movl	%eax, %r12d
	jmp	LBB0_48
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_48 Depth=1
	addl	-132(%rbp), %ebx                ## 4-byte Folded Reload
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_TYPE_BASECLASS
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %esi
	movq	%rax, %rdx
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	%r14, %r8
	movl	-136(%rbp), %r9d                ## 4-byte Reload
	callq	_value_struct_elt_for_reference
	testq	%rax, %rax
	jne	LBB0_53
LBB0_48:                                ## =>This Inner Loop Header: Depth=1
	testl	%r12d, %r12d
	jle	LBB0_52
## %bb.49:                              ##   in Loop: Header=BB0_48 Depth=1
	decl	%r12d
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_BASETYPE_VIA_VIRTUAL
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_48 Depth=1
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_TYPE_BASECLASS_BITPOS
                                        ## kill: def $eax killed $eax def $rax
	leal	7(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$3, %ebx
	jmp	LBB0_51
LBB0_52:
	movq	%r13, %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movl	-136(%rbp), %edx                ## 4-byte Reload
	callq	_value_maybe_namespace_elt
	jmp	LBB0_53
LBB0_33:
	movq	%r15, %rbx
	movq	%r15, %rdi
	movl	-148(%rbp), %r15d               ## 4-byte Reload
	movl	%r15d, %esi
	callq	_TYPE_FN_FIELDLIST_LENGTH
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_TYPE_FN_FIELDLIST1
	movq	%rax, %r12
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_check_stub_method_group
	cmpl	$2, %r13d
	setge	%al
	movb	-113(%rbp), %r15b               ## 1-byte Reload
	andb	%r15b, %al
	cmpb	$1, %al
	jne	LBB0_35
## %bb.34:
	leaq	L_.str.7(%rip), %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_error
LBB0_35:
	xorl	%ebx, %ebx
	testb	%r15b, %r15b
	jne	LBB0_42
## %bb.36:
	movl	%r13d, %ebx
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	subl	$1, %ebx
	jb	LBB0_38
## %bb.39:                              ##   in Loop: Header=BB0_37 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_TYPE_FN_FIELD_TYPE
	cmpq	%r14, %rax
	jne	LBB0_37
## %bb.40:
	leal	1(%rbx), %eax
	testl	%eax, %eax
	jg	LBB0_42
	jmp	LBB0_41
LBB0_9:
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_TYPE_FIELD_PACKED
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_11:
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_TYPE_FIELD_TYPE
	movq	%rax, %rdi
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	callq	_lookup_member_type
	movl	%eax, %edi
	callq	_lookup_reference_type
	movl	%eax, %ebx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_TYPE_FIELD_BITPOS
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_56
## %bb.12:
	movslq	-132(%rbp), %rcx                ## 4-byte Folded Reload
	sarl	$3, %eax
	movslq	%eax, %rsi
	addq	%rcx, %rsi
	movl	%ebx, %edi
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_value_from_longest             ## TAILCALL
LBB0_38:
	movl	$-1, %ebx
LBB0_41:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_42:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_TYPE_FN_FIELD_VIRTUAL_P
	testq	%rax, %rax
	je	LBB0_44
## %bb.43:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_TYPE_FN_FIELD_TYPE
	movq	%rax, %rdi
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	callq	_lookup_member_type
	movl	%eax, %edi
	callq	_lookup_reference_type
	movl	%eax, %r14d
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_TYPE_FN_FIELD_VOFFSET
	movl	%eax, %edi
	callq	_METHOD_PTR_FROM_VOFFSET
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_value_from_longest
	jmp	LBB0_53
LBB0_44:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_TYPE_FN_FIELD_PHYSNAME
	movq	_VAR_DOMAIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%r15d, %r15d
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_lookup_symbol
	testq	%rax, %rax
	je	LBB0_54
## %bb.45:
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_read_var_value
LBB0_53:
	movq	%rax, %r15
LBB0_54:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_56
## %bb.55:
	movq	%r15, %rax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_56:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.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	"Internal error: non-aggregate type to value_struct_elt_for_reference"

L_.str.1:                               ## @.str.1
	.asciz	"static field %s has been optimized out"

L_.str.2:                               ## @.str.2
	.asciz	"pointers to bitfield members not allowed"

L_.str.3:                               ## @.str.3
	.asciz	"member pointers to destructors not implemented yet"

	.comm	_TYPE_CODE_PTR,8,3              ## @TYPE_CODE_PTR
L_.str.4:                               ## @.str.4
	.asciz	"__"

L_.str.5:                               ## @.str.5
	.asciz	"op"

L_.str.6:                               ## @.str.6
	.asciz	"type"

	.comm	_DMGL_ANSI,4,2                  ## @DMGL_ANSI
L_.str.7:                               ## @.str.7
	.asciz	"non-unique member `%s' requires type instantiation"

L_.str.8:                               ## @.str.8
	.asciz	"no member function matches that type instantiation"

	.comm	_VAR_DOMAIN,4,2                 ## @VAR_DOMAIN
	.no_dead_strip	_value_struct_elt_for_reference
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function value_struct_elt_for_reference
_value_struct_elt_for_reference:        ; @value_struct_elt_for_reference
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	mov	x24, x5
	mov	x23, x4
	mov	x22, x3
	mov	x20, x2
	mov	x26, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
	mov	x0, x2
	bl	_TYPE_CODE
Lloh3:
	adrp	x8, _TYPE_CODE_STRUCT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TYPE_CODE_STRUCT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_TYPE_CODE
Lloh6:
	adrp	x8, _TYPE_CODE_UNION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TYPE_CODE_UNION@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_3:
	mov	x0, x20
	bl	_TYPE_NFIELDS
	mov	x25, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_TYPE_N_BASECLASSES
	cmp	w25, w0
	b.le	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w25, w25, #1
	mov	x0, x20
	mov	x1, x25
	bl	_TYPE_FIELD_NAME
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x22
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.7:
	mov	x0, x20
	mov	x1, x25
	bl	_TYPE_FIELD_STATIC
	cbz	x0, LBB0_41
; %bb.8:
	mov	x0, x20
	mov	x1, x25
	bl	_value_static_field
	cbnz	x0, LBB0_51
; %bb.9:
	str	x22, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
	mov	x0, #0
	b	LBB0_51
LBB0_10:
	mov	x0, x22
	mov	x1, x20
	bl	_destructor_name_p
	cbz	x0, LBB0_12
; %bb.11:
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_error
LBB0_12:
	str	x21, [sp, #16]                  ; 8-byte Folded Spill
	str	w26, [sp, #12]                  ; 4-byte Folded Spill
	cbz	x23, LBB0_16
; %bb.13:
Lloh15:
	adrp	x19, _TYPE_CODE_PTR@GOTPAGE
Lloh16:
	ldr	x19, [x19, _TYPE_CODE_PTR@GOTPAGEOFF]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_TYPE_CODE
	ldr	x8, [x19]
	cmp	x0, x8
	cset	w27, eq
	b.ne	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x23
	bl	_TYPE_TARGET_TYPE
	mov	x23, x0
	cbnz	x0, LBB0_14
	b	LBB0_17
LBB0_16:
	mov	w27, #1
LBB0_17:
	mov	x0, x20
	bl	_TYPE_NFN_FIELDS
	cmp	w0, #1
	b.lt	LBB0_27
; %bb.18:
	add	w21, w0, #1
Lloh17:
	adrp	x25, l_.str.4@PAGE
Lloh18:
	add	x25, x25, l_.str.4@PAGEOFF
	b	LBB0_22
LBB0_19:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x19, sp, #24
Lloh19:
	adrp	x8, _DMGL_ANSI@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DMGL_ANSI@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	add	x1, sp, #24
	mov	x0, x28
	bl	_cplus_demangle_opname
	cbz	x0, LBB0_25
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_34
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	sub	w21, w21, #1
	cmp	w21, #1
	b.ls	LBB0_27
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	sub	w26, w21, #2
	mov	x0, x20
	mov	x1, x26
	bl	_TYPE_FN_FIELDLIST_NAME
	mov	x28, x0
	mov	x1, x25
	mov	w2, #2
	bl	_strncmp
	cbz	x0, LBB0_19
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x28
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #2
	bl	_strncmp
	cbz	x0, LBB0_19
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x28
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w2, #4
	bl	_strncmp
	cbnz	x0, LBB0_26
	b	LBB0_19
LBB0_25:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x19, sp, #24
	add	x1, sp, #24
	mov	x0, x28
	mov	w2, #0
	bl	_cplus_demangle_opname
	cbnz	x0, LBB0_20
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	x19, x28
	cbnz	x28, LBB0_20
	b	LBB0_21
LBB0_27:
	mov	x0, x20
	bl	_TYPE_N_BASECLASSES
	mov	x25, x0
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w26, [sp, #12]                  ; 4-byte Folded Reload
	b	LBB0_30
LBB0_28:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_TYPE_BASECLASS_BITPOS
	add	w8, w0, #7
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w8, w8, #3
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	add	w19, w8, w26
	mov	x0, x20
	mov	x1, x25
	bl	_TYPE_BASECLASS
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_value_struct_elt_for_reference
	cbnz	x0, LBB0_51
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	subs	w25, w25, #1
	b.lt	LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_BASETYPE_VIA_VIRTUAL
	cbz	x0, LBB0_28
; %bb.32:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	w8, #0
	b	LBB0_29
LBB0_33:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	bl	_value_maybe_namespace_elt
	b	LBB0_51
LBB0_34:
	mov	x0, x20
	mov	x1, x26
	bl	_TYPE_FN_FIELDLIST_LENGTH
	mov	x21, x0
	mov	x0, x20
	mov	x1, x26
	bl	_TYPE_FN_FIELDLIST1
	mov	x24, x0
	mov	x0, x20
	mov	x1, x26
	bl	_check_stub_method_group
	cmp	w21, #1
	cset	w8, gt
	and	w8, w27, w8
	cmp	w8, #1
	b.ne	LBB0_36
; %bb.35:
	str	x22, [sp]
Lloh26:
	adrp	x0, l_.str.7@PAGE
Lloh27:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_error
LBB0_36:
	tbz	w27, #0, LBB0_38
; %bb.37:
	mov	w21, #0
	b	LBB0_47
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	cbz	w21, LBB0_45
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=1
	sub	w21, w21, #1
	mov	x0, x24
	mov	x1, x21
	bl	_TYPE_FN_FIELD_TYPE
	cmp	x0, x23
	b.ne	LBB0_38
; %bb.40:
	add	w8, w21, #1
	cmp	w8, #0
	b.gt	LBB0_47
	b	LBB0_46
LBB0_41:
	mov	x0, x20
	mov	x1, x25
	bl	_TYPE_FIELD_PACKED
	cbz	x0, LBB0_43
; %bb.42:
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
LBB0_43:
	mov	x0, x20
	mov	x1, x25
	bl	_TYPE_FIELD_TYPE
	mov	x1, x21
	bl	_lookup_member_type
	bl	_lookup_reference_type
	mov	x19, x0
	mov	x0, x20
	mov	x1, x25
	bl	_TYPE_FIELD_BITPOS
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [sp, #88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_53
; %bb.44:
	sbfx	x8, x0, #3, #29
	add	x1, x8, w26, sxtw
	mov	x0, x19
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	b	_value_from_longest
LBB0_45:
	mov	w21, #-1
LBB0_46:
Lloh33:
	adrp	x0, l_.str.8@PAGE
Lloh34:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_error
LBB0_47:
	mov	x0, x24
	mov	x1, x21
	bl	_TYPE_FN_FIELD_VIRTUAL_P
	cbz	x0, LBB0_49
; %bb.48:
	mov	x0, x24
	mov	x1, x21
	bl	_TYPE_FN_FIELD_TYPE
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_lookup_member_type
	bl	_lookup_reference_type
	mov	x19, x0
	mov	x0, x24
	mov	x1, x21
	bl	_TYPE_FN_FIELD_VOFFSET
	bl	_METHOD_PTR_FROM_VOFFSET
	mov	x1, x0
	mov	x0, x19
	bl	_value_from_longest
	b	LBB0_51
LBB0_49:
	mov	x0, x24
	mov	x1, x21
	bl	_TYPE_FN_FIELD_PHYSNAME
Lloh35:
	adrp	x8, _VAR_DOMAIN@GOTPAGE
Lloh36:
	ldr	x8, [x8, _VAR_DOMAIN@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	w1, #0
	mov	w3, #0
	mov	x4, #0
	bl	_lookup_symbol
	cbz	x0, LBB0_51
; %bb.50:
	mov	w1, #0
	bl	_read_var_value
LBB0_51:
	ldr	x8, [sp, #88]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_53
; %bb.52:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_53:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.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	"Internal error: non-aggregate type to value_struct_elt_for_reference"

l_.str.1:                               ; @.str.1
	.asciz	"static field %s has been optimized out"

l_.str.2:                               ; @.str.2
	.asciz	"pointers to bitfield members not allowed"

l_.str.3:                               ; @.str.3
	.asciz	"member pointers to destructors not implemented yet"

	.comm	_TYPE_CODE_PTR,8,3              ; @TYPE_CODE_PTR
l_.str.4:                               ; @.str.4
	.asciz	"__"

l_.str.5:                               ; @.str.5
	.asciz	"op"

l_.str.6:                               ; @.str.6
	.asciz	"type"

	.comm	_DMGL_ANSI,4,2                  ; @DMGL_ANSI
l_.str.7:                               ; @.str.7
	.asciz	"non-unique member `%s' requires type instantiation"

l_.str.8:                               ; @.str.8
	.asciz	"no member function matches that type instantiation"

	.comm	_VAR_DOMAIN,4,2                 ; @VAR_DOMAIN
	.no_dead_strip	_value_struct_elt_for_reference
.subsections_via_symbols
