	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eth_rx_mode
_eth_rx_mode:                           ## @eth_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	8(%rax), %r15
	movq	(%r15), %rdi
	callq	___raw_readl
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%rbx), %ecx
	testl	%edx, (%r14)
	je	LBB0_5
## %bb.1:
	cmpl	$3, %ecx
	jne	LBB0_4
## %bb.2:
	movq	_PROMISC_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$4, %edi
	jmp	LBB0_3
LBB0_5:
	cmpl	$3, %ecx
	jne	LBB0_7
## %bb.6:
	movq	_PROMISC_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$4, %edx
	jmp	LBB0_8
LBB0_4:
	movl	$1, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	movq	_PROMISC_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
LBB0_3:
	shll	%cl, %edi
	orl	%eax, %edi
	jmp	LBB0_9
LBB0_7:
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movq	_PROMISC_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
LBB0_8:
	shll	%cl, %edx
	notl	%edx
	andl	%edx, %eax
	movl	%eax, %edi
LBB0_9:
	movq	(%r15), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___raw_writel                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_PROMISC_OFFSET,4,2             ## @PROMISC_OFFSET
	.no_dead_strip	_eth_rx_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eth_rx_mode
_eth_rx_mode:                           ; @eth_rx_mode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x21, [x0, #8]
	ldr	x0, [x21]
	bl	___raw_readl
	ldr	w9, [x19]
Lloh0:
	adrp	x8, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	ldr	w8, [x20]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #3
	b.ne	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _PROMISC_OFFSET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PROMISC_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #4
	lsl	w8, w9, w8
	orr	w0, w8, w0
	b	LBB0_8
LBB0_3:
	cmp	w8, #3
	b.ne	LBB0_6
; %bb.4:
Lloh6:
	adrp	x8, _PROMISC_OFFSET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PROMISC_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	w9, #4
	lsl	w8, w9, w8
	b	LBB0_7
LBB0_5:
	mov	w9, #1
	lsl	w8, w9, w8
Lloh9:
	adrp	x9, _PROMISC_OFFSET@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PROMISC_OFFSET@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w0, w8, w0
	b	LBB0_8
LBB0_6:
	mov	w9, #1
	lsl	w8, w9, w8
Lloh12:
	adrp	x9, _PROMISC_OFFSET@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PROMISC_OFFSET@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	lsl	w8, w8, w9
LBB0_7:
	bic	w0, w0, w8
LBB0_8:
	ldr	x1, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	___raw_writel
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_PROMISC_OFFSET,4,2             ; @PROMISC_OFFSET
	.no_dead_strip	_eth_rx_mode
.subsections_via_symbols
