	.file	"extr_utils.c_LoadNativeWindowAPI.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"libandroid.so"
.LC1:
	.string	"ANativeWindow_fromSurface"
.LC2:
	.string	"ANativeWindow_release"
.LC3:
	.string	"ANativeWindow_lock"
.LC4:
	.string	"ANativeWindow_unlockAndPost"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC5:
	.string	"ANativeWindow_setBuffersGeometry"
	.text
	.p2align 4
	.type	LoadNativeWindowAPI, @function
LoadNativeWindowAPI:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR RTLD_NOW[rip]
	call	dlopen@PLT
	test	rax, rax
	je	.L13
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	r12, rax
	call	dlsym@PLT
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	mov	QWORD PTR 40[rbp], rax
	call	dlsym@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, r12
	mov	QWORD PTR 32[rbp], rax
	call	dlsym@PLT
	lea	rsi, .LC4[rip]
	mov	rdi, r12
	mov	QWORD PTR 24[rbp], rax
	call	dlsym@PLT
	lea	rsi, .LC5[rip]
	mov	rdi, r12
	mov	QWORD PTR 16[rbp], rax
	call	dlsym@PLT
	cmp	QWORD PTR 40[rbp], 0
	mov	QWORD PTR 8[rbp], rax
	je	.L3
	cmp	QWORD PTR 32[rbp], 0
	je	.L3
	cmp	QWORD PTR 24[rbp], 0
	je	.L3
	cmp	QWORD PTR 16[rbp], 0
	je	.L3
	test	rax, rax
	je	.L3
	mov	QWORD PTR 0[rbp], r12
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, r12
	call	dlclose@PLT
.L13:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	LoadNativeSurfaceAPI@PLT
	.cfi_endproc
.LFE0:
	.size	LoadNativeWindowAPI, .-LoadNativeWindowAPI
	.comm	RTLD_NOW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_utils.c_LoadNativeWindowAPI.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"libandroid.so\000"
	.align	2
.LC1:
	.ascii	"ANativeWindow_fromSurface\000"
	.align	2
.LC2:
	.ascii	"ANativeWindow_release\000"
	.align	2
.LC3:
	.ascii	"ANativeWindow_lock\000"
	.align	2
.LC4:
	.ascii	"ANativeWindow_unlockAndPost\000"
	.align	2
.LC5:
	.ascii	"ANativeWindow_setBuffersGeometry\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	LoadNativeWindowAPI, %function
LoadNativeWindowAPI:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L22
	push	{r4, r5, r6, lr}
	ldr	r1, [r3]
	mov	r4, r0
	ldr	r0, .L22+4
	bl	dlopen
	subs	r5, r0, #0
	beq	.L19
	ldr	r1, .L22+8
	bl	dlsym
	ldr	r1, .L22+12
	str	r0, [r4, #20]
	mov	r0, r5
	bl	dlsym
	ldr	r1, .L22+16
	str	r0, [r4, #16]
	mov	r0, r5
	bl	dlsym
	ldr	r1, .L22+20
	str	r0, [r4, #12]
	mov	r0, r5
	bl	dlsym
	ldr	r1, .L22+24
	str	r0, [r4, #8]
	mov	r0, r5
	bl	dlsym
	ldr	r3, [r4, #20]
	str	r0, [r4, #4]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [r4, #16]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [r4, #8]
	cmp	r3, #0
	cmpne	r0, #0
	bne	.L21
.L3:
	mov	r0, r5
	bl	dlclose
.L19:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	LoadNativeSurfaceAPI
.L21:
	str	r5, [r4]
	pop	{r4, r5, r6, pc}
.L23:
	.align	2
.L22:
	.word	RTLD_NOW
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	LoadNativeWindowAPI, .-LoadNativeWindowAPI
	.comm	RTLD_NOW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
