	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nps_enet_set_rx_mode
_nps_enet_set_rx_mode:                  ## @nps_enet_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	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rbx), %ecx
	movq	_CFG_2_DISK_DA_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	notl	%esi
	andl	(%rax), %esi
	testl	%ecx, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_NPS_ENET_ENABLE@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_NPS_ENET_DISABLE@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %edx
	movq	_CFG_2_DISK_DA_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edx, %edi
	shll	%cl, %edi
	orl	%esi, %edi
	movq	_CFG_2_DISK_MC_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_CFG_2_DISK_MC_MASK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	notl	%esi
	shll	%cl, %edx
	andl	%edi, %esi
	orl	%esi, %edx
	movq	_NPS_ENET_REG_GE_MAC_CFG_2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_nps_enet_reg_set               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_CFG_2_DISK_DA_MASK,4,2         ## @CFG_2_DISK_DA_MASK
	.comm	_NPS_ENET_DISABLE,4,2           ## @NPS_ENET_DISABLE
	.comm	_CFG_2_DISK_DA_SHIFT,4,2        ## @CFG_2_DISK_DA_SHIFT
	.comm	_CFG_2_DISK_MC_MASK,4,2         ## @CFG_2_DISK_MC_MASK
	.comm	_CFG_2_DISK_MC_SHIFT,4,2        ## @CFG_2_DISK_MC_SHIFT
	.comm	_NPS_ENET_ENABLE,4,2            ## @NPS_ENET_ENABLE
	.comm	_NPS_ENET_REG_GE_MAC_CFG_2,4,2  ## @NPS_ENET_REG_GE_MAC_CFG_2
	.no_dead_strip	_nps_enet_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 nps_enet_set_rx_mode
_nps_enet_set_rx_mode:                  ; @nps_enet_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	w8, [x0]
	ldr	w9, [x19]
Lloh0:
	adrp	x10, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	adrp	x11, _CFG_2_DISK_DA_MASK@GOTPAGE
Lloh3:
	ldr	x11, [x11, _CFG_2_DISK_DA_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w11, [x11]
	bic	w8, w8, w11
Lloh5:
	adrp	x11, _NPS_ENET_ENABLE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _NPS_ENET_ENABLE@GOTPAGEOFF]
Lloh7:
	adrp	x12, _NPS_ENET_DISABLE@GOTPAGE
Lloh8:
	ldr	x12, [x12, _NPS_ENET_DISABLE@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	tst	w10, w9
	csel	x9, x11, x12, eq
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _CFG_2_DISK_DA_SHIFT@GOTPAGE
Lloh11:
	ldr	x10, [x10, _CFG_2_DISK_DA_SHIFT@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh13:
	adrp	x10, _CFG_2_DISK_MC_MASK@GOTPAGE
Lloh14:
	ldr	x10, [x10, _CFG_2_DISK_MC_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	bic	w8, w8, w10
Lloh16:
	adrp	x10, _CFG_2_DISK_MC_SHIFT@GOTPAGE
Lloh17:
	ldr	x10, [x10, _CFG_2_DISK_MC_SHIFT@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w8, w9
Lloh19:
	adrp	x8, _NPS_ENET_REG_GE_MAC_CFG_2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NPS_ENET_REG_GE_MAC_CFG_2@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nps_enet_reg_set
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_CFG_2_DISK_DA_MASK,4,2         ; @CFG_2_DISK_DA_MASK
	.comm	_NPS_ENET_DISABLE,4,2           ; @NPS_ENET_DISABLE
	.comm	_CFG_2_DISK_DA_SHIFT,4,2        ; @CFG_2_DISK_DA_SHIFT
	.comm	_CFG_2_DISK_MC_MASK,4,2         ; @CFG_2_DISK_MC_MASK
	.comm	_CFG_2_DISK_MC_SHIFT,4,2        ; @CFG_2_DISK_MC_SHIFT
	.comm	_NPS_ENET_ENABLE,4,2            ; @NPS_ENET_ENABLE
	.comm	_NPS_ENET_REG_GE_MAC_CFG_2,4,2  ; @NPS_ENET_REG_GE_MAC_CFG_2
	.no_dead_strip	_nps_enet_set_rx_mode
.subsections_via_symbols
