	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pp_filter_frame
_pp_filter_frame:                       ## @pp_filter_frame
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rsi, -56(%rbp)
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %r13
	movq	(%rcx), %r14
	movl	4(%r14), %edi
	movl	$8, %esi
	callq	_FFALIGN
	movl	%eax, %r15d
	movl	(%r14), %edi
	movl	$8, %esi
	callq	_FFALIGN
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_av_frame_copy_props
	movl	20(%rbx), %eax
	movl	%eax, 20(%r12)
	movl	16(%rbx), %eax
	movl	%eax, 16(%r12)
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_av_frame_get_qp_table
	movq	8(%rbx), %rdi
	movl	4(%rbx), %esi
	movq	8(%r12), %rdx
	movl	4(%r12), %ecx
	movl	(%r14), %r9d
	movl	-48(%rbp), %r10d
	movq	16(%r13), %r8
	movq	(%r13), %rbx
	movl	(%r8,%rbx,4), %r11d
	movl	8(%r13), %r13d
	movl	-44(%rbp), %ebx
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	movq	_PP_PICT_TYPE_QP2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
LBB0_4:
	orl	(%r12), %ebx
	subq	$8, %rsp
	movl	%r15d, %r8d
	pushq	%rbx
	pushq	%r13
	pushq	%r11
	pushq	%r10
	pushq	%rax
	callq	_pp_postprocess
	addq	$48, %rsp
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ff_filter_frame
	jmp	LBB0_5
LBB0_1:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PP_PICT_TYPE_QP2,4,2           ## @PP_PICT_TYPE_QP2
	.no_dead_strip	_pp_filter_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pp_filter_frame
_pp_filter_frame:                       ; @pp_filter_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x1
	str	x1, [sp, #24]
	ldr	x8, [x0, #8]
	ldp	x8, x23, [x8]
	ldr	x19, [x8]
	ldr	w0, [x19, #4]
	mov	w1, #8
	bl	_FFALIGN
	mov	x20, x0
	ldr	w0, [x19]
	mov	w1, #8
	bl	_FFALIGN
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	mov	x1, x22
	bl	_av_frame_copy_props
	ldr	d0, [x22, #16]
	str	d0, [x21, #16]
	add	x1, sp, #20
	add	x2, sp, #16
	mov	x0, x22
	bl	_av_frame_get_qp_table
	mov	x6, x0
	ldr	x0, [x22, #8]
	ldr	w1, [x22, #4]
	ldr	x2, [x21, #8]
	ldr	w5, [x19]
	ldp	w11, w7, [sp, #16]
	ldr	x8, [x23, #16]
	ldr	x9, [x23]
	ldr	w8, [x8, x9, lsl #2]
	ldr	w9, [x23, #8]
	ldp	w10, w3, [x21]
Lloh0:
	adrp	x12, _PP_PICT_TYPE_QP2@GOTPAGE
Lloh1:
	ldr	x12, [x12, _PP_PICT_TYPE_QP2@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
	cmp	w11, #0
	csel	w11, wzr, w12, eq
	orr	w10, w11, w10
	stp	w9, w10, [sp, #4]
	str	w8, [sp]
	mov	x4, x20
	bl	_pp_postprocess
	add	x0, sp, #24
	bl	_av_frame_free
	mov	x0, x19
	mov	x1, x21
	bl	_ff_filter_frame
	b	LBB0_3
LBB0_2:
	add	x0, sp, #24
	bl	_av_frame_free
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PP_PICT_TYPE_QP2,4,2           ; @PP_PICT_TYPE_QP2
	.no_dead_strip	_pp_filter_frame
.subsections_via_symbols
