	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _get_data
__get_data:                             ## @_get_data
	.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	_errno@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	cmpq	$0, 16(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_3
## %bb.4:
	movq	_READSIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_ogg_sync_buffer
	movl	(%r14), %edx
	movq	8(%rbx), %rcx
	movq	%rax, %rdi
	movl	$1, %esi
	callq	*16(%rbx)
	movq	%rax, %r14
	testq	%rax, %rax
	jle	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ogg_sync_wrote
LBB0_6:
	xorl	%eax, %eax
	cmpq	(%r15), %rax
	sbbq	%rax, %rax
	orq	%r14, %rax
	testq	%r14, %r14
	cmovneq	%r14, %rax
	jmp	LBB0_7
LBB0_1:
	movq	$-1, %rax
	jmp	LBB0_7
LBB0_3:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_READSIZE,4,2                   ## @READSIZE
	.no_dead_strip	__get_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _get_data
__get_data:                             ; @_get_data
	.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	x21, _errno@GOTPAGE
Lloh1:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	str	xzr, [x21]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.2:
Lloh2:
	adrp	x20, _READSIZE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _READSIZE@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ogg_sync_buffer
	ldr	w2, [x20]
	ldp	x3, x8, [x19, #8]
	mov	w1, #1
	blr	x8
	mov	x20, x0
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_ogg_sync_wrote
LBB0_4:
	ldr	x8, [x21]
	cmp	x8, #0
	ccmp	x20, #0, #0, ne
	csinv	x0, x20, xzr, ne
	b	LBB0_7
LBB0_5:
	mov	x0, #-1
	b	LBB0_7
LBB0_6:
	mov	x0, #0
LBB0_7:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_READSIZE,4,2                   ; @READSIZE
	.no_dead_strip	__get_data
.subsections_via_symbols
