	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwInitVulkan                ## -- Begin function _glfwInitVulkan
	.p2align	4, 0x90
__glfwInitVulkan:                       ## @_glfwInitVulkan
	.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	__glfw@GOTPCREL(%rip), %r14
	cmpq	$0, 16(%r14)
	je	LBB0_2
## %bb.1:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_29
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	__glfw_dlopen
	movl	%eax, 80(%r14)
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_29
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	__glfw_dlsym
	movq	%rax, 72(%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	xorl	%edi, %edi
	callq	_vkGetInstanceProcAddr
	movq	%rax, 64(%r14)
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	leaq	-48(%rbp), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_vkEnumerateInstanceExtensionProperties
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	%rax, %rdi
	callq	__glfwGetVulkanResultString
	leaq	L_.str.5(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	__glfwInputError
	jmp	LBB0_6
LBB0_4:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_8:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_5:
	xorl	%eax, %eax
	callq	__glfwInputError
LBB0_6:
	xorl	%eax, %eax
	callq	__glfwTerminateVulkan
LBB0_29:
	movq	(%rbx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	-48(%rbp), %rdi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %r15
	leaq	-48(%rbp), %rsi
	xorl	%edi, %edi
	movq	%rax, %rdx
	callq	_vkEnumerateInstanceExtensionProperties
	testq	%rax, %rax
	je	LBB0_12
## %bb.30:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	%rax, %rdi
	callq	__glfwGetVulkanResultString
	leaq	L_.str.6(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	__glfwInputError
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_6
LBB0_12:
	cmpq	$0, -48(%rbp)
	je	LBB0_27
## %bb.13:
	xorl	%ebx, %ebx
	movq	_GLFW_TRUE@GOTPCREL(%rip), %r12
	leaq	L_.str.12(%rip), %r13
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%rbx
	cmpq	-48(%rbp), %rbx
	jae	LBB0_27
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r12), %rax
	movq	%rax, 8(%r14)
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r15,%rbx,4), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r12), %rax
	movq	%rax, 56(%r14)
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r15,%rbx,4), %edi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r12), %rax
	movq	%rax, 48(%r14)
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r15,%rbx,4), %edi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r12), %rax
	movq	%rax, 40(%r14)
LBB0_22:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r15,%rbx,4), %edi
	leaq	L_.str.11(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r12), %rax
	movq	%rax, 32(%r14)
LBB0_24:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r15,%rbx,4), %edi
	movq	%r13, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r12), %rax
	movq	%rax, 24(%r14)
	jmp	LBB0_26
LBB0_27:
	movq	%r15, %rdi
	callq	_free
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, 16(%r14)
	cmpq	$0, 8(%r14)
	je	LBB0_29
## %bb.28:
	movq	%r14, %rdi
	callq	__glfwPlatformGetRequiredInstanceExtensions
	movl	%eax, 4(%r14)
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"libvulkan.so.1"

	.comm	__glfw,88,3                     ## @_glfw
	.comm	_GLFW_TRUE,8,3                  ## @GLFW_TRUE
	.comm	_GLFW_FALSE,8,3                 ## @GLFW_FALSE
L_.str.1:                               ## @.str.1
	.asciz	"vkGetInstanceProcAddr"

	.comm	_GLFW_API_UNAVAILABLE,4,2       ## @GLFW_API_UNAVAILABLE
L_.str.2:                               ## @.str.2
	.asciz	"Vulkan: Loader does not export vkGetInstanceProcAddr"

L_.str.3:                               ## @.str.3
	.asciz	"vkEnumerateInstanceExtensionProperties"

L_.str.4:                               ## @.str.4
	.asciz	"Vulkan: Failed to retrieve vkEnumerateInstanceExtensionProperties"

	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
L_.str.5:                               ## @.str.5
	.asciz	"Vulkan: Failed to query instance extension count: %s"

L_.str.6:                               ## @.str.6
	.asciz	"Vulkan: Failed to query instance extensions: %s"

L_.str.7:                               ## @.str.7
	.asciz	"VK_KHR_surface"

L_.str.8:                               ## @.str.8
	.asciz	"VK_KHR_win32_surface"

L_.str.9:                               ## @.str.9
	.asciz	"VK_KHR_xlib_surface"

L_.str.10:                              ## @.str.10
	.asciz	"VK_KHR_xcb_surface"

L_.str.11:                              ## @.str.11
	.asciz	"VK_KHR_wayland_surface"

L_.str.12:                              ## @.str.12
	.asciz	"VK_KHR_mir_surface"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwInitVulkan                ; -- Begin function _glfwInitVulkan
	.p2align	2
__glfwInitVulkan:                       ; @_glfwInitVulkan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x19, __glfw@GOTPAGE
Lloh1:
	ldr	x19, [x19, __glfw@GOTPAGEOFF]
	ldr	x8, [x19, #16]
Lloh2:
	adrp	x27, _GLFW_TRUE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _GLFW_TRUE@GOTPAGEOFF]
	cbnz	x8, LBB0_11
