	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlp_encode_frame
_mlp_encode_frame:                      ## @mlp_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rdi, %r12
	movq	16(%rdi), %r14
	imull	$87500, (%rdi), %edx            ## imm = 0x155CC
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	callq	_ff_alloc_packet2
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.2:
	leaq	156(%r14), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_ff_af_queue_add
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	(%rax), %r15
	movl	4(%r12), %ecx
	movl	4(%r14), %r9d
	movl	%ecx, %eax
	cltd
	idivl	%r9d
	movl	%edx, (%r14)
	movq	16(%r14), %rdi
	movslq	24(%r14), %rbx
	movslq	%edx, %rax
	imulq	%rax, %rbx
	leaq	(%rdi,%rbx), %rsi
	movq	%rsi, 8(%r14)
	xorl	%r13d, %r13d
	cmpq	%rsi, 32(%r14)
	je	LBB0_52
## %bb.4:
	movq	48(%r14), %r8
	addq	%r8, %rbx
	movq	%rbx, 40(%r14)
	movq	%rsi, 56(%r14)
	cmpl	%r9d, %ecx
	jge	LBB0_11
## %bb.5:
	testq	%r15, %r15
	je	LBB0_10
## %bb.6:
	movq	64(%r14), %rcx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_19
LBB0_7:
	movl	%eax, %r13d
	jmp	LBB0_52
LBB0_8:
	movl	$1, %r13d
	jmp	LBB0_52
LBB0_10:
	movl	%ecx, 4(%r14)
	movl	$0, (%r14)
	movq	%r8, 40(%r14)
	movq	%rdi, 8(%r14)
	xorl	%edx, %edx
	movl	%ecx, %r9d
LBB0_11:
	movq	64(%r14), %rax
	movslq	%edx, %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	_MAX_BLOCKSIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	cmpq	%r8, %rcx
	jle	LBB0_13
## %bb.12:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	callq	_av_log
	movl	$-1, %r13d
	jmp	LBB0_52
LBB0_13:
	xorl	%ecx, %ecx
	testl	%edx, %edx
	sete	%bl
	jne	LBB0_16
## %bb.14:
	movq	%r14, %rdi
	callq	_set_major_params
	xorl	%ecx, %ecx
	movslq	4(%r14), %r9
	cmpq	%r9, 72(%r14)
	je	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	callq	_process_major_frame
	xorl	%ecx, %ecx
	movl	4(%r14), %r9d
LBB0_16:
	movb	%bl, %cl
	movslq	%r9d, %rax
	cmpq	%rax, 72(%r14)
	jne	LBB0_18
## %bb.17:
	movq	40(%r14), %rax
	movq	%rax, 56(%r14)
LBB0_18:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	12(%rax), %esi
	movq	%r14, %rdi
	callq	_write_access_unit
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	64(%r14), %rcx
	movl	(%r14), %edi
	movslq	%edi, %rax
	movl	(%rcx,%rax,8), %edx
	addl	%edx, 204(%r14)
	addl	%edx, 200(%r14)
	testq	%r15, %r15
	je	LBB0_53
LBB0_19:
	movq	8(%r12), %rdx
	movq	%rdx, (%rcx,%rax,8)
	movq	8(%r12), %rax
	addq	%rax, 80(%r14)
	incl	88(%r14)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_input_data
	movl	(%r14), %edi
LBB0_20:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	leal	1(%rdi), %eax
	movslq	%eax, %rcx
	movq	72(%r14), %rbx
	movq	%rcx, %rdx
	orq	%rbx, %rdx
	shrq	$32, %rdx
	je	LBB0_22
## %bb.21:
	movq	%rcx, %rax
	cqto
	idivq	%rbx
	testl	%edx, %edx
	jne	LBB0_51
	jmp	LBB0_23
LBB0_22:
	xorl	%edx, %edx
	divl	%ebx
                                        ## kill: def $edx killed $edx def $rdx
	testl	%edx, %edx
	jne	LBB0_51
LBB0_23:
	cmpl	$0, 92(%r14)
	jle	LBB0_49
## %bb.24:
	movq	168(%r14), %rdi
	movslq	(%rdi), %rcx
	testq	%rcx, %rcx
	js	LBB0_48
## %bb.25:
	xorl	%esi, %esi
	xorl	%r15d, %r15d
