	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_I_InitGraphics                 ## -- Begin function I_InitGraphics
	.p2align	4, 0x90
_I_InitGraphics:                        ## @I_InitGraphics
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -52(%rbp)
	movl	$0, -48(%rbp)
	movb	$32, -42(%rbp)
	movb	$32, -41(%rbp)
	cmpb	$0, _I_InitGraphics.firsttime(%rip)
	jne	LBB0_53
## %bb.1:
	movb	$1, _I_InitGraphics.firsttime(%rip)
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_I_Quit@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_signal
	leaq	L_.str(%rip), %rdi
	callq	_M_CheckParm
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	_multiply@GOTPCREL(%rip), %rax
	movl	$2, (%rax)
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_M_CheckParm
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_multiply@GOTPCREL(%rip), %rax
	movl	$3, (%rax)
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	callq	_M_CheckParm
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	_multiply@GOTPCREL(%rip), %rax
	movl	$4, (%rax)
	movl	$4, %eax
	jmp	LBB0_8
LBB0_6:
	movq	_multiply@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	movq	_SCREENWIDTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	%eax, %ecx
	movq	_X_width@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movq	_SCREENHEIGHT@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movq	_X_height@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str.3(%rip), %rdi
	callq	_M_CheckParm
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	_myargv@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movq	8(%rcx,%rax,8), %r14
	jmp	LBB0_11
LBB0_9:
	xorl	%r14d, %r14d
LBB0_11:
	leaq	L_.str.4(%rip), %rdi
	callq	_M_CheckParm
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movq	_grabMouse@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	leaq	L_.str.5(%rip), %rdi
	callq	_M_CheckParm
	testl	%eax, %eax
	je	LBB0_20
