	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function filter_frame
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_filter_frame:                          ## @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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, -232(%rbp)
	movq	(%rdi), %rdi
	movq	(%rdi), %r15
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -248(%rbp)                ## 8-byte Spill
	movl	(%r15), %r11d
	xorl	%ecx, %ecx
	cmpl	$2, %r11d
	jl	LBB0_7
## %bb.1:
	movq	8(%r15), %r10
	movl	16(%r15), %r14d
	leal	-1(%r11), %r8d
	cmpl	$2, %r11d
	jne	LBB0_3
## %bb.2:
	movl	$1, %ebx
	xorl	%ecx, %ecx
	jmp	LBB0_5
LBB0_3:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	negl	%r9d
	movl	$1, %r12d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r14,%r12), %eax
	cltd
	idivl	%r11d
	movslq	%edx, %rax
	movl	(%r10,%rax,4), %ebx
	imull	%r12d, %ebx
	addl	%ecx, %ebx
	leal	1(%r12), %ecx
	leal	(%r14,%r12), %eax
	incl	%eax
	cltd
	idivl	%r11d
	movslq	%edx, %rax
	imull	(%r10,%rax,4), %ecx
	addl	%ebx, %ecx
	movl	%r12d, %ebx
	addl	$2, %ebx
	leal	(%r9,%r12), %eax
	addl	$2, %eax
	movl	%ebx, %r12d
	cmpl	$1, %eax
	jne	LBB0_4
LBB0_5:
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:
	addl	%ebx, %r14d
	movl	%r14d, %eax
	cltd
	idivl	%r11d
	movslq	%edx, %rax
	imull	(%r10,%rax,4), %ebx
	addl	%ebx, %ecx
LBB0_7:
	movl	%ecx, %eax
	cltd
	idivl	%r11d
	movl	%eax, %r12d
	movl	40(%r15), %ecx
	leaq	-224(%rbp), %r14
	movq	%rdi, -192(%rbp)                ## 8-byte Spill
	movq	%rsi, -216(%rbp)                ## 8-byte Spill
	movq	%r14, %rdx
	callq	_convert_frame
	leaq	32(%r15), %rsi
	movq	%r14, %rdi
	movq	%rsi, -200(%rbp)                ## 8-byte Spill
	callq	_get_badness
	movl	%eax, %r13d
	leal	(%r12,%r13), %r14d
	movq	_AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%r15), %r9d
	imull	$100, %r14d, %eax
	movl	%eax, -236(%rbp)                ## 4-byte Spill
	cltd
	idivl	%r9d
	movl	%eax, %r10d
	cmpl	%r9d, %r14d
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rbx
	cmovlq	%rax, %rbx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %ecx
	movl	%r14d, %r8d
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_av_log
	addq	$16, %rsp
	movl	20(%r15), %eax
	cmpl	%eax, %r14d
	movq	%r13, -208(%rbp)                ## 8-byte Spill
	jl	LBB0_10
## %bb.8:
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	cmpq	$0, 48(%r15)
	je	LBB0_11
