	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IJK_GLES2_Renderer_create      ## -- Begin function IJK_GLES2_Renderer_create
	.p2align	4, 0x90
_IJK_GLES2_Renderer_create:             ## @IJK_GLES2_Renderer_create
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_GL_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_IJK_GLES2_printString
	movq	_GL_VENDOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_IJK_GLES2_printString
	movq	_GL_RENDERER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_IJK_GLES2_printString
	movq	_GL_EXTENSIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_IJK_GLES2_printString
	movl	(%rbx), %edx
	leal	-128(%rdx), %eax
	cmpl	$7, %eax
	ja	LBB0_10
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	xorl	%eax, %eax
	callq	_IJK_GLES2_Renderer_create_yuv420p
	jmp	LBB0_12
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_10:
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ALOGE
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_7:
	movq	%rbx, %rdi
	callq	_IJK_GLES2_Renderer_create_yuv420sp_vtb
	jmp	LBB0_12
LBB0_5:
	xorl	%eax, %eax
	callq	_IJK_GLES2_Renderer_create_rgbx8888
	jmp	LBB0_12
LBB0_4:
	xorl	%eax, %eax
	callq	_IJK_GLES2_Renderer_create_rgb888
	jmp	LBB0_12
LBB0_11:
	xorl	%eax, %eax
	callq	_IJK_GLES2_Renderer_create_rgb565
	jmp	LBB0_12
LBB0_6:
	xorl	%eax, %eax
	callq	_IJK_GLES2_Renderer_create_yuv420sp
	jmp	LBB0_12
LBB0_9:
	xorl	%eax, %eax
	callq	_IJK_GLES2_Renderer_create_yuv444p10le
LBB0_12:
	movl	(%rbx), %ecx
	movl	%ecx, (%rax)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_11
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Version"

	.comm	_GL_VERSION,4,2                 ## @GL_VERSION
L_.str.1:                               ## @.str.1
	.asciz	"Vendor"

	.comm	_GL_VENDOR,4,2                  ## @GL_VENDOR
L_.str.2:                               ## @.str.2
	.asciz	"Renderer"

	.comm	_GL_RENDERER,4,2                ## @GL_RENDERER
L_.str.3:                               ## @.str.3
	.asciz	"Extensions"

	.comm	_GL_EXTENSIONS,4,2              ## @GL_EXTENSIONS
L_.str.4:                               ## @.str.4
	.asciz	"[GLES2] unknown format %4s(%d)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IJK_GLES2_Renderer_create      ; -- Begin function IJK_GLES2_Renderer_create
	.p2align	2
_IJK_GLES2_Renderer_create:             ; @IJK_GLES2_Renderer_create
	.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
	cbz	x0, LBB0_12
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _GL_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IJK_GLES2_printString
Lloh5:
	adrp	x8, _GL_VENDOR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GL_VENDOR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_IJK_GLES2_printString
Lloh10:
	adrp	x8, _GL_RENDERER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GL_RENDERER@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_IJK_GLES2_printString
Lloh15:
	adrp	x8, _GL_EXTENSIONS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GL_EXTENSIONS@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_IJK_GLES2_printString
	ldr	w2, [x19]
	sub	w8, w2, #128
	cmp	w8, #7
	b.hi	LBB0_4
; %bb.2:
Lloh20:
	adrp	x9, lJTI0_0@PAGE
Lloh21:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	bl	_IJK_GLES2_Renderer_create_yuv420p
	b	LBB0_11
LBB0_4:
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_ALOGE
	mov	x0, #0
	b	LBB0_12
LBB0_5:
	mov	x0, x19
	bl	_IJK_GLES2_Renderer_create_yuv420sp_vtb
	b	LBB0_11
LBB0_6:
	bl	_IJK_GLES2_Renderer_create_rgbx8888
	b	LBB0_11
LBB0_7:
	bl	_IJK_GLES2_Renderer_create_rgb888
	b	LBB0_11
LBB0_8:
	bl	_IJK_GLES2_Renderer_create_rgb565
	b	LBB0_11
LBB0_9:
	bl	_IJK_GLES2_Renderer_create_yuv420sp
	b	LBB0_11
LBB0_10:
	bl	_IJK_GLES2_Renderer_create_yuv444p10le
LBB0_11:
	ldr	w8, [x19]
	str	w8, [x0]
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Version"

	.comm	_GL_VERSION,4,2                 ; @GL_VERSION
l_.str.1:                               ; @.str.1
	.asciz	"Vendor"

	.comm	_GL_VENDOR,4,2                  ; @GL_VENDOR
l_.str.2:                               ; @.str.2
	.asciz	"Renderer"

	.comm	_GL_RENDERER,4,2                ; @GL_RENDERER
l_.str.3:                               ; @.str.3
	.asciz	"Extensions"

	.comm	_GL_EXTENSIONS,4,2              ; @GL_EXTENSIONS
l_.str.4:                               ; @.str.4
	.asciz	"[GLES2] unknown format %4s(%d)\n"

.subsections_via_symbols
