	.file	"extr_in_mcast.c_inm_record_source.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	inm_record_source
	.type	inm_record_source, @function
inm_record_source:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	IN_MULTI_LIST_LOCK_ASSERT@PLT
	mov	edi, r12d
	lea	r12, 16[rbp]
	call	ntohl@PLT
	mov	edi, DWORD PTR ip_msource_tree[rip]
	mov	rdx, rsp
	mov	rsi, r12
	mov	DWORD PTR 8[rsp], eax
	call	RB_FIND@PLT
	test	rax, rax
	je	.L2
	mov	rbx, rax
	mov	rax, QWORD PTR [rax]
	xor	r8d, r8d
	test	rax, rax
	jne	.L1
.L4:
	add	rax, 1
	mov	r8d, 1
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR 8[rbp]
	add	DWORD PTR 4[rax], 1
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r8d, DWORD PTR ENOSPC[rip]
	mov	rax, QWORD PTR in_mcast_maxgrpsrc[rip]
	neg	r8d
	cmp	QWORD PTR 0[rbp], rax
	je	.L1
	mov	esi, DWORD PTR M_IPMSOURCE[rip]
	mov	edx, DWORD PTR M_NOWAIT[rip]
	mov	edi, 16
	or	edx, DWORD PTR M_ZERO[rip]
	call	malloc@PLT
	mov	r8d, DWORD PTR ENOMEM[rip]
	mov	rbx, rax
	neg	r8d
	test	rax, rax
	je	.L1
	mov	eax, DWORD PTR 8[rsp]
	mov	edi, DWORD PTR ip_msource_tree[rip]
	mov	rdx, rbx
	mov	rsi, r12
	mov	DWORD PTR 8[rbx], eax
	call	RB_INSERT@PLT
	add	QWORD PTR 0[rbp], 1
	mov	rax, QWORD PTR [rbx]
	jmp	.L4
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	inm_record_source, .-inm_record_source
	.comm	ip_msource_tree,4,4
	.comm	in_mcast_maxgrpsrc,8,8
	.comm	M_ZERO,4,4
	.comm	M_NOWAIT,4,4
	.comm	M_IPMSOURCE,4,4
	.comm	ENOSPC,4,4
	.comm	ENOMEM,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_in_mcast.c_inm_record_source.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	inm_record_source
	.syntax unified
	.arm
	.fpu softvfp
	.type	inm_record_source, %function
inm_record_source:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r1
	ldr	r3, .L15
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r5, r0
	bl	IN_MULTI_LIST_LOCK_ASSERT
	mov	r0, r4
	bl	ntohl
	mov	r3, r0
	ldr	r6, .L15+4
	add	r7, r5, #8
	mov	r1, r7
	ldr	r0, [r6]
	add	r2, sp, #4
	str	r3, [sp, #8]
	bl	RB_FIND
	subs	r4, r0, #0
	beq	.L2
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L11
.L4:
	mov	r0, #1
	ldr	r1, [r5, #4]
	add	r3, r3, #1
	ldr	r2, [r1, #4]
	str	r3, [r4]
	add	r2, r2, #1
	str	r2, [r1, #4]
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	mov	r0, #0
	b	.L1
.L2:
	ldr	r3, .L15+8
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L13
	ldr	r2, .L15+12
	ldr	r3, .L15+16
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L15+20
	orr	r2, r1, r2
	mov	r0, #8
	ldr	r1, [r3]
	bl	malloc
	subs	r4, r0, #0
	beq	.L14
	ldr	r3, [sp, #8]
	mov	r2, r4
	str	r3, [r4, #4]
	mov	r1, r7
	ldr	r0, [r6]
	bl	RB_INSERT
	ldr	r2, [r5]
	ldr	r3, [r4]
	add	r2, r2, #1
	str	r2, [r5]
	b	.L4
.L13:
	ldr	r3, .L15+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L14:
	ldr	r3, .L15+28
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	ip_msource_tree
	.word	in_mcast_maxgrpsrc
	.word	M_NOWAIT
	.word	M_ZERO
	.word	M_IPMSOURCE
	.word	ENOSPC
	.word	ENOMEM
	.size	inm_record_source, .-inm_record_source
	.comm	ip_msource_tree,4,4
	.comm	in_mcast_maxgrpsrc,4,4
	.comm	M_ZERO,4,4
	.comm	M_NOWAIT,4,4
	.comm	M_IPMSOURCE,4,4
	.comm	ENOSPC,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
