	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_surface_get_attrib         ## -- Begin function egl_surface_get_attrib
	.p2align	4, 0x90
_egl_surface_get_attrib:                ## @egl_surface_get_attrib
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$15, %esi
	ja	LBB0_20
## %bb.1:
	movq	%rdx, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_EGL_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_3:
	movl	32(%rdi), %eax
	jmp	LBB0_28
LBB0_4:
	movl	44(%rdi), %eax
	movq	_SRGB@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_25
## %bb.5:
	movq	_EGL_VG_COLORSPACE_sRGB@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_6:
	movl	48(%rdi), %eax
	movq	_NONPRE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_26
## %bb.7:
	movq	_EGL_VG_ALPHA_FORMAT_NONPRE@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_8:
	movl	36(%rdi), %eax
	movq	_PBUFFER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_29
## %bb.9:
	movl	28(%rdi), %eax
	jmp	LBB0_28
LBB0_10:
	movl	16(%rdi), %eax
	jmp	LBB0_28
LBB0_11:
	movq	_EGL_DISPLAY_SCALING@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_12:
	movl	36(%rdi), %eax
	movq	_PBUFFER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_29
## %bb.13:
	movl	8(%rdi), %eax
	jmp	LBB0_28
LBB0_14:
	movl	36(%rdi), %eax
	movq	_PBUFFER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_29
## %bb.15:
	movl	12(%rdi), %eax
	jmp	LBB0_28
LBB0_16:
	movl	36(%rdi), %eax
	movq	_PBUFFER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_29
## %bb.17:
	movl	4(%rdi), %eax
	jmp	LBB0_28
LBB0_18:
	movl	(%rdi), %eax
	jmp	LBB0_28
LBB0_19:
	movl	40(%rdi), %eax
	jmp	LBB0_28
LBB0_20:
	movq	_EGL_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_21:
	movl	36(%rdi), %eax
	movq	_PBUFFER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_29
## %bb.22:
	movl	24(%rdi), %eax
	jmp	LBB0_28
LBB0_23:
	callq	_egl_surface_get_render_buffer
	jmp	LBB0_28
LBB0_24:
	movl	20(%rdi), %eax
	jmp	LBB0_28
LBB0_25:
	movq	_EGL_VG_COLORSPACE_LINEAR@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_26:
	movq	_EGL_VG_ALPHA_FORMAT_PRE@GOTPCREL(%rip), %rax
LBB0_27:
	movl	(%rax), %eax
LBB0_28:
	movl	%eax, (%rbx)
LBB0_29:
	movq	_EGL_TRUE@GOTPCREL(%rip), %rax
LBB0_30:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_21
	.long	L0_0_set_10
	.long	L0_0_set_23
	.long	L0_0_set_11
	.long	L0_0_set_24
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_2
	.long	L0_0_set_18
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.comm	_NONPRE,4,2                     ## @NONPRE
	.comm	_EGL_VG_ALPHA_FORMAT_NONPRE,4,2 ## @EGL_VG_ALPHA_FORMAT_NONPRE
	.comm	_EGL_VG_ALPHA_FORMAT_PRE,4,2    ## @EGL_VG_ALPHA_FORMAT_PRE
	.comm	_EGL_TRUE,4,2                   ## @EGL_TRUE
	.comm	_SRGB,4,2                       ## @SRGB
	.comm	_EGL_VG_COLORSPACE_sRGB,4,2     ## @EGL_VG_COLORSPACE_sRGB
	.comm	_EGL_VG_COLORSPACE_LINEAR,4,2   ## @EGL_VG_COLORSPACE_LINEAR
	.comm	_EGL_UNKNOWN,4,2                ## @EGL_UNKNOWN
	.comm	_PBUFFER,4,2                    ## @PBUFFER
	.comm	_EGL_DISPLAY_SCALING,4,2        ## @EGL_DISPLAY_SCALING
	.comm	_EGL_FALSE,4,2                  ## @EGL_FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_egl_surface_get_attrib         ; -- Begin function egl_surface_get_attrib
	.p2align	2
_egl_surface_get_attrib:                ; @egl_surface_get_attrib
	.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
	sub	w8, w1, #128
	cmp	w8, #15
	b.hi	LBB0_19
