	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_frame
_decode_frame:                          ## @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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rcx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %edi
	movq	8(%r14), %rax
	movq	_AV_CODEC_ID_R10K@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$1, %eax
	movl	$64, %esi
	cmovel	%eax, %esi
	callq	_FFALIGN
	movl	%eax, %r12d
	movl	$16777215, %eax                 ## imm = 0xFFFFFF
	andl	16(%r14), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$114, %edi
	movl	$49, %esi
	movl	$48, %edx
	xorl	%ecx, %ecx
	callq	_MKTAG
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	16(%r14), %r13d
	movl	$82, %edi
	movl	$49, %esi
	movl	$48, %edx
	movl	$107, %ecx
	callq	_MKTAG
	cmpl	%eax, %r13d
	jne	LBB0_6
## %bb.1:
	cmpl	$12, 20(%r14)
	jl	LBB0_4
## %bb.2:
	movq	32(%r14), %rdi
	addq	$16, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_6
LBB0_5:
	movq	32(%r14), %rax
	cmpl	$0, 44(%rax)
	sete	%al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_6:
	movl	24(%r14), %eax
	imull	%r12d, %eax
	shll	$2, %eax
	cmpl	%eax, (%rbx)
	jge	LBB0_8
## %bb.7:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_8:
	movq	%rbx, %rax
	movl	%r12d, %ebx
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_27
## %bb.9:
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movl	$1, (%r15)
	movl	24(%r14), %r8d
	testl	%r8d, %r8d
	jle	LBB0_25
## %bb.10:
	movq	16(%r15), %rax
	movq	16(%rax), %rdx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%r14), %eax
	xorl	%ecx, %ecx
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movl	%ebx, -92(%rbp)                 ## 4-byte Spill
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	24(%r14), %r8d
	addq	%r15, %r12
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movl	-92(%rbp), %ebx                 ## 4-byte Reload
	movq	-128(%rbp), %rcx                ## 8-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	%ebx, %edx
	subl	%eax, %edx
	movslq	%edx, %rdx
	leaq	(%r12,%rdx,4), %r12
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rdx
	movslq	(%rdx), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%rsi,4), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movslq	4(%rdx), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%rsi,4), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movslq	8(%rdx), %rdx
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rdx,4), %rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	incl	%ecx
	cmpl	%r8d, %ecx
	jge	LBB0_25
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	testl	%eax, %eax
	jle	LBB0_24
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	8(%r14), %rcx
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_17 Depth=2
	movl	%eax, %esi
	sarl	$10, %esi
	movl	%eax, %edi
	shrl	$20, %edi
	andl	$1023, %edi                     ## imm = 0x3FF
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=2
	andl	$1023, %eax                     ## imm = 0x3FF
	andl	$1023, %esi                     ## imm = 0x3FF
	movl	%edi, %edi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rdi, (%rbx,%rdx,4)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rsi, (%rdi,%rdx,4)
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, (%rsi,%rdx,4)
	movl	(%r14), %eax
	incq	%r13
	addq	$4, %r15
	cmpl	%eax, %r13d
	jge	LBB0_11
