	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function createWindow
_createWindow:                          ## @createWindow
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	__GLFW_X11_CONTEXT_VISUAL@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	__glfw@GOTPCREL(%rip), %r12
	movl	16(%r12), %edi
	movl	80(%r12), %esi
	movl	(%r13), %edx
	movq	_AllocNone@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_XCreateColormap
	movl	%eax, 24(%r15)
	movq	_CWBorderPixel@GOTPCREL(%rip), %rcx
	movq	_CWColormap@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rbx
	orq	(%rcx), %rbx
	movq	_CWEventMask@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rbx
	movq	_StructureNotifyMask@GOTPCREL(%rip), %rdx
	movq	_KeyPressMask@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movq	_KeyReleaseMask@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_PointerMotionMask@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_ButtonPressMask@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_ButtonReleaseMask@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_ExposureMask@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_FocusChangeMask@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_VisibilityChangeMask@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%eax, -96(%rbp)
	movq	_EnterWindowMask@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	$0, -104(%rbp)
	movq	_LeaveWindowMask@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PropertyChangeMask@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -112(%rbp)
	xorl	%eax, %eax
	callq	__glfwGrabXErrorHandler
	movl	16(%r12), %edi
	movl	80(%r12), %esi
	movl	8(%r14), %r9d
	movl	12(%r14), %r8d
	movl	(%r13), %r11d
	movl	4(%r13), %r10d
	movq	_InputOutput@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	leaq	-112(%rbp), %r13
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	pushq	%r13
	pushq	%rbx
	pushq	%r11
	pushq	%rax
	pushq	%r10
	pushq	$0
	callq	_XCreateWindow
	addq	$48, %rsp
	movl	%eax, 16(%r15)
	xorl	%eax, %eax
	callq	__glfwReleaseXErrorHandler
	movl	16(%r15), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.1:
	movl	16(%r12), %edi
	movl	76(%r12), %edx
	movl	%r15d, %ecx
	callq	_XSaveContext
	cmpq	$0, 24(%r14)
	je	LBB0_6
## %bb.2:
	cmpq	$0, 56(%r12)
	je	LBB0_4
## %bb.3:
	cmpl	$0, 72(%r12)
	jne	LBB0_12
LBB0_4:
	movq	_True@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	movl	16(%r12), %edi
	movl	16(%r15), %esi
	movq	_CWOverrideRedirect@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-88(%rbp), %rcx
	callq	_XChangeWindowAttributes
	jmp	LBB0_12
LBB0_5:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	__glfwInputXError
	jmp	LBB0_31
LBB0_6:
	cmpl	$0, 40(%r14)
	jne	LBB0_8
## %bb.7:
	movq	$2, -88(%rbp)
	movq	$0, -72(%rbp)
	movl	16(%r12), %edi
	movl	16(%r15), %esi
	movq	64(%r12), %rcx
	movq	_PropModeReplace@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-88(%rbp), %rax
	movq	%rcx, %rdx
	movl	$32, %r8d
	pushq	$5
	pushq	%rax
	callq	_XChangeProperty
	addq	$16, %rsp
LBB0_8:
	cmpq	$0, 32(%r14)
	je	LBB0_12
