	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_type_size                  ## -- Begin function ctf_type_size
	.p2align	4, 0x90
_ctf_type_size:                         ## @ctf_type_size
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -32(%rbp)
	callq	_ctf_type_resolve
	movq	_CTF_ERR@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	leaq	-32(%rbp), %rdi
	movl	%eax, %esi
	callq	_ctf_lookup_by_id
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movq	-32(%rbp), %rdi
	movl	(%rax), %esi
	callq	_LCTF_INFO_KIND
	movl	%eax, %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_7
## %bb.4:
	xorl	%eax, %eax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_5:
	movq	-32(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	jmp	LBB0_14
LBB0_7:
	movq	-32(%rbp), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ctf_get_ctt_size
	jmp	LBB0_14
LBB0_8:
	movq	-32(%rbp), %rax
	movq	(%rax), %rax
	movl	4(%rax), %eax
	jmp	LBB0_14
LBB0_9:
	movq	-32(%rbp), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ctf_get_ctt_size
	testl	%eax, %eax
	jg	LBB0_14
## %bb.10:
	movq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rdx
	movl	%ebx, %esi
	callq	_ctf_array_info
	cmpl	(%r15), %eax
	jne	LBB0_12
LBB0_1:
	movl	$-1, %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	-32(%rbp), %rdi
	movl	-40(%rbp), %esi
	callq	_ctf_type_size
	movl	%eax, %ecx
	movl	$-1, %eax
	cmpl	(%r15), %ecx
	je	LBB0_14
## %bb.13:
	imull	-36(%rbp), %ecx
	movl	%ecx, %eax
	jmp	LBB0_14
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_14
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_CTF_ERR,4,2                    ## @CTF_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_type_size                  ; -- Begin function ctf_type_size
	.p2align	2
_ctf_type_size:                         ; @ctf_type_size
	.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
	str	x0, [sp, #8]
	bl	_ctf_type_resolve
Lloh0:
	adrp	x21, _CTF_ERR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CTF_ERR@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_10
; %bb.1:
	mov	x19, x0
	add	x0, sp, #8
	mov	x1, x19
	bl	_ctf_lookup_by_id
	cbz	x0, LBB0_10
; %bb.2:
	mov	x20, x0
	ldr	x0, [sp, #8]
	ldr	w1, [x20]
	bl	_LCTF_INFO_KIND
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.3:
	mov	w0, #0
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	b	LBB0_11
LBB0_5:
	ldr	x0, [sp, #8]
	mov	x1, x20
	mov	x2, #0
	mov	x3, #0
	bl	_ctf_get_ctt_size
	b	LBB0_11
LBB0_6:
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	ldr	w0, [x8, #4]
	b	LBB0_11
LBB0_7:
	ldr	x0, [sp, #8]
	mov	x1, x20
	mov	x2, #0
	mov	x3, #0
	bl	_ctf_get_ctt_size
	cmp	w0, #0
	b.gt	LBB0_11
; %bb.8:
	ldr	x0, [sp, #8]
	mov	x2, sp
	mov	x1, x19
	bl	_ctf_array_info
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_10
; %bb.9:
	ldr	x0, [sp, #8]
	ldr	w1, [sp]
	bl	_ctf_type_size
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_12
LBB0_10:
	mov	w0, #-1
LBB0_11:
	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
LBB0_12:
	ldr	w8, [sp, #4]
	mul	w0, w8, w0
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
                                        ; -- End function
	.comm	_CTF_ERR,4,2                    ; @CTF_ERR
.subsections_via_symbols
