	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_D_Display                      ## -- Begin function D_Display
	.p2align	4, 0x90
_D_Display:                             ## @D_Display
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_nodrawers@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_51
## %bb.1:
	movq	_setsizeneeded@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_R_ExecuteSetViewSize
	movl	$-1, _D_Display.oldgamestate(%rip)
	movl	$3, _D_Display.borderdrawcount(%rip)
LBB0_3:
	movq	_gamestate@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	movq	_wipegamestate@GOTPCREL(%rip), %rax
	movq	%rax, %r12
	movl	(%rax), %ebx
	movl	%r15d, %eax
	cmpl	%ebx, %r15d
	je	LBB0_5
## %bb.4:
	movq	_SCREENWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SCREENHEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_wipe_StartScreen
	movl	(%r13), %eax
LBB0_5:
	movq	_gametic@GOTPCREL(%rip), %r14
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.6:
	cmpq	$0, (%r14)
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_HU_Erase
	movl	(%r13), %eax
LBB0_8:
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_21
## %bb.9:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	cmpq	$0, (%r14)
	je	LBB0_21
## %bb.11:
	movq	_automapactive@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_AM_Drawer
LBB0_13:
	movq	_viewheight@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %r15d
	jne	LBB0_16
## %bb.14:
	xorl	%ecx, %ecx
	cmpl	$200, %eax
	je	LBB0_17
## %bb.15:
	cmpl	$0, _D_Display.fullscreen(%rip)
	je	LBB0_17
LBB0_16:
	movl	$1, %ecx
LBB0_17:
	movq	_inhelpscreens@GOTPCREL(%rip), %rdx
	cmpl	$0, (%rdx)
	movl	$1, %esi
	cmovnel	%ecx, %esi
	cmpl	$0, _D_Display.inhelpscreensstate(%rip)
	cmovel	%ecx, %esi
	xorl	%edi, %edi
	cmpl	$200, %eax
	sete	%dil
	callq	_ST_Drawer
	xorl	%eax, %eax
	movq	_viewheight@GOTPCREL(%rip), %rcx
	cmpl	$200, (%rcx)
	sete	%al
	movl	%eax, _D_Display.fullscreen(%rip)
	jmp	LBB0_21
LBB0_18:
	xorl	%eax, %eax
	callq	_WI_Drawer
	jmp	LBB0_21
LBB0_19:
	xorl	%eax, %eax
	callq	_F_Drawer
	jmp	LBB0_21
LBB0_20:
	xorl	%eax, %eax
	callq	_D_PageDrawer
LBB0_21:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_I_UpdateNoBlit
	movl	(%r13), %eax
	movq	_automapactive@GOTPCREL(%rip), %rbx
	movq	(%r14), %rcx
	cmpl	$128, %eax
	jne	LBB0_25
## %bb.22:
	cmpq	$0, (%rbx)
	jne	LBB0_25
## %bb.23:
	testq	%rcx, %rcx
	je	LBB0_25
## %bb.24:
	movq	_players@GOTPCREL(%rip), %rax
	movq	_displayplayer@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	shlq	$2, %rdi
	addq	(%rax), %rdi
	callq	_R_RenderPlayerView
	movl	(%r13), %eax
	movq	(%r14), %rcx
LBB0_25:
	cmpl	$128, %eax
	jne	LBB0_26
## %bb.27:
	testq	%rcx, %rcx
	movq	%r12, %r14
	je	LBB0_29
## %bb.28:
	xorl	%eax, %eax
	callq	_HU_Drawer
	movl	(%r13), %eax
	jmp	LBB0_29
LBB0_26:
	movq	%r12, %r14
LBB0_29:
	movl	_D_Display.oldgamestate(%rip), %ecx
	cmpl	$128, %eax
	je	LBB0_32
## %bb.30:
	cmpl	%ecx, %eax
	je	LBB0_32
## %bb.31:
	movq	_PU_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_W_CacheLumpName
	movl	%eax, %edi
	callq	_I_SetPalette
	movl	(%r13), %eax
	movl	_D_Display.oldgamestate(%rip), %ecx
