	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_type_pointer               ## -- Begin function ctf_type_pointer
	.p2align	4, 0x90
_ctf_type_pointer:                      ## @ctf_type_pointer
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	%rdi, -32(%rbp)
	leaq	-32(%rbp), %rdi
	callq	_ctf_lookup_by_id
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	-32(%rbp), %rax
	movq	8(%rax), %r15
	movl	%ebx, %edi
	callq	_CTF_TYPE_TO_INDEX
	movl	(%r15,%rax,4), %edi
	movq	-32(%rbp), %rax
	testl	%edi, %edi
	je	LBB0_4
LBB0_3:
	movq	_LCTF_CHILD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	(%rax), %esi
	callq	_CTF_INDEX_TO_TYPE
	jmp	LBB0_9
LBB0_1:
	movq	_CTF_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_4:
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_ctf_type_resolve
	movl	%eax, %ebx
	movq	_CTF_ERR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_8
## %bb.5:
	leaq	-32(%rbp), %rdi
	movl	%ebx, %esi
	callq	_ctf_lookup_by_id
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	-32(%rbp), %rax
	movq	8(%rax), %r15
	movl	%ebx, %edi
	callq	_CTF_TYPE_TO_INDEX
	movl	(%r15,%rax,4), %edi
	testl	%edi, %edi
	je	LBB0_8
## %bb.7:
	movq	-32(%rbp), %rax
	jmp	LBB0_3
LBB0_8:
	movq	_ECTF_NOTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ctf_set_errno
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CTF_ERR,4,2                    ## @CTF_ERR
	.comm	_LCTF_CHILD,4,2                 ## @LCTF_CHILD
	.comm	_ECTF_NOTYPE,4,2                ## @ECTF_NOTYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_type_pointer               ; -- Begin function ctf_type_pointer
	.p2align	2
_ctf_type_pointer:                      ; @ctf_type_pointer
	.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	x20, x1
	mov	x19, x0
	str	x0, [sp, #8]
	add	x0, sp, #8
	bl	_ctf_lookup_by_id
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	x21, [x8, #8]
	mov	x0, x20
	bl	_CTF_TYPE_TO_INDEX
	ldr	w0, [x21, x0, lsl #2]
	ldr	x8, [sp, #8]
	cbz	w0, LBB0_4
LBB0_2:
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _LCTF_CHILD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LCTF_CHILD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w1, w9, w8
	bl	_CTF_INDEX_TO_TYPE
	b	LBB0_9
LBB0_3:
Lloh3:
	adrp	x8, _CTF_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CTF_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_4:
	mov	x0, x8
	mov	x1, x20
	bl	_ctf_type_resolve
Lloh6:
	adrp	x8, _CTF_ERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CTF_ERR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.5:
	mov	x20, x0
	add	x0, sp, #8
	mov	x1, x20
	bl	_ctf_lookup_by_id
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [sp, #8]
	ldr	x21, [x8, #8]
	mov	x0, x20
	bl	_CTF_TYPE_TO_INDEX
	ldr	w0, [x21, x0, lsl #2]
	cbz	w0, LBB0_8
; %bb.7:
	ldr	x8, [sp, #8]
	b	LBB0_2
LBB0_8:
Lloh9:
	adrp	x8, _ECTF_NOTYPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ECTF_NOTYPE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ctf_set_errno
LBB0_9:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CTF_ERR,4,2                    ; @CTF_ERR
	.comm	_LCTF_CHILD,4,2                 ; @LCTF_CHILD
	.comm	_ECTF_NOTYPE,4,2                ; @ECTF_NOTYPE
.subsections_via_symbols
