	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_hostfs_read                 ## -- Begin function vc_hostfs_read
	.p2align	4, 0x90
_vc_hostfs_read:                        ## @vc_hostfs_read
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	_file_info_table_len@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jle	LBB0_1
## %bb.2:
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_read
	movq	%rax, %r14
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	callq	_DEBUG_MINOR
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.3:
	movslq	%r14d, %rax
	movq	_p_file_info_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%ebx, %rdx
	addq	%rax, (%rcx,%rdx,8)
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_DEBUG_MAJOR
	movl	$-1, %r14d
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_file_info_table_len,4,2        ## @file_info_table_len
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vc_hostfs_read(%d,%p,%u): invalid fildes"

L_.str.1:                               ## @.str.1
	.asciz	"vc_hostfs_read(%d,%p,%u) = %d"

	.comm	_p_file_info_table,8,3          ## @p_file_info_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_hostfs_read                 ; -- Begin function vc_hostfs_read
	.p2align	2
_vc_hostfs_read:                        ; @vc_hostfs_read
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _file_info_table_len@GOTPAGE
Lloh1:
	ldr	x8, [x8, _file_info_table_len@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.le	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_read
	mov	x20, x0
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_DEBUG_MINOR
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.2:
Lloh5:
	adrp	x8, _p_file_info_table@GOTPAGE
Lloh6:
	ldr	x8, [x8, _p_file_info_table@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	sbfiz	x9, x19, #3, #32
	ldr	x10, [x8, x9]
	add	x10, x10, w20, sxtw
	str	x10, [x8, x9]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	_DEBUG_MAJOR
	mov	w20, #-1
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_file_info_table_len,4,2        ; @file_info_table_len
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vc_hostfs_read(%d,%p,%u): invalid fildes"

l_.str.1:                               ; @.str.1
	.asciz	"vc_hostfs_read(%d,%p,%u) = %d"

	.comm	_p_file_info_table,8,3          ; @p_file_info_table
.subsections_via_symbols
