	.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
	callq	_createSurface
	movq	_GLFW_FALSE@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	movq	(%r12), %rax
	movq	_GLFW_NO_API@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	callq	__glfwInitEGL
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	__glfwCreateContextEGL
	testl	%eax, %eax
	je	LBB0_11
LBB0_4:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_strdup
	movl	%eax, 40(%rbx)
LBB0_6:
	cmpq	$0, (%r14)
	je	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_createShellSurface
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	$0, 32(%rbx)
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rax
LBB0_10:
	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_11:
	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_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
	bl	_createSurface
	cbz	w0, LBB0_9
; %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_4
; %bb.2:
	bl	__glfwInitEGL
	cbz	w0, LBB0_9
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	__glfwCreateContextEGL
	cbz	w0, LBB0_9
LBB0_4:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_strdup
	str	w0, [x19, #40]
LBB0_6:
	ldr	x8, [x20]
	cbz	x8, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	_createShellSurface
	cbz	w0, LBB0_9
; %bb.8:
Lloh3:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh5:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	str	xzr, [x19, #32]
Lloh7:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
LBB0_11:
	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]
Lloh9:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
LBB0_12:
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_FALSE,4,2                 ; @GLFW_FALSE
	.comm	_GLFW_NO_API,8,3                ; @GLFW_NO_API
	.comm	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
.subsections_via_symbols
