	.file	"extr_filter.c_filter_wakeup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	filter_wakeup, @function
filter_wakeup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR [rdi]
	mov	rbx, QWORD PTR 8[rax]
	lea	rbp, 4[rbx]
	mov	rdi, rbp
	call	pthread_mutex_lock@PLT
	mov	rax, QWORD PTR [r12]
	mov	edx, DWORD PTR [rax]
	test	edx, edx
	je	.L11
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	pthread_mutex_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	DWORD PTR [rax], 1
	mov	edx, DWORD PTR 24[rbx]
	xor	edi, edi
	mov	rcx, r12
	mov	esi, DWORD PTR 28[rbx]
	call	MP_TARRAY_APPEND@PLT
	test	r13d, r13d
	jne	.L3
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jne	.L3
	mov	rax, QWORD PTR 16[rbx]
	test	rax, rax
	je	.L5
	mov	edi, DWORD PTR 8[rbx]
	call	rax
.L5:
	mov	DWORD PTR [rbx], 1
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	filter_wakeup, .-filter_wakeup
	.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_filter.c_filter_wakeup.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	filter_wakeup, %function
filter_wakeup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, [r0]
	mov	r5, r1
	ldr	r6, [r3, #4]
	add	r7, r6, #4
	mov	r0, r7
	bl	pthread_mutex_lock
	ldr	r2, [r4]
	ldr	r0, [r2]
	cmp	r0, #0
	beq	.L11
.L3:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	pthread_mutex_unlock
.L11:
	mov	r1, #1
	mov	r3, r4
	str	r1, [r2]
	ldr	r2, [r6, #16]
	ldr	r1, [r6, #20]
	bl	MP_TARRAY_APPEND
	cmp	r5, #0
	bne	.L3
	ldr	r3, [r6]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [r6, #12]
	cmp	r3, #0
	beq	.L5
	ldr	r0, [r6, #8]
	blx	r3
.L5:
	mov	r3, #1
	str	r3, [r6]
	b	.L3
	.size	filter_wakeup, .-filter_wakeup
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
