	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FILTER_NTSC_Initialise         ## -- Begin function FILTER_NTSC_Initialise
	.p2align	4, 0x90
_FILTER_NTSC_Initialise:                ## @FILTER_NTSC_Initialise
	.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, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r12d
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	cmpl	$2, %r12d
	jl	LBB0_34
## %bb.1:
	movl	$1, %r15d
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FALSE@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	jne	LBB0_33
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r12d
	cmpl	%r12d, %r15d
	jge	LBB0_34
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%r15), %r13d
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	%r15d, %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r14,8), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%r14,8), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%r14,8), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%r14,8), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%r14,8), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%r14,8), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_22
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%r14,8), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_24
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%r14,8), %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_FILTER_NTSC_setup@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	movq	8(%r12), %rsi
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	movq	16(%r12), %rsi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	movq	24(%r12), %rsi
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	movq	32(%r12), %rsi
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	movq	40(%r12), %rsi
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%r14,8), %rax
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movslq	%edx, %rcx
	incl	%edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rax, (%rbx,%rcx,8)
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %r13d
	jge	LBB0_30
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r13d, %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_atof
	movq	_FILTER_NTSC_setup@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %r13d
	jge	LBB0_30
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r13d, %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_atof
	movq	_FILTER_NTSC_setup@GOTPCREL(%rip), %rcx
	movq	%rax, 8(%rcx)
	jmp	LBB0_27
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %r13d
	jge	LBB0_30
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r13d, %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_atof
	movq	_FILTER_NTSC_setup@GOTPCREL(%rip), %rcx
	movq	%rax, 16(%rcx)
	jmp	LBB0_27
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %r13d
	jge	LBB0_30
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r13d, %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_atof
	movq	_FILTER_NTSC_setup@GOTPCREL(%rip), %rcx
	movq	%rax, 24(%rcx)
	jmp	LBB0_27
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %r13d
	jge	LBB0_30
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r13d, %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_atof
	movq	_FILTER_NTSC_setup@GOTPCREL(%rip), %rcx
	movq	%rax, 32(%rcx)
	jmp	LBB0_27
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %r13d
	movq	_FALSE@GOTPCREL(%rip), %rbx
	jge	LBB0_32
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r13d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	callq	_atof
	movq	_FILTER_NTSC_setup@GOTPCREL(%rip), %rcx
	movq	%rax, 40(%rcx)
	movl	%r13d, %r15d
	jmp	LBB0_29
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %r13d
	jge	LBB0_30
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r13d, %rax
	movq	(%rbx,%rax,8), %rdi
	movq	_preset_cfg_strings@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FILTER_NTSC_PRESET_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_CFG_MatchTextParameter
	testl	%eax, %eax
	js	LBB0_36
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	callq	_FILTER_NTSC_SetPreset
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %r15d
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rbx
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_31
	jmp	LBB0_33
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_31
LBB0_33:
	movslq	%r15d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rsi
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	jmp	LBB0_35
LBB0_34:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movq	_TRUE@GOTPCREL(%rip), %rbx
LBB0_35:
	movl	(%rbx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	movq	_FALSE@GOTPCREL(%rip), %rbx
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-ntsc-sharpness"

	.comm	_FILTER_NTSC_setup,48,3         ## @FILTER_NTSC_setup
	.comm	_TRUE,4,2                       ## @TRUE
L_.str.1:                               ## @.str.1
	.asciz	"-ntsc-resolution"

L_.str.2:                               ## @.str.2
	.asciz	"-ntsc-artifacts"

L_.str.3:                               ## @.str.3
	.asciz	"-ntsc-fringing"

L_.str.4:                               ## @.str.4
	.asciz	"-ntsc-bleed"

L_.str.5:                               ## @.str.5
	.asciz	"-ntsc-burstphase"

L_.str.6:                               ## @.str.6
	.asciz	"-ntsc-filter-preset"

	.comm	_preset_cfg_strings,4,2         ## @preset_cfg_strings
	.comm	_FILTER_NTSC_PRESET_SIZE,4,2    ## @FILTER_NTSC_PRESET_SIZE
L_.str.7:                               ## @.str.7
	.asciz	"Invalid value for -ntsc-filter-preset"

L_.str.8:                               ## @.str.8
	.asciz	"-help"

L_.str.9:                               ## @.str.9
	.asciz	"\t-ntsc-sharpness <n>   Set sharpness for NTSC filter (default %.2g)"

L_.str.10:                              ## @.str.10
	.asciz	"\t-ntsc-resolution <n>  Set resolution for NTSC filter (default %.2g)"

L_.str.11:                              ## @.str.11
	.asciz	"\t-ntsc-artifacts <n>   Set luma artifacts ratio for NTSC filter (default %.2g)"

L_.str.12:                              ## @.str.12
	.asciz	"\t-ntsc-fringing <n>    Set chroma fringing ratio for NTSC filter (default %.2g)"

L_.str.13:                              ## @.str.13
	.asciz	"\t-ntsc-bleed <n>       Set bleed for NTSC filter (default %.2g)"

L_.str.14:                              ## @.str.14
	.asciz	"\t-ntsc-burstphase <n>  Set burst phase (artifact colours) for NTSC filter (default %.2g)"

L_.str.15:                              ## @.str.15
	.asciz	"\t-ntsc-filter-preset composite|svideo|rgb|monochrome"

L_.str.16:                              ## @.str.16
	.asciz	"\t                      Use one of predefined NTSC filter adjustments"

L_.str.17:                              ## @.str.17
	.asciz	"Missing argument for '%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FILTER_NTSC_Initialise         ; -- Begin function FILTER_NTSC_Initialise
	.p2align	2
_FILTER_NTSC_Initialise:                ; @FILTER_NTSC_Initialise
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
	ldr	w25, [x0]
	cmp	w25, #2
	b.lt	LBB0_30
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x27, _FALSE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _FALSE@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	w23, #1
	mov	w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x26, w23
	add	x28, x26, #1
	ldr	w24, [x27]
	ldr	x0, [x20, w23, sxtw #3]
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x26, lsl #3]
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x26, lsl #3]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x26, lsl #3]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_18
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x26, lsl #3]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_20
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x26, lsl #3]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_22
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x26, lsl #3]
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_24
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x26, lsl #3]
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh18:
	adrp	x25, _FILTER_NTSC_setup@GOTPAGE
Lloh19:
	ldr	x25, [x25, _FILTER_NTSC_setup@GOTPAGEOFF]
	ldr	x8, [x25]
	str	x8, [sp]
Lloh20:
	adrp	x0, l_.str.9@PAGE
Lloh21:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_Log_print
	ldr	x8, [x25, #8]
	str	x8, [sp]
Lloh22:
	adrp	x0, l_.str.10@PAGE
Lloh23:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_Log_print
	ldr	x8, [x25, #16]
	str	x8, [sp]
Lloh24:
	adrp	x0, l_.str.11@PAGE
Lloh25:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_Log_print
	ldr	x8, [x25, #24]
	str	x8, [sp]
Lloh26:
	adrp	x0, l_.str.12@PAGE
Lloh27:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_Log_print
	ldr	x8, [x25, #32]
	str	x8, [sp]
Lloh28:
	adrp	x0, l_.str.13@PAGE
Lloh29:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_Log_print
	ldr	x8, [x25, #40]
	str	x8, [sp]
Lloh30:
	adrp	x0, l_.str.14@PAGE
Lloh31:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_Log_print
Lloh32:
	adrp	x0, l_.str.15@PAGE
Lloh33:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_Log_print
Lloh34:
	adrp	x0, l_.str.16@PAGE
Lloh35:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_Log_print
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, x26, lsl #3]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	str	x8, [x20, w9, sxtw #3]
	add	w8, w9, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_28
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w28, w25
	b.ge	LBB0_27
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, x28, lsl #3]
	bl	_atof
Lloh36:
	adrp	x8, _FILTER_NTSC_setup@GOTPAGE
Lloh37:
	ldr	x8, [x8, _FILTER_NTSC_setup@GOTPAGEOFF]
Lloh38:
	str	x0, [x8]
	mov	x23, x28
	b	LBB0_28
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w28, w25
	b.ge	LBB0_27
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w28, sxtw #3]
	bl	_atof
Lloh39:
	adrp	x8, _FILTER_NTSC_setup@GOTPAGE
Lloh40:
	ldr	x8, [x8, _FILTER_NTSC_setup@GOTPAGEOFF]
Lloh41:
	str	x0, [x8, #8]
	mov	x23, x28
	b	LBB0_28
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w28, w25
	b.ge	LBB0_27
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w28, sxtw #3]
	bl	_atof
Lloh42:
	adrp	x8, _FILTER_NTSC_setup@GOTPAGE
Lloh43:
	ldr	x8, [x8, _FILTER_NTSC_setup@GOTPAGEOFF]
Lloh44:
	str	x0, [x8, #16]
	mov	x23, x28
	b	LBB0_28
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w28, w25
	b.ge	LBB0_27
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w28, sxtw #3]
	bl	_atof
Lloh45:
	adrp	x8, _FILTER_NTSC_setup@GOTPAGE
Lloh46:
	ldr	x8, [x8, _FILTER_NTSC_setup@GOTPAGEOFF]
Lloh47:
	str	x0, [x8, #24]
	mov	x23, x28
	b	LBB0_28
LBB0_20:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w28, w25
	b.ge	LBB0_27
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w28, sxtw #3]
	bl	_atof
Lloh48:
	adrp	x8, _FILTER_NTSC_setup@GOTPAGE
Lloh49:
	ldr	x8, [x8, _FILTER_NTSC_setup@GOTPAGEOFF]
Lloh50:
	str	x0, [x8, #32]
	mov	x23, x28
	b	LBB0_28
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w28, w25
	b.ge	LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w28, sxtw #3]
	bl	_atof
Lloh51:
	adrp	x8, _FILTER_NTSC_setup@GOTPAGE
Lloh52:
	ldr	x8, [x8, _FILTER_NTSC_setup@GOTPAGEOFF]
Lloh53:
	str	x0, [x8, #40]
	mov	x23, x28
	b	LBB0_28
LBB0_24:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w28, w25
	b.ge	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, w28, sxtw #3]
Lloh54:
	adrp	x8, _preset_cfg_strings@GOTPAGE
Lloh55:
	ldr	x8, [x8, _preset_cfg_strings@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	adrp	x8, _FILTER_NTSC_PRESET_SIZE@GOTPAGE
Lloh58:
	ldr	x8, [x8, _FILTER_NTSC_PRESET_SIZE@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
	bl	_CFG_MatchTextParameter
	tbnz	w0, #31, LBB0_35
; %bb.26:                               ;   in Loop: Header=BB0_2 Depth=1
	bl	_FILTER_NTSC_SetPreset
	mov	x23, x28
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh60:
	adrp	x8, _TRUE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh62:
	ldr	w24, [x8]
LBB0_28:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w24, LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_2 Depth=1
	add	w23, w23, #1
	ldr	w25, [x19]
	cmp	w23, w25
	b.lt	LBB0_2
	b	LBB0_31
LBB0_30:
	mov	w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
LBB0_31:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	str	w8, [x19]
Lloh63:
	adrp	x8, _TRUE@GOTPAGE
Lloh64:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_34
LBB0_32:
	ldr	x8, [x20, w23, sxtw #3]
	str	x8, [sp]
Lloh65:
	adrp	x0, l_.str.17@PAGE
Lloh66:
	add	x0, x0, l_.str.17@PAGEOFF
LBB0_33:
	bl	_Log_print
Lloh67:
	adrp	x8, _FALSE@GOTPAGE
Lloh68:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_34:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_35:
Lloh69:
	adrp	x0, l_.str.7@PAGE
Lloh70:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_33
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotStr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotStr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotStr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-ntsc-sharpness"

	.comm	_FILTER_NTSC_setup,48,3         ; @FILTER_NTSC_setup
	.comm	_TRUE,4,2                       ; @TRUE
l_.str.1:                               ; @.str.1
	.asciz	"-ntsc-resolution"

l_.str.2:                               ; @.str.2
	.asciz	"-ntsc-artifacts"

l_.str.3:                               ; @.str.3
	.asciz	"-ntsc-fringing"

l_.str.4:                               ; @.str.4
	.asciz	"-ntsc-bleed"

l_.str.5:                               ; @.str.5
	.asciz	"-ntsc-burstphase"

l_.str.6:                               ; @.str.6
	.asciz	"-ntsc-filter-preset"

	.comm	_preset_cfg_strings,4,2         ; @preset_cfg_strings
	.comm	_FILTER_NTSC_PRESET_SIZE,4,2    ; @FILTER_NTSC_PRESET_SIZE
l_.str.7:                               ; @.str.7
	.asciz	"Invalid value for -ntsc-filter-preset"

l_.str.8:                               ; @.str.8
	.asciz	"-help"

l_.str.9:                               ; @.str.9
	.asciz	"\t-ntsc-sharpness <n>   Set sharpness for NTSC filter (default %.2g)"

l_.str.10:                              ; @.str.10
	.asciz	"\t-ntsc-resolution <n>  Set resolution for NTSC filter (default %.2g)"

l_.str.11:                              ; @.str.11
	.asciz	"\t-ntsc-artifacts <n>   Set luma artifacts ratio for NTSC filter (default %.2g)"

l_.str.12:                              ; @.str.12
	.asciz	"\t-ntsc-fringing <n>    Set chroma fringing ratio for NTSC filter (default %.2g)"

l_.str.13:                              ; @.str.13
	.asciz	"\t-ntsc-bleed <n>       Set bleed for NTSC filter (default %.2g)"

l_.str.14:                              ; @.str.14
	.asciz	"\t-ntsc-burstphase <n>  Set burst phase (artifact colours) for NTSC filter (default %.2g)"

l_.str.15:                              ; @.str.15
	.asciz	"\t-ntsc-filter-preset composite|svideo|rgb|monochrome"

l_.str.16:                              ; @.str.16
	.asciz	"\t                      Use one of predefined NTSC filter adjustments"

l_.str.17:                              ; @.str.17
	.asciz	"Missing argument for '%s'"

.subsections_via_symbols
