	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function buffer_read
_buffer_read:                           ## @buffer_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	subq	%rcx, %rax
	cmpq	%rsi, %rax
	jge	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	16(%rdi), %rax
	addq	%rcx, %rax
	addq	%rcx, %rsi
	movq	%rsi, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_buffer_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function buffer_read
_buffer_read:                           ; @buffer_read
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
	sub	x8, x8, x9
	cmp	x8, x1
	b.ge	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
	ldr	x8, [x0, #16]
	add	x8, x8, x9
	add	x9, x9, x1
	str	x9, [x0, #8]
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_buffer_read
.subsections_via_symbols