LBB0_32:
	cmpl	$128, %eax
	jne	LBB0_35
## %bb.33:
	cmpl	$128, %ecx
	je	LBB0_35
## %bb.34:
	movl	$0, _D_Display.viewactivestate(%rip)
	xorl	%eax, %eax
	callq	_R_FillBackScreen
	movl	(%r13), %eax
LBB0_35:
	movq	_scaledviewwidth@GOTPCREL(%rip), %r12
	cmpl	$128, %eax
	jne	LBB0_45
## %bb.36:
	cmpq	$0, (%rbx)
	jne	LBB0_45
## %bb.37:
	cmpl	$320, (%r12)                    ## imm = 0x140
	je	LBB0_45
## %bb.38:
	movq	_menuactive@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_41
## %bb.39:
	cmpl	$0, _D_Display.menuactivestate(%rip)
	jne	LBB0_41
## %bb.40:
	cmpl	$0, _D_Display.viewactivestate(%rip)
	je	LBB0_41
## %bb.43:
	cmpl	$0, _D_Display.borderdrawcount(%rip)
	jne	LBB0_42
## %bb.44:
	movl	$128, %eax
	jmp	LBB0_45
LBB0_41:
	movl	$3, _D_Display.borderdrawcount(%rip)
LBB0_42:
	xorl	%eax, %eax
	callq	_R_DrawViewBorder
	decl	_D_Display.borderdrawcount(%rip)
	movl	(%r13), %eax
LBB0_45:
	movq	_menuactive@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, _D_Display.menuactivestate(%rip)
	movq	_viewactive@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, _D_Display.viewactivestate(%rip)
	movq	_inhelpscreens@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, _D_Display.inhelpscreensstate(%rip)
	movl	%eax, (%r14)
	movl	%eax, _D_Display.oldgamestate(%rip)
	movq	_paused@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_47
## %bb.46:
	movq	_viewwindowy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$4, %eax
	cmpq	$0, (%rbx)
	movl	$4, %r14d
	cmovel	%eax, %r14d
	movq	_viewwindowx@GOTPCREL(%rip), %rax
	movl	(%r12), %ecx
	movl	%ecx, %edx
	addl	$-68, %edx
	shrl	$31, %edx
	addl	%edx, %ecx
	addl	$-68, %ecx
	sarl	%ecx
	movslq	%ecx, %rbx
	addq	(%rax), %rbx
	movq	_PU_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_W_CacheLumpName
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_V_DrawPatchDirect
LBB0_47:
	xorl	%eax, %eax
	callq	_M_Drawer
	xorl	%eax, %eax
	callq	_NetUpdate
	cmpl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	jne	LBB0_48
## %bb.52:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_I_FinishUpdate                 ## TAILCALL
LBB0_48:
	movq	_SCREENWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SCREENHEIGHT@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_wipe_EndScreen
	xorl	%eax, %eax
	callq	_I_GetTime
	movl	%eax, %r14d
	decl	%r14d
	movq	_wipe_Melt@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_49:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_I_GetTime
	movl	%eax, %r9d
	subl	%r14d, %r9d
	je	LBB0_49
## %bb.50:                              ##   in Loop: Header=BB0_49 Depth=1
	movl	%eax, %ebx
	movl	(%r12), %edi
	movq	_SCREENWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r13), %r8d
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wipe_ScreenWipe
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_I_UpdateNoBlit
	xorl	%eax, %eax
	callq	_M_Drawer
	xorl	%eax, %eax
	callq	_I_FinishUpdate
	movl	%ebx, %r14d
	testl	%r15d, %r15d
	je	LBB0_49
LBB0_51:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
.zerofill __DATA,__bss,_D_Display.viewactivestate,4,2 ## @D_Display.viewactivestate
.zerofill __DATA,__bss,_D_Display.menuactivestate,4,2 ## @D_Display.menuactivestate
.zerofill __DATA,__bss,_D_Display.inhelpscreensstate,4,2 ## @D_Display.inhelpscreensstate
.zerofill __DATA,__bss,_D_Display.fullscreen,4,2 ## @D_Display.fullscreen
	.section	__DATA,__data
	.p2align	2                               ## @D_Display.oldgamestate
