	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ir2_decode_plane
_ir2_decode_plane:                      ## @ir2_decode_plane
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testb	$1, %sil
	jne	LBB0_38
## %bb.1:
	movq	%r9, %r14
	movl	%r8d, %r13d
	movq	%rcx, %r12
	movq	%rdi, %r15
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	imull	%esi, %eax
	movq	_IR2_CODES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %ecx
	addl	$-254, %ecx
	cltd
	idivl	%ecx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %ebx
	callq	_get_bits_left
	cmpl	%eax, %ebx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jle	LBB0_2
LBB0_38:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_42:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	testl	%eax, %eax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_11
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	cmpl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	jge	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_ir2_get_code
	movl	%eax, %r15d
	cmpl	$128, %eax
	jl	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leal	(%rbx,%r15,2), %eax
	addl	$-254, %eax
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_38
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leal	(%r15,%r15), %eax
	addl	$-254, %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	addl	%r15d, %r15d
	movslq	%ebx, %rcx
	leaq	(%r12,%rcx,4), %rdi
	movl	%eax, %edx
	shlq	$2, %rdx
	leaq	L_.memset_pattern(%rip), %rsi
	callq	_memset_pattern16
	addl	%r15d, %ebx
	addl	$-254, %ebx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	testl	%r15d, %r15d
	jle	LBB0_38
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	leal	(%r15,%r15), %eax
	movl	(%r14,%rax,4), %eax
	movslq	%ebx, %rcx
	movl	%eax, (%r12,%rcx,4)
	leal	(%r15,%r15), %eax
	incl	%eax
	movl	(%r14,%rax,4), %eax
	leal	2(%rcx), %ebx
	movl	%eax, 4(%r12,%rcx,4)
	jmp	LBB0_10
