	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_set_all_multicast_mode
_xgbe_set_all_multicast_mode:           ## @xgbe_set_all_multicast_mode
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	testl	%esi, %esi
	setne	%bl
	movq	_MAC_PFR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_PM@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_XGMAC_IOREAD_BITS
	cmpl	%ebx, %eax
	je	LBB0_2
## %bb.1:
	testl	%r15d, %r15d
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r8
	cmoveq	%rax, %r8
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_dbg
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	callq	_XGMAC_IOWRITE_BITS
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_PFR,4,2                    ## @MAC_PFR
	.comm	_PM,4,2                         ## @PM
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s allmulti mode\n"

L_.str.1:                               ## @.str.1
	.asciz	"entering"

L_.str.2:                               ## @.str.2
	.asciz	"leaving"

	.no_dead_strip	_xgbe_set_all_multicast_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_set_all_multicast_mode
_xgbe_set_all_multicast_mode:           ; @xgbe_set_all_multicast_mode
	.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	x21, x1
	mov	x20, x0
	cmp	w1, #0
	cset	w19, ne
Lloh0:
	adrp	x22, _MAC_PFR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MAC_PFR@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x23, _PM@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PM@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_XGMAC_IOREAD_BITS
	cmp	w0, w19
	b.eq	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _drv@GOTPAGE
Lloh5:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldr	w2, [x20]
Lloh7:
	adrp	x8, l_.str.1@PAGE
Lloh8:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh9:
	adrp	x9, l_.str.2@PAGE
Lloh10:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w21, #0
	csel	x4, x9, x8, eq
Lloh11:
	adrp	x3, l_.str@PAGE
Lloh12:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netif_dbg
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x20
	mov	x3, x19
	bl	_XGMAC_IOWRITE_BITS
LBB0_2:
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_PFR,4,2                    ; @MAC_PFR
	.comm	_PM,4,2                         ; @PM
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s allmulti mode\n"

l_.str.1:                               ; @.str.1
	.asciz	"entering"

l_.str.2:                               ; @.str.2
	.asciz	"leaving"

	.no_dead_strip	_xgbe_set_all_multicast_mode
.subsections_via_symbols
