	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function videoParserFlush
_videoParserFlush:                      ## @videoParserFlush
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rdi), %rbx
	movq	$0, -56(%rbp)
	movl	$0, -44(%rbp)
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %r13
	movq	(%r13), %xmm0                   ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	xorl	%eax, %eax
	leaq	-56(%rbp), %r14
	leaq	-44(%rbp), %r15
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	40(%rbx), %esi
	movq	(%r13), %rax
	subq	$8, %rsp
	movq	%r14, %rdx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%rax
	pushq	%rax
	callq	_av_parser_parse2
	addq	$32, %rsp
	movq	32(%rbx), %rax
	movdqu	(%rax), %xmm0
	movq	-56(%rbp), %rcx
	movl	-44(%rbp), %eax
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rcx, 24(%rbx)
	movl	%eax, (%rbx)
	movdqu	%xmm0, 8(%rbx)
	movq	%r12, %rdi
	movdqa	%xmm0, -80(%rbp)                ## 16-byte Spill
	callq	_decodePacket
	movdqa	-80(%rbp), %xmm0                ## 16-byte Reload
	movq	_HB_WORK_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	(%r12)
	movq	-56(%rbp), %rcx
	movl	-44(%rbp), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	jg	LBB0_1
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_HB_WORK_OK,4,2                 ## @HB_WORK_OK
	.no_dead_strip	_videoParserFlush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function videoParserFlush
_videoParserFlush:                      ; @videoParserFlush
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	mov	w9, #0
	mov	x8, #0
	ldr	x20, [x0, #8]
	str	xzr, [sp, #8]
	str	wzr, [sp, #4]
Lloh0:
	adrp	x21, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AV_NOPTS_VALUE@GOTPAGEOFF]
	ldr	x23, [x21]
Lloh2:
	adrp	x22, _HB_WORK_OK@GOTPAGE
Lloh3:
	ldr	x22, [x22, _HB_WORK_OK@GOTPAGEOFF]
	mov	x24, x23
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, #32]
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x20, #40]
	ldr	x6, [x21]
	str	wzr, [sp]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x4, #0
	mov	w5, #0
	mov	x7, x6
	bl	_av_parser_parse2
	ldr	x8, [x20, #32]
	ldp	x24, x23, [x8]
	ldr	x8, [sp, #8]
	ldr	w9, [sp, #4]
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	cbz	x8, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	stp	x23, x8, [x20, #16]
	str	w9, [x20]
	str	x24, [x20, #8]
	mov	x0, x19
	bl	_decodePacket
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	x8, [sp, #8]
	ldr	w9, [sp, #4]
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	cbz	x8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w9, #0
	b.gt	LBB0_1
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_HB_WORK_OK,4,2                 ; @HB_WORK_OK
	.no_dead_strip	_videoParserFlush
.subsections_via_symbols
