	.file	"extr_android_native_app_glue.c_android_app_destroy.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"android_app_destroy!"
	.text
	.p2align 4
	.type	android_app_destroy, @function
android_app_destroy:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	lea	rdi, .LC0[rip]
	lea	rbp, 4[rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	LOGV@PLT
	mov	rdi, rbx
	call	free_saved_state@PLT
	mov	rdi, rbp
	call	pthread_mutex_lock@PLT
	mov	rdi, QWORD PTR 16[rbx]
	test	rdi, rdi
	je	.L2
	call	AInputQueue_detachLooper@PLT
.L2:
	mov	edi, DWORD PTR 12[rbx]
	call	AConfiguration_delete@PLT
	mov	DWORD PTR [rbx], 1
	lea	rdi, 8[rbx]
	call	pthread_cond_broadcast@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	pthread_mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	android_app_destroy, .-android_app_destroy
	.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_android_native_app_glue.c_android_app_destroy.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"android_app_destroy!\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	android_app_destroy, %function
android_app_destroy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, .L8
	bl	LOGV
	add	r5, r4, #4
	mov	r0, r4
	bl	free_saved_state
	mov	r0, r5
	bl	pthread_mutex_lock
	ldr	r0, [r4, #16]
	cmp	r0, #0
	beq	.L2
	bl	AInputQueue_detachLooper
.L2:
	ldr	r0, [r4, #12]
	bl	AConfiguration_delete
	mov	r0, r4
	mov	r3, #1
	str	r3, [r0], #8
	bl	pthread_cond_broadcast
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	pthread_mutex_unlock
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	android_app_destroy, .-android_app_destroy
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
