	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ScspChangeVideoFormat          ## -- Begin function ScspChangeVideoFormat
	.p2align	4, 0x90
_ScspChangeVideoFormat:                 ## @ScspChangeVideoFormat
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_yabsys@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_SCSP_CLOCK_INC_NTSC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_SCSP_CLOCK_INC_PAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movq	_scsp_clock_inc@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_SNDCore@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testl	%edi, %edi
	movl	$60, %ecx
	movl	$50, %edi
	cmovel	%ecx, %edi
	callq	*(%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_yabsys,8,3                     ## @yabsys
	.comm	_SCSP_CLOCK_INC_PAL,4,2         ## @SCSP_CLOCK_INC_PAL
	.comm	_SCSP_CLOCK_INC_NTSC,4,2        ## @SCSP_CLOCK_INC_NTSC
	.comm	_scsp_clock_inc,4,2             ## @scsp_clock_inc
	.comm	_SNDCore,8,3                    ## @SNDCore
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ScspChangeVideoFormat          ; -- Begin function ScspChangeVideoFormat
	.p2align	2
_ScspChangeVideoFormat:                 ; @ScspChangeVideoFormat
	.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
Lloh0:
	adrp	x8, _yabsys@GOTPAGE
Lloh1:
	ldr	x8, [x8, _yabsys@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SCSP_CLOCK_INC_PAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SCSP_CLOCK_INC_PAL@GOTPAGEOFF]
Lloh5:
	adrp	x10, _SCSP_CLOCK_INC_NTSC@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SCSP_CLOCK_INC_NTSC@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _scsp_clock_inc@GOTPAGE
Lloh8:
	ldr	x9, [x9, _scsp_clock_inc@GOTPAGEOFF]
Lloh9:
	str	w8, [x9]
Lloh10:
	adrp	x8, _SNDCore@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SNDCore@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	w9, #50
	mov	w10, #60
	cmp	w0, #0
	csel	w0, w10, w9, eq
	blr	x8
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_yabsys,8,3                     ; @yabsys
	.comm	_SCSP_CLOCK_INC_PAL,4,2         ; @SCSP_CLOCK_INC_PAL
	.comm	_SCSP_CLOCK_INC_NTSC,4,2        ; @SCSP_CLOCK_INC_NTSC
	.comm	_scsp_clock_inc,4,2             ; @scsp_clock_inc
	.comm	_SNDCore,8,3                    ; @SNDCore
.subsections_via_symbols