LBB0_11:
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	cmpl	$2, -48(%rbp)                   ## 4-byte Folded Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jl	LBB0_42
## %bb.12:
	movslq	%r13d, %rax
	leaq	(%r12,%rax,4), %rcx
	addq	$112, %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,4), %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	leaq	64(%r12), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%rax,4), %rbx
	leaq	8(%r12), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	leaq	8(%r12,%rax,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	movl	%r13d, -64(%rbp)                ## 4-byte Spill
	jmp	LBB0_13
LBB0_41:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addq	%rax, -80(%rbp)                 ## 8-byte Folded Spill
	addq	%rax, -72(%rbp)                 ## 8-byte Folded Spill
	addq	%rax, %rbx
	addq	%rax, -96(%rbp)                 ## 8-byte Folded Spill
	addq	%rax, -88(%rbp)                 ## 8-byte Folded Spill
	xorl	%eax, %eax
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	cmpl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	je	LBB0_42
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##       Child Loop BB0_24 Depth 3
                                        ##       Child Loop BB0_27 Depth 3
                                        ##       Child Loop BB0_31 Depth 3
                                        ##       Child Loop BB0_35 Depth 3
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addq	%r12, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_41
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	xorl	%r13d, %r13d
	movq	%r12, -136(%rbp)                ## 8-byte Spill
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	cmpl	%r14d, %r13d
	jge	LBB0_41
LBB0_15:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_24 Depth 3
                                        ##       Child Loop BB0_27 Depth 3
                                        ##       Child Loop BB0_31 Depth 3
                                        ##       Child Loop BB0_35 Depth 3
	movq	%r15, %rdi
	callq	_get_bits_left
	testl	%eax, %eax
	jle	LBB0_38
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	%r15, %rdi
	callq	_ir2_get_code
	movl	%eax, %r15d
	cmpl	$128, %eax
	jl	LBB0_37
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=2
	leal	-254(%r13,%r15,2), %eax
	cmpl	%r14d, %eax
	jg	LBB0_38
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=2
	leal	(%r15,%r15), %eax
	addl	$-254, %eax
	testl	%eax, %eax
	jle	LBB0_40
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=2
	addl	%r15d, %r15d
	movslq	%r13d, %r13
	leal	-256(%r15), %r9d
	xorl	%r8d, %r8d
	cmpl	$6, %r9d
	jb	LBB0_29
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movabsq	$4611686018427387896, %rcx      ## imm = 0x3FFFFFFFFFFFFFF8
	andq	%rcx, %rax
	je	LBB0_29
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=2
	addq	$2, %r9
	movq	%r9, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rax
	movq	%rax, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %edx
	andl	$3, %edx
	cmpq	$24, %rax
	jae	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=2
	xorl	%edi, %edi
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_15 Depth=2
	testl	%r15d, %r15d
	jle	LBB0_38
## %bb.39:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	%r13d, %eax
	subl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	movslq	%eax, %r12
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movl	(%r14,%r12,4), %eax
	leal	(%r15,%r15), %ecx
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movl	(%rdx,%rcx,4), %ecx
	leal	(%rax,%rcx), %edi
	addl	$-128, %edi
	callq	_av_clip_uint8
	movslq	%r13d, %r13
	movl	%eax, (%r14,%r13,4)
	incl	%r12d
	movslq	%r12d, %rax
	movq	-136(%rbp), %r12                ## 8-byte Reload
	movl	(%r14,%rax,4), %eax
	leal	(%r15,%r15), %ecx
	incl	%ecx
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movl	(%rdx,%rcx,4), %ecx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	leal	(%rax,%rcx), %edi
	addl	$-128, %edi
	callq	_av_clip_uint8
	movl	%eax, 4(%r14,%r13,4)
	movl	%r15d, %r14d
	addl	$2, %r13d
	jmp	LBB0_40
LBB0_23:                                ##   in Loop: Header=BB0_15 Depth=2
	movabsq	$4611686018427387896, %rax      ## imm = 0x3FFFFFFFFFFFFFF8
	addq	$4, %rax
	andq	%rax, %rsi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13,4), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r13,4), %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_13 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movups	-64(%rcx,%rdi,4), %xmm0
	movups	-48(%rcx,%rdi,4), %xmm1
	movups	%xmm0, -112(%rax,%rdi,4)
	movups	%xmm1, -96(%rax,%rdi,4)
	movups	-32(%rcx,%rdi,4), %xmm0
	movups	-16(%rcx,%rdi,4), %xmm1
	movups	%xmm0, -80(%rax,%rdi,4)
	movups	%xmm1, -64(%rax,%rdi,4)
	movups	(%rcx,%rdi,4), %xmm0
	movups	16(%rcx,%rdi,4), %xmm1
	movups	%xmm0, -48(%rax,%rdi,4)
	movups	%xmm1, -32(%rax,%rdi,4)
	movups	32(%rcx,%rdi,4), %xmm0
	movups	48(%rcx,%rdi,4), %xmm1
	movups	%xmm0, -16(%rax,%rdi,4)
	movups	%xmm1, (%rax,%rdi,4)
	addq	$32, %rdi
	addq	$-4, %rsi
	jne	LBB0_24
