	.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
	movq	_scr_initialized@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
## %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	_cls@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.5:
	movq	_STEREO_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCR_DrawScreenField
	movq	_STEREO_RIGHT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_STEREO_CENTER@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edi
	callq	_SCR_DrawScreenField
	movq	_com_speeds@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	movq	_re@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	je	LBB0_8
## %bb.7:
	movq	_time_frontend@GOTPCREL(%rip), %rdi
	movq	_time_backend@GOTPCREL(%rip), %rsi
	jmp	LBB0_9
LBB0_8:
	xorl	%edi, %edi
	xorl	%esi, %esi
LBB0_9:
	callq	*%rax
	movl	$0, _SCR_UpdateScreen.recursive(%rip)
LBB0_10:
	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	_cls,8,3                        ## @cls
	.comm	_STEREO_LEFT,4,2                ## @STEREO_LEFT
	.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	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
Lloh0:
	adrp	x8, _scr_initialized@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scr_initialized@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %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, _cls@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cls@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh11:
	adrp	x8, _STEREO_LEFT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _STEREO_LEFT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_SCR_DrawScreenField
Lloh14:
	adrp	x8, _STEREO_RIGHT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STEREO_RIGHT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh16:
	adrp	x8, _STEREO_CENTER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _STEREO_CENTER@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	bl	_SCR_DrawScreenField
Lloh18:
	adrp	x8, _com_speeds@GOTPAGE
Lloh19:
	ldr	x8, [x8, _com_speeds@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	x9, [x8]
Lloh21:
	adrp	x8, _re@GOTPAGE
Lloh22:
	ldr	x8, [x8, _re@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cbz	x9, LBB0_8
; %bb.7:
Lloh24:
	adrp	x0, _time_frontend@GOTPAGE
Lloh25:
	ldr	x0, [x0, _time_frontend@GOTPAGEOFF]
Lloh26:
	adrp	x1, _time_backend@GOTPAGE
Lloh27:
	ldr	x1, [x1, _time_backend@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	mov	x0, #0
	mov	x1, #0
LBB0_9:
	blr	x8
	str	wzr, [x19, _SCR_UpdateScreen.recursive@PAGEOFF]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 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 AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.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	_cls,8,3                        ; @cls
	.comm	_STEREO_LEFT,4,2                ; @STEREO_LEFT
	.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
