	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flv_validate_frame_data
_flv_validate_frame_data:               ## @flv_validate_frame_data
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	cmpl	%esi, 8(%rdi)
	jle	LBB0_9
## %bb.1:
	movq	%rcx, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	$130, %eax
	je	LBB0_11
## %bb.2:
	cmpl	$129, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.4:
	cmpl	$0, (%r14)
	jle	LBB0_12
## %bb.5:
	movq	%rbx, %rdi
	callq	__READ_U8
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_7:
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.8:
	decl	%eax
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	callq	__READ_U8
	cmpl	$1, %eax
	jne	LBB0_10
LBB0_9:
	cmpl	$0, (%r14)
	jne	LBB0_15
LBB0_10:
	movq	_VC_CONTAINER_ERROR_CONTINUE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_11:
	movl	(%r14), %eax
	cmpl	$3, %eax
	jg	LBB0_13
LBB0_12:
	movq	_VC_CONTAINER_ERROR_CORRUPTED@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_13:
	decl	%eax
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	callq	__READ_U8
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.14:
	movq	%rbx, %rdi
	callq	__READ_U24
	shll	$8, %eax
	sarl	$8, %eax
	addl	%eax, (%r15)
	movl	$-3, %eax
LBB0_6:
	addl	%eax, (%r14)
	cmpl	$0, (%r14)
	je	LBB0_10
LBB0_15:
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_ERROR_CONTINUE,4,2 ## @VC_CONTAINER_ERROR_CONTINUE
	.comm	_VC_CONTAINER_ERROR_CORRUPTED,4,2 ## @VC_CONTAINER_ERROR_CORRUPTED
	.no_dead_strip	_flv_validate_frame_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flv_validate_frame_data
_flv_validate_frame_data:               ; @flv_validate_frame_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	ldr	w8, [x0, #8]
	cmp	w8, w1
	b.le	LBB0_13
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x8, [x8, w1, sxtw #3]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #130
	b.eq	LBB0_8
; %bb.2:
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_13
; %bb.4:
	ldr	w8, [x19]
	cmp	w8, #0
	b.le	LBB0_9
; %bb.5:
	mov	x0, x20
	bl	__READ_U8
	mov	w8, #-1
	b	LBB0_12
LBB0_6:
	ldr	w8, [x19]
	cmp	w8, #0
	b.le	LBB0_9
; %bb.7:
	sub	w8, w8, #1
	str	w8, [x19]
	mov	x0, x20
	bl	__READ_U8
	cmp	w0, #1
	b.eq	LBB0_13
	b	LBB0_15
LBB0_8:
	ldr	w8, [x19]
	cmp	w8, #3
	b.gt	LBB0_10
LBB0_9:
Lloh0:
	adrp	x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGEOFF]
	b	LBB0_14
LBB0_10:
	mov	x21, x3
	sub	w8, w8, #1
	str	w8, [x19]
	mov	x0, x20
	bl	__READ_U8
	cmp	w0, #1
	b.ne	LBB0_15
; %bb.11:
	mov	x0, x20
	bl	__READ_U24
	lsl	w8, w0, #8
	ldr	w9, [x21]
	add	w8, w9, w8, asr #8
	str	w8, [x21]
	mov	w8, #-3
LBB0_12:
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
LBB0_13:
Lloh2:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh4:
	adrp	x10, _VC_CONTAINER_ERROR_CONTINUE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _VC_CONTAINER_ERROR_CONTINUE@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
LBB0_14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh6:
	adrp	x8, _VC_CONTAINER_ERROR_CONTINUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_CONTINUE@GOTPAGEOFF]
	b	LBB0_14
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_ERROR_CONTINUE,4,2 ; @VC_CONTAINER_ERROR_CONTINUE
	.comm	_VC_CONTAINER_ERROR_CORRUPTED,4,2 ; @VC_CONTAINER_ERROR_CORRUPTED
	.no_dead_strip	_flv_validate_frame_data
.subsections_via_symbols