## %bb.12:
	movq	_myargv@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movq	8(%rcx,%rax,8), %rdi
	leaq	L_.str.6(%rip), %rsi
	leaq	-42(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	leaq	-41(%rbp), %r8
	leaq	-48(%rbp), %r9
	callq	_sscanf
	cmpl	$6, %eax
	je	LBB0_15
## %bb.13:
	cmpl	$2, %eax
	jne	LBB0_19
## %bb.14:
	movl	$0, -48(%rbp)
	movl	$0, -52(%rbp)
	jmp	LBB0_20
LBB0_15:
	cmpb	$45, -42(%rbp)
	jne	LBB0_17
## %bb.16:
	negl	-52(%rbp)
LBB0_17:
	cmpb	$45, -41(%rbp)
	jne	LBB0_20
## %bb.18:
	negl	-48(%rbp)
	jmp	LBB0_20
LBB0_19:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_I_Error
LBB0_20:
	movq	%r14, %rdi
	callq	_XOpenDisplay
	movq	_X_display@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	testl	%eax, %eax
	jne	LBB0_25
## %bb.21:
	testq	%r14, %r14
	je	LBB0_23
## %bb.22:
	leaq	L_.str.8(%rip), %rdi
	movq	%r14, %rsi
	jmp	LBB0_24
LBB0_23:
	leaq	L_.str.10(%rip), %rdi
	callq	_getenv
	leaq	L_.str.9(%rip), %rdi
	movq	%rax, %rsi
LBB0_24:
	xorl	%eax, %eax
	callq	_I_Error
LBB0_25:
	movl	(%r15), %edi
	callq	_DefaultScreen
	movq	_X_screen@GOTPCREL(%rip), %r13
	movl	%eax, (%r13)
	movl	(%r15), %edi
	movq	_PseudoColor@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_X_visualinfo@GOTPCREL(%rip), %rbx
	movl	%eax, %esi
	movl	$8, %edx
	movq	%rbx, %r8
	callq	_XMatchVisualInfo
	testl	%eax, %eax
	jne	LBB0_27
## %bb.26:
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_I_Error
LBB0_27:
	movl	(%rbx), %eax
	movq	_X_visual@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	movl	(%r15), %edi
	callq	_XShmQueryExtension
	movq	_doShm@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_38
## %bb.28:
	testq	%r14, %r14
	jne	LBB0_30
## %bb.29:
	leaq	L_.str.10(%rip), %rdi
	callq	_getenv
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_38
LBB0_30:
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	testb	%cl, %cl
	je	LBB0_35
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	cmpb	$58, %cl
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=1
	incq	%rax
	jmp	LBB0_31
LBB0_34:
	movb	$0, (%rax)
LBB0_35:
	leaq	L_.str.12(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_38
## %bb.36:
	cmpb	$0, (%r14)
	je	LBB0_38
## %bb.37:
	movl	$0, (%rbx)
LBB0_38:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.13(%rip), %rsi
	callq	_fprintf
	movl	(%r15), %ebx
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_RootWindow
	movl	(%r12), %edx
	movq	_AllocAll@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_XCreateColormap
	movq	_X_cmap@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_CWEventMask@GOTPCREL(%rip), %rcx
	movq	_CWColormap@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rbx
	orq	(%rcx), %rbx
	movq	_CWBorderPixel@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rbx
	movq	_KeyPressMask@GOTPCREL(%rip), %rcx
	movq	_KeyReleaseMask@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_ExposureMask@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, -80(%rbp)
	movl	%eax, -64(%rbp)
	movq	$0, -72(%rbp)
	movl	(%r15), %r14d
	movl	(%r13), %esi
	movl	%r14d, %edi
	callq	_RootWindow
	movl	-52(%rbp), %edx
	movl	-48(%rbp), %ecx
	movq	_X_width@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	movq	_X_height@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r9d
	movq	_InputOutput@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r10d
	movl	(%r12), %r11d
	leaq	-80(%rbp), %r13
	movl	%r14d, %edi
	movl	%eax, %esi
	pushq	%r13
	pushq	%rbx
	pushq	%r11
	pushq	%r10
	pushq	$8
	pushq	$0
	callq	_XCreateWindow
	addq	$48, %rsp
	movl	%eax, %ebx
	movq	_X_mainWindow@GOTPCREL(%rip), %r13
	movl	%eax, (%r13)
	movl	(%r15), %r14d
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_createnullcursor
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_XDefineCursor
	movq	_GCGraphicsExposures@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_False@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	(%r15), %edi
	movl	(%r13), %esi
	leaq	-56(%rbp), %rcx
	callq	_XCreateGC
	movq	_X_gc@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%r15), %edi
	movl	(%r13), %esi
	callq	_XMapWindow
	movq	_X_event@GOTPCREL(%rip), %rbx
	movq	_Expose@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_XNextEvent
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_39
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=1
	cmpl	$0, 8(%rbx)
	jne	LBB0_39
## %bb.41:
	movq	_grabMouse@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_43
## %bb.42:
	movl	(%r15), %edi
	movl	(%r13), %esi
	movq	_True@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ButtonPressMask@GOTPCREL(%rip), %rax
	movq	_ButtonReleaseMask@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_PointerMotionMask@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_GrabModeAsync@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_None@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CurrentTime@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	subq	$8, %rsp
	movl	%r8d, %r9d
	pushq	%rbx
	pushq	%rax
	pushq	%rsi
	callq	_XGrabPointer
	addq	$32, %rsp
LBB0_43:
	movq	_doShm@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	(%r15), %ebx
	je	LBB0_48
## %bb.44:
	movl	%ebx, %edi
	callq	_XShmGetEventBase
	movq	_ShmCompletion@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	_X_shmeventtype@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%r15), %edi
	movl	(%r12), %esi
	movq	_ZPixmap@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_X_width@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_X_height@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	movq	_X_shminfo@GOTPCREL(%rip), %r9
	movl	$8, %edx
	xorl	%r8d, %r8d
	pushq	%rbx
	pushq	%rax
	callq	_XShmCreateImage
	addq	$16, %rsp
	movq	_image@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movl	4(%rax), %edi
	imull	(%rax), %edi
	callq	_grabsharedmemory
	movq	(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_45
LBB0_46:
	movl	(%r15), %edi
	movq	_X_shminfo@GOTPCREL(%rip), %rsi
	callq	_XShmAttach
	testl	%eax, %eax
	jne	LBB0_49
## %bb.47:
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_I_Error
	jmp	LBB0_49
LBB0_48:
	movl	(%r12), %r14d
	movq	_ZPixmap@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_X_height@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_X_width@GOTPCREL(%rip), %r12
	imull	(%r12), %edi
	callq	_malloc
	movl	(%r12), %r10d
	movl	(%r13), %r11d
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	$8, %edx
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	movq	%rax, %r9
	pushq	%r10
	pushq	$8
	pushq	%r11
	pushq	%r10
	callq	_XCreateImage
	addq	$32, %rsp
	movq	_image@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_49:
	movq	_multiply@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jne	LBB0_51
## %bb.50:
	movq	_image@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	jmp	LBB0_52
LBB0_51:
	movq	_SCREENHEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SCREENWIDTH@GOTPCREL(%rip), %rax
	imull	(%rax), %edi
	callq	_malloc
LBB0_52:
	movq	_screens@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx)
