	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpq	$0, 56(%rsi)
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	__glfw@GOTPCREL(%rip), %rax
	movl	$1, %r12d
	movl	$1, %r13d
	je	LBB0_2
## %bb.1:
	movl	4(%rax), %r12d
	movl	(%rax), %r13d
LBB0_2:
	imull	4(%rbx), %r12d
	imull	(%rbx), %r13d
	movl	24(%rax), %edi
	movl	108(%rax), %esi
	movq	_AllocNone@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdx
	callq	_XCreateColormap
	movl	%eax, 28(%r15)
	movq	%r14, %rdi
	callq	__glfwIsVisualTransparentX11
	movl	%eax, 32(%r15)
	movq	_CWBorderPixel@GOTPCREL(%rip), %rax
	movq	_CWColormap@GOTPCREL(%rip), %rcx
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %rbx
	orq	(%rax), %rbx
	movq	_CWEventMask@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
	movq	_StructureNotifyMask@GOTPCREL(%rip), %rcx
	movq	_KeyPressMask@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_KeyReleaseMask@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PointerMotionMask@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ButtonPressMask@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ButtonReleaseMask@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ExposureMask@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_FocusChangeMask@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_VisibilityChangeMask@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	28(%r15), %ecx
	movl	%ecx, -64(%rbp)
	movq	_EnterWindowMask@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	$0, -72(%rbp)
	movq	_LeaveWindowMask@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PropertyChangeMask@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -80(%rbp)
	xorl	%eax, %eax
	callq	__glfwGrabErrorHandlerX11
	movq	__glfw@GOTPCREL(%rip), %rax
	movl	24(%rax), %edi
	movl	108(%rax), %esi
	movq	_InputOutput@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-80(%rbp), %r10
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%r13d, -84(%rbp)                ## 4-byte Spill
	movl	%r13d, %r8d
	movl	%r12d, -88(%rbp)                ## 4-byte Spill
	movl	%r12d, %r9d
	pushq	%r10
	pushq	%rbx
	pushq	%r14
	pushq	%rax
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	$0
	callq	_XCreateWindow
	addq	$48, %rsp
	movl	%eax, 16(%r15)
	xorl	%eax, %eax
	callq	__glfwReleaseErrorHandlerX11
	movl	16(%r15), %esi
	testl	%esi, %esi
	je	LBB0_3
## %bb.5:
	movq	__glfw@GOTPCREL(%rip), %r12
	movl	24(%r12), %edi
	movl	104(%r12), %edx
	movl	%r15d, %ecx
	callq	_XSaveContext
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	cmpl	$0, 48(%r13)
	jne	LBB0_7
