	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imf_get_source
_imf_get_source:                        ## @imf_get_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r15
	movl	(%rsi), %edi
	callq	_ntohl
	movl	%eax, -48(%rbp)
	movq	_ip_msource_tree@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	8(%r15), %r12
	leaq	-48(%rbp), %rdx
	movq	%r12, %rsi
	callq	_RB_FIND
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	%rbx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_2:
	movq	(%r15), %rax
	movq	_in_mcast_maxsocksrc@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_M_INMFILTER@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_6
## %bb.5:
	movq	%rax, %rbx
	movl	-48(%rbp), %eax
	movl	%eax, 8(%rbx)
	movq	_MCAST_UNDEFINED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	(%r13), %edi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_RB_INSERT
	incq	(%r15)
	jmp	LBB0_1
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	addq	$8, %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_maxsocksrc,8,3        ## @in_mcast_maxsocksrc
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_M_INMFILTER,4,2                ## @M_INMFILTER
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MCAST_UNDEFINED,4,2            ## @MCAST_UNDEFINED
	.no_dead_strip	_imf_get_source
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imf_get_source
_imf_get_source:                        ; @imf_get_source
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x0
	ldr	w0, [x1]
	bl	_ntohl
	str	w0, [sp, #8]
Lloh0:
	adrp	x23, _ip_msource_tree@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ip_msource_tree@GOTPAGEOFF]
	ldr	w0, [x23]
	add	x21, x20, #8
	add	x2, sp, #8
	mov	x1, x21
	bl	_RB_FIND
	mov	x22, x0
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #0
	str	x22, [x19]
	b	LBB0_8
LBB0_2:
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _in_mcast_maxsocksrc@GOTPAGE
Lloh3:
	ldr	x9, [x9, _in_mcast_maxsocksrc@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh7:
	adrp	x8, _M_INMFILTER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _M_INMFILTER@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_6
; %bb.5:
	mov	x22, x0
	ldr	w8, [sp, #8]
	str	w8, [x0, #8]
Lloh16:
	adrp	x8, _MCAST_UNDEFINED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MCAST_UNDEFINED@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	x9, [x0]
	str	w8, [x9]
	ldr	w0, [x23]
	mov	x1, x21
	mov	x2, x22
	bl	_RB_INSERT
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	b	LBB0_1
LBB0_6:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	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 AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ip_msource_tree,4,2            ; @ip_msource_tree
	.comm	_in_mcast_maxsocksrc,8,3        ; @in_mcast_maxsocksrc
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_M_INMFILTER,4,2                ; @M_INMFILTER
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MCAST_UNDEFINED,4,2            ; @MCAST_UNDEFINED
	.no_dead_strip	_imf_get_source
.subsections_via_symbols
