	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libvorbis_encode_frame
_libvorbis_encode_frame:                ## @libvorbis_encode_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rsi, %rbx
	movq	8(%rdi), %r14
	testq	%rdx, %rdx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.1:
	movq	%rdx, %r13
	movl	(%rdx), %esi
	movl	56(%r14), %r15d
	leaq	48(%r14), %rdi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_vorbis_analysis_buffer
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.2:
	movq	%rax, %rbx
	leal	-1(%r15), %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_ff_vorbis_encoding_channel_layout_offsets@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movl	(%rax,%r14,4), %eax
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx,%r14,8), %rdi
	movq	8(%r13), %rcx
	cltq
	movl	(%rcx,%rax,4), %esi
	movl	%r12d, %edx
	callq	_memcpy
	incq	%r14
	cmpq	%r14, %r15
	je	LBB0_7
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$9, %r15d
	jb	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, %eax
	jmp	LBB0_4
LBB0_7:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_vorbis_analysis_wrote
	testl	%eax, %eax
	js	LBB0_22
## %bb.8:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	8(%rbx), %rdi
	movq	%r13, %rsi
	callq	_ff_af_queue_add
	testl	%eax, %eax
	jns	LBB0_12
	jmp	LBB0_42
LBB0_10:
	cmpl	$0, (%r14)
	je	LBB0_24
LBB0_11:
	movl	$1, (%r14)
	movq	%r14, %rbx
LBB0_12:
	leaq	48(%rbx), %r14
	leaq	52(%rbx), %r13
	leaq	-72(%rbp), %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	testl	%r12d, %r12d
	js	LBB0_40
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_vorbis_analysis_blockout
	cmpl	$1, %eax
	jne	LBB0_29
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_vorbis_analysis
	testl	%eax, %eax
	js	LBB0_27
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rdi
	callq	_vorbis_bitrate_addblock
	testl	%eax, %eax
	js	LBB0_27
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_vorbis_bitrate_flushpacket
	movl	%eax, %r12d
	cmpl	$1, %eax
	jne	LBB0_13
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	44(%rbx), %edi
	callq	_av_fifo_space
	cltq
	movslq	-72(%rbp), %rcx
	addq	$16, %rcx
	cmpq	%rax, %rcx
	ja	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movl	44(%rbx), %edi
	movq	%r15, %rsi
	movl	$16, %edx
	xorl	%ecx, %ecx
	callq	_av_fifo_generic_write
	movl	44(%rbx), %edi
	movq	-64(%rbp), %rsi
	movl	-72(%rbp), %edx
	xorl	%ecx, %ecx
	callq	_av_fifo_generic_write
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_vorbis_bitrate_flushpacket
	cmpl	$1, %eax
	je	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	%eax, %r12d
	jmp	LBB0_13
LBB0_21:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_log
	movq	_AVERROR_BUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_43
LBB0_22:
	movl	%eax, %ebx
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_log
	movl	%ebx, %edi
LBB0_23:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vorbis_error_to_averror        ## TAILCALL
LBB0_24:
	cmpq	$0, 32(%r14)
	je	LBB0_11
## %bb.25:
	leaq	48(%r14), %rdi
	xorl	%esi, %esi
	callq	_vorbis_analysis_wrote
	testl	%eax, %eax
	jns	LBB0_11
## %bb.26:
	movl	%eax, %r15d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_log
	movl	%r15d, %edi
	jmp	LBB0_23
LBB0_27:
	movl	%eax, %r12d
LBB0_28:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_41
LBB0_29:
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_28
## %bb.30:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	44(%rbx), %edi
	callq	_av_fifo_size
	xorl	%r13d, %r13d
	cmpl	$16, %eax
	jb	LBB0_43
## %bb.31:
	movl	44(%rbx), %edi
	leaq	-72(%rbp), %rsi
	movl	$16, %edx
	xorl	%ecx, %ecx
	callq	_av_fifo_generic_read
	movl	-72(%rbp), %edx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	callq	_ff_alloc_packet2
	testl	%eax, %eax
	js	LBB0_42
## %bb.32:
	movl	44(%rbx), %edi
	movq	16(%r12), %rsi
	movl	-72(%rbp), %edx
	xorl	%r13d, %r13d
	xorl	%ecx, %ecx
	callq	_av_fifo_generic_read
	movl	-68(%rbp), %esi
	movq	%r14, %rdi
	callq	_ff_samples_to_time_base
	movl	%eax, 4(%r12)
	movl	40(%rbx), %edi
	movq	16(%r12), %rsi
	movl	8(%r12), %edx
	callq	_av_vorbis_parse_frame
	testl	%eax, %eax
	jle	LBB0_39
