	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwCreateWindowSurface        ## -- Begin function glfwCreateWindowSurface
	.p2align	4, 0x90
_glfwCreateWindowSurface:               ## @glfwCreateWindowSurface
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_VK_NULL_HANDLE@GOTPCREL(%rip), %r13
	xorl	%edi, %edi
	cmpq	%r12, (%r13)
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	(%r13), %rax
	movq	%rax, (%rbx)
	movq	_VK_ERROR_INITIALIZATION_FAILED@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	__GLFW_REQUIRE_INIT_OR_RETURN
	movq	__GLFW_REQUIRE_LOADER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__glfwInitVulkan
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	__glfw@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.4:
	movq	(%r15), %rax
	movq	_GLFW_NO_API@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.8:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__glfwPlatformCreateWindowSurface ## TAILCALL
LBB0_1:
	movl	(%r13), %eax
	jmp	LBB0_7
LBB0_3:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	__glfwInputError
	movq	_VK_ERROR_EXTENSION_NOT_PRESENT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_GLFW_INVALID_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	__glfwInputError
	movq	_VK_ERROR_NATIVE_WINDOW_IN_USE_KHR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VK_NULL_HANDLE,8,3             ## @VK_NULL_HANDLE
	.comm	_VK_ERROR_INITIALIZATION_FAILED,4,2 ## @VK_ERROR_INITIALIZATION_FAILED
	.comm	__GLFW_REQUIRE_LOADER,4,2       ## @_GLFW_REQUIRE_LOADER
	.comm	__glfw,8,3                      ## @_glfw
	.comm	_GLFW_API_UNAVAILABLE,4,2       ## @GLFW_API_UNAVAILABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Vulkan: Window surface creation extensions not found"

	.comm	_VK_ERROR_EXTENSION_NOT_PRESENT,4,2 ## @VK_ERROR_EXTENSION_NOT_PRESENT
	.comm	_GLFW_NO_API,8,3                ## @GLFW_NO_API
	.comm	_GLFW_INVALID_VALUE,4,2         ## @GLFW_INVALID_VALUE
L_.str.1:                               ## @.str.1
	.asciz	"Vulkan: Window surface creation requires the window to have the client API set to GLFW_NO_API"

	.comm	_VK_ERROR_NATIVE_WINDOW_IN_USE_KHR,4,2 ## @VK_ERROR_NATIVE_WINDOW_IN_USE_KHR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwCreateWindowSurface        ; -- Begin function glfwCreateWindowSurface
	.p2align	2
_glfwCreateWindowSurface:               ; @glfwCreateWindowSurface
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _VK_NULL_HANDLE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _VK_NULL_HANDLE@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x8, x0
	cset	w0, ne
	bl	_assert
	cmp	x21, #0
	cset	w0, ne
	bl	_assert
	cmp	x19, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x23]
	str	x8, [x19]
Lloh2:
	adrp	x23, _VK_ERROR_INITIALIZATION_FAILED@GOTPAGE
Lloh3:
	ldr	x23, [x23, _VK_ERROR_INITIALIZATION_FAILED@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	__GLFW_REQUIRE_INIT_OR_RETURN
Lloh4:
	adrp	x8, __GLFW_REQUIRE_LOADER@GOTPAGE
Lloh5:
	ldr	x8, [x8, __GLFW_REQUIRE_LOADER@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	__glfwInitVulkan
	cbz	w0, LBB0_4
; %bb.1:
Lloh7:
	adrp	x8, __glfw@GOTPAGE
Lloh8:
	ldr	x8, [x8, __glfw@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	x8, [x21]
Lloh10:
	adrp	x9, _GLFW_NO_API@GOTPAGE
Lloh11:
	ldr	x9, [x9, _GLFW_NO_API@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	__glfwPlatformCreateWindowSurface
LBB0_4:
	ldr	w0, [x23]
	b	LBB0_8
LBB0_5:
Lloh13:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	__glfwInputError
Lloh18:
	adrp	x8, _VK_ERROR_EXTENSION_NOT_PRESENT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VK_ERROR_EXTENSION_NOT_PRESENT@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh20:
	adrp	x8, _GLFW_INVALID_VALUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GLFW_INVALID_VALUE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	__glfwInputError
Lloh25:
	adrp	x8, _VK_ERROR_NATIVE_WINDOW_IN_USE_KHR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _VK_ERROR_NATIVE_WINDOW_IN_USE_KHR@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_VK_NULL_HANDLE,8,3             ; @VK_NULL_HANDLE
	.comm	_VK_ERROR_INITIALIZATION_FAILED,4,2 ; @VK_ERROR_INITIALIZATION_FAILED
	.comm	__GLFW_REQUIRE_LOADER,4,2       ; @_GLFW_REQUIRE_LOADER
	.comm	__glfw,8,3                      ; @_glfw
	.comm	_GLFW_API_UNAVAILABLE,4,2       ; @GLFW_API_UNAVAILABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Vulkan: Window surface creation extensions not found"

	.comm	_VK_ERROR_EXTENSION_NOT_PRESENT,4,2 ; @VK_ERROR_EXTENSION_NOT_PRESENT
	.comm	_GLFW_NO_API,8,3                ; @GLFW_NO_API
	.comm	_GLFW_INVALID_VALUE,4,2         ; @GLFW_INVALID_VALUE
l_.str.1:                               ; @.str.1
	.asciz	"Vulkan: Window surface creation requires the window to have the client API set to GLFW_NO_API"

	.comm	_VK_ERROR_NATIVE_WINDOW_IN_USE_KHR,4,2 ; @VK_ERROR_NATIVE_WINDOW_IN_USE_KHR
.subsections_via_symbols