LBB0_25:                                ##   in Loop: Header=BB0_15 Depth=2
	testq	%rdx, %rdx
	je	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_15 Depth=2
	shlq	$5, %rdx
	addq	%r13, %rdi
	leaq	(%rbx,%rdi,4), %rax
	leaq	(%r12,%rdi,4), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_13 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movups	(%rcx,%rsi), %xmm0
	movups	16(%rcx,%rsi), %xmm1
	movups	%xmm0, (%rax,%rsi)
	movups	%xmm1, 16(%rax,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_27
LBB0_28:                                ##   in Loop: Header=BB0_15 Depth=2
	addq	%r8, %r13
	cmpq	%r8, %r9
	je	LBB0_40
LBB0_29:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	%r15d, %ecx
	subl	%r8d, %ecx
	leal	2(%rcx), %eax
	addl	$-255, %ecx
	andl	$3, %eax
	je	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_15 Depth=2
	negl	%eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_31:                                ##   Parent Loop BB0_13 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r12,%r13,4), %esi
	movl	%esi, (%rbx,%r13,4)
	incq	%r13
	decq	%rdx
	cmpl	%edx, %eax
	jne	LBB0_31
## %bb.32:                              ##   in Loop: Header=BB0_15 Depth=2
	subl	%edx, %r8d
LBB0_33:                                ##   in Loop: Header=BB0_15 Depth=2
	cmpl	$3, %ecx
	jb	LBB0_40
## %bb.34:                              ##   in Loop: Header=BB0_15 Depth=2
	subl	%r8d, %r15d
	addl	$-254, %r15d
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13,4), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r13,4), %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_13 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	-8(%rax,%rcx,4), %esi
	movl	%esi, -8(%rdx,%rcx,4)
	movl	-4(%rax,%rcx,4), %esi
	movl	%esi, -4(%rdx,%rcx,4)
	movl	(%rax,%rcx,4), %esi
	movl	%esi, (%rdx,%rcx,4)
	movl	4(%rax,%rcx,4), %esi
	movl	%esi, 4(%rdx,%rcx,4)
	addq	$4, %rcx
	cmpl	%ecx, %r15d
	jne	LBB0_35
## %bb.36:                              ##   in Loop: Header=BB0_15 Depth=2
	addq	%rcx, %r13
	jmp	LBB0_40
	.cfi_endproc
                                        ## -- End function
	.comm	_IR2_CODES,4,2                  ## @IR2_CODES
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	128                             ## 0x80

	.no_dead_strip	_ir2_decode_plane
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ir2_decode_plane
_ir2_decode_plane:                      ; @ir2_decode_plane
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	tbnz	w1, #0, LBB0_2
; %bb.1:
	mov	x19, x5
	mov	x20, x4
	mov	x24, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mul	w8, w2, w1
Lloh0:
	adrp	x9, _IR2_CODES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IR2_CODES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w9, w9, #1
	sub	w9, w9, #254
	sdiv	w25, w8, w9
	bl	_get_bits_left
	cmp	w25, w0
	b.le	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	cmp	w22, #1
	b.lt	LBB0_13
; %bb.5:
	mov	w26, #0
Lloh6:
	adrp	x25, l_.memset_pattern@PAGE
