	.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	$16, %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
	movq	_HWND_MESSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%edi, %edi
	callq	_GetModuleHandleW
                                        ## kill: def $eax killed $eax def $rax
	leaq	l_.str(%rip), %rdx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%rax
	pushq	$0
	pushq	%r12
	pushq	$1
	pushq	$1
	callq	_CreateWindowExW
	addq	$48, %rsp
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_SW_HIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ShowWindow
	leaq	-48(%rbp), %r14
	movq	%r14, %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)
	movq	_DEVICE_NOTIFY_WINDOW_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_RegisterDeviceNotificationW
	jmp	LBB0_3
LBB0_1:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	__glfwInputError
LBB0_3:
	movq	%rbx, %rax
	addq	$16, %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	104                             ## 0x68
	.long	101                             ## 0x65
	.long	108                             ## 0x6c
	.long	112                             ## 0x70
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.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	_HWND_MESSAGE,4,2               ## @HWND_MESSAGE
	.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	_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
	.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:
	adrp	x9, __GLFW_WNDCLASSNAME@GOTPAGE
Lloh3:
	ldr	x9, [x9, __GLFW_WNDCLASSNAME@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
Lloh5:
	ldr	w20, [x9]
Lloh6:
	adrp	x8, _WS_CLIPSIBLINGS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WS_CLIPSIBLINGS@GOTPAGEOFF]
Lloh8:
	adrp	x9, _WS_CLIPCHILDREN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WS_CLIPCHILDREN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	orr	w21, w9, w8
Lloh12:
	adrp	x8, _HWND_MESSAGE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HWND_MESSAGE@GOTPAGEOFF]
Lloh14:
	ldr	w22, [x8]
	mov	x0, #0
	bl	_GetModuleHandleW
	str	xzr, [sp, #24]
	str	w0, [sp, #16]
	str	xzr, [sp, #8]
	str	w22, [sp]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	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
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh17:
	adrp	x8, _SW_HIDE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SW_HIDE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ShowWindow
	mov	w20, #12
	add	x0, sp, #32
	mov	w1, #12
	bl	_ZeroMemory
Lloh20:
	adrp	x8, _DBT_DEVTYP_DEVICEINTERFACE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DBT_DEVTYP_DEVICEINTERFACE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [sp, #40]
Lloh23:
	adrp	x8, _GUID_DEVINTERFACE_HID@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GUID_DEVINTERFACE_HID@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	stp	w20, w8, [sp, #32]
Lloh26:
	adrp	x8, _DEVICE_NOTIFY_WINDOW_HANDLE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DEVICE_NOTIFY_WINDOW_HANDLE@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	add	x1, sp, #32
	mov	x0, x19
	bl	_RegisterDeviceNotificationW
	b	LBB0_3
LBB0_2:
Lloh29:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x1, l_.str.1@PAGE
Lloh33:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	__glfwInputError
LBB0_3:
	mov	x0, x19
	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 AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.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	104                             ; 0x68
	.long	101                             ; 0x65
	.long	108                             ; 0x6c
	.long	112                             ; 0x70
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.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	_HWND_MESSAGE,4,2               ; @HWND_MESSAGE
	.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	_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
	.no_dead_strip	_createHelperWindow
.subsections_via_symbols