LBB0_53:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_45:
	callq	_I_InitGraphics.cold.1
	jmp	LBB0_46
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function I_InitGraphics.cold.1
_I_InitGraphics.cold.1:                 ## @I_InitGraphics.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.14(%rip), %rdi
	callq	_perror
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_I_Error
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_I_InitGraphics.firsttime,1,2 ## @I_InitGraphics.firsttime
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_I_Quit,8,3                     ## @I_Quit
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-2"

	.comm	_multiply,4,2                   ## @multiply
L_.str.1:                               ## @.str.1
	.asciz	"-3"

L_.str.2:                               ## @.str.2
	.asciz	"-4"

	.comm	_SCREENWIDTH,4,2                ## @SCREENWIDTH
	.comm	_X_width,4,2                    ## @X_width
	.comm	_SCREENHEIGHT,4,2               ## @SCREENHEIGHT
	.comm	_X_height,4,2                   ## @X_height
L_.str.3:                               ## @.str.3
	.asciz	"-disp"

	.comm	_myargv,8,3                     ## @myargv
L_.str.4:                               ## @.str.4
	.asciz	"-grabmouse"

	.comm	_grabMouse,4,2                  ## @grabMouse
L_.str.5:                               ## @.str.5
	.asciz	"-geom"

L_.str.6:                               ## @.str.6
	.asciz	"%c%d%c%d"

L_.str.7:                               ## @.str.7
	.asciz	"bad -geom parameter"

	.comm	_X_display,4,2                  ## @X_display
L_.str.8:                               ## @.str.8
	.asciz	"Could not open display [%s]"

L_.str.9:                               ## @.str.9
	.asciz	"Could not open display (DISPLAY=[%s])"

L_.str.10:                              ## @.str.10
	.asciz	"DISPLAY"

	.comm	_X_screen,4,2                   ## @X_screen
	.comm	_PseudoColor,4,2                ## @PseudoColor
	.comm	_X_visualinfo,4,2               ## @X_visualinfo
L_.str.11:                              ## @.str.11
	.asciz	"xdoom currently only supports 256-color PseudoColor screens"

	.comm	_X_visual,4,2                   ## @X_visual
	.comm	_doShm,4,2                      ## @doShm
L_.str.12:                              ## @.str.12
	.asciz	"unix"

	.comm	_stderr,4,2                     ## @stderr
L_.str.13:                              ## @.str.13
	.asciz	"Using MITSHM extension\n"

	.comm	_AllocAll,4,2                   ## @AllocAll
	.comm	_X_cmap,4,2                     ## @X_cmap
	.comm	_CWEventMask,8,3                ## @CWEventMask
	.comm	_CWColormap,8,3                 ## @CWColormap
	.comm	_CWBorderPixel,8,3              ## @CWBorderPixel
	.comm	_KeyPressMask,4,2               ## @KeyPressMask
	.comm	_KeyReleaseMask,4,2             ## @KeyReleaseMask
	.comm	_ExposureMask,4,2               ## @ExposureMask
	.comm	_InputOutput,4,2                ## @InputOutput
	.comm	_X_mainWindow,4,2               ## @X_mainWindow
	.comm	_GCGraphicsExposures,4,2        ## @GCGraphicsExposures
	.comm	_False,4,2                      ## @False
	.comm	_X_gc,4,2                       ## @X_gc
	.comm	_X_event,16,3                   ## @X_event
	.comm	_Expose,8,3                     ## @Expose
	.comm	_True,4,2                       ## @True
	.comm	_ButtonPressMask,4,2            ## @ButtonPressMask
	.comm	_ButtonReleaseMask,4,2          ## @ButtonReleaseMask
	.comm	_PointerMotionMask,4,2          ## @PointerMotionMask
	.comm	_GrabModeAsync,4,2              ## @GrabModeAsync
	.comm	_None,4,2                       ## @None
	.comm	_CurrentTime,4,2                ## @CurrentTime
	.comm	_ShmCompletion,8,3              ## @ShmCompletion
	.comm	_X_shmeventtype,8,3             ## @X_shmeventtype
	.comm	_ZPixmap,4,2                    ## @ZPixmap
	.comm	_X_shminfo,4,2                  ## @X_shminfo
	.comm	_image,8,3                      ## @image
L_.str.14:                              ## @.str.14
	.space	1

L_.str.15:                              ## @.str.15
	.asciz	"shmat() failed in InitGraphics()"

L_.str.16:                              ## @.str.16
	.asciz	"XShmAttach() failed in InitGraphics()"

	.comm	_screens,8,3                    ## @screens
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_I_InitGraphics                 ; -- Begin function I_InitGraphics
	.p2align	2
