	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_retro_vfs_file_read_impl       ## -- Begin function retro_vfs_file_read_impl
	.p2align	4, 0x90
_retro_vfs_file_read_impl:              ## @retro_vfs_file_read_impl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	_RFILE_HINT_UNBUFFERED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_5
## %bb.3:
	movl	32(%rdi), %edi
	popq	%rbp
	jmp	_read                           ## TAILCALL
LBB0_4:
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_5:
	movl	48(%rdi), %ecx
	movq	%rsi, %rdi
	movl	$1, %esi
	popq	%rbp
	jmp	_fread                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RFILE_HINT_UNBUFFERED,4,2      ## @RFILE_HINT_UNBUFFERED
	.comm	_RETRO_VFS_FILE_ACCESS_HINT_FREQUENT_ACCESS,4,2 ## @RETRO_VFS_FILE_ACCESS_HINT_FREQUENT_ACCESS
	.comm	_VFS_SCHEME_CDROM,8,3           ## @VFS_SCHEME_CDROM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_retro_vfs_file_read_impl       ; -- Begin function retro_vfs_file_read_impl
	.p2align	2
_retro_vfs_file_read_impl:              ; @retro_vfs_file_read_impl
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	cbz	x1, LBB0_4
; %bb.2:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _RFILE_HINT_UNBUFFERED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RFILE_HINT_UNBUFFERED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	w0, [x0, #32]
	b	_read
LBB0_4:
	mov	w0, #-1
	ret
LBB0_5:
	ldr	w3, [x0, #48]
	mov	x0, x1
	mov	w1, #1
	b	_fread
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RFILE_HINT_UNBUFFERED,4,2      ; @RFILE_HINT_UNBUFFERED
	.comm	_RETRO_VFS_FILE_ACCESS_HINT_FREQUENT_ACCESS,4,2 ; @RETRO_VFS_FILE_ACCESS_HINT_FREQUENT_ACCESS
	.comm	_VFS_SCHEME_CDROM,8,3           ; @VFS_SCHEME_CDROM
.subsections_via_symbols
