	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_configure_rx
_e1000_configure_rx:                    ## @e1000_configure_rx
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movq	48(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	_ETH_DATA_LEN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movq	_e1000_alloc_rx_buffers@GOTPCREL(%rip), %rcx
	cmovgq	_e1000_alloc_jumbo_rx_buffers@GOTPCREL(%rip), %rcx
	movq	_e1000_clean_rx_irq@GOTPCREL(%rip), %rdx
	cmovgq	_e1000_clean_jumbo_rx_irq@GOTPCREL(%rip), %rdx
	movl	(%rax), %r15d
	movl	(%rcx), %eax
	movl	(%rdx), %ecx
	movl	%ecx, 44(%rdi)
	movl	%eax, 40(%rdi)
	shll	$2, %r15d
	movq	_RCTL@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_er32
	movl	%eax, %r14d
	movl	(%r13), %edi
	movq	_E1000_RCTL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%esi
	andl	%r14d, %esi
	callq	_ew32
	movq	_RDTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_ew32
	movq	56(%rbx), %rax
	movq	_e1000_82540@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_3
## %bb.1:
	movq	_RADV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	_ew32
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_ITR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %ecx
	shll	$8, %ecx
	movl	$1000000000, %eax               ## imm = 0x3B9ACA00
	xorl	%edx, %edx
	idivl	%ecx
	movl	%eax, %esi
	callq	_ew32
LBB0_3:
	movq	32(%rbx), %rax
	movl	4(%rax), %r12d
	movq	_RDLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_ew32
	movq	_RDBAH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ew32
	movq	_RDBAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_ew32
	movq	_RDT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_ew32
	movq	_RDH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_ew32
	movq	32(%rbx), %rax
	movq	56(%rbx), %rcx
	movq	_e1000_82543@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movq	_E1000_RDH@GOTPCREL(%rip), %rcx
	cmovlq	_E1000_82542_RDH@GOTPCREL(%rip), %rcx
	movq	_E1000_RDT@GOTPCREL(%rip), %rdx
	cmovlq	_E1000_82542_RDT@GOTPCREL(%rip), %rdx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movl	(%rdx), %ecx
	movl	%ecx, 8(%rax)
	jl	LBB0_5
## %bb.4:
	movq	_RXCSUM@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_er32
	movq	_E1000_RXCSUM_TUOFL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %ecx
	orl	%eax, %ecx
	notl	%esi
	andl	%eax, %esi
	cmpq	$0, 24(%rbx)
	cmovnel	%ecx, %esi
	movl	(%r15), %edi
	callq	_ew32
LBB0_5:
	movl	(%r13), %edi
	movq	_E1000_RCTL_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ew32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_DATA_LEN,8,3               ## @ETH_DATA_LEN
	.comm	_e1000_clean_jumbo_rx_irq,4,2   ## @e1000_clean_jumbo_rx_irq
	.comm	_e1000_alloc_jumbo_rx_buffers,4,2 ## @e1000_alloc_jumbo_rx_buffers
	.comm	_e1000_clean_rx_irq,4,2         ## @e1000_clean_rx_irq
	.comm	_e1000_alloc_rx_buffers,4,2     ## @e1000_alloc_rx_buffers
	.comm	_RCTL,4,2                       ## @RCTL
	.comm	_E1000_RCTL_EN,4,2              ## @E1000_RCTL_EN
	.comm	_RDTR,4,2                       ## @RDTR
	.comm	_e1000_82540,8,3                ## @e1000_82540
	.comm	_RADV,4,2                       ## @RADV
	.comm	_ITR,4,2                        ## @ITR
	.comm	_RDLEN,4,2                      ## @RDLEN
	.comm	_RDBAH,4,2                      ## @RDBAH
	.comm	_RDBAL,4,2                      ## @RDBAL
	.comm	_RDT,4,2                        ## @RDT
	.comm	_RDH,4,2                        ## @RDH
	.comm	_e1000_82543,8,3                ## @e1000_82543
	.comm	_E1000_RDH,4,2                  ## @E1000_RDH
	.comm	_E1000_82542_RDH,4,2            ## @E1000_82542_RDH
	.comm	_E1000_RDT,4,2                  ## @E1000_RDT
	.comm	_E1000_82542_RDT,4,2            ## @E1000_82542_RDT
	.comm	_RXCSUM,4,2                     ## @RXCSUM
	.comm	_E1000_RXCSUM_TUOFL,4,2         ## @E1000_RXCSUM_TUOFL
	.no_dead_strip	_e1000_configure_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_configure_rx
_e1000_configure_rx:                    ; @e1000_configure_rx
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x8, [x0, #48]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _ETH_DATA_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETH_DATA_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x10, [x0, #32]
Lloh3:
	adrp	x11, _e1000_alloc_jumbo_rx_buffers@GOTPAGE
Lloh4:
	ldr	x11, [x11, _e1000_alloc_jumbo_rx_buffers@GOTPAGEOFF]
	ldr	w10, [x10]
Lloh5:
	adrp	x12, _e1000_alloc_rx_buffers@GOTPAGE
Lloh6:
	ldr	x12, [x12, _e1000_alloc_rx_buffers@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x11, x12, gt
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _e1000_clean_jumbo_rx_irq@GOTPAGE
Lloh8:
	ldr	x9, [x9, _e1000_clean_jumbo_rx_irq@GOTPAGEOFF]
Lloh9:
	adrp	x11, _e1000_clean_rx_irq@GOTPAGE
Lloh10:
	ldr	x11, [x11, _e1000_clean_rx_irq@GOTPAGEOFF]
	csel	x9, x9, x11, gt
	ldr	w9, [x9]
	stp	w8, w9, [x0, #40]
	lsl	w21, w10, #2
Lloh11:
	adrp	x23, _RCTL@GOTPAGE
Lloh12:
	ldr	x23, [x23, _RCTL@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_er32
	mov	x20, x0
	ldr	w0, [x23]
Lloh13:
	adrp	x24, _E1000_RCTL_EN@GOTPAGE
Lloh14:
	ldr	x24, [x24, _E1000_RCTL_EN@GOTPAGEOFF]
	ldr	w8, [x24]
	bic	w1, w20, w8
	bl	_ew32
Lloh15:
	adrp	x8, _RDTR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RDTR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_ew32
	ldr	x8, [x19, #56]
Lloh18:
	adrp	x9, _e1000_82540@GOTPAGE
Lloh19:
	ldr	x9, [x9, _e1000_82540@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.1:
Lloh21:
	adrp	x8, _RADV@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RADV@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	_ew32
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh24:
	adrp	x8, _ITR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ITR@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	w8, [x19, #16]
	lsl	w8, w8, #8
	mov	w9, #51712
	movk	w9, #15258, lsl #16
	sdiv	w1, w9, w8
	bl	_ew32
LBB0_3:
	ldr	x8, [x19, #32]
	ldr	w22, [x8, #4]
Lloh27:
	adrp	x8, _RDLEN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RDLEN@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_ew32
Lloh30:
	adrp	x8, _RDBAH@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RDBAH@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_ew32
Lloh33:
	adrp	x8, _RDBAL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RDBAL@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_ew32
Lloh36:
	adrp	x8, _RDT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _RDT@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_ew32
Lloh39:
	adrp	x8, _RDH@GOTPAGE
Lloh40:
	ldr	x8, [x8, _RDH@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_ew32
Lloh42:
	adrp	x8, _e1000_82543@GOTPAGE
Lloh43:
	ldr	x8, [x8, _e1000_82543@GOTPAGEOFF]
	ldr	x9, [x19, #56]
Lloh44:
	ldr	x8, [x8]
Lloh45:
	adrp	x10, _E1000_RDH@GOTPAGE
Lloh46:
	ldr	x10, [x10, _E1000_RDH@GOTPAGEOFF]
Lloh47:
	adrp	x11, _E1000_82542_RDH@GOTPAGE
Lloh48:
	ldr	x11, [x11, _E1000_82542_RDH@GOTPAGEOFF]
	cmp	x9, x8
	csel	x8, x11, x10, lt
	ldr	w8, [x8]
	ldr	x9, [x19, #32]
Lloh49:
	adrp	x10, _E1000_RDT@GOTPAGE
Lloh50:
	ldr	x10, [x10, _E1000_RDT@GOTPAGEOFF]
	str	w8, [x9, #12]
Lloh51:
	adrp	x8, _E1000_82542_RDT@GOTPAGE
Lloh52:
	ldr	x8, [x8, _E1000_82542_RDT@GOTPAGEOFF]
	csel	x8, x8, x10, lt
	ldr	w8, [x8]
	str	w8, [x9, #8]
	b.lt	LBB0_5
; %bb.4:
Lloh53:
	adrp	x21, _RXCSUM@GOTPAGE
Lloh54:
	ldr	x21, [x21, _RXCSUM@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_er32
	ldr	x8, [x19, #24]
Lloh55:
	adrp	x9, _E1000_RXCSUM_TUOFL@GOTPAGE
Lloh56:
	ldr	x9, [x9, _E1000_RXCSUM_TUOFL@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w10, w9, w0
	bic	w9, w0, w9
	cmp	x8, #0
	csel	w1, w9, w10, eq
	ldr	w0, [x21]
	bl	_ew32
LBB0_5:
	ldr	w0, [x23]
	ldr	w8, [x24]
	orr	w1, w8, w20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ew32
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_DATA_LEN,8,3               ; @ETH_DATA_LEN
	.comm	_e1000_clean_jumbo_rx_irq,4,2   ; @e1000_clean_jumbo_rx_irq
	.comm	_e1000_alloc_jumbo_rx_buffers,4,2 ; @e1000_alloc_jumbo_rx_buffers
	.comm	_e1000_clean_rx_irq,4,2         ; @e1000_clean_rx_irq
	.comm	_e1000_alloc_rx_buffers,4,2     ; @e1000_alloc_rx_buffers
	.comm	_RCTL,4,2                       ; @RCTL
	.comm	_E1000_RCTL_EN,4,2              ; @E1000_RCTL_EN
	.comm	_RDTR,4,2                       ; @RDTR
	.comm	_e1000_82540,8,3                ; @e1000_82540
	.comm	_RADV,4,2                       ; @RADV
	.comm	_ITR,4,2                        ; @ITR
	.comm	_RDLEN,4,2                      ; @RDLEN
	.comm	_RDBAH,4,2                      ; @RDBAH
	.comm	_RDBAL,4,2                      ; @RDBAL
	.comm	_RDT,4,2                        ; @RDT
	.comm	_RDH,4,2                        ; @RDH
	.comm	_e1000_82543,8,3                ; @e1000_82543
	.comm	_E1000_RDH,4,2                  ; @E1000_RDH
	.comm	_E1000_82542_RDH,4,2            ; @E1000_82542_RDH
	.comm	_E1000_RDT,4,2                  ; @E1000_RDT
	.comm	_E1000_82542_RDT,4,2            ; @E1000_82542_RDT
	.comm	_RXCSUM,4,2                     ; @RXCSUM
	.comm	_E1000_RXCSUM_TUOFL,4,2         ; @E1000_RXCSUM_TUOFL
	.no_dead_strip	_e1000_configure_rx
.subsections_via_symbols
