	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_multicast_list
_set_multicast_list:                    ## @set_multicast_list
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	8(%r14), %eax
	testl	%ecx, (%rbx)
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movl	$1, %r15d
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_5
LBB0_3:
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
LBB0_5:
	xorl	%eax, %eax
	callq	_pr_debug
	movl	%r15d, 8(%r14)
	movl	%r15d, -28(%rbp)
	movq	_OBJID_promiscuous_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$4, %ecx
	callq	_ray_update_parm
LBB0_6:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %esi
	testl	%eax, (%rbx)
	jne	LBB0_8
## %bb.7:
	movq	(%r14), %r14
	movq	%rbx, %rdi
	callq	_netdev_mc_count
	xorl	%esi, %esi
	cmpq	%rax, %r14
	je	LBB0_9
LBB0_8:
	movq	%rbx, %rdi
	callq	_ray_update_multi_list
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ray_cs set_multicast_list(%p)\n"

	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
L_.str.1:                               ## @.str.1
	.asciz	"ray_cs set_multicast_list promisc on\n"

	.comm	_OBJID_promiscuous_mode,4,2     ## @OBJID_promiscuous_mode
L_.str.2:                               ## @.str.2
	.asciz	"ray_cs set_multicast_list promisc off\n"

	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.no_dead_strip	_set_multicast_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_multicast_list
_set_multicast_list:                    ; @set_multicast_list
	.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	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	str	x19, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	w9, [x19]
Lloh2:
	adrp	x8, _IFF_PROMISC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IFF_PROMISC@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x8]
	ldr	w8, [x20, #8]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.1:
	cbnz	w8, LBB0_6
; %bb.2:
	mov	w21, #1
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.4:
	mov	w21, #0
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_5:
	bl	_pr_debug
	str	w21, [x20, #8]
	str	w21, [sp, #12]
Lloh9:
	adrp	x8, _OBJID_promiscuous_mode@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OBJID_promiscuous_mode@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	mov	w3, #4
	bl	_ray_update_parm
LBB0_6:
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	w1, #1
	b	LBB0_10
LBB0_8:
	ldr	x20, [x20]
	mov	x0, x19
	bl	_netdev_mc_count
	cmp	x20, x0
	b.eq	LBB0_11
; %bb.9:
	mov	w1, #0
LBB0_10:
	mov	x0, x19
	bl	_ray_update_multi_list
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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ray_cs set_multicast_list(%p)\n"

	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
l_.str.1:                               ; @.str.1
	.asciz	"ray_cs set_multicast_list promisc on\n"

	.comm	_OBJID_promiscuous_mode,4,2     ; @OBJID_promiscuous_mode
l_.str.2:                               ; @.str.2
	.asciz	"ray_cs set_multicast_list promisc off\n"

	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.no_dead_strip	_set_multicast_list
.subsections_via_symbols