LBB0_17:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, -52(%rbp)                 ## 4-byte Folded Reload
	sete	%al
	movq	_AV_CODEC_ID_AVRP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	sete	%cl
	orb	%al, %cl
	orb	-44(%rbp), %cl                  ## 1-byte Folded Reload
	movl	(%r12,%r13,4), %edi
	cmpb	$1, %cl
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	callq	_av_le2ne32
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=2
	callq	_av_be2ne32
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=2
                                        ## kill: def $eax killed $eax def $rax
	movq	%r13, %rdx
	addq	%r13, %rdx
	movq	8(%r14), %rcx
	movq	_AV_CODEC_ID_R210@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	je	LBB0_15
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=2
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, -52(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=2
	movl	%eax, %edi
	andl	$1023, %edi                     ## imm = 0x3FF
	movl	%eax, %esi
	sarl	$10, %esi
	sarl	$20, %eax
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_17 Depth=2
	movl	%eax, %ebx
	shrl	$2, %ebx
	movl	%eax, %esi
	shrl	$12, %esi
	shrl	$22, %eax
	movl	%eax, %edi
	movl	%ebx, %eax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_25:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	$1, (%rax)
	movq	-104(%rbp), %rax                ## 8-byte Reload
LBB0_26:
	movl	(%rax), %eax
LBB0_27:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_ID_R10K,8,3           ## @AV_CODEC_ID_R10K
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DpxE"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"packet too small\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_PICTURE_TYPE_I,4,2          ## @AV_PICTURE_TYPE_I
	.comm	_AV_CODEC_ID_AVRP,8,3           ## @AV_CODEC_ID_AVRP
	.comm	_AV_CODEC_ID_R210,8,3           ## @AV_CODEC_ID_R210
	.no_dead_strip	_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_frame
_decode_frame:                          ; @decode_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x3
	mov	x23, x2
	mov	x28, x1
	mov	x19, x0
	ldr	x25, [x3, #8]
	ldr	w0, [x0]
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _AV_CODEC_ID_R10K@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_CODEC_ID_R10K@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #64
	csinc	w1, w8, wzr, ne
	bl	_FFALIGN
	mov	x27, x0
	ldr	w20, [x19, #16]
	mov	w0, #114
	mov	w1, #49
	mov	w2, #48
	mov	w3, #0
	bl	_MKTAG
	mov	x24, x0
	ldr	w21, [x19, #16]
	mov	w0, #82
	mov	w1, #49
	mov	w2, #48
	mov	w3, #107
	bl	_MKTAG
	mov	w26, #0
	cmp	w21, w0
	str	w27, [sp, #28]                  ; 4-byte Folded Spill
	b.ne	LBB0_6
; %bb.1:
	ldr	w8, [x19, #20]
	cmp	w8, #12
	b.lt	LBB0_3
; %bb.2:
	ldr	x8, [x19, #32]
	add	x0, x8, #16
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_memcmp
	cbz	w0, LBB0_4
LBB0_3:
	mov	w26, #0
	b	LBB0_5
LBB0_4:
	ldr	x8, [x19, #32]
	ldr	w8, [x8, #44]
	cmp	w8, #0
	cset	w26, eq
LBB0_5:
	ldr	w27, [sp, #28]                  ; 4-byte Folded Reload
LBB0_6:
	ldr	w8, [x22]
	ldr	w9, [x19, #24]
	mul	w9, w27, w9
	cmp	w8, w9, lsl #2
	b.ge	LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh10:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
	b	LBB0_20
LBB0_8:
	mov	x0, x19
	mov	x1, x28
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_21
; %bb.9:
	stp	x23, x22, [sp]                  ; 16-byte Folded Spill
Lloh12:
	adrp	x8, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x28, #24]
	mov	w8, #1
	str	w8, [x28]
	ldr	w8, [x19, #24]
	cmp	w8, #1
	ldr	w13, [sp, #28]                  ; 4-byte Folded Reload
	b.lt	LBB0_19
; %bb.10:
	mov	w14, #0
	and	w27, w20, #0xffffff
	ldr	x9, [x28, #16]
	ldp	x22, x15, [x9, #8]
	ldr	x23, [x9]
	ldr	w9, [x19]
Lloh15:
	adrp	x21, _AV_CODEC_ID_R210@GOTPAGE
Lloh16:
	ldr	x21, [x21, _AV_CODEC_ID_R210@GOTPAGEOFF]
	str	x28, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x19, #24]
	ldr	x28, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w13, [sp, #28]                  ; 4-byte Folded Reload
	ldr	w14, [sp, #60]                  ; 4-byte Folded Reload
	ldp	x22, x15, [sp, #40]             ; 16-byte Folded Reload
	ldr	x23, [sp, #32]                  ; 8-byte Folded Reload
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	sub	w10, w13, w9
	add	x25, x25, w10, sxtw #2
	ldr	x10, [x28, #8]
	ldpsw	x11, x12, [x10]
	add	x23, x23, x11, lsl #2
	add	x22, x22, x12, lsl #2
	ldrsw	x10, [x10, #8]
	add	x15, x15, x10, lsl #2
	add	w14, w14, #1
	cmp	w14, w8
	b.ge	LBB0_19
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	str	w14, [sp, #60]                  ; 4-byte Folded Spill
	mov	w20, #0
	ldr	x8, [x19, #8]
	stp	x22, x15, [sp, #40]             ; 16-byte Folded Spill
	mov	x28, x15
	str	x23, [sp, #32]                  ; 8-byte Folded Spill
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=2
	bl	_av_be2ne32
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	add	x25, x25, #4
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	lsr	w10, w0, #2
	lsr	w11, w0, #12
	lsr	w12, w0, #22
	and	w13, w0, #0x3ff
	asr	w14, w0, #10
	asr	w15, w0, #20
	cmp	w27, w24
	csel	w12, w12, w13, ne
	csel	w11, w11, w14, ne
	csel	w10, w10, w15, ne
	ubfx	w13, w0, #20, #10
	cmp	x8, x9
	csel	w9, w12, w13, ne
	csel	w11, w11, w14, ne
	csel	w10, w10, w0, ne
	and	w11, w11, #0x3ff
	str	x9, [x28], #8
	str	x11, [x23], #8
	and	w9, w10, #0x3ff
	str	x9, [x22], #8
	add	w20, w20, #1
	ldr	w9, [x19]
	cmp	w20, w9
	b.ge	LBB0_11
LBB0_17:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
Lloh17:
	adrp	x9, _AV_CODEC_ID_AVRP@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AV_CODEC_ID_AVRP@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	w27, w24, #4, ne
	cset	w8, eq
	orr	w8, w8, w26
	ldr	w0, [x25]
	cmp	w8, #1
	b.ne	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	bl	_av_le2ne32
	b	LBB0_16
LBB0_19:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	mov	w9, #1
	str	w9, [x8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
LBB0_20:
	ldr	w0, [x8]
LBB0_21:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_ID_R10K,8,3           ; @AV_CODEC_ID_R10K
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DpxE"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"packet too small\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_PICTURE_TYPE_I,4,2          ; @AV_PICTURE_TYPE_I
	.comm	_AV_CODEC_ID_AVRP,8,3           ; @AV_CODEC_ID_AVRP
	.comm	_AV_CODEC_ID_R210,8,3           ; @AV_CODEC_ID_R210
	.no_dead_strip	_decode_frame
.subsections_via_symbols
