	.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), %r15
	cmpq	$0, 8(%r15)
	je	LBB0_2
## %bb.1:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_21
LBB0_2:
	movl	%edi, %r14d
	leaq	L_.str(%rip), %rdi
	callq	__glfw_dlopen
	movq	%rax, 80(%r15)
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	callq	__glfw_dlsym
	movq	%rax, 72(%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	leaq	L_.str.4(%rip), %rsi
	xorl	%edi, %edi
	callq	_vkGetInstanceProcAddr
	movq	%rax, 64(%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	leaq	-48(%rbp), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_vkEnumerateInstanceExtensionProperties
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	__GLFW_REQUIRE_LOADER@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jne	LBB0_13
## %bb.12:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%rax, %rdi
	callq	__glfwGetVulkanResultString
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	__glfwInputError
	jmp	LBB0_13
LBB0_3:
	movq	__GLFW_REQUIRE_LOADER@GOTPCREL(%rip), %rax
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rbx
	cmpl	%r14d, (%rax)
	jne	LBB0_21
## %bb.4:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	__glfwInputError
	jmp	LBB0_21
LBB0_6:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_7
LBB0_9:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_7:
	xorl	%eax, %eax
	callq	__glfwInputError
LBB0_13:
	xorl	%eax, %eax
	callq	__glfwTerminateVulkan
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rbx
LBB0_21:
	movq	(%rbx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	-48(%rbp), %rdi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %r12
	leaq	-48(%rbp), %rsi
	xorl	%edi, %edi
	movq	%rax, %rdx
	callq	_vkEnumerateInstanceExtensionProperties
	testq	%rax, %rax
	je	LBB0_15
## %bb.22:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	%rax, %rdi
	callq	__glfwGetVulkanResultString
	leaq	L_.str.7(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	__glfwInputError
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_13
LBB0_15:
	cmpq	$0, -48(%rbp)
	je	LBB0_20
## %bb.16:
	xorl	%ebx, %ebx
	leaq	L_.str.8(%rip), %r14
	movq	_GLFW_TRUE@GOTPCREL(%rip), %r13
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rbx
	cmpq	-48(%rbp), %rbx
	jae	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	(%r13), %rax
	movq	%rax, 56(%r15)
	jmp	LBB0_19
LBB0_20:
	movq	%r12, %rdi
	callq	_free
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, 8(%r15)
	movl	(%r15), %edi
	callq	__glfwPlatformGetRequiredInstanceExtensions
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,88,3                     ## @_glfw
	.comm	_GLFW_TRUE,8,3                  ## @GLFW_TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"libvulkan.so.1"

	.comm	__GLFW_REQUIRE_LOADER,4,2       ## @_GLFW_REQUIRE_LOADER
	.comm	_GLFW_API_UNAVAILABLE,4,2       ## @GLFW_API_UNAVAILABLE
L_.str.1:                               ## @.str.1
	.asciz	"Vulkan: Loader not found"

	.comm	_GLFW_FALSE,8,3                 ## @GLFW_FALSE
L_.str.2:                               ## @.str.2
	.asciz	"vkGetInstanceProcAddr"

L_.str.3:                               ## @.str.3
	.asciz	"Vulkan: Loader does not export vkGetInstanceProcAddr"

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

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

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

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

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

	.comm	__GLFW_VULKAN_LIBRARY,8,3       ## @_GLFW_VULKAN_LIBRARY
.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, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x22, __glfw@GOTPAGE
Lloh1:
	ldr	x22, [x22, __glfw@GOTPAGEOFF]
	ldr	x8, [x22, #8]
Lloh2:
	adrp	x21, _GLFW_TRUE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _GLFW_TRUE@GOTPAGEOFF]
	cbnz	x8, LBB0_14
; %bb.1:
	mov	x19, x0
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	__glfw_dlopen
	str	x0, [x22, #80]
	cbz	x0, LBB0_7
; %bb.2:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	__glfw_dlsym
	str	x0, [x22, #72]
	cbz	x0, LBB0_9
; %bb.3:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, #0
	bl	_vkGetInstanceProcAddr
	str	x0, [x22, #64]
	cbz	x0, LBB0_10
; %bb.4:
	add	x1, sp, #8
	mov	x0, #0
	mov	x2, #0
	bl	_vkEnumerateInstanceExtensionProperties
	cbz	x0, LBB0_15
; %bb.5:
Lloh10:
	adrp	x8, __GLFW_REQUIRE_LOADER@GOTPAGE
Lloh11:
	ldr	x8, [x8, __GLFW_REQUIRE_LOADER@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_12
; %bb.6:
Lloh13:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
	bl	__glfwGetVulkanResultString
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	b	LBB0_11
LBB0_7:
Lloh18:
	adrp	x8, __GLFW_REQUIRE_LOADER@GOTPAGE
Lloh19:
	ldr	x8, [x8, __GLFW_REQUIRE_LOADER@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_13
; %bb.8:
Lloh21:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	__glfwInputError
	b	LBB0_13
LBB0_9:
Lloh26:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh31:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_11:
	bl	__glfwInputError
LBB0_12:
	bl	__glfwTerminateVulkan
LBB0_13:
Lloh36:
	adrp	x21, _GLFW_FALSE@GOTPAGE
Lloh37:
	ldr	x21, [x21, _GLFW_FALSE@GOTPAGEOFF]
LBB0_14:
	ldr	x0, [x21]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_15:
	ldr	x0, [sp, #8]
	mov	w1, #4
	bl	_calloc
	mov	x19, x0
	add	x1, sp, #8
	mov	x0, #0
	mov	x2, x19
	bl	_vkEnumerateInstanceExtensionProperties
	cbz	x0, LBB0_17
; %bb.16:
Lloh38:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh40:
	ldr	w20, [x8]
	bl	__glfwGetVulkanResultString
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh41:
	adrp	x1, l_.str.7@PAGE
Lloh42:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	__glfwInputError
	mov	x0, x19
	bl	_free
	b	LBB0_12
LBB0_17:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_22
; %bb.18:
	mov	x23, #0
Lloh43:
	adrp	x20, l_.str.8@PAGE
Lloh44:
	add	x20, x20, l_.str.8@PAGEOFF
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x23, x23, #1
	ldr	x8, [sp, #8]
	cmp	x23, x8
	b.hs	LBB0_22
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, x23, lsl #2]
	mov	x1, x20
	bl	_strcmp
	cbnz	x0, LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [x21]
	str	x8, [x22, #56]
	b	LBB0_19
LBB0_22:
	mov	x0, x19
	bl	_free
	ldr	x8, [x21]
	str	x8, [x22, #8]
	ldr	w0, [x22]
	bl	__glfwPlatformGetRequiredInstanceExtensions
	b	LBB0_14
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,88,3                     ; @_glfw
	.comm	_GLFW_TRUE,8,3                  ; @GLFW_TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"libvulkan.so.1"

	.comm	__GLFW_REQUIRE_LOADER,4,2       ; @_GLFW_REQUIRE_LOADER
	.comm	_GLFW_API_UNAVAILABLE,4,2       ; @GLFW_API_UNAVAILABLE
l_.str.1:                               ; @.str.1
	.asciz	"Vulkan: Loader not found"

	.comm	_GLFW_FALSE,8,3                 ; @GLFW_FALSE
l_.str.2:                               ; @.str.2
	.asciz	"vkGetInstanceProcAddr"

l_.str.3:                               ; @.str.3
	.asciz	"Vulkan: Loader does not export vkGetInstanceProcAddr"

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

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

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

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

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

	.comm	__GLFW_VULKAN_LIBRARY,8,3       ; @_GLFW_VULKAN_LIBRARY
.subsections_via_symbols
