	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cplus_type_of_child
_cplus_type_of_child:                   ## @cplus_type_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_CPLUS_FAKE_CHILD
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rdi
LBB0_2:
	callq	_get_type_deref
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TYPE_CODE
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.3:
	movq	%rbx, %rdi
	callq	_CPLUS_FAKE_CHILD
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_cplus_name_of_child
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_lookup_struct_elt_type
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_xfree
	testq	%r15, %r15
	jne	LBB0_9
	jmp	LBB0_10
LBB0_5:
	movq	%r15, %rdi
	callq	_TYPE_N_BASECLASSES
	cmpl	%r14d, %eax
	jle	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_TYPE_FIELD_TYPE
	movq	%rax, %r15
	testq	%r15, %r15
	jne	LBB0_9
LBB0_10:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_c_type_of_child                ## TAILCALL
LBB0_6:
	xorl	%r15d, %r15d
LBB0_9:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cplus_type_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_type_of_child
_cplus_type_of_child:                   ; @cplus_type_of_child
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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]
LBB0_2:
	bl	_get_type_deref
	mov	x21, x0
	bl	_TYPE_CODE
	and	w8, w0, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_CPLUS_FAKE_CHILD
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_cplus_name_of_child
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	mov	w2, #0
	bl	_lookup_struct_elt_type
	mov	x21, x0
	mov	x0, x22
	bl	_xfree
	cbnz	x21, LBB0_9
	b	LBB0_7
LBB0_5:
	mov	x0, x21
	bl	_TYPE_N_BASECLASSES
	cmp	w0, w19
	b.le	LBB0_8
; %bb.6:
	mov	x0, x21
	mov	x1, x19
	bl	_TYPE_FIELD_TYPE
	mov	x21, x0
	cbnz	x21, LBB0_9
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_c_type_of_child
LBB0_8:
	mov	x21, #0
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cplus_type_of_child
.subsections_via_symbols
