	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ReadBufferedFile
_ReadBufferedFile:                      ## @ReadBufferedFile
	.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
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %r14
	movq	_ri@GOTPCREL(%rip), %r15
	movl	$32, %edi
	callq	*16(%r15)
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rax)
	movups	%xmm0, (%rax)
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	*(%r15)
	movq	%rax, (%rbx)
	movq	-32(%rbp), %rcx
	movq	%rcx, 16(%rbx)
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.3:
	testq	%rax, %rax
	jle	LBB0_7
## %bb.4:
	movq	%rcx, 24(%rbx)
	movq	%rax, 8(%rbx)
	jmp	LBB0_9
LBB0_7:
	movq	%rbx, %rdi
	callq	*8(%r15)
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ri,24,3                        ## @ri
	.no_dead_strip	_ReadBufferedFile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ReadBufferedFile
_ReadBufferedFile:                      ; @ReadBufferedFile
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x21, _ri@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ri@GOTPAGEOFF]
	ldr	x8, [x21, #16]
	mov	w0, #32
	blr	x8
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.2:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19]
	ldr	x8, [x21]
	add	x1, sp, #8
	mov	x0, x20
	blr	x8
	str	x0, [x19]
	ldr	x8, [sp, #8]
	str	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.3:
	cmp	x0, #0
	b.le	LBB0_5
; %bb.4:
	str	x8, [x19, #24]
	str	x0, [x19, #8]
	b	LBB0_7
LBB0_5:
	ldr	x8, [x21, #8]
	mov	x0, x19
	blr	x8
LBB0_6:
	mov	x19, #0
LBB0_7:
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ri,24,3                        ; @ri
	.no_dead_strip	_ReadBufferedFile
.subsections_via_symbols
