	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_parse_stsd_video
_mov_parse_stsd_video:                  ## @mov_parse_stsd_video
	.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	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -320(%rbp)                ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, -312(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	movaps	%xmm0, -192(%rbp)
	movaps	%xmm0, -208(%rbp)
	movaps	%xmm0, -224(%rbp)
	movaps	%xmm0, -240(%rbp)
	movaps	%xmm0, -256(%rbp)
	movaps	%xmm0, -272(%rbp)
	movaps	%xmm0, -288(%rbp)
	movaps	%xmm0, -304(%rbp)
	movq	%rsi, %rdi
	callq	_avio_tell
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_avio_rb16
	movq	%rbx, %rdi
	callq	_avio_rb16
	movq	%rbx, %rdi
	callq	_avio_rb32
	movq	%rbx, %rdi
	callq	_avio_rb32
	movq	%rbx, %rdi
	callq	_avio_rb32
	movq	%rbx, %rdi
	callq	_avio_rb16
	movq	(%r15), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_avio_rb16
	movq	(%r15), %rcx
	movl	%eax, 4(%rcx)
	movq	%rbx, %rdi
	callq	_avio_rb32
	movq	%rbx, %rdi
	callq	_avio_rb32
	movq	%rbx, %rdi
	callq	_avio_rb32
	movq	%rbx, %rdi
	callq	_avio_rb16
	movq	%rbx, %rdi
	callq	_avio_r8
	movl	%eax, %r13d
	cmpl	$31, %eax
	movl	$31, %r14d
	cmovbl	%eax, %r14d
	leaq	-304(%rbp), %rcx
	movq	-312(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movl	$256, %r8d                      ## imm = 0x100
	callq	_mov_read_mac_string
	cmpl	$30, %r13d
	ja	LBB0_2
## %bb.1:
	xorl	$31, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_avio_skip
LBB0_2:
	cmpq	$0, -304(%rbp)
	je	LBB0_4
## %bb.3:
	leaq	8(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-304(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	leaq	-304(%rbp), %rdi
	movl	$25, %edx
	callq	_strncmp
	testl	%eax, %eax
	movq	-320(%rbp), %r14                ## 8-byte Reload
	je	LBB0_6
## %bb.5:
	movq	(%r15), %rax
	movq	8(%rax), %r13
	jmp	LBB0_7
LBB0_6:
	movl	$73, %edi
	movl	$52, %esi
	movl	$50, %edx
	movl	$48, %ecx
	callq	_MKTAG
	movq	%rax, %r13
	movq	(%r15), %rax
	movq	%r13, 8(%rax)
	andb	$-2, (%rax)
	andb	$-2, 4(%rax)
LBB0_7:
	addq	$-16, %r12
	movl	$72, %edi
	movl	$50, %esi
	movl	$54, %edx
	movl	$51, %ecx
	callq	_MKTAG
	cmpq	%rax, %r13
	jne	LBB0_10
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	leaq	-304(%rbp), %rdi
	movl	$13, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	_AV_CODEC_ID_FLV1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r15), %rcx
	movl	%eax, 20(%rcx)
LBB0_10:
	movq	%rbx, %rdi
	callq	_avio_rb16
	movq	(%r15), %rcx
	movl	%eax, 16(%rcx)
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_avio_seek
	movq	(%r15), %rax
	movl	20(%rax), %edi
	movl	4(%r14), %edx
	movq	%rbx, %rsi
	callq	_ff_get_qtpalette
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	(%r15), %rax
	andl	$31, 16(%rax)
	movl	$1, (%r14)
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"encoder"

L_.str.1:                               ## @.str.1
	.asciz	"Planar Y'CbCr 8-bit 4:2:0"

L_.str.2:                               ## @.str.2
	.asciz	"Sorenson H263"

	.comm	_AV_CODEC_ID_FLV1,4,2           ## @AV_CODEC_ID_FLV1
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_mov_parse_stsd_video
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_parse_stsd_video
_mov_parse_stsd_video:                  ; @mov_parse_stsd_video
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x26, x25, [sp, #272]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #224]
	stp	q0, q0, [sp, #192]
	stp	q0, q0, [sp, #160]
	stp	q0, q0, [sp, #128]
	stp	q0, q0, [sp, #96]
	stp	q0, q0, [sp, #64]
	stp	q0, q0, [sp, #32]
	stp	q0, q0, [sp]
	mov	x0, x1
	bl	_avio_tell
	mov	x22, x0
	mov	x0, x21
	bl	_avio_rb16
	mov	x0, x21
	bl	_avio_rb16
	mov	x0, x21
	bl	_avio_rb32
	mov	x0, x21
	bl	_avio_rb32
	mov	x0, x21
	bl	_avio_rb32
	mov	x0, x21
	bl	_avio_rb16
	ldr	x8, [x20]
	str	w0, [x8]
	mov	x0, x21
	bl	_avio_rb16
	ldr	x8, [x20]
	str	w0, [x8, #4]
	mov	x0, x21
	bl	_avio_rb32
	mov	x0, x21
	bl	_avio_rb32
	mov	x0, x21
	bl	_avio_rb32
	mov	x0, x21
	bl	_avio_rb16
	mov	x0, x21
	bl	_avio_r8
	mov	x25, x0
	mov	w8, #31
	cmp	w0, #31
	csel	w24, w0, w8, lo
	mov	x3, sp
	mov	x0, x23
	mov	x1, x21
	mov	x2, x24
	mov	w4, #256
	bl	_mov_read_mac_string
	cmp	w25, #30
	b.hi	LBB0_2
; %bb.1:
	eor	w1, w24, #0x1f
	mov	x0, x21
	bl	_avio_skip
LBB0_2:
	ldr	x8, [sp]
	cbz	x8, LBB0_4
; %bb.3:
	add	x0, x20, #8
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, sp
	mov	w3, #0
	bl	_av_dict_set
LBB0_4:
	sub	x22, x22, #16
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, sp
	mov	w2, #25
	bl	_strncmp
	cbz	w0, LBB0_6
; %bb.5:
	ldr	x8, [x20]
	ldr	x23, [x8, #8]
	b	LBB0_7
LBB0_6:
	mov	w0, #73
	mov	w1, #52
	mov	w2, #50
	mov	w3, #48
	bl	_MKTAG
	mov	x23, x0
	ldr	x8, [x20]
	str	x0, [x8, #8]
	ldr	d0, [x8]
	bic.2s	v0, #1
	str	d0, [x8]
LBB0_7:
	mov	w0, #72
	mov	w1, #50
	mov	w2, #54
	mov	w3, #51
	bl	_MKTAG
	cmp	x23, x0
	b.ne	LBB0_10
; %bb.8:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, sp
	mov	w2, #13
	bl	_strncmp
	cbnz	w0, LBB0_10
; %bb.9:
Lloh9:
	adrp	x8, _AV_CODEC_ID_FLV1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_CODEC_ID_FLV1@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	x9, [x20]
	str	w8, [x9, #20]
LBB0_10:
	mov	x0, x21
	bl	_avio_rb16
	ldr	x8, [x20]
	str	w0, [x8, #16]
Lloh12:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_avio_seek
	ldr	x8, [x20]
	ldr	w0, [x8, #20]
	ldr	w2, [x19, #4]
	mov	x1, x21
	bl	_ff_get_qtpalette
	cbz	x0, LBB0_12
; %bb.11:
	ldr	x8, [x20]
	ldr	w9, [x8, #16]
	and	w9, w9, #0x1f
	str	w9, [x8, #16]
	mov	w8, #1
	str	w8, [x19]
LBB0_12:
	ldur	x8, [x29, #-72]
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_14
; %bb.13:
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"encoder"

l_.str.1:                               ; @.str.1
	.asciz	"Planar Y'CbCr 8-bit 4:2:0"

l_.str.2:                               ; @.str.2
	.asciz	"Sorenson H263"

	.comm	_AV_CODEC_ID_FLV1,4,2           ; @AV_CODEC_ID_FLV1
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_mov_parse_stsd_video
.subsections_via_symbols
