	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function decode_frame
LCPI0_0:
	.long	0x428c0000                      ## float 70
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdi, %r12
	movq	8(%rdi), %rcx
	movq	8(%r14), %r13
	movq	%r13, -48(%rbp)
	movslq	(%r14), %rbx
	movl	(%rdi), %eax
	imull	4(%rdi), %eax
	addl	%eax, %eax
	addl	$20, %eax
	cmpl	%eax, %ebx
	jge	LBB0_3
## %bb.1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_2
LBB0_3:
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rdi
	callq	_bytestream_get_le32
	movl	%eax, %r15d
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movl	$82, %edi
	movl	$87, %esi
	movl	$49, %edx
	callq	_MKTAG
	cmpl	%eax, %r15d
	jne	LBB0_4
## %bb.5:
	movq	%r12, %rdi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_34
## %bb.6:
	leaq	(,%rbx,4), %rdx
	addq	%r13, %rdx
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movl	$1, (%r15)
	movq	-48(%rbp), %rax
	movq	%rdx, %rcx
	subq	%rax, %rcx
	cmpq	$31, %rcx
	jle	LBB0_7
## %bb.8:
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	4(%r12), %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leal	1(%rcx), %ebx
	sarl	%ebx
	movq	%r15, %rcx
	movl	(%r12), %r15d
	imull	%ebx, %r15d
	addl	%r15d, %r15d
	movq	16(%rcx), %rcx
	movq	(%rcx), %r13
	addq	$16, %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_bytestream_get_le32
	movl	%eax, %edx
	subl	%r15d, %edx
	jge	LBB0_11
LBB0_9:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movl	%eax, %ecx
	movl	%r15d, %r8d
	jmp	LBB0_10
LBB0_4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_2:
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_7:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_34:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	movq	-48(%rbp), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %r8
	subq	%rsi, %r8
	sarq	$2, %r8
	movslq	%eax, %rcx
	cmpq	%rcx, %r8
	jge	LBB0_13
LBB0_12:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rdi
	movl	%eax, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
LBB0_10:
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_7
LBB0_13:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_14
## %bb.15:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rax
	movslq	(%rax), %rax
	leaq	(%r13,%rax,4), %r13
	jmp	LBB0_16
LBB0_14:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_16:
	movl	%ebx, %eax
	testl	%r9d, %r9d
	jle	LBB0_20
## %bb.17:
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	cmpl	$2, %eax
	movl	$1, %ebx
	cmovgel	%eax, %ebx
	decl	%ebx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edx
	addl	%edx, %edx
	movq	%r13, %rdi
	callq	_memcpy
	movslq	(%r12), %rsi
	shlq	$3, %rsi
	addq	-48(%rbp), %rsi
	movq	%rsi, -48(%rbp)
	subl	$1, %ebx
	jb	LBB0_19
## %bb.35:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	8(%r15), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	cltq
	leaq	(%r13,%rax,4), %r13
	jmp	LBB0_18
LBB0_19:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
LBB0_20:
	movslq	%edx, %rax
	leaq	(%rsi,%rax,4), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, %rcx
	subq	%rax, %rcx
	cmpq	$32, %rcx
	jl	LBB0_7