LBB0_10:
	leaq	24(%r15), %rdi
	callq	_av_frame_free
	movq	-216(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, 24(%r15)
	movq	-224(%rbp), %rax
	movq	%rax, 32(%r15)
	movq	8(%r15), %rax
	movslq	16(%r15), %rcx
	movl	%r13d, (%rax,%rcx,4)
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -180(%rbp)               ## 4-byte Spill
	movl	$0, -192(%rbp)                  ## 4-byte Folded Spill
	movq	%rbx, -200(%rbp)                ## 8-byte Spill
	movl	%r14d, %r13d
LBB0_16:
	movl	16(%r15), %eax
	incl	%eax
	cltd
	idivl	(%r15)
	movl	%edx, 16(%r15)
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movq	-248(%rbp), %rdi                ## 8-byte Reload
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_17
## %bb.20:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_av_frame_copy_props
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r14d, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ssl	20(%r15), %xmm1
	divss	%xmm1, %xmm0
	leaq	L_.str.4(%rip), %rbx
	leaq	-176(%rbp), %r14
	movq	%r14, %rdi
	movl	$128, %esi
	movq	%rbx, %rdx
	callq	_snprintf
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r13d, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ssl	20(%r15), %xmm1
	divss	%xmm1, %xmm0
	movq	%r14, %rdi
	movl	$128, %esi
	movq	%rbx, %rdx
	callq	_snprintf
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
	xorps	%xmm0, %xmm0
	cvtsi2ssl	-208(%rbp), %xmm0       ## 4-byte Folded Reload
	xorps	%xmm1, %xmm1
	cvtsi2ssl	20(%r15), %xmm1
	divss	%xmm1, %xmm0
	movq	%r14, %rdi
	movl	$128, %esi
	movq	%rbx, %rdx
	callq	_snprintf
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
	movq	%r14, %rdi
	movl	$128, %esi
	movq	%rbx, %rdx
	movss	-180(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_snprintf
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
	movq	%r12, %rdi
	movq	-200(%rbp), %rsi                ## 8-byte Reload
	callq	_av_frame_copy
	cmpb	$0, -192(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_22
## %bb.21:
	leaq	-232(%rbp), %rdi
	callq	_av_frame_free
LBB0_22:
	movq	-248(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ff_filter_frame
	jmp	LBB0_23
LBB0_17:
	cmpb	$0, -192(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_19
## %bb.18:
	leaq	-232(%rbp), %rdi
	callq	_av_frame_free
LBB0_19:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_23:
	movl	%eax, %r13d
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	movl	%r13d, %eax
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	subl	%r12d, %eax
	cvtsi2ss	%eax, %xmm1
	cvtsi2ss	%r13d, %xmm0
	divss	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	movss	%xmm1, -180(%rbp)               ## 4-byte Spill
	ucomiss	%xmm1, %xmm0
	jae	LBB0_12
## %bb.13:
	callq	_av_frame_make_writable
	testl	%eax, %eax
	movq	-216(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_15
## %bb.14:
	movl	%eax, %r13d
	leaq	-232(%rbp), %rdi
	callq	_av_frame_free
	jmp	LBB0_24
LBB0_12:
	movq	%rdi, -200(%rbp)                ## 8-byte Spill
	movq	8(%r15), %rax
	movslq	16(%r15), %rcx
	movl	$0, (%rax,%rcx,4)
	movb	$1, %al
	movl	%eax, -192(%rbp)                ## 4-byte Spill
	movl	%r14d, %r13d
	movq	-216(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_16
LBB0_15:
	movq	24(%r15), %rsi
	movq	-192(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	%rbx, %rdx
	movss	-180(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_blend_frame
	movq	24(%r15), %rsi
	movl	40(%r15), %ecx
	leaq	-224(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rdx, %r13
	callq	_convert_frame
	movq	%r13, %rdi
	movq	-200(%rbp), %rsi                ## 8-byte Reload
	callq	_get_badness
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movl	%r12d, %r13d
	addl	%eax, %r13d
	movq	_AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%r15), %r9d
	movl	-236(%rbp), %eax                ## 4-byte Reload
	cltd
	idivl	%r9d
	movl	%eax, %r10d
	movss	-180(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	subq	$8, %rsp
	leaq	L_.str.3(%rip), %rdx
	movb	$1, %al
	movl	%eax, -192(%rbp)                ## 4-byte Spill
	movq	%r15, %rdi
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movb	$1, %al
	pushq	%r10
	callq	_av_log
	addq	$16, %rsp
	movq	-224(%rbp), %rax
	movq	%rax, 32(%r15)
	movq	8(%r15), %rax
	movslq	16(%r15), %rcx
	movq	-208(%rbp), %rdx                ## 8-byte Reload
	movl	%edx, (%rax,%rcx,4)
	movq	24(%r15), %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	jmp	LBB0_16
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_VERBOSE,4,2             ## @AV_LOG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"badness: %6d -> %6d / %6d (%3d%% - %s)\n"

L_.str.1:                               ## @.str.1
	.asciz	"OK"

L_.str.2:                               ## @.str.2
	.asciz	"EXCEEDED"

L_.str.3:                               ## @.str.3
	.asciz	"  fixed: %6d -> %6d / %6d (%3d%%) factor=%5.3f\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.4:                               ## @.str.4
	.asciz	"%f"

L_.str.5:                               ## @.str.5
	.asciz	"lavfi.photosensitivity.badness"

L_.str.6:                               ## @.str.6
	.asciz	"lavfi.photosensitivity.fixed-badness"

L_.str.7:                               ## @.str.7
	.asciz	"lavfi.photosensitivity.frame-badness"

L_.str.8:                               ## @.str.8
	.asciz	"lavfi.photosensitivity.factor"

	.no_dead_strip	_filter_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_frame
_filter_frame:                          ; @filter_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	d9, d8, [sp, #176]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
	str	x1, [sp, #24]
	ldr	x22, [x0]
	ldp	x19, x8, [x22]
	ldr	w9, [x19]
	cmp	w9, #2
	b.lt	LBB0_3
; %bb.1:
	ldr	x10, [x19, #8]
	ldr	w11, [x19, #16]
	sub	w13, w9, #1
	cmp	w13, #4
	b.hs	LBB0_4
; %bb.2:
	mov	w15, #0
	mov	w12, #1
	b	LBB0_7
LBB0_3:
	mov	w15, #0
	b	LBB0_8
LBB0_4:
	mov	w1, #0
	mov	w17, #0
	mov	w0, #0
	mov	w16, #0
	mov	w15, #0
	and	w14, w13, #0xfffffffc
	orr	w12, w14, #0x1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w2, w1, #2
	add	w3, w11, w1
	add	w4, w3, #1
	sdiv	w5, w4, w9
	msub	w4, w5, w9, w4
	ldr	w4, [x10, w4, sxtw #2]
	add	w5, w1, #3
	madd	w4, w4, w1, w4
	add	w6, w1, #4
	add	w1, w3, #2
	add	w7, w3, #3
	add	w3, w3, #4
	sdiv	w21, w1, w9
	msub	w1, w21, w9, w1
	sdiv	w21, w7, w9
	msub	w7, w21, w9, w7
	sdiv	w21, w3, w9
	msub	w3, w21, w9, w3
	ldr	w1, [x10, w1, sxtw #2]
	ldr	w7, [x10, w7, sxtw #2]
	ldr	w3, [x10, w3, sxtw #2]
	add	w17, w4, w17
	madd	w0, w1, w2, w0
	madd	w16, w7, w5, w16
	madd	w15, w3, w6, w15
	mov	x1, x6
	cmp	w14, w6
	b.ne	LBB0_5
; %bb.6:
	add	w17, w0, w17
	add	w16, w16, w17
	add	w15, w15, w16
	cmp	w13, w14
	b.eq	LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	w13, w11, w12
	sdiv	w14, w13, w9
	msub	w13, w14, w9, w13
	ldr	w13, [x10, w13, sxtw #2]
	madd	w15, w13, w12, w15
	add	w12, w12, #1
	cmp	w9, w12
	b.ne	LBB0_7
LBB0_8:
	ldr	x28, [x8]
	ldr	w3, [x19, #40]
	sdiv	w26, w15, w9
	add	x2, sp, #16
	mov	x0, x22
	mov	x1, x20
	bl	_convert_frame
	add	x27, x19, #32
	add	x0, sp, #16
	mov	x1, x27
	bl	_get_badness
	mov	x23, x0
Lloh3:
	adrp	x8, _AV_LOG_VERBOSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w5, [x19, #20]
	mov	w8, #100
	add	w24, w0, w26
	cmp	w24, w5
	mul	w21, w24, w8
Lloh6:
	adrp	x8, l_.str.2@PAGE
Lloh7:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh8:
	adrp	x9, l_.str.1@PAGE
Lloh9:
	add	x9, x9, l_.str.1@PAGEOFF
	csel	x8, x9, x8, lt
	sdiv	w6, w21, w5
	str	x8, [sp]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x26
	mov	x4, x24
	bl	_av_log
	ldr	w8, [x19, #20]
	cmp	w24, w8
	b.lt	LBB0_11
; %bb.9:
	ldr	x25, [x19, #24]
	cbz	x25, LBB0_11
; %bb.10:
	ldr	x9, [x19, #48]
	cbz	x9, LBB0_23
LBB0_11:
	add	x0, x19, #24
	bl	_av_frame_free
	mov	w26, #0
	ldr	x8, [sp, #16]
	stp	x20, x8, [x19, #24]
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19, #16]
	str	w23, [x8, x9, lsl #2]
	fmov	s8, #1.00000000
	mov	x25, x20
LBB0_12:
	mov	x27, x24
LBB0_13:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	ldr	w9, [x19]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	str	w8, [x19, #16]
	ldp	w2, w1, [x20, #8]
	mov	x0, x28
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_17
; %bb.14:
	mov	x22, x0
	mov	x1, x20
	bl	_av_frame_copy_props
	scvtf	s0, w24
	ldr	s1, [x19, #20]
	scvtf	s1, s1
	fdiv	s0, s0, s1
Lloh12:
	adrp	x20, l_.str.4@PAGE
Lloh13:
	add	x20, x20, l_.str.4@PAGEOFF
	add	x0, sp, #32
	mov	w1, #128
	mov	x2, x20
	bl	_snprintf
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #32
	mov	x0, x22
	mov	w3, #0
	bl	_av_dict_set
	scvtf	s0, w27
	ldr	s1, [x19, #20]
	scvtf	s1, s1
	fdiv	s0, s0, s1
	add	x0, sp, #32
	mov	w1, #128
	mov	x2, x20
	bl	_snprintf
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x2, sp, #32
	mov	x0, x22
	mov	w3, #0
	bl	_av_dict_set
	scvtf	s0, w23
	ldr	s1, [x19, #20]
	scvtf	s1, s1
	fdiv	s0, s0, s1
	add	x0, sp, #32
	mov	w1, #128
	mov	x2, x20
	bl	_snprintf
Lloh18:
	adrp	x1, l_.str.7@PAGE
Lloh19:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x2, sp, #32
	mov	x0, x22
	mov	w3, #0
	bl	_av_dict_set
	add	x0, sp, #32
	mov	w1, #128
	mov	x2, x20
	fmov	s0, s8
	bl	_snprintf
Lloh20:
	adrp	x1, l_.str.8@PAGE
Lloh21:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x2, sp, #32
	mov	x0, x22
	mov	w3, #0
	bl	_av_dict_set
	mov	x0, x22
	mov	x1, x25
	bl	_av_frame_copy
	cbz	w26, LBB0_16
; %bb.15:
	add	x0, sp, #24
	bl	_av_frame_free
LBB0_16:
	mov	x0, x28
	mov	x1, x22
	bl	_ff_filter_frame
	b	LBB0_20
LBB0_17:
	cbz	w26, LBB0_19
; %bb.18:
	add	x0, sp, #24
	bl	_av_frame_free
LBB0_19:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_20:
	mov	x23, x0
LBB0_21:
	ldur	x8, [x29, #-112]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.22:
	mov	x0, x23
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #176]              ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_23:
	sub	w8, w8, w26
	scvtf	s0, w8
	scvtf	s1, w23
	fdiv	s8, s0, s1
	fcmp	s8, #0.0
	b.ls	LBB0_26
; %bb.24:
	mov	x0, x25
	bl	_av_frame_make_writable
	cbz	w0, LBB0_27
; %bb.25:
	mov	x23, x0
	add	x0, sp, #24
	bl	_av_frame_free
	b	LBB0_21
LBB0_26:
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19, #16]
	str	wzr, [x8, x9, lsl #2]
	mov	w26, #1
	b	LBB0_12
LBB0_27:
	ldr	x1, [x19, #24]
	mov	x0, x22
	mov	x2, x20
	fmov	s0, s8
	bl	_blend_frame
	ldr	x1, [x19, #24]
	ldr	w3, [x19, #40]
	add	x2, sp, #16
	mov	x0, x22
	bl	_convert_frame
	add	x0, sp, #16
	mov	x1, x27
	bl	_get_badness
	mov	x23, x0
	add	w27, w0, w26
Lloh28:
	adrp	x8, _AV_LOG_VERBOSE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	ldr	w5, [x19, #20]
	fcvt	d0, s8
	sdiv	w6, w21, w5
	str	d0, [sp]
Lloh31:
	adrp	x2, l_.str.3@PAGE
Lloh32:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x3, x26
	mov	x4, x27
	bl	_av_log
	ldr	x8, [sp, #16]
	str	x8, [x19, #32]
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19, #16]
	str	w23, [x8, x9, lsl #2]
	ldr	x25, [x19, #24]
	mov	w26, #1
	b	LBB0_13
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_VERBOSE,4,2             ; @AV_LOG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"badness: %6d -> %6d / %6d (%3d%% - %s)\n"

l_.str.1:                               ; @.str.1
	.asciz	"OK"

l_.str.2:                               ; @.str.2
	.asciz	"EXCEEDED"

l_.str.3:                               ; @.str.3
	.asciz	"  fixed: %6d -> %6d / %6d (%3d%%) factor=%5.3f\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.4:                               ; @.str.4
	.asciz	"%f"

l_.str.5:                               ; @.str.5
	.asciz	"lavfi.photosensitivity.badness"

l_.str.6:                               ; @.str.6
	.asciz	"lavfi.photosensitivity.fixed-badness"

l_.str.7:                               ; @.str.7
	.asciz	"lavfi.photosensitivity.frame-badness"

l_.str.8:                               ; @.str.8
	.asciz	"lavfi.photosensitivity.factor"

	.no_dead_strip	_filter_frame
.subsections_via_symbols
