	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enic_set_rx_mode
_enic_set_rx_mode:                      ## @enic_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, %r13
	callq	_netdev_priv
	movl	(%r13), %ecx
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	movq	%rax, %r12
	setne	-43(%rbp)                       ## 1-byte Folded Spill
	movq	_IFF_BROADCAST@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	testl	%ecx, (%rax)
	setne	-42(%rbp)                       ## 1-byte Folded Spill
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rdx
	movb	$1, -41(%rbp)                   ## 1-byte Folded Spill
	movb	$1, %al
	testl	%ecx, (%rdx)
	jne	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_netdev_uc_count
	movq	_ENIC_UNICAST_PERFECT_FILTERS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setg	%al
	movl	(%r13), %ecx
LBB0_2:
	movzbl	%al, %ebx
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	testl	%ecx, %edx
	jne	LBB0_6
## %bb.3:
	movq	%r13, %rdi
	callq	_netdev_mc_count
	movq	_ENIC_MULTICAST_PERFECT_FILTERS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	setg	-41(%rbp)                       ## 1-byte Folded Spill
	jle	LBB0_5
## %bb.4:
	movl	(%r14), %edx
LBB0_5:
	movl	(%r13), %ecx
LBB0_6:
	orl	%edx, %ecx
	movl	%ebx, %eax
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.7:
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	orl	%eax, %ecx
	cmpl	%ecx, (%r12)
	jne	LBB0_9
## %bb.10:
	testl	%ebx, %ebx
	je	LBB0_11
	jmp	LBB0_12
LBB0_9:
	xorl	%edx, %edx
	movb	-43(%rbp), %al                  ## 1-byte Reload
	movb	%al, %dl
	movb	-42(%rbp), %al                  ## 1-byte Reload
	movb	%al, %r15b
	movzbl	-41(%rbp), %r9d                 ## 1-byte Folded Reload
	movl	%ecx, (%r12)
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	callq	_enic_dev_packet_filter
	testl	%ebx, %ebx
	jne	LBB0_12
LBB0_11:
	movq	_enic_uc_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_enic_uc_unsync@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	___dev_uc_sync
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_13
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_enic_mc_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_enic_mc_unsync@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___dev_mc_sync                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_IFF_BROADCAST,4,2              ## @IFF_BROADCAST
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_ENIC_UNICAST_PERFECT_FILTERS,8,3 ## @ENIC_UNICAST_PERFECT_FILTERS
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_ENIC_MULTICAST_PERFECT_FILTERS,8,3 ## @ENIC_MULTICAST_PERFECT_FILTERS
	.comm	_enic_uc_sync,4,2               ## @enic_uc_sync
	.comm	_enic_uc_unsync,4,2             ## @enic_uc_unsync
	.comm	_enic_mc_sync,4,2               ## @enic_mc_sync
	.comm	_enic_mc_unsync,4,2             ## @enic_mc_unsync
	.no_dead_strip	_enic_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 enic_set_rx_mode
_enic_set_rx_mode:                      ; @enic_set_rx_mode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IFF_MULTICAST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_MULTICAST@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w21, ne
Lloh3:
	adrp	x9, _IFF_BROADCAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_BROADCAST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w22, ne
Lloh6:
	adrp	x25, _IFF_PROMISC@GOTPAGE
Lloh7:
	ldr	x25, [x25, _IFF_PROMISC@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w23, #1
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_netdev_uc_count
Lloh8:
	adrp	x8, _ENIC_UNICAST_PERFECT_FILTERS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENIC_UNICAST_PERFECT_FILTERS@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w23, gt
	ldr	w8, [x19]
LBB0_3:
Lloh11:
	adrp	x26, _IFF_ALLMULTI@GOTPAGE
Lloh12:
	ldr	x26, [x26, _IFF_ALLMULTI@GOTPAGEOFF]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	w24, #1
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_netdev_mc_count
Lloh13:
	adrp	x8, _ENIC_MULTICAST_PERFECT_FILTERS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENIC_MULTICAST_PERFECT_FILTERS@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w24, gt
	ldr	w8, [x19]
	ldr	w9, [x26]
	csel	w9, w9, wzr, gt
LBB0_6:
	orr	w8, w9, w8
	ldr	w9, [x25]
	cmp	w23, #0
	csel	w9, w9, wzr, ne
	orr	w8, w8, w9
	ldr	w9, [x20]
	cmp	w9, w8
	b.eq	LBB0_8
; %bb.7:
	str	w8, [x20]
	mov	x0, x20
	mov	w1, #1
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_enic_dev_packet_filter
LBB0_8:
	tbnz	w23, #0, LBB0_10
; %bb.9:
Lloh16:
	adrp	x8, _enic_uc_sync@GOTPAGE
Lloh17:
	ldr	x8, [x8, _enic_uc_sync@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _enic_uc_unsync@GOTPAGE
Lloh20:
	ldr	x8, [x8, _enic_uc_unsync@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	bl	___dev_uc_sync
	tbz	w24, #0, LBB0_11
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh22:
	adrp	x8, _enic_mc_sync@GOTPAGE
Lloh23:
	ldr	x8, [x8, _enic_mc_sync@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _enic_mc_unsync@GOTPAGE
Lloh26:
	ldr	x8, [x8, _enic_mc_unsync@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	___dev_mc_sync
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_IFF_BROADCAST,4,2              ; @IFF_BROADCAST
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_ENIC_UNICAST_PERFECT_FILTERS,8,3 ; @ENIC_UNICAST_PERFECT_FILTERS
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_ENIC_MULTICAST_PERFECT_FILTERS,8,3 ; @ENIC_MULTICAST_PERFECT_FILTERS
	.comm	_enic_uc_sync,4,2               ; @enic_uc_sync
	.comm	_enic_uc_unsync,4,2             ; @enic_uc_unsync
	.comm	_enic_mc_sync,4,2               ; @enic_mc_sync
	.comm	_enic_mc_unsync,4,2             ; @enic_mc_unsync
	.no_dead_strip	_enic_set_rx_mode
.subsections_via_symbols
