	.file	"extr_kern_sig.c_sigqueue_take.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sigqueue_take
	.type	sigqueue_take, @function
sigqueue_take:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L23
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR 8[rdi]
	test	rbp, rbp
	je	.L1
	mov	edx, DWORD PTR ksi_link[rip]
	lea	r12, 12[rbp]
	mov	rsi, rdi
	mov	r13, QWORD PTR 16[rbp]
	mov	rdi, r12
	call	TAILQ_REMOVE@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR KSI_EXT[rip], eax
	jne	.L5
	test	r13, r13
	je	.L5
	sub	DWORD PTR 0[r13], 1
.L5:
	mov	rdi, r12
	call	TAILQ_FIRST@PLT
	mov	rdi, rax
	test	rax, rax
	jne	.L7
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L27:
	mov	esi, DWORD PTR ksi_link[rip]
	call	TAILQ_NEXT@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L6
.L7:
	mov	eax, DWORD PTR 4[rbx]
	cmp	DWORD PTR [rdi], eax
	jne	.L27
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[rbx]
	mov	edi, DWORD PTR 8[rbp]
	call	SIGISMEMBER@PLT
	test	eax, eax
	jne	.L1
	mov	esi, DWORD PTR 4[rbx]
	mov	edi, DWORD PTR 4[rbp]
	call	SIGISMEMBER@PLT
	test	eax, eax
	jne	.L1
	mov	esi, DWORD PTR 4[rbx]
	mov	edi, DWORD PTR 0[rbp]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	SIGDELSET@PLT
	.p2align 4,,10
	.p2align 3
.L23:
	ret
	.cfi_endproc
.LFE0:
	.size	sigqueue_take, .-sigqueue_take
	.comm	ksi_link,4,4
	.comm	KSI_EXT,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_kern_sig.c_sigqueue_take.c"
	.text
	.align	2
	.global	sigqueue_take
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigqueue_take, %function
sigqueue_take:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r4, r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r6, [r4, #8]
	cmp	r6, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r5, .L21
	add	r7, r6, #12
	mov	r1, r4
	ldr	r2, [r5]
	mov	r0, r7
	ldr	r8, [r6, #16]
	bl	TAILQ_REMOVE
	mov	r2, #0
	ldr	r3, .L21+4
	ldr	r1, [r4]
	ldr	r3, [r3]
	str	r2, [r4, #8]
	tst	r1, r3
	moveq	r3, #1
	movne	r3, r2
	cmp	r8, r2
	moveq	r3, r2
	cmp	r3, r2
	ldrne	r3, [r8]
	mov	r0, r7
	subne	r3, r3, #1
	strne	r3, [r8]
	bl	TAILQ_FIRST
	cmp	r0, #0
	beq	.L6
.L7:
	ldr	r2, [r0]
	ldr	r3, [r4, #4]
	cmp	r2, r3
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r1, [r5]
	bl	TAILQ_NEXT
	cmp	r0, #0
	bne	.L7
.L6:
	ldr	r1, [r4, #4]
	ldr	r0, [r6, #8]
	bl	SIGISMEMBER
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r1, [r4, #4]
	ldr	r0, [r6, #4]
	bl	SIGISMEMBER
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r1, [r4, #4]
	ldr	r0, [r6]
	pop	{r4, r5, r6, r7, r8, lr}
	b	SIGDELSET
.L22:
	.align	2
.L21:
	.word	ksi_link
	.word	KSI_EXT
	.size	sigqueue_take, .-sigqueue_take
	.comm	ksi_link,4,4
	.comm	KSI_EXT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
