	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IJK_GLES2_printShaderInfo
_IJK_GLES2_printShaderInfo:             ## @IJK_GLES2_printShaderInfo
	.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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	testl	%edi, %edi
	je	LBB0_10
## %bb.1:
	movl	%edi, %ebx
	movl	$0, -84(%rbp)
	movq	_GL_INFO_LOG_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-84(%rbp), %rdx
	callq	_glGetShaderiv
	movl	-84(%rbp), %edi
	testl	%edi, %edi
	je	LBB0_5
## %bb.2:
	leaq	-80(%rbp), %r15
	movl	$31, %r12d
	cmpl	$33, %edi
	jb	LBB0_7
## %bb.3:
	incl	%edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rax, %r14
	movl	-84(%rbp), %r12d
	movq	%rax, %r15
	jmp	LBB0_8
LBB0_7:
	xorl	%r14d, %r14d
LBB0_8:
	movl	%ebx, %edi
	movl	%r12d, %esi
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_glGetShaderInfoLog
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_ALOGE
	testq	%r14, %r14
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_10
LBB0_5:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_ALOGE
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_INFO_LOG_LENGTH,4,2         ## @GL_INFO_LOG_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[GLES2][Shader] empty info\n"

L_.str.1:                               ## @.str.1
	.asciz	"[GLES2][Shader] error %s\n"

	.no_dead_strip	_IJK_GLES2_printShaderInfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IJK_GLES2_printShaderInfo
_IJK_GLES2_printShaderInfo:             ; @IJK_GLES2_printShaderInfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbz	w0, LBB0_10
; %bb.1:
	mov	x19, x0
	str	wzr, [sp, #20]
Lloh3:
	adrp	x8, _GL_INFO_LOG_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GL_INFO_LOG_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #20
	bl	_glGetShaderiv
	ldr	w8, [sp, #20]
	cbz	w8, LBB0_5
; %bb.2:
	cmp	w8, #33
	b.lo	LBB0_6
; %bb.3:
	add	w0, w8, #1
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w1, [sp, #20]
	mov	x21, x20
	b	LBB0_8
LBB0_5:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ALOGE
	b	LBB0_10
LBB0_6:
	mov	x20, #0
LBB0_7:
	add	x21, sp, #24
	mov	w1, #31
LBB0_8:
	mov	x0, x19
	mov	x2, #0
	mov	x3, x21
	bl	_glGetShaderInfoLog
	str	x21, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ALOGE
	cbz	x20, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_free
LBB0_10:
	ldur	x8, [x29, #-40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_INFO_LOG_LENGTH,4,2         ; @GL_INFO_LOG_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[GLES2][Shader] empty info\n"

l_.str.1:                               ; @.str.1
	.asciz	"[GLES2][Shader] error %s\n"

	.no_dead_strip	_IJK_GLES2_printShaderInfo
.subsections_via_symbols
