	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zero12v_decode_frame
_zero12v_decode_frame:                  ## @zero12v_decode_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	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %ecx
	movl	4(%rdi), %r8d
	movq	%rcx, %rax
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	cmpl	$2, %ecx
	jl	LBB0_2
## %bb.1:
	testl	%r8d, %r8d
	jle	LBB0_2
## %bb.3:
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	movq	%rdx, -216(%rbp)                ## 8-byte Spill
	movq	8(%r13), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	-144(%rbp), %rax                ## 8-byte Reload
	leal	(,%rax,8), %ebx
	movslq	%ebx, %rax
	imulq	$1431655766, %rax, %r12         ## imm = 0x55555556
	movq	%r12, %rax
	shrq	$63, %rax
	shrq	$32, %r12
	addl	%eax, %r12d
	movq	8(%r14), %r15
	movl	$48, %edi
	movl	$49, %esi
	movl	$50, %edx
	movl	$118, %ecx
	callq	_MKTAG
	movl	(%r13), %ecx
	movl	4(%r14), %r8d
	cmpq	%rax, %r15
	jne	LBB0_6
## %bb.4:
	movl	%ecx, %eax
	cltd
	idivl	%r8d
                                        ## kill: def $eax killed $eax def $rax
	testl	%edx, %edx
	jne	LBB0_6
## %bb.5:
	leal	(%rax,%rax,2), %edx
	cmpl	%ebx, %edx
	cmovgel	%eax, %r12d
LBB0_6:
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	imull	%r12d, %r8d
	cmpl	%r8d, %ecx
	jge	LBB0_9
