	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ionic_set_rx_mode
_ionic_set_rx_mode:                     ## @ionic_set_rx_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
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movl	(%r15), %eax
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	%eax, %ebx
	je	LBB0_2
## %bb.1:
	movq	_IONIC_RX_MODE_F_MULTICAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_2:
	movq	_IONIC_RX_MODE_F_UNICAST@GOTPCREL(%rip), %rdx
	movq	_IFF_BROADCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_4
## %bb.3:
	movq	_IONIC_RX_MODE_F_BROADCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_4:
	orl	(%rdx), %ebx
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_IONIC_RX_MODE_F_PROMISC@GOTPCREL(%rip), %rsi
	andl	%eax, %edx
	je	LBB0_6
## %bb.5:
	movl	(%rsi), %edx
LBB0_6:
	orl	%edx, %ecx
	orl	%ecx, %ebx
	movq	16(%r14), %r13
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rdx
	movq	_IONIC_RX_MODE_F_ALLMULTI@GOTPCREL(%rip), %rcx
	andl	(%rdx), %eax
	je	LBB0_8
## %bb.7:
	movl	(%rcx), %eax
LBB0_8:
	orl	%eax, %ebx
	movq	_ionic_addr_add@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ionic_addr_del@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	___dev_uc_sync
	movl	4(%r13), %edi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_netdev_uc_count
	incl	%eax
	cmpl	%r12d, %eax
	jbe	LBB0_10
## %bb.9:
	movq	_IONIC_RX_MODE_F_PROMISC@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	$1, (%r14)
	jmp	LBB0_13
LBB0_10:
	cmpl	$0, (%r14)
	je	LBB0_13
## %bb.11:
	movl	$0, (%r14)
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	jne	LBB0_13
## %bb.12:
	movq	_IONIC_RX_MODE_F_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
LBB0_13:
	movq	_ionic_addr_add@GOTPCREL(%rip), %rax
	movq	_ionic_addr_del@GOTPCREL(%rip), %rcx
	movl	(%rax), %esi
	movl	(%rcx), %edx
	movq	%r15, %rdi
	callq	___dev_mc_sync
	movl	(%r13), %edi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_netdev_mc_count
	cmpl	%r12d, %eax
	jbe	LBB0_15
## %bb.14:
	movq	_IONIC_RX_MODE_F_ALLMULTI@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	$1, 4(%r14)
	cmpl	%ebx, 8(%r14)
	je	LBB0_19
	jmp	LBB0_20
LBB0_15:
	cmpl	$0, 4(%r14)
	movq	_IONIC_RX_MODE_F_ALLMULTI@GOTPCREL(%rip), %rcx
	je	LBB0_18
## %bb.16:
	movl	$0, 4(%r14)
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_17
LBB0_18:
	cmpl	%ebx, 8(%r14)
	jne	LBB0_20
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movl	(%rcx), %eax
	notl	%eax
	andl	%eax, %ebx
	cmpl	%ebx, 8(%r14)
	je	LBB0_19
LBB0_20:
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__ionic_lif_rx_mode             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IONIC_RX_MODE_F_UNICAST,4,2    ## @IONIC_RX_MODE_F_UNICAST
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_IONIC_RX_MODE_F_MULTICAST,4,2  ## @IONIC_RX_MODE_F_MULTICAST
	.comm	_IFF_BROADCAST,4,2              ## @IFF_BROADCAST
	.comm	_IONIC_RX_MODE_F_BROADCAST,4,2  ## @IONIC_RX_MODE_F_BROADCAST
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IONIC_RX_MODE_F_PROMISC,4,2    ## @IONIC_RX_MODE_F_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_IONIC_RX_MODE_F_ALLMULTI,4,2   ## @IONIC_RX_MODE_F_ALLMULTI
	.comm	_ionic_addr_add,4,2             ## @ionic_addr_add
	.comm	_ionic_addr_del,4,2             ## @ionic_addr_del
	.no_dead_strip	_ionic_set_rx_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ionic_set_rx_mode
_ionic_set_rx_mode:                     ; @ionic_set_rx_mode
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x23, [x0, #16]
Lloh0:
	adrp	x8, _IONIC_RX_MODE_F_UNICAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IONIC_RX_MODE_F_UNICAST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x20]
Lloh3:
	adrp	x10, _IFF_MULTICAST@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IFF_MULTICAST@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _IONIC_RX_MODE_F_MULTICAST@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IONIC_RX_MODE_F_MULTICAST@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w10, wzr, w11, eq
	orr	w8, w10, w8
