	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function BufferedFileRewind
_BufferedFileRewind:                    ## @BufferedFileRewind
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_qfalse@GOTPCREL(%rip), %rax
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	cmpl	$-1, %esi
	je	LBB0_2
## %bb.3:
	movl	(%rdi), %ecx
	movl	%ecx, %edx
	subl	4(%rdi), %edx
	cmpl	%esi, %edx
	jb	LBB0_6
## %bb.4:
	subl	%esi, %ecx
	movl	%ecx, (%rdi)
	addl	%esi, 8(%rdi)
	jmp	LBB0_5
LBB0_2:
	movl	4(%rdi), %eax
	movl	12(%rdi), %ecx
	movl	%eax, (%rdi)
	movl	%ecx, 8(%rdi)
LBB0_5:
	movq	_qtrue@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_qtrue,4,2                      ## @qtrue
	.no_dead_strip	_BufferedFileRewind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function BufferedFileRewind
_BufferedFileRewind:                    ; @BufferedFileRewind
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	cmn	w1, #1
	b.eq	LBB0_4
; %bb.2:
	ldp	w8, w9, [x0]
	sub	w9, w8, w9
	cmp	w9, w1
	b.hs	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _qfalse@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_4:
	ldr	w8, [x0, #4]
	str	w8, [x0]
	ldr	w8, [x0, #12]
	b	LBB0_6
LBB0_5:
	sub	w8, w8, w1
	str	w8, [x0]
	ldr	w8, [x0, #8]
	add	w8, w8, w1
LBB0_6:
	str	w8, [x0, #8]
Lloh3:
	adrp	x8, _qtrue@GOTPAGE
Lloh4:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
	.no_dead_strip	_BufferedFileRewind
.subsections_via_symbols