_D_Display.oldgamestate:
	.long	4294967295                      ## 0xffffffff

.zerofill __DATA,__bss,_D_Display.borderdrawcount,4,2 ## @D_Display.borderdrawcount
	.comm	_nodrawers,8,3                  ## @nodrawers
	.comm	_setsizeneeded,8,3              ## @setsizeneeded
	.comm	_gamestate,4,2                  ## @gamestate
	.comm	_wipegamestate,4,2              ## @wipegamestate
	.comm	_SCREENWIDTH,4,2                ## @SCREENWIDTH
	.comm	_SCREENHEIGHT,4,2               ## @SCREENHEIGHT
	.comm	_gametic,8,3                    ## @gametic
	.comm	_automapactive,8,3              ## @automapactive
	.comm	_viewheight,4,2                 ## @viewheight
	.comm	_inhelpscreens,4,2              ## @inhelpscreens
	.comm	_players,8,3                    ## @players
	.comm	_displayplayer,8,3              ## @displayplayer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PLAYPAL"

	.comm	_PU_CACHE,4,2                   ## @PU_CACHE
	.comm	_scaledviewwidth,4,2            ## @scaledviewwidth
	.comm	_menuactive,4,2                 ## @menuactive
	.comm	_viewactive,4,2                 ## @viewactive
	.comm	_paused,8,3                     ## @paused
	.comm	_viewwindowy,4,2                ## @viewwindowy
	.comm	_viewwindowx,8,3                ## @viewwindowx
L_.str.1:                               ## @.str.1
	.asciz	"M_PAUSE"

	.comm	_wipe_Melt,4,2                  ## @wipe_Melt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_D_Display                      ; -- Begin function D_Display
	.p2align	2
_D_Display:                             ; @D_Display
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _nodrawers@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nodrawers@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x8, LBB0_47
; %bb.1:
Lloh3:
	adrp	x8, _setsizeneeded@GOTPAGE
