	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_decoder
_init_decoder:                          ## @init_decoder
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movl	(%rbx), %edi
	movl	$4, %esi
	callq	_av_malloc_array
	movq	32(%rbx), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %edi
	movl	4(%rbx), %esi
	callq	_FFMAX
                                        ## kill: def $eax killed $eax def $rax
	leal	16(%rax), %edi
	movl	$4, %esi
	callq	_av_malloc_array
	movq	32(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movl	4(%rbx), %edi
	movq	_NB_LEVELS@GOTPCREL(%rip), %r15
	movb	(%r15), %cl
	shrl	%cl, %edi
	movl	$4, %esi
	callq	_av_malloc_array
	movq	%rax, 24(%rbx)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	32(%rbx), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_9
## %bb.1:
	cmpq	$0, 8(%rcx)
	je	LBB0_9
## %bb.2:
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	4(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	16(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r15), %eax
	xorl	%r12d, %r12d
	movl	$2863311531, %r13d              ## imm = 0xAAAAAAAB
	xorl	%r11d, %r11d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r11
	cmpq	$3, %r11
	je	LBB0_8
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	testq	%r11, %r11
	setne	%cl
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	shrl	%cl, %r14d
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	shrl	%cl, %esi
	movl	%r14d, %edi
	movl	%eax, %ecx
	shrl	%cl, %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r11,8), %rdx
	movl	%edi, (%rdx)
	movl	(%r15), %eax
	movl	%esi, %edi
	movl	%eax, %ecx
	shrl	%cl, %edi
	movl	%edi, 4(%rdx)
	movl	%r14d, %ebx
	shrl	%cl, %ebx
	imull	%edi, %ebx
	movl	%ebx, 8(%rdx)
	leal	(%rax,%rax,2), %ecx
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	addq	$36, %rdx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r9d, %eax
	imulq	%r13, %rax
	shrq	$33, %rax
	movl	%edi, %ecx
	subl	%eax, %ecx
	movl	%r14d, %eax
	shrl	%cl, %eax
	movl	%esi, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %ebx
	movl	%eax, -16(%rdx)
	movl	%ebx, -12(%rdx)
	movl	%eax, %ecx
	imull	%ebx, %ecx
	movl	%ecx, -8(%rdx)
	movl	%r8d, %ecx
	imulq	%r13, %rcx
	shrq	$33, %rcx
	leal	(%rcx,%rcx,2), %ecx
	subl	%ecx, %r9d
	incq	%r10
	cmpl	$1, %r9d
	cmovel	%r12d, %eax
	movl	%eax, -4(%rdx)
	testl	%r9d, %r9d
	cmovnel	%ebx, %r9d
	movl	%r9d, (%rdx)
	movl	(%r15), %eax
	leal	(%rax,%rax,2), %ecx
	incl	%r8d
	addq	$20, %rdx
	movq	%r10, %r9
	cmpq	%rcx, %r10
	jb	LBB0_6
	jmp	LBB0_7
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_8:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NB_LEVELS,4,2                  ## @NB_LEVELS
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_init_decoder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_decoder
_init_decoder:                          ; @init_decoder
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	ldr	w0, [x19]
	mov	w1, #4
	bl	_av_malloc_array
	ldr	x8, [x19, #32]
	str	x0, [x8]
	ldp	w0, w1, [x19]
	bl	_FFMAX
	add	w0, w0, #16
	mov	w1, #4
	bl	_av_malloc_array
	ldr	x8, [x19, #32]
	str	x0, [x8, #8]
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x20, _NB_LEVELS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NB_LEVELS@GOTPAGEOFF]
	ldr	w9, [x20]
	lsr	w0, w8, w9
	mov	w1, #4
	bl	_av_malloc_array
	str	x0, [x19, #24]
	ldr	x8, [x19, #32]
	ldr	x9, [x8]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	x8, [x8, #8]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_3:
	mov	x8, #0
	ldp	w10, w9, [x19]
	ldr	x11, [x19, #16]
	mov	w12, #43691
	movk	w12, #43690, lsl #16
	ldr	w0, [x20]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #1
	cmp	x8, #3
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cmp	x8, #0
	cset	w14, ne
	lsr	w13, w9, w14
	lsr	w14, w10, w14
	lsr	w15, w13, w0
	ldr	x16, [x11, x8, lsl #3]
	str	w15, [x16]
	ldr	w0, [x20]
	lsr	w15, w14, w0
	lsr	w17, w13, w0
	mul	w17, w17, w15
	stp	w15, w17, [x16, #4]
	cmn	w0, w0, lsl #1
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, #0
	ldr	w15, [x19, #8]
	add	x16, x16, #36
	mov	w17, #1
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	umull	x0, w17, w12
	lsr	x0, x0, #33
	sub	w0, w0, w0, lsl #2
	and	x2, x1, #0xffffffff
	mul	x2, x2, x12
	lsr	x2, x2, #33
	sub	w2, w15, w2
	lsr	w3, w13, w2
	add	w0, w1, w0
	add	x4, x1, #1
	lsr	w1, w14, w2
	stp	w3, w1, [x16, #-16]
	mul	w2, w3, w1
	cmp	w0, #1
	csel	w3, wzr, w3, eq
	stp	w2, w3, [x16, #-8]
	cmp	w0, #0
	csel	w0, wzr, w1, eq
	str	w0, [x16], #20
	ldr	w0, [x20]
	add	w2, w0, w0, lsl #1
	add	w17, w17, #1
	mov	x1, x4
	cmp	x4, x2
	b.lo	LBB0_7
	b	LBB0_4
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NB_LEVELS,4,2                  ; @NB_LEVELS
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_init_decoder
.subsections_via_symbols
