	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_setup_desc_rings
_e1000_setup_desc_rings:                ## @e1000_setup_desc_rings
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	leaq	64(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	64(%rdi), %edi
	testl	%edi, %edi
	jne	LBB0_2
## %bb.1:
	movq	_E1000_DEFAULT_TXD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%edi, (%rax)
LBB0_2:
	movq	8(%r12), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 72(%r12)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	64(%r12), %eax
	shll	$3, %eax
	leal	(%rax,%rax,2), %edi
	movl	%edi, 68(%r12)
	movl	$4096, %esi                     ## imm = 0x1000
	callq	_ALIGN
	movl	%eax, 68(%r12)
	leaq	80(%r12), %rdx
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dma_alloc_coherent
	movq	%rax, 104(%r12)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%r12)
	xorl	%edi, %edi
	callq	_TDBAL
	movl	80(%r12), %esi
	movl	%eax, %edi
	callq	_ew32
	xorl	%edi, %edi
	callq	_TDBAH
	movl	%eax, %edi
	callq	_ew32
	xorl	%edi, %edi
	callq	_TDLEN
	movl	64(%r12), %ecx
	shll	$3, %ecx
	leal	(%rcx,%rcx,2), %esi
	movl	%eax, %edi
	callq	_ew32
	xorl	%edi, %edi
	callq	_TDH
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ew32
	xorl	%edi, %edi
	callq	_TDT
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ew32
	movq	_TCTL@GOTPCREL(%rip), %rax
	movq	_E1000_TCTL_PSP@GOTPCREL(%rip), %rcx
	movq	_E1000_TCTL_EN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %edi
	movq	_E1000_TCTL_MULR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_E1000_COLLISION_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_E1000_CT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%edx, %eax
	movq	_E1000_COLLISION_DISTANCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_E1000_COLD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%eax, %esi
	callq	_ew32
	cmpl	$0, 64(%r12)
	jle	LBB0_13
## %bb.7:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	%r15d, %edi
	callq	_E1000_TX_DESC
	movq	%rax, %r13
	movl	(%rbx), %esi
	movl	$1024, %edi                     ## imm = 0x400
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rbx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_skb_put
	movq	72(%r12), %rax
	movq	%rbx, 16(%rax,%r14)
	movl	(%rbx), %edx
	movl	%edx, (%rax,%r14)
	movl	4(%rbx), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_dma_map_single
	movq	72(%r12), %rcx
	movq	%rax, 8(%rcx,%r14)
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	72(%r12), %rax
	movq	8(%rax,%r14), %rdi
	callq	_cpu_to_le64
	movq	%rax, 16(%r13)
	movl	(%rbx), %edi
	callq	_cpu_to_le32
	movl	%eax, 8(%r13)
	movq	_E1000_TXD_CMD_IFCS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_E1000_TXD_CMD_EOP@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_E1000_TXD_CMD_RS@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, 8(%r13)
	movq	$0, (%r13)
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	incq	%r15
	movslq	64(%r12), %rax
	addq	$24, %r14
	cmpq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	jl	LBB0_8
LBB0_13:
	leaq	16(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax), %edi
	testl	%edi, %edi
	jne	LBB0_15
## %bb.14:
	movq	_E1000_DEFAULT_RXD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%edi, (%rax)
LBB0_15:
	movl	(%rbx), %edx
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 24(%r12)
	testq	%rax, %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_16
## %bb.17:
	movl	16(%r12), %esi
	shll	$3, %esi
	movl	%esi, 20(%r12)
	leaq	32(%r12), %rdx
	movl	(%rbx), %ecx
	callq	_dma_alloc_coherent
	movq	%rax, 56(%r12)
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r12)
	movq	_RCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_FLAG2_NO_DISABLE_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r12)
	jne	LBB0_21
## %bb.20:
	movl	(%rbx), %edi
	movq	_E1000_RCTL_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, %esi
	callq	_ew32
