	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_setup_rctl
_e1000_setup_rctl:                      ## @e1000_setup_rctl
	.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
	movq	_RCTL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_er32
	movq	_E1000_RCTL_MO_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$3, %edx
	shll	%cl, %edx
	notl	%edx
	andl	%eax, %edx
	movq	_E1000_RCTL_BAM@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_E1000_RCTL_LBM_NO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%r8d, %eax
	movl	16(%rbx), %esi
	shll	%cl, %esi
	orl	%edx, %eax
	movq	_E1000_RCTL_RDMTS_HALF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	%esi, %eax
	movq	_E1000_RCTL_SBP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	orl	%eax, %edx
	movl	%ecx, %esi
	notl	%esi
	andl	%eax, %esi
	cmpl	$1, 20(%rbx)
	cmovel	%edx, %esi
	movq	8(%rbx), %r10
	movq	(%r10), %rax
	movq	_ETH_DATA_LEN@GOTPCREL(%rip), %r9
	movq	_E1000_RCTL_LPE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edx
	movl	%edx, %edi
	notl	%edi
	andl	%esi, %edi
	orl	%edx, %esi
	cmpq	(%r9), %rax
	cmovlel	%edi, %esi
	movq	_E1000_RCTL_SZ_4096@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edi
	notl	%edi
	andl	%esi, %edi
	movq	_E1000_RCTL_BSEX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	%esi, %edi
	movl	(%rbx), %ebx
	cmpl	$128, %ebx
	je	LBB0_5
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_4
## %bb.2:
	cmpl	$131, %ebx
	jne	LBB0_3
## %bb.6:
	movq	_E1000_RCTL_SZ_16384@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_E1000_RCTL_SZ_8192@GOTPCREL(%rip), %rax
LBB0_7:
	orl	(%rax), %edi
	jmp	LBB0_8
LBB0_4:
	orl	%eax, %edi
LBB0_8:
	movl	%edi, %esi
	jmp	LBB0_9
LBB0_3:
	movq	_E1000_RCTL_SZ_2048@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	notl	%esi
	andl	%edi, %esi
LBB0_9:
	movq	_NETIF_F_RXALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r10)
	je	LBB0_11
## %bb.10:
	movq	_E1000_RCTL_PMCF@GOTPCREL(%rip), %rax
	orl	%r8d, %esi
	orl	%ecx, %esi
	orl	(%rax), %esi
	movq	_E1000_RCTL_VFE@GOTPCREL(%rip), %rax
	movq	_E1000_RCTL_DPF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_E1000_RCTL_CFIEN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %esi
LBB0_11:
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ew32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RCTL,4,2                       ## @RCTL
	.comm	_E1000_RCTL_MO_SHIFT,4,2        ## @E1000_RCTL_MO_SHIFT
	.comm	_E1000_RCTL_BAM,4,2             ## @E1000_RCTL_BAM
	.comm	_E1000_RCTL_LBM_NO,4,2          ## @E1000_RCTL_LBM_NO
	.comm	_E1000_RCTL_RDMTS_HALF,4,2      ## @E1000_RCTL_RDMTS_HALF
	.comm	_E1000_RCTL_SBP,4,2             ## @E1000_RCTL_SBP
	.comm	_ETH_DATA_LEN,8,3               ## @ETH_DATA_LEN
	.comm	_E1000_RCTL_LPE,4,2             ## @E1000_RCTL_LPE
	.comm	_E1000_RCTL_SZ_4096,4,2         ## @E1000_RCTL_SZ_4096
	.comm	_E1000_RCTL_BSEX,4,2            ## @E1000_RCTL_BSEX
	.comm	_E1000_RCTL_SZ_2048,4,2         ## @E1000_RCTL_SZ_2048
	.comm	_E1000_RCTL_SZ_8192,4,2         ## @E1000_RCTL_SZ_8192
	.comm	_E1000_RCTL_SZ_16384,4,2        ## @E1000_RCTL_SZ_16384
	.comm	_NETIF_F_RXALL,4,2              ## @NETIF_F_RXALL
	.comm	_E1000_RCTL_PMCF,4,2            ## @E1000_RCTL_PMCF
	.comm	_E1000_RCTL_VFE,4,2             ## @E1000_RCTL_VFE
	.comm	_E1000_RCTL_DPF,4,2             ## @E1000_RCTL_DPF
	.comm	_E1000_RCTL_CFIEN,4,2           ## @E1000_RCTL_CFIEN
	.no_dead_strip	_e1000_setup_rctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_setup_rctl
