	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ehea_multicast_reg_helper
_ehea_multicast_reg_helper:             ## @ehea_multicast_reg_helper
	.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	_EHEA_BCMC_MULTICAST@GOTPCREL(%rip), %r12
	movq	_EHEA_BCMC_UNTAGGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r12), %eax
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%ecx, %ecx
	movq	_EHEA_BCMC_SCOPE_ALL@GOTPCREL(%rip), %r13
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.1:
	movl	(%r13), %ecx
LBB0_2:
	orl	%ecx, %eax
	movq	8(%rbx), %rcx
	movl	(%rcx), %edi
	movl	(%rbx), %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	movl	%r14d, %r9d
	callq	_ehea_h_reg_dereg_bcmc
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_EHEA_BCMC_VLANID_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r12), %edx
	movl	$0, %eax
	testq	%r15, %r15
	jne	LBB0_5
## %bb.4:
	movl	(%r13), %eax
LBB0_5:
	orl	%eax, %edx
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	movl	%r14d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ehea_h_reg_dereg_bcmc          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EHEA_BCMC_MULTICAST,4,2        ## @EHEA_BCMC_MULTICAST
	.comm	_EHEA_BCMC_UNTAGGED,4,2         ## @EHEA_BCMC_UNTAGGED
	.comm	_EHEA_BCMC_SCOPE_ALL,4,2        ## @EHEA_BCMC_SCOPE_ALL
	.comm	_EHEA_BCMC_VLANID_ALL,4,2       ## @EHEA_BCMC_VLANID_ALL
	.no_dead_strip	_ehea_multicast_reg_helper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ehea_multicast_reg_helper
_ehea_multicast_reg_helper:             ; @ehea_multicast_reg_helper
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _EHEA_BCMC_MULTICAST@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EHEA_BCMC_MULTICAST@GOTPAGEOFF]
Lloh2:
	adrp	x8, _EHEA_BCMC_UNTAGGED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EHEA_BCMC_UNTAGGED@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh4:
	ldr	w8, [x8]
	orr	w8, w8, w9
Lloh5:
	adrp	x23, _EHEA_BCMC_SCOPE_ALL@GOTPAGE
Lloh6:
	ldr	x23, [x23, _EHEA_BCMC_SCOPE_ALL@GOTPAGEOFF]
	ldr	w9, [x23]
	cmp	x1, #0
	csel	w9, w9, wzr, eq
	orr	w2, w8, w9
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	ldr	w1, [x21]
	mov	x3, x20
	mov	w4, #0
	mov	x5, x19
	bl	_ehea_h_reg_dereg_bcmc
	cbz	x0, LBB0_2
; %bb.1:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w8, [x22]
Lloh7:
	adrp	x9, _EHEA_BCMC_VLANID_ALL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _EHEA_BCMC_VLANID_ALL@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x23]
	cmp	x20, #0
	csel	w9, w9, wzr, eq
	orr	w2, w8, w9
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	ldr	w1, [x21]
	mov	x3, x20
	mov	w4, #0
	mov	x5, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ehea_h_reg_dereg_bcmc
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EHEA_BCMC_MULTICAST,4,2        ; @EHEA_BCMC_MULTICAST
	.comm	_EHEA_BCMC_UNTAGGED,4,2         ; @EHEA_BCMC_UNTAGGED
	.comm	_EHEA_BCMC_SCOPE_ALL,4,2        ; @EHEA_BCMC_SCOPE_ALL
	.comm	_EHEA_BCMC_VLANID_ALL,4,2       ; @EHEA_BCMC_VLANID_ALL
	.no_dead_strip	_ehea_multicast_reg_helper
.subsections_via_symbols
