	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function avfilter_work
_avfilter_work:                         ## @avfilter_work
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	(%rdi), %rbx
	movq	(%rsi), %r12
	movq	_HB_BUF_FLAG_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r15
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_filterFrame
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_hb_buffer_list_tail
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	8(%rax), %rcx
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.3:
	addq	24(%rax), %rcx
	movq	%rcx, 16(%rax)
LBB0_4:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_hb_buffer_list_prepend
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_hb_buffer_list_append
	movq	%rbx, %rdi
	callq	_hb_buffer_list_clear
	movq	%rax, (%r14)
	movq	$0, (%r15)
	movq	_HB_FILTER_DONE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_filterFrame
	movq	%rax, (%r14)
	movq	_HB_FILTER_OK@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_BUF_FLAG_EOF,4,2            ## @HB_BUF_FLAG_EOF
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_HB_FILTER_DONE,4,2             ## @HB_FILTER_DONE
	.comm	_HB_FILTER_OK,4,2               ## @HB_FILTER_OK
	.no_dead_strip	_avfilter_work
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function avfilter_work
_avfilter_work:                         ; @avfilter_work
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	ldr	x21, [x0]
	ldr	x22, [x1]
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _HB_BUF_FLAG_EOF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HB_BUF_FLAG_EOF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x0, x21
	mov	x1, #0
	bl	_filterFrame
	mov	x23, x0
	mov	x0, x21
	bl	_hb_buffer_list_tail
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _AV_NOPTS_VALUE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	ldr	x9, [x0, #24]
	add	x8, x9, x8
	str	x8, [x0, #16]
LBB0_4:
	mov	x0, x21
	mov	x1, x23
	bl	_hb_buffer_list_prepend
	mov	x0, x21
	mov	x1, x22
	bl	_hb_buffer_list_append
	mov	x0, x21
	bl	_hb_buffer_list_clear
	str	x0, [x19]
	str	xzr, [x20]
Lloh6:
	adrp	x8, _HB_FILTER_DONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HB_FILTER_DONE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	mov	x1, x22
	bl	_filterFrame
	str	x0, [x19]
Lloh8:
	adrp	x8, _HB_FILTER_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HB_FILTER_OK@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_BUF_FLAG_EOF,4,2            ; @HB_BUF_FLAG_EOF
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_HB_FILTER_DONE,4,2             ; @HB_FILTER_DONE
	.comm	_HB_FILTER_OK,4,2               ; @HB_FILTER_OK
	.no_dead_strip	_avfilter_work
.subsections_via_symbols
