	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_ToggleSmpFrame               ## -- Begin function R_ToggleSmpFrame
	.p2align	4, 0x90
_R_ToggleSmpFrame:                      ## @R_ToggleSmpFrame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_r_smp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_tr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	$1, %edx
	xorl	%esi, %esi
	cmpq	$0, (%rax)
	cmovnel	%edx, %esi
	movl	%esi, (%rcx)
	movq	_backEndData@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rax
	movq	$0, (%rax)
	movq	_r_firstSceneDrawSurf@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_r_numdlights@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_r_firstSceneDlight@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_r_numentities@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_r_firstSceneEntity@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_r_numpolys@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_r_firstScenePoly@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_r_numpolyverts@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_r_smp,8,3                      ## @r_smp
	.comm	_tr,4,2                         ## @tr
	.comm	_backEndData,8,3                ## @backEndData
	.comm	_r_firstSceneDrawSurf,8,3       ## @r_firstSceneDrawSurf
	.comm	_r_numdlights,8,3               ## @r_numdlights
	.comm	_r_firstSceneDlight,8,3         ## @r_firstSceneDlight
	.comm	_r_numentities,8,3              ## @r_numentities
	.comm	_r_firstSceneEntity,8,3         ## @r_firstSceneEntity
	.comm	_r_numpolys,8,3                 ## @r_numpolys
	.comm	_r_firstScenePoly,8,3           ## @r_firstScenePoly
	.comm	_r_numpolyverts,8,3             ## @r_numpolyverts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_ToggleSmpFrame               ; -- Begin function R_ToggleSmpFrame
	.p2align	2
_R_ToggleSmpFrame:                      ; @R_ToggleSmpFrame
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _r_smp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _r_smp@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _tr@GOTPAGE
Lloh4:
	ldr	x9, [x9, _tr@GOTPAGEOFF]
	ldr	x8, [x8]
	ldr	w10, [x9]
	eor	w10, w10, #0x1
	cmp	x8, #0
	csel	w8, wzr, w10, eq
	str	w8, [x9]
Lloh5:
	adrp	x9, _backEndData@GOTPAGE
Lloh6:
	ldr	x9, [x9, _backEndData@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x8, [x9, w8, sxtw #3]
	str	xzr, [x8]
Lloh8:
	adrp	x8, _r_firstSceneDrawSurf@GOTPAGE
Lloh9:
	ldr	x8, [x8, _r_firstSceneDrawSurf@GOTPAGEOFF]
Lloh10:
	str	xzr, [x8]
Lloh11:
	adrp	x8, _r_numdlights@GOTPAGE
Lloh12:
	ldr	x8, [x8, _r_numdlights@GOTPAGEOFF]
Lloh13:
	str	xzr, [x8]
Lloh14:
	adrp	x8, _r_firstSceneDlight@GOTPAGE
Lloh15:
	ldr	x8, [x8, _r_firstSceneDlight@GOTPAGEOFF]
Lloh16:
	str	xzr, [x8]
Lloh17:
	adrp	x8, _r_numentities@GOTPAGE
Lloh18:
	ldr	x8, [x8, _r_numentities@GOTPAGEOFF]
Lloh19:
	str	xzr, [x8]
Lloh20:
	adrp	x8, _r_firstSceneEntity@GOTPAGE
Lloh21:
	ldr	x8, [x8, _r_firstSceneEntity@GOTPAGEOFF]
Lloh22:
	str	xzr, [x8]
Lloh23:
	adrp	x8, _r_numpolys@GOTPAGE
Lloh24:
	ldr	x8, [x8, _r_numpolys@GOTPAGEOFF]
Lloh25:
	str	xzr, [x8]
Lloh26:
	adrp	x8, _r_firstScenePoly@GOTPAGE
Lloh27:
	ldr	x8, [x8, _r_firstScenePoly@GOTPAGEOFF]
Lloh28:
	str	xzr, [x8]
Lloh29:
	adrp	x8, _r_numpolyverts@GOTPAGE
Lloh30:
	ldr	x8, [x8, _r_numpolyverts@GOTPAGEOFF]
Lloh31:
	str	xzr, [x8]
	ret
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_r_smp,8,3                      ; @r_smp
	.comm	_tr,4,2                         ; @tr
	.comm	_backEndData,8,3                ; @backEndData
	.comm	_r_firstSceneDrawSurf,8,3       ; @r_firstSceneDrawSurf
	.comm	_r_numdlights,8,3               ; @r_numdlights
	.comm	_r_firstSceneDlight,8,3         ; @r_firstSceneDlight
	.comm	_r_numentities,8,3              ; @r_numentities
	.comm	_r_firstSceneEntity,8,3         ; @r_firstSceneEntity
	.comm	_r_numpolys,8,3                 ; @r_numpolys
	.comm	_r_firstScenePoly,8,3           ; @r_firstScenePoly
	.comm	_r_numpolyverts,8,3             ; @r_numpolyverts
.subsections_via_symbols
