	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_route_input_mc
_ip_route_input_mc:                     ## @ip_route_input_mc
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movq	%r8, %r13
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	%r8, %rdi
	callq	_in_dev_get
	movl	$0, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_18
## %bb.1:
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_ipv4_is_multicast
	testq	%rax, %rax
	jne	LBB0_17
## %bb.2:
	movq	%r12, %rdi
	callq	_ipv4_is_lbcast
	testq	%rax, %rax
	jne	LBB0_17
## %bb.3:
	movq	(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_17
## %bb.4:
	movq	%r15, %rdi
	callq	_IN_DEV_ROUTE_LOCALNET
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_ipv4_is_loopback
	testq	%rax, %rax
	jne	LBB0_17
LBB0_6:
	movq	%r12, %rdi
	callq	_ipv4_is_zeronet
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ipv4_is_local_multicast
	testl	%eax, %eax
	je	LBB0_17
## %bb.8:
	movq	_RT_SCOPE_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_inet_select_addr
	movq	%rax, -80(%rbp)
	jmp	LBB0_10
LBB0_9:
	leaq	-64(%rbp), %rax
	leaq	-80(%rbp), %r9
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	movq	%r13, %r8
	pushq	$0
	pushq	%rax
	callq	_fib_validate_source
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_17
LBB0_10:
	movq	_ipv4_dst_ops@GOTPCREL(%rip), %rdi
	callq	_dst_alloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	_ip_rt_bug@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 28(%rbx)
	movl	$-1, (%rbx)
	movq	%rbx, %rdi
	addq	$24, %rdi
	movl	$1, %esi
	callq	_atomic_set
	movq	_DST_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_NOPOLICY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_IN_DEV_CONF_GET
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_DST_NOPOLICY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, 20(%rcx)
LBB0_13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 96(%rbx)
	movq	%rax, 128(%rbx)
	movl	%r14d, 92(%rbx)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	%r12, 80(%rbx)
	movq	%r12, 120(%rbx)
	movl	(%r13), %eax
	movl	%eax, 72(%rbx)
	movl	%eax, 112(%rbx)
	movq	_init_net@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 8(%rbx)
	callq	_dev_hold
	movq	8(%rbx), %rdi
	callq	_in_dev_get
	movq	%rax, 104(%rbx)
	movq	$0, 64(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 56(%rbx)
	movq	-80(%rbp), %rax
	movq	%rax, 48(%rbx)
	movq	%r13, %rdi
	callq	_dev_net
	movl	%eax, %edi
	callq	_rt_genid
	movl	%eax, 40(%rbx)
	movq	_RTCF_MULTICAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_RTN_MULTICAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rbx)
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.14:
	movq	_ip_local_deliver@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, 4(%rdx)
	movq	_RTCF_LOCAL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 32(%rdx)
LBB0_15:
	movq	_in_slow_mc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RT_CACHE_STAT_INC
	movq	%r15, %rdi
	callq	_in_dev_put
	movl	(%r13), %ebx
	movq	%r13, %rdi
	callq	_dev_net
	movl	%eax, %edi
	callq	_rt_genid
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_rt_hash
	movl	%eax, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_rt_intern_hash
	jmp	LBB0_20
LBB0_17:
	movq	%r15, %rdi
	callq	_in_dev_put
LBB0_18:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_19:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_20:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%r15, %rdi
	callq	_in_dev_put
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_RT_SCOPE_LINK,4,2              ## @RT_SCOPE_LINK
	.comm	_ipv4_dst_ops,4,2               ## @ipv4_dst_ops
	.comm	_ip_rt_bug,4,2                  ## @ip_rt_bug
	.comm	_DST_HOST,4,2                   ## @DST_HOST
	.comm	_NOPOLICY,4,2                   ## @NOPOLICY
	.comm	_DST_NOPOLICY,4,2               ## @DST_NOPOLICY
	.comm	_init_net,8,3                   ## @init_net
	.comm	_RTCF_MULTICAST,4,2             ## @RTCF_MULTICAST
	.comm	_RTN_MULTICAST,4,2              ## @RTN_MULTICAST
	.comm	_ip_local_deliver,4,2           ## @ip_local_deliver
	.comm	_RTCF_LOCAL,4,2                 ## @RTCF_LOCAL
	.comm	_in_slow_mc,4,2                 ## @in_slow_mc
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_ip_mr_input,4,2                ## @ip_mr_input
	.no_dead_strip	_ip_route_input_mc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_route_input_mc
_ip_route_input_mc:                     ; @ip_route_input_mc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x5
	mov	x22, x4
	mov	x25, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x4
	bl	_in_dev_get
	str	wzr, [sp, #4]
	cbz	x0, LBB0_17
; %bb.1:
	mov	x23, x0
	mov	x0, x20
	bl	_ipv4_is_multicast
	cbnz	x0, LBB0_16
; %bb.2:
	mov	x0, x20
	bl	_ipv4_is_lbcast
	cbnz	x0, LBB0_16
; %bb.3:
	ldr	x26, [x19]
Lloh0:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x26, x0
	b.ne	LBB0_16
; %bb.4:
	mov	x0, x23
	bl	_IN_DEV_ROUTE_LOCALNET
	cmp	w0, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_ipv4_is_loopback
	cbnz	x0, LBB0_16
LBB0_6:
	mov	x0, x20
	bl	_ipv4_is_zeronet
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x21
	bl	_ipv4_is_local_multicast
	cbz	w0, LBB0_16
; %bb.8:
Lloh3:
	adrp	x8, _RT_SCOPE_LINK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RT_SCOPE_LINK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #0
	bl	_inet_select_addr
	str	x0, [sp, #8]
	b	LBB0_10
LBB0_9:
	add	x5, sp, #8
	add	x6, sp, #4
	mov	x0, x20
	mov	w1, #0
	mov	x2, x25
	mov	w3, #0
	mov	x4, x22
	mov	w7, #0
	bl	_fib_validate_source
	tbnz	x0, #63, LBB0_16
LBB0_10:
Lloh6:
	adrp	x0, _ipv4_dst_ops@GOTPAGE
Lloh7:
	ldr	x0, [x0, _ipv4_dst_ops@GOTPAGEOFF]
	bl	_dst_alloc
	cbz	x0, LBB0_20
; %bb.11:
	mov	x26, x0
Lloh8:
	adrp	x8, _ip_rt_bug@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ip_rt_bug@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x0, #28]
	mov	w8, #-1
	str	w8, [x0], #24
	mov	w1, #1
	bl	_atomic_set
Lloh11:
	adrp	x8, _DST_HOST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DST_HOST@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x26, #20]
Lloh14:
	adrp	x8, _NOPOLICY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NOPOLICY@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_IN_DEV_CONF_GET
	cbz	x0, LBB0_13
; %bb.12:
Lloh17:
	adrp	x8, _DST_NOPOLICY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DST_NOPOLICY@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x26, #20]
	orr	w8, w9, w8
	str	w8, [x26, #20]
LBB0_13:
	str	x21, [x26, #96]
	ldr	w8, [x19, #8]
	stp	w8, w25, [x26, #88]
	str	x20, [x26, #80]
	stp	x20, x21, [x26, #120]
	ldr	w8, [x22]
	str	w8, [x26, #72]
	str	w8, [x26, #112]
Lloh20:
	adrp	x8, _init_net@GOTPAGE
Lloh21:
	ldr	x8, [x8, _init_net@GOTPAGEOFF]
Lloh22:
	ldr	x0, [x8]
	str	x0, [x26, #8]
	bl	_dev_hold
	ldr	x0, [x26, #8]
	bl	_in_dev_get
	str	x0, [x26, #104]
	stp	x21, xzr, [x26, #56]
	ldr	x8, [sp, #8]
	str	x8, [x26, #48]
	mov	x0, x22
	bl	_dev_net
	bl	_rt_genid
	str	w0, [x26, #40]
Lloh23:
	adrp	x8, _RTCF_MULTICAST@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RTCF_MULTICAST@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _RTN_MULTICAST@GOTPAGE
Lloh27:
	ldr	x9, [x9, _RTN_MULTICAST@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	stp	w8, w9, [x26, #32]
	cbz	w24, LBB0_15
; %bb.14:
Lloh29:
	adrp	x9, _ip_local_deliver@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ip_local_deliver@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	str	w9, [x26, #4]
Lloh32:
	adrp	x9, _RTCF_LOCAL@GOTPAGE
Lloh33:
	ldr	x9, [x9, _RTCF_LOCAL@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x26, #32]
LBB0_15:
Lloh35:
	adrp	x8, _in_slow_mc@GOTPAGE
Lloh36:
	ldr	x8, [x8, _in_slow_mc@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_RT_CACHE_STAT_INC
	mov	x0, x23
	bl	_in_dev_put
	ldr	w23, [x22]
	mov	x0, x22
	bl	_dev_net
	bl	_rt_genid
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	bl	_rt_hash
	mov	x1, x26
	mov	x2, #0
	mov	x3, x19
	bl	_rt_intern_hash
	b	LBB0_19
LBB0_16:
	mov	x0, x23
	bl	_in_dev_put
LBB0_17:
Lloh38:
	adrp	x8, _EINVAL@GOTPAGE
Lloh39:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_19:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_20:
	mov	x0, x23
	bl	_in_dev_put
Lloh40:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_RT_SCOPE_LINK,4,2              ; @RT_SCOPE_LINK
	.comm	_ipv4_dst_ops,4,2               ; @ipv4_dst_ops
	.comm	_ip_rt_bug,4,2                  ; @ip_rt_bug
	.comm	_DST_HOST,4,2                   ; @DST_HOST
	.comm	_NOPOLICY,4,2                   ; @NOPOLICY
	.comm	_DST_NOPOLICY,4,2               ; @DST_NOPOLICY
	.comm	_init_net,8,3                   ; @init_net
	.comm	_RTCF_MULTICAST,4,2             ; @RTCF_MULTICAST
	.comm	_RTN_MULTICAST,4,2              ; @RTN_MULTICAST
	.comm	_ip_local_deliver,4,2           ; @ip_local_deliver
	.comm	_RTCF_LOCAL,4,2                 ; @RTCF_LOCAL
	.comm	_in_slow_mc,4,2                 ; @in_slow_mc
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_ip_mr_input,4,2                ; @ip_mr_input
	.no_dead_strip	_ip_route_input_mc
.subsections_via_symbols