Lloh4:
	ldr	x8, [x8, _setsizeneeded@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	adrp	x25, _D_Display.oldgamestate@PAGE
	adrp	x19, _D_Display.borderdrawcount@PAGE
	cbz	x8, LBB0_3
; %bb.2:
	bl	_R_ExecuteSetViewSize
	mov	w8, #-1
	str	w8, [x25, _D_Display.oldgamestate@PAGEOFF]
	mov	w8, #3
	str	w8, [x19, _D_Display.borderdrawcount@PAGEOFF]
LBB0_3:
Lloh6:
	adrp	x24, _gamestate@GOTPAGE
Lloh7:
	ldr	x24, [x24, _gamestate@GOTPAGEOFF]
	ldr	w21, [x24]
Lloh8:
	adrp	x27, _wipegamestate@GOTPAGE
Lloh9:
	ldr	x27, [x27, _wipegamestate@GOTPAGEOFF]
	ldr	w22, [x27]
	mov	x8, x21
	cmp	w21, w22
	b.eq	LBB0_5
; %bb.4:
Lloh10:
	adrp	x8, _SCREENWIDTH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SCREENWIDTH@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x8, _SCREENHEIGHT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SCREENHEIGHT@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	w0, #0
	mov	w1, #0
	bl	_wipe_StartScreen
	ldr	w8, [x24]
LBB0_5:
Lloh16:
	adrp	x28, _gametic@GOTPAGE
Lloh17:
	ldr	x28, [x28, _gametic@GOTPAGEOFF]
	ldr	x9, [x28]
	cmp	w8, #128
	ccmp	x9, #0, #4, eq
	b.eq	LBB0_7
; %bb.6:
	bl	_HU_Erase
	ldr	w8, [x24]
LBB0_7:
	sub	w8, w8, #128
Lloh18:
	adrp	x19, _automapactive@GOTPAGE
Lloh19:
	ldr	x19, [x19, _automapactive@GOTPAGEOFF]
Lloh20:
	adrp	x26, _inhelpscreens@GOTPAGE
Lloh21:
	ldr	x26, [x26, _inhelpscreens@GOTPAGEOFF]
	cmp	w8, #3
	b.hi	LBB0_20
; %bb.8:
Lloh22:
	adrp	x9, lJTI0_0@PAGE
Lloh23:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
	ldr	x8, [x28]
	cbz	x8, LBB0_20
; %bb.10:
	ldr	x8, [x19]
	cbz	x8, LBB0_12
; %bb.11:
	bl	_AM_Drawer
LBB0_12:
Lloh24:
	adrp	x20, _viewheight@GOTPAGE
Lloh25:
	ldr	x20, [x20, _viewheight@GOTPAGEOFF]
	ldr	w8, [x20]
	adrp	x23, _D_Display.fullscreen@PAGE
	cmp	w21, w22
	b.ne	LBB0_18
; %bb.13:
	ldr	w9, [x23, _D_Display.fullscreen@PAGEOFF]
	cmp	w8, #200
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_18
; %bb.14:
	mov	w9, #0
	b	LBB0_19
LBB0_15:
	bl	_WI_Drawer
	b	LBB0_20
LBB0_16:
	bl	_F_Drawer
	b	LBB0_20
LBB0_17:
	bl	_D_PageDrawer
	b	LBB0_20
LBB0_18:
	mov	w9, #1
LBB0_19:
Lloh26:
	adrp	x10, _D_Display.inhelpscreensstate@PAGE
Lloh27:
	ldr	w10, [x10, _D_Display.inhelpscreensstate@PAGEOFF]
	ldr	w11, [x26]
	cmp	w11, #0
	ccmp	w10, #0, #4, eq
	csinc	w1, w9, wzr, eq
	cmp	w8, #200
	cset	w0, eq
	bl	_ST_Drawer
	ldr	w8, [x20]
	cmp	w8, #200
	cset	w8, eq
	str	w8, [x23, _D_Display.fullscreen@PAGEOFF]
LBB0_20:
	bl	_I_UpdateNoBlit
	ldr	w8, [x24]
	ldr	x10, [x19]
	ldr	x9, [x28]
	cmp	w8, #128
	ccmp	x10, #0, #0, eq
	ccmp	x9, #0, #4, eq
	b.eq	LBB0_22
; %bb.21:
Lloh28:
	adrp	x8, _players@GOTPAGE
Lloh29:
	ldr	x8, [x8, _players@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
Lloh31:
	adrp	x9, _displayplayer@GOTPAGE
Lloh32:
	ldr	x9, [x9, _displayplayer@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	bl	_R_RenderPlayerView
	ldr	w8, [x24]
	ldr	x9, [x28]
LBB0_22:
	cmp	w8, #128
	ccmp	x9, #0, #4, eq
	b.eq	LBB0_24
; %bb.23:
	bl	_HU_Drawer
	ldr	w8, [x24]
LBB0_24:
	ldr	w9, [x25, _D_Display.oldgamestate@PAGEOFF]
	cmp	w8, #128
	ccmp	w8, w9, #4, ne
Lloh34:
	adrp	x28, _PU_CACHE@GOTPAGE
Lloh35:
	ldr	x28, [x28, _PU_CACHE@GOTPAGEOFF]
	b.eq	LBB0_26
; %bb.25:
	ldr	w1, [x28]
Lloh36:
	adrp	x0, l_.str@PAGE
Lloh37:
	add	x0, x0, l_.str@PAGEOFF
	bl	_W_CacheLumpName
	bl	_I_SetPalette
	ldr	w8, [x24]
	ldr	w9, [x25, _D_Display.oldgamestate@PAGEOFF]
LBB0_26:
	adrp	x23, _D_Display.viewactivestate@PAGE
	cmp	w8, #128
	b.ne	LBB0_29
; %bb.27:
	cmp	w9, #128
	b.eq	LBB0_29
; %bb.28:
	str	wzr, [x23, _D_Display.viewactivestate@PAGEOFF]
	bl	_R_FillBackScreen
	ldr	w8, [x24]
LBB0_29:
Lloh38:
	adrp	x20, _scaledviewwidth@GOTPAGE
Lloh39:
	ldr	x20, [x20, _scaledviewwidth@GOTPAGEOFF]
Lloh40:
	adrp	x10, _menuactive@GOTPAGE
Lloh41:
	ldr	x10, [x10, _menuactive@GOTPAGEOFF]
	adrp	x12, _D_Display.menuactivestate@PAGE
	cmp	w8, #128
	b.ne	LBB0_40
; %bb.30:
	ldr	x9, [x19]
	cbnz	x9, LBB0_40
; %bb.31:
	ldr	w9, [x20]
	cmp	w9, #320
	b.eq	LBB0_40
; %bb.32:
	ldr	w8, [x10]
	cbnz	w8, LBB0_37
; %bb.33:
	ldr	w8, [x12, _D_Display.menuactivestate@PAGEOFF]
	cbnz	w8, LBB0_37
; %bb.34:
	ldr	w8, [x23, _D_Display.viewactivestate@PAGEOFF]
	cbz	w8, LBB0_37
; %bb.35:
	mov	x26, x21
	mov	x21, x28
	mov	x28, x22
	mov	x22, x19
	adrp	x19, _D_Display.borderdrawcount@PAGE
	ldr	w8, [x19, _D_Display.borderdrawcount@PAGEOFF]
	cbnz	w8, LBB0_38
; %bb.36:
	mov	w8, #128
	b	LBB0_39
LBB0_37:
	mov	x26, x21
	mov	x21, x28
	mov	x28, x22
	mov	x22, x19
	mov	w8, #3
	adrp	x19, _D_Display.borderdrawcount@PAGE
	str	w8, [x19, _D_Display.borderdrawcount@PAGEOFF]
LBB0_38:
	bl	_R_DrawViewBorder
	adrp	x12, _D_Display.menuactivestate@PAGE
Lloh42:
	adrp	x10, _menuactive@GOTPAGE
Lloh43:
	ldr	x10, [x10, _menuactive@GOTPAGEOFF]
	ldr	w8, [x19, _D_Display.borderdrawcount@PAGEOFF]
	sub	w8, w8, #1
	str	w8, [x19, _D_Display.borderdrawcount@PAGEOFF]
	ldr	w8, [x24]
LBB0_39:
	mov	x19, x22
	mov	x22, x28
	mov	x28, x21
	mov	x21, x26
LBB0_40:
	ldr	w9, [x10]
	str	w9, [x12, _D_Display.menuactivestate@PAGEOFF]
Lloh44:
	adrp	x9, _viewactive@GOTPAGE
Lloh45:
	ldr	x9, [x9, _viewactive@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	str	w9, [x23, _D_Display.viewactivestate@PAGEOFF]
Lloh47:
	adrp	x9, _inhelpscreens@GOTPAGE
Lloh48:
	ldr	x9, [x9, _inhelpscreens@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	adrp	x10, _D_Display.inhelpscreensstate@PAGE
	str	w9, [x10, _D_Display.inhelpscreensstate@PAGEOFF]
	str	w8, [x27]
	str	w8, [x25, _D_Display.oldgamestate@PAGEOFF]
Lloh50:
	adrp	x8, _paused@GOTPAGE
Lloh51:
	ldr	x8, [x8, _paused@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	cbz	x8, LBB0_42
; %bb.41:
	ldr	x8, [x19]
Lloh53:
	adrp	x9, _viewwindowy@GOTPAGE
Lloh54:
	ldr	x9, [x9, _viewwindowy@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	add	w9, w9, #4
	cmp	x8, #0
	mov	w8, #4
	csel	w19, w9, w8, eq
Lloh56:
	adrp	x8, _viewwindowx@GOTPAGE
Lloh57:
	ldr	x8, [x8, _viewwindowx@GOTPAGEOFF]
Lloh58:
	ldr	x8, [x8]
	ldr	w9, [x20]
	sub	w10, w9, #68
	sub	w9, w9, #67
	cmp	w10, #0
	csel	w9, w9, w10, lt
	asr	w9, w9, #1
	add	x20, x8, w9, sxtw
	ldr	w1, [x28]
Lloh59:
	adrp	x0, l_.str.1@PAGE
Lloh60:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_W_CacheLumpName
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_V_DrawPatchDirect
LBB0_42:
	bl	_M_Drawer
	bl	_NetUpdate
	cmp	w21, w22
	b.ne	LBB0_44
; %bb.43:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_I_FinishUpdate
LBB0_44:
Lloh61:
	adrp	x21, _SCREENWIDTH@GOTPAGE
Lloh62:
	ldr	x21, [x21, _SCREENWIDTH@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh63:
	adrp	x22, _SCREENHEIGHT@GOTPAGE
Lloh64:
	ldr	x22, [x22, _SCREENHEIGHT@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	w0, #0
	mov	w1, #0
	bl	_wipe_EndScreen
	bl	_I_GetTime
	sub	w24, w0, #1
Lloh65:
	adrp	x23, _wipe_Melt@GOTPAGE
Lloh66:
	ldr	x23, [x23, _wipe_Melt@GOTPAGEOFF]
LBB0_45:                                ; =>This Inner Loop Header: Depth=1
	bl	_I_GetTime
	subs	w5, w0, w24
	b.eq	LBB0_45
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=1
	mov	x19, x0
	ldr	w0, [x23]
	ldr	w3, [x21]
	ldr	w4, [x22]
	mov	w1, #0
	mov	w2, #0
	bl	_wipe_ScreenWipe
	mov	x20, x0
	bl	_I_UpdateNoBlit
	bl	_M_Drawer
	bl	_I_FinishUpdate
	mov	x24, x19
	cbz	w20, LBB0_45
LBB0_47:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdr	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_17-LBB0_9)>>2
                                        ; -- End function
.zerofill __DATA,__bss,_D_Display.viewactivestate,4,2 ; @D_Display.viewactivestate
.zerofill __DATA,__bss,_D_Display.menuactivestate,4,2 ; @D_Display.menuactivestate
.zerofill __DATA,__bss,_D_Display.inhelpscreensstate,4,2 ; @D_Display.inhelpscreensstate
.zerofill __DATA,__bss,_D_Display.fullscreen,4,2 ; @D_Display.fullscreen
	.section	__DATA,__data
	.p2align	2                               ; @D_Display.oldgamestate
_D_Display.oldgamestate:
	.long	4294967295                      ; 0xffffffff

.zerofill __DATA,__bss,_D_Display.borderdrawcount,4,2 ; @D_Display.borderdrawcount
	.comm	_nodrawers,8,3                  ; @nodrawers
	.comm	_setsizeneeded,8,3              ; @setsizeneeded
	.comm	_gamestate,4,2                  ; @gamestate
	.comm	_wipegamestate,4,2              ; @wipegamestate
	.comm	_SCREENWIDTH,4,2                ; @SCREENWIDTH
	.comm	_SCREENHEIGHT,4,2               ; @SCREENHEIGHT
	.comm	_gametic,8,3                    ; @gametic
	.comm	_automapactive,8,3              ; @automapactive
	.comm	_viewheight,4,2                 ; @viewheight
	.comm	_inhelpscreens,4,2              ; @inhelpscreens
	.comm	_players,8,3                    ; @players
	.comm	_displayplayer,8,3              ; @displayplayer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PLAYPAL"

	.comm	_PU_CACHE,4,2                   ; @PU_CACHE
	.comm	_scaledviewwidth,4,2            ; @scaledviewwidth
	.comm	_menuactive,4,2                 ; @menuactive
	.comm	_viewactive,4,2                 ; @viewactive
	.comm	_paused,8,3                     ; @paused
	.comm	_viewwindowy,4,2                ; @viewwindowy
	.comm	_viewwindowx,8,3                ; @viewwindowx
l_.str.1:                               ; @.str.1
	.asciz	"M_PAUSE"

	.comm	_wipe_Melt,4,2                  ; @wipe_Melt
.subsections_via_symbols
