	.file	"extr_br_multicast.c_br_multicast_add_group.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	br_multicast_add_group, @function
br_multicast_add_group:
.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	r13, rdx
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	spin_lock@PLT
	mov	edi, DWORD PTR 16[rbp]
	call	netif_running@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L2
	test	rbx, rbx
	je	.L3
	mov	rax, QWORD PTR BR_STATE_DISABLED[rip]
	xor	r12d, r12d
	cmp	QWORD PTR [rbx], rax
	je	.L2
	mov	rdx, r13
	mov	rsi, rbx
	mov	rdi, rbp
	call	br_multicast_new_group@PLT
	mov	r14, rax
	mov	rdi, rax
	call	PTR_ERR@PLT
	mov	rdi, r14
	mov	r12d, eax
	call	IS_ERR@PLT
	test	r14, r14
	sete	dil
	test	rax, rax
	setne	al
	or	edi, eax
	movzx	edi, dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L2
	mov	rdi, QWORD PTR 8[r14]
	lea	r15, 8[r14]
	test	rdi, rdi
	jne	.L7
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	jb	.L5
	lea	r15, 16[rdi]
	mov	rdi, QWORD PTR 16[rdi]
	test	rdi, rdi
	je	.L5
.L7:
	cmp	QWORD PTR 24[rdi], rbx
	jne	.L6
	mov	rsi, QWORD PTR jiffies[rip]
	add	rdi, 4
	add	rsi, QWORD PTR 8[rbp]
	xor	r12d, r12d
	call	mod_timer@PLT
.L2:
	mov	rdi, rbp
	call	spin_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	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
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	edi, 40
	call	kzalloc@PLT
	xor	edi, edi
	mov	r12d, DWORD PTR ENOMEM[rip]
	test	rax, rax
	mov	r14, rax
	sete	dil
	neg	r12d
	call	unlikely@PLT
	test	rax, rax
	jne	.L2
	mov	eax, DWORD PTR 0[r13]
	mov	QWORD PTR 24[r14], rbx
	lea	rsi, 8[rbx]
	lea	rdi, 8[r14]
	xor	r12d, r12d
	mov	DWORD PTR 32[r14], eax
	mov	rax, QWORD PTR [r15]
	mov	QWORD PTR 16[r14], rax
	call	hlist_add_head@PLT
	mov	esi, DWORD PTR br_multicast_port_group_expired[rip]
	lea	rdi, 4[r14]
	mov	rdx, r14
	call	setup_timer@PLT
	mov	esi, DWORD PTR br_multicast_port_group_query_expired[rip]
	mov	rdx, r14
	mov	rdi, r14
	call	setup_timer@PLT
	mov	rdi, QWORD PTR [r15]
	mov	rsi, r14
	call	rcu_assign_pointer@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	xor	esi, esi
	mov	rdx, r13
	mov	rdi, rbp
	call	br_multicast_new_group@PLT
	mov	rbx, rax
	mov	rdi, rax
	call	PTR_ERR@PLT
	mov	rdi, rbx
	mov	r12d, eax
	call	IS_ERR@PLT
	test	rbx, rbx
	sete	dil
	test	rax, rax
	setne	al
	or	edi, eax
	movzx	edi, dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L2
	mov	DWORD PTR [rbx], 1
	xor	r12d, r12d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	br_multicast_add_group, .-br_multicast_add_group
	.comm	jiffies,8,8
	.comm	br_multicast_port_group_query_expired,4,4
	.comm	br_multicast_port_group_expired,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ENOMEM,4,4
	.comm	BR_STATE_DISABLED,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_br_multicast.c_br_multicast_add_group.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	br_multicast_add_group, %function
br_multicast_add_group:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r0
	mov	r5, r1
	mov	r8, r2
	bl	spin_lock
	ldr	r0, [r7, #8]
	bl	netif_running
	subs	r4, r0, #0
	beq	.L2
	cmp	r5, #0
	beq	.L3
	ldr	r3, .L26
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L25
	mov	r2, r8
	mov	r1, r5
	mov	r0, r7
	bl	br_multicast_new_group
	mov	r6, r0
	bl	PTR_ERR
	mov	r4, r0
	mov	r0, r6
	bl	IS_ERR
	subs	r0, r0, #0
	movne	r0, #1
	cmp	r6, #0
	moveq	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L2
	ldr	r0, [r6, #4]
	add	r6, r6, #4
	cmp	r0, #0
	bne	.L7
	b	.L5
.L6:
	bcc	.L5
	add	r6, r0, #12
	ldr	r0, [r0, #12]
	cmp	r0, #0
	beq	.L5
.L7:
	ldr	ip, [r0, #16]
	cmp	ip, r5
	bne	.L6
	ldr	r2, .L26+4
	ldr	r1, [r7, #4]
	ldr	r2, [r2]
	add	r0, r0, #4
	add	r1, r1, r2
	bl	mod_timer
	mov	r4, #0
.L2:
	mov	r0, r7
	bl	spin_unlock
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L25:
	mov	r4, #0
	b	.L2
.L5:
	ldr	r3, .L26+8
	mov	r0, #24
	ldr	r1, [r3]
	bl	kzalloc
	mov	r9, r0
	clz	r0, r0
	ldr	r3, .L26+12
	lsr	r0, r0, #5
	ldr	r10, [r3]
	bl	unlikely
	subs	r4, r0, #0
	rsbne	r4, r10, #0
	bne	.L2
	ldr	r2, [r8]
	ldr	r3, [r6]
	add	r1, r5, #4
	str	r2, [r9, #20]
	str	r3, [r9, #12]
	str	r5, [r9, #16]
	add	r0, r9, #8
	bl	hlist_add_head
	ldr	r3, .L26+16
	mov	r2, r9
	ldr	r1, [r3]
	add	r0, r9, #4
	bl	setup_timer
	ldr	r3, .L26+20
	mov	r2, r9
	ldr	r1, [r3]
	mov	r0, r9
	bl	setup_timer
	mov	r1, r9
	ldr	r0, [r6]
	bl	rcu_assign_pointer
	b	.L2
.L3:
	mov	r1, r5
	mov	r2, r8
	mov	r0, r7
	bl	br_multicast_new_group
	mov	r5, r0
	bl	PTR_ERR
	mov	r4, r0
	mov	r0, r5
	bl	IS_ERR
	subs	r0, r0, #0
	movne	r0, #1
	cmp	r5, #0
	moveq	r0, #1
	bl	unlikely
	cmp	r0, #0
	moveq	r3, #1
	moveq	r4, r0
	streq	r3, [r5]
	b	.L2
.L27:
	.align	2
.L26:
	.word	BR_STATE_DISABLED
	.word	jiffies
	.word	GFP_ATOMIC
	.word	ENOMEM
	.word	br_multicast_port_group_expired
	.word	br_multicast_port_group_query_expired
	.size	br_multicast_add_group, .-br_multicast_add_group
	.comm	jiffies,4,4
	.comm	br_multicast_port_group_query_expired,4,4
	.comm	br_multicast_port_group_expired,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ENOMEM,4,4
	.comm	BR_STATE_DISABLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
