	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function createNativeWindow
_createNativeWindow:                    ## @createNativeWindow
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	__glfw@GOTPCREL(%rip), %rbx
	movl	40(%rbx), %edi
	movl	84(%rbx), %esi
	movq	_AllocNone@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_XCreateColormap
	movl	%eax, 24(%r12)
	movq	_CWBorderPixel@GOTPCREL(%rip), %rcx
	movq	_CWColormap@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r14
	orq	(%rcx), %r14
	movq	_CWEventMask@GOTPCREL(%rip), %rcx
	orq	(%rcx), %r14
	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, -72(%rbp)
	movq	_EnterWindowMask@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	$0, -80(%rbp)
	movq	_LeaveWindowMask@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PropertyChangeMask@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -88(%rbp)
	xorl	%eax, %eax
	callq	__glfwGrabErrorHandlerX11
	movl	40(%rbx), %edi
	movl	84(%rbx), %esi
	movl	8(%r13), %r9d
	movl	12(%r13), %r8d
	movq	_InputOutput@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-88(%rbp), %rbx
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	pushq	%rbx
	pushq	%r14
	pushq	%r15
	pushq	%rax
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	$0
	callq	_XCreateWindow
	addq	$48, %rsp
	movl	%eax, 16(%r12)
	xorl	%eax, %eax
	callq	__glfwReleaseErrorHandlerX11
	movl	16(%r12), %esi
	testl	%esi, %esi
	je	LBB0_11
## %bb.1:
	movq	__glfw@GOTPCREL(%rip), %r14
	movl	40(%r14), %edi
	movl	80(%r14), %edx
	movl	%r12d, %ecx
	callq	_XSaveContext
	cmpl	$0, 32(%r13)
	jne	LBB0_3
## %bb.2:
	movq	$2, -88(%rbp)
	movq	$0, -72(%rbp)
	movl	40(%r14), %edi
	movl	16(%r12), %esi
	movq	72(%r14), %rcx
	movq	_PropModeReplace@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rcx, %rdx
	movl	$32, %r8d
	pushq	$5
	leaq	-88(%rbp), %rax
	pushq	%rax
	callq	_XChangeProperty
	addq	$16, %rsp
