	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FILTER_NTSC_NextPreset         ## -- Begin function FILTER_NTSC_NextPreset
	.p2align	4, 0x90
_FILTER_NTSC_NextPreset:                ## @FILTER_NTSC_NextPreset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_FILTER_NTSC_GetPreset
	movq	_FILTER_NTSC_PRESET_CUSTOM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_FILTER_NTSC_PRESET_COMPOSITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_FILTER_NTSC_SetPreset          ## TAILCALL
LBB0_2:
	incl	%eax
	movq	_FILTER_NTSC_PRESET_SIZE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%edx, %edi
	popq	%rbp
	jmp	_FILTER_NTSC_SetPreset          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FILTER_NTSC_PRESET_CUSTOM,4,2  ## @FILTER_NTSC_PRESET_CUSTOM
	.comm	_FILTER_NTSC_PRESET_COMPOSITE,4,2 ## @FILTER_NTSC_PRESET_COMPOSITE
	.comm	_FILTER_NTSC_PRESET_SIZE,4,2    ## @FILTER_NTSC_PRESET_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FILTER_NTSC_NextPreset         ; -- Begin function FILTER_NTSC_NextPreset
	.p2align	2
_FILTER_NTSC_NextPreset:                ; @FILTER_NTSC_NextPreset
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_FILTER_NTSC_GetPreset
Lloh0:
	adrp	x8, _FILTER_NTSC_PRESET_CUSTOM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FILTER_NTSC_PRESET_CUSTOM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _FILTER_NTSC_PRESET_COMPOSITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FILTER_NTSC_PRESET_COMPOSITE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_FILTER_NTSC_SetPreset
LBB0_2:
	add	w8, w0, #1
Lloh6:
	adrp	x9, _FILTER_NTSC_PRESET_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FILTER_NTSC_PRESET_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w0, w10, w9, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_FILTER_NTSC_SetPreset
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FILTER_NTSC_PRESET_CUSTOM,4,2  ; @FILTER_NTSC_PRESET_CUSTOM
	.comm	_FILTER_NTSC_PRESET_COMPOSITE,4,2 ; @FILTER_NTSC_PRESET_COMPOSITE
	.comm	_FILTER_NTSC_PRESET_SIZE,4,2    ; @FILTER_NTSC_PRESET_SIZE
.subsections_via_symbols
