	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	56(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	56(%rdi), %edi
	testl	%edi, %edi
	jne	LBB0_2
## %bb.1:
	movq	_E1000_DEFAULT_TXD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%edi, (%rax)
LBB0_2:
	movq	(%r15), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 64(%r15)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	56(%r15), %eax
	shll	$3, %eax
	leal	(%rax,%rax,2), %edi
	movl	%edi, 60(%r15)
	movl	$4096, %esi                     ## imm = 0x1000
	callq	_ALIGN
	movl	%eax, 60(%r15)
	leaq	72(%r15), %rdx
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dma_alloc_coherent
	movq	%rax, 96(%r15)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorps	%xmm0, %xmm0
	movups	%xmm0, 80(%r15)
	movq	_TDBAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	72(%r15), %esi
	callq	_ew32
	movq	_TDBAH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ew32
	movq	_TDLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	56(%r15), %eax
	shll	$3, %eax
	leal	(%rax,%rax,2), %esi
	callq	_ew32
	movq	_TDH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_ew32
	movq	_TDT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_ew32
	movq	_TCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_E1000_TCTL_PSP@GOTPCREL(%rip), %rax
	movq	_E1000_TCTL_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	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_FDX_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, 56(%r15)
	jle	LBB0_13
## %bb.7:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: 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	%r12d, %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	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_skb_put
	movq	64(%r15), %rax
	movq	%rbx, 16(%rax,%r14)
	movl	(%rbx), %edx
	movl	%edx, (%rax,%r14)
	movq	8(%rbx), %rsi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_dma_map_single
	movq	64(%r15), %rcx
	movq	%rax, 8(%rcx,%r14)
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	64(%r15), %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_RPS@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, 8(%r13)
	movq	$0, (%r13)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	incq	%r12
	movslq	56(%r15), %rax
	addq	$24, %r14
	cmpq	%rax, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	jl	LBB0_8
LBB0_13:
	leaq	8(%r15), %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, 16(%r15)
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movl	8(%r15), %esi
	shll	$3, %esi
	movl	%esi, 12(%r15)
	leaq	24(%r15), %rdx
	movl	(%rbx), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dma_alloc_coherent
	movq	%rax, 48(%r15)
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r15)
	movq	_RCTL@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_er32
	movl	(%r13), %edi
	movq	_E1000_RCTL_EN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	notl	%esi
	andl	%eax, %esi
	callq	_ew32
	movq	_RDBAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%r15), %esi
	callq	_ew32
	movq	_RDBAH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ew32
	movq	_RDLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%r15), %esi
	callq	_ew32
	movq	_RDH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_ew32
	movq	_RDT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_ew32
	movq	_E1000_RCTL_BAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rbx), %eax
	movq	_E1000_RCTL_SZ_2048@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	104(%r15), %esi
	shll	%cl, %esi
	orl	(%rdx), %eax
	orl	%eax, %esi
	movl	(%r13), %edi
	callq	_ew32
	xorl	%eax, %eax
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	cmpl	$0, 8(%r15)
	jle	LBB0_26
