	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rsi, -64(%rbp)
	movq	16(%rdi), %rbx
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r13
	movl	8(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r12
	movl	8(%r13), %edi
	callq	_av_pix_fmt_desc_get
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movl	(%r13), %edx
	movl	4(%r13), %esi
	movq	%r13, %rdi
	callq	_ff_get_video_buffer
	movq	%rax, -112(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_av_frame_copy_props
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	%r14, %rbx
	movq	(%r14), %rax
	movq	_AVCOL_TRC_UNSPECIFIED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVCOL_TRC_LINEAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	jmp	LBB0_11
LBB0_2:
	leaq	-64(%rbp), %rdi
	callq	_av_frame_free
	movq	_AVERROR_BUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_34
LBB0_4:
	leaq	-64(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_33
LBB0_6:
	movl	%eax, %r14d
	leaq	-64(%rbp), %rdi
	callq	_av_frame_free
	leaq	-112(%rbp), %rdi
	callq	_av_frame_free
	jmp	LBB0_34
LBB0_9:
	movq	_AVCOL_TRC_LINEAR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_11
## %bb.10:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_11:
	xorpd	%xmm0, %xmm0
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jne	LBB0_13
	jp	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_ff_determine_signal_peak
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movb	$1, %al
	callq	_av_log
LBB0_13:
	movq	_luma_coefficients@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rdi
	leaq	(%rax,%rdi,4), %rcx
	movq	%rcx, 16(%r13)
	cmpq	$0, 8(%r13)
	jle	LBB0_21
## %bb.14:
	movq	_AVCOL_SPC_UNSPECIFIED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rdi
	je	LBB0_16
## %bb.15:
	testq	%rax, %rax
	jne	LBB0_21
LBB0_16:
	cmpq	%rcx, %rdi
	jne	LBB0_18
## %bb.17:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_20
LBB0_18:
	testq	%rax, %rax
	jne	LBB0_20
## %bb.19:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_av_color_space_name
	leaq	L_.str.4(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_20:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	$0, 8(%r13)
LBB0_21:
	movq	%r12, -120(%rbp)
	movq	%rbx, -128(%rbp)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -136(%rbp)
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, -144(%rbp)
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_tonemap_slice@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movl	16(%rbx), %r14d
	movq	%r13, %rdi
	callq	_ff_filter_get_nb_threads
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_FFMIN
	leaq	-144(%rbp), %rdx
	movq	%r13, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	movq	_AV_PIX_FMT_FLAG_ALPHA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%r15), %ecx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	testl	%eax, (%rdx)
	je	LBB0_24
## %bb.22:
	testl	%eax, %ecx
	je	LBB0_32
## %bb.23:
	movq	24(%r12), %rax
	movq	40(%r12), %rcx
	movq	24(%rcx), %rdi
	movl	12(%rax), %esi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rcx), %rax
	movq	40(%rcx), %rcx
	movq	24(%rcx), %rdx
	movl	12(%rax), %ecx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r9d
	movl	%esi, %r8d
	callq	_av_image_copy_plane
	jmp	LBB0_32
LBB0_24:
	testl	%eax, %ecx
	je	LBB0_32
## %bb.25:
	movl	16(%r12), %ecx
	testl	%ecx, %ecx
	jle	LBB0_32
## %bb.26:
	movl	32(%r12), %eax
	xorl	%r14d, %r14d
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_27 Depth=1
	incl	%r14d
	cmpl	%ecx, %r14d
	jge	LBB0_32
LBB0_27:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
	testl	%eax, %eax
	jle	LBB0_31
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_27 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	24(%r12), %rax
	movq	40(%r12), %rcx
	movq	8(%r15), %rdx
	movslq	12(%rdx), %rdx
	movslq	%ebx, %rbx
	imulq	%rbx, %rdx
	addq	24(%rcx), %rdx
	movslq	12(%rax), %rax
	movslq	%r14d, %r13
	imulq	%rax, %r13
	addq	%rdx, %r13
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_av_float2int
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_AV_WN32
	incl	%ebx
	movl	32(%r12), %eax
	cmpl	%eax, %ebx
	jl	LBB0_29
## %bb.30:                              ##   in Loop: Header=BB0_27 Depth=1
	movl	16(%r12), %ecx
	jmp	LBB0_31
LBB0_32:
	leaq	-64(%rbp), %rdi
	callq	_av_frame_free
	movq	%r12, %rdi
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_ff_update_hdr_metadata
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ff_filter_frame
LBB0_33:
	movl	%eax, %r14d
LBB0_34:
	movl	%r14d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_BUG,4,2                ## @AVERROR_BUG
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AVCOL_TRC_UNSPECIFIED,8,3      ## @AVCOL_TRC_UNSPECIFIED
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Untagged transfer, assuming linear light\n"

	.comm	_AVCOL_TRC_LINEAR,8,3           ## @AVCOL_TRC_LINEAR
L_.str.1:                               ## @.str.1
	.asciz	"Tonemapping works on linear light only\n"

	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
L_.str.2:                               ## @.str.2
	.asciz	"Computed signal peak: %f\n"

	.comm	_luma_coefficients,8,3          ## @luma_coefficients
	.comm	_AVCOL_SPC_UNSPECIFIED,8,3      ## @AVCOL_SPC_UNSPECIFIED
L_.str.3:                               ## @.str.3
	.asciz	"Missing color space information, "

L_.str.4:                               ## @.str.4
	.asciz	"Unsupported color space '%s', "

L_.str.5:                               ## @.str.5
	.asciz	"desaturation is disabled\n"

	.comm	_tonemap_slice,4,2              ## @tonemap_slice
	.comm	_AV_PIX_FMT_FLAG_ALPHA,4,2      ## @AV_PIX_FMT_FLAG_ALPHA
	.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, #176
	.cfi_def_cfa_offset 176
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x22, x1
	str	x1, [sp, #56]
	ldr	x23, [x0, #16]
	ldp	x8, x25, [x23, #8]
	ldr	x19, [x8]
	ldr	w0, [x0, #8]
	bl	_av_pix_fmt_desc_get
	mov	x24, x0
	ldr	w0, [x19, #8]
	bl	_av_pix_fmt_desc_get
	cmp	x24, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	add	x0, sp, #56
	bl	_av_frame_free
Lloh0:
	adrp	x8, _AVERROR_BUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_BUG@GOTPAGEOFF]
Lloh2:
	ldr	w26, [x8]
	b	LBB0_34
LBB0_2:
	mov	x21, x0
	ldr	d8, [x25]
	ldp	w2, w1, [x19]
	mov	x0, x19
	bl	_ff_get_video_buffer
	str	x0, [sp, #16]
	cbz	x0, LBB0_6
; %bb.3:
	mov	x20, x0
	mov	x1, x22
	bl	_av_frame_copy_props
	tbnz	w0, #31, LBB0_7
; %bb.4:
	ldr	x8, [x22]
Lloh3:
	adrp	x9, _AVCOL_TRC_UNSPECIFIED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AVCOL_TRC_UNSPECIFIED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
Lloh6:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x25
	bl	_av_log
Lloh11:
	adrp	x8, _AVCOL_TRC_LINEAR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AVCOL_TRC_LINEAR@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x20]
	b	LBB0_10
LBB0_6:
	add	x0, sp, #56
	bl	_av_frame_free
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_33
LBB0_7:
	mov	x26, x0
	add	x0, sp, #56
	bl	_av_frame_free
	add	x0, sp, #16
	bl	_av_frame_free
	b	LBB0_34
LBB0_8:
Lloh17:
	adrp	x9, _AVCOL_TRC_LINEAR@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AVCOL_TRC_LINEAR@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.9:
Lloh20:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x2, l_.str.1@PAGE
Lloh24:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x25
	bl	_av_log
LBB0_10:
	fcmp	d8, #0.0
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x22
	bl	_ff_determine_signal_peak
	fmov	d8, d0
Lloh25:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	str	d0, [sp]
Lloh28:
	adrp	x2, l_.str.2@PAGE
Lloh29:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x25
	bl	_av_log
LBB0_12:
Lloh30:
	adrp	x8, _luma_coefficients@GOTPAGE
Lloh31:
	ldr	x8, [x8, _luma_coefficients@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldr	x0, [x22, #8]
	add	x9, x8, x0, lsl #2
	str	x9, [x25, #16]
	ldr	x9, [x25, #8]
	cmp	x9, #1
	b.lt	LBB0_21
; %bb.13:
Lloh33:
	adrp	x9, _AVCOL_SPC_UNSPECIFIED@GOTPAGE
Lloh34:
	ldr	x9, [x9, _AVCOL_SPC_UNSPECIFIED@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x0, x9
	b.eq	LBB0_15
; %bb.14:
	cbnz	x8, LBB0_21
LBB0_15:
	cmp	x0, x9
	b.ne	LBB0_17
; %bb.16:
Lloh36:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh37:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
Lloh39:
	adrp	x2, l_.str.3@PAGE
Lloh40:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x25
	b	LBB0_19
LBB0_17:
	cbnz	x8, LBB0_20
; %bb.18:
Lloh41:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh42:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh43:
	ldr	w26, [x8]
	bl	_av_color_space_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh44:
	adrp	x2, l_.str.4@PAGE
Lloh45:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x25
	mov	x1, x26
LBB0_19:
	bl	_av_log
LBB0_20:
Lloh46:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh47:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
Lloh49:
	adrp	x2, l_.str.5@PAGE
Lloh50:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x25
	bl	_av_log
	str	xzr, [x25, #8]
LBB0_21:
	stp	x22, x20, [sp, #40]
	str	x24, [sp, #32]
	str	d8, [sp, #24]
	ldr	x8, [x23]
	ldr	x27, [x8]
Lloh51:
	adrp	x8, _tonemap_slice@GOTPAGE
Lloh52:
	ldr	x8, [x8, _tonemap_slice@GOTPAGEOFF]
Lloh53:
	ldr	w25, [x8]
	ldr	w26, [x22, #16]
	mov	x0, x23
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x26
	bl	_FFMIN
	mov	x4, x0
	add	x2, sp, #24
	mov	x0, x23
	mov	x1, x25
	mov	x3, #0
	blr	x27
	ldr	w9, [x24]
Lloh54:
	adrp	x8, _AV_PIX_FMT_FLAG_ALPHA@GOTPAGE
Lloh55:
	ldr	x8, [x8, _AV_PIX_FMT_FLAG_ALPHA@GOTPAGEOFF]
Lloh56:
	ldr	w10, [x8]
	ldr	w8, [x21]
	and	w8, w8, w10
	tst	w10, w9
	b.eq	LBB0_24
; %bb.22:
	cbz	w8, LBB0_32
; %bb.23:
	ldr	x8, [x20, #40]
	ldr	x0, [x8, #24]
	ldr	x8, [x20, #24]
	ldr	w1, [x8, #12]
	ldr	x8, [x22, #40]
	ldr	x2, [x8, #24]
	ldr	x8, [x22, #24]
	ldr	w3, [x8, #12]
	ldr	w5, [x19]
	mov	x4, x1
	bl	_av_image_copy_plane
	b	LBB0_32
LBB0_24:
	cbz	w8, LBB0_32
; %bb.25:
	ldr	w9, [x20, #16]
	cmp	w9, #1
	b.lt	LBB0_32
; %bb.26:
	mov	w23, #0
	ldr	w8, [x20, #32]
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	add	w23, w23, #1
	cmp	w23, w9
	b.ge	LBB0_32
LBB0_28:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_30 Depth 2
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	w24, #0
LBB0_30:                                ;   Parent Loop BB0_28 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #40]
	ldr	x8, [x8, #24]
	ldr	x9, [x21, #8]
	ldrsw	x9, [x9, #12]
	sxtw	x10, w24
	madd	x8, x9, x10, x8
	ldr	x9, [x20, #24]
	ldrsw	x9, [x9, #12]
	sxtw	x10, w23
	madd	x22, x9, x10, x8
	fmov	s0, #1.00000000
	bl	_av_float2int
	mov	x1, x0
	mov	x0, x22
	bl	_AV_WN32
	add	w24, w24, #1
	ldr	w8, [x20, #32]
	cmp	w24, w8
	b.lt	LBB0_30
; %bb.31:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	w9, [x20, #16]
	b	LBB0_27
LBB0_32:
	add	x0, sp, #56
	bl	_av_frame_free
	mov	x0, x20
	fmov	d0, d8
	bl	_ff_update_hdr_metadata
	mov	x0, x19
	mov	x1, x20
	bl	_ff_filter_frame
LBB0_33:
	mov	x26, x0
LBB0_34:
	mov	x0, x26
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_BUG,4,2                ; @AVERROR_BUG
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AVCOL_TRC_UNSPECIFIED,8,3      ; @AVCOL_TRC_UNSPECIFIED
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Untagged transfer, assuming linear light\n"

	.comm	_AVCOL_TRC_LINEAR,8,3           ; @AVCOL_TRC_LINEAR
l_.str.1:                               ; @.str.1
	.asciz	"Tonemapping works on linear light only\n"

	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
l_.str.2:                               ; @.str.2
	.asciz	"Computed signal peak: %f\n"

	.comm	_luma_coefficients,8,3          ; @luma_coefficients
	.comm	_AVCOL_SPC_UNSPECIFIED,8,3      ; @AVCOL_SPC_UNSPECIFIED
l_.str.3:                               ; @.str.3
	.asciz	"Missing color space information, "

l_.str.4:                               ; @.str.4
	.asciz	"Unsupported color space '%s', "

l_.str.5:                               ; @.str.5
	.asciz	"desaturation is disabled\n"

	.comm	_tonemap_slice,4,2              ; @tonemap_slice
	.comm	_AV_PIX_FMT_FLAG_ALPHA,4,2      ; @AV_PIX_FMT_FLAG_ALPHA
	.no_dead_strip	_filter_frame
.subsections_via_symbols