## %bb.9:
	movq	56(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.10:
	movq	48(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.11:
	movq	__NET_WM_STATE_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	subq	$8, %rsp
	movq	%r15, %rdi
	xorl	%r8d, %r8d
	movl	$1, %r9d
	pushq	$0
	callq	_sendEventToWM
	addq	$16, %rsp
LBB0_12:
	movl	(%r12), %eax
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, -88(%rbp)
	movl	4(%r12), %eax
	movl	$1, %ecx
	testl	%eax, %eax
	jne	LBB0_15
	jmp	LBB0_16
LBB0_14:
	movl	4(%r12), %eax
	xorl	%ecx, %ecx
	testl	%eax, %eax
	je	LBB0_17
LBB0_15:
	movl	%ecx, %edx
	incl	%ecx
	movl	%eax, -88(%rbp,%rdx,4)
LBB0_16:
	movl	16(%r12), %edi
	movl	16(%r15), %esi
	leaq	-88(%rbp), %rdx
	callq	_XSetWMProtocols
LBB0_17:
	cmpq	$0, 40(%r12)
	je	LBB0_19
## %bb.18:
	xorl	%eax, %eax
	callq	_getpid
	movl	%eax, -88(%rbp)
	movl	16(%r12), %edi
	movl	16(%r15), %esi
	movq	40(%r12), %rdx
	movq	_XA_CARDINAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_PropModeReplace@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-88(%rbp), %rax
	movl	$32, %r8d
	pushq	$1
	pushq	%rax
	callq	_XChangeProperty
	addq	$16, %rsp
LBB0_19:
	xorl	%eax, %eax
	callq	_XAllocWMHints
	testq	%rax, %rax
	je	LBB0_30
## %bb.20:
	movq	%rax, %rbx
	movq	_StateHint@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_NormalState@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movl	16(%r12), %edi
	movl	16(%r15), %esi
	movq	%rbx, %rdx
	callq	_XSetWMHints
	movq	%rbx, %rdi
	callq	_XFree
	xorl	%eax, %eax
	callq	_XAllocSizeHints
	movq	%rax, %rbx
	movl	$0, (%rax)
	movq	24(%r14), %rdi
	movq	_PPosition@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	testq	%rdi, %rdi
	je	LBB0_34
## %bb.21:
	leaq	48(%rbx), %rsi
	movq	%rbx, %rdx
	addq	$40, %rdx
	callq	__glfwPlatformGetMonitorPos
	cmpl	$0, 16(%r14)
	jne	LBB0_23
LBB0_22:
	movq	_PMinSize@GOTPCREL(%rip), %rax
	movq	_PMaxSize@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
	movq	8(%r14), %xmm0                  ## xmm0 = mem[0],zero
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	movdqu	%xmm0, 24(%rbx)
LBB0_23:
	movl	16(%r12), %edi
	movl	16(%r15), %esi
	movq	%rbx, %rdx
	callq	_XSetWMNormalHints
	movq	%rbx, %rdi
	callq	_XFree
	movq	(%r14), %rdi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	xorl	%eax, %eax
	callq	_XAllocClassHint
	movq	%rax, %rbx
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	movq	%rax, 16(%rbx)
	movl	16(%r12), %edi
	movl	16(%r15), %esi
	movq	%rbx, %rdx
	callq	_XSetClassHint
	movq	%rbx, %rdi
	callq	_XFree
LBB0_25:
	movq	24(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_27
## %bb.26:
	movl	$5, -88(%rbp)
	movl	16(%r12), %edi
	movl	16(%r15), %esi
	movq	_XA_ATOM@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_PropModeReplace@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-88(%rbp), %rax
	movl	$32, %r8d
	pushq	$1
	pushq	%rax
	callq	_XChangeProperty
	addq	$16, %rsp
LBB0_27:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	__glfwPlatformSetWindowTitle
	movl	16(%r12), %edi
	movl	16(%r15), %esi
	movq	_RRScreenChangeNotifyMask@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_XRRSelectInput
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.28:
	movq	_XNInputStyle@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_XIMPreeditNothing@GOTPCREL(%rip), %rax
	movq	_XIMStatusNothing@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_XNClientWindow@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	16(%r15), %r8d
	movq	_XNFocusWindow@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	pushq	$0
	pushq	%r8
	callq	_XCreateIC
	addq	$16, %rsp
	movl	%eax, 20(%r15)
LBB0_29:
	leaq	12(%r15), %rsi
	leaq	8(%r15), %rdx
	movq	%r15, %rdi
	callq	__glfwPlatformGetWindowPos
	leaq	4(%r15), %rsi
	movq	%r15, %rdi
	movq	%r15, %rdx
	callq	__glfwPlatformGetWindowSize
	movq	_GL_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_30:
	movq	_GLFW_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	__glfwInputError
LBB0_31:
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_35
## %bb.33:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, 40(%rbx)
	cmpl	$0, 16(%r14)
	jne	LBB0_23
	jmp	LBB0_22
LBB0_35:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	__GLFW_X11_CONTEXT_VISUAL,8,3   ## @_GLFW_X11_CONTEXT_VISUAL
	.comm	__glfw,88,3                     ## @_glfw
	.comm	_AllocNone,4,2                  ## @AllocNone
	.comm	_CWBorderPixel,8,3              ## @CWBorderPixel
	.comm	_CWColormap,8,3                 ## @CWColormap
	.comm	_CWEventMask,8,3                ## @CWEventMask
	.comm	_StructureNotifyMask,4,2        ## @StructureNotifyMask
	.comm	_KeyPressMask,4,2               ## @KeyPressMask
	.comm	_KeyReleaseMask,4,2             ## @KeyReleaseMask
	.comm	_PointerMotionMask,4,2          ## @PointerMotionMask
	.comm	_ButtonPressMask,4,2            ## @ButtonPressMask
	.comm	_ButtonReleaseMask,4,2          ## @ButtonReleaseMask
	.comm	_ExposureMask,4,2               ## @ExposureMask
	.comm	_FocusChangeMask,4,2            ## @FocusChangeMask
	.comm	_VisibilityChangeMask,4,2       ## @VisibilityChangeMask
	.comm	_EnterWindowMask,4,2            ## @EnterWindowMask
	.comm	_LeaveWindowMask,4,2            ## @LeaveWindowMask
	.comm	_PropertyChangeMask,4,2         ## @PropertyChangeMask
	.comm	_InputOutput,4,2                ## @InputOutput
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"X11: Failed to create window"

	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
	.comm	_True,4,2                       ## @True
	.comm	_CWOverrideRedirect,4,2         ## @CWOverrideRedirect
	.comm	_PropModeReplace,4,2            ## @PropModeReplace
	.comm	__NET_WM_STATE_ADD,4,2          ## @_NET_WM_STATE_ADD
	.comm	_XA_CARDINAL,8,3                ## @XA_CARDINAL
	.comm	_GLFW_OUT_OF_MEMORY,4,2         ## @GLFW_OUT_OF_MEMORY
L_.str.1:                               ## @.str.1
	.asciz	"X11: Failed to allocate WM hints"

	.comm	_StateHint,4,2                  ## @StateHint
	.comm	_NormalState,4,2                ## @NormalState
	.comm	_PPosition,4,2                  ## @PPosition
	.comm	_PMinSize,4,2                   ## @PMinSize
	.comm	_PMaxSize,4,2                   ## @PMaxSize
	.comm	_XA_ATOM,8,3                    ## @XA_ATOM
	.comm	_RRScreenChangeNotifyMask,4,2   ## @RRScreenChangeNotifyMask
	.comm	_XNInputStyle,4,2               ## @XNInputStyle
	.comm	_XIMPreeditNothing,4,2          ## @XIMPreeditNothing
	.comm	_XIMStatusNothing,4,2           ## @XIMStatusNothing
	.comm	_XNClientWindow,4,2             ## @XNClientWindow
	.comm	_XNFocusWindow,4,2              ## @XNFocusWindow
	.comm	_GL_TRUE,4,2                    ## @GL_TRUE
	.comm	_XI_Motion,4,2                  ## @XI_Motion
	.no_dead_strip	_createWindow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function createWindow
_createWindow:                          ; @createWindow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, __GLFW_X11_CONTEXT_VISUAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, __GLFW_X11_CONTEXT_VISUAL@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
Lloh6:
	adrp	x22, __glfw@GOTPAGE
Lloh7:
	ldr	x22, [x22, __glfw@GOTPAGEOFF]
	ldr	w0, [x22, #16]
	ldr	w1, [x22, #80]
	ldr	w2, [x21]
Lloh8:
	adrp	x8, _AllocNone@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AllocNone@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	bl	_XCreateColormap
Lloh11:
	adrp	x8, _CWBorderPixel@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CWBorderPixel@GOTPAGEOFF]
	str	w0, [x19, #24]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _CWColormap@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CWColormap@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	orr	x8, x9, x8
Lloh17:
	adrp	x9, _CWEventMask@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CWEventMask@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	orr	x23, x8, x9
Lloh20:
	adrp	x8, _StructureNotifyMask@GOTPAGE
Lloh21:
	ldr	x8, [x8, _StructureNotifyMask@GOTPAGEOFF]
	str	w0, [sp, #40]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _KeyPressMask@GOTPAGE
Lloh24:
	ldr	x9, [x9, _KeyPressMask@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh26:
	adrp	x9, _KeyReleaseMask@GOTPAGE
Lloh27:
	ldr	x9, [x9, _KeyReleaseMask@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh29:
	adrp	x9, _PointerMotionMask@GOTPAGE
Lloh30:
	ldr	x9, [x9, _PointerMotionMask@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _ButtonPressMask@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ButtonPressMask@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh35:
	adrp	x9, _ButtonReleaseMask@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ButtonReleaseMask@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh38:
	adrp	x9, _ExposureMask@GOTPAGE
Lloh39:
	ldr	x9, [x9, _ExposureMask@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh41:
	adrp	x9, _FocusChangeMask@GOTPAGE
Lloh42:
	ldr	x9, [x9, _FocusChangeMask@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh44:
	adrp	x9, _VisibilityChangeMask@GOTPAGE
Lloh45:
	ldr	x9, [x9, _VisibilityChangeMask@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh47:
	adrp	x9, _EnterWindowMask@GOTPAGE
Lloh48:
	ldr	x9, [x9, _EnterWindowMask@GOTPAGEOFF]
	str	xzr, [sp, #32]
Lloh49:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh50:
	adrp	x9, _LeaveWindowMask@GOTPAGE
Lloh51:
	ldr	x9, [x9, _LeaveWindowMask@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh53:
	adrp	x9, _PropertyChangeMask@GOTPAGE
Lloh54:
	ldr	x9, [x9, _PropertyChangeMask@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #24]
	bl	__glfwGrabXErrorHandler
	ldr	w0, [x22, #16]
	ldr	w1, [x22, #80]
	ldp	w5, w4, [x20, #8]
Lloh56:
	adrp	x8, _InputOutput@GOTPAGE
Lloh57:
	ldr	x8, [x8, _InputOutput@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	ldp	w9, w7, [x21]
	add	x10, sp, #24
	stp	x23, x10, [sp, #8]
	stp	w8, w9, [sp]
	mov	w2, #0
	mov	w3, #0
	mov	w6, #0
	bl	_XCreateWindow
	str	w0, [x19, #16]
	bl	__glfwReleaseXErrorHandler
	ldr	w1, [x19, #16]
	cbz	w1, LBB0_5
; %bb.1:
	ldr	w0, [x22, #16]
	ldr	w2, [x22, #76]
	mov	x3, x19
	bl	_XSaveContext
	ldr	x8, [x20, #24]
Lloh59:
	adrp	x23, _PropModeReplace@GOTPAGE
Lloh60:
	ldr	x23, [x23, _PropModeReplace@GOTPAGEOFF]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	x8, [x22, #56]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x22, #72]
	cbnz	w8, LBB0_12
LBB0_4:
Lloh61:
	adrp	x8, _True@GOTPAGE
Lloh62:
	ldr	x8, [x8, _True@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	str	w8, [sp, #52]
	ldr	w0, [x22, #16]
	ldr	w1, [x19, #16]
Lloh64:
	adrp	x8, _CWOverrideRedirect@GOTPAGE
Lloh65:
	ldr	x8, [x8, _CWOverrideRedirect@GOTPAGEOFF]
Lloh66:
	ldr	w2, [x8]
	add	x3, sp, #48
	bl	_XChangeWindowAttributes
	b	LBB0_12
LBB0_5:
Lloh67:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh68:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh69:
	ldr	w0, [x8]
Lloh70:
	adrp	x1, l_.str@PAGE
Lloh71:
	add	x1, x1, l_.str@PAGEOFF
	bl	__glfwInputXError
	b	LBB0_32
LBB0_6:
	ldr	w8, [x20, #40]
	cbnz	w8, LBB0_8
; %bb.7:
	mov	w8, #2
	str	x8, [sp, #48]
	str	xzr, [sp, #64]
	ldr	w0, [x22, #16]
	ldr	w1, [x19, #16]
	ldr	x2, [x22, #64]
	ldr	w5, [x23]
	add	x6, sp, #48
	mov	x3, x2
	mov	w4, #32
	mov	w7, #5
	bl	_XChangeProperty
LBB0_8:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_12
; %bb.9:
	ldr	x1, [x22, #56]
	cbz	x1, LBB0_12
; %bb.10:
	ldr	x3, [x22, #48]
	cbz	x3, LBB0_12
; %bb.11:
Lloh72:
	adrp	x8, __NET_WM_STATE_ADD@GOTPAGE
Lloh73:
	ldr	x8, [x8, __NET_WM_STATE_ADD@GOTPAGEOFF]
Lloh74:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w4, #0
	mov	w5, #1
	mov	w6, #0
	bl	_sendEventToWM
LBB0_12:
	ldr	w8, [x22]
	cbz	w8, LBB0_14
; %bb.13:
	str	w8, [sp, #48]
	ldr	w8, [x22, #4]
	mov	w3, #1
	cbnz	w8, LBB0_16
	b	LBB0_17
LBB0_14:
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_18
; %bb.15:
	mov	w3, #0
LBB0_16:
	add	x9, sp, #48
	str	w8, [x9, w3, uxtw #2]
	add	w3, w3, #1
LBB0_17:
	ldr	w0, [x22, #16]
	ldr	w1, [x19, #16]
	add	x2, sp, #48
	bl	_XSetWMProtocols
LBB0_18:
	ldr	x8, [x22, #40]
	cbz	x8, LBB0_20
; %bb.19:
	bl	_getpid
	str	w0, [sp, #48]
	ldr	w0, [x22, #16]
	ldr	w1, [x19, #16]
	ldr	x2, [x22, #40]
Lloh75:
	adrp	x8, _XA_CARDINAL@GOTPAGE
Lloh76:
	ldr	x8, [x8, _XA_CARDINAL@GOTPAGEOFF]
Lloh77:
	ldr	x3, [x8]
	ldr	w5, [x23]
	add	x6, sp, #48
	mov	w4, #32
	mov	w7, #1
	bl	_XChangeProperty
LBB0_20:
	bl	_XAllocWMHints
	cbz	x0, LBB0_31
; %bb.21:
	mov	x21, x0
Lloh78:
	adrp	x8, _StateHint@GOTPAGE
Lloh79:
	ldr	x8, [x8, _StateHint@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	str	w8, [x0]
Lloh81:
	adrp	x8, _NormalState@GOTPAGE
Lloh82:
	ldr	x8, [x8, _NormalState@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
	str	w8, [x0, #56]
	ldr	w0, [x22, #16]
	ldr	w1, [x19, #16]
	mov	x2, x21
	bl	_XSetWMHints
	mov	x0, x21
	bl	_XFree
	bl	_XAllocSizeHints
	mov	x21, x0
	str	wzr, [x0]
	ldr	x0, [x20, #24]
Lloh84:
	adrp	x8, _PPosition@GOTPAGE
Lloh85:
	ldr	x8, [x8, _PPosition@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
	str	w8, [x21]
	cbz	x0, LBB0_35
; %bb.22:
	add	x1, x21, #48
	add	x2, x21, #40
	bl	__glfwPlatformGetMonitorPos
	ldr	w8, [x20, #16]
	cbnz	w8, LBB0_24
LBB0_23:
Lloh87:
	adrp	x8, _PMinSize@GOTPAGE
Lloh88:
	ldr	x8, [x8, _PMinSize@GOTPAGEOFF]
Lloh89:
	adrp	x9, _PMaxSize@GOTPAGE
Lloh90:
	ldr	x9, [x9, _PMaxSize@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
Lloh92:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x21]
	orr	w8, w8, w9
	mov	x9, x21
	str	w8, [x9], #24
	ldr	d0, [x20, #8]
	fmov	d1, d0
	st2.2s	{ v0, v1 }, [x9]
LBB0_24:
	ldr	w0, [x22, #16]
	ldr	w1, [x19, #16]
	mov	x2, x21
	bl	_XSetWMNormalHints
	mov	x0, x21
	bl	_XFree
	ldr	x0, [x20]
	bl	_strlen
	cbz	x0, LBB0_26
; %bb.25:
	bl	_XAllocClassHint
	mov	x21, x0
	ldr	x8, [x20]
	stp	x8, x8, [x0, #8]
	ldr	w0, [x22, #16]
	ldr	w1, [x19, #16]
	mov	x2, x21
	bl	_XSetClassHint
	mov	x0, x21
	bl	_XFree
LBB0_26:
	ldr	x2, [x22, #24]
	cbz	x2, LBB0_28
; %bb.27:
	mov	w8, #5
	str	w8, [sp, #48]
	ldr	w0, [x22, #16]
	ldr	w1, [x19, #16]
Lloh93:
	adrp	x8, _XA_ATOM@GOTPAGE
Lloh94:
	ldr	x8, [x8, _XA_ATOM@GOTPAGEOFF]
Lloh95:
	ldr	x3, [x8]
	ldr	w5, [x23]
	add	x6, sp, #48
	mov	w4, #32
	mov	w7, #1
	bl	_XChangeProperty
LBB0_28:
	ldr	x1, [x20]
	mov	x0, x19
	bl	__glfwPlatformSetWindowTitle
	ldr	w0, [x22, #16]
	ldr	w1, [x19, #16]
Lloh96:
	adrp	x8, _RRScreenChangeNotifyMask@GOTPAGE
Lloh97:
	ldr	x8, [x8, _RRScreenChangeNotifyMask@GOTPAGEOFF]
Lloh98:
	ldr	w2, [x8]
	bl	_XRRSelectInput
	ldr	x0, [x22, #8]
	cbz	x0, LBB0_30
; %bb.29:
Lloh99:
	adrp	x8, _XNInputStyle@GOTPAGE
Lloh100:
	ldr	x8, [x8, _XNInputStyle@GOTPAGEOFF]
Lloh101:
	ldr	w1, [x8]
Lloh102:
	adrp	x8, _XIMPreeditNothing@GOTPAGE
Lloh103:
	ldr	x8, [x8, _XIMPreeditNothing@GOTPAGEOFF]
Lloh104:
	ldr	w8, [x8]
Lloh105:
	adrp	x9, _XIMStatusNothing@GOTPAGE
Lloh106:
	ldr	x9, [x9, _XIMStatusNothing@GOTPAGEOFF]
Lloh107:
	ldr	w9, [x9]
Lloh108:
	adrp	x10, _XNClientWindow@GOTPAGE
Lloh109:
	ldr	x10, [x10, _XNClientWindow@GOTPAGEOFF]
	orr	w2, w9, w8
Lloh110:
	ldr	w3, [x10]
	ldr	w4, [x19, #16]
Lloh111:
	adrp	x8, _XNFocusWindow@GOTPAGE
Lloh112:
	ldr	x8, [x8, _XNFocusWindow@GOTPAGEOFF]
Lloh113:
	ldr	w5, [x8]
	mov	x6, x4
	mov	x7, #0
	bl	_XCreateIC
	str	w0, [x19, #20]
LBB0_30:
	add	x1, x19, #12
	add	x2, x19, #8
	mov	x0, x19
	bl	__glfwPlatformGetWindowPos
	add	x1, x19, #4
	mov	x0, x19
	mov	x2, x19
	bl	__glfwPlatformGetWindowSize
Lloh114:
	adrp	x8, _GL_TRUE@GOTPAGE
Lloh115:
	ldr	x8, [x8, _GL_TRUE@GOTPAGEOFF]
	b	LBB0_33
LBB0_31:
Lloh116:
	adrp	x8, _GLFW_OUT_OF_MEMORY@GOTPAGE
Lloh117:
	ldr	x8, [x8, _GLFW_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh118:
	ldr	w0, [x8]
Lloh119:
	adrp	x1, l_.str.1@PAGE
Lloh120:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	__glfwInputError
LBB0_32:
Lloh121:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh122:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
LBB0_33:
	ldr	w0, [x8]
	ldur	x8, [x29, #-56]
Lloh123:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh124:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh125:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_36
; %bb.34:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_35:
	stp	xzr, xzr, [x21, #40]
	ldr	w8, [x20, #16]
	cbnz	w8, LBB0_24
	b	LBB0_23
LBB0_36:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh91
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh114, Lloh115
	.loh AdrpAdd	Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.cfi_endproc
                                        ; -- End function
	.comm	__GLFW_X11_CONTEXT_VISUAL,8,3   ; @_GLFW_X11_CONTEXT_VISUAL
	.comm	__glfw,88,3                     ; @_glfw
	.comm	_AllocNone,4,2                  ; @AllocNone
	.comm	_CWBorderPixel,8,3              ; @CWBorderPixel
	.comm	_CWColormap,8,3                 ; @CWColormap
	.comm	_CWEventMask,8,3                ; @CWEventMask
	.comm	_StructureNotifyMask,4,2        ; @StructureNotifyMask
	.comm	_KeyPressMask,4,2               ; @KeyPressMask
	.comm	_KeyReleaseMask,4,2             ; @KeyReleaseMask
	.comm	_PointerMotionMask,4,2          ; @PointerMotionMask
	.comm	_ButtonPressMask,4,2            ; @ButtonPressMask
	.comm	_ButtonReleaseMask,4,2          ; @ButtonReleaseMask
	.comm	_ExposureMask,4,2               ; @ExposureMask
	.comm	_FocusChangeMask,4,2            ; @FocusChangeMask
	.comm	_VisibilityChangeMask,4,2       ; @VisibilityChangeMask
	.comm	_EnterWindowMask,4,2            ; @EnterWindowMask
	.comm	_LeaveWindowMask,4,2            ; @LeaveWindowMask
	.comm	_PropertyChangeMask,4,2         ; @PropertyChangeMask
	.comm	_InputOutput,4,2                ; @InputOutput
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"X11: Failed to create window"

	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
	.comm	_True,4,2                       ; @True
	.comm	_CWOverrideRedirect,4,2         ; @CWOverrideRedirect
	.comm	_PropModeReplace,4,2            ; @PropModeReplace
	.comm	__NET_WM_STATE_ADD,4,2          ; @_NET_WM_STATE_ADD
	.comm	_XA_CARDINAL,8,3                ; @XA_CARDINAL
	.comm	_GLFW_OUT_OF_MEMORY,4,2         ; @GLFW_OUT_OF_MEMORY
l_.str.1:                               ; @.str.1
	.asciz	"X11: Failed to allocate WM hints"

	.comm	_StateHint,4,2                  ; @StateHint
	.comm	_NormalState,4,2                ; @NormalState
	.comm	_PPosition,4,2                  ; @PPosition
	.comm	_PMinSize,4,2                   ; @PMinSize
	.comm	_PMaxSize,4,2                   ; @PMaxSize
	.comm	_XA_ATOM,8,3                    ; @XA_ATOM
	.comm	_RRScreenChangeNotifyMask,4,2   ; @RRScreenChangeNotifyMask
	.comm	_XNInputStyle,4,2               ; @XNInputStyle
	.comm	_XIMPreeditNothing,4,2          ; @XIMPreeditNothing
	.comm	_XIMStatusNothing,4,2           ; @XIMStatusNothing
	.comm	_XNClientWindow,4,2             ; @XNClientWindow
	.comm	_XNFocusWindow,4,2              ; @XNFocusWindow
	.comm	_GL_TRUE,4,2                    ; @GL_TRUE
	.comm	_XI_Motion,4,2                  ; @XI_Motion
	.no_dead_strip	_createWindow
.subsections_via_symbols