## %bb.20:
	xorl	%r14d, %r14d
	movq	_E1000_RXBUFFER_2048@GOTPCREL(%rip), %r12
	movq	_NET_SKB_PAD@GOTPCREL(%rip), %rbx
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %r15
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: 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
	movl	(%rbx), %edi
	addl	(%r12), %edi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	addl	(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r15, %rdx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	16(%r15), %rcx
	movq	%rax, 8(%rcx,%r14)
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rax
	movslq	(%rdx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	movl	(%r12), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_dma_map_single
	movq	16(%r15), %rcx
	movq	%rax, (%rcx,%r14)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_24
## %bb.27:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%r14), %rdi
	callq	_cpu_to_le64
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	incq	%r13
	movslq	8(%r15), %rcx
	addq	$16, %r14
	xorl	%eax, %eax
	cmpq	%rcx, %r13
	movq	_E1000_RXBUFFER_2048@GOTPCREL(%rip), %r12
	movq	_NET_SKB_PAD@GOTPCREL(%rip), %rbx
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %r15
	jl	LBB0_21
	jmp	LBB0_26
LBB0_3:
	movl	$1, %ebx
	jmp	LBB0_25
LBB0_5:
	movl	$2, %ebx
	jmp	LBB0_25
LBB0_9:
	movl	$3, %ebx
	jmp	LBB0_25
LBB0_16:
	movl	$5, %ebx
	jmp	LBB0_25
LBB0_11:
	movl	$4, %ebx
	jmp	LBB0_25
LBB0_18:
	movl	$6, %ebx
	jmp	LBB0_25
LBB0_22:
	movl	$7, %ebx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_24:
	movl	$8, %ebx
LBB0_25:
	movq	%r15, %rdi
	callq	_e1000_free_desc_rings
	movl	%ebx, %eax
LBB0_26:
	addq	$88, %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	_TDBAL,4,2                      ## @TDBAL
	.comm	_TDBAH,4,2                      ## @TDBAH
	.comm	_TDLEN,4,2                      ## @TDLEN
	.comm	_TDH,4,2                        ## @TDH
	.comm	_TDT,4,2                        ## @TDT
	.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_COLLISION_THRESHOLD,4,2  ## @E1000_COLLISION_THRESHOLD
	.comm	_E1000_CT_SHIFT,4,2             ## @E1000_CT_SHIFT
	.comm	_E1000_FDX_COLLISION_DISTANCE,4,2 ## @E1000_FDX_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_RPS,4,2          ## @E1000_TXD_CMD_RPS
	.comm	_E1000_DEFAULT_RXD,4,2          ## @E1000_DEFAULT_RXD
	.comm	_RCTL,4,2                       ## @RCTL
	.comm	_E1000_RCTL_EN,4,2              ## @E1000_RCTL_EN
	.comm	_RDBAL,4,2                      ## @RDBAL
	.comm	_RDBAH,4,2                      ## @RDBAH
	.comm	_RDLEN,4,2                      ## @RDLEN
	.comm	_RDH,4,2                        ## @RDH
	.comm	_RDT,4,2                        ## @RDT
	.comm	_E1000_RCTL_BAM,4,2             ## @E1000_RCTL_BAM
	.comm	_E1000_RCTL_SZ_2048,4,2         ## @E1000_RCTL_SZ_2048
	.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	_E1000_RXBUFFER_2048,4,2        ## @E1000_RXBUFFER_2048
	.comm	_NET_SKB_PAD,4,2                ## @NET_SKB_PAD
	.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	x26, x0
	ldr	w0, [x26, #56]!
	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, [x26]
LBB0_2:
	mov	x24, x19
	ldr	x20, [x24], #8
Lloh3:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #64]
	cbz	x0, LBB0_18
; %bb.3:
	ldr	w8, [x19, #56]
	add	w8, w8, w8, lsl #1
	lsl	w0, w8, #3
	str	w0, [x19, #60]
	mov	w1, #4096
	bl	_ALIGN
	mov	x1, x0
	str	w0, [x19, #60]
	add	x2, x19, #72
	ldr	w3, [x23]
	mov	x0, x20
	bl	_dma_alloc_coherent
	str	x0, [x19, #96]
	cbz	x0, LBB0_19
; %bb.4:
	stp	xzr, xzr, [x19, #80]
Lloh5:
	adrp	x8, _TDBAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TDBAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w1, [x19, #72]
	bl	_ew32
Lloh8:
	adrp	x8, _TDBAH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TDBAH@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_ew32
Lloh11:
	adrp	x8, _TDLEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TDLEN@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	w8, [x19, #56]
	add	w8, w8, w8, lsl #1
	lsl	w1, w8, #3
	bl	_ew32
Lloh14:
	adrp	x8, _TDH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TDH@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_ew32
Lloh17:
	adrp	x8, _TDT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TDT@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_ew32
Lloh20:
	adrp	x8, _TCTL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TCTL@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _E1000_TCTL_PSP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _E1000_TCTL_PSP@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _E1000_TCTL_EN@GOTPAGE
Lloh27:
	ldr	x9, [x9, _E1000_TCTL_EN@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh29:
	adrp	x9, _E1000_COLLISION_THRESHOLD@GOTPAGE
Lloh30:
	ldr	x9, [x9, _E1000_COLLISION_THRESHOLD@GOTPAGEOFF]
Lloh31:
	adrp	x10, _E1000_CT_SHIFT@GOTPAGE
Lloh32:
	ldr	x10, [x10, _E1000_CT_SHIFT@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
Lloh34:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh35:
	adrp	x9, _E1000_FDX_COLLISION_DISTANCE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _E1000_FDX_COLLISION_DISTANCE@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
Lloh38:
	adrp	x10, _E1000_COLD_SHIFT@GOTPAGE
Lloh39:
	ldr	x10, [x10, _E1000_COLD_SHIFT@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w1, w8, w9
	bl	_ew32
	ldr	w8, [x19, #56]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x27, #0
	mov	x21, #0
Lloh41:
	adrp	x28, _DMA_TO_DEVICE@GOTPAGE
Lloh42:
	ldr	x28, [x28, _DMA_TO_DEVICE@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x26]
	stp	q0, q1, [sp]
	ldr	q0, [x26, #32]
	str	q0, [sp, #32]
	mov	x0, sp
	mov	x1, x21
	bl	_E1000_TX_DESC
	mov	x22, x0
	mov	x25, x23
	ldr	w1, [x23]
	mov	w0, #1024
	bl	_alloc_skb
	cbz	x0, LBB0_20
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x0
	mov	w1, #1024
	bl	_skb_put
	ldr	x8, [x19, #64]
	add	x8, x8, x27
	str	x23, [x8, #16]
	ldr	w2, [x23]
	str	w2, [x8]
	ldr	x1, [x23, #8]
	ldr	w3, [x28]
	mov	x0, x20
	bl	_dma_map_single
	mov	x1, x0
	ldr	x8, [x19, #64]
	add	x8, x8, x27
	str	x0, [x8, #8]
	mov	x0, x20
	bl	_dma_mapping_error
	cbnz	x0, LBB0_22
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #64]
	add	x8, x8, x27
	ldr	x0, [x8, #8]
	bl	_cpu_to_le64
	str	x0, [x22, #16]
	ldr	w0, [x23]
	bl	_cpu_to_le32
	str	w0, [x22, #8]
Lloh43:
	adrp	x8, _E1000_TXD_CMD_EOP@GOTPAGE
Lloh44:
	ldr	x8, [x8, _E1000_TXD_CMD_EOP@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
Lloh46:
	adrp	x9, _E1000_TXD_CMD_IFCS@GOTPAGE
Lloh47:
	ldr	x9, [x9, _E1000_TXD_CMD_IFCS@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh49:
	adrp	x9, _E1000_TXD_CMD_RPS@GOTPAGE
Lloh50:
	ldr	x9, [x9, _E1000_TXD_CMD_RPS@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	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, #56]
	add	x27, x27, #24
	cmp	x21, x8
	mov	x23, x25
	b.lt	LBB0_6
LBB0_9:
	ldr	w0, [x24]
	cbnz	w0, LBB0_11
; %bb.10:
Lloh52:
	adrp	x8, _E1000_DEFAULT_RXD@GOTPAGE
Lloh53:
	ldr	x8, [x8, _E1000_DEFAULT_RXD@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	str	w0, [x24]
LBB0_11:
	ldr	w2, [x23]
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_21
; %bb.12:
	ldr	w8, [x19, #8]
	lsl	w1, w8, #3
	str	w1, [x19, #12]
	add	x2, x19, #24
	ldr	w3, [x23]
	mov	x0, x20
	bl	_dma_alloc_coherent
	str	x0, [x19, #48]
	cbz	x0, LBB0_23
; %bb.13:
	stp	xzr, xzr, [x19, #32]
Lloh55:
	adrp	x21, _RCTL@GOTPAGE
Lloh56:
	ldr	x21, [x21, _RCTL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_er32
	ldr	w8, [x21]
Lloh57:
	adrp	x22, _E1000_RCTL_EN@GOTPAGE
Lloh58:
	ldr	x22, [x22, _E1000_RCTL_EN@GOTPAGEOFF]
	ldr	w9, [x22]
	bic	w1, w0, w9
	mov	x0, x8
	bl	_ew32
Lloh59:
	adrp	x8, _RDBAL@GOTPAGE
Lloh60:
	ldr	x8, [x8, _RDBAL@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	ldr	w1, [x19, #24]
	bl	_ew32
Lloh62:
	adrp	x8, _RDBAH@GOTPAGE
Lloh63:
	ldr	x8, [x8, _RDBAH@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x8]
	bl	_ew32
Lloh65:
	adrp	x8, _RDLEN@GOTPAGE
Lloh66:
	ldr	x8, [x8, _RDLEN@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	ldr	w1, [x19, #12]
	bl	_ew32
Lloh68:
	adrp	x8, _RDH@GOTPAGE
Lloh69:
	ldr	x8, [x8, _RDH@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_ew32
Lloh71:
	adrp	x8, _RDT@GOTPAGE
Lloh72:
	ldr	x8, [x8, _RDT@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_ew32
	ldr	w8, [x22]
Lloh74:
	adrp	x9, _E1000_RCTL_BAM@GOTPAGE
Lloh75:
	ldr	x9, [x9, _E1000_RCTL_BAM@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
Lloh77:
	adrp	x10, _E1000_RCTL_SZ_2048@GOTPAGE
Lloh78:
	ldr	x10, [x10, _E1000_RCTL_SZ_2048@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh79:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh80:
	adrp	x9, _E1000_RCTL_LBM_NO@GOTPAGE
Lloh81:
	ldr	x9, [x9, _E1000_RCTL_LBM_NO@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh83:
	adrp	x9, _E1000_RCTL_RDMTS_HALF@GOTPAGE
Lloh84:
	ldr	x9, [x9, _E1000_RCTL_RDMTS_HALF@GOTPAGEOFF]
Lloh85:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19, #104]
Lloh86:
	adrp	x10, _E1000_RCTL_MO_SHIFT@GOTPAGE
Lloh87:
	ldr	x10, [x10, _E1000_RCTL_MO_SHIFT@GOTPAGEOFF]
Lloh88:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w1, w8, w9
	ldr	w0, [x21]
	bl	_ew32
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.14:
	mov	x26, x23
	mov	x25, #0
	mov	x21, #0
Lloh89:
	adrp	x27, _NET_SKB_PAD@GOTPAGE
Lloh90:
	ldr	x27, [x27, _NET_SKB_PAD@GOTPAGEOFF]
Lloh91:
	adrp	x28, _NET_IP_ALIGN@GOTPAGE
Lloh92:
	ldr	x28, [x28, _NET_IP_ALIGN@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x24]
	stp	q0, q1, [sp]
	ldr	q0, [x24, #32]
	str	q0, [sp, #32]
	mov	x0, sp
	mov	x1, x21
	bl	_E1000_RX_DESC
	mov	x23, x0
Lloh93:
	adrp	x22, _E1000_RXBUFFER_2048@GOTPAGE
Lloh94:
	ldr	x22, [x22, _E1000_RXBUFFER_2048@GOTPAGEOFF]
	ldr	w8, [x22]
	ldr	w9, [x27]
	ldr	w10, [x28]
	add	w8, w9, w8
	add	w0, w8, w10
	ldr	w1, [x26]
	bl	_kzalloc
	cbz	x0, LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x19, #16]
	add	x8, x8, x25
	str	x0, [x8, #8]
	ldrsw	x8, [x27]
	add	x8, x0, x8, lsl #2
	ldrsw	x9, [x28]
	add	x1, x8, x9, lsl #2
	ldr	w2, [x22]
Lloh95:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh96:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh97:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_dma_map_single
	mov	x1, x0
	ldr	x8, [x19, #16]
	str	x0, [x8, x25]
	mov	x0, x20
	bl	_dma_mapping_error
	cbnz	x0, LBB0_26
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, x25]
	bl	_cpu_to_le64
	mov	w22, #0
	str	x0, [x23]
	add	x21, x21, #1
	ldrsw	x8, [x19, #8]
	add	x25, x25, #16
	cmp	x21, x8
	b.lt	LBB0_15
	b	LBB0_28
LBB0_18:
	mov	w22, #1
	b	LBB0_27
LBB0_19:
	mov	w22, #2
	b	LBB0_27
LBB0_20:
	mov	w22, #3
	b	LBB0_27
LBB0_21:
	mov	w22, #5
	b	LBB0_27
LBB0_22:
	mov	w22, #4
	b	LBB0_27
LBB0_23:
	mov	w22, #6
	b	LBB0_27
LBB0_24:
	mov	w22, #0
	b	LBB0_28
LBB0_25:
	mov	w22, #7
	b	LBB0_27
LBB0_26:
	mov	w22, #8
LBB0_27:
	mov	x0, x19
	bl	_e1000_free_desc_rings
LBB0_28:
	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	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh33
	.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 AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.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 AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_DEFAULT_TXD,4,2          ; @E1000_DEFAULT_TXD
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_TDBAL,4,2                      ; @TDBAL
	.comm	_TDBAH,4,2                      ; @TDBAH
	.comm	_TDLEN,4,2                      ; @TDLEN
	.comm	_TDH,4,2                        ; @TDH
	.comm	_TDT,4,2                        ; @TDT
	.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_COLLISION_THRESHOLD,4,2  ; @E1000_COLLISION_THRESHOLD
	.comm	_E1000_CT_SHIFT,4,2             ; @E1000_CT_SHIFT
	.comm	_E1000_FDX_COLLISION_DISTANCE,4,2 ; @E1000_FDX_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_RPS,4,2          ; @E1000_TXD_CMD_RPS
	.comm	_E1000_DEFAULT_RXD,4,2          ; @E1000_DEFAULT_RXD
	.comm	_RCTL,4,2                       ; @RCTL
	.comm	_E1000_RCTL_EN,4,2              ; @E1000_RCTL_EN
	.comm	_RDBAL,4,2                      ; @RDBAL
	.comm	_RDBAH,4,2                      ; @RDBAH
	.comm	_RDLEN,4,2                      ; @RDLEN
	.comm	_RDH,4,2                        ; @RDH
	.comm	_RDT,4,2                        ; @RDT
	.comm	_E1000_RCTL_BAM,4,2             ; @E1000_RCTL_BAM
	.comm	_E1000_RCTL_SZ_2048,4,2         ; @E1000_RCTL_SZ_2048
	.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	_E1000_RXBUFFER_2048,4,2        ; @E1000_RXBUFFER_2048
	.comm	_NET_SKB_PAD,4,2                ; @NET_SKB_PAD
	.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
