	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformCreateWindow      ## -- Begin function _glfwPlatformCreateWindow
	.p2align	4, 0x90
__glfwPlatformCreateWindow:             ## @_glfwPlatformCreateWindow
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rdi, %rbx
	callq	_createNativeWindow
	movq	_GLFW_FALSE@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	(%r15), %rax
	movq	_GLFW_NO_API@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_6:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %r12
	jmp	LBB0_7
LBB0_2:
	movq	8(%r15), %rax
	movq	_GLFW_NATIVE_CONTEXT_API@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_GLFW_OSMESA_CONTEXT_API@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.8:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	__glfwInputError
	jmp	LBB0_7
LBB0_4:
	xorl	%eax, %eax
	callq	__glfwInitOSMesa
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	__glfwCreateContextOSMesa
	testl	%eax, %eax
	jne	LBB0_6
LBB0_7:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_FALSE,4,2                 ## @GLFW_FALSE
	.comm	_GLFW_NO_API,8,3                ## @GLFW_NO_API
	.comm	_GLFW_NATIVE_CONTEXT_API,8,3    ## @GLFW_NATIVE_CONTEXT_API
	.comm	_GLFW_OSMESA_CONTEXT_API,8,3    ## @GLFW_OSMESA_CONTEXT_API
	.comm	_GLFW_API_UNAVAILABLE,4,2       ## @GLFW_API_UNAVAILABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Null: EGL not available"

	.comm	_GLFW_TRUE,4,2                  ## @GLFW_TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformCreateWindow      ; -- Begin function _glfwPlatformCreateWindow
	.p2align	2
__glfwPlatformCreateWindow:             ; @_glfwPlatformCreateWindow
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
	bl	_createNativeWindow
	cbz	w0, LBB0_7
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _GLFW_NO_API@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GLFW_NO_API@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	ldr	x8, [x20, #8]
Lloh5:
	adrp	x9, _GLFW_NATIVE_CONTEXT_API@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GLFW_NATIVE_CONTEXT_API@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _GLFW_OSMESA_CONTEXT_API@GOTPAGE
Lloh9:
	ldr	x10, [x10, _GLFW_OSMESA_CONTEXT_API@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_6
; %bb.4:
	bl	__glfwInitOSMesa
	cbz	w0, LBB0_7
; %bb.5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	__glfwCreateContextOSMesa
	cbnz	w0, LBB0_2
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	__glfwInputError
LBB0_7:
Lloh16:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_FALSE,4,2                 ; @GLFW_FALSE
	.comm	_GLFW_NO_API,8,3                ; @GLFW_NO_API
	.comm	_GLFW_NATIVE_CONTEXT_API,8,3    ; @GLFW_NATIVE_CONTEXT_API
	.comm	_GLFW_OSMESA_CONTEXT_API,8,3    ; @GLFW_OSMESA_CONTEXT_API
	.comm	_GLFW_API_UNAVAILABLE,4,2       ; @GLFW_API_UNAVAILABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Null: EGL not available"

	.comm	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
.subsections_via_symbols
