	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_value_struct_elt               ## -- Begin function value_struct_elt
	.p2align	4, 0x90
_value_struct_elt:                      ## @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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	_TYPE_CODE_PTR@GOTPCREL(%rip), %r14
	movq	_TYPE_CODE_FUNC@GOTPCREL(%rip), %r12
	movq	_TYPE_CODE_REF@GOTPCREL(%rip), %r13
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movq	(%rbx), %rdi
	callq	_COERCE_ARRAY
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	(%rbx), %rdi
	callq	_value_ind
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_VALUE_TYPE
	movq	%rax, %rdi
	callq	_TYPE_CODE
	cmpq	(%r12), %rax
	jne	LBB0_1
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rdi
	callq	_VALUE_TYPE
	movq	%rax, %rdi
	callq	_check_typedef
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TYPE_CODE
	cmpq	(%r14), %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%r15, %rdi
	callq	_TYPE_CODE
	cmpq	(%r13), %rax
	je	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_MEMBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_7:
	movq	%r15, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_STRUCT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_UNION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_error
LBB0_10:
	testq	%r12, %r12
	je	LBB0_12
## %bb.11:
	movl	$0, (%r12)
LBB0_12:
	testq	%r13, %r13
	je	LBB0_13
## %bb.23:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_destructor_name_p
	testq	%rax, %rax
	je	LBB0_29
## %bb.24:
	cmpq	$0, 8(%r13)
	je	LBB0_25
## %bb.28:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_32
LBB0_13:
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_search_struct_field
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_37
## %bb.14:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_destructor_name_p
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_16:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_search_struct_method
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	cmpq	$-1, %r13
	jne	LBB0_37
## %bb.18:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_37
LBB0_29:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_search_struct_method
	movq	%rax, %r13
	testq	%r13, %r13
	je	LBB0_33
LBB0_31:
	cmpq	$-1, %r13
	jne	LBB0_34
LBB0_32:
	leaq	L_.str.8(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_error
	movq	$-1, %r13
	jmp	LBB0_37
LBB0_25:
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	_get_destructor_fn_field
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movl	-48(%rbp), %esi
	movq	%r15, %rdi
	callq	_TYPE_FN_FIELDLIST1
	movl	-44(%rbp), %edx
	xorl	%edi, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_value_fn_field
	testq	%rax, %rax
	je	LBB0_27
## %bb.36:
	movq	%rax, %r13
	jmp	LBB0_37
LBB0_27:
	leaq	L_.str.6(%rip), %rdi
	xorl	%r13d, %r13d
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_error
	testq	%r13, %r13
	jne	LBB0_31
LBB0_33:
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_search_struct_field
	movq	%rax, %r13
LBB0_34:
	testq	%r13, %r13
	jne	LBB0_37
## %bb.35:
	leaq	L_.str.9(%rip), %rdi
	xorl	%r13d, %r13d
	jmp	LBB0_21
LBB0_19:
	movq	%r15, %rdi
	callq	_TYPE_NFN_FIELDS
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_21
LBB0_22:
	leaq	L_.str.5(%rip), %rdi
LBB0_21:
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_error
LBB0_37:
	movq	%r13, %rax
	addq	$40, %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_FUNC,8,3             ## @TYPE_CODE_FUNC
	.comm	_TYPE_CODE_MEMBER,8,3           ## @TYPE_CODE_MEMBER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not implemented: member type in value_struct_elt"

	.comm	_TYPE_CODE_STRUCT,8,3           ## @TYPE_CODE_STRUCT
	.comm	_TYPE_CODE_UNION,8,3            ## @TYPE_CODE_UNION
L_.str.1:                               ## @.str.1
	.asciz	"Attempt to extract a component of a value that is not a %s."

L_.str.2:                               ## @.str.2
	.asciz	"Cannot get value of destructor"

L_.str.3:                               ## @.str.3
	.asciz	"Cannot take address of a method"

L_.str.4:                               ## @.str.4
	.asciz	"There is no member or method named %s."

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

L_.str.6:                               ## @.str.6
	.asciz	"could not find destructor function named %s."

L_.str.7:                               ## @.str.7
	.asciz	"destructor should not have any argument"

L_.str.8:                               ## @.str.8
	.asciz	"One of the arguments you tried to pass to %s could not be converted to what the function wants."

L_.str.9:                               ## @.str.9
	.asciz	"Structure has no component named %s."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_value_struct_elt               ; -- Begin function value_struct_elt
	.p2align	2
_value_struct_elt:                      ; @value_struct_elt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x4
	mov	x22, x3
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x25, _TYPE_CODE_PTR@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TYPE_CODE_PTR@GOTPAGEOFF]
Lloh2:
	adrp	x26, _TYPE_CODE_FUNC@GOTPAGE
Lloh3:
	ldr	x26, [x26, _TYPE_CODE_FUNC@GOTPAGEOFF]
Lloh4:
	adrp	x27, _TYPE_CODE_REF@GOTPAGE