LBB0_21:
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_RDBAL
	movl	32(%r12), %esi
	movl	%eax, %edi
	callq	_ew32
	xorl	%edi, %edi
	callq	_RDBAH
	movl	%eax, %edi
	callq	_ew32
	xorl	%edi, %edi
	callq	_RDLEN
	movl	20(%r12), %esi
	movl	%eax, %edi
	callq	_ew32
	xorl	%edi, %edi
	callq	_RDH
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ew32
	xorl	%edi, %edi
	callq	_RDT
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ew32
	movq	_E1000_RCTL_EN@GOTPCREL(%rip), %rcx
	movq	_E1000_RCTL_BAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_E1000_RCTL_SZ_2048@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_E1000_RCTL_UPE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_E1000_RCTL_MPE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_E1000_RCTL_LPE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_E1000_RCTL_SBP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_E1000_RCTL_SECRC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_E1000_RCTL_LBM_NO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_E1000_RCTL_RDMTS_HALF@GOTPCREL(%rip), %rdx
	movq	_E1000_RCTL_MO_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	4(%r12), %esi
	shll	%cl, %esi
	orl	(%rdx), %eax
	orl	%eax, %esi
	movl	(%rbx), %edi
	callq	_ew32
	cmpl	$0, 16(%r12)
	jle	LBB0_28
## %bb.22:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	$2048, %eax                     ## imm = 0x800
	addl	%eax, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%rax, %rbx
	movl	(%r15), %esi
	movq	%rax, %rdi
	callq	_skb_reserve
	movq	24(%r12), %rax
	movq	%rbx, 16(%rax,%r14)
	movl	4(%rbx), %esi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_dma_map_single
	movq	24(%r12), %rcx
	movq	%rax, 8(%rcx,%r14)
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_26
## %bb.29:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	%r13d, %edi
	callq	_E1000_RX_DESC_EXT
	movq	%rax, %r15
	movq	24(%r12), %rax
	movq	8(%rax,%r14), %rdi
	callq	_cpu_to_le64
	movq	%rax, (%r15)
	movl	(%rbx), %edx
	movl	4(%rbx), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_memset
	incq	%r13
	movslq	16(%r12), %rax
	addq	$24, %r14
	cmpq	%rax, %r13
	jl	LBB0_23
	jmp	LBB0_28
LBB0_3:
	movl	$1, %r15d
	jmp	LBB0_27
LBB0_5:
	movl	$2, %r15d
	jmp	LBB0_27
LBB0_9:
	movl	$3, %r15d
	jmp	LBB0_27
LBB0_16:
	movl	$5, %r15d
	jmp	LBB0_27
LBB0_11:
	movl	$4, %r15d
	jmp	LBB0_27
LBB0_18:
	movl	$6, %r15d
	jmp	LBB0_27
LBB0_24:
	movl	$7, %r15d
	jmp	LBB0_27
LBB0_26:
	movl	$8, %r15d
LBB0_27:
	movq	%r12, %rdi
	callq	_e1000_free_desc_rings