_I_InitGraphics:                        ; @I_InitGraphics
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	str	xzr, [sp, #72]
	mov	w8, #32
	strb	w8, [sp, #71]
	strb	w8, [sp, #70]
	adrp	x8, _I_InitGraphics.firsttime@PAGE
	ldrb	w9, [x8, _I_InitGraphics.firsttime@PAGEOFF]
	tbnz	w9, #0, LBB0_50
; %bb.1:
	mov	w9, #1
	strb	w9, [x8, _I_InitGraphics.firsttime@PAGEOFF]
Lloh0:
	adrp	x8, _SIGINT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _I_Quit@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I_Quit@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	bl	_signal
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_M_CheckParm
Lloh8:
	adrp	x22, _multiply@GOTPAGE
Lloh9:
	ldr	x22, [x22, _multiply@GOTPAGEOFF]
	cbz	w0, LBB0_3
; %bb.2:
	mov	w8, #2
	str	w8, [x22]
LBB0_3:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_M_CheckParm
	cbz	w0, LBB0_5
; %bb.4:
	mov	w8, #3
	str	w8, [x22]
LBB0_5:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_M_CheckParm
	cbz	w0, LBB0_7
; %bb.6:
	mov	w8, #4
	str	w8, [x22]
	b	LBB0_8
LBB0_7:
	ldr	w8, [x22]
LBB0_8:
Lloh14:
	adrp	x9, _SCREENWIDTH@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SCREENWIDTH@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	mul	w9, w8, w9
Lloh17:
	adrp	x25, _X_width@GOTPAGE
Lloh18:
	ldr	x25, [x25, _X_width@GOTPAGEOFF]
Lloh19:
	adrp	x10, _SCREENHEIGHT@GOTPAGE
Lloh20:
	ldr	x10, [x10, _SCREENHEIGHT@GOTPAGEOFF]
	str	w9, [x25]
Lloh21:
	ldr	w9, [x10]
	mul	w8, w9, w8
Lloh22:
	adrp	x26, _X_height@GOTPAGE
Lloh23:
	ldr	x26, [x26, _X_height@GOTPAGEOFF]
	str	w8, [x26]
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_M_CheckParm
Lloh26:
	adrp	x20, _myargv@GOTPAGE
Lloh27:
	ldr	x20, [x20, _myargv@GOTPAGEOFF]
	cbz	w0, LBB0_10
; %bb.9:
	ldr	x8, [x20]
	add	w9, w0, #1
	ldr	x19, [x8, w9, sxtw #3]
	b	LBB0_11
LBB0_10:
	mov	x19, #0
LBB0_11:
Lloh28:
	adrp	x0, l_.str.4@PAGE
Lloh29:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_M_CheckParm
	cmp	w0, #0
	cset	w8, ne
Lloh30:
	adrp	x27, _grabMouse@GOTPAGE
Lloh31:
	ldr	x27, [x27, _grabMouse@GOTPAGEOFF]
	str	w8, [x27]
Lloh32:
	adrp	x0, l_.str.5@PAGE
Lloh33:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_M_CheckParm
	cbz	w0, LBB0_20
; %bb.12:
	ldr	x8, [x20]
	add	w9, w0, #1
	ldr	x0, [x8, w9, sxtw #3]
Lloh34:
	adrp	x1, l_.str.6@PAGE
Lloh35:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x2, sp, #71
	add	x3, sp, #76
	add	x4, sp, #70
	add	x5, sp, #72
	bl	_sscanf
	cmp	w0, #6
	b.eq	LBB0_15
; %bb.13:
	cmp	w0, #2
	b.ne	LBB0_19
; %bb.14:
	str	xzr, [sp, #72]
	b	LBB0_20
LBB0_15:
	ldrb	w8, [sp, #71]
	cmp	w8, #45
	b.ne	LBB0_17
; %bb.16:
	ldr	w8, [sp, #76]
	neg	w8, w8
	str	w8, [sp, #76]
LBB0_17:
	ldrb	w8, [sp, #70]
	cmp	w8, #45
	b.ne	LBB0_20
; %bb.18:
	ldr	w8, [sp, #72]
	neg	w8, w8
	str	w8, [sp, #72]
	b	LBB0_20
LBB0_19:
Lloh36:
	adrp	x0, l_.str.7@PAGE
Lloh37:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_I_Error
LBB0_20:
	mov	x0, x19
	bl	_XOpenDisplay
Lloh38:
	adrp	x21, _X_display@GOTPAGE
Lloh39:
	ldr	x21, [x21, _X_display@GOTPAGEOFF]
	str	w0, [x21]
	cbnz	w0, LBB0_25
; %bb.21:
	cbz	x19, LBB0_23
; %bb.22:
	str	x19, [sp]
Lloh40:
	adrp	x0, l_.str.8@PAGE
Lloh41:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_24
LBB0_23:
Lloh42:
	adrp	x0, l_.str.10@PAGE
Lloh43:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_getenv
	str	x0, [sp]
Lloh44:
	adrp	x0, l_.str.9@PAGE
Lloh45:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_24:
	bl	_I_Error
LBB0_25:
	ldr	w0, [x21]
	bl	_DefaultScreen
	mov	x1, x0
Lloh46:
	adrp	x24, _X_screen@GOTPAGE
Lloh47:
	ldr	x24, [x24, _X_screen@GOTPAGEOFF]
	str	w0, [x24]
	ldr	w0, [x21]
Lloh48:
	adrp	x8, _PseudoColor@GOTPAGE
Lloh49:
	ldr	x8, [x8, _PseudoColor@GOTPAGEOFF]
Lloh50:
	ldr	w3, [x8]
Lloh51:
	adrp	x20, _X_visualinfo@GOTPAGE
Lloh52:
	ldr	x20, [x20, _X_visualinfo@GOTPAGEOFF]
	mov	w2, #8
	mov	x4, x20
	bl	_XMatchVisualInfo
	cbnz	w0, LBB0_27
; %bb.26:
Lloh53:
	adrp	x0, l_.str.11@PAGE
Lloh54:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_I_Error
LBB0_27:
	ldr	w8, [x20]
Lloh55:
	adrp	x28, _X_visual@GOTPAGE
Lloh56:
	ldr	x28, [x28, _X_visual@GOTPAGEOFF]
	str	w8, [x28]
	ldr	w0, [x21]
	bl	_XShmQueryExtension
Lloh57:
	adrp	x23, _doShm@GOTPAGE
Lloh58:
	ldr	x23, [x23, _doShm@GOTPAGEOFF]
	str	w0, [x23]
	cbz	w0, LBB0_37
; %bb.28:
	cbnz	x19, LBB0_30
; %bb.29:
Lloh59:
	adrp	x0, l_.str.10@PAGE
Lloh60:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_getenv
	mov	x19, x0
	cbz	x0, LBB0_37
LBB0_30:
	mov	x8, x19
	ldrb	w9, [x8]
	cbz	w9, LBB0_34
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	cmp	w9, #58
	b.eq	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	add	x8, x8, #1
	ldrb	w9, [x8]
	cbnz	w9, LBB0_31
	b	LBB0_34
LBB0_33:
	strb	wzr, [x8]
LBB0_34:
Lloh61:
	adrp	x1, l_.str.12@PAGE
Lloh62:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	w0, LBB0_37
; %bb.35:
	ldrb	w8, [x19]
	cbz	w8, LBB0_37
; %bb.36:
	str	wzr, [x23]
LBB0_37:
Lloh63:
	adrp	x8, _stderr@GOTPAGE
Lloh64:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
Lloh66:
	adrp	x1, l_.str.13@PAGE
Lloh67:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_fprintf
	ldr	w19, [x21]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_RootWindow
	mov	x1, x0
	ldr	w2, [x28]
Lloh68:
	adrp	x8, _AllocAll@GOTPAGE
Lloh69:
	ldr	x8, [x8, _AllocAll@GOTPAGEOFF]
Lloh70:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_XCreateColormap
Lloh71:
	adrp	x8, _X_cmap@GOTPAGE
Lloh72:
	ldr	x8, [x8, _X_cmap@GOTPAGEOFF]
Lloh73:
	str	w0, [x8]
Lloh74:
	adrp	x8, _CWEventMask@GOTPAGE
Lloh75:
	ldr	x8, [x8, _CWEventMask@GOTPAGEOFF]
Lloh76:
	ldr	x8, [x8]
Lloh77:
	adrp	x9, _CWColormap@GOTPAGE
Lloh78:
	ldr	x9, [x9, _CWColormap@GOTPAGEOFF]
Lloh79:
	ldr	x9, [x9]
	orr	x8, x9, x8
Lloh80:
	adrp	x9, _CWBorderPixel@GOTPAGE
Lloh81:
	ldr	x9, [x9, _CWBorderPixel@GOTPAGEOFF]
Lloh82:
	ldr	x9, [x9]
	orr	x20, x8, x9
Lloh83:
	adrp	x8, _KeyPressMask@GOTPAGE
Lloh84:
	ldr	x8, [x8, _KeyPressMask@GOTPAGEOFF]
Lloh85:
	adrp	x9, _KeyReleaseMask@GOTPAGE
Lloh86:
	ldr	x9, [x9, _KeyReleaseMask@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
Lloh88:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh89:
	adrp	x9, _ExposureMask@GOTPAGE
Lloh90:
	ldr	x9, [x9, _ExposureMask@GOTPAGEOFF]
Lloh91:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #40]
	str	w0, [sp, #56]
	str	xzr, [sp, #48]
	ldr	w19, [x21]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_RootWindow
	mov	x1, x0
	ldp	w3, w2, [sp, #72]
	ldr	w4, [x25]
	ldr	w5, [x26]
Lloh92:
	adrp	x8, _InputOutput@GOTPAGE
Lloh93:
	ldr	x8, [x8, _InputOutput@GOTPAGEOFF]
Lloh94:
	ldr	w8, [x8]
	ldr	w9, [x28]
	add	x10, sp, #40
	stp	x20, x10, [sp, #8]
	stp	w8, w9, [sp]
	mov	x0, x19
	mov	w6, #0
	mov	w7, #8
	bl	_XCreateWindow
	mov	x19, x0
Lloh95:
	adrp	x24, _X_mainWindow@GOTPAGE
Lloh96:
	ldr	x24, [x24, _X_mainWindow@GOTPAGEOFF]
	str	w0, [x24]
	ldr	w20, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_createnullcursor
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_XDefineCursor
Lloh97:
	adrp	x8, _GCGraphicsExposures@GOTPAGE
Lloh98:
	ldr	x8, [x8, _GCGraphicsExposures@GOTPAGEOFF]
Lloh99:
	ldr	w2, [x8]
Lloh100:
	adrp	x8, _False@GOTPAGE
Lloh101:
	ldr	x8, [x8, _False@GOTPAGEOFF]
Lloh102:
	ldr	w8, [x8]
	str	w8, [sp, #32]
	ldr	w0, [x21]
	ldr	w1, [x24]
	add	x3, sp, #32
	bl	_XCreateGC
Lloh103:
	adrp	x8, _X_gc@GOTPAGE
Lloh104:
	ldr	x8, [x8, _X_gc@GOTPAGEOFF]
Lloh105:
	str	w0, [x8]
	ldr	w0, [x21]
	ldr	w1, [x24]
	bl	_XMapWindow
Lloh106:
	adrp	x19, _X_event@GOTPAGE
Lloh107:
	ldr	x19, [x19, _X_event@GOTPAGEOFF]
Lloh108:
	adrp	x20, _Expose@GOTPAGE
Lloh109:
	ldr	x20, [x20, _Expose@GOTPAGEOFF]
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	mov	x1, x19
	bl	_XNextEvent
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	w10, [x19, #8]
	cmp	x8, x9
	ccmp	w10, #0, #0, eq
	b.ne	LBB0_38
; %bb.39:
	ldr	w8, [x27]
	cbz	w8, LBB0_41
; %bb.40:
	ldr	w0, [x21]
	ldr	w1, [x24]
Lloh110:
	adrp	x8, _True@GOTPAGE
Lloh111:
	ldr	x8, [x8, _True@GOTPAGEOFF]
Lloh112:
	ldr	w2, [x8]
Lloh113:
	adrp	x8, _ButtonPressMask@GOTPAGE
Lloh114:
	ldr	x8, [x8, _ButtonPressMask@GOTPAGEOFF]
Lloh115:
	ldr	w8, [x8]
Lloh116:
	adrp	x9, _ButtonReleaseMask@GOTPAGE
Lloh117:
	ldr	x9, [x9, _ButtonReleaseMask@GOTPAGEOFF]
Lloh118:
	ldr	w9, [x9]
Lloh119:
	adrp	x10, _PointerMotionMask@GOTPAGE
Lloh120:
	ldr	x10, [x10, _PointerMotionMask@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh121:
	ldr	w9, [x10]
	orr	w3, w8, w9
Lloh122:
	adrp	x8, _GrabModeAsync@GOTPAGE
Lloh123:
	ldr	x8, [x8, _GrabModeAsync@GOTPAGEOFF]
Lloh124:
	ldr	w4, [x8]
Lloh125:
	adrp	x8, _None@GOTPAGE
Lloh126:
	ldr	x8, [x8, _None@GOTPAGEOFF]
Lloh127:
	ldr	w7, [x8]
Lloh128:
	adrp	x8, _CurrentTime@GOTPAGE
Lloh129:
	ldr	x8, [x8, _CurrentTime@GOTPAGEOFF]
Lloh130:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x5, x4
	mov	x6, x1
	bl	_XGrabPointer
LBB0_41:
	ldr	w8, [x23]
	ldr	w19, [x21]
Lloh131:
	adrp	x23, _image@GOTPAGE
Lloh132:
	ldr	x23, [x23, _image@GOTPAGEOFF]
	cbz	w8, LBB0_45
; %bb.42:
	mov	x0, x19
	bl	_XShmGetEventBase
Lloh133:
	adrp	x8, _ShmCompletion@GOTPAGE
Lloh134:
	ldr	x8, [x8, _ShmCompletion@GOTPAGEOFF]
Lloh135:
	ldr	x8, [x8]
	add	x8, x8, x0
Lloh136:
	adrp	x9, _X_shmeventtype@GOTPAGE
Lloh137:
	ldr	x9, [x9, _X_shmeventtype@GOTPAGEOFF]
Lloh138:
	str	x8, [x9]
	ldr	w0, [x21]
	ldr	w1, [x28]
Lloh139:
	adrp	x8, _ZPixmap@GOTPAGE
Lloh140:
	ldr	x8, [x8, _ZPixmap@GOTPAGEOFF]
Lloh141:
	ldr	w3, [x8]
	ldr	w6, [x25]
	ldr	w7, [x26]
Lloh142:
	adrp	x5, _X_shminfo@GOTPAGE
Lloh143:
	ldr	x5, [x5, _X_shminfo@GOTPAGEOFF]
	mov	w2, #8
	mov	w4, #0
	bl	_XShmCreateImage
	str	x0, [x23]
	ldp	w8, w9, [x0]
	mul	w0, w9, w8
	bl	_grabsharedmemory
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_51
LBB0_43:
	ldr	w0, [x21]
Lloh144:
	adrp	x1, _X_shminfo@GOTPAGE
Lloh145:
	ldr	x1, [x1, _X_shminfo@GOTPAGEOFF]
	bl	_XShmAttach
	cbnz	w0, LBB0_46
; %bb.44:
Lloh146:
	adrp	x0, l_.str.16@PAGE
Lloh147:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_I_Error
	b	LBB0_46
LBB0_45:
	ldr	w20, [x28]
Lloh148:
	adrp	x8, _ZPixmap@GOTPAGE
Lloh149:
	ldr	x8, [x8, _ZPixmap@GOTPAGEOFF]
Lloh150:
	ldr	w21, [x8]
	ldr	w8, [x25]
	ldr	w9, [x26]
	mul	w0, w9, w8
	bl	_malloc
	mov	x5, x0
	ldr	w6, [x25]
	ldr	w7, [x26]
	mov	w8, #8
	stp	w8, w6, [sp]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #8
	mov	x3, x21
	mov	w4, #0
	bl	_XCreateImage
	str	x0, [x23]
LBB0_46:
	ldr	w8, [x22]
	cmp	w8, #1
	b.ne	LBB0_48
; %bb.47:
	ldr	x8, [x23]
	ldr	x0, [x8, #8]
	b	LBB0_49
LBB0_48:
Lloh151:
	adrp	x8, _SCREENWIDTH@GOTPAGE
Lloh152:
	ldr	x8, [x8, _SCREENWIDTH@GOTPAGEOFF]
Lloh153:
	ldr	w8, [x8]
Lloh154:
	adrp	x9, _SCREENHEIGHT@GOTPAGE
Lloh155:
	ldr	x9, [x9, _SCREENHEIGHT@GOTPAGEOFF]
Lloh156:
	ldr	w9, [x9]
	mul	w0, w9, w8
	bl	_malloc
LBB0_49:
Lloh157:
	adrp	x8, _screens@GOTPAGE
Lloh158:
	ldr	x8, [x8, _screens@GOTPAGEOFF]
Lloh159:
	ldr	x8, [x8]
	str	x0, [x8]
LBB0_50:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_51:
	bl	_I_InitGraphics.cold.1
	b	LBB0_43
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh106, Lloh107
	.loh AdrpLdrGotStr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh87
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotStr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGot	Lloh131, Lloh132
	.loh AdrpLdrGot	Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh139, Lloh140, Lloh141
	.loh AdrpLdrGotStr	Lloh136, Lloh137, Lloh138
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGot	Lloh144, Lloh145
	.loh AdrpAdd	Lloh146, Lloh147
	.loh AdrpLdrGotLdr	Lloh148, Lloh149, Lloh150
	.loh AdrpLdrGotLdr	Lloh154, Lloh155, Lloh156
	.loh AdrpLdrGotLdr	Lloh151, Lloh152, Lloh153
	.loh AdrpLdrGotLdr	Lloh157, Lloh158, Lloh159
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function I_InitGraphics.cold.1
_I_InitGraphics.cold.1:                 ; @I_InitGraphics.cold.1
	.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
Lloh160:
	adrp	x0, l_.str.14@PAGE
Lloh161:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_perror
Lloh162:
	adrp	x0, l_.str.15@PAGE
Lloh163:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_I_Error
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh162, Lloh163
	.loh AdrpAdd	Lloh160, Lloh161
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_I_InitGraphics.firsttime,1,2 ; @I_InitGraphics.firsttime
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_I_Quit,8,3                     ; @I_Quit
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-2"

	.comm	_multiply,4,2                   ; @multiply
l_.str.1:                               ; @.str.1
	.asciz	"-3"

l_.str.2:                               ; @.str.2
	.asciz	"-4"

	.comm	_SCREENWIDTH,4,2                ; @SCREENWIDTH
	.comm	_X_width,4,2                    ; @X_width
	.comm	_SCREENHEIGHT,4,2               ; @SCREENHEIGHT
	.comm	_X_height,4,2                   ; @X_height
l_.str.3:                               ; @.str.3
	.asciz	"-disp"

	.comm	_myargv,8,3                     ; @myargv
l_.str.4:                               ; @.str.4
	.asciz	"-grabmouse"

	.comm	_grabMouse,4,2                  ; @grabMouse
l_.str.5:                               ; @.str.5
	.asciz	"-geom"

l_.str.6:                               ; @.str.6
	.asciz	"%c%d%c%d"

l_.str.7:                               ; @.str.7
	.asciz	"bad -geom parameter"

	.comm	_X_display,4,2                  ; @X_display
l_.str.8:                               ; @.str.8
	.asciz	"Could not open display [%s]"

l_.str.9:                               ; @.str.9
	.asciz	"Could not open display (DISPLAY=[%s])"

l_.str.10:                              ; @.str.10
	.asciz	"DISPLAY"

	.comm	_X_screen,4,2                   ; @X_screen
	.comm	_PseudoColor,4,2                ; @PseudoColor
	.comm	_X_visualinfo,4,2               ; @X_visualinfo
l_.str.11:                              ; @.str.11
	.asciz	"xdoom currently only supports 256-color PseudoColor screens"

	.comm	_X_visual,4,2                   ; @X_visual
	.comm	_doShm,4,2                      ; @doShm
l_.str.12:                              ; @.str.12
	.asciz	"unix"

	.comm	_stderr,4,2                     ; @stderr
l_.str.13:                              ; @.str.13
	.asciz	"Using MITSHM extension\n"

	.comm	_AllocAll,4,2                   ; @AllocAll
	.comm	_X_cmap,4,2                     ; @X_cmap
	.comm	_CWEventMask,8,3                ; @CWEventMask
	.comm	_CWColormap,8,3                 ; @CWColormap
	.comm	_CWBorderPixel,8,3              ; @CWBorderPixel
	.comm	_KeyPressMask,4,2               ; @KeyPressMask
	.comm	_KeyReleaseMask,4,2             ; @KeyReleaseMask
	.comm	_ExposureMask,4,2               ; @ExposureMask
	.comm	_InputOutput,4,2                ; @InputOutput
	.comm	_X_mainWindow,4,2               ; @X_mainWindow
	.comm	_GCGraphicsExposures,4,2        ; @GCGraphicsExposures
	.comm	_False,4,2                      ; @False
	.comm	_X_gc,4,2                       ; @X_gc
	.comm	_X_event,16,3                   ; @X_event
	.comm	_Expose,8,3                     ; @Expose
	.comm	_True,4,2                       ; @True
	.comm	_ButtonPressMask,4,2            ; @ButtonPressMask
	.comm	_ButtonReleaseMask,4,2          ; @ButtonReleaseMask
	.comm	_PointerMotionMask,4,2          ; @PointerMotionMask
	.comm	_GrabModeAsync,4,2              ; @GrabModeAsync
	.comm	_None,4,2                       ; @None
	.comm	_CurrentTime,4,2                ; @CurrentTime
	.comm	_ShmCompletion,8,3              ; @ShmCompletion
	.comm	_X_shmeventtype,8,3             ; @X_shmeventtype
	.comm	_ZPixmap,4,2                    ; @ZPixmap
	.comm	_X_shminfo,4,2                  ; @X_shminfo
	.comm	_image,8,3                      ; @image
l_.str.14:                              ; @.str.14
	.space	1

l_.str.15:                              ; @.str.15
	.asciz	"shmat() failed in InitGraphics()"

l_.str.16:                              ; @.str.16
	.asciz	"XShmAttach() failed in InitGraphics()"

	.comm	_screens,8,3                    ; @screens
.subsections_via_symbols
