	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sf_setstate
_sf_setstate:                           ## @sf_setstate
	.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
	movq	16(%rdi), %r13
	testq	%r13, %r13
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r15
	movq	_MCAST_EXCLUDE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rax
	movq	(%rdi), %rcx
	movl	(%rcx,%rax,4), %edx
	movq	24(%rdi), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	leaq	8(%rdi), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
	movq	(%r13), %rdx
	testl	%ecx, %ecx
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rdx,%rax,4), %ecx
	jne	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_MCAST_INCLUDE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rdx,%rax,4)
	je	LBB0_7
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 32(%r13)
	je	LBB0_26
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	$0, 8(%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	24(%r13), %r12
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	24(%rbx), %rdi
	movq	%r12, %rsi
	callq	_ipv6_addr_equal
	testq	%rax, %rax
	jne	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_19
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movq	32(%r13), %rax
	movq	%rax, 32(%rbx)
	movups	(%r13), %xmm0
	movups	16(%r13), %xmm1
	movups	%xmm1, 16(%rbx)
	movups	%xmm0, (%rbx)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, (%rcx)
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_MCAST_INCLUDE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rdx,%rax,4)
	je	LBB0_16
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 32(%r13)
	jne	LBB0_26
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r12
	movq	%r13, %rbx
	testq	%r12, %r12
	je	LBB0_25
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	24(%r13), %rbx
	leaq	24(%r12), %rdi
	movq	%rbx, %rsi
	callq	_ipv6_addr_equal
	testq	%rax, %rax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %r14
	movq	16(%r12), %r12
	testq	%r12, %r12
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=2
	leaq	24(%r12), %rdi
	movq	%rbx, %rsi
	callq	_ipv6_addr_equal
	testq	%rax, %rax
	je	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	16(%r14), %rax
	testq	%r14, %r14
	movq	16(%r12), %rcx
	cmoveq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rcx, (%rax)
	movq	%r12, %rdi
	callq	_kfree
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rbx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_MCAST_EXCLUDE@GOTPCREL(%rip), %rsi
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rbx)
	incl	%r14d
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r13), %r13
	testq	%r13, %r13
	je	LBB0_2
## %bb.27:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rcx
	movq	(%rsi), %rax
	movl	(%rcx,%rax,4), %ecx
	jmp	LBB0_4
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_MCAST_EXCLUDE@GOTPCREL(%rip), %rsi
	jmp	LBB0_26
LBB0_1:
	xorl	%r14d, %r14d
LBB0_2:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCAST_EXCLUDE,8,3              ## @MCAST_EXCLUDE
	.comm	_MCAST_INCLUDE,8,3              ## @MCAST_INCLUDE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_sf_setstate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sf_setstate
_sf_setstate:                           ; @sf_setstate
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x23, [x0, #16]
	cbz	x23, LBB0_23
; %bb.1:
	mov	x20, x0
	mov	w19, #0
Lloh0:
	adrp	x24, _MCAST_EXCLUDE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MCAST_EXCLUDE@GOTPAGEOFF]
	ldr	x9, [x0]
	ldr	x8, [x24]
	ldr	w25, [x9, x8, lsl #2]
	ldr	x9, [x0, #24]
	ldr	w26, [x9]
	add	x27, x0, #8
Lloh2:
	adrp	x28, _MCAST_INCLUDE@GOTPAGE
Lloh3:
	ldr	x28, [x28, _MCAST_INCLUDE@GOTPAGEOFF]
	mov	x9, x25
	ldr	x10, [x23]
	cbz	w9, LBB0_11
LBB0_2:
	ldr	w8, [x10, x8, lsl #2]
	cmp	w25, w8
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x28]
	ldr	w8, [x10, x8, lsl #2]
	cbz	w8, LBB0_12
LBB0_4:
	ldr	x8, [x23, #32]
	cbz	x8, LBB0_21
; %bb.5:
	str	wzr, [x23, #8]
	ldr	x22, [x27]
	cbz	x22, LBB0_9
; %bb.6:
	add	x21, x23, #24
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x22, #24
	mov	x1, x21
	bl	_ipv6_addr_equal
	cbnz	x0, LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x22, [x22, #16]
	cbnz	x22, LBB0_7
LBB0_9:
Lloh4:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kmalloc
	cbz	x0, LBB0_21
; %bb.10:
	mov	x22, x0
	ldp	q0, q1, [x23]
	ldr	x8, [x23, #32]
	str	x8, [x0, #32]
	stp	q0, q1, [x0]
	ldr	x8, [x27]
	str	x8, [x0, #16]
	str	x0, [x27]
	b	LBB0_20
LBB0_11:
	ldr	x8, [x28]
	ldr	w8, [x10, x8, lsl #2]
	cbz	w8, LBB0_4
LBB0_12:
	ldr	x8, [x23, #32]
	cbnz	x8, LBB0_21
; %bb.13:
	ldr	x21, [x27]
	mov	x22, x23
	cbz	x21, LBB0_20
; %bb.14:
	add	x22, x23, #24
	add	x0, x21, #24
	mov	x1, x22
	bl	_ipv6_addr_equal
	cbz	x0, LBB0_16
; %bb.15:
	mov	x28, #0
	b	LBB0_18
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x28, x21
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x0, x21, #24
	mov	x1, x22
	bl	_ipv6_addr_equal
	cbz	x0, LBB0_16
LBB0_18:
	ldr	x8, [x21, #16]
	add	x9, x28, #16
	cmp	x28, #0
	csel	x9, x27, x9, eq
	str	x8, [x9]
	mov	x0, x21
	bl	_kfree
LBB0_19:
	mov	x22, x23
Lloh7:
	adrp	x28, _MCAST_INCLUDE@GOTPAGE
Lloh8:
	ldr	x28, [x28, _MCAST_INCLUDE@GOTPAGEOFF]
LBB0_20:
	str	w26, [x22, #8]
	add	w19, w19, #1
LBB0_21:
	ldr	x23, [x23, #16]
	cbz	x23, LBB0_24
; %bb.22:
	ldr	x9, [x20]
	ldr	x8, [x24]
	ldr	w9, [x9, x8, lsl #2]
	ldr	x10, [x23]
	cbnz	w9, LBB0_2
	b	LBB0_11
LBB0_23:
	mov	w19, #0
LBB0_24:
	mov	x0, x19
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MCAST_EXCLUDE,8,3              ; @MCAST_EXCLUDE
	.comm	_MCAST_INCLUDE,8,3              ; @MCAST_INCLUDE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_sf_setstate
.subsections_via_symbols
