	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_advance_buff                   ## -- Begin function advance_buff
	.p2align	4, 0x90
_advance_buff:                          ## @advance_buff
	.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
	movq	_import_buff@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_rptr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	_rend@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	subq	%rsi, %rdx
	callq	_memmove
	movq	(%r14), %rdx
	movq	%rdx, %rsi
	subq	(%rbx), %rsi
	addq	(%r15), %rsi
	movq	%rsi, (%r15)
	movq	%rdx, (%rbx)
	movq	_import_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IMPORT_BUFF_SIZE@GOTPCREL(%rip), %rax
	subq	%rsi, %rdx
	addq	(%rax), %rdx
	callq	_read
	addq	%rax, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_import_buff,8,3                ## @import_buff
	.comm	_rptr,8,3                       ## @rptr
	.comm	_rend,8,3                       ## @rend
	.comm	_import_fd,4,2                  ## @import_fd
	.comm	_IMPORT_BUFF_SIZE,8,3           ## @IMPORT_BUFF_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_advance_buff                   ; -- Begin function advance_buff
	.p2align	2
_advance_buff:                          ; @advance_buff
	.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
Lloh0:
	adrp	x19, _import_buff@GOTPAGE
Lloh1:
	ldr	x19, [x19, _import_buff@GOTPAGEOFF]
Lloh2:
	adrp	x20, _rptr@GOTPAGE
Lloh3:
	ldr	x20, [x20, _rptr@GOTPAGEOFF]
	ldr	x0, [x19]
	ldr	x1, [x20]
Lloh4:
	adrp	x21, _rend@GOTPAGE
Lloh5:
	ldr	x21, [x21, _rend@GOTPAGEOFF]
	ldr	x8, [x21]
	sub	x2, x8, x1
	bl	_memmove
	ldr	x8, [x20]
	ldr	x9, [x19]
	ldr	x10, [x21]
	sub	x8, x9, x8
	add	x1, x8, x10
	str	x1, [x21]
	str	x9, [x20]
Lloh6:
	adrp	x8, _import_fd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _import_fd@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _IMPORT_BUFF_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IMPORT_BUFF_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	sub	x9, x9, x1
	add	x2, x9, x8
	bl	_read
	ldr	x8, [x21]
	add	x8, x8, x0
	str	x8, [x21]
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_import_buff,8,3                ; @import_buff
	.comm	_rptr,8,3                       ; @rptr
	.comm	_rend,8,3                       ; @rend
	.comm	_import_fd,4,2                  ; @import_fd
	.comm	_IMPORT_BUFF_SIZE,8,3           ; @IMPORT_BUFF_SIZE
.subsections_via_symbols
