	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function createHelperWindow
_createHelperWindow:                    ## @createHelperWindow
	.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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_WS_EX_OVERLAPPEDWINDOW@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	__GLFW_WNDCLASSNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_WS_CLIPSIBLINGS@GOTPCREL(%rip), %rax
	movq	_WS_CLIPCHILDREN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	xorl	%edi, %edi
	callq	_GetModuleHandleW
	movl	%eax, 32(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movq	$0, 40(%rsp)
	movl	$1, 8(%rsp)
	movl	$1, (%rsp)
	leaq	l_.str(%rip), %rdx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_CreateWindowExW
	movq	__glfw@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_SW_HIDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_ShowWindow
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_ZeroMemory
	movl	$12, -48(%rbp)
	movq	_DBT_DEVTYP_DEVICEINTERFACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_GUID_DEVINTERFACE_HID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	(%r14), %edi
	movq	_DEVICE_NOTIFY_WINDOW_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_RegisterDeviceNotificationW
	movl	%eax, 4(%r14)
	movl	(%r14), %esi
	movq	_PM_REMOVE@GOTPCREL(%rip), %r15
	movl	(%r15), %r8d
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_PeekMessageW
	movq	_GLFW_TRUE@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	-48(%rbp), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_TranslateMessage
	movq	%rbx, %rdi
	callq	_DispatchMessageW
	movl	(%r14), %esi
	movl	(%r15), %r8d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_PeekMessageW
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	__glfwInputErrorWin32
	movq	_GLFW_FALSE@GOTPCREL(%rip), %r12
LBB0_5:
	movl	(%r12), %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WS_EX_OVERLAPPEDWINDOW,4,2     ## @WS_EX_OVERLAPPEDWINDOW
	.comm	__GLFW_WNDCLASSNAME,4,2         ## @_GLFW_WNDCLASSNAME
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	71                              ## 0x47
	.long	76                              ## 0x4c
	.long	70                              ## 0x46
	.long	87                              ## 0x57
	.long	32                              ## 0x20
	.long	109                             ## 0x6d
	.long	101                             ## 0x65
	.long	115                             ## 0x73
	.long	115                             ## 0x73
	.long	97                              ## 0x61
	.long	103                             ## 0x67
	.long	101                             ## 0x65
	.long	32                              ## 0x20
	.long	119                             ## 0x77
	.long	105                             ## 0x69
	.long	110                             ## 0x6e
	.long	100                             ## 0x64
	.long	111                             ## 0x6f
	.long	119                             ## 0x77
	.long	0                               ## 0x0

	.comm	_WS_CLIPSIBLINGS,4,2            ## @WS_CLIPSIBLINGS
	.comm	_WS_CLIPCHILDREN,4,2            ## @WS_CLIPCHILDREN
	.comm	__glfw,8,2                      ## @_glfw
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Win32: Failed to create helper window"

	.comm	_GLFW_FALSE,4,2                 ## @GLFW_FALSE
	.comm	_SW_HIDE,4,2                    ## @SW_HIDE
	.comm	_DBT_DEVTYP_DEVICEINTERFACE,4,2 ## @DBT_DEVTYP_DEVICEINTERFACE
	.comm	_GUID_DEVINTERFACE_HID,4,2      ## @GUID_DEVINTERFACE_HID
	.comm	_DEVICE_NOTIFY_WINDOW_HANDLE,4,2 ## @DEVICE_NOTIFY_WINDOW_HANDLE
	.comm	_PM_REMOVE,4,2                  ## @PM_REMOVE
	.comm	_GLFW_TRUE,4,2                  ## @GLFW_TRUE
	.no_dead_strip	_createHelperWindow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function createHelperWindow
_createHelperWindow:                    ; @createHelperWindow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _WS_EX_OVERLAPPEDWINDOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WS_EX_OVERLAPPEDWINDOW@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, __GLFW_WNDCLASSNAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, __GLFW_WNDCLASSNAME@GOTPAGEOFF]
Lloh5:
	adrp	x9, _WS_CLIPSIBLINGS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WS_CLIPSIBLINGS@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _WS_CLIPCHILDREN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WS_CLIPCHILDREN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w21, w9, w8
	mov	x0, #0
	bl	_GetModuleHandleW
	stp	xzr, xzr, [sp]
	str	xzr, [sp, #24]
	str	w0, [sp, #16]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	mov	w4, #0
	mov	w5, #0
	mov	w6, #1
	mov	w7, #1
	bl	_CreateWindowExW
Lloh14:
	adrp	x19, __glfw@GOTPAGE
Lloh15:
	ldr	x19, [x19, __glfw@GOTPAGEOFF]
	str	w0, [x19]
	cbz	w0, LBB0_3
; %bb.1:
Lloh16:
	adrp	x8, _SW_HIDE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SW_HIDE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_ShowWindow
	mov	w20, #12
	add	x0, sp, #32
	mov	w1, #12
	bl	_ZeroMemory
Lloh19:
	adrp	x8, _DBT_DEVTYP_DEVICEINTERFACE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DBT_DEVTYP_DEVICEINTERFACE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [sp, #40]
Lloh22:
	adrp	x8, _GUID_DEVINTERFACE_HID@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GUID_DEVINTERFACE_HID@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	stp	w20, w8, [sp, #32]
	ldr	w0, [x19]
Lloh25:
	adrp	x8, _DEVICE_NOTIFY_WINDOW_HANDLE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DEVICE_NOTIFY_WINDOW_HANDLE@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	add	x1, sp, #32
	bl	_RegisterDeviceNotificationW
	str	w0, [x19, #4]
	ldr	w1, [x19]
Lloh28:
	adrp	x20, _PM_REMOVE@GOTPAGE
Lloh29:
	ldr	x20, [x20, _PM_REMOVE@GOTPAGEOFF]
	ldr	w4, [x20]
	add	x0, sp, #32
	mov	w2, #0
	mov	w3, #0
	bl	_PeekMessageW
Lloh30:
	adrp	x21, _GLFW_TRUE@GOTPAGE
Lloh31:
	ldr	x21, [x21, _GLFW_TRUE@GOTPAGEOFF]
	cbz	x0, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #32
	bl	_TranslateMessage
	add	x0, sp, #32
	bl	_DispatchMessageW
	ldr	w1, [x19]
	ldr	w4, [x20]
	add	x0, sp, #32
	mov	w2, #0
	mov	w3, #0
	bl	_PeekMessageW
	cbnz	x0, LBB0_2
	b	LBB0_4
LBB0_3:
Lloh32:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	__glfwInputErrorWin32
Lloh37:
	adrp	x21, _GLFW_FALSE@GOTPAGE
Lloh38:
	ldr	x21, [x21, _GLFW_FALSE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_WS_EX_OVERLAPPEDWINDOW,4,2     ; @WS_EX_OVERLAPPEDWINDOW
	.comm	__GLFW_WNDCLASSNAME,4,2         ; @_GLFW_WNDCLASSNAME
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	71                              ; 0x47
	.long	76                              ; 0x4c
	.long	70                              ; 0x46
	.long	87                              ; 0x57
	.long	32                              ; 0x20
	.long	109                             ; 0x6d
	.long	101                             ; 0x65
	.long	115                             ; 0x73
	.long	115                             ; 0x73
	.long	97                              ; 0x61
	.long	103                             ; 0x67
	.long	101                             ; 0x65
	.long	32                              ; 0x20
	.long	119                             ; 0x77
	.long	105                             ; 0x69
	.long	110                             ; 0x6e
	.long	100                             ; 0x64
	.long	111                             ; 0x6f
	.long	119                             ; 0x77
	.long	0                               ; 0x0

	.comm	_WS_CLIPSIBLINGS,4,2            ; @WS_CLIPSIBLINGS
	.comm	_WS_CLIPCHILDREN,4,2            ; @WS_CLIPCHILDREN
	.comm	__glfw,8,2                      ; @_glfw
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Win32: Failed to create helper window"

	.comm	_GLFW_FALSE,4,2                 ; @GLFW_FALSE
	.comm	_SW_HIDE,4,2                    ; @SW_HIDE
	.comm	_DBT_DEVTYP_DEVICEINTERFACE,4,2 ; @DBT_DEVTYP_DEVICEINTERFACE
	.comm	_GUID_DEVINTERFACE_HID,4,2      ; @GUID_DEVINTERFACE_HID
	.comm	_DEVICE_NOTIFY_WINDOW_HANDLE,4,2 ; @DEVICE_NOTIFY_WINDOW_HANDLE
	.comm	_PM_REMOVE,4,2                  ; @PM_REMOVE
	.comm	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
	.no_dead_strip	_createHelperWindow
.subsections_via_symbols