_e1000_setup_rctl:                      ; @e1000_setup_rctl
	.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
Lloh0:
	adrp	x20, _RCTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _RCTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_er32
Lloh2:
	adrp	x8, _E1000_RCTL_MO_SHIFT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E1000_RCTL_MO_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x8]
	mov	w8, #3
	lsl	w8, w8, w9
	bic	w10, w0, w8
Lloh5:
	adrp	x8, _E1000_RCTL_BAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E1000_RCTL_BAM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x11, _E1000_RCTL_LBM_NO@GOTPAGE
Lloh9:
	ldr	x11, [x11, _E1000_RCTL_LBM_NO@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	orr	w11, w11, w8
Lloh11:
	adrp	x12, _E1000_RCTL_RDMTS_HALF@GOTPAGE
Lloh12:
	ldr	x12, [x12, _E1000_RCTL_RDMTS_HALF@GOTPAGEOFF]
Lloh13:
	ldr	w12, [x12]
	ldp	w13, w14, [x19, #16]
	lsl	w9, w13, w9
	orr	w10, w11, w10
	orr	w10, w10, w12
	orr	w10, w10, w9
Lloh14:
	adrp	x9, _E1000_RCTL_SBP@GOTPAGE
Lloh15:
	ldr	x9, [x9, _E1000_RCTL_SBP@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w11, w9, w10
	bic	w10, w10, w9
	cmp	w14, #1
	csel	w11, w11, w10, eq
	ldr	x10, [x19, #8]
	ldr	x12, [x10]
Lloh17:
	adrp	x13, _ETH_DATA_LEN@GOTPAGE
Lloh18:
	ldr	x13, [x13, _ETH_DATA_LEN@GOTPAGEOFF]
Lloh19:
	ldr	x13, [x13]
Lloh20:
	adrp	x14, _E1000_RCTL_LPE@GOTPAGE
Lloh21:
	ldr	x14, [x14, _E1000_RCTL_LPE@GOTPAGEOFF]
Lloh22:
	ldr	w14, [x14]
	bic	w15, w11, w14
	orr	w11, w14, w11
	cmp	x12, x13
	csel	w11, w11, w15, gt
Lloh23:
	adrp	x12, _E1000_RCTL_SZ_4096@GOTPAGE
Lloh24:
	ldr	x12, [x12, _E1000_RCTL_SZ_4096@GOTPAGEOFF]
Lloh25:
	ldr	w13, [x12]
	bic	w11, w11, w13
Lloh26:
	adrp	x12, _E1000_RCTL_BSEX@GOTPAGE
Lloh27:
	ldr	x12, [x12, _E1000_RCTL_BSEX@GOTPAGEOFF]
Lloh28:
	ldr	w12, [x12]
	orr	w11, w11, w12
	ldr	w14, [x19]
	cmp	w14, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w14, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w14, #131
	b.ne	LBB0_7
; %bb.3:
Lloh29:
	adrp	x12, _E1000_RCTL_SZ_16384@GOTPAGE
Lloh30:
	ldr	x12, [x12, _E1000_RCTL_SZ_16384@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh31:
	adrp	x12, _E1000_RCTL_SZ_8192@GOTPAGE
Lloh32:
	ldr	x12, [x12, _E1000_RCTL_SZ_8192@GOTPAGEOFF]
LBB0_5:
	ldr	w12, [x12]
	orr	w1, w12, w11
	b	LBB0_8
LBB0_6:
	orr	w1, w11, w13
	b	LBB0_8
LBB0_7:
Lloh33:
	adrp	x13, _E1000_RCTL_SZ_2048@GOTPAGE
Lloh34:
	ldr	x13, [x13, _E1000_RCTL_SZ_2048@GOTPAGEOFF]
Lloh35:
	ldr	w13, [x13]
	orr	w11, w13, w11
	bic	w1, w11, w12
LBB0_8:
	ldr	w10, [x10, #8]
Lloh36:
	adrp	x11, _NETIF_F_RXALL@GOTPAGE
Lloh37:
	ldr	x11, [x11, _NETIF_F_RXALL@GOTPAGEOFF]
Lloh38:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_10
; %bb.9:
Lloh39:
	adrp	x10, _E1000_RCTL_PMCF@GOTPAGE
Lloh40:
	ldr	x10, [x10, _E1000_RCTL_PMCF@GOTPAGEOFF]
Lloh41:
	ldr	w10, [x10]
	orr	w8, w1, w8
	orr	w8, w8, w9
	orr	w8, w8, w10
Lloh42:
	adrp	x9, _E1000_RCTL_VFE@GOTPAGE
Lloh43:
	ldr	x9, [x9, _E1000_RCTL_VFE@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
Lloh45:
	adrp	x10, _E1000_RCTL_DPF@GOTPAGE
Lloh46:
	ldr	x10, [x10, _E1000_RCTL_DPF@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh48:
	adrp	x10, _E1000_RCTL_CFIEN@GOTPAGE
Lloh49:
	ldr	x10, [x10, _E1000_RCTL_CFIEN@GOTPAGEOFF]
Lloh50:
	ldr	w10, [x10]
	orr	w9, w9, w10
	bic	w1, w8, w9
LBB0_10:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ew32
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_RCTL,4,2                       ; @RCTL
	.comm	_E1000_RCTL_MO_SHIFT,4,2        ; @E1000_RCTL_MO_SHIFT
	.comm	_E1000_RCTL_BAM,4,2             ; @E1000_RCTL_BAM
	.comm	_E1000_RCTL_LBM_NO,4,2          ; @E1000_RCTL_LBM_NO
	.comm	_E1000_RCTL_RDMTS_HALF,4,2      ; @E1000_RCTL_RDMTS_HALF
	.comm	_E1000_RCTL_SBP,4,2             ; @E1000_RCTL_SBP
	.comm	_ETH_DATA_LEN,8,3               ; @ETH_DATA_LEN
	.comm	_E1000_RCTL_LPE,4,2             ; @E1000_RCTL_LPE
	.comm	_E1000_RCTL_SZ_4096,4,2         ; @E1000_RCTL_SZ_4096
	.comm	_E1000_RCTL_BSEX,4,2            ; @E1000_RCTL_BSEX
	.comm	_E1000_RCTL_SZ_2048,4,2         ; @E1000_RCTL_SZ_2048
	.comm	_E1000_RCTL_SZ_8192,4,2         ; @E1000_RCTL_SZ_8192
	.comm	_E1000_RCTL_SZ_16384,4,2        ; @E1000_RCTL_SZ_16384
	.comm	_NETIF_F_RXALL,4,2              ; @NETIF_F_RXALL
	.comm	_E1000_RCTL_PMCF,4,2            ; @E1000_RCTL_PMCF
	.comm	_E1000_RCTL_VFE,4,2             ; @E1000_RCTL_VFE
	.comm	_E1000_RCTL_DPF,4,2             ; @E1000_RCTL_DPF
	.comm	_E1000_RCTL_CFIEN,4,2           ; @E1000_RCTL_CFIEN
	.no_dead_strip	_e1000_setup_rctl
.subsections_via_symbols
