	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IJK_EGL_getSurfaceHeight
_IJK_EGL_getSurfaceHeight:              ## @IJK_EGL_getSurfaceHeight
	.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
	movl	$0, -12(%rbp)
	movl	(%rdi), %esi
	movl	4(%rdi), %edi
	movq	_EGL_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rcx
	callq	_eglQuerySurface
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	-12(%rbp), %ebx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_eglGetError
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_ALOGE
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EGL_HEIGHT,4,2                 ## @EGL_HEIGHT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[EGL] eglQuerySurface(EGL_HEIGHT) returned error %d"

	.no_dead_strip	_IJK_EGL_getSurfaceHeight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IJK_EGL_getSurfaceHeight
_IJK_EGL_getSurfaceHeight:              ; @IJK_EGL_getSurfaceHeight
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	stur	wzr, [x29, #-4]
	ldp	w1, w8, [x0]
Lloh0:
	adrp	x9, _EGL_HEIGHT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EGL_HEIGHT@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	sub	x3, x29, #4
	mov	x0, x8
	bl	_eglQuerySurface
	cbz	w0, LBB0_2
; %bb.1:
	ldur	w0, [x29, #-4]
	b	LBB0_3
LBB0_2:
	bl	_eglGetError
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ALOGE
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EGL_HEIGHT,4,2                 ; @EGL_HEIGHT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[EGL] eglQuerySurface(EGL_HEIGHT) returned error %d"

	.no_dead_strip	_IJK_EGL_getSurfaceHeight
.subsections_via_symbols