LBB0_28:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_DEFAULT_TXD,4,2          ## @E1000_DEFAULT_TXD
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_TCTL,4,2                       ## @TCTL
	.comm	_E1000_TCTL_PSP,4,2             ## @E1000_TCTL_PSP
	.comm	_E1000_TCTL_EN,4,2              ## @E1000_TCTL_EN
	.comm	_E1000_TCTL_MULR,4,2            ## @E1000_TCTL_MULR
	.comm	_E1000_COLLISION_THRESHOLD,4,2  ## @E1000_COLLISION_THRESHOLD
	.comm	_E1000_CT_SHIFT,4,2             ## @E1000_CT_SHIFT
	.comm	_E1000_COLLISION_DISTANCE,4,2   ## @E1000_COLLISION_DISTANCE
	.comm	_E1000_COLD_SHIFT,4,2           ## @E1000_COLD_SHIFT
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_E1000_TXD_CMD_EOP,4,2          ## @E1000_TXD_CMD_EOP
	.comm	_E1000_TXD_CMD_IFCS,4,2         ## @E1000_TXD_CMD_IFCS
	.comm	_E1000_TXD_CMD_RS,4,2           ## @E1000_TXD_CMD_RS
	.comm	_E1000_DEFAULT_RXD,4,2          ## @E1000_DEFAULT_RXD
	.comm	_RCTL,4,2                       ## @RCTL
	.comm	_FLAG2_NO_DISABLE_RX,4,2        ## @FLAG2_NO_DISABLE_RX
	.comm	_E1000_RCTL_EN,4,2              ## @E1000_RCTL_EN
	.comm	_E1000_RCTL_BAM,4,2             ## @E1000_RCTL_BAM
	.comm	_E1000_RCTL_SZ_2048,4,2         ## @E1000_RCTL_SZ_2048
	.comm	_E1000_RCTL_UPE,4,2             ## @E1000_RCTL_UPE
	.comm	_E1000_RCTL_MPE,4,2             ## @E1000_RCTL_MPE
	.comm	_E1000_RCTL_LPE,4,2             ## @E1000_RCTL_LPE
	.comm	_E1000_RCTL_SBP,4,2             ## @E1000_RCTL_SBP
	.comm	_E1000_RCTL_SECRC,4,2           ## @E1000_RCTL_SECRC
	.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_MO_SHIFT,4,2        ## @E1000_RCTL_MO_SHIFT
	.comm	_NET_IP_ALIGN,4,2               ## @NET_IP_ALIGN
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.no_dead_strip	_e1000_setup_desc_rings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_setup_desc_rings
_e1000_setup_desc_rings:                ; @e1000_setup_desc_rings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	mov	x25, x0
	ldr	w0, [x25, #64]!
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _E1000_DEFAULT_TXD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_DEFAULT_TXD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	str	w0, [x25]
LBB0_2:
	ldur	x20, [x25, #-56]
Lloh3:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #72]
	cbz	x0, LBB0_20
; %bb.3:
	ldr	w8, [x19, #64]
	add	w8, w8, w8, lsl #1
	lsl	w0, w8, #3
	str	w0, [x19, #68]
	mov	w1, #4096
	bl	_ALIGN
	mov	x1, x0
	str	w0, [x19, #68]
	add	x2, x19, #80
	ldr	w3, [x21]
	mov	x0, x20
	bl	_dma_alloc_coherent
	str	x0, [x19, #104]
	cbz	x0, LBB0_21
; %bb.4:
	stp	xzr, xzr, [x19, #88]
	mov	w0, #0
	bl	_TDBAL
	ldr	w1, [x19, #80]
	bl	_ew32
	mov	w0, #0
	bl	_TDBAH
	bl	_ew32
	mov	w0, #0
	bl	_TDLEN
	ldr	w8, [x19, #64]
	add	w8, w8, w8, lsl #1
	lsl	w1, w8, #3
	bl	_ew32
	mov	w0, #0
	bl	_TDH
	mov	w1, #0
	bl	_ew32
	mov	w0, #0
	bl	_TDT
	mov	w1, #0
	bl	_ew32
Lloh5:
	adrp	x8, _TCTL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TCTL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _E1000_TCTL_PSP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _E1000_TCTL_PSP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _E1000_TCTL_EN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _E1000_TCTL_EN@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _E1000_TCTL_MULR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _E1000_TCTL_MULR@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _E1000_COLLISION_THRESHOLD@GOTPAGE
Lloh18:
	ldr	x9, [x9, _E1000_COLLISION_THRESHOLD@GOTPAGEOFF]
Lloh19:
	adrp	x10, _E1000_CT_SHIFT@GOTPAGE
Lloh20:
	ldr	x10, [x10, _E1000_CT_SHIFT@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _E1000_COLLISION_DISTANCE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _E1000_COLLISION_DISTANCE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	adrp	x10, _E1000_COLD_SHIFT@GOTPAGE
Lloh27:
	ldr	x10, [x10, _E1000_COLD_SHIFT@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w1, w8, w9
	bl	_ew32
	ldr	w8, [x19, #64]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x26, #0
	mov	x21, #0
Lloh29:
	adrp	x27, _DMA_TO_DEVICE@GOTPAGE
Lloh30:
	ldr	x27, [x27, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh31:
	adrp	x24, _E1000_TXD_CMD_IFCS@GOTPAGE
Lloh32:
	ldr	x24, [x24, _E1000_TXD_CMD_IFCS@GOTPAGEOFF]
Lloh33:
	adrp	x28, _E1000_TXD_CMD_RS@GOTPAGE
Lloh34:
	ldr	x28, [x28, _E1000_TXD_CMD_RS@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x25]
	stp	q0, q1, [sp]
	ldr	q0, [x25, #32]
	str	q0, [sp, #32]
	mov	x0, sp
	mov	x1, x21
	bl	_E1000_TX_DESC
	mov	x22, x0
Lloh35:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	w0, #1024
	bl	_alloc_skb
	cbz	x0, LBB0_22
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x0
	mov	w1, #1024
	bl	_skb_put
	ldr	x8, [x19, #72]
	add	x8, x8, x26
	str	x23, [x8, #16]
	ldr	w2, [x23]
	str	w2, [x8]
	ldr	w1, [x23, #4]
	ldr	w3, [x27]
	mov	x0, x20
	bl	_dma_map_single
	mov	x1, x0
	ldr	x8, [x19, #72]
	add	x8, x8, x26
	str	x0, [x8, #8]
	mov	x0, x20
	bl	_dma_mapping_error
	cbnz	x0, LBB0_24
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #72]
	add	x8, x8, x26
	ldr	x0, [x8, #8]
	bl	_cpu_to_le64
	str	x0, [x22, #16]
	ldr	w0, [x23]
	bl	_cpu_to_le32
	str	w0, [x22, #8]
Lloh38:
	adrp	x8, _E1000_TXD_CMD_EOP@GOTPAGE
Lloh39:
	ldr	x8, [x8, _E1000_TXD_CMD_EOP@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	ldr	w9, [x24]
	orr	w8, w9, w8
	ldr	w9, [x28]
	orr	w0, w8, w9
	bl	_cpu_to_le32
	ldr	w8, [x22, #8]
	orr	w8, w8, w0
	str	w8, [x22, #8]
	str	xzr, [x22]
	add	x21, x21, #1
	ldrsw	x8, [x19, #64]
	add	x26, x26, #24
	cmp	x21, x8
	b.lt	LBB0_6
LBB0_9:
	ldr	w0, [x25, #-48]!
	cbnz	w0, LBB0_11
; %bb.10:
Lloh41:
	adrp	x8, _E1000_DEFAULT_RXD@GOTPAGE
Lloh42:
	ldr	x8, [x8, _E1000_DEFAULT_RXD@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	str	w0, [x25]
LBB0_11:
Lloh44:
	adrp	x28, _GFP_KERNEL@GOTPAGE
Lloh45:
	ldr	x28, [x28, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x28]
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_23
; %bb.12:
	ldr	w8, [x19, #16]
	lsl	w1, w8, #3
	str	w1, [x19, #20]
	add	x2, x19, #32
	ldr	w3, [x28]
	mov	x0, x20
	bl	_dma_alloc_coherent
	str	x0, [x19, #56]
	cbz	x0, LBB0_25
; %bb.13:
	stp	xzr, xzr, [x19, #40]
Lloh46:
	adrp	x21, _RCTL@GOTPAGE
Lloh47:
	ldr	x21, [x21, _RCTL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_er32
	ldr	w8, [x19]
Lloh48:
	adrp	x9, _FLAG2_NO_DISABLE_RX@GOTPAGE
Lloh49:
	ldr	x9, [x9, _FLAG2_NO_DISABLE_RX@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
Lloh51:
	adrp	x22, _E1000_RCTL_EN@GOTPAGE
Lloh52:
	ldr	x22, [x22, _E1000_RCTL_EN@GOTPAGEOFF]
	tst	w9, w8
	b.ne	LBB0_15
; %bb.14:
	ldr	w8, [x21]
	ldr	w9, [x22]
	bic	w1, w0, w9
	mov	x0, x8
	bl	_ew32
LBB0_15:
	mov	w0, #0
	bl	_RDBAL
	ldr	w1, [x19, #32]
	bl	_ew32
	mov	w0, #0
	bl	_RDBAH
	bl	_ew32
	mov	w0, #0
	bl	_RDLEN
	ldr	w1, [x19, #20]
	bl	_ew32
	mov	w0, #0
	bl	_RDH
	mov	w1, #0
	bl	_ew32
	mov	w0, #0
	bl	_RDT
	mov	w1, #0
	bl	_ew32
Lloh53:
	adrp	x8, _E1000_RCTL_BAM@GOTPAGE
Lloh54:
	ldr	x8, [x8, _E1000_RCTL_BAM@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh55:
	ldr	w8, [x8]
	orr	w8, w8, w9
Lloh56:
	adrp	x9, _E1000_RCTL_SZ_2048@GOTPAGE
Lloh57:
	ldr	x9, [x9, _E1000_RCTL_SZ_2048@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh59:
	adrp	x9, _E1000_RCTL_UPE@GOTPAGE
Lloh60:
	ldr	x9, [x9, _E1000_RCTL_UPE@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
Lloh62:
	adrp	x10, _E1000_RCTL_MPE@GOTPAGE
Lloh63:
	ldr	x10, [x10, _E1000_RCTL_MPE@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh64:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh65:
	adrp	x9, _E1000_RCTL_LPE@GOTPAGE
Lloh66:
	ldr	x9, [x9, _E1000_RCTL_LPE@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh68:
	adrp	x9, _E1000_RCTL_SBP@GOTPAGE
Lloh69:
	ldr	x9, [x9, _E1000_RCTL_SBP@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
Lloh71:
	adrp	x10, _E1000_RCTL_SECRC@GOTPAGE
Lloh72:
	ldr	x10, [x10, _E1000_RCTL_SECRC@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh73:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh74:
	adrp	x9, _E1000_RCTL_LBM_NO@GOTPAGE
Lloh75:
	ldr	x9, [x9, _E1000_RCTL_LBM_NO@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh77:
	adrp	x9, _E1000_RCTL_RDMTS_HALF@GOTPAGE
Lloh78:
	ldr	x9, [x9, _E1000_RCTL_RDMTS_HALF@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19, #4]
Lloh80:
	adrp	x10, _E1000_RCTL_MO_SHIFT@GOTPAGE
Lloh81:
	ldr	x10, [x10, _E1000_RCTL_MO_SHIFT@GOTPAGEOFF]
Lloh82:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w1, w8, w9
	ldr	w0, [x21]
	bl	_ew32
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.16:
	mov	x24, #0
	mov	x21, #0
Lloh83:
	adrp	x26, _NET_IP_ALIGN@GOTPAGE
Lloh84:
	ldr	x26, [x26, _NET_IP_ALIGN@GOTPAGEOFF]
Lloh85:
	adrp	x27, _DMA_FROM_DEVICE@GOTPAGE
Lloh86:
	ldr	x27, [x27, _DMA_FROM_DEVICE@GOTPAGEOFF]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x26]
	add	w0, w8, #2048
	ldr	w1, [x28]
	bl	_alloc_skb
	cbz	x0, LBB0_27
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x22, x0
	ldr	w1, [x26]
	bl	_skb_reserve
	ldr	x8, [x19, #24]
	add	x8, x8, x24
	str	x22, [x8, #16]
	ldr	w1, [x22, #4]
	ldr	w3, [x27]
	mov	x0, x20
	mov	w2, #2048
	bl	_dma_map_single
	mov	x1, x0
	ldr	x8, [x19, #24]
	add	x8, x8, x24
	str	x0, [x8, #8]
	mov	x0, x20
	bl	_dma_mapping_error
	cbnz	x0, LBB0_28
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	ldp	q0, q1, [x25]
	stp	q0, q1, [sp]
	ldr	q0, [x25, #32]
	str	q0, [sp, #32]
	mov	x0, sp
	mov	x1, x21
	bl	_E1000_RX_DESC_EXT
	mov	x23, x0
	ldr	x8, [x19, #24]
	add	x8, x8, x24
	ldr	x0, [x8, #8]
	bl	_cpu_to_le64
	str	x0, [x23]
	ldp	w2, w0, [x22]
	mov	w1, #0
	bl	_memset
	mov	w22, #0
	add	x21, x21, #1
	ldrsw	x8, [x19, #16]
	add	x24, x24, #24
	cmp	x21, x8
	b.lt	LBB0_17
	b	LBB0_30
LBB0_20:
	mov	w22, #1
	b	LBB0_29
LBB0_21:
	mov	w22, #2
	b	LBB0_29
LBB0_22:
	mov	w22, #3
	b	LBB0_29
LBB0_23:
	mov	w22, #5
	b	LBB0_29
LBB0_24:
	mov	w22, #4
	b	LBB0_29
LBB0_25:
	mov	w22, #6
	b	LBB0_29
LBB0_26:
	mov	w22, #0
	b	LBB0_30
LBB0_27:
	mov	w22, #7
	b	LBB0_29
LBB0_28:
	mov	w22, #8
LBB0_29:
	mov	x0, x19
	bl	_e1000_free_desc_rings
LBB0_30:
	mov	x0, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh21
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh83, Lloh84
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_DEFAULT_TXD,4,2          ; @E1000_DEFAULT_TXD
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_TCTL,4,2                       ; @TCTL
	.comm	_E1000_TCTL_PSP,4,2             ; @E1000_TCTL_PSP
	.comm	_E1000_TCTL_EN,4,2              ; @E1000_TCTL_EN
	.comm	_E1000_TCTL_MULR,4,2            ; @E1000_TCTL_MULR
	.comm	_E1000_COLLISION_THRESHOLD,4,2  ; @E1000_COLLISION_THRESHOLD
	.comm	_E1000_CT_SHIFT,4,2             ; @E1000_CT_SHIFT
	.comm	_E1000_COLLISION_DISTANCE,4,2   ; @E1000_COLLISION_DISTANCE
	.comm	_E1000_COLD_SHIFT,4,2           ; @E1000_COLD_SHIFT
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_E1000_TXD_CMD_EOP,4,2          ; @E1000_TXD_CMD_EOP
	.comm	_E1000_TXD_CMD_IFCS,4,2         ; @E1000_TXD_CMD_IFCS
	.comm	_E1000_TXD_CMD_RS,4,2           ; @E1000_TXD_CMD_RS
	.comm	_E1000_DEFAULT_RXD,4,2          ; @E1000_DEFAULT_RXD
	.comm	_RCTL,4,2                       ; @RCTL
	.comm	_FLAG2_NO_DISABLE_RX,4,2        ; @FLAG2_NO_DISABLE_RX
	.comm	_E1000_RCTL_EN,4,2              ; @E1000_RCTL_EN
	.comm	_E1000_RCTL_BAM,4,2             ; @E1000_RCTL_BAM
	.comm	_E1000_RCTL_SZ_2048,4,2         ; @E1000_RCTL_SZ_2048
	.comm	_E1000_RCTL_UPE,4,2             ; @E1000_RCTL_UPE
	.comm	_E1000_RCTL_MPE,4,2             ; @E1000_RCTL_MPE
	.comm	_E1000_RCTL_LPE,4,2             ; @E1000_RCTL_LPE
	.comm	_E1000_RCTL_SBP,4,2             ; @E1000_RCTL_SBP
	.comm	_E1000_RCTL_SECRC,4,2           ; @E1000_RCTL_SECRC
	.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_MO_SHIFT,4,2        ; @E1000_RCTL_MO_SHIFT
	.comm	_NET_IP_ALIGN,4,2               ; @NET_IP_ALIGN
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.no_dead_strip	_e1000_setup_desc_rings
.subsections_via_symbols
