	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IJK_EGL_display_internal
_IJK_EGL_display_internal:              ## @IJK_EGL_display_internal
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	%rdx, %rsi
	callq	_IJK_EGL_prepareRenderer
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_IJK_GLES2_Renderer_renderOverlay
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_eglSwapBuffers
	movq	_EGL_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	callq	_ALOGE
	movq	_EGL_FALSE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[EGL] IJK_EGL_prepareRenderer failed\n"

	.comm	_EGL_FALSE,4,2                  ## @EGL_FALSE
L_.str.1:                               ## @.str.1
	.asciz	"[EGL] IJK_GLES2_render failed\n"

	.comm	_EGL_TRUE,4,2                   ## @EGL_TRUE
	.no_dead_strip	_IJK_EGL_display_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IJK_EGL_display_internal
_IJK_EGL_display_internal:              ; @IJK_EGL_display_internal
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x0
	ldr	x21, [x0, #8]
	mov	x1, x2
	bl	_IJK_EGL_prepareRenderer
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x21]
	mov	x1, x20
	bl	_IJK_GLES2_Renderer_renderOverlay
	cbz	w0, LBB0_4
; %bb.2:
	ldp	w1, w0, [x19]
	bl	_eglSwapBuffers
Lloh0:
	adrp	x8, _EGL_TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EGL_TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	bl	_ALOGE
Lloh6:
	adrp	x8, _EGL_FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EGL_FALSE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[EGL] IJK_EGL_prepareRenderer failed\n"

	.comm	_EGL_FALSE,4,2                  ; @EGL_FALSE
l_.str.1:                               ; @.str.1
	.asciz	"[EGL] IJK_GLES2_render failed\n"

	.comm	_EGL_TRUE,4,2                   ; @EGL_TRUE
	.no_dead_strip	_IJK_EGL_display_internal
.subsections_via_symbols
