	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_plane
_decode_plane:                          ## @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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, %ebx
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	%rcx, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_bytestream_get_le32
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$257, %eax                      ## imm = 0x101
	jb	LBB0_2
## %bb.1:
	movl	48(%r13), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movl	%eax, %ecx
	callq	_av_log
	jmp	LBB0_3
LBB0_2:
	addl	$-4, %ebx
	leal	(%rax,%rax), %ecx
	movl	%ebx, %edx
	subl	%ecx, %edx
	jae	LBB0_4
LBB0_3:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_4:
	movl	%eax, (%r13)
	xorl	%esi, %esi
	testl	%eax, %eax
	movq	-48(%rbp), %rax
	cmovneq	%rax, %rsi
	movq	%rsi, 40(%r13)
	leaq	32(%r13), %rdi
	movl	%ecx, %ecx
	leaq	(%rax,%rcx,4), %rsi
	shll	$3, %edx
	callq	_init_get_bits
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r13)
	movslq	%ebx, %rax
	shlq	$2, %rax
	addq	-48(%rbp), %rax
	movq	%rax, 8(%r13)
	movups	%xmm0, -64(%rbp)
	movl	(%r12), %eax
	sarl	$2, %eax
	movl	%eax, -88(%rbp)
	movl	4(%r12), %eax
	sarl	$2, %eax
	movl	%eax, -84(%rbp)
	movups	%xmm0, -80(%rbp)
	movq	_INTRA_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CELL_STACK_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r14d, (%rsp)
	leaq	-88(%rbp), %r8
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_parse_bintree
LBB0_5:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Read invalid number of motion vectors %d\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_INTRA_NULL,4,2                 ## @INTRA_NULL
	.comm	_CELL_STACK_MAX,4,2             ## @CELL_STACK_MAX
	.no_dead_strip	_decode_plane
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_plane
_decode_plane:                          ; @decode_plane
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x5
	mov	x23, x4
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	str	x3, [sp, #40]
	add	x0, sp, #40
	bl	_bytestream_get_le32
	mov	x3, x0
	cmp	w0, #257
	b.lo	LBB0_2
; %bb.1:
	ldr	w0, [x22, #48]
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	b	LBB0_3
LBB0_2:
	sub	w23, w23, #4
	lsl	w8, w3, #1
	subs	w9, w23, w8
	b.hs	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	str	w3, [x22]
	ldr	x10, [sp, #40]
	cmp	w3, #0
	csel	x11, xzr, x10, eq
	str	x11, [x22, #40]
	add	x0, x22, #32
	add	x1, x10, w8, uxtw #2
	lsl	w2, w9, #3
	bl	_init_get_bits
	stp	xzr, xzr, [x22, #16]
	ldr	x8, [sp, #40]
	add	x8, x8, w23, sxtw #2
	str	x8, [x22, #8]
	stp	xzr, xzr, [sp, #24]
	ldr	d0, [x20]
	sshr.2s	v0, v0, #2
	str	d0, [sp]
	stp	xzr, xzr, [sp, #8]
Lloh8:
	adrp	x8, _INTRA_NULL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INTRA_NULL@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x8, _CELL_STACK_MAX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CELL_STACK_MAX@GOTPAGEOFF]
Lloh13:
	ldr	w5, [x8]
	mov	x4, sp
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x6, x19
	bl	_parse_bintree
LBB0_5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Read invalid number of motion vectors %d\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_INTRA_NULL,4,2                 ; @INTRA_NULL
	.comm	_CELL_STACK_MAX,4,2             ; @CELL_STACK_MAX
	.no_dead_strip	_decode_plane
.subsections_via_symbols