LBB0_26:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_38 Depth 2
                                        ##     Child Loop BB0_45 Depth 2
	movq	16(%r14), %rax
	movq	48(%r14), %rdx
	movq	%rdx, 40(%r14)
	movq	%rax, 8(%r14)
	movl	%r15d, 96(%r14)
	movq	%rcx, %rax
	orq	%rbx, %rax
	shrq	$32, %rax
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	%rcx, %rax
	cqto
	idivq	%rbx
	jmp	LBB0_29
LBB0_28:                                ##   in Loop: Header=BB0_26 Depth=1
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%ebx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_29:                                ##   in Loop: Header=BB0_26 Depth=1
	addq	%rdx, %rsi
	subq	%rsi, %rcx
	movslq	4(%r14), %r10
	movq	%rcx, %rax
	orq	%r10, %rax
	shrq	$32, %rax
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	%rcx, %rax
	cqto
	idivq	%r10
	movq	%rdx, %r8
	jmp	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_26 Depth=1
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%r10d
	movl	%edx, %r8d
LBB0_32:                                ##   in Loop: Header=BB0_26 Depth=1
	movl	%r8d, 100(%r14)
	movl	88(%r14), %r9d
	movl	%r9d, 104(%r14)
	leal	1(%r9), %eax
	movl	%eax, 108(%r14)
	movq	192(%r14), %rcx
	movslq	(%r14), %rax
	movq	%rax, %rdx
	orq	%rbx, %rdx
	shrq	$32, %rdx
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_26 Depth=1
	cqto
	idivq	%rbx
	jmp	LBB0_35
LBB0_34:                                ##   in Loop: Header=BB0_26 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ebx
                                        ## kill: def $eax killed $eax def $rax
LBB0_35:                                ##   in Loop: Header=BB0_26 Depth=1
	movslq	112(%r14), %rdx
	imulq	%rax, %rdx
	movslq	4(%rdi), %rax
	movq	%rdx, %rsi
	imulq	%rax, %rsi
	leaq	(%rcx,%rsi,4), %rcx
	movq	120(%r14), %rsi
	movslq	(%rsi,%r15,4), %rdi
	imulq	%rdi, %rax
	leaq	(%rcx,%rax,4), %rsi
	movq	%rsi, 176(%r14)
	movslq	128(%r14), %rax
	imulq	%rax, %rdx
	shlq	$2, %rdx
	addq	184(%r14), %rdx
	imulq	%rdi, %rax
	leaq	(%rdx,%rax,4), %rax
	movq	%rax, 160(%r14)
	testl	%r9d, %r9d
	je	LBB0_41
## %bb.36:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	64(%r14), %r11
	xorl	%edi, %edi
	movl	$0, %ebx
	cmpl	$1, %r9d
	je	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	%r9d, %r8d
	andl	$-2, %r8d
	xorl	%edi, %edi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx def $rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_26 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%r10d
                                        ## kill: def $edx killed $edx def $rdx
	addl	(%r11,%rdx,8), %ebx
	leal	1(%rcx), %eax
	xorl	%edx, %edx
	divl	%r10d
                                        ## kill: def $edx killed $edx def $rdx
	addl	(%r11,%rdx,8), %ebx
	addl	$2, %edi
	addl	$2, %ecx
	cmpl	%edi, %r8d
	jne	LBB0_38
LBB0_39:                                ##   in Loop: Header=BB0_26 Depth=1
	testb	$1, %r9b
	je	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_26 Depth=1
	addl	-64(%rbp), %edi                 ## 4-byte Folded Reload
	movl	%edi, %eax
	xorl	%edx, %edx
	divl	%r10d
                                        ## kill: def $edx killed $edx def $rdx
	addl	(%r11,%rdx,8), %ebx
	jmp	LBB0_42
LBB0_41:                                ##   in Loop: Header=BB0_26 Depth=1
	xorl	%ebx, %ebx
LBB0_42:                                ##   in Loop: Header=BB0_26 Depth=1
	movl	%ebx, 132(%r14)
	movq	136(%r14), %rax
	cmpl	$0, (%rax,%r15,4)
	je	LBB0_46
## %bb.43:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	%r14, %rdi
	callq	_clear_channel_params
	movq	160(%r14), %rsi
	movq	%r14, %rdi
	callq	_default_decoding_params
	movq	136(%r14), %rax
	cmpl	$2, (%rax,%r15,4)
	jb	LBB0_46
