	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cplus_value_of_child
_cplus_value_of_child:                  ## @cplus_value_of_child
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	callq	_CPLUS_FAKE_CHILD
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%r12), %rdi
LBB0_2:
	callq	_get_type_deref
	movq	%rax, %r15
	movq	$0, -48(%rbp)
	movq	%rax, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_STRUCT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_UNION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
LBB0_4:
	movq	%r12, %rdi
	callq	_CPLUS_FAKE_CHILD
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	testq	%rax, %rax
	je	LBB0_15
## %bb.6:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_name_of_child
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rsp)
	leaq	-48(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	xorl	%r9d, %r9d
	callq	_gdb_value_struct_elt
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_release_value
LBB0_8:
	movq	%rbx, %rdi
	callq	_xfree
	movq	-48(%rbp), %rbx
	testq	%rbx, %rbx
	jne	LBB0_20
	jmp	LBB0_19
LBB0_9:
	movq	%r15, %rdi
	callq	_TYPE_N_BASECLASSES
	cmpl	%r14d, %eax
	jle	LBB0_15
## %bb.10:
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.11:
	movq	$0, -40(%rbp)
	callq	_VALUE_TYPE
	movq	%rax, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_PTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.12:
	movq	(%r12), %rdi
	callq	_VALUE_TYPE
	movq	%rax, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_REF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
LBB0_13:
	movq	(%r12), %rdi
	leaq	-40(%rbp), %rsi
	callq	_gdb_value_ind
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	cmpq	$0, -40(%rbp)
	je	LBB0_15
LBB0_17:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_TYPE_FIELD_TYPE
	movq	-40(%rbp), %rsi
	movl	%eax, %edi
	callq	_value_cast
	movq	%rax, %rbx
	movq	%rax, -48(%rbp)
	movq	%rax, %rdi
	callq	_release_value
	testq	%rbx, %rbx
	jne	LBB0_20
LBB0_19:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_c_value_of_child
	movq	%rax, %rbx
	jmp	LBB0_20
LBB0_16:
	movq	(%r12), %rax
	movq	%rax, -40(%rbp)
	testq	%rax, %rax
	jne	LBB0_17
LBB0_15:
	xorl	%ebx, %ebx
LBB0_20:
	movq	%rbx, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	"cplus_structure"

	.comm	_TYPE_CODE_PTR,8,3              ## @TYPE_CODE_PTR
	.comm	_TYPE_CODE_REF,8,3              ## @TYPE_CODE_REF
	.no_dead_strip	_cplus_value_of_child
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cplus_value_of_child
_cplus_value_of_child:                  ; @cplus_value_of_child
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_CPLUS_FAKE_CHILD
	mov	x8, x0
	mov	x0, x20
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x0, [x20, #8]
LBB0_2:
	bl	_get_type_deref
	mov	x21, x0
	str	xzr, [sp, #8]
	bl	_TYPE_CODE
Lloh0:
	adrp	x8, _TYPE_CODE_STRUCT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_CODE_STRUCT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_TYPE_CODE
Lloh3:
	adrp	x8, _TYPE_CODE_UNION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TYPE_CODE_UNION@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_16
LBB0_4:
	mov	x0, x20
	bl	_CPLUS_FAKE_CHILD
	cbz	x0, LBB0_9
; %bb.5:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	str	x8, [sp]
	cbz	x8, LBB0_18
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_name_of_child
	mov	x21, x0
Lloh6:
	adrp	x6, l_.str@PAGE
Lloh7:
	add	x6, x6, l_.str@PAGEOFF
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, #0
	mov	x3, #0
	mov	x4, x21
	mov	x5, #0
	bl	_gdb_value_struct_elt
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_release_value
LBB0_8:
	mov	x0, x21
	bl	_xfree
	ldr	x21, [sp, #8]
	cbnz	x21, LBB0_19
	b	LBB0_16
LBB0_9:
	mov	x0, x21
	bl	_TYPE_N_BASECLASSES
	cmp	w0, w19
	b.le	LBB0_18
; %bb.10:
	ldr	x0, [x20]
	cbz	x0, LBB0_16
; %bb.11:
	str	xzr, [sp]
	bl	_VALUE_TYPE
	bl	_TYPE_CODE
Lloh8:
	adrp	x8, _TYPE_CODE_PTR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TYPE_CODE_PTR@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_13
; %bb.12:
	ldr	x0, [x20]
	bl	_VALUE_TYPE
	bl	_TYPE_CODE
Lloh11:
	adrp	x8, _TYPE_CODE_REF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TYPE_CODE_REF@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_17
LBB0_13:
	ldr	x0, [x20]
	mov	x1, sp
	bl	_gdb_value_ind
	cbz	w0, LBB0_18
; %bb.14:
	ldr	x8, [sp]
	cbz	x8, LBB0_18
LBB0_15:
	mov	x0, x21
	mov	x1, x19
	bl	_TYPE_FIELD_TYPE
	ldr	x1, [sp]
	bl	_value_cast
	mov	x21, x0
	str	x0, [sp, #8]
	bl	_release_value
	cbnz	x21, LBB0_19
LBB0_16:
	mov	x0, x20
	mov	x1, x19
	bl	_c_value_of_child
	mov	x21, x0
	b	LBB0_19
LBB0_17:
	ldr	x8, [x20]
	str	x8, [sp]
	cbnz	x8, LBB0_15
LBB0_18:
	mov	x21, #0
LBB0_19:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.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	"cplus_structure"

	.comm	_TYPE_CODE_PTR,8,3              ; @TYPE_CODE_PTR
	.comm	_TYPE_CODE_REF,8,3              ; @TYPE_CODE_REF
	.no_dead_strip	_cplus_value_of_child
.subsections_via_symbols
