	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfi_read                       ## -- Begin function cfi_read
	.p2align	4, 0x90
_cfi_read:                              ## @cfi_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	shll	$9, %esi
	shll	$9, %edx
	leal	(%rdx,%rsi), %ecx
	movq	_CHERI_BOOTFS_LENGTH@GOTPCREL(%rip), %r8
	movl	$-1, %eax
	cmpl	(%r8), %ecx
	ja	LBB0_2
## %bb.1:
	movq	_CHERI_BOOTFS_BASE@GOTPCREL(%rip), %rax
	movl	%esi, %esi
	addq	(%rax), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	xorl	%eax, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHERI_BOOTFS_LENGTH,4,2        ## @CHERI_BOOTFS_LENGTH
	.comm	_CHERI_BOOTFS_BASE,8,3          ## @CHERI_BOOTFS_BASE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfi_read                       ; -- Begin function cfi_read
	.p2align	2
_cfi_read:                              ; @cfi_read
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	lsl	w8, w1, #9
	lsl	w2, w2, #9
Lloh0:
	adrp	x9, _CHERI_BOOTFS_LENGTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHERI_BOOTFS_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w10, w2, w8
	cmp	w10, w9
	b.ls	LBB0_2
; %bb.1:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh3:
	adrp	x9, _CHERI_BOOTFS_BASE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CHERI_BOOTFS_BASE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, w8, uxtw
	bl	_memcpy
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CHERI_BOOTFS_LENGTH,4,2        ; @CHERI_BOOTFS_LENGTH
	.comm	_CHERI_BOOTFS_BASE,8,3          ; @CHERI_BOOTFS_BASE
.subsections_via_symbols