Lloh9:
	adrp	x10, _IFF_BROADCAST@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IFF_BROADCAST@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _IONIC_RX_MODE_F_BROADCAST@GOTPAGE
Lloh13:
	ldr	x11, [x11, _IONIC_RX_MODE_F_BROADCAST@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w10, wzr, w11, eq
	orr	w8, w8, w10
Lloh15:
	adrp	x25, _IFF_PROMISC@GOTPAGE
Lloh16:
	ldr	x25, [x25, _IFF_PROMISC@GOTPAGEOFF]
	ldr	w10, [x25]
Lloh17:
	adrp	x28, _IONIC_RX_MODE_F_PROMISC@GOTPAGE
Lloh18:
	ldr	x28, [x28, _IONIC_RX_MODE_F_PROMISC@GOTPAGEOFF]
	ldr	w11, [x28]
	tst	w10, w9
	csel	w10, wzr, w11, eq
	orr	w8, w8, w10
Lloh19:
	adrp	x10, _IFF_ALLMULTI@GOTPAGE
Lloh20:
	ldr	x10, [x10, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
Lloh22:
	adrp	x24, _IONIC_RX_MODE_F_ALLMULTI@GOTPAGE
Lloh23:
	ldr	x24, [x24, _IONIC_RX_MODE_F_ALLMULTI@GOTPAGEOFF]
	ldr	w11, [x24]
	tst	w10, w9
	csel	w9, wzr, w11, eq
	orr	w21, w8, w9
Lloh24:
	adrp	x26, _ionic_addr_add@GOTPAGE
Lloh25:
	ldr	x26, [x26, _ionic_addr_add@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh26:
	adrp	x27, _ionic_addr_del@GOTPAGE
Lloh27:
	ldr	x27, [x27, _ionic_addr_del@GOTPAGEOFF]
	ldr	w2, [x27]
	mov	x0, x20
	bl	___dev_uc_sync
	ldr	w0, [x23, #4]
	bl	_le32_to_cpu
	mov	x22, x0
	mov	x0, x20
	bl	_netdev_uc_count
	add	w8, w0, #1
	cmp	w8, w22
	b.ls	LBB0_2
; %bb.1:
	ldr	w8, [x28]
	orr	w21, w8, w21
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_5
LBB0_2:
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.3:
	str	wzr, [x19]
	ldr	w8, [x20]
	ldr	w9, [x25]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.4:
	ldr	w8, [x28]
	bic	w21, w21, w8
LBB0_5:
	ldr	w1, [x26]
	ldr	w2, [x27]
	mov	x0, x20
	bl	___dev_mc_sync
	ldr	w0, [x23]
	bl	_le32_to_cpu
	mov	x22, x0
	mov	x0, x20
	bl	_netdev_mc_count
	cmp	w0, w22
	b.ls	LBB0_7
; %bb.6:
	ldr	w8, [x24]
	orr	w21, w8, w21
	mov	w8, #1
	str	w8, [x19, #4]
	b	LBB0_10
LBB0_7:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_10
; %bb.8:
	str	wzr, [x19, #4]
	ldr	w8, [x20]
Lloh28:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh29:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_10
; %bb.9:
	ldr	w8, [x24]
	bic	w21, w21, w8
LBB0_10:
	ldr	w8, [x19, #8]
	cmp	w8, w21
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	__ionic_lif_rx_mode
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_IONIC_RX_MODE_F_UNICAST,4,2    ; @IONIC_RX_MODE_F_UNICAST
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_IONIC_RX_MODE_F_MULTICAST,4,2  ; @IONIC_RX_MODE_F_MULTICAST
	.comm	_IFF_BROADCAST,4,2              ; @IFF_BROADCAST
	.comm	_IONIC_RX_MODE_F_BROADCAST,4,2  ; @IONIC_RX_MODE_F_BROADCAST
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IONIC_RX_MODE_F_PROMISC,4,2    ; @IONIC_RX_MODE_F_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_IONIC_RX_MODE_F_ALLMULTI,4,2   ; @IONIC_RX_MODE_F_ALLMULTI
	.comm	_ionic_addr_add,4,2             ; @ionic_addr_add
	.comm	_ionic_addr_del,4,2             ; @ionic_addr_del
	.no_dead_strip	_ionic_set_rx_mode
.subsections_via_symbols
