	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ogg_sync_wrote                 ## -- Begin function ogg_sync_wrote
	.p2align	4, 0x90
_ogg_sync_wrote:                        ## @ogg_sync_wrote
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movq	_OGG_EINVAL@GOTPCREL(%rip), %r8
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	movq	(%rcx), %r9
	movq	16(%rcx), %rax
	movq	(%rax), %rax
	movq	8(%rcx), %rdx
	addq	%r9, %rdx
	subq	%rdx, %rax
	cmpq	%rsi, %rax
	jl	LBB0_3
## %bb.2:
	addq	%rsi, %r9
	movq	%r9, (%rcx)
	addq	%rsi, (%rdi)
	movq	_OGG_SUCCESS@GOTPCREL(%rip), %r8
LBB0_3:
	movl	(%r8), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OGG_EINVAL,4,2                 ## @OGG_EINVAL
	.comm	_OGG_SUCCESS,4,2                ## @OGG_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ogg_sync_wrote                 ; -- Begin function ogg_sync_wrote
	.p2align	2
_ogg_sync_wrote:                        ; @ogg_sync_wrote
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	x11, x9, [x8, #8]
	ldr	x10, [x9]
	ldr	x9, [x8]
	add	x11, x9, x11
	sub	x10, x10, x11
	cmp	x10, x1
	b.ge	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _OGG_EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OGG_EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_3:
	add	x9, x9, x1
	str	x9, [x8]
	ldr	x8, [x0]
	add	x8, x8, x1
	str	x8, [x0]
Lloh3:
	adrp	x8, _OGG_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OGG_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_OGG_EINVAL,4,2                 ; @OGG_EINVAL
	.comm	_OGG_SUCCESS,4,2                ; @OGG_SUCCESS
.subsections_via_symbols
