	.file	"extr_ucma.c_ucma_alloc_multicast.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ucma_alloc_multicast, @function
ucma_alloc_multicast:
.LFB0:
	.cfi_startproc
	endbr64
	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
	mov	rbp, rdi
	mov	edi, 24
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	lea	r13, 16[rax]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rdi, mut[rip]
	call	mutex_lock@PLT
	mov	rdx, r13
	mov	rsi, r12
	lea	rdi, multicast_idr[rip]
	call	idr_get_new@PLT
	lea	rdi, mut[rip]
	mov	ebx, eax
	call	mutex_unlock@PLT
	mov	eax, ebx
	add	eax, DWORD PTR EAGAIN[rip]
	jne	.L14
.L4:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	lea	rdi, multicast_idr[rip]
	call	idr_pre_get@PLT
	test	eax, eax
	jne	.L15
.L3:
	mov	rdi, r12
	xor	r12d, r12d
	call	kfree@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
.L14:
	.cfi_restore_state
	test	ebx, ebx
	jne	.L3
	mov	QWORD PTR 8[r12], rbp
	mov	rsi, rbp
	mov	rdi, r12
	call	list_add_tail@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
	.cfi_endproc
.LFE0:
	.size	ucma_alloc_multicast, .-ucma_alloc_multicast
	.comm	mut,4,4
	.comm	multicast_idr,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EAGAIN,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_ucma.c_ucma_alloc_multicast.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ucma_alloc_multicast, %function
ucma_alloc_multicast:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, .L16
	mov	r10, r0
	ldr	r1, [r8]
	mov	r0, #12
	bl	kzalloc
	subs	r5, r0, #0
	beq	.L1
	ldr	r6, .L16+4
	ldr	r7, .L16+8
	ldr	r9, .L16+12
	b	.L4
.L15:
	mov	r0, r7
	bl	mutex_lock
	mov	r1, r5
	add	r2, r5, #8
	mov	r0, r6
	bl	idr_get_new
	mov	r4, r0
	mov	r0, r7
	bl	mutex_unlock
	ldr	r3, [r9]
	cmn	r4, r3
	bne	.L14
.L4:
	mov	r0, r6
	ldr	r1, [r8]
	bl	idr_pre_get
	cmp	r0, #0
	bne	.L15
.L3:
	mov	r0, r5
	bl	kfree
	mov	r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	cmp	r4, #0
	bne	.L3
	mov	r1, r10
	mov	r0, r5
	str	r10, [r5, #4]
	bl	list_add_tail
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	.align	2
.L16:
	.word	GFP_KERNEL
	.word	multicast_idr
	.word	mut
	.word	EAGAIN
	.size	ucma_alloc_multicast, .-ucma_alloc_multicast
	.comm	mut,4,4
	.comm	multicast_idr,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EAGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
