	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decavcodecvFlush
_decavcodecvFlush:                      ## @decavcodecvFlush
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.2:
	movq	%rdi, %r14
	leaq	40(%rbx), %rdi
	callq	_hb_buffer_list_close
	movq	32(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.7:
	movq	(%rbx), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_avcodec_flush_buffers          ## TAILCALL
LBB0_3:
	movq	$0, 24(%rbx)
	movq	%rbx, %rdi
	callq	_hb_avcodec_free_context
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_av_parser_close
LBB0_5:
	movl	(%r14), %edi
	callq	_av_parser_init
	movq	%rax, 16(%rbx)
	movl	8(%rbx), %edi
	callq	_avcodec_alloc_context3
	movq	%rax, (%rbx)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decavcodecvFlush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decavcodecvFlush
_decavcodecvFlush:                      ; @decavcodecvFlush
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0, #8]
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.2:
	mov	x20, x0
	add	x0, x19, #40
	bl	_hb_buffer_list_close
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_avcodec_flush_buffers
LBB0_4:
	str	xzr, [x19, #24]
	mov	x0, x19
	bl	_hb_avcodec_free_context
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_av_parser_close
LBB0_6:
	ldr	w0, [x20]
	bl	_av_parser_init
	str	x0, [x19, #16]
	ldr	w0, [x19, #8]
	bl	_avcodec_alloc_context3
	str	x0, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decavcodecvFlush
.subsections_via_symbols