LBB0_3:
	movq	64(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.4:
	cmpl	$0, 28(%r12)
	jne	LBB0_14
## %bb.5:
	cmpq	$0, 24(%r13)
	setne	%al
	movl	(%r14), %esi
	testl	%esi, %esi
	setne	%cl
	andb	%al, %cl
	xorl	%eax, %eax
	cmpb	$1, %cl
	jne	LBB0_7
## %bb.6:
	movl	%esi, -88(%rbp)
	movl	$1, %eax
LBB0_7:
	cmpq	$0, 16(%r13)
	je	LBB0_12
## %bb.8:
	movl	4(%r14), %esi
	testl	%esi, %esi
	je	LBB0_12
## %bb.9:
	movl	8(%r14), %edi
	testl	%edi, %edi
	je	LBB0_12
## %bb.10:
	movl	%eax, %ecx
	movl	%esi, -88(%rbp,%rcx,4)
	orl	$2, %eax
	movl	%edi, -84(%rbp,%rcx,4)
	jmp	LBB0_13
LBB0_11:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	__glfwInputErrorX11
	jmp	LBB0_26
LBB0_12:
	movl	$1, %eax
	testb	%cl, %cl
	je	LBB0_14
LBB0_13:
	movl	40(%r14), %edi
	movl	16(%r12), %esi
	movq	_XA_ATOM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_PropModeReplace@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movl	$32, %r8d
	pushq	%rax
	leaq	-88(%rbp), %rax
	pushq	%rax
	callq	_XChangeProperty
	addq	$16, %rsp
LBB0_14:
	movq	12(%r14), %rax
	movq	%rax, -88(%rbp)
	movl	40(%r14), %edi
	movl	16(%r12), %esi
	leaq	-88(%rbp), %r15
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	_XSetWMProtocols
	xorl	%eax, %eax
	callq	_getpid
	movl	%eax, -88(%rbp)
	movl	40(%r14), %edi
	movl	16(%r12), %esi
	movq	56(%r14), %rdx
	movq	_XA_CARDINAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_PropModeReplace@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movl	$32, %r8d
	pushq	$1
	pushq	%r15
	callq	_XChangeProperty
	addq	$16, %rsp
	movq	48(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.15:
	movl	20(%r14), %eax
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	movl	%eax, -88(%rbp)
	movl	40(%r14), %edi
	movl	16(%r12), %esi
	movq	_XA_ATOM@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	(%rbx), %r9d
	movl	$32, %r8d
	pushq	$1
	pushq	%r15
	callq	_XChangeProperty
	addq	$16, %rsp
LBB0_17:
	xorl	%eax, %eax
	callq	_XAllocWMHints
	testq	%rax, %rax
	je	LBB0_25
## %bb.18:
	movq	%rax, %rbx
	movq	_StateHint@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_NormalState@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	40(%r14), %edi
	movl	16(%r12), %esi
	movq	%rbx, %rdx
	callq	_XSetWMHints
	movq	%rbx, %rdi
	callq	_XFree
	movl	8(%r13), %edx
	movl	12(%r13), %esi
	movq	%r12, %rdi
	callq	_updateNormalHints
	movq	(%r13), %rdi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	xorl	%eax, %eax
	callq	_XAllocClassHint
	movq	%rax, %rbx
	movq	(%r13), %rax
	movq	%rax, (%rbx)
	movq	%rax, 8(%rbx)
	movl	40(%r14), %edi
	movl	16(%r12), %esi
	movq	%rbx, %rdx
	callq	_XSetClassHint
	movq	%rbx, %rdi
	callq	_XFree
LBB0_20:
	movq	32(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_22
## %bb.21:
	movl	$5, -88(%rbp)
	movl	40(%r14), %edi
	movl	16(%r12), %esi
	movq	_XA_ATOM@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_PropModeReplace@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$32, %r8d
	pushq	$1
	pushq	%r15
	callq	_XChangeProperty
	addq	$16, %rsp
LBB0_22:
	movq	(%r13), %rsi
	movq	%r12, %rdi
	callq	__glfwPlatformSetWindowTitle
	movq	24(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.23:
	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(%r12), %r8d
	movq	_XNFocusWindow@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	pushq	$0
	pushq	%r8
	callq	_XCreateIC
	addq	$16, %rsp
	movl	%eax, 20(%r12)
LBB0_24:
	leaq	12(%r12), %rsi
	leaq	8(%r12), %rdx
	movq	%r12, %rdi
	callq	__glfwPlatformGetWindowPos
	leaq	4(%r12), %rsi
	movq	%r12, %rdi
	movq	%r12, %rdx
	callq	__glfwPlatformGetWindowSize
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_25:
	movq	_GLFW_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	__glfwInputError
LBB0_26:
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rax
LBB0_27:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_29
## %bb.28:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.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	_GLFW_FALSE,4,2                 ## @GLFW_FALSE
	.comm	_PropModeReplace,4,2            ## @PropModeReplace
	.comm	_XA_ATOM,8,3                    ## @XA_ATOM
	.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	_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	_GLFW_TRUE,4,2                  ## @GLFW_TRUE
	.no_dead_strip	_createNativeWindow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function createNativeWindow
_createNativeWindow:                    ; @createNativeWindow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x3
	mov	x22, x2
	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]
Lloh3:
	adrp	x23, __glfw@GOTPAGE
Lloh4:
	ldr	x23, [x23, __glfw@GOTPAGEOFF]
	stur	x8, [x29, #-56]
	ldr	w0, [x23, #40]
	ldr	w1, [x23, #84]
Lloh5:
	adrp	x8, _AllocNone@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AllocNone@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	bl	_XCreateColormap
Lloh8:
	adrp	x8, _CWBorderPixel@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CWBorderPixel@GOTPAGEOFF]
	str	w0, [x19, #24]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _CWColormap@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CWColormap@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	orr	x8, x9, x8
Lloh14:
	adrp	x9, _CWEventMask@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CWEventMask@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	orr	x24, x8, x9
Lloh17:
	adrp	x8, _StructureNotifyMask@GOTPAGE
Lloh18:
	ldr	x8, [x8, _StructureNotifyMask@GOTPAGEOFF]
	str	w0, [sp, #48]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _KeyPressMask@GOTPAGE
Lloh21:
	ldr	x9, [x9, _KeyPressMask@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _KeyReleaseMask@GOTPAGE
Lloh24:
	ldr	x9, [x9, _KeyReleaseMask@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh26:
	adrp	x9, _PointerMotionMask@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PointerMotionMask@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh29:
	adrp	x9, _ButtonPressMask@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ButtonPressMask@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _ButtonReleaseMask@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ButtonReleaseMask@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh35:
	adrp	x9, _ExposureMask@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ExposureMask@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh38:
	adrp	x9, _FocusChangeMask@GOTPAGE
Lloh39:
	ldr	x9, [x9, _FocusChangeMask@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh41:
	adrp	x9, _VisibilityChangeMask@GOTPAGE
Lloh42:
	ldr	x9, [x9, _VisibilityChangeMask@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh44:
	adrp	x9, _EnterWindowMask@GOTPAGE
Lloh45:
	ldr	x9, [x9, _EnterWindowMask@GOTPAGEOFF]
	str	xzr, [sp, #40]
Lloh46:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh47:
	adrp	x9, _LeaveWindowMask@GOTPAGE
Lloh48:
	ldr	x9, [x9, _LeaveWindowMask@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh50:
	adrp	x9, _PropertyChangeMask@GOTPAGE
Lloh51:
	ldr	x9, [x9, _PropertyChangeMask@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #32]
	bl	__glfwGrabErrorHandlerX11
	ldr	w0, [x23, #40]
	ldr	w1, [x23, #84]
	ldp	w5, w4, [x20, #8]
Lloh53:
	adrp	x8, _InputOutput@GOTPAGE
Lloh54:
	ldr	x8, [x8, _InputOutput@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	add	x9, sp, #32
	stp	x24, x9, [sp, #16]
	str	x22, [sp, #8]
	str	w8, [sp]
	mov	w2, #0
	mov	w3, #0
	mov	w6, #0
	mov	x7, x21
	bl	_XCreateWindow
	str	w0, [x19, #16]
	bl	__glfwReleaseErrorHandlerX11
	ldr	w1, [x19, #16]
	cbz	w1, LBB0_7
; %bb.1:
	ldr	w0, [x23, #40]
	ldr	w2, [x23, #80]
	mov	x3, x19
	bl	_XSaveContext
	ldr	w8, [x20, #32]
Lloh56:
	adrp	x22, _PropModeReplace@GOTPAGE
Lloh57:
	ldr	x22, [x22, _PropModeReplace@GOTPAGEOFF]
	cbnz	w8, LBB0_3
; %bb.2:
	mov	w8, #2
	str	x8, [sp, #32]
	str	xzr, [sp, #48]
	ldr	w0, [x23, #40]
	ldr	w1, [x19, #16]
	ldr	x2, [x23, #72]
	ldr	w5, [x22]
	add	x6, sp, #32
	mov	x3, x2
	mov	w4, #32
	mov	w7, #5
	bl	_XChangeProperty
LBB0_3:
	ldr	x2, [x23, #64]
	cbz	x2, LBB0_15
; %bb.4:
	ldr	w8, [x19, #28]
	cbnz	w8, LBB0_15
; %bb.5:
	ldr	x8, [x20, #24]
	cmp	x8, #0
	ldr	w9, [x23]
	ccmp	w9, #0, #4, ne
	cset	w8, ne
	b.eq	LBB0_8
; %bb.6:
	str	w9, [sp, #32]
	mov	w9, #1
	ldr	x10, [x20, #16]
	cbnz	x10, LBB0_9
	b	LBB0_12
LBB0_7:
Lloh58:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh59:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
Lloh61:
	adrp	x1, l_.str@PAGE
Lloh62:
	add	x1, x1, l_.str@PAGEOFF
	bl	__glfwInputErrorX11
	b	LBB0_27
LBB0_8:
	mov	w9, #0
	ldr	x10, [x20, #16]
	cbz	x10, LBB0_12
LBB0_9:
	ldr	w10, [x23, #4]
	cbz	w10, LBB0_12
; %bb.10:
	ldr	w11, [x23, #8]
	cbz	w11, LBB0_12
; %bb.11:
	add	w8, w9, #1
	add	x12, sp, #32
	str	w10, [x12, w9, uxtw #2]
	orr	w7, w9, #0x2
	str	w11, [x12, w8, uxtw #2]
	b	LBB0_14
LBB0_12:
	cbz	w8, LBB0_15
; %bb.13:
	mov	w7, #1
LBB0_14:
	ldr	w0, [x23, #40]
	ldr	w1, [x19, #16]
Lloh63:
	adrp	x8, _XA_ATOM@GOTPAGE
Lloh64:
	ldr	x8, [x8, _XA_ATOM@GOTPAGEOFF]
Lloh65:
	ldr	x3, [x8]
	ldr	w5, [x22]
	add	x6, sp, #32
	mov	w4, #32
	bl	_XChangeProperty
LBB0_15:
	ldur	d0, [x23, #12]
	str	d0, [sp, #32]
	ldr	w0, [x23, #40]
	ldr	w1, [x19, #16]
	add	x2, sp, #32
	mov	w3, #2
	bl	_XSetWMProtocols
	bl	_getpid
	str	w0, [sp, #32]
	ldr	w0, [x23, #40]
	ldr	w1, [x19, #16]
	ldr	x2, [x23, #56]
Lloh66:
	adrp	x8, _XA_CARDINAL@GOTPAGE
Lloh67:
	ldr	x8, [x8, _XA_CARDINAL@GOTPAGEOFF]
Lloh68:
	ldr	x3, [x8]
	ldr	w5, [x22]
	add	x6, sp, #32
	mov	w4, #32
	mov	w7, #1
	bl	_XChangeProperty
	ldr	x2, [x23, #48]
	cbz	x2, LBB0_18
; %bb.16:
	ldr	w8, [x23, #20]
	cbz	w8, LBB0_18
; %bb.17:
	str	w8, [sp, #32]
	ldr	w0, [x23, #40]
	ldr	w1, [x19, #16]
Lloh69:
	adrp	x8, _XA_ATOM@GOTPAGE
Lloh70:
	ldr	x8, [x8, _XA_ATOM@GOTPAGEOFF]
Lloh71:
	ldr	x3, [x8]
	ldr	w5, [x22]
	add	x6, sp, #32
	mov	w4, #32
	mov	w7, #1
	bl	_XChangeProperty
LBB0_18:
	bl	_XAllocWMHints
	cbz	x0, LBB0_26
; %bb.19:
	mov	x21, x0
Lloh72:
	adrp	x8, _StateHint@GOTPAGE
Lloh73:
	ldr	x8, [x8, _StateHint@GOTPAGEOFF]
Lloh74:
	adrp	x9, _NormalState@GOTPAGE
Lloh75:
	ldr	x9, [x9, _NormalState@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
Lloh77:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
	ldr	w0, [x23, #40]
	ldr	w1, [x19, #16]
	mov	x2, x21
	bl	_XSetWMHints
	mov	x0, x21
	bl	_XFree
	ldp	w2, w1, [x20, #8]
	mov	x0, x19
	bl	_updateNormalHints
	ldr	x0, [x20]
	bl	_strlen
	cbz	x0, LBB0_21
; %bb.20:
	bl	_XAllocClassHint
	mov	x21, x0
	ldr	x8, [x20]
	stp	x8, x8, [x0]
	ldr	w0, [x23, #40]
	ldr	w1, [x19, #16]
	mov	x2, x21
	bl	_XSetClassHint
	mov	x0, x21
	bl	_XFree
LBB0_21:
	ldr	x2, [x23, #32]
	cbz	x2, LBB0_23
; %bb.22:
	mov	w8, #5
	str	w8, [sp, #32]
	ldr	w0, [x23, #40]
	ldr	w1, [x19, #16]
Lloh78:
	adrp	x8, _XA_ATOM@GOTPAGE
Lloh79:
	ldr	x8, [x8, _XA_ATOM@GOTPAGEOFF]
Lloh80:
	ldr	x3, [x8]
	ldr	w5, [x22]
	add	x6, sp, #32
	mov	w4, #32
	mov	w7, #1
	bl	_XChangeProperty
LBB0_23:
	ldr	x1, [x20]
	mov	x0, x19
	bl	__glfwPlatformSetWindowTitle
	ldr	x0, [x23, #24]
	cbz	x0, LBB0_25
; %bb.24:
Lloh81:
	adrp	x8, _XNInputStyle@GOTPAGE
Lloh82:
	ldr	x8, [x8, _XNInputStyle@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
Lloh84:
	adrp	x8, _XIMPreeditNothing@GOTPAGE
Lloh85:
	ldr	x8, [x8, _XIMPreeditNothing@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
Lloh87:
	adrp	x9, _XIMStatusNothing@GOTPAGE
Lloh88:
	ldr	x9, [x9, _XIMStatusNothing@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
Lloh90:
	adrp	x10, _XNClientWindow@GOTPAGE
Lloh91:
	ldr	x10, [x10, _XNClientWindow@GOTPAGEOFF]
	orr	w2, w9, w8
Lloh92:
	ldr	w3, [x10]
	ldr	w4, [x19, #16]
Lloh93:
	adrp	x8, _XNFocusWindow@GOTPAGE
Lloh94:
	ldr	x8, [x8, _XNFocusWindow@GOTPAGEOFF]
Lloh95:
	ldr	w5, [x8]
	mov	x6, x4
	mov	x7, #0
	bl	_XCreateIC
	str	w0, [x19, #20]
LBB0_25:
	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
Lloh96:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh97:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
	b	LBB0_28
LBB0_26:
Lloh98:
	adrp	x8, _GLFW_OUT_OF_MEMORY@GOTPAGE
Lloh99:
	ldr	x8, [x8, _GLFW_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh100:
	ldr	w0, [x8]
Lloh101:
	adrp	x1, l_.str.1@PAGE
Lloh102:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	__glfwInputError
LBB0_27:
Lloh103:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh104:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
LBB0_28:
	ldr	w0, [x8]
	ldur	x8, [x29, #-56]
Lloh105:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh106:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh107:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.29:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_30:
	bl	___stack_chk_fail
	.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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh76
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.cfi_endproc
                                        ; -- End function
	.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	_GLFW_FALSE,4,2                 ; @GLFW_FALSE
	.comm	_PropModeReplace,4,2            ; @PropModeReplace
	.comm	_XA_ATOM,8,3                    ; @XA_ATOM
	.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	_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	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
	.no_dead_strip	_createNativeWindow
.subsections_via_symbols
