	.file	"extr_signal.c___sigqueue_alloc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__sigqueue_alloc, @function
__sigqueue_alloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	eax, eax
	mov	r14d, edi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, ecx
	call	rcu_read_lock@PLT
	mov	rdi, r12
	call	__task_cred@PLT
	mov	edi, DWORD PTR [rax]
	call	get_uid@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	atomic_inc@PLT
	xor	eax, eax
	call	rcu_read_unlock@PLT
	test	ebx, ebx
	jne	.L4
	mov	rdi, rbp
	call	atomic_read@PLT
	mov	esi, DWORD PTR RLIMIT_SIGPENDING[rip]
	mov	rdi, r12
	mov	rbx, rax
	call	task_rlimit@PLT
	cmp	rbx, rax
	jg	.L9
.L4:
	mov	edi, DWORD PTR sigqueue_cachep[rip]
	mov	esi, r13d
	call	kmem_cache_alloc@PLT
	xor	edi, edi
	test	rax, rax
	mov	r12, rax
	sete	dil
.L3:
	call	unlikely@PLT
	test	rax, rax
	je	.L5
	mov	rdi, rbp
	call	atomic_dec@PLT
	mov	rdi, rbp
	call	free_uid@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, 16[r12]
	call	INIT_LIST_HEAD@PLT
	mov	QWORD PTR [r12], rbp
	mov	rax, r12
	mov	QWORD PTR 8[r12], 0
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, r14d
	xor	r12d, r12d
	call	print_dropped_signal@PLT
	mov	edi, 1
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	__sigqueue_alloc, .-__sigqueue_alloc
	.comm	sigqueue_cachep,4,4
	.comm	RLIMIT_SIGPENDING,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_signal.c___sigqueue_alloc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__sigqueue_alloc, %function
__sigqueue_alloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r4, r3
	mov	r7, r2
	mov	r8, r0
	bl	rcu_read_lock
	mov	r0, r6
	bl	__task_cred
	ldr	r0, [r0]
	bl	get_uid
	mov	r5, r0
	bl	atomic_inc
	bl	rcu_read_unlock
	cmp	r4, #0
	bne	.L4
	mov	r0, r5
	bl	atomic_read
	mov	r3, r0
	ldr	r2, .L10
	mov	r0, r6
	ldr	r1, [r2]
	mov	r6, r3
	bl	task_rlimit
	cmp	r6, r0
	bgt	.L9
.L4:
	ldr	r3, .L10+4
	mov	r1, r7
	ldr	r0, [r3]
	bl	kmem_cache_alloc
	mov	r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
.L3:
	bl	unlikely
	subs	r6, r0, #0
	beq	.L5
	mov	r0, r5
	bl	atomic_dec
	mov	r0, r5
	bl	free_uid
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	add	r0, r4, #8
	bl	INIT_LIST_HEAD
	mov	r0, r4
	stm	r4, {r5, r6}
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r0, r8
	bl	print_dropped_signal
	mov	r0, #1
	b	.L3
.L11:
	.align	2
.L10:
	.word	RLIMIT_SIGPENDING
	.word	sigqueue_cachep
	.size	__sigqueue_alloc, .-__sigqueue_alloc
	.comm	sigqueue_cachep,4,4
	.comm	RLIMIT_SIGPENDING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