## %bb.6:
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	__glfwPlatformSetWindowDecorated
LBB0_7:
	movq	72(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.8:
	cmpl	$0, 36(%r15)
	jne	LBB0_17
## %bb.9:
	cmpq	$0, 40(%r13)
	setne	%al
	movq	96(%r12), %rsi
	testq	%rsi, %rsi
	setne	%cl
	andb	%al, %cl
	xorl	%eax, %eax
	cmpb	$1, %cl
	jne	LBB0_11
## %bb.10:
	movq	%rsi, -80(%rbp)
	movl	$1, %eax
LBB0_11:
	cmpq	$0, 32(%r13)
	je	LBB0_15
## %bb.12:
	movq	88(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.13:
	movq	80(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	movl	%eax, %ecx
	movq	%rsi, -80(%rbp,%rcx,8)
	orl	$2, %eax
	movq	%rdi, -72(%rbp,%rcx,8)
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%r15)
	jmp	LBB0_16
LBB0_3:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	__glfwInputErrorX11
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_15:
	movl	$1, %eax
	testb	%cl, %cl
	je	LBB0_17
LBB0_16:
	movl	24(%r12), %edi
	movl	16(%r15), %esi
	movq	_XA_ATOM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_PropModeReplace@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movl	$32, %r8d
	pushq	%rax
	leaq	-80(%rbp), %rax
	pushq	%rax
	callq	_XChangeProperty
	addq	$16, %rsp
LBB0_17:
	movdqu	56(%r12), %xmm0
	pshufd	$78, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,0,1]
	movdqa	%xmm0, -80(%rbp)
	movl	24(%r12), %edi
	movl	16(%r15), %esi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdx
	movl	$2, %ecx
	callq	_XSetWMProtocols
	xorl	%eax, %eax
	callq	_getpid
	movq	%rax, -80(%rbp)
	movl	24(%r12), %edi
	movl	16(%r15), %esi
	movq	48(%r12), %rdx
	movq	_XA_CARDINAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PropModeReplace@GOTPCREL(%rip), %r14
	movl	(%r14), %r9d
	movl	$32, %r8d
	pushq	$1
	pushq	%rbx
	callq	_XChangeProperty
	addq	$16, %rsp
	movq	32(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.18:
	movq	40(%r12), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	%rax, -80(%rbp)
	movl	24(%r12), %edi
	movl	16(%r15), %esi
	movq	_XA_ATOM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r14), %r9d
	movl	$32, %r8d
	pushq	$1
	pushq	%rbx
	callq	_XChangeProperty
	addq	$16, %rsp
LBB0_20:
	xorl	%eax, %eax
	callq	_XAllocWMHints
	testq	%rax, %rax
	je	LBB0_21
## %bb.22:
	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	24(%r12), %edi
	movl	16(%r15), %esi
	movq	%rbx, %rdx
	callq	_XSetWMHints
	movq	%rbx, %rdi
	callq	_XFree
	movq	%r15, %rdi
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	callq	_updateNormalHints
	xorl	%eax, %eax
	callq	_XAllocClassHint
	movq	%rax, %r14
	movq	16(%r13), %rax
	cmpb	$0, (%rax)
	je	LBB0_25
## %bb.23:
	movq	24(%r13), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_25
## %bb.24:
	movq	%rax, (%r14)
	movq	%rcx, 8(%r14)
	jmp	LBB0_34
LBB0_25:
	leaq	L_.str.2(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	cmpb	$0, (%rax)
	je	LBB0_28
## %bb.27:
	movq	%rax, (%r14)
	movq	8(%r13), %rax
	cmpb	$0, (%rax)
	jne	LBB0_33
	jmp	LBB0_32
LBB0_21:
	movq	_GLFW_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	__glfwInputError
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_28:
	movq	8(%r13), %rax
	cmpb	$0, (%rax)
	je	LBB0_30
## %bb.29:
	movq	%rax, (%r14)
	cmpb	$0, (%rax)
	jne	LBB0_33
LBB0_32:
	leaq	L_.str.4(%rip), %rax
LBB0_33:
	movq	%rax, 8(%r14)
LBB0_34:
	movl	24(%r12), %edi
	movl	16(%r15), %esi
	movq	%r14, %rdx
	callq	_XSetClassHint
	movq	%r14, %rdi
	callq	_XFree
	movq	__GLFW_XDND_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movl	24(%r12), %edi
	movl	16(%r15), %esi
	movq	16(%r12), %rdx
	movq	_XA_ATOM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PropModeReplace@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$32, %r8d
	pushq	$1
	leaq	-80(%rbp), %rax
	pushq	%rax
	callq	_XChangeProperty
	addq	$16, %rsp
	movq	8(%r13), %rsi
	movq	%r15, %rdi
	callq	__glfwPlatformSetWindowTitle
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_36
## %bb.35:
	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_36:
	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	_GLFW_TRUE@GOTPCREL(%rip), %rax
LBB0_37:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_39
## %bb.38:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	leaq	L_.str.3(%rip), %rcx
	movq	%rcx, (%r14)
	cmpb	$0, (%rax)
	jne	LBB0_33
	jmp	LBB0_32
LBB0_39:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,112,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	_GLFW_TRUE,4,2                  ## @GLFW_TRUE
	.comm	_XA_ATOM,4,2                    ## @XA_ATOM
	.comm	_PropModeReplace,4,2            ## @PropModeReplace
	.comm	_XA_CARDINAL,4,2                ## @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
L_.str.2:                               ## @.str.2
	.asciz	"RESOURCE_NAME"

L_.str.3:                               ## @.str.3
	.asciz	"glfw-application"

L_.str.4:                               ## @.str.4
	.asciz	"GLFW-Application"

	.comm	__GLFW_XDND_VERSION,8,3         ## @_GLFW_XDND_VERSION
	.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
	.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	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x3
	mov	x24, 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]
	str	x8, [sp, #56]
	ldp	w8, w9, [x1]
	ldr	x10, [x1, #56]
Lloh3:
	adrp	x25, __glfw@GOTPAGE
Lloh4:
	ldr	x25, [x25, __glfw@GOTPAGEOFF]
	ldp	w11, w12, [x25]
	cmp	x10, #0
	csinc	w10, w12, wzr, ne
	mul	w21, w10, w9
	csinc	w9, w11, wzr, ne
	mul	w22, w9, w8
	ldr	w0, [x25, #24]
	ldr	w1, [x25, #108]
Lloh5:
	adrp	x8, _AllocNone@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AllocNone@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	bl	_XCreateColormap
	str	w0, [x19, #28]
	mov	x0, x24
	bl	__glfwIsVisualTransparentX11
	str	w0, [x19, #32]
Lloh8:
	adrp	x8, _CWBorderPixel@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CWBorderPixel@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _CWColormap@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CWColormap@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _CWEventMask@GOTPAGE
Lloh15:
	ldr	x10, [x10, _CWEventMask@GOTPAGEOFF]
	orr	x8, x9, x8
Lloh16:
	ldr	x9, [x10]
	orr	x26, x8, x9
	ldr	w8, [x19, #28]
Lloh17:
	adrp	x9, _StructureNotifyMask@GOTPAGE
Lloh18:
	ldr	x9, [x9, _StructureNotifyMask@GOTPAGEOFF]
	str	w8, [sp, #48]
Lloh19:
	ldr	w8, [x9]
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, [x25, #24]
	ldr	w1, [x25, #108]
Lloh53:
	adrp	x8, _InputOutput@GOTPAGE
Lloh54:
	ldr	x8, [x8, _InputOutput@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	add	x9, sp, #32
	stp	x26, x9, [sp, #16]
	str	x24, [sp, #8]
	str	w8, [sp]
	mov	w2, #0
	mov	w3, #0
	mov	x4, x22
	mov	x5, x21
	mov	w6, #0
	mov	x7, x23
	bl	_XCreateWindow
	str	w0, [x19, #16]
	bl	__glfwReleaseErrorHandlerX11
	ldr	w1, [x19, #16]
	cbz	w1, LBB0_7
; %bb.1:
	ldr	w0, [x25, #24]
	ldr	w2, [x25, #104]
	mov	x3, x19
	bl	_XSaveContext
	ldr	w8, [x20, #48]
	cbnz	w8, LBB0_3
; %bb.2:
Lloh56:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	mov	x0, x19
	bl	__glfwPlatformSetWindowDecorated
LBB0_3:
	ldr	x2, [x25, #72]
Lloh59:
	adrp	x24, _PropModeReplace@GOTPAGE
Lloh60:
	ldr	x24, [x24, _PropModeReplace@GOTPAGEOFF]
	cbz	x2, LBB0_15
; %bb.4:
	ldr	w8, [x19, #36]
	cbnz	w8, LBB0_15
; %bb.5:
	ldr	x8, [x20, #40]
	cmp	x8, #0
	ldr	x9, [x25, #96]
	ccmp	x9, #0, #4, ne
	cset	w8, ne
	b.eq	LBB0_8
; %bb.6:
	str	x9, [sp, #32]
	mov	w9, #1
	ldr	x10, [x20, #32]
	cbnz	x10, LBB0_9
	b	LBB0_12
LBB0_7:
Lloh61:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh62:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
Lloh64:
	adrp	x1, l_.str@PAGE
Lloh65:
	add	x1, x1, l_.str@PAGEOFF
	bl	__glfwInputErrorX11
	b	LBB0_31
LBB0_8:
	mov	w9, #0
	ldr	x10, [x20, #32]
	cbz	x10, LBB0_12
LBB0_9:
	ldr	x10, [x25, #88]
	cbz	x10, LBB0_12
; %bb.10:
	ldr	x11, [x25, #80]
	cbz	x11, LBB0_12
; %bb.11:
	add	w8, w9, #1
	add	x12, sp, #32
	str	x10, [x12, w9, uxtw #3]
	orr	w7, w9, #0x2
	str	x11, [x12, w8, uxtw #3]
Lloh66:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	b	LBB0_14
LBB0_12:
	cbz	w8, LBB0_15
; %bb.13:
	mov	w7, #1
LBB0_14:
	ldr	w0, [x25, #24]
	ldr	w1, [x19, #16]
Lloh69:
	adrp	x8, _XA_ATOM@GOTPAGE
Lloh70:
	ldr	x8, [x8, _XA_ATOM@GOTPAGEOFF]
Lloh71:
	ldr	w3, [x8]
	ldr	w5, [x24]
	add	x6, sp, #32
	mov	w4, #32
	bl	_XChangeProperty
LBB0_15:
	ldur	q0, [x25, #56]
	ext.16b	v0, v0, v0, #8
	str	q0, [sp, #32]
	ldr	w0, [x25, #24]
	ldr	w1, [x19, #16]
	add	x2, sp, #32
	mov	w3, #2
	bl	_XSetWMProtocols
	bl	_getpid
	str	x0, [sp, #32]
	ldr	w0, [x25, #24]
	ldr	w1, [x19, #16]
	ldr	x2, [x25, #48]
Lloh72:
	adrp	x8, _XA_CARDINAL@GOTPAGE
Lloh73:
	ldr	x8, [x8, _XA_CARDINAL@GOTPAGEOFF]
Lloh74:
	ldr	w3, [x8]
	ldr	w5, [x24]
	add	x6, sp, #32
	mov	w4, #32
	mov	w7, #1
	bl	_XChangeProperty
	ldr	x2, [x25, #32]
	cbz	x2, LBB0_18
; %bb.16:
	ldr	x8, [x25, #40]
	cbz	x8, LBB0_18
; %bb.17:
	str	x8, [sp, #32]
	ldr	w0, [x25, #24]
	ldr	w1, [x19, #16]
Lloh75:
	adrp	x8, _XA_ATOM@GOTPAGE
Lloh76:
	ldr	x8, [x8, _XA_ATOM@GOTPAGEOFF]
Lloh77:
	ldr	w3, [x8]
	ldr	w5, [x24]
	add	x6, sp, #32
	mov	w4, #32
	mov	w7, #1
	bl	_XChangeProperty
LBB0_18:
	bl	_XAllocWMHints
	cbz	x0, LBB0_30
; %bb.19:
	mov	x23, x0
Lloh78:
	adrp	x8, _StateHint@GOTPAGE
Lloh79:
	ldr	x8, [x8, _StateHint@GOTPAGEOFF]
Lloh80:
	adrp	x9, _NormalState@GOTPAGE
Lloh81:
	ldr	x9, [x9, _NormalState@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
Lloh83:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
	ldr	w0, [x25, #24]
	ldr	w1, [x19, #16]
	mov	x2, x23
	bl	_XSetWMHints
	mov	x0, x23
	bl	_XFree
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_updateNormalHints
	bl	_XAllocClassHint
	mov	x21, x0
	ldr	x8, [x20, #16]
	ldrb	w9, [x8]
	cbz	w9, LBB0_22
; %bb.20:
	ldr	x9, [x20, #24]
	ldrb	w10, [x9]
	cbz	w10, LBB0_22
; %bb.21:
	stp	x8, x9, [x21]
	b	LBB0_27
LBB0_22:
Lloh84:
	adrp	x0, l_.str.2@PAGE
Lloh85:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_34
; %bb.23:
	ldrb	w8, [x0]
	cbz	w8, LBB0_34
; %bb.24:
	str	x0, [x21]
	ldr	x8, [x20, #8]
	ldrb	w9, [x8]
	cbnz	w9, LBB0_26
LBB0_25:
Lloh86:
	adrp	x8, l_.str.4@PAGE
Lloh87:
	add	x8, x8, l_.str.4@PAGEOFF
LBB0_26:
	str	x8, [x21, #8]
LBB0_27:
	ldr	w0, [x25, #24]
	ldr	w1, [x19, #16]
	mov	x2, x21
	bl	_XSetClassHint
	mov	x0, x21
	bl	_XFree
Lloh88:
	adrp	x8, __GLFW_XDND_VERSION@GOTPAGE
Lloh89:
	ldr	x8, [x8, __GLFW_XDND_VERSION@GOTPAGEOFF]
Lloh90:
	ldr	x8, [x8]
	str	x8, [sp, #32]
	ldr	w0, [x25, #24]
	ldr	w1, [x19, #16]
	ldr	x2, [x25, #16]
Lloh91:
	adrp	x8, _XA_ATOM@GOTPAGE
Lloh92:
	ldr	x8, [x8, _XA_ATOM@GOTPAGEOFF]
Lloh93:
	ldr	w3, [x8]
	ldr	w5, [x24]
	add	x6, sp, #32
	mov	w4, #32
	mov	w7, #1
	bl	_XChangeProperty
	ldr	x1, [x20, #8]
	mov	x0, x19
	bl	__glfwPlatformSetWindowTitle
	ldr	x0, [x25, #8]
	cbz	x0, LBB0_29
; %bb.28:
Lloh94:
	adrp	x8, _XNInputStyle@GOTPAGE
Lloh95:
	ldr	x8, [x8, _XNInputStyle@GOTPAGEOFF]
Lloh96:
	ldr	w1, [x8]
Lloh97:
	adrp	x8, _XIMPreeditNothing@GOTPAGE
Lloh98:
	ldr	x8, [x8, _XIMPreeditNothing@GOTPAGEOFF]
Lloh99:
	ldr	w8, [x8]
Lloh100:
	adrp	x9, _XIMStatusNothing@GOTPAGE
Lloh101:
	ldr	x9, [x9, _XIMStatusNothing@GOTPAGEOFF]
Lloh102:
	ldr	w9, [x9]
Lloh103:
	adrp	x10, _XNClientWindow@GOTPAGE
Lloh104:
	ldr	x10, [x10, _XNClientWindow@GOTPAGEOFF]
	orr	w2, w9, w8
Lloh105:
	ldr	w3, [x10]
	ldr	w4, [x19, #16]
Lloh106:
	adrp	x8, _XNFocusWindow@GOTPAGE
Lloh107:
	ldr	x8, [x8, _XNFocusWindow@GOTPAGEOFF]
Lloh108:
	ldr	w5, [x8]
	mov	x6, x4
	mov	x7, #0
	bl	_XCreateIC
	str	w0, [x19, #20]
LBB0_29:
	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
Lloh109:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh110:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
	b	LBB0_32
LBB0_30:
Lloh111:
	adrp	x8, _GLFW_OUT_OF_MEMORY@GOTPAGE
Lloh112:
	ldr	x8, [x8, _GLFW_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh113:
	ldr	w0, [x8]
Lloh114:
	adrp	x1, l_.str.1@PAGE
Lloh115:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	__glfwInputError
LBB0_31:
Lloh116:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh117:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
LBB0_32:
	ldr	w0, [x8]
	ldr	x8, [sp, #56]
Lloh118:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh119:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh120:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_37
; %bb.33:
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_34:
	ldr	x8, [x20, #8]
	ldrb	w9, [x8]
	cbz	w9, LBB0_36
; %bb.35:
	str	x8, [x21]
	ldrb	w9, [x8]
	cbnz	w9, LBB0_26
	b	LBB0_25
LBB0_36:
Lloh121:
	adrp	x9, l_.str.3@PAGE
Lloh122:
	add	x9, x9, l_.str.3@PAGEOFF
	str	x9, [x21]
	ldrb	w9, [x8]
	cbnz	w9, LBB0_26
	b	LBB0_25
LBB0_37:
	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 AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh82
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh109, Lloh110
	.loh AdrpAdd	Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpAdd	Lloh121, Lloh122
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,112,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	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
	.comm	_XA_ATOM,4,2                    ; @XA_ATOM
	.comm	_PropModeReplace,4,2            ; @PropModeReplace
	.comm	_XA_CARDINAL,4,2                ; @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
l_.str.2:                               ; @.str.2
	.asciz	"RESOURCE_NAME"

l_.str.3:                               ; @.str.3
	.asciz	"glfw-application"

l_.str.4:                               ; @.str.4
	.asciz	"GLFW-Application"

	.comm	__GLFW_XDND_VERSION,8,3         ; @_GLFW_XDND_VERSION
	.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
	.no_dead_strip	_createNativeWindow
.subsections_via_symbols
