	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_swap_buffers               ## -- Begin function egl_swap_buffers
	.p2align	4, 0x90
_egl_swap_buffers:                      ## @egl_swap_buffers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rax
	movq	(%rdi), %rdi
	movq	_EGL_NO_DISPLAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	je	LBB0_3
## %bb.2:
	movq	8(%rax), %rsi
	movq	_EGL_NO_SURFACE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_4
LBB0_3:
	popq	%rbp
	retq
LBB0_4:
	popq	%rbp
	jmp	_eglSwapBuffers                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EGL_NO_DISPLAY,8,3             ## @EGL_NO_DISPLAY
	.comm	_EGL_NO_SURFACE,8,3             ## @EGL_NO_SURFACE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_swap_buffers               ; -- Begin function egl_swap_buffers
	.p2align	2
_egl_swap_buffers:                      ; @egl_swap_buffers
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	mov	x8, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x9, _EGL_NO_DISPLAY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EGL_NO_DISPLAY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x0, x9
	b.eq	LBB0_3
; %bb.2:
	ldr	x1, [x8, #8]
Lloh3:
	adrp	x8, _EGL_NO_SURFACE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EGL_NO_SURFACE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_4
LBB0_3:
	ret
LBB0_4:
	b	_eglSwapBuffers
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EGL_NO_DISPLAY,8,3             ; @EGL_NO_DISPLAY
	.comm	_EGL_NO_SURFACE,8,3             ; @EGL_NO_SURFACE
.subsections_via_symbols
