	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pegasus_set_multicast
_pegasus_set_multicast:                 ## @pegasus_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_RX_PROMISCUOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	movq	_EthCtrl2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	orl	%eax, (%rcx,%rdx,4)
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_netif_info
	jmp	LBB0_6
LBB0_2:
	movq	%rbx, %rdi
	callq	_netdev_mc_empty
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
LBB0_4:
	movq	_RX_MULTICAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	movq	_EthCtrl0@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	orl	%eax, (%rcx,%rdx,4)
	movq	_RX_PROMISCUOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_EthCtrl2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	andl	%eax, (%rcx,%rdx,4)
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_netif_dbg
	jmp	LBB0_6
LBB0_5:
	movq	_RX_MULTICAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	(%r14), %rcx
	movq	_EthCtrl0@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	andl	%eax, (%rcx,%rdx,4)
	movq	_RX_PROMISCUOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_EthCtrl2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	andl	%eax, (%rcx,%rdx,4)
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_update_eth_regs_async          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_RX_PROMISCUOUS,4,2             ## @RX_PROMISCUOUS
	.comm	_EthCtrl2,8,3                   ## @EthCtrl2
	.comm	_link,4,2                       ## @link
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Promiscuous mode enabled\n"

	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_RX_MULTICAST,4,2               ## @RX_MULTICAST
	.comm	_EthCtrl0,8,3                   ## @EthCtrl0
L_.str.1:                               ## @.str.1
	.asciz	"set allmulti\n"

	.no_dead_strip	_pegasus_set_multicast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pegasus_set_multicast
_pegasus_set_multicast:                 ; @pegasus_set_multicast
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _RX_PROMISCUOUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_PROMISCUOUS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x19]
Lloh6:
	adrp	x10, _EthCtrl2@GOTPAGE
Lloh7:
	ldr	x10, [x10, _EthCtrl2@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	str	w8, [x9, x10]
Lloh9:
	adrp	x8, _link@GOTPAGE
Lloh10:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x3, l_.str@PAGE
Lloh13:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_netif_info
	b	LBB0_6
LBB0_2:
	mov	x0, x20
	bl	_netdev_mc_empty
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x20]
Lloh14:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_4:
Lloh17:
	adrp	x8, _RX_MULTICAST@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RX_MULTICAST@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	x9, [x19]
Lloh20:
	adrp	x10, _EthCtrl0@GOTPAGE
Lloh21:
	ldr	x10, [x10, _EthCtrl0@GOTPAGEOFF]
Lloh22:
	ldr	x10, [x10]
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	str	w8, [x9, x10]
Lloh23:
	adrp	x8, _RX_PROMISCUOUS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RX_PROMISCUOUS@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x10, _EthCtrl2@GOTPAGE
Lloh27:
	ldr	x10, [x10, _EthCtrl2@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	bic	w8, w11, w8
	str	w8, [x9, x10]
Lloh29:
	adrp	x8, _link@GOTPAGE
Lloh30:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x3, l_.str.1@PAGE
Lloh33:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_netif_dbg
	b	LBB0_6
LBB0_5:
Lloh34:
	adrp	x8, _RX_MULTICAST@GOTPAGE
Lloh35:
	ldr	x8, [x8, _RX_MULTICAST@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	ldr	x9, [x19]
Lloh37:
	adrp	x10, _EthCtrl0@GOTPAGE
Lloh38:
	ldr	x10, [x10, _EthCtrl0@GOTPAGEOFF]
Lloh39:
	ldr	x10, [x10]
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	bic	w8, w11, w8
	str	w8, [x9, x10]
Lloh40:
	adrp	x8, _RX_PROMISCUOUS@GOTPAGE
Lloh41:
	ldr	x8, [x8, _RX_PROMISCUOUS@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	adrp	x10, _EthCtrl2@GOTPAGE
Lloh44:
	ldr	x10, [x10, _EthCtrl2@GOTPAGEOFF]
Lloh45:
	ldr	x10, [x10]
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	bic	w8, w11, w8
	str	w8, [x9, x10]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_update_eth_regs_async
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_RX_PROMISCUOUS,4,2             ; @RX_PROMISCUOUS
	.comm	_EthCtrl2,8,3                   ; @EthCtrl2
	.comm	_link,4,2                       ; @link
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Promiscuous mode enabled\n"

	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_RX_MULTICAST,4,2               ; @RX_MULTICAST
	.comm	_EthCtrl0,8,3                   ; @EthCtrl0
l_.str.1:                               ; @.str.1
	.asciz	"set allmulti\n"

	.no_dead_strip	_pegasus_set_multicast
.subsections_via_symbols
