	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tse_set_rx_mode
_tse_set_rx_mode:                       ## @tse_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_spin_lock
	movl	(%rbx), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.1:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
LBB0_4:
	movl	4(%r14), %ebx
	movq	_command_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tse_csroffs
	movq	_MAC_CMDCFG_PROMIS_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_tse_set_bit
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_netdev_mc_empty
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_netdev_uc_empty
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	4(%r14), %ebx
	movq	_command_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tse_csroffs
	movq	_MAC_CMDCFG_PROMIS_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_tse_clear_bit
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_command_config,4,2             ## @command_config
	.comm	_MAC_CMDCFG_PROMIS_EN,4,2       ## @MAC_CMDCFG_PROMIS_EN
	.no_dead_strip	_tse_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 tse_set_rx_mode
_tse_set_rx_mode:                       ; @tse_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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	bl	_spin_lock
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_2:
	ldr	w20, [x19, #4]
Lloh6:
	adrp	x8, _command_config@GOTPAGE
Lloh7:
	ldr	x8, [x8, _command_config@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_tse_csroffs
	mov	x1, x0
Lloh9:
	adrp	x8, _MAC_CMDCFG_PROMIS_EN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAC_CMDCFG_PROMIS_EN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_tse_set_bit
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock
LBB0_4:
	mov	x0, x20
	bl	_netdev_mc_empty
	cbz	w0, LBB0_2
; %bb.5:
	mov	x0, x20
	bl	_netdev_uc_empty
	cbz	w0, LBB0_2
; %bb.6:
	ldr	w20, [x19, #4]
Lloh12:
	adrp	x8, _command_config@GOTPAGE
Lloh13:
	ldr	x8, [x8, _command_config@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_tse_csroffs
	mov	x1, x0
Lloh15:
	adrp	x8, _MAC_CMDCFG_PROMIS_EN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MAC_CMDCFG_PROMIS_EN@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_tse_clear_bit
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_command_config,4,2             ; @command_config
	.comm	_MAC_CMDCFG_PROMIS_EN,4,2       ; @MAC_CMDCFG_PROMIS_EN
	.no_dead_strip	_tse_set_rx_mode
.subsections_via_symbols
