	.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	%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	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rcx), %eax
	movl	%eax, 52(%rdi)
	callq	_createSurface
	movq	_GLFW_FALSE@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_17
## %bb.1:
	movq	(%r12), %rax
	movq	_GLFW_NO_API@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.2:
	movq	8(%r12), %rax
	movq	_GLFW_EGL_CONTEXT_API@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_GLFW_NATIVE_CONTEXT_API@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.6:
	movq	_GLFW_OSMESA_CONTEXT_API@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.7:
	xorl	%eax, %eax
	callq	__glfwInitOSMesa
	testl	%eax, %eax
	je	LBB0_17
## %bb.8:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	__glfwCreateContextOSMesa
	jmp	LBB0_9
LBB0_4:
	xorl	%eax, %eax
	callq	__glfwInitEGL
	testl	%eax, %eax
	je	LBB0_17
## %bb.5:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	__glfwCreateContextEGL
LBB0_9:
	testl	%eax, %eax
	je	LBB0_17
LBB0_10:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	__glfw_strdup
	movl	%eax, 48(%rbx)
LBB0_12:
	cmpq	$0, (%r14)
	je	LBB0_15
## %bb.13:
	movq	%rbx, %rdi
	callq	_createXdgSurface
	testl	%eax, %eax
	je	LBB0_17
## %bb.14:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	$0, 24(%rbx)
	movl	$1, %edi
	movl	$8, %esi
	callq	_calloc
	movl	%eax, 16(%rbx)
	movq	$0, 8(%rbx)
	movl	$1, 4(%rbx)
	movq	_GLFW_TRUE@GOTPCREL(%rip), %r13
LBB0_17:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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_EGL_CONTEXT_API,8,3       ## @GLFW_EGL_CONTEXT_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_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	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x3]
	str	w8, [x0, #52]
	bl	_createSurface
	cbz	w0, LBB0_13
; %bb.1:
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _GLFW_NO_API@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GLFW_NO_API@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.2:
	ldr	x8, [x22, #8]
Lloh3:
	adrp	x9, _GLFW_EGL_CONTEXT_API@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GLFW_EGL_CONTEXT_API@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _GLFW_NATIVE_CONTEXT_API@GOTPAGE
Lloh7:
	ldr	x10, [x10, _GLFW_NATIVE_CONTEXT_API@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
; %bb.3:
	bl	__glfwInitEGL
	cbz	w0, LBB0_13
; %bb.4:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	__glfwCreateContextEGL
	cbnz	w0, LBB0_8
	b	LBB0_13
LBB0_5:
Lloh9:
	adrp	x9, _GLFW_OSMESA_CONTEXT_API@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GLFW_OSMESA_CONTEXT_API@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	bl	__glfwInitOSMesa
	cbz	w0, LBB0_13
; %bb.7:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	__glfwCreateContextOSMesa
	cbz	w0, LBB0_13
LBB0_8:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_10
; %bb.9:
	bl	__glfw_strdup
	str	w0, [x19, #48]
LBB0_10:
	ldr	x8, [x20]
	cbz	x8, LBB0_14
; %bb.11:
	mov	x0, x19
	bl	_createXdgSurface
	cbz	w0, LBB0_13
; %bb.12:
Lloh12:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:
Lloh14:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
	stp	xzr, xzr, [x19, #32]
Lloh16:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	str	w8, [x19]
	str	xzr, [x19, #24]
	mov	w20, #1
	mov	w0, #1
	mov	w1, #8
	bl	_calloc
	str	w0, [x19, #16]
	str	xzr, [x19, #8]
	str	w20, [x19, #4]
Lloh18:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
LBB0_16:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_FALSE,4,2                 ; @GLFW_FALSE
	.comm	_GLFW_NO_API,8,3                ; @GLFW_NO_API
	.comm	_GLFW_EGL_CONTEXT_API,8,3       ; @GLFW_EGL_CONTEXT_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_TRUE,4,2                  ; @GLFW_TRUE
.subsections_via_symbols