Lloh7:
	add	x25, x25, l_.memset_pattern@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	cmp	w26, w22
	b.ge	LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_ir2_get_code
	cmp	w0, #128
	b.lt	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	lsl	w27, w0, #1
	sub	w8, w27, #254
	add	w9, w8, w26
	cmp	w9, w22
	b.gt	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	lsl	x2, x8, #2
	add	x0, x24, w26, sxtw #2
	mov	x1, x25
	bl	_memset_pattern16
	add	w8, w26, w27
	sub	w26, w8, #254
	b	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w0, #0
	b.le	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	lsl	w8, w0, #1
	ldr	w8, [x19, w8, uxtw #2]
	add	x9, x24, w26, sxtw #2
	str	w8, [x9]
	mov	w8, #1
	bfi	w8, w0, #1, #31
	ldr	w8, [x19, w8, uxtw #2]
	add	w26, w26, #2
	str	w8, [x9, #4]
	b	LBB0_6
LBB0_13:
	cmp	w21, #1
	b.le	LBB0_33
; %bb.14:
	str	w21, [sp, #16]                  ; 4-byte Folded Spill
	sxtw	x8, w20
	and	x9, x8, #0x3ffffffffffffff0
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	lsl	x9, x8, #2
	add	x28, x24, x9
	mov	w10, #1
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	w0, #0
	ldp	w8, w10, [sp, #16]              ; 8-byte Folded Reload
	add	w10, w10, #1
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x28, x28, x9
	mov	x24, x27
	cmp	w10, w8
	b.eq	LBB0_3
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
                                        ;       Child Loop BB0_27 Depth 3
                                        ;       Child Loop BB0_30 Depth 3
	str	w10, [sp, #20]                  ; 4-byte Folded Spill
	add	x27, x24, x9
	cmp	w22, #1
	b.lt	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	w26, #0
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=2
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=2
	cmp	w26, w22
	b.ge	LBB0_15
LBB0_20:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_27 Depth 3
                                        ;       Child Loop BB0_30 Depth 3
	mov	x0, x23
	bl	_get_bits_left
	cmp	w0, #0
	b.le	LBB0_2
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	mov	x0, x23
	bl	_ir2_get_code
	mov	x25, x0
	cmp	w0, #128
	b.lt	LBB0_31
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=2
	lsl	w8, w25, #1
	sub	w9, w8, #254
	add	w10, w9, w26
	cmp	w10, w22
	b.gt	LBB0_2
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=2
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=2
	mov	w9, #0
	sxtw	x10, w26
	sub	w11, w8, #256
	cmp	w11, #14
	b.lo	LBB0_29
; %bb.25:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	x12, [sp, #24]                  ; 8-byte Folded Reload
	cbz	x12, LBB0_29
; %bb.26:                               ;   in Loop: Header=BB0_20 Depth=2
	add	x11, x11, #2
	and	x9, x11, #0x1fffffff0
	add	x26, x9, x10
	lsl	x10, x10, #2
	mov	x12, x9
LBB0_27:                                ;   Parent Loop BB0_16 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x13, x24, x10
	ldp	q0, q1, [x13]
	ldp	q2, q3, [x13, #32]
	add	x13, x28, x10
	stp	q0, q1, [x13]
	stp	q2, q3, [x13, #32]
	add	x10, x10, #64
	subs	x12, x12, #16
	b.ne	LBB0_27
; %bb.28:                               ;   in Loop: Header=BB0_20 Depth=2
	mov	x10, x26
	cmp	x11, x9
	b.eq	LBB0_18
LBB0_29:                                ;   in Loop: Header=BB0_20 Depth=2
	add	x11, x24, x10, lsl #2
	sub	w8, w9, w8
	add	w8, w8, #254
	mov	x26, x10
LBB0_30:                                ;   Parent Loop BB0_16 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w9, [x11], #4
	str	w9, [x28, x26, lsl #2]
	add	x26, x26, #1
	adds	w8, w8, #1
	b.lo	LBB0_30
	b	LBB0_18
LBB0_31:                                ;   in Loop: Header=BB0_20 Depth=2
	cmp	w25, #0
	b.le	LBB0_2
; %bb.32:                               ;   in Loop: Header=BB0_20 Depth=2
	sub	w8, w26, w20
	ldr	w8, [x27, w8, sxtw #2]
	lsl	w9, w25, #1
	ldr	w9, [x19, w9, uxtw #2]
	add	w8, w8, w9
	sub	w0, w8, #128
	bl	_av_clip_uint8
	mov	x8, x26
	sxtw	x8, w8
	str	w0, [x27, w26, sxtw #2]
	add	x21, x8, #1
	sub	w8, w21, w20
	ldr	w8, [x27, w8, sxtw #2]
	mov	w9, #1
	bfi	w9, w25, #1, #31
	ldr	w9, [x19, w9, uxtw #2]
	add	w8, w8, w9
	sub	w0, w8, #128
	bl	_av_clip_uint8
	str	w0, [x27, x21, lsl #2]
	add	w26, w26, #2
	b	LBB0_19
LBB0_33:
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IR2_CODES,4,2                  ; @IR2_CODES
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	128                             ; 0x80
	.long	128                             ; 0x80
	.long	128                             ; 0x80
	.long	128                             ; 0x80

	.no_dead_strip	_ir2_decode_plane
.subsections_via_symbols