Lloh5:
	ldr	x27, [x27, _TYPE_CODE_REF@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	ldr	x0, [x20]
	bl	_COERCE_ARRAY
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=2
	ldr	x0, [x20]
	bl	_value_ind
	str	x0, [x20]
	bl	_VALUE_TYPE
	bl	_TYPE_CODE
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_1
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x20]
	bl	_VALUE_TYPE
	bl	_check_typedef
	mov	x21, x0
	bl	_TYPE_CODE
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	mov	x0, x21
	bl	_TYPE_CODE
	ldr	x8, [x27]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.5:
	mov	x0, x21
	bl	_TYPE_CODE
Lloh6:
	adrp	x8, _TYPE_CODE_MEMBER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TYPE_CODE_MEMBER@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_7:
	mov	x0, x21
	bl	_TYPE_CODE
Lloh11:
	adrp	x8, _TYPE_CODE_STRUCT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TYPE_CODE_STRUCT@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.8:
	mov	x0, x21
	bl	_TYPE_CODE
Lloh14:
	adrp	x8, _TYPE_CODE_UNION@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TYPE_CODE_UNION@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.9:
	str	x24, [sp]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
LBB0_10:
	cbz	x22, LBB0_12
; %bb.11:
	str	wzr, [x22]
LBB0_12:
	cbz	x23, LBB0_16
; %bb.13:
	mov	x0, x19
	mov	x1, x21
	bl	_destructor_name_p
	cbz	x0, LBB0_22
; %bb.14:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_25
; %bb.15:
Lloh19:
	adrp	x0, l_.str.7@PAGE
Lloh20:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_error
	b	LBB0_24
LBB0_16:
	ldr	x1, [x20]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x21
	mov	w4, #0
	bl	_search_struct_field
	mov	x23, x0
	cbnz	x0, LBB0_36
; %bb.17:
	mov	x0, x19
	mov	x1, x21
	bl	_destructor_name_p
	cbz	x0, LBB0_19
; %bb.18:
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
LBB0_19:
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	w3, #0
	mov	x4, x22
	mov	x5, x21
	bl	_search_struct_method
	mov	x23, x0
	cbz	x0, LBB0_32
; %bb.20:
	cmn	x23, #1
	b.ne	LBB0_36
; %bb.21:
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_35
LBB0_22:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	w3, #0
	mov	x4, x22
	mov	x5, x21
	bl	_search_struct_method
	mov	x23, x0
	cbz	x23, LBB0_29
LBB0_23:
	cmn	x23, #1
	b.ne	LBB0_30
LBB0_24:
	str	x19, [sp]
Lloh25:
	adrp	x0, l_.str.8@PAGE
Lloh26:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_error
	mov	x23, #-1
	b	LBB0_36
LBB0_25:
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x21
	bl	_get_destructor_fn_field
	cbz	x0, LBB0_28
; %bb.26:
	ldr	w1, [sp, #12]
	mov	x0, x21
	bl	_TYPE_FN_FIELDLIST1
	mov	x1, x0
	ldr	w2, [sp, #8]
	mov	x0, #0
	mov	x3, #0
	mov	w4, #0
	bl	_value_fn_field
	cbz	x0, LBB0_28
; %bb.27:
	mov	x23, x0
	b	LBB0_36
LBB0_28:
	str	x19, [sp]
Lloh27:
	adrp	x0, l_.str.6@PAGE
Lloh28:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_error
	mov	x23, #0
	cbnz	x23, LBB0_23
LBB0_29:
	ldr	x1, [x20]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x21
	mov	w4, #0
	bl	_search_struct_field
	mov	x23, x0
LBB0_30:
	cbnz	x23, LBB0_36
; %bb.31:
	str	x19, [sp]
Lloh29:
	adrp	x0, l_.str.9@PAGE
Lloh30:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_35
LBB0_32:
	mov	x0, x21
	bl	_TYPE_NFN_FIELDS
	cbz	x0, LBB0_34
; %bb.33:
	str	x19, [sp]
Lloh31:
	adrp	x0, l_.str.4@PAGE
Lloh32:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_35
LBB0_34:
	str	x19, [sp]
Lloh33:
	adrp	x0, l_.str.5@PAGE
Lloh34:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_35:
	bl	_error
LBB0_36:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.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_FUNC,8,3             ; @TYPE_CODE_FUNC
	.comm	_TYPE_CODE_MEMBER,8,3           ; @TYPE_CODE_MEMBER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not implemented: member type in value_struct_elt"

	.comm	_TYPE_CODE_STRUCT,8,3           ; @TYPE_CODE_STRUCT
	.comm	_TYPE_CODE_UNION,8,3            ; @TYPE_CODE_UNION
l_.str.1:                               ; @.str.1
	.asciz	"Attempt to extract a component of a value that is not a %s."

l_.str.2:                               ; @.str.2
	.asciz	"Cannot get value of destructor"

l_.str.3:                               ; @.str.3
	.asciz	"Cannot take address of a method"

l_.str.4:                               ; @.str.4
	.asciz	"There is no member or method named %s."

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

l_.str.6:                               ; @.str.6
	.asciz	"could not find destructor function named %s."

l_.str.7:                               ; @.str.7
	.asciz	"destructor should not have any argument"

l_.str.8:                               ; @.str.8
	.asciz	"One of the arguments you tried to pass to %s could not be converted to what the function wants."

l_.str.9:                               ; @.str.9
	.asciz	"Structure has no component named %s."

.subsections_via_symbols
