	.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	%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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	__glfw@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	16(%r13), %esi
	callq	_DefaultVisual
	movl	%eax, %edi
	callq	_XVisualIDFromVisual
	movl	%eax, %r12d
	cmpq	$0, 24(%r13)
	je	LBB0_8
## %bb.1:
	cmpq	$0, 8(%r13)
	je	LBB0_8
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	callq	_vkGetInstanceProcAddr
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_XGetXCBConnection
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movslq	%ebx, %r8
	movl	%r15d, %edi
	movl	%r14d, %esi
	movq	%rax, %rdx
	movl	%r12d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%r8                            ## TAILCALL
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	callq	_vkGetInstanceProcAddr
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	cltq
	movl	(%r13), %edx
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%r12d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_3:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_9:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_4
LBB0_6:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_4:
	callq	__glfwInputError
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,32,3                     ## @_glfw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vkGetPhysicalDeviceXcbPresentationSupportKHR"

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

	.comm	_GLFW_FALSE,4,2                 ## @GLFW_FALSE
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"X11: Failed to retrieve XCB connection"

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

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

.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	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, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x23, __glfw@GOTPAGE
Lloh1:
	ldr	x23, [x23, __glfw@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w1, [x23, #16]
	bl	_DefaultVisual
	bl	_XVisualIDFromVisual
	mov	x21, x0
	ldr	x8, [x23, #24]
	ldr	x9, [x23, #8]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_3
; %bb.1:
Lloh2:
	adrp	x1, l_.str.3@PAGE
Lloh3:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_vkGetInstanceProcAddr
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_6
; %bb.2:
	sxtw	x4, w0
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x21
	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
	br	x4
LBB0_3:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_vkGetInstanceProcAddr
	cbz	w0, LBB0_7
; %bb.4:
	mov	x22, x0
	ldr	w0, [x23]
	bl	_XGetXCBConnection
	cbz	x0, LBB0_8
; %bb.5:
	mov	x2, x0
	sxtw	x4, w22
	mov	x0, x20
	mov	x1, x19
	mov	x3, x21
	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
	br	x4
LBB0_6:
Lloh6:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh11:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh16:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_9:
	bl	__glfwInputError
Lloh21:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,32,3                     ; @_glfw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vkGetPhysicalDeviceXcbPresentationSupportKHR"

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

	.comm	_GLFW_FALSE,4,2                 ; @GLFW_FALSE
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"X11: Failed to retrieve XCB connection"

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

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

.subsections_via_symbols
