	.file	"extr_ucount.c_get_ucounts.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_ucounts, @function
get_ucounts:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	call	ucounts_hashentry@PLT
	lea	rdi, ucounts_lock[rip]
	mov	r14, rax
	call	spin_lock_irq@PLT
	mov	rdx, r14
	mov	esi, r13d
	mov	rdi, rbp
	call	find_ucounts@PLT
	mov	r12, rax
	test	rax, rax
	je	.L11
.L2:
	mov	rax, QWORD PTR [r12]
	cmp	rax, QWORD PTR INT_MAX[rip]
	je	.L7
	add	rax, 1
	mov	QWORD PTR [r12], rax
.L5:
	lea	rdi, ucounts_lock[rip]
	call	spin_unlock_irq@PLT
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rdi, ucounts_lock[rip]
	call	spin_unlock_irq@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 24
	call	kzalloc@PLT
	mov	r15, rax
	test	rax, rax
	je	.L1
	mov	QWORD PTR 16[rax], rbp
	lea	rdi, ucounts_lock[rip]
	mov	DWORD PTR 12[rax], r13d
	mov	QWORD PTR [rax], 0
	call	spin_lock_irq@PLT
	mov	rdx, r14
	mov	esi, r13d
	mov	rdi, rbp
	call	find_ucounts@PLT
	mov	r12, rax
	test	rax, rax
	je	.L4
	mov	rdi, r15
	call	kfree@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	lea	rdi, 8[r15]
	mov	rsi, r14
	mov	r12, r15
	call	hlist_add_head@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	get_ucounts, .-get_ucounts
	.comm	ucounts_lock,4,4
	.comm	INT_MAX,8,8
	.comm	GFP_KERNEL,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_ucount.c_get_ucounts.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_ucounts, %function
get_ucounts:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	mov	r6, r0
	bl	ucounts_hashentry
	mov	r8, r0
	ldr	r0, .L13
	bl	spin_lock_irq
	mov	r2, r8
	mov	r1, r7
	mov	r0, r6
	bl	find_ucounts
	subs	r4, r0, #0
	beq	.L12
.L2:
	ldr	r2, .L13+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	ldr	r0, .L13
	cmp	r3, r2
	addne	r3, r3, #1
	strne	r3, [r4]
	moveq	r4, #0
	bl	spin_unlock_irq
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	ldr	r0, .L13
	bl	spin_unlock_irq
	ldr	r3, .L13+8
	mov	r0, #16
	ldr	r1, [r3]
	bl	kzalloc
	subs	r5, r0, #0
	beq	.L1
	str	r4, [r5]
	ldr	r0, .L13
	str	r6, [r5, #12]
	str	r7, [r5, #8]
	bl	spin_lock_irq
	mov	r2, r8
	mov	r1, r7
	mov	r0, r6
	bl	find_ucounts
	subs	r4, r0, #0
	beq	.L4
	mov	r0, r5
	bl	kfree
	b	.L2
.L4:
	mov	r1, r8
	add	r0, r5, #4
	bl	hlist_add_head
	mov	r4, r5
	b	.L2
.L14:
	.align	2
.L13:
	.word	ucounts_lock
	.word	INT_MAX
	.word	GFP_KERNEL
	.size	get_ucounts, .-get_ucounts
	.comm	ucounts_lock,4,4
	.comm	INT_MAX,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
