	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flv_read_sample_data
_flv_read_sample_data:                  ## @flv_read_sample_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	%rcx, %r15
	movq	8(%rsi), %rax
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %eax
	subl	4(%rsi), %eax
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movl	(%r15), %ecx
	cmpl	%eax, %ecx
	cmovbl	%ecx, %eax
LBB0_3:
	movq	%r14, %rdi
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.5:
	movq	%rdx, %rsi
	movl	%eax, %edx
	callq	_READ_BYTES
	jmp	LBB0_6
LBB0_4:
	movl	%eax, %esi
	callq	_SKIP_BYTES
LBB0_6:
	addl	%eax, 4(%rbx)
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	movl	%eax, (%r15)
LBB0_8:
	movq	%r14, %rdi
	callq	_STREAM_STATUS
	movq	%rax, 8(%rbx)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.no_dead_strip	_flv_read_sample_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flv_read_sample_data
_flv_read_sample_data:                  ; @flv_read_sample_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	x20, x0
	ldr	x0, [x1, #8]
Lloh0:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.1:
	mov	x21, x3
	mov	x19, x1
	ldp	w8, w9, [x1]
	sub	w8, w8, w9
	cbz	x3, LBB0_3
; %bb.2:
	ldr	w9, [x21]
	cmp	w9, w8
	csel	w8, w9, w8, lo
LBB0_3:
	mov	x0, x20
	cbz	x2, LBB0_5
; %bb.4:
	mov	x1, x2
	mov	x2, x8
	bl	_READ_BYTES
	b	LBB0_6
LBB0_5:
	mov	x1, x8
	bl	_SKIP_BYTES
LBB0_6:
	ldr	w8, [x19, #4]
	add	w8, w8, w0
	str	w8, [x19, #4]
	cbz	x21, LBB0_8
; %bb.7:
	str	w0, [x21]
LBB0_8:
	mov	x0, x20
	bl	_STREAM_STATUS
	str	x0, [x19, #8]
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.no_dead_strip	_flv_read_sample_data
.subsections_via_symbols
