	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SCR_UpdateScreen               ## -- Begin function SCR_UpdateScreen
	.p2align	4, 0x90
_SCR_UpdateScreen:                      ## @SCR_UpdateScreen
	.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	_scr_initialized@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_15
## %bb.1:
	movl	_SCR_UpdateScreen.recursive(%rip), %eax
	leal	1(%rax), %ecx
	movl	%ecx, _SCR_UpdateScreen.recursive(%rip)
	cmpl	$2, %eax
	jl	LBB0_3
## %bb.2:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
LBB0_3:
	movl	$1, _SCR_UpdateScreen.recursive(%rip)
	movq	_uivm@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_com_dedicated@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	_Cvar_VariableIntegerValue
	movq	_cls@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_8
## %bb.6:
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	_STEREO_CENTER@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_STEREO_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_renderOrigin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_skipRendering@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_SCR_DrawScreenField
	movq	_STEREO_RIGHT@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edi
	movq	_renderOrigin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_skipRendering@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_SCR_DrawScreenField
	cmpl	$0, (%rbx)
	jne	LBB0_14
## %bb.10:
	movq	_com_speeds@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	movq	_re@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	je	LBB0_12
## %bb.11:
	movq	_time_frontend@GOTPCREL(%rip), %rdi
	movq	_time_backend@GOTPCREL(%rip), %rsi
	jmp	LBB0_13
LBB0_12:
	xorl	%edi, %edi
	xorl	%esi, %esi
LBB0_13:
	callq	*%rax
LBB0_14:
	movl	$0, _SCR_UpdateScreen.recursive(%rip)
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_SCR_UpdateScreen.recursive,4,2 ## @SCR_UpdateScreen.recursive
	.comm	_scr_initialized,4,2            ## @scr_initialized
	.comm	_ERR_FATAL,4,2                  ## @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SCR_UpdateScreen: recursively called"

	.comm	_uivm,8,3                       ## @uivm
	.comm	_com_dedicated,8,3              ## @com_dedicated
L_.str.1:                               ## @.str.1
	.asciz	"r_anaglyphMode"

	.comm	_cls,8,3                        ## @cls
	.comm	_STEREO_LEFT,4,2                ## @STEREO_LEFT
	.comm	_renderOrigin,4,2               ## @renderOrigin
	.comm	_skipRendering,4,2              ## @skipRendering
	.comm	_STEREO_RIGHT,4,2               ## @STEREO_RIGHT
	.comm	_STEREO_CENTER,4,2              ## @STEREO_CENTER
	.comm	_com_speeds,8,3                 ## @com_speeds
	.comm	_re,8,3                         ## @re
	.comm	_time_frontend,4,2              ## @time_frontend
	.comm	_time_backend,4,2               ## @time_backend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SCR_UpdateScreen               ; -- Begin function SCR_UpdateScreen
	.p2align	2
_SCR_UpdateScreen:                      ; @SCR_UpdateScreen
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _scr_initialized@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scr_initialized@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_14
; %bb.1:
	adrp	x19, _SCR_UpdateScreen.recursive@PAGE
	ldr	w8, [x19, _SCR_UpdateScreen.recursive@PAGEOFF]
	add	w9, w8, #1
	str	w9, [x19, _SCR_UpdateScreen.recursive@PAGEOFF]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
LBB0_3:
	mov	w8, #1
	str	w8, [x19, _SCR_UpdateScreen.recursive@PAGEOFF]
Lloh8:
	adrp	x8, _uivm@GOTPAGE
Lloh9:
	ldr	x8, [x8, _uivm@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbnz	x8, LBB0_5
; %bb.4:
Lloh11:
	adrp	x8, _com_dedicated@GOTPAGE
Lloh12:
	ldr	x8, [x8, _com_dedicated@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_13
LBB0_5:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Cvar_VariableIntegerValue
Lloh16:
	adrp	x8, _cls@GOTPAGE
Lloh17:
	ldr	x8, [x8, _cls@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	w0, #0, #0, eq
Lloh19:
	adrp	x21, _renderOrigin@GOTPAGE
Lloh20:
	ldr	x21, [x21, _renderOrigin@GOTPAGEOFF]
Lloh21:
	adrp	x20, _skipRendering@GOTPAGE
Lloh22:
	ldr	x20, [x20, _skipRendering@GOTPAGEOFF]
	b.eq	LBB0_7
; %bb.6:
Lloh23:
	adrp	x8, _STEREO_LEFT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _STEREO_LEFT@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	w1, [x21]
	ldr	w2, [x20]
	bl	_SCR_DrawScreenField
Lloh26:
	adrp	x8, _STEREO_RIGHT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _STEREO_RIGHT@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh28:
	adrp	x8, _STEREO_CENTER@GOTPAGE
Lloh29:
	ldr	x8, [x8, _STEREO_CENTER@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldr	w1, [x21]
	ldr	w2, [x20]
	bl	_SCR_DrawScreenField
	ldr	w8, [x20]
	cbnz	w8, LBB0_13
; %bb.9:
Lloh30:
	adrp	x8, _com_speeds@GOTPAGE
Lloh31:
	ldr	x8, [x8, _com_speeds@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldr	x9, [x8]
Lloh33:
	adrp	x8, _re@GOTPAGE
Lloh34:
	ldr	x8, [x8, _re@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cbz	x9, LBB0_11
; %bb.10:
Lloh36:
	adrp	x0, _time_frontend@GOTPAGE
Lloh37:
	ldr	x0, [x0, _time_frontend@GOTPAGEOFF]
Lloh38:
	adrp	x1, _time_backend@GOTPAGE
Lloh39:
	ldr	x1, [x1, _time_backend@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
	mov	x0, #0
	mov	x1, #0
LBB0_12:
	blr	x8
LBB0_13:
	str	wzr, [x19, _SCR_UpdateScreen.recursive@PAGEOFF]
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_SCR_UpdateScreen.recursive,4,2 ; @SCR_UpdateScreen.recursive
	.comm	_scr_initialized,4,2            ; @scr_initialized
	.comm	_ERR_FATAL,4,2                  ; @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SCR_UpdateScreen: recursively called"

	.comm	_uivm,8,3                       ; @uivm
	.comm	_com_dedicated,8,3              ; @com_dedicated
l_.str.1:                               ; @.str.1
	.asciz	"r_anaglyphMode"

	.comm	_cls,8,3                        ; @cls
	.comm	_STEREO_LEFT,4,2                ; @STEREO_LEFT
	.comm	_renderOrigin,4,2               ; @renderOrigin
	.comm	_skipRendering,4,2              ; @skipRendering
	.comm	_STEREO_RIGHT,4,2               ; @STEREO_RIGHT
	.comm	_STEREO_CENTER,4,2              ; @STEREO_CENTER
	.comm	_com_speeds,8,3                 ; @com_speeds
	.comm	_re,8,3                         ; @re
	.comm	_time_frontend,4,2              ; @time_frontend
	.comm	_time_backend,4,2               ; @time_backend
.subsections_via_symbols