## %bb.44:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_45:                                ##   Parent Loop BB0_26 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	168(%r14), %rax
	movl	4(%rax), %esi
	imull	%ebx, %esi
	shlq	$2, %rsi
	addq	176(%r14), %rsi
	movq	%r14, %rdi
	callq	_clear_channel_params
	movl	128(%r14), %esi
	imull	%ebx, %esi
	shlq	$2, %rsi
	addq	160(%r14), %rsi
	movq	%r14, %rdi
	callq	_default_decoding_params
	incl	%ebx
	movq	136(%r14), %rax
	cmpl	(%rax,%r15,4), %ebx
	jb	LBB0_45
LBB0_46:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	%r14, %rdi
	callq	_input_to_sample_buffer
	movq	%r14, %rdi
	callq	_analyze_sample_buffer
	incq	%r15
	movslq	92(%r14), %rax
	cmpq	%rax, %r15
	jge	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	72(%r14), %rbx
	movq	168(%r14), %rdi
	movq	%rbx, %rsi
	imulq	%r15, %rsi
	movslq	(%rdi), %rcx
	cmpq	%rcx, %rsi
	jle	LBB0_26
LBB0_48:
	movl	(%r14), %edi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_49:
	movl	4(%r14), %eax
	decl	%eax
	cmpl	%eax, %edi
	jne	LBB0_51
## %bb.50:
	movq	80(%r14), %rax
	movq	%rax, 144(%r14)
	movq	$0, 80(%r14)
	movl	88(%r14), %eax
	movl	%eax, 152(%r14)
	movl	$0, 88(%r14)
LBB0_51:
	movq	8(%r12), %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leaq	8(%rbx), %rdx
	leaq	4(%rbx), %rcx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_ff_af_queue_remove
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	movl	$1, (%r15)
LBB0_52:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_53:
	cmpq	$0, 32(%r14)
	jne	LBB0_20
## %bb.54:
	movq	8(%r14), %rax
	movq	%rax, 32(%r14)
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_BLOCKSIZE,8,3              ## @MAX_BLOCKSIZE
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid frame size (%d > %d)\n"

	.no_dead_strip	_mlp_encode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlp_encode_frame
