	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function c_type_of_child
_c_type_of_child:                       ## @c_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_name_of_child
	movq	%rax, %r14
	movq	(%rbx), %rdi
	callq	_TYPE_CODE
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_5
## %bb.1:
	cmpl	$130, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$131, %eax
	jne	LBB0_8
## %bb.3:
	movq	(%rbx), %rdi
	jmp	LBB0_4
LBB0_5:
	movq	(%rbx), %rdi
	jmp	LBB0_7
LBB0_6:
	movq	(%rbx), %rdi
	callq	_get_target_type
	movq	%rax, %rdi
	callq	_TYPE_CODE
	andl	$-2, %eax
	movq	(%rbx), %rdi
	cmpl	$128, %eax
	jne	LBB0_4
LBB0_7:
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_lookup_struct_elt_type
	movq	%rax, %rbx
	jmp	LBB0_9
LBB0_4:
	callq	_get_target_type
	movq	%rax, %rbx
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	_warning
	xorl	%ebx, %ebx
LBB0_9:
	movq	%r14, %rdi
	callq	_xfree
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Child of parent whose type does not allow children"

	.no_dead_strip	_c_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 c_type_of_child
_c_type_of_child:                       ; @c_type_of_child
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_name_of_child
	mov	x19, x0
	ldr	x0, [x20]
	bl	_TYPE_CODE
	sub	w8, w0, #128
	cmp	w8, #2
	b.lo	LBB0_4
; %bb.1:
	cmp	w0, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #131
	b.ne	LBB0_8
; %bb.3:
	ldr	x0, [x20]
	b	LBB0_7
LBB0_4:
	ldr	x0, [x20]
	b	LBB0_6
LBB0_5:
	ldr	x0, [x20]
	bl	_get_target_type
	bl	_TYPE_CODE
	and	w8, w0, #0xfffffffe
	ldr	x0, [x20]
	cmp	w8, #128
	b.ne	LBB0_7
LBB0_6:
	mov	x1, x19
	mov	w2, #0
	bl	_lookup_struct_elt_type
	mov	x20, x0
	b	LBB0_9
LBB0_7:
	bl	_get_target_type
	mov	x20, x0
	b	LBB0_9
LBB0_8:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warning
	mov	x20, #0
LBB0_9:
	mov	x0, x19
	bl	_xfree
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Child of parent whose type does not allow children"

	.no_dead_strip	_c_type_of_child
.subsections_via_symbols
