	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inm_record_source              ## -- Begin function inm_record_source
	.p2align	4, 0x90
_inm_record_source:                     ## @inm_record_source
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_IN_MULTI_LIST_LOCK_ASSERT
	movl	%ebx, %edi
	callq	_ntohl
	movl	%eax, -48(%rbp)
	movq	_ip_msource_tree@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	16(%r14), %r15
	leaq	-56(%rbp), %rdx
	movq	%r15, %rsi
	callq	_RB_FIND
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	cmpq	$0, (%rax)
	jne	LBB0_10
## %bb.2:
	movl	$1, %eax
	jmp	LBB0_9
LBB0_3:
	movq	(%r14), %rax
	movq	_in_mcast_maxgrpsrc@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	movq	_M_IPMSOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	$16, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %rbx
	movl	-48(%rbp), %eax
	movl	%eax, 8(%rbx)
	movl	(%r13), %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_RB_INSERT
	incq	(%r14)
	movq	(%rbx), %rax
	incq	%rax
LBB0_9:
	movq	%rax, (%rbx)
	movq	8(%r14), %rax
	incl	4(%rax)
	movl	$1, %r12d
	jmp	LBB0_10
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ip_msource_tree,4,2            ## @ip_msource_tree
	.comm	_in_mcast_maxgrpsrc,8,3         ## @in_mcast_maxgrpsrc
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_M_IPMSOURCE,4,2                ## @M_IPMSOURCE
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inm_record_source              ; -- Begin function inm_record_source
	.p2align	2
_inm_record_source:                     ; @inm_record_source
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	bl	_IN_MULTI_LIST_LOCK_ASSERT
	mov	x0, x20
	bl	_ntohl
	str	w0, [sp, #8]
Lloh0:
	adrp	x22, _ip_msource_tree@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ip_msource_tree@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x20, x19, #16
	mov	x2, sp
	mov	x1, x20
	bl	_RB_FIND
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.2:
	mov	w0, #0
	b	LBB0_11
LBB0_3:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _in_mcast_maxgrpsrc@GOTPAGE
Lloh3:
	ldr	x9, [x9, _in_mcast_maxgrpsrc@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
Lloh5:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
	mov	w8, #1
	b	LBB0_8
LBB0_6:
Lloh7:
	adrp	x8, _M_IPMSOURCE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _M_IPMSOURCE@GOTPAGEOFF]
Lloh9:
	adrp	x9, _M_NOWAIT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _M_NOWAIT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	ldr	w8, [x9]
Lloh13:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh14:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #16
	bl	_malloc
	cbz	x0, LBB0_9
; %bb.7:
	mov	x21, x0
	ldr	w8, [sp, #8]
	str	w8, [x0, #8]
	ldr	w0, [x22]
	mov	x1, x20
	mov	x2, x21
	bl	_RB_INSERT
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldr	x8, [x21]
	add	x8, x8, #1
LBB0_8:
	str	x8, [x21]
	ldr	x8, [x19, #8]
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
	mov	w0, #1
	b	LBB0_11
LBB0_9:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ip_msource_tree,4,2            ; @ip_msource_tree
	.comm	_in_mcast_maxgrpsrc,8,3         ; @in_mcast_maxgrpsrc
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_M_IPMSOURCE,4,2                ; @M_IPMSOURCE
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