## %bb.33:
	movl	%eax, %ebx
	leaq	4(%r12), %rdx
	cmpl	$0, (%r14)
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_38
## %bb.34:
	cmpq	$0, 16(%r15)
	je	LBB0_38
## %bb.35:
	movq	%rdx, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
	xorl	%edi, %edi
	cmpl	$0, 24(%r15)
	sete	%dil
	callq	_av_assert0
	movq	16(%r15), %rax
	addl	%ebx, (%rax)
	movq	8(%rax), %rcx
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_37
## %bb.36:
	movl	%ebx, %edx
	subq	%rdx, %rcx
	movq	%rcx, 8(%rax)
LBB0_37:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	addl	%ebx, 8(%r15)
	movq	%r14, %rdx
LBB0_38:
	addq	$8, %r15
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r12, %rcx
	callq	_ff_af_queue_remove
LBB0_39:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	jmp	LBB0_43
LBB0_40:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_av_log
LBB0_41:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	callq	_av_log
	movl	%r12d, %edi
	callq	_vorbis_error_to_averror
LBB0_42:
	movl	%eax, %r13d
LBB0_43:
	movl	%r13d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_vorbis_encoding_channel_layout_offsets,8,3 ## @ff_vorbis_encoding_channel_layout_offsets
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error in vorbis_analysis_wrote()\n"

L_.str.1:                               ## @.str.1
	.asciz	"packet buffer is too small\n"

	.comm	_AVERROR_BUG,4,2                ## @AVERROR_BUG
L_.str.2:                               ## @.str.2
	.asciz	"error getting available packets\n"

	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.no_dead_strip	_libvorbis_encode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libvorbis_encode_frame
