	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformCreateWindowSurface ## -- Begin function _glfwPlatformCreateWindowSurface
	.p2align	4, 0x90
__glfwPlatformCreateWindowSurface:      ## @_glfwPlatformCreateWindowSurface
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movl	%edi, %r12d
	movq	__glfw@GOTPCREL(%rip), %r14
	cmpq	$0, 16(%r14)
	je	LBB0_9
## %bb.1:
	cmpq	$0, 8(%r14)
	je	LBB0_9
## %bb.2:
	movl	(%r14), %edi
	callq	_XGetXCBConnection
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r14
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edi
	callq	_vkGetInstanceProcAddr
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	leaq	-80(%rbp), %rdi
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	%r14, -64(%rbp)
	movl	(%r13), %eax
	movl	%eax, -80(%rbp)
	movl	%r12d, %edi
	leaq	-80(%rbp), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	*%rbx
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movq	%rax, %rbx
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	__glfwGetVulkanResultString
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_13
LBB0_9:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.4(%rip), %rsi
	movl	%r12d, %edi
	callq	_vkGetInstanceProcAddr
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %rbx
	leaq	-80(%rbp), %rdi
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	(%r14), %eax
	movl	%eax, -76(%rbp)
	movl	(%r13), %eax
	movl	%eax, -80(%rbp)
	movl	%r12d, %edi
	leaq	-80(%rbp), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	*%rbx
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	%rax, %rbx
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	__glfwGetVulkanResultString
	leaq	L_.str.6(%rip), %rsi
LBB0_13:
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	__glfwInputError
	movq	%rbx, %r15
	jmp	LBB0_14
LBB0_3:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_10:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_4
LBB0_6:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_4:
	xorl	%eax, %eax
	callq	__glfwInputError
	movq	_VK_ERROR_EXTENSION_NOT_PRESENT@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_14:
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,24,3                     ## @_glfw
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"X11: Failed to retrieve XCB connection"

	.comm	_VK_ERROR_EXTENSION_NOT_PRESENT,8,3 ## @VK_ERROR_EXTENSION_NOT_PRESENT
L_.str.1:                               ## @.str.1
	.asciz	"vkCreateXcbSurfaceKHR"

	.comm	_GLFW_API_UNAVAILABLE,4,2       ## @GLFW_API_UNAVAILABLE
L_.str.2:                               ## @.str.2
	.asciz	"X11: Vulkan instance missing VK_KHR_xcb_surface extension"

	.comm	_VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR,4,2 ## @VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR
L_.str.3:                               ## @.str.3
	.asciz	"X11: Failed to create Vulkan XCB surface: %s"

L_.str.4:                               ## @.str.4
	.asciz	"vkCreateXlibSurfaceKHR"

L_.str.5:                               ## @.str.5
	.asciz	"X11: Vulkan instance missing VK_KHR_xlib_surface extension"

	.comm	_VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR,4,2 ## @VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR
L_.str.6:                               ## @.str.6
	.asciz	"X11: Failed to create Vulkan X11 surface: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformCreateWindowSurface ; -- Begin function _glfwPlatformCreateWindowSurface
	.p2align	2
__glfwPlatformCreateWindowSurface:      ; @_glfwPlatformCreateWindowSurface
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x24, __glfw@GOTPAGE
Lloh1:
	ldr	x24, [x24, __glfw@GOTPAGEOFF]
	ldp	x9, x8, [x24, #8]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_4
; %bb.1:
Lloh2:
	adrp	x1, l_.str.4@PAGE
Lloh3:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_vkGetInstanceProcAddr
	cbz	x0, LBB0_9
; %bb.2:
	mov	x23, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh4:
	adrp	x8, _VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x8]
	ldr	w8, [x24]
	ldr	w9, [x22]
	stp	w8, w10, [sp, #12]
	str	w9, [sp, #8]
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	blr	x23
	mov	x19, x0
	cbz	x0, LBB0_13
; %bb.3:
Lloh7:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
	mov	x0, x19
	bl	__glfwGetVulkanResultString
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh10:
	adrp	x1, l_.str.6@PAGE
Lloh11:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_8
LBB0_4:
	ldr	w0, [x24]
	bl	_XGetXCBConnection
	cbz	x0, LBB0_10
; %bb.5:
	mov	x23, x0
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_vkGetInstanceProcAddr
	cbz	x0, LBB0_11
; %bb.6:
	mov	x24, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh14:
	adrp	x8, _VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	x23, [sp, #24]
	ldr	w9, [x22]
	str	w8, [sp, #16]
	str	w9, [sp, #8]
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	blr	x24
	mov	x19, x0
	cbz	x0, LBB0_13
; %bb.7:
Lloh17:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
	mov	x0, x19
	bl	__glfwGetVulkanResultString
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	mov	x0, x20
	bl	__glfwInputError
	b	LBB0_13
LBB0_9:
Lloh22:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_10:
Lloh27:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str@PAGE
Lloh31:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh32:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_12:
	bl	__glfwInputError
Lloh37:
	adrp	x8, _VK_ERROR_EXTENSION_NOT_PRESENT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _VK_ERROR_EXTENSION_NOT_PRESENT@GOTPAGEOFF]
Lloh39:
	ldr	x19, [x8]
LBB0_13:
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,24,3                     ; @_glfw
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"X11: Failed to retrieve XCB connection"

	.comm	_VK_ERROR_EXTENSION_NOT_PRESENT,8,3 ; @VK_ERROR_EXTENSION_NOT_PRESENT
l_.str.1:                               ; @.str.1
	.asciz	"vkCreateXcbSurfaceKHR"

	.comm	_GLFW_API_UNAVAILABLE,4,2       ; @GLFW_API_UNAVAILABLE
l_.str.2:                               ; @.str.2
	.asciz	"X11: Vulkan instance missing VK_KHR_xcb_surface extension"

	.comm	_VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR,4,2 ; @VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR
l_.str.3:                               ; @.str.3
	.asciz	"X11: Failed to create Vulkan XCB surface: %s"

l_.str.4:                               ; @.str.4
	.asciz	"vkCreateXlibSurfaceKHR"

l_.str.5:                               ; @.str.5
	.asciz	"X11: Vulkan instance missing VK_KHR_xlib_surface extension"

	.comm	_VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR,4,2 ; @VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR
l_.str.6:                               ; @.str.6
	.asciz	"X11: Failed to create Vulkan X11 surface: %s"

.subsections_via_symbols
