	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opt_vsync
_opt_vsync:                             ## @opt_vsync
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %rdi
	callq	_av_strcasecmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_av_strcasecmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_av_strcasecmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_av_strcasecmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	_video_sync_method@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	jmp	LBB0_10
LBB0_1:
	movq	_VSYNC_CFR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_3:
	movq	_VSYNC_VFR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	_VSYNC_PASSTHROUGH@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_VSYNC_DROP@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rcx
	movq	_video_sync_method@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
LBB0_10:
	movq	_VSYNC_AUTO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_12
## %bb.11:
	movq	_OPT_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VSYNC_VFR@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	callq	_parse_number_or_die
	movq	_video_sync_method@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_12:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cfr"

	.comm	_VSYNC_CFR,8,3                  ## @VSYNC_CFR
	.comm	_video_sync_method,8,3          ## @video_sync_method
L_.str.1:                               ## @.str.1
	.asciz	"vfr"

	.comm	_VSYNC_VFR,8,3                  ## @VSYNC_VFR
L_.str.2:                               ## @.str.2
	.asciz	"passthrough"

	.comm	_VSYNC_PASSTHROUGH,8,3          ## @VSYNC_PASSTHROUGH
L_.str.3:                               ## @.str.3
	.asciz	"drop"

	.comm	_VSYNC_DROP,8,3                 ## @VSYNC_DROP
	.comm	_VSYNC_AUTO,8,3                 ## @VSYNC_AUTO
L_.str.4:                               ## @.str.4
	.asciz	"vsync"

	.comm	_OPT_INT,4,2                    ## @OPT_INT
	.no_dead_strip	_opt_vsync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opt_vsync
_opt_vsync:                             ; @opt_vsync
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	bl	_av_strcasecmp
	cbz	w0, LBB0_5
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_av_strcasecmp
	cbz	w0, LBB0_6
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_av_strcasecmp
	cbz	w0, LBB0_7
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_av_strcasecmp
	cbz	w0, LBB0_8
; %bb.4:
Lloh8:
	adrp	x8, _video_sync_method@GOTPAGE
Lloh9:
	ldr	x8, [x8, _video_sync_method@GOTPAGEOFF]
Lloh10:
	ldr	x3, [x8]
	b	LBB0_10
LBB0_5:
Lloh11:
	adrp	x8, _VSYNC_CFR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VSYNC_CFR@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh13:
	adrp	x8, _VSYNC_VFR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VSYNC_VFR@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh15:
	adrp	x8, _VSYNC_PASSTHROUGH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VSYNC_PASSTHROUGH@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh17:
	adrp	x8, _VSYNC_DROP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VSYNC_DROP@GOTPAGEOFF]
LBB0_9:
	ldr	x3, [x8]
Lloh19:
	adrp	x8, _video_sync_method@GOTPAGE
Lloh20:
	ldr	x8, [x8, _video_sync_method@GOTPAGEOFF]
Lloh21:
	str	x3, [x8]
LBB0_10:
Lloh22:
	adrp	x8, _VSYNC_AUTO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _VSYNC_AUTO@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x3, x8
	b.ne	LBB0_12
; %bb.11:
Lloh25:
	adrp	x8, _OPT_INT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _OPT_INT@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
Lloh28:
	adrp	x8, _VSYNC_VFR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _VSYNC_VFR@GOTPAGEOFF]
Lloh30:
	ldr	x4, [x8]
Lloh31:
	adrp	x0, l_.str.4@PAGE
Lloh32:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_parse_number_or_die
Lloh33:
	adrp	x8, _video_sync_method@GOTPAGE
Lloh34:
	ldr	x8, [x8, _video_sync_method@GOTPAGEOFF]
Lloh35:
	str	x0, [x8]
LBB0_12:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cfr"

	.comm	_VSYNC_CFR,8,3                  ; @VSYNC_CFR
	.comm	_video_sync_method,8,3          ; @video_sync_method
l_.str.1:                               ; @.str.1
	.asciz	"vfr"

	.comm	_VSYNC_VFR,8,3                  ; @VSYNC_VFR
l_.str.2:                               ; @.str.2
	.asciz	"passthrough"

	.comm	_VSYNC_PASSTHROUGH,8,3          ; @VSYNC_PASSTHROUGH
l_.str.3:                               ; @.str.3
	.asciz	"drop"

	.comm	_VSYNC_DROP,8,3                 ; @VSYNC_DROP
	.comm	_VSYNC_AUTO,8,3                 ; @VSYNC_AUTO
l_.str.4:                               ; @.str.4
	.asciz	"vsync"

	.comm	_OPT_INT,4,2                    ; @OPT_INT
	.no_dead_strip	_opt_vsync
.subsections_via_symbols
