	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_nic_set_rx_mode
_hns_nic_set_rx_mode:                   ## @hns_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%esi, %esi
	andl	(%rbx), %ecx
	setne	%sil
	callq	*%rax
LBB0_2:
	movq	%rbx, %rdi
	callq	_hns_set_multicast_list
	movq	_hns_nic_uc_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_hns_nic_uc_unsync@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	___dev_uc_sync
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_netdev_err                     ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_hns_nic_uc_sync,4,2            ## @hns_nic_uc_sync
	.comm	_hns_nic_uc_unsync,4,2          ## @hns_nic_uc_unsync
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sync uc address fail\n"

	.no_dead_strip	_hns_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 hns_nic_set_rx_mode
_hns_nic_set_rx_mode:                   ; @hns_nic_set_rx_mode
	.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	x19, x0
	bl	_netdev_priv
	ldr	x0, [x0]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w9, [x19]
Lloh0:
	adrp	x10, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	cset	w1, ne
	blr	x8
LBB0_2:
	mov	x0, x19
	bl	_hns_set_multicast_list
Lloh3:
	adrp	x8, _hns_nic_uc_sync@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hns_nic_uc_sync@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _hns_nic_uc_unsync@GOTPAGE
Lloh7:
	ldr	x8, [x8, _hns_nic_uc_unsync@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	___dev_uc_sync
	cbz	x0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netdev_err
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_hns_nic_uc_sync,4,2            ; @hns_nic_uc_sync
	.comm	_hns_nic_uc_unsync,4,2          ; @hns_nic_uc_unsync
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sync uc address fail\n"

	.no_dead_strip	_hns_nic_set_rx_mode
.subsections_via_symbols
