	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformGetPhysicalDevicePresentationSupport ## -- Begin function _glfwPlatformGetPhysicalDevicePresentationSupport
	.p2align	4, 0x90
__glfwPlatformGetPhysicalDevicePresentationSupport: ## @_glfwPlatformGetPhysicalDevicePresentationSupport
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	leaq	L_.str(%rip), %rsi
	callq	_vkGetInstanceProcAddr
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cltq
	movq	__glfw@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	__glfwInputError
	movq	_VK_NULL_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vkGetPhysicalDeviceWaylandPresentationSupportKHR"

	.comm	_GLFW_API_UNAVAILABLE,4,2       ## @GLFW_API_UNAVAILABLE
L_.str.1:                               ## @.str.1
	.asciz	"Wayland: Vulkan instance missing VK_KHR_wayland_surface extension"

	.comm	_VK_NULL_HANDLE,4,2             ## @VK_NULL_HANDLE
	.comm	__glfw,4,2                      ## @_glfw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformGetPhysicalDevicePresentationSupport ; -- Begin function _glfwPlatformGetPhysicalDevicePresentationSupport
	.p2align	2
__glfwPlatformGetPhysicalDevicePresentationSupport: ; @_glfwPlatformGetPhysicalDevicePresentationSupport
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_vkGetInstanceProcAddr
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_2
; %bb.1:
	sxtw	x3, w0
Lloh2:
	adrp	x8, __glfw@GOTPAGE
Lloh3:
	ldr	x8, [x8, __glfw@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x3
LBB0_2:
Lloh5:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	__glfwInputError
Lloh10:
	adrp	x8, _VK_NULL_HANDLE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VK_NULL_HANDLE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vkGetPhysicalDeviceWaylandPresentationSupportKHR"

	.comm	_GLFW_API_UNAVAILABLE,4,2       ; @GLFW_API_UNAVAILABLE
l_.str.1:                               ; @.str.1
	.asciz	"Wayland: Vulkan instance missing VK_KHR_wayland_surface extension"

	.comm	_VK_NULL_HANDLE,4,2             ; @VK_NULL_HANDLE
	.comm	__glfw,4,2                      ; @_glfw
.subsections_via_symbols
