	.file	"extr_signal.c_deliver_signal_unlocked.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	deliver_signal_unlocked, @function
deliver_signal_unlocked:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR [rdi]
	call	sigset_has@PLT
	test	rax, rax
	je	.L14
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	esi, ebp
	mov	rdi, rbx
	call	sigset_add@PLT
	mov	edi, 8
	call	malloc@PLT
	lea	rdi, 52[rbx]
	mov	DWORD PTR 4[rax], ebp
	mov	rsi, rax
	call	list_add_tail@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, ebp
	not	edi
	and	edi, DWORD PTR 4[rbx]
	call	sigset_has@PLT
	test	rax, rax
	jne	.L4
.L7:
	cmp	QWORD PTR current[rip], rbx
	je	.L1
	mov	edi, DWORD PTR 48[rbx]
	mov	esi, DWORD PTR SIGUSR1[rip]
	lea	rbp, 24[rbx]
	call	pthread_kill@PLT
	mov	rdi, QWORD PTR 16[rbx]
	call	unlock@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR 32[rbx]
	lea	rdi, 4[rax]
	call	pthread_mutex_trylock@PLT
	cmp	rax, QWORD PTR EBUSY[rip]
	jne	.L10
	xor	eax, eax
	call	pthread_self@PLT
	mov	esi, eax
	mov	rax, QWORD PTR 32[rbx]
	mov	edi, DWORD PTR [rax]
	call	pthread_equal@PLT
	test	rax, rax
	jne	.L11
	mov	rdi, rbp
	call	unlock@PLT
.L8:
	mov	rdi, rbp
	call	lock@PLT
	cmp	QWORD PTR 40[rbx], 0
	jne	.L15
.L9:
	mov	rdi, rbp
	call	unlock@PLT
	mov	rdi, QWORD PTR 16[rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	lock@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edi, ebp
	call	signal_is_blockable@PLT
	test	rax, rax
	je	.L7
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, QWORD PTR 40[rbx]
	call	notify@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, QWORD PTR 40[rbx]
	call	notify@PLT
	mov	rdi, QWORD PTR 32[rbx]
	call	unlock@PLT
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	deliver_signal_unlocked, .-deliver_signal_unlocked
	.comm	current,8,8
	.comm	SIGUSR1,4,4
	.comm	EBUSY,8,8
	.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_signal.c_deliver_signal_unlocked.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	deliver_signal_unlocked, %function
deliver_signal_unlocked:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0]
	mov	r5, r1
	bl	sigset_has
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r1, r5
	mov	r0, r4
	bl	sigset_add
	mov	r0, #8
	bl	malloc
	mov	r1, r0
	add	r0, r4, #36
	str	r5, [r1, #4]
	bl	list_add_tail
	ldr	r0, [r4, #8]
	ldr	r3, [r4, #4]
	mov	r1, r5
	bic	r0, r3, r0
	bl	sigset_has
	cmp	r0, #0
	bne	.L4
.L7:
	ldr	r3, .L20
	ldr	r3, [r3]
	cmp	r3, r4
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L20+4
	ldr	r0, [r4, #32]
	ldr	r1, [r3]
	bl	pthread_kill
	ldr	r0, [r4, #12]
	bl	unlock
	ldr	r6, .L20+8
	add	r5, r4, #16
	b	.L8
.L19:
	ldr	r0, [r4, #24]
	add	r0, r0, #4
	bl	pthread_mutex_trylock
	ldr	r3, [r6]
	cmp	r0, r3
	bne	.L10
	ldr	r3, [r4, #24]
	ldr	r7, [r3]
	bl	pthread_self
	mov	r1, r0
	mov	r0, r7
	bl	pthread_equal
	cmp	r0, #0
	bne	.L11
	mov	r0, r5
	bl	unlock
.L8:
	mov	r0, r5
	bl	lock
	ldr	r3, [r4, #28]
	cmp	r3, #0
	bne	.L19
.L9:
	mov	r0, r5
	bl	unlock
	ldr	r0, [r4, #12]
	pop	{r4, r5, r6, r7, r8, lr}
	b	lock
.L4:
	mov	r0, r5
	bl	signal_is_blockable
	cmp	r0, #0
	beq	.L7
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r0, [r4, #28]
	bl	notify
	b	.L9
.L10:
	ldr	r0, [r4, #28]
	bl	notify
	ldr	r0, [r4, #24]
	bl	unlock
	b	.L9
.L21:
	.align	2
.L20:
	.word	current
	.word	SIGUSR1
	.word	EBUSY
	.size	deliver_signal_unlocked, .-deliver_signal_unlocked
	.comm	current,4,4
	.comm	SIGUSR1,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
