	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_type_reference             ## -- Begin function ctf_type_reference
	.p2align	4, 0x90
_ctf_type_reference:                    ## @ctf_type_reference
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	%rdi, -24(%rbp)
	leaq	-24(%rbp), %rdi
	callq	_ctf_lookup_by_id
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	-24(%rbp), %rdi
	movl	4(%rax), %esi
	callq	_LCTF_INFO_KIND
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_4
## %bb.3:
	movl	(%rbx), %eax
	jmp	LBB0_5
LBB0_1:
	movq	_CTF_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_4:
	movq	_ECTF_NOTREF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ctf_set_errno
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CTF_ERR,4,2                    ## @CTF_ERR
	.comm	_ECTF_NOTREF,4,2                ## @ECTF_NOTREF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_type_reference             ; -- Begin function ctf_type_reference
	.p2align	2
_ctf_type_reference:                    ; @ctf_type_reference
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	str	x0, [sp, #8]
	add	x0, sp, #8
	bl	_ctf_lookup_by_id
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x0, [sp, #8]
	ldr	w1, [x20, #4]
	bl	_LCTF_INFO_KIND
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_4
; %bb.2:
	ldr	w0, [x20]
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _CTF_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CTF_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _ECTF_NOTREF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ECTF_NOTREF@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ctf_set_errno
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CTF_ERR,4,2                    ; @CTF_ERR
	.comm	_ECTF_NOTREF,4,2                ; @ECTF_NOTREF
.subsections_via_symbols