; %bb.1:
	mov	x19, x2
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _EGL_UNKNOWN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EGL_UNKNOWN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_24
LBB0_3:
	ldr	w0, [x0, #32]
	b	LBB0_24
LBB0_4:
	ldr	w8, [x0, #44]
Lloh5:
	adrp	x9, _SRGB@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SRGB@GOTPAGEOFF]
Lloh7:
	adrp	x10, _EGL_VG_COLORSPACE_sRGB@GOTPAGE
Lloh8:
	ldr	x10, [x10, _EGL_VG_COLORSPACE_sRGB@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x11, _EGL_VG_COLORSPACE_LINEAR@GOTPAGE
Lloh11:
	ldr	x11, [x11, _EGL_VG_COLORSPACE_LINEAR@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	ldr	w8, [x0, #48]
Lloh12:
	adrp	x9, _NONPRE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NONPRE@GOTPAGEOFF]
Lloh14:
	adrp	x10, _EGL_VG_ALPHA_FORMAT_NONPRE@GOTPAGE
Lloh15:
	ldr	x10, [x10, _EGL_VG_ALPHA_FORMAT_NONPRE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x11, _EGL_VG_ALPHA_FORMAT_PRE@GOTPAGE
Lloh18:
	ldr	x11, [x11, _EGL_VG_ALPHA_FORMAT_PRE@GOTPAGEOFF]
LBB0_6:
	cmp	w8, w9
	csel	x8, x10, x11, eq
	ldr	w0, [x8]
	b	LBB0_24
LBB0_7:
	ldr	w8, [x0, #36]
Lloh19:
	adrp	x9, _PBUFFER@GOTPAGE
Lloh20:
	ldr	x9, [x9, _PBUFFER@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.8:
	ldr	w0, [x0, #28]
	b	LBB0_24
LBB0_9:
	ldr	w0, [x0, #16]
	b	LBB0_24
LBB0_10:
Lloh22:
	adrp	x8, _EGL_DISPLAY_SCALING@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EGL_DISPLAY_SCALING@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	b	LBB0_24
LBB0_11:
	ldr	w8, [x0, #36]
Lloh25:
	adrp	x9, _PBUFFER@GOTPAGE
Lloh26:
	ldr	x9, [x9, _PBUFFER@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.12:
	ldr	w0, [x0, #8]
	b	LBB0_24
LBB0_13:
	ldr	w8, [x0, #36]
Lloh28:
	adrp	x9, _PBUFFER@GOTPAGE
Lloh29:
	ldr	x9, [x9, _PBUFFER@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.14:
	ldr	w0, [x0, #12]
	b	LBB0_24
LBB0_15:
	ldr	w8, [x0, #36]
Lloh31:
	adrp	x9, _PBUFFER@GOTPAGE
Lloh32:
	ldr	x9, [x9, _PBUFFER@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.16:
	ldr	w0, [x0, #4]
	b	LBB0_24
LBB0_17:
	ldr	w0, [x0]
	b	LBB0_24
LBB0_18:
	ldr	w0, [x0, #40]
	b	LBB0_24
LBB0_19:
Lloh34:
	adrp	x8, _EGL_FALSE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EGL_FALSE@GOTPAGEOFF]
	b	LBB0_26
LBB0_20:
	ldr	w8, [x0, #36]
Lloh36:
	adrp	x9, _PBUFFER@GOTPAGE
Lloh37:
	ldr	x9, [x9, _PBUFFER@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.21:
	ldr	w0, [x0, #24]
	b	LBB0_24
LBB0_22:
	bl	_egl_surface_get_render_buffer
	b	LBB0_24
LBB0_23:
	ldr	w0, [x0, #20]
LBB0_24:
	str	w0, [x19]
LBB0_25:
Lloh39:
	adrp	x8, _EGL_TRUE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EGL_TRUE@GOTPAGEOFF]
LBB0_26:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_23-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
                                        ; -- End function
	.comm	_NONPRE,4,2                     ; @NONPRE
	.comm	_EGL_VG_ALPHA_FORMAT_NONPRE,4,2 ; @EGL_VG_ALPHA_FORMAT_NONPRE
	.comm	_EGL_VG_ALPHA_FORMAT_PRE,4,2    ; @EGL_VG_ALPHA_FORMAT_PRE
	.comm	_EGL_TRUE,4,2                   ; @EGL_TRUE
	.comm	_SRGB,4,2                       ; @SRGB
	.comm	_EGL_VG_COLORSPACE_sRGB,4,2     ; @EGL_VG_COLORSPACE_sRGB
	.comm	_EGL_VG_COLORSPACE_LINEAR,4,2   ; @EGL_VG_COLORSPACE_LINEAR
	.comm	_EGL_UNKNOWN,4,2                ; @EGL_UNKNOWN
	.comm	_PBUFFER,4,2                    ; @PBUFFER
	.comm	_EGL_DISPLAY_SCALING,4,2        ; @EGL_DISPLAY_SCALING
	.comm	_EGL_FALSE,4,2                  ; @EGL_FALSE
.subsections_via_symbols