## %bb.21:
	movl	4(%r12), %ebx
	movl	%ebx, %r13d
	sarl	%r13d
	movq	%r15, %rcx
	movl	(%r12), %r15d
	imull	%r13d, %r15d
	addl	%r15d, %r15d
	movq	16(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	addq	$16, %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_bytestream_get_le32
	movl	%eax, %edi
	subl	%r15d, %edi
	jl	LBB0_9
## %bb.22:
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movq	-48(%rbp), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	subq	%rsi, %rdx
	sarq	$2, %rdx
	movslq	%eax, %rcx
	movq	%rdx, %r8
	cmpq	%rcx, %rdx
	jl	LBB0_12
## %bb.23:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	cmpl	$1, %eax
	jne	LBB0_24
## %bb.25:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movslq	(%rcx), %rcx
	leaq	(%r9,%rcx,8), %r13
	jmp	LBB0_26
LBB0_24:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movslq	(%rcx), %rcx
	leaq	(%r9,%rcx,4), %r13
LBB0_26:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	cmpl	$2, %ebx
	jl	LBB0_33
## %bb.27:
	movl	%edi, -72(%rbp)                 ## 4-byte Spill
	cmpl	$2, %edx
	movl	$1, %ebx
	movl	$1, %r15d
	cmovgel	%edx, %r15d
	testl	%eax, %eax
	je	LBB0_31
LBB0_29:
	cmpl	%ebx, -56(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_31
## %bb.30:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	(%rax), %r13
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edx
	addl	%edx, %edx
	movq	%r13, %rdi
	callq	_memcpy
	movslq	(%r12), %rsi
	shlq	$3, %rsi
	addq	-48(%rbp), %rsi
	movq	%rsi, -48(%rbp)
	cmpl	%ebx, %r15d
	je	LBB0_32
## %bb.36:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	cltq
	leaq	(%r13,%rax,4), %r13
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	incl	%ebx
	testl	%eax, %eax
	jne	LBB0_29
	jmp	LBB0_31
LBB0_32:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	-72(%rbp), %edi                 ## 4-byte Reload
LBB0_33:
	movslq	%edi, %rax
	leaq	(%rsi,%rax,4), %rax
	movq	%rax, -48(%rbp)
	movl	$1, (%rcx)
	movl	(%r14), %eax
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Packet is too small.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"incorrect marker\n"

	.comm	_AV_PICTURE_TYPE_I,4,2          ## @AV_PICTURE_TYPE_I
L_.str.2:                               ## @.str.2
	.asciz	"Field size %i is too small (required %i)\n"

L_.str.3:                               ## @.str.3
	.asciz	"Packet is too small, need %i, have %i\n"

	.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, #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
	mov	x19, x0
	ldr	x24, [x0, #8]
	ldr	x25, [x3, #8]
	str	x25, [sp, #24]
	ldrsw	x26, [x3]
	ldp	w8, w9, [x0]
	mul	w8, w8, w9
	lsl	w8, w8, #1
	add	w8, w8, #20
	cmp	w26, w8
	b.ge	LBB0_2
; %bb.1:
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
	b	LBB0_8
LBB0_2:
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	add	x0, sp, #24
	bl	_bytestream_get_le32
	mov	x23, x0
	mov	w8, #1116471296
	fmov	s0, w8
	mov	w0, #82
	mov	w1, #87
	mov	w2, #49
	bl	_MKTAG
	cmp	w23, w0
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_10
; %bb.4:
	add	x25, x25, x26, lsl #2
Lloh5:
	adrp	x8, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x22, #24]
	mov	w8, #1
	str	w8, [x22]
	ldr	x8, [sp, #24]
	sub	x9, x25, x8
	cmp	x9, #31
	b.le	LBB0_9
; %bb.5:
	ldp	w9, w28, [x19]
	add	w10, w28, #1
	asr	w27, w10, #1
	mul	w9, w9, w27
	lsl	w26, w9, #1
	ldr	x9, [x22, #16]
	ldr	x23, [x9]
	add	x8, x8, #16
	str	x8, [sp, #24]
	add	x0, sp, #24
	bl	_bytestream_get_le32
                                        ; kill: def $w0 killed $w0 def $x0
	subs	w9, w0, w26
	b.ge	LBB0_11
LBB0_6:
Lloh8:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	stp	x0, x26, [sp]
Lloh11:
	adrp	x2, l_.str.2@PAGE
Lloh12:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh13:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_av_log
LBB0_9:
Lloh18:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
LBB0_10:
	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_11:
	ldr	x1, [sp, #24]
	sub	x8, x25, x1
	asr	x8, x8, #2
	cmp	x8, w0, sxtw
	b.ge	LBB0_13
LBB0_12:
Lloh21:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x9]
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	stp	x0, x8, [sp]
Lloh24:
	adrp	x2, l_.str.3@PAGE
Lloh25:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_13:
	ldr	w8, [x24]
	cbz	w8, LBB0_15
; %bb.14:
	ldr	x8, [x22, #8]
	ldrsw	x8, [x8]
	add	x23, x23, x8, lsl #2
LBB0_15:
	cmp	w28, #1
	b.lt	LBB0_20
; %bb.16:
	mov	x28, x9
	cmp	w27, #1
	csinc	w8, w27, wzr, gt
	sub	w26, w8, #1
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	lsl	w2, w8, #1
	mov	x0, x23
	bl	_memcpy
	ldrsw	x8, [x19]
	ldr	x9, [sp, #24]
	add	x1, x9, x8, lsl #3
	str	x1, [sp, #24]
	cbz	w26, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	lsl	w8, w8, #1
	add	x23, x23, w8, sxtw #2
	sub	w26, w26, #1
	b	LBB0_17
LBB0_19:
	mov	x9, x28
LBB0_20:
	add	x8, x1, w9, sxtw #2
	str	x8, [sp, #24]
	sub	x9, x25, x8
	cmp	x9, #32
	b.lt	LBB0_9
; %bb.21:
	ldp	w9, w23, [x19]
	asr	w27, w23, #1
	mul	w9, w9, w27
	lsl	w26, w9, #1
	ldr	x9, [x22, #16]
	ldr	x28, [x9]
	add	x8, x8, #16
	str	x8, [sp, #24]
	add	x0, sp, #24
	bl	_bytestream_get_le32
                                        ; kill: def $w0 killed $w0 def $x0
	subs	w11, w0, w26
	b.lt	LBB0_6
; %bb.22:
	ldr	x1, [sp, #24]
	sub	x8, x25, x1
	asr	x8, x8, #2
	cmp	x8, w0, sxtw
	b.lt	LBB0_12
; %bb.23:
	ldr	w8, [x24]
	ldr	x9, [x22, #8]
	ldr	w9, [x9]
	lsl	w10, w9, #1
	cmp	w8, #1
	csel	w9, w10, w9, eq
	cmp	w23, #2
	b.lt	LBB0_30
; %bb.24:
	mov	x26, x11
	add	x23, x28, w9, sxtw #2
	subs	w25, w27, #1
	csinc	w9, w27, wzr, gt
	sub	w27, w9, #1
	cbz	w8, LBB0_27
LBB0_25:
	cbnz	w25, LBB0_27
; %bb.26:
	ldr	x8, [x22, #16]
	ldr	x23, [x8]
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	lsl	w2, w8, #1
	mov	x0, x23
	bl	_memcpy
	ldrsw	x8, [x19]
	ldr	x9, [sp, #24]
	add	x1, x9, x8, lsl #3
	str	x1, [sp, #24]
	cbz	w27, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	lsl	w8, w8, #1
	add	x23, x23, w8, sxtw #2
	ldr	w8, [x24]
	sub	w27, w27, #1
	sub	w25, w25, #1
	cbnz	w8, LBB0_25
	b	LBB0_27
LBB0_29:
	mov	x11, x26
LBB0_30:
	add	x8, x1, w11, sxtw #2
	str	x8, [sp, #24]
	mov	w8, #1
	str	w8, [x21]
	ldr	w0, [x20]
	b	LBB0_10
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Packet is too small.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"incorrect marker\n"

	.comm	_AV_PICTURE_TYPE_I,4,2          ; @AV_PICTURE_TYPE_I
l_.str.2:                               ; @.str.2
	.asciz	"Field size %i is too small (required %i)\n"

l_.str.3:                               ; @.str.3
	.asciz	"Packet is too small, need %i, have %i\n"

	.no_dead_strip	_decode_frame
.subsections_via_symbols