; %bb.1:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	__glfw_dlopen
	str	w0, [x19, #80]
	cbz	w0, LBB0_10
; %bb.2:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	__glfw_dlsym
	str	x0, [x19, #72]
	cbz	x0, LBB0_6
; %bb.3:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, #0
	bl	_vkGetInstanceProcAddr
	str	x0, [x19, #64]
	cbz	x0, LBB0_7
; %bb.4:
	add	x1, sp, #8
	mov	x0, #0
	mov	x2, #0
	bl	_vkEnumerateInstanceExtensionProperties
	cbz	x0, LBB0_12
; %bb.5:
Lloh10:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
	bl	__glfwGetVulkanResultString
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	b	LBB0_8
LBB0_6:
Lloh15:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh20:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_8:
	bl	__glfwInputError
LBB0_9:
	bl	__glfwTerminateVulkan
LBB0_10:
Lloh25:
	adrp	x27, _GLFW_FALSE@GOTPAGE
Lloh26:
	ldr	x27, [x27, _GLFW_FALSE@GOTPAGEOFF]
LBB0_11:
	ldr	x0, [x27]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	ldr	x0, [sp, #8]
	mov	w1, #4
	bl	_calloc
	mov	x20, x0
	add	x1, sp, #8
	mov	x0, #0
	mov	x2, x20
	bl	_vkEnumerateInstanceExtensionProperties
	cbz	x0, LBB0_14
; %bb.13:
Lloh27:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w19, [x8]
	bl	__glfwGetVulkanResultString
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	__glfwInputError
	mov	x0, x20
	bl	_free
	b	LBB0_9
LBB0_14:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_29
; %bb.15:
	mov	x28, #0
Lloh32:
	adrp	x21, l_.str.7@PAGE
Lloh33:
	add	x21, x21, l_.str.7@PAGEOFF
Lloh34:
	adrp	x22, l_.str.8@PAGE
Lloh35:
	add	x22, x22, l_.str.8@PAGEOFF
Lloh36:
	adrp	x23, l_.str.9@PAGE
Lloh37:
	add	x23, x23, l_.str.9@PAGEOFF
Lloh38:
	adrp	x24, l_.str.10@PAGE
Lloh39:
	add	x24, x24, l_.str.10@PAGEOFF
Lloh40:
	adrp	x25, l_.str.11@PAGE
Lloh41:
	add	x25, x25, l_.str.11@PAGEOFF
Lloh42:
	adrp	x26, l_.str.12@PAGE
Lloh43:
	add	x26, x26, l_.str.12@PAGEOFF
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x28, x28, #1
	ldr	x8, [sp, #8]
	cmp	x28, x8
	b.hs	LBB0_29
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, x28, lsl #2]
	mov	x1, x21
	bl	_strcmp
	cbnz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x27]
	str	x8, [x19, #8]
LBB0_19:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w0, [x20, x28, lsl #2]
	mov	x1, x22
	bl	_strcmp
	cbnz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x27]
	str	x8, [x19, #56]
LBB0_21:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w0, [x20, x28, lsl #2]
	mov	x1, x23
	bl	_strcmp
	cbnz	x0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x27]
	str	x8, [x19, #48]
LBB0_23:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w0, [x20, x28, lsl #2]
	mov	x1, x24
	bl	_strcmp
	cbnz	x0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x27]
	str	x8, [x19, #40]
LBB0_25:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w0, [x20, x28, lsl #2]
	mov	x1, x25
	bl	_strcmp
	cbnz	x0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x27]
	str	x8, [x19, #32]
LBB0_27:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w0, [x20, x28, lsl #2]
	mov	x1, x26
	bl	_strcmp
	cbnz	x0, LBB0_16
; %bb.28:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x27]
	str	x8, [x19, #24]
	b	LBB0_16
LBB0_29:
	mov	x0, x20
	bl	_free
	ldr	x8, [x27]
	str	x8, [x19, #16]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_11
; %bb.30:
	mov	x0, x19
	bl	__glfwPlatformGetRequiredInstanceExtensions
	str	w0, [x19, #4]
Lloh44:
	adrp	x27, _GLFW_TRUE@GOTPAGE
Lloh45:
	ldr	x27, [x27, _GLFW_TRUE@GOTPAGEOFF]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"libvulkan.so.1"

	.comm	__glfw,88,3                     ; @_glfw
	.comm	_GLFW_TRUE,8,3                  ; @GLFW_TRUE
	.comm	_GLFW_FALSE,8,3                 ; @GLFW_FALSE
l_.str.1:                               ; @.str.1
	.asciz	"vkGetInstanceProcAddr"

	.comm	_GLFW_API_UNAVAILABLE,4,2       ; @GLFW_API_UNAVAILABLE
l_.str.2:                               ; @.str.2
	.asciz	"Vulkan: Loader does not export vkGetInstanceProcAddr"

l_.str.3:                               ; @.str.3
	.asciz	"vkEnumerateInstanceExtensionProperties"

l_.str.4:                               ; @.str.4
	.asciz	"Vulkan: Failed to retrieve vkEnumerateInstanceExtensionProperties"

	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
l_.str.5:                               ; @.str.5
	.asciz	"Vulkan: Failed to query instance extension count: %s"

l_.str.6:                               ; @.str.6
	.asciz	"Vulkan: Failed to query instance extensions: %s"

l_.str.7:                               ; @.str.7
	.asciz	"VK_KHR_surface"

l_.str.8:                               ; @.str.8
	.asciz	"VK_KHR_win32_surface"

l_.str.9:                               ; @.str.9
	.asciz	"VK_KHR_xlib_surface"

l_.str.10:                              ; @.str.10
	.asciz	"VK_KHR_xcb_surface"

l_.str.11:                              ; @.str.11
	.asciz	"VK_KHR_wayland_surface"

l_.str.12:                              ; @.str.12
	.asciz	"VK_KHR_mir_surface"

.subsections_via_symbols
