	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns3_nic_set_rx_mode
_hns3_nic_set_rx_mode:                  ## @hns3_nic_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_hns3_get_handle
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_hns3_get_netdev_flags
	movl	%eax, %r15d
	movq	_hns3_nic_uc_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_hns3_nic_uc_unsync@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	___dev_uc_sync
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_netdev_err
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	jne	LBB0_3
## %bb.2:
	movq	_HNAE3_OVERFLOW_UPE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_3:
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_7
## %bb.4:
	movq	_hns3_nic_mc_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_hns3_nic_mc_unsync@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	___dev_mc_sync
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_netdev_err
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	jne	LBB0_7
## %bb.6:
	movq	_HNAE3_OVERFLOW_MPE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_7:
	movq	_HNAE3_VLAN_FLTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	%r15d, %esi
	movq	%r12, %rdi
	callq	_hns3_enable_vlan_filter
	movl	%r15d, (%r14)
	movq	%r12, %rdi
	movl	%r15d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hns3_update_promisc_mode       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hns3_nic_uc_sync,4,2           ## @hns3_nic_uc_sync
	.comm	_hns3_nic_uc_unsync,4,2         ## @hns3_nic_uc_unsync
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sync uc address fail\n"

	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_HNAE3_OVERFLOW_UPE,4,2         ## @HNAE3_OVERFLOW_UPE
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_hns3_nic_mc_sync,4,2           ## @hns3_nic_mc_sync
	.comm	_hns3_nic_mc_unsync,4,2         ## @hns3_nic_mc_unsync
L_.str.1:                               ## @.str.1
	.asciz	"sync mc address fail\n"

	.comm	_HNAE3_OVERFLOW_MPE,4,2         ## @HNAE3_OVERFLOW_MPE
	.comm	_HNAE3_VLAN_FLTR,4,2            ## @HNAE3_VLAN_FLTR
	.no_dead_strip	_hns3_nic_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 hns3_nic_set_rx_mode
_hns3_nic_set_rx_mode:                  ; @hns3_nic_set_rx_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	x19, x0
	bl	_hns3_get_handle
	mov	x20, x0
	mov	x0, x19
	bl	_hns3_get_netdev_flags
	mov	x21, x0
Lloh0:
	adrp	x8, _hns3_nic_uc_sync@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hns3_nic_uc_sync@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _hns3_nic_uc_unsync@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hns3_nic_uc_unsync@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	___dev_uc_sync
Lloh6:
	adrp	x23, _ENOSPC@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ENOSPC@GOTPAGEOFF]
	cbz	w0, LBB0_3
; %bb.1:
	mov	x22, x0
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	ldr	w8, [x23]
	cmn	w22, w8
	b.ne	LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, _HNAE3_OVERFLOW_UPE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HNAE3_OVERFLOW_UPE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	orr	w21, w8, w21
LBB0_3:
	ldr	w8, [x19]
Lloh13:
	adrp	x9, _IFF_MULTICAST@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IFF_MULTICAST@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.4:
Lloh16:
	adrp	x8, _hns3_nic_mc_sync@GOTPAGE
Lloh17:
	ldr	x8, [x8, _hns3_nic_mc_sync@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _hns3_nic_mc_unsync@GOTPAGE
Lloh20:
	ldr	x8, [x8, _hns3_nic_mc_unsync@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	bl	___dev_mc_sync
	cbz	w0, LBB0_7
; %bb.5:
	mov	x22, x0
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	ldr	w8, [x23]
	cmn	w22, w8
	b.ne	LBB0_7
; %bb.6:
Lloh24:
	adrp	x8, _HNAE3_OVERFLOW_MPE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HNAE3_OVERFLOW_MPE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	orr	w21, w8, w21
LBB0_7:
Lloh27:
	adrp	x8, _HNAE3_VLAN_FLTR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HNAE3_VLAN_FLTR@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	and	w1, w8, w21
	mov	x0, x19
	bl	_hns3_enable_vlan_filter
	str	w21, [x20]
	mov	x0, x19
	mov	x1, x21
	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
	b	_hns3_update_promisc_mode
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_hns3_nic_uc_sync,4,2           ; @hns3_nic_uc_sync
	.comm	_hns3_nic_uc_unsync,4,2         ; @hns3_nic_uc_unsync
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sync uc address fail\n"

	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_HNAE3_OVERFLOW_UPE,4,2         ; @HNAE3_OVERFLOW_UPE
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_hns3_nic_mc_sync,4,2           ; @hns3_nic_mc_sync
	.comm	_hns3_nic_mc_unsync,4,2         ; @hns3_nic_mc_unsync
l_.str.1:                               ; @.str.1
	.asciz	"sync mc address fail\n"

	.comm	_HNAE3_OVERFLOW_MPE,4,2         ; @HNAE3_OVERFLOW_MPE
	.comm	_HNAE3_VLAN_FLTR,4,2            ; @HNAE3_VLAN_FLTR
	.no_dead_strip	_hns3_nic_set_rx_mode
.subsections_via_symbols
