	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function oggvorbis_decode_frame
_oggvorbis_decode_frame:                ## @oggvorbis_decode_frame
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	(%rdi), %r15
	movl	$32768, (%rsi)                  ## imm = 0x8000
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_10
## %bb.3:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	leaq	12(%r15), %rsi
	movq	8(%r12), %rax
	movq	(%rax), %r13
	movl	4(%rbx), %eax
	movl	%eax, 16(%r15)
	movl	(%rbx), %eax
	movl	%eax, 12(%r15)
	leaq	8(%r15), %r14
	movq	%r14, %rdi
	callq	_vorbis_synthesis
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_vorbis_synthesis_blockin
LBB0_5:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_vorbis_synthesis_pcmout
	testl	%eax, %eax
	jle	LBB0_6
## %bb.7:
	movl	%eax, %r14d
	xorl	%r12d, %r12d
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rsi
	movslq	%r13d, %rbx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %rdx
	movl	4(%r15), %ecx
	movl	%r14d, %edi
	callq	_conv
	movl	4(%r15), %eax
	imull	%r14d, %eax
	leal	(%rbx,%rax,2), %r13d
	addl	%r14d, %r12d
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_vorbis_synthesis_read
	movq	%r15, %rdi
	leaq	-48(%rbp), %rsi
	callq	_vorbis_synthesis_pcmout
	movl	%eax, %r14d
	testl	%eax, %eax
	jg	LBB0_8
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_6:
	xorl	%r12d, %r12d
LBB0_9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	xorl	%eax, %eax
	testl	%r12d, %r12d
	setg	%al
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_oggvorbis_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function oggvorbis_decode_frame
_oggvorbis_decode_frame:                ; @oggvorbis_decode_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w8, [x3]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	ldr	x22, [x0]
	mov	w8, #32768
	str	w8, [x1]
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_10
; %bb.2:
	add	x1, x22, #12
	ldr	x8, [x21, #8]
	ldr	x24, [x8]
	ldr	d0, [x19]
	stur	d0, [x22, #12]
	add	x23, x22, #8
	mov	x0, x23
	bl	_vorbis_synthesis
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	mov	x1, x23
	bl	_vorbis_synthesis_blockin
LBB0_4:
	add	x1, sp, #8
	mov	x0, x22
	bl	_vorbis_synthesis_pcmout
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x23, x0
	mov	w25, #0
	mov	w26, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [sp, #8]
	add	x2, x24, w26, sxtw
	ldr	w3, [x22, #4]
	mov	x0, x23
	bl	_conv
	ldr	w8, [x22, #4]
	mul	w8, w23, w8
	add	w26, w26, w8, lsl #1
	add	w25, w23, w25
	mov	x0, x22
	mov	x1, x23
	bl	_vorbis_synthesis_read
	add	x1, sp, #8
	mov	x0, x22
	bl	_vorbis_synthesis_pcmout
	mov	x23, x0
	cmp	w0, #0
	b.gt	LBB0_6
	b	LBB0_9
LBB0_7:
	mov	w0, #0
	b	LBB0_10
LBB0_8:
	mov	w25, #0
LBB0_9:
	str	w25, [x21]
	cmp	w25, #0
	cset	w8, gt
	str	w8, [x20]
	ldr	w0, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_oggvorbis_decode_frame
.subsections_via_symbols