_mlp_encode_frame:                      ; @mlp_encode_frame
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x3
	mov	x24, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x22, [x0, #16]
	ldr	w8, [x0]
	mov	w9, #21964
	movk	w9, #1, lsl #16
	mul	w2, w8, w9
	mov	w3, #0
	bl	_ff_alloc_packet2
	tbnz	w0, #31, LBB0_45
; %bb.1:
	cbz	x24, LBB0_5
; %bb.2:
	add	x23, x22, #156
	mov	x0, x23
	mov	x1, x24
	bl	_ff_af_queue_add
	tbnz	w0, #31, LBB0_45
; %bb.3:
	ldr	x8, [x24]
	ldr	x25, [x8]
	ldr	w10, [x19, #4]
	ldr	w8, [x22, #4]
	sdiv	w9, w10, w8
	msub	w9, w9, w8, w10
	str	w9, [x22]
	ldr	x11, [x22, #16]
	ldrsw	x12, [x22, #24]
	sxtw	x13, w9
	mul	x13, x12, x13
	ldr	x12, [x22, #32]
	add	x14, x11, x13
	cmp	x12, x14
	str	x14, [x22, #8]
	b.ne	LBB0_6
; %bb.4:
	mov	w0, #0
	b	LBB0_45
LBB0_5:
	mov	w0, #1
	b	LBB0_45
LBB0_6:
	ldr	x12, [x22, #48]
	add	x13, x12, x13
	str	x13, [x22, #40]
	str	x14, [x22, #56]
	cmp	w10, w8
	b.ge	LBB0_9
; %bb.7:
	cbz	x25, LBB0_12
; %bb.8:
	mov	w24, #0
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	sxtw	x8, w9
	b	LBB0_21
LBB0_9:
	ldr	x10, [x22, #64]
	ldr	x3, [x10, w9, sxtw #3]
Lloh0:
	adrp	x10, _MAX_BLOCKSIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MAX_BLOCKSIZE@GOTPAGEOFF]
Lloh2:
	ldr	x4, [x10]
	cmp	x3, x4
	b.gt	LBB0_13
; %bb.10:
	cbz	w9, LBB0_14
; %bb.11:
	mov	w3, #0
	b	LBB0_17
LBB0_12:
	stp	wzr, w10, [x22]
	str	x12, [x22, #40]
	str	x11, [x22, #8]
	ldr	x8, [x22, #64]
	ldr	x3, [x8]
Lloh3:
	adrp	x8, _MAX_BLOCKSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_BLOCKSIZE@GOTPAGEOFF]
Lloh5:
	ldr	x4, [x8]
	cmp	x3, x4
	b.le	LBB0_14
LBB0_13:
Lloh6:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
	mov	w0, #-1
	b	LBB0_45
LBB0_14:
	mov	x0, x22
	bl	_set_major_params
	ldr	x9, [x22, #72]
	ldrsw	x8, [x22, #4]
	cmp	x9, x8
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x22
	bl	_process_major_frame
	ldr	w8, [x22, #4]
LBB0_16:
	mov	w3, #1
LBB0_17:
	ldr	x9, [x22, #72]
	cmp	x9, w8, sxtw
	b.ne	LBB0_19
; %bb.18:
	ldr	x8, [x22, #40]
	str	x8, [x22, #56]
LBB0_19:
	ldr	w1, [x21, #12]
	ldr	w2, [x21]
	mov	x0, x22
	bl	_write_access_unit
	mov	x24, x0
	ldr	x9, [x22, #64]
	ldr	w8, [x22]
	ldr	x9, [x9, w8, sxtw #3]
	ldr	d0, [x22, #200]
	dup.2s	v1, w9
	add.2s	v0, v0, v1
	str	d0, [x22, #200]
	cbz	x25, LBB0_46
; %bb.20:
	sxtw	x8, w8
LBB0_21:
	ldr	x9, [x19, #8]
	ldr	x10, [x22, #64]
	str	x9, [x10, x8, lsl #3]
	ldr	x8, [x19, #8]
	ldr	x9, [x22, #80]
	add	x8, x9, x8
	str	x8, [x22, #80]
	ldr	w8, [x22, #88]
	add	w8, w8, #1
	str	w8, [x22, #88]
	mov	x0, x22
	mov	x1, x25
	bl	_input_data
	ldr	w8, [x22]
LBB0_22:
	add	w10, w8, #1
	sxtw	x11, w10
	ldr	x9, [x22, #72]
	sdiv	x11, x11, x9
	msub	w10, w11, w9, w10
	cbnz	w10, LBB0_44
; %bb.23:
	ldr	w10, [x22, #92]
	cmp	w10, #1
	b.lt	LBB0_42
; %bb.24:
	ldr	x12, [x22, #168]
	ldrsw	x8, [x12]
	tbnz	w8, #31, LBB0_41
; %bb.25:
	mov	x10, #0
	mov	x25, #0
LBB0_26:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_31 Depth 2
                                        ;     Child Loop BB0_34 Depth 2
                                        ;     Child Loop BB0_38 Depth 2
	ldr	x11, [x22, #48]
	str	x11, [x22, #40]
	ldr	x11, [x22, #16]
	str	x11, [x22, #8]
	sdiv	x11, x8, x9
	msub	x11, x11, x9, x8
	add	x10, x10, x11
	sub	x10, x8, x10
	ldpsw	x13, x8, [x22]
	sdiv	x11, x10, x8
	msub	w10, w11, w8, w10
	stp	w25, w10, [x22, #96]
	ldr	w11, [x22, #88]
	add	w14, w11, #1
	stp	w11, w14, [x22, #104]
	sdiv	x9, x13, x9
	ldrsw	x13, [x22, #112]
	mul	x9, x9, x13
	ldrsw	x12, [x12, #4]
	mul	x13, x9, x12
	ldp	x15, x14, [x22, #184]
	add	x13, x14, x13, lsl #2
	ldr	x14, [x22, #120]
	ldr	w14, [x14, x25, lsl #2]
	mul	w12, w14, w12
	add	x1, x13, w12, sxtw #2
	str	x1, [x22, #176]
	ldrsw	x12, [x22, #128]
	mul	x9, x9, x12
	add	x9, x15, x9, lsl #2
	mul	w12, w12, w14
	add	x9, x9, w12, sxtw #2
	str	x9, [x22, #160]
	cbz	w11, LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	x9, [x22, #64]
	cmp	w11, #1
	b.ne	LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	w12, #0
	mov	w13, #0
	b	LBB0_33
LBB0_29:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	w13, #0
	b	LBB0_35
LBB0_30:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	w13, #0
	mov	w14, #0
	and	w12, w11, #0xfffffffe
	mov	x15, x12
	mov	x16, x10
LBB0_31:                                ;   Parent Loop BB0_26 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w17, w16, #1
	udiv	w0, w16, w8
	msub	w0, w0, w8, w16
	udiv	w2, w17, w8
	msub	w17, w2, w8, w17
	ldr	x0, [x9, w0, uxtw #3]
	ldr	x17, [x9, w17, uxtw #3]
	add	w13, w13, w0
	add	w14, w14, w17
	add	w16, w16, #2
	subs	w15, w15, #2
	b.ne	LBB0_31
; %bb.32:                               ;   in Loop: Header=BB0_26 Depth=1
	add	w13, w14, w13
	cmp	w11, w12
	b.eq	LBB0_35
LBB0_33:                                ;   in Loop: Header=BB0_26 Depth=1
	sub	w11, w11, w12
	add	w10, w12, w10
LBB0_34:                                ;   Parent Loop BB0_26 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	udiv	w12, w10, w8
	msub	w12, w12, w8, w10
	ldr	x12, [x9, w12, uxtw #3]
	add	w13, w13, w12
	add	w10, w10, #1
	subs	w11, w11, #1
	b.ne	LBB0_34
LBB0_35:                                ;   in Loop: Header=BB0_26 Depth=1
	str	w13, [x22, #132]
	ldr	x8, [x22, #136]
	ldr	w8, [x8, x25, lsl #2]
	cbz	w8, LBB0_39
; %bb.36:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x22
	bl	_clear_channel_params
	ldr	x1, [x22, #160]
	mov	x0, x22
	bl	_default_decoding_params
	ldr	x8, [x22, #136]
	ldr	w8, [x8, x25, lsl #2]
	cmp	w8, #2
	b.lo	LBB0_39
; %bb.37:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	w26, #1
LBB0_38:                                ;   Parent Loop BB0_26 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x9, x8, [x22, #168]
	ldr	w9, [x9, #4]
	mul	w9, w9, w26
	add	x1, x8, w9, uxtw #2
	mov	x0, x22
	bl	_clear_channel_params
	ldr	x8, [x22, #160]
	ldr	w9, [x22, #128]
	mul	w9, w9, w26
	add	x1, x8, w9, uxtw #2
	mov	x0, x22
	bl	_default_decoding_params
	add	w26, w26, #1
	ldr	x8, [x22, #136]
	ldr	w8, [x8, x25, lsl #2]
	cmp	w26, w8
	b.lo	LBB0_38
LBB0_39:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x22
	bl	_input_to_sample_buffer
	mov	x0, x22
	bl	_analyze_sample_buffer
	add	x25, x25, #1
	ldrsw	x8, [x22, #92]
	cmp	x25, x8
	b.ge	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	x9, [x22, #72]
	mul	x10, x9, x25
	ldr	x12, [x22, #168]
	ldrsw	x8, [x12]
	cmp	x10, x8
	b.le	LBB0_26
LBB0_41:
	ldr	w8, [x22]
LBB0_42:
	ldr	w9, [x22, #4]
	sub	w9, w9, #1
	cmp	w8, w9
	b.ne	LBB0_44
; %bb.43:
	ldr	x8, [x22, #80]
	str	x8, [x22, #144]
	str	xzr, [x22, #80]
	ldr	w8, [x22, #88]
	str	w8, [x22, #152]
	str	wzr, [x22, #88]
LBB0_44:
	ldr	x1, [x19, #8]
	add	x2, x21, #8
	add	x3, x21, #4
	mov	x0, x23
	bl	_ff_af_queue_remove
	mov	w0, #0
	str	w24, [x21]
	mov	w8, #1
	str	w8, [x20]
LBB0_45:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_46:
	ldr	x9, [x22, #32]
	cbnz	x9, LBB0_22
; %bb.47:
	ldr	x9, [x22, #8]
	str	x9, [x22, #32]
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_BLOCKSIZE,8,3              ; @MAX_BLOCKSIZE
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid frame size (%d > %d)\n"

	.no_dead_strip	_mlp_encode_frame
.subsections_via_symbols
