	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function createSurface
_createSurface:                         ## @createSurface
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	__glfw@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wl_compositor_create_surface
	movl	%eax, 20(%rbx)
	movq	_GLFW_FALSE@GOTPCREL(%rip), %r15
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	_surfaceListener@GOTPCREL(%rip), %rsi
	movl	%eax, %edi
	movq	%rbx, %rdx
	callq	_wl_surface_add_listener
	movl	20(%rbx), %edi
	movq	%rbx, %rsi
	callq	_wl_surface_set_user_data
	movl	20(%rbx), %edi
	movl	(%r14), %edx
	movl	4(%r14), %esi
	callq	_wl_egl_window_create
	movl	%eax, 16(%rbx)
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movl	4(%r14), %eax
	movl	%eax, 12(%rbx)
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
	movl	$1, (%rbx)
	movq	_GLFW_TRUE@GOTPCREL(%rip), %r15
	cmpl	$0, 4(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_setOpaqueRegion
LBB0_4:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,4,2                      ## @_glfw
	.comm	_GLFW_FALSE,4,2                 ## @GLFW_FALSE
	.comm	_surfaceListener,4,2            ## @surfaceListener
	.comm	_GLFW_TRUE,4,2                  ## @GLFW_TRUE
	.no_dead_strip	_createSurface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function createSurface
_createSurface:                         ; @createSurface
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, __glfw@GOTPAGE
Lloh1:
	ldr	x8, [x8, __glfw@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_wl_compositor_create_surface
	str	w0, [x19, #20]
	cbz	w0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x1, _surfaceListener@GOTPAGE
Lloh4:
	ldr	x1, [x1, _surfaceListener@GOTPAGEOFF]
	mov	x2, x19
	bl	_wl_surface_add_listener
	ldr	w0, [x19, #20]
	mov	x1, x19
	bl	_wl_surface_set_user_data
	ldr	w0, [x19, #20]
	ldp	w2, w1, [x20]
	bl	_wl_egl_window_create
	str	w0, [x19, #16]
	cbz	w0, LBB0_5
; %bb.2:
	ldr	d0, [x20]
	str	d0, [x19, #8]
	mov	w8, #1
	str	w8, [x19]
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_setOpaqueRegion
LBB0_4:
Lloh5:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,4,2                      ; @_glfw
	.comm	_GLFW_FALSE,4,2                 ; @GLFW_FALSE
	.comm	_surfaceListener,4,2            ; @surfaceListener
	.comm	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
	.no_dead_strip	_createSurface
.subsections_via_symbols
