	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function genesis_set_multicast
_genesis_set_multicast:                 ## @genesis_set_multicast
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	16(%rax), %rdi
	movl	(%rax), %esi
	movl	(%r12), %r14d
	movq	8(%r12), %r15
	movq	_XM_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movl	%esi, -100(%rbp)                ## 4-byte Spill
	callq	_xm_read32
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	_XM_MD_ENA_HASH@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	4(%r12), %ecx
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	_XM_MD_ENA_PROM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	%ecx, -96(%rbp)                 ## 4-byte Spill
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	-80(%rbp), %rdi
	movl	$255, %esi
	movl	$32, %edx
	callq	_memset
LBB0_10:
	orl	-88(%rbp), %r13d                ## 4-byte Folded Reload
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %eax
	notl	%eax
	andl	%r13d, %eax
	orl	%ecx, %r13d
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, -96(%rbp)                 ## 4-byte Folded Reload
	cmovel	%eax, %r13d
	movq	_XM_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	-100(%rbp), %r14d               ## 4-byte Reload
	movl	%r14d, %esi
	movl	%r13d, %ecx
	callq	_xm_write32
	movq	_XM_HSM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_xm_outhash
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	8(%rbx), %rax
	movq	_FLOW_STAT_REM_SEND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_FLOW_STAT_SYMMETRIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_4:
	movq	_pause_mc_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdi
	callq	_genesis_add_filter
LBB0_5:
	testq	%r15, %r15
	je	LBB0_10
## %bb.6:
	testl	%r14d, %r14d
	jle	LBB0_10
## %bb.7:
	movl	$1, %r12d
	leaq	-80(%rbp), %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_genesis_add_filter
	movq	8(%r15), %r15
	testq	%r15, %r15
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	leal	1(%r12), %eax
	cmpl	%r14d, %r12d
	movl	%eax, %r12d
	jl	LBB0_8
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_XM_MODE,4,2                    ## @XM_MODE
	.comm	_XM_MD_ENA_HASH,4,2             ## @XM_MD_ENA_HASH
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_XM_MD_ENA_PROM,4,2             ## @XM_MD_ENA_PROM
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_FLOW_STAT_REM_SEND,8,3         ## @FLOW_STAT_REM_SEND
	.comm	_FLOW_STAT_SYMMETRIC,8,3        ## @FLOW_STAT_SYMMETRIC
	.comm	_pause_mc_addr,4,2              ## @pause_mc_addr
	.comm	_XM_HSM,4,2                     ## @XM_HSM
	.no_dead_strip	_genesis_set_multicast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function genesis_set_multicast
_genesis_set_multicast:                 ; @genesis_set_multicast
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	bl	_netdev_priv
	mov	x22, x0
	ldr	x19, [x0, #16]
	ldr	w20, [x0]
	ldr	w26, [x23]
	ldr	x27, [x23, #8]
Lloh3:
	adrp	x8, _XM_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XM_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_xm_read32
	mov	x21, x0
Lloh6:
	adrp	x8, _XM_MD_ENA_HASH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XM_MD_ENA_HASH@GOTPAGEOFF]
Lloh8:
	ldr	w25, [x8]
	ldr	w23, [x23, #4]
Lloh9:
	adrp	x8, _IFF_PROMISC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IFF_PROMISC@GOTPAGEOFF]
Lloh11:
	adrp	x9, _XM_MD_ENA_PROM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _XM_MD_ENA_PROM@GOTPAGEOFF]
Lloh13:
	ldr	w28, [x8]
Lloh14:
	ldr	w24, [x9]
Lloh15:
	adrp	x8, _IFF_ALLMULTI@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	add	x0, sp, #8
	tst	w8, w23
	b.eq	LBB0_2
; %bb.1:
	mov	w1, #255
	mov	w2, #32
	bl	_memset
	b	LBB0_9
LBB0_2:
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	x8, [x22, #8]
Lloh18:
	adrp	x9, _FLOW_STAT_REM_SEND@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FLOW_STAT_REM_SEND@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
Lloh21:
	adrp	x9, _FLOW_STAT_SYMMETRIC@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FLOW_STAT_SYMMETRIC@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_4:
Lloh24:
	adrp	x8, _pause_mc_addr@GOTPAGE
Lloh25:
	ldr	x8, [x8, _pause_mc_addr@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_genesis_add_filter
LBB0_5:
	cbz	x27, LBB0_9
; %bb.6:
	cmp	w26, #1
	b.lt	LBB0_9
; %bb.7:
	mov	w22, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x27]
	add	x0, sp, #8
	bl	_genesis_add_filter
	ldr	x27, [x27, #8]
	cmp	x27, #0
	ccmp	w22, w26, #0, ne
	add	w22, w22, #1
	b.lt	LBB0_8
LBB0_9:
	orr	w8, w25, w21
	bic	w9, w8, w24
	orr	w8, w24, w8
	tst	w28, w23
	csel	w3, w9, w8, eq
Lloh27:
	adrp	x8, _XM_MODE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _XM_MODE@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_xm_write32
Lloh30:
	adrp	x8, _XM_HSM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _XM_HSM@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_xm_outhash
	ldr	x8, [sp, #40]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_XM_MODE,4,2                    ; @XM_MODE
	.comm	_XM_MD_ENA_HASH,4,2             ; @XM_MD_ENA_HASH
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_XM_MD_ENA_PROM,4,2             ; @XM_MD_ENA_PROM
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_FLOW_STAT_REM_SEND,8,3         ; @FLOW_STAT_REM_SEND
	.comm	_FLOW_STAT_SYMMETRIC,8,3        ; @FLOW_STAT_SYMMETRIC
	.comm	_pause_mc_addr,4,2              ; @pause_mc_addr
	.comm	_XM_HSM,4,2                     ; @XM_HSM
	.no_dead_strip	_genesis_set_multicast
.subsections_via_symbols