## %bb.7:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	jmp	LBB0_8
LBB0_2:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	-144(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
LBB0_8:
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_25
## %bb.24:
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_23
## %bb.10:
	movq	%r13, -192(%rbp)                ## 8-byte Spill
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	$1, (%rbx)
	cmpl	$0, 4(%r14)
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	jle	LBB0_21
## %bb.11:
	movslq	%r12d, %rcx
	movq	-192(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rsi
	movq	-144(%rbp), %rax                ## 8-byte Reload
	leal	(,%rax,4), %edi
	movq	%rdi, -232(%rbp)                ## 8-byte Spill
	leal	2(%rax,%rax), %eax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	leaq	(,%rcx,4), %rax
	movq	%rax, -240(%rbp)                ## 8-byte Spill
	movq	%rcx, -248(%rbp)                ## 8-byte Spill
	leaq	(%rsi,%rcx,4), %rdi
	addq	$-16, %rdi
	xorl	%edx, %edx
	movq	%r14, -256(%rbp)                ## 8-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movq	8(%rcx), %rax
	movq	16(%rcx), %rcx
	movslq	(%rax), %rdi
	movq	-264(%rbp), %rdx                ## 8-byte Reload
	imulq	%rdx, %rdi
	addq	(%rcx), %rdi
	movslq	4(%rax), %r12
	imulq	%rdx, %r12
	addq	8(%rcx), %r12
	movq	-200(%rbp), %rsi                ## 8-byte Reload
	addq	%rsi, %rdi
	movq	-208(%rbp), %r14                ## 8-byte Reload
	subq	%r14, %r12
	movslq	8(%rax), %rbx
	imulq	%rdx, %rbx
	addq	16(%rcx), %rbx
	subq	%r14, %rbx
	movq	-232(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %edx
	subl	%esi, %edx
	leaq	-80(%rbp), %rsi
	callq	_memcpy
	addl	-224(%rbp), %r14d               ## 4-byte Folded Reload
	movq	%r12, %rdi
	leaq	-96(%rbp), %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	leaq	-112(%rbp), %rsi
	movl	%r14d, %edx
	callq	_memcpy
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-272(%rbp), %rdx                ## 8-byte Reload
	incl	%edx
	movq	-280(%rbp), %rdi                ## 8-byte Reload
	addq	-240(%rbp), %rdi                ## 8-byte Folded Reload
	movq	-288(%rbp), %rsi                ## 8-byte Reload
	movq	%rsi, %r8
	movq	-256(%rbp), %r14                ## 8-byte Reload
	cmpl	4(%r14), %edx
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	jge	LBB0_21
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movq	-248(%rbp), %rax                ## 8-byte Reload
	leaq	(%rsi,%rax,4), %rsi
	movq	%rsi, -288(%rbp)                ## 8-byte Spill
	movq	l___const.zero12v_decode_frame.y_temp+16(%rip), %rax
	movq	%rax, -64(%rbp)
	movaps	l___const.zero12v_decode_frame.y_temp(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movl	l___const.zero12v_decode_frame.v_temp+8(%rip), %eax
	movl	%eax, -88(%rbp)
	movq	l___const.zero12v_decode_frame.v_temp(%rip), %rcx
	movq	%rcx, -96(%rbp)
	movl	%eax, -104(%rbp)
	movq	%rcx, -112(%rbp)
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movslq	8(%rax), %r12
	movq	%rdx, -272(%rbp)                ## 8-byte Spill
	movslq	%edx, %rdx
	imulq	%rdx, %r12
	addq	16(%rcx), %r12
	movslq	4(%rax), %rsi
	imulq	%rdx, %rsi
	addq	8(%rcx), %rsi
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	movslq	(%rax), %rbx
	movq	%rdx, -264(%rbp)                ## 8-byte Spill
	imulq	%rdx, %rbx
	addq	(%rcx), %rbx
	movq	%r8, %r13
	negq	%r13
	movq	%rdi, -280(%rbp)                ## 8-byte Spill
	movq	%rdi, %rdx
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %esi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	xorl	%edi, %edi
	movq	%r8, %r14
	movq	%r13, -176(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edi, -180(%rbp)                ## 4-byte Spill
	movq	%rcx, -200(%rbp)                ## 8-byte Spill
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movl	%esi, -148(%rbp)                ## 4-byte Spill
	cmpl	$6, %esi
	setl	%cl
	leaq	(%rdx,%r13), %rsi
	addq	$16, %rsi
	cmpq	$64, %rsi
	setl	%al
	cmpq	$16, %rsi
	jl	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	%ecx, %r15d
	orb	%al, %r15b
	movq	%r14, %rdi
	movq	%rdx, -168(%rbp)                ## 8-byte Spill
	callq	_AV_RL32
	movl	%eax, %ecx
	shll	$6, %ecx
	movl	%eax, %edx
	shrl	$4, %edx
	andl	$65472, %edx                    ## imm = 0xFFC0
	shrl	$14, %eax
	andl	$65472, %eax                    ## imm = 0xFFC0
	movb	%r15b, -113(%rbp)               ## 1-byte Spill
	testb	%r15b, %r15b
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	leaq	-96(%rbp), %rdi
	cmovneq	%rdi, %rsi
	movzwl	%cx, %ecx
	movl	%ecx, (%rsi)
	movq	%rbx, %rcx
	leaq	-80(%rbp), %rsi
	cmovneq	%rsi, %rcx
	movl	%edx, (%rcx)
	movq	%r12, %rcx
	leaq	-112(%rbp), %rdx
	cmovneq	%rdx, %rcx
	movl	%eax, (%rcx)
	leaq	4(%r12), %r15
	leaq	-108(%rbp), %rax
	cmovneq	%rax, %r15
	movq	-168(%rbp), %rax                ## 8-byte Reload
	addq	%r13, %rax
	cmpq	$16, %rax
	jl	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	4(%rax), %r13
	movq	%r12, -304(%rbp)                ## 8-byte Spill
	movq	-160(%rbp), %rax                ## 8-byte Reload
	leaq	4(%rax), %r12
	addq	$16, %r14
	movq	%r14, %rdi
	callq	_AV_RL32
	movl	%eax, %ecx
	shll	$6, %ecx
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	addq	$8, %rdx
	cmpb	$0, -113(%rbp)                  ## 1-byte Folded Reload
	leaq	-76(%rbp), %rsi
	cmovneq	%rsi, %r13
	leaq	-92(%rbp), %rsi
	cmovneq	%rsi, %r12
	movzwl	%cx, %ecx
	leaq	-72(%rbp), %rsi
	cmovneq	%rsi, %rdx
	movl	%ecx, (%r13)
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movl	%eax, %ecx
	shrl	$4, %ecx
	andl	$65472, %ecx                    ## imm = 0xFFC0
	movl	%ecx, (%r12)
	movq	-304(%rbp), %r12                ## 8-byte Reload
	shrl	$14, %eax
	andl	$65472, %eax                    ## imm = 0xFFC0
	movl	%eax, (%rdx)
	movq	-176(%rbp), %rax                ## 8-byte Reload
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	addq	%rcx, %rax
	addq	$-16, %rax
	cmpq	$16, %rax
	jl	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=2
	leaq	12(%rsi), %rax
	movq	%rax, -296(%rbp)                ## 8-byte Spill
	movq	-160(%rbp), %r13                ## 8-byte Reload
	leaq	8(%r13), %rbx
	addq	$16, %r14
	movq	%r14, %rdi
	callq	_AV_RL32
	movl	%eax, %ecx
	shll	$6, %ecx
	movl	%eax, %edx
	shrl	$4, %edx
	andl	$65472, %edx                    ## imm = 0xFFC0
	shrl	$14, %eax
	andl	$65472, %eax                    ## imm = 0xFFC0
	addq	$12, %r13
	cmpb	$0, -113(%rbp)                  ## 1-byte Folded Reload
	leaq	-68(%rbp), %rsi
	movq	-296(%rbp), %rdi                ## 8-byte Reload
	cmovneq	%rsi, %rdi
	leaq	-88(%rbp), %rsi
	cmovneq	%rsi, %rbx
	movzwl	%cx, %ecx
	movl	%ecx, (%r15)
	leaq	-84(%rbp), %rcx
	cmovneq	%rcx, %r13
	movq	%r13, -160(%rbp)                ## 8-byte Spill
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movl	%edx, (%rdi)
	movl	%eax, (%rbx)
	movq	-176(%rbp), %rax                ## 8-byte Reload
	movq	-168(%rbp), %rdx                ## 8-byte Reload
	addq	%rdx, %rax
	addq	$-32, %rax
	cmpq	$16, %rax
	jl	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=2
	leaq	16(%rcx), %r15
	leaq	8(%r12), %r13
	addq	$16, %r14
	movq	%r14, %rdi
	callq	_AV_RL32
	movl	%eax, %ecx
	shll	$6, %ecx
	cmpb	$0, -113(%rbp)                  ## 1-byte Folded Reload
	leaq	-64(%rbp), %rdx
	cmovneq	%rdx, %r15
	leaq	-104(%rbp), %rdx
	cmovneq	%rdx, %r13
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	leaq	20(%rdx), %rdx
	leaq	-60(%rbp), %rsi
	cmovneq	%rsi, %rdx
	movl	%eax, %esi
	shrl	$4, %esi
	andl	$65472, %esi                    ## imm = 0xFFC0
	shrl	$14, %eax
	andl	$65472, %eax                    ## imm = 0xFFC0
	movzwl	%cx, %ecx
	movl	%ecx, (%r15)
	movl	%esi, (%r13)
	movq	-176(%rbp), %r13                ## 8-byte Reload
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movl	%eax, (%rdx)
	movq	-168(%rbp), %rdx                ## 8-byte Reload
	cmpl	$6, -148(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=2
	addq	$24, %rbx
	addq	$12, %r12
	cmpb	$0, -113(%rbp)                  ## 1-byte Folded Reload
	leaq	-56(%rbp), %rax
	cmovneq	%rax, %rbx
	leaq	-100(%rbp), %rax
	cmovneq	%rax, %r12
	movl	-180(%rbp), %edi                ## 4-byte Reload
	addl	$6, %edi
	movq	-208(%rbp), %rax                ## 8-byte Reload
	addq	$-12, %rax
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	addq	$24, %rcx
	movl	-148(%rbp), %esi                ## 4-byte Reload
	addl	$-6, %esi
	addq	$-64, %rdx
	addq	$16, %r14
	cmpl	%edi, -144(%rbp)                ## 4-byte Folded Reload
	jg	LBB0_13
	jmp	LBB0_20
LBB0_21:
	movq	-216(%rbp), %rax                ## 8-byte Reload
	movl	$1, (%rax)
	movq	-192(%rbp), %rax                ## 8-byte Reload
	jmp	LBB0_22
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dimensions %dx%d not supported.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"Packet too small: %d instead of %d\n"

	.comm	_AV_PICTURE_TYPE_I,4,2          ## @AV_PICTURE_TYPE_I
	.section	__TEXT,__const
	.p2align	4                               ## @__const.zero12v_decode_frame.y_temp
l___const.zero12v_decode_frame.y_temp:
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000

	.p2align	2                               ## @__const.zero12v_decode_frame.v_temp
l___const.zero12v_decode_frame.v_temp:
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000

	.no_dead_strip	_zero12v_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zero12v_decode_frame
_zero12v_decode_frame:                  ; @zero12v_decode_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #432
	.cfi_def_cfa_offset 432
	stp	x28, x27, [sp, #336]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #352]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #368]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #384]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #400]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #416]            ; 16-byte Folded Spill
	add	x29, sp, #416
	.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	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldp	w25, w4, [x0]
	cmp	w25, #2
	ccmp	w4, #0, #4, ge
	b.gt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x3, x25
	b	LBB0_7
LBB0_2:
	mov	x23, x3
	mov	x26, x2
	mov	x27, x1
	ldr	x24, [x3, #8]
	lsl	w20, w25, #3
	mov	w8, #21846
	movk	w8, #21845, lsl #16
	smull	x8, w20, w8
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w19, w8, w9
	ldr	x21, [x22, #8]
	mov	w0, #48
	mov	w1, #49
	mov	w2, #50
	mov	w3, #118
	bl	_MKTAG
	ldr	w3, [x23]
	ldr	w8, [x22, #4]
	cmp	x21, x0
	b.ne	LBB0_5
; %bb.3:
	sdiv	w9, w3, w8
	msub	w10, w9, w8, w3
	cbnz	w10, LBB0_5
; %bb.4:
	add	w10, w9, w9, lsl #1
	cmp	w10, w20
	csel	w19, w19, w9, lt
LBB0_5:
	mul	w4, w8, w19
	cmp	w3, w4
	b.ge	LBB0_11
; %bb.6:
Lloh8:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
LBB0_7:
	bl	_av_log
Lloh13:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
LBB0_9:
	ldur	x8, [x29, #-96]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.10:
	ldp	x29, x30, [sp, #416]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #400]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #384]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #368]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #352]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #336]            ; 16-byte Folded Reload
	add	sp, sp, #432
	ret
LBB0_11:
	mov	x0, x22
	mov	x1, x27
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_9
; %bb.12:
	stp	x26, x23, [sp]                  ; 16-byte Folded Spill
Lloh18:
	adrp	x8, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x27, #24]
	mov	w8, #1
	str	w8, [x27]
	ldr	w8, [x22, #4]
	cmp	w8, #1
	b.lt	LBB0_23
; %bb.13:
	mov	w12, #0
	sxtw	x9, w19
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x10, [x8, #8]
	sub	x8, x29, #160
	add	x11, x8, #4
	stur	x11, [x29, #-200]               ; 8-byte Folded Spill
	sub	x11, x29, #128
	add	x15, x11, #4
	sub	x13, x29, #144
	add	x14, x13, #4
	stp	x14, x15, [sp, #200]            ; 16-byte Folded Spill
	add	x15, x11, #8
	add	x14, x11, #12
	stp	x14, x15, [sp, #184]            ; 16-byte Folded Spill
	add	x14, x13, #8
	add	x13, x13, #12
	stp	x13, x14, [sp, #168]            ; 16-byte Folded Spill
	add	x14, x11, #16
	add	x13, x8, #8
	stp	x13, x14, [sp, #152]            ; 16-byte Folded Spill
	add	x13, x11, #20
	add	x11, x11, #24
	stp	x11, x13, [sp, #136]            ; 16-byte Folded Spill
	add	x8, x8, #12
	str	x8, [sp, #128]                  ; 8-byte Folded Spill
	lsl	w11, w25, #2
	lsl	w8, w25, #1
	add	w8, w8, #2
	stp	x8, x11, [sp, #16]              ; 16-byte Folded Spill
Lloh21:
	adrp	x8, l___const.zero12v_decode_frame.y_temp@PAGE
Lloh22:
	add	x8, x8, l___const.zero12v_decode_frame.y_temp@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #64]                   ; 16-byte Folded Spill
	ldr	x8, [x8, #16]
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
Lloh23:
	adrp	x8, l___const.zero12v_decode_frame.v_temp@PAGE
Lloh24:
	add	x8, x8, l___const.zero12v_decode_frame.v_temp@PAGEOFF
	stp	x9, x22, [sp, #80]              ; 16-byte Folded Spill
	lsl	x9, x9, #2
	ldr	x11, [x8]
	stp	x11, x9, [sp, #40]              ; 16-byte Folded Spill
	add	x9, x10, x9
	sub	x23, x9, #16
	ldr	w8, [x8, #8]
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	stur	w25, [x29, #-192]               ; 4-byte Folded Spill
	str	x27, [sp, #96]                  ; 8-byte Folded Spill
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	ldp	x9, x8, [x9, #8]
	ldr	x10, [sp, #120]                 ; 8-byte Folded Reload
	sxtw	x10, w10
	ldp	x11, x12, [x8]
	ldpsw	x13, x14, [x9]
	madd	x11, x13, x10, x11
	ldp	x13, x19, [x29, #-184]          ; 16-byte Folded Reload
	add	x0, x11, x13
	madd	x11, x14, x10, x12
	sub	x24, x11, x19
	ldr	x8, [x8, #16]
	ldrsw	x9, [x9, #8]
	madd	x8, x9, x10, x8
	sub	x25, x8, x19
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	sub	w2, w8, w13
	sub	x1, x29, #128
	bl	_memcpy
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	w26, w8, w19
	sub	x1, x29, #144
	mov	x0, x24
	mov	x2, x26
	bl	_memcpy
	sub	x1, x29, #160
	mov	x0, x25
	mov	x2, x26
	bl	_memcpy
	ldur	w25, [x29, #-192]               ; 4-byte Folded Reload
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldp	x10, x12, [sp, #112]            ; 16-byte Folded Reload
	add	w12, w12, #1
	ldp	x22, x27, [sp, #88]             ; 16-byte Folded Reload
	ldr	w8, [x22, #4]
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x23, [sp, #104]                 ; 8-byte Folded Reload
	add	x23, x23, x9
	mov	x24, x10
	cmp	w12, w8
	b.ge	LBB0_23
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	mov	x14, #0
	mov	x13, #0
	mov	w15, #0
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	add	x10, x10, x8, lsl #2
	stp	x10, x12, [sp, #112]            ; 16-byte Folded Spill
	ldr	q0, [sp, #64]                   ; 16-byte Folded Reload
	stur	q0, [x29, #-128]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	stur	x8, [x29, #-112]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	stur	x8, [x29, #-144]
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	stur	w9, [x29, #-136]
	stur	w9, [x29, #-152]
	stur	x8, [x29, #-160]
	ldp	x9, x8, [x27, #8]
	ldr	x10, [x8, #16]
	ldrsw	x11, [x9, #8]
                                        ; kill: def $w12 killed $w12 killed $x12 def $x12
	sxtw	x12, w12
	madd	x21, x11, x12, x10
	ldp	x8, x10, [x8]
	ldpsw	x9, x11, [x9]
	madd	x19, x11, x12, x10
	madd	x22, x9, x12, x8
	neg	x8, x24
	stur	x8, [x29, #-168]                ; 8-byte Folded Spill
	str	x23, [sp, #104]                 ; 8-byte Folded Spill
	mov	x28, x25
LBB0_17:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stur	w15, [x29, #-188]               ; 4-byte Folded Spill
	stp	x14, x13, [x29, #-184]          ; 16-byte Folded Spill
	cmp	w28, #6
	ldur	x8, [x29, #-168]                ; 8-byte Folded Reload
	add	x20, x8, x23
	add	x8, x20, #16
	mov	w9, #64
	ccmp	x8, x9, #8, ge
	cset	w27, lt
	cmp	x8, #16
	b.lt	LBB0_14
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	x0, x24
	bl	_AV_RL32
	cmp	w27, #0
	sub	x8, x29, #160
	csel	x8, x8, x21, ne
	sub	x9, x29, #144
	csel	x9, x9, x19, ne
	sub	x10, x29, #128
	csel	x10, x10, x22, ne
	ubfiz	w11, w0, #6, #10
	str	w11, [x9]
	lsr	w9, w0, #4
	and	w9, w9, #0xffc0
	str	w9, [x10]
	lsr	w9, w0, #14
	and	w9, w9, #0xffc0
	add	x10, x21, #4
	ldur	x11, [x29, #-200]               ; 8-byte Folded Reload
	csel	x26, x11, x10, ne
	str	w9, [x8]
	cmp	x20, #16
	b.lt	LBB0_14
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x20, x22, #4
	add	x24, x24, #16
	mov	x0, x24
	bl	_AV_RL32
	cmp	w27, #0
	ldp	x10, x8, [sp, #200]             ; 16-byte Folded Reload
	csel	x8, x8, x20, ne
	add	x9, x19, #4
	csel	x9, x10, x9, ne
	ubfiz	w10, w0, #6, #10
	add	x11, x22, #8
	ldr	x12, [sp, #192]                 ; 8-byte Folded Reload
	csel	x11, x12, x11, ne
	str	w10, [x8]
	lsr	w8, w0, #4
	and	w8, w8, #0xffc0
	str	w8, [x9]
	lsr	w8, w0, #14
	and	w8, w8, #0xffc0
	str	w8, [x11]
	ldur	x8, [x29, #-168]                ; 8-byte Folded Reload
	add	x20, x8, x23
	sub	x8, x20, #16
	cmp	x8, #16
	b.lt	LBB0_14
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x25, x22, #12
	add	x24, x24, #16
	mov	x0, x24
	bl	_AV_RL32
	cmp	w27, #0
	ldp	x10, x8, [sp, #176]             ; 16-byte Folded Reload
	csel	x8, x8, x25, ne
	add	x9, x19, #8
	csel	x9, x10, x9, ne
	ubfiz	w10, w0, #6, #10
	str	w10, [x26]
	lsr	w10, w0, #4
	and	w10, w10, #0xffc0
	str	w10, [x8]
	lsr	w8, w0, #14
	and	w8, w8, #0xffc0
	add	x10, x19, #12
	ldr	x11, [sp, #168]                 ; 8-byte Folded Reload
	csel	x19, x11, x10, ne
	str	w8, [x9]
	sub	x8, x20, #32
	cmp	x8, #16
	b.lt	LBB0_14
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x20, x22, #16
	add	x24, x24, #16
	mov	x0, x24
	bl	_AV_RL32
	cmp	w27, #0
	ldp	x10, x8, [sp, #152]             ; 16-byte Folded Reload
	csel	x8, x8, x20, ne
	add	x9, x21, #8
	csel	x9, x10, x9, ne
	ubfiz	w10, w0, #6, #10
	add	x11, x22, #20
	ldr	x12, [sp, #144]                 ; 8-byte Folded Reload
	csel	x11, x12, x11, ne
	str	w10, [x8]
	lsr	w8, w0, #4
	and	w8, w8, #0xffc0
	str	w8, [x9]
	lsr	w8, w0, #14
	and	w8, w8, #0xffc0
	str	w8, [x11]
	subs	w28, w28, #6
	b.lt	LBB0_14
; %bb.22:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x8, x22, #24
	cmp	w27, #0
	ldr	x9, [sp, #136]                  ; 8-byte Folded Reload
	csel	x22, x9, x8, ne
	add	x8, x21, #12
	ldr	x9, [sp, #128]                  ; 8-byte Folded Reload
	csel	x21, x9, x8, ne
	ldp	w25, w15, [x29, #-192]          ; 8-byte Folded Reload
	add	w15, w15, #6
	ldp	x14, x13, [x29, #-184]          ; 16-byte Folded Reload
	sub	x13, x13, #12
	add	x14, x14, #24
	sub	x23, x23, #64
	add	x24, x24, #16
	cmp	w25, w15
	b.gt	LBB0_17
	b	LBB0_15
LBB0_23:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	mov	w9, #1
	str	w9, [x8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	b	LBB0_8
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dimensions %dx%d not supported.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"Packet too small: %d instead of %d\n"

	.comm	_AV_PICTURE_TYPE_I,4,2          ; @AV_PICTURE_TYPE_I
	.section	__TEXT,__const
	.p2align	2                               ; @__const.zero12v_decode_frame.y_temp
l___const.zero12v_decode_frame.y_temp:
	.long	32768                           ; 0x8000
	.long	32768                           ; 0x8000
	.long	32768                           ; 0x8000
	.long	32768                           ; 0x8000
	.long	32768                           ; 0x8000
	.long	32768                           ; 0x8000

	.p2align	2                               ; @__const.zero12v_decode_frame.v_temp
l___const.zero12v_decode_frame.v_temp:
	.long	32768                           ; 0x8000
	.long	32768                           ; 0x8000
	.long	32768                           ; 0x8000

	.no_dead_strip	_zero12v_decode_frame
.subsections_via_symbols
