	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ehea_allmulti
_ehea_allmulti:                         ## @ehea_allmulti
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.6:
	testl	%ebx, %ebx
	jne	LBB0_9
## %bb.7:
	movq	_H_DEREG_BCMC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_ehea_multicast_reg_helper
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
LBB0_1:
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.2:
	movq	%r14, %rdi
	callq	_ehea_drop_multicast_list
	movq	_H_REG_BCMC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_ehea_multicast_reg_helper
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rsi
LBB0_5:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_err                     ## TAILCALL
LBB0_8:
	movl	$0, (%r15)
	jmp	LBB0_9
LBB0_3:
	movl	$1, (%r15)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H_REG_BCMC,4,2                 ## @H_REG_BCMC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed enabling IFF_ALLMULTI\n"

	.comm	_H_DEREG_BCMC,4,2               ## @H_DEREG_BCMC
L_.str.1:                               ## @.str.1
	.asciz	"failed disabling IFF_ALLMULTI\n"

	.no_dead_strip	_ehea_allmulti
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ehea_allmulti
_ehea_allmulti:                         ; @ehea_allmulti
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	cbnz	w21, LBB0_10
; %bb.2:
Lloh0:
	adrp	x8, _H_DEREG_BCMC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H_DEREG_BCMC@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_ehea_multicast_reg_helper
	cbz	x0, LBB0_8
; %bb.3:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_4:
	cbz	w21, LBB0_10
; %bb.5:
	mov	x0, x19
	bl	_ehea_drop_multicast_list
Lloh5:
	adrp	x8, _H_REG_BCMC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _H_REG_BCMC@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_ehea_multicast_reg_helper
	cbz	x0, LBB0_9
; %bb.6:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_netdev_err
LBB0_8:
	str	wzr, [x20]
	b	LBB0_10
LBB0_9:
	mov	w8, #1
	str	w8, [x20]
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_H_REG_BCMC,4,2                 ; @H_REG_BCMC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed enabling IFF_ALLMULTI\n"

	.comm	_H_DEREG_BCMC,4,2               ; @H_DEREG_BCMC
l_.str.1:                               ; @.str.1
	.asciz	"failed disabling IFF_ALLMULTI\n"

	.no_dead_strip	_ehea_allmulti
.subsections_via_symbols
