	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_surface_get_render_buffer  ## -- Begin function egl_surface_get_render_buffer
	.p2align	4, 0x90
_egl_surface_get_render_buffer:         ## @egl_surface_get_render_buffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$130, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_6
## %bb.3:
	cmpl	$1, 4(%rdi)
	jne	LBB0_7
LBB0_4:
	movq	_EGL_SINGLE_BUFFER@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_EGL_BACK_BUFFER@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
	callq	_UNREACHABLE
	movq	_EGL_NONE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EGL_SINGLE_BUFFER,4,2          ## @EGL_SINGLE_BUFFER
	.comm	_EGL_BACK_BUFFER,4,2            ## @EGL_BACK_BUFFER
	.comm	_EGL_NONE,4,2                   ## @EGL_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_surface_get_render_buffer  ; -- Begin function egl_surface_get_render_buffer
	.p2align	2
_egl_surface_get_render_buffer:         ; @egl_surface_get_render_buffer
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w9, [x0]
Lloh0:
	adrp	x8, _EGL_BACK_BUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EGL_BACK_BUFFER@GOTPAGEOFF]
	cmp	w9, #130
	b.eq	LBB0_6
; %bb.1:
	cmp	w9, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w9, #128
	b.ne	LBB0_5
; %bb.3:
	ldr	w9, [x0, #4]
Lloh2:
	adrp	x10, _EGL_SINGLE_BUFFER@GOTPAGE
Lloh3:
	ldr	x10, [x10, _EGL_SINGLE_BUFFER@GOTPAGEOFF]
	cmp	w9, #1
	csel	x8, x10, x8, eq
	b	LBB0_6
LBB0_4:
Lloh4:
	adrp	x8, _EGL_SINGLE_BUFFER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EGL_SINGLE_BUFFER@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	bl	_UNREACHABLE
Lloh6:
	adrp	x8, _EGL_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EGL_NONE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EGL_SINGLE_BUFFER,4,2          ; @EGL_SINGLE_BUFFER
	.comm	_EGL_BACK_BUFFER,4,2            ; @EGL_BACK_BUFFER
	.comm	_EGL_NONE,4,2                   ; @EGL_NONE
.subsections_via_symbols