_libvorbis_encode_frame:                ; @libvorbis_encode_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x21, x1
	mov	x19, x0
	ldr	x27, [x0, #8]
	stp	x3, x1, [sp, #8]                ; 16-byte Folded Spill
	cbz	x2, LBB0_9
; %bb.1:
	mov	x22, x2
	str	x19, [sp, #24]                  ; 8-byte Folded Spill
	ldr	w23, [x2]
	ldr	w28, [x27, #56]
	add	x24, x27, #48
	mov	x0, x24
	mov	x1, x23
	bl	_vorbis_analysis_buffer
	cmp	w28, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x25, x0
	mov	x20, #0
	sub	w21, w28, #1
	lsl	w26, w23, #2
Lloh0:
	adrp	x19, _ff_vorbis_encoding_channel_layout_offsets@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ff_vorbis_encoding_channel_layout_offsets@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8, x21, lsl #3]
	ldr	w8, [x8, x20, lsl #2]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x25, x20, lsl #3]
	ldr	x9, [x22, #8]
	ldr	w1, [x9, w8, sxtw #2]
	mov	x2, x26
	bl	_memcpy
	add	x20, x20, #1
	cmp	x28, x20
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w28, #9
	b.lo	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x20
	b	LBB0_4
LBB0_7:
	mov	x0, x24
	mov	x1, x23
	bl	_vorbis_analysis_wrote
	tbnz	w0, #31, LBB0_21
; %bb.8:
	add	x0, x27, #8
	mov	x1, x22
	bl	_ff_af_queue_add
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	tbz	w0, #31, LBB0_11
	b	LBB0_32
LBB0_9:
	ldr	w8, [x27]
	cbz	w8, LBB0_23
LBB0_10:
	mov	w8, #1
	str	w8, [x27]
LBB0_11:
	add	x22, x27, #48
	add	x23, x27, #52
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	tbnz	w24, #31, LBB0_30
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	mov	x0, x22
	mov	x1, x23
	bl	_vorbis_analysis_blockout
	cmp	w0, #1
	b.ne	LBB0_27
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x23
	mov	x1, #0
	bl	_vorbis_analysis
	tbnz	w0, #31, LBB0_26
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x23
	bl	_vorbis_bitrate_addblock
	tbnz	w0, #31, LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x1, sp, #32
	mov	x0, x22
	bl	_vorbis_bitrate_flushpacket
	mov	x24, x0
	cmp	w0, #1
	b.ne	LBB0_12
LBB0_17:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x27, #44]
	bl	_av_fifo_space
	ldrsw	x8, [sp, #32]
	add	x8, x8, #16
	cmp	x8, w0, sxtw
	b.hi	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [x27, #44]
	add	x1, sp, #32
	mov	w2, #16
	mov	x3, #0
	bl	_av_fifo_generic_write
	ldr	w0, [x27, #44]
	ldr	x1, [sp, #40]
	ldr	w2, [sp, #32]
	mov	x3, #0
	bl	_av_fifo_generic_write
	add	x1, sp, #32
	mov	x0, x22
	bl	_vorbis_bitrate_flushpacket
	cmp	w0, #1
	b.eq	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x24, x0
	b	LBB0_12
LBB0_20:
Lloh2:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh7:
	adrp	x8, _AVERROR_BUG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVERROR_BUG@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	b	LBB0_32
LBB0_21:
	mov	x23, x0
Lloh10:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_av_log
	mov	x0, x23
LBB0_22:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_vorbis_error_to_averror
LBB0_23:
	ldr	x8, [x27, #32]
	cbz	x8, LBB0_10
; %bb.24:
	add	x0, x27, #48
	mov	w1, #0
	bl	_vorbis_analysis_wrote
	tbz	w0, #31, LBB0_10
; %bb.25:
	mov	x22, x0
Lloh15:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
	mov	x0, x22
	b	LBB0_22
LBB0_26:
	mov	x24, x0
	b	LBB0_31
LBB0_27:
	mov	x24, x0
	tbnz	w0, #31, LBB0_31
; %bb.28:
	ldr	w0, [x27, #44]
	bl	_av_fifo_size
	cmp	w0, #16
	b.hs	LBB0_33
; %bb.29:
	mov	w0, #0
	b	LBB0_32
LBB0_30:
Lloh20:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x2, l_.str.2@PAGE
Lloh24:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_av_log
LBB0_31:
Lloh25:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x2, l_.str.2@PAGE
Lloh29:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_av_log
	mov	x0, x24
	bl	_vorbis_error_to_averror
LBB0_32:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_33:
	ldr	w0, [x27, #44]
	add	x1, sp, #32
	mov	w2, #16
	mov	x3, #0
	bl	_av_fifo_generic_read
	ldr	w2, [sp, #32]
	mov	x0, x19
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
	mov	x1, x20
	mov	w3, #0
	bl	_ff_alloc_packet2
	tbnz	w0, #31, LBB0_32
; %bb.34:
	ldr	w0, [x27, #44]
	ldr	x1, [x20, #16]
	ldr	w2, [sp, #32]
	mov	x3, #0
	bl	_av_fifo_generic_read
	ldr	w1, [sp, #36]
	mov	x0, x19
	bl	_ff_samples_to_time_base
	mov	x22, x20
	str	w0, [x22, #4]!
	ldr	w0, [x27, #40]
	ldr	x1, [x20, #16]
	ldr	w2, [x22, #4]
	bl	_av_vorbis_parse_frame
	cmp	w0, #1
	b.lt	LBB0_41
; %bb.35:
	mov	x23, x0
	ldr	w8, [x19]
	cbnz	w8, LBB0_40
; %bb.36:
	ldr	x8, [x27, #16]
	cbz	x8, LBB0_40
; %bb.37:
	str	w23, [x19]
	ldr	w8, [x27, #24]
	cmp	w8, #0
	cset	w0, eq
	bl	_av_assert0
	ldr	x8, [x27, #16]
	ldr	w9, [x8]
	add	w9, w9, w23
	str	w9, [x8]
	ldr	x9, [x8, #8]
Lloh30:
	adrp	x10, _AV_NOPTS_VALUE@GOTPAGE
Lloh31:
	ldr	x10, [x10, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh32:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_39
; %bb.38:
	sub	x9, x9, w23, uxtw
	str	x9, [x8, #8]
LBB0_39:
	ldr	w8, [x27, #8]
	add	w8, w8, w23
	str	w8, [x27, #8]
LBB0_40:
	add	x0, x27, #8
	mov	x1, x23
	mov	x2, x22
	mov	x3, x20
	bl	_ff_af_queue_remove
LBB0_41:
	mov	w0, #0
	mov	w8, #1
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	str	w8, [x9]
	b	LBB0_32
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_vorbis_encoding_channel_layout_offsets,8,3 ; @ff_vorbis_encoding_channel_layout_offsets
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error in vorbis_analysis_wrote()\n"

l_.str.1:                               ; @.str.1
	.asciz	"packet buffer is too small\n"

	.comm	_AVERROR_BUG,4,2                ; @AVERROR_BUG
l_.str.2:                               ; @.str.2
	.asciz	"error getting available packets\n"

	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.no_dead_strip	_libvorbis_encode_frame
.subsections_via_symbols
