	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_alloc_jumbo_rx_buffers
_e1000_alloc_jumbo_rx_buffers:          ## @e1000_alloc_jumbo_rx_buffers
	.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
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	movl	(%rdi), %ebx
	testl	%esi, %esi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.1:
	movl	%esi, %r12d
	movq	16(%rax), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rbx,2), %r13
	shlq	$3, %r13
	addq	16(%r14), %r13
	movq	8(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	decl	%r12d
	movups	(%r14), %xmm0
	movups	16(%r14), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	%ebx, %edi
	callq	_E1000_RX_DESC_EXT
	movq	%rax, %r15
	movq	(%r13), %rdi
	callq	_cpu_to_le64
	movl	%eax, (%r15)
	incl	%ebx
	xorl	%edi, %edi
	cmpl	4(%r14), %ebx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	movl	$0, %eax
	cmovnel	%eax, %ebx
	leaq	(%rbx,%rbx,2), %r13
	shlq	$3, %r13
	addq	16(%r14), %r13
	testl	%r12d, %r12d
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
	callq	_skb_trim
	cmpq	$0, 8(%r13)
	jne	LBB0_8
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$240, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	___netdev_alloc_skb_ip_align
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, 16(%r13)
	cmpq	$0, 8(%r13)
	jne	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_alloc_page
	movq	%rax, 8(%r13)
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%r13)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rsi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_dma_map_page
	movq	%rax, (%r13)
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_10
LBB0_11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	4(%rax)
LBB0_12:
	xorl	%edi, %edi
	cmpl	%ebx, (%r14)
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:
	movl	%ebx, (%r14)
	xorl	%edi, %edi
	testl	%ebx, %ebx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	4(%r14), %ebx
LBB0_15:
	decl	%ebx
	xorl	%eax, %eax
	callq	_wmb
	movq	_FLAG2_PCIM2PCI_ARBITER_WA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.18:
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_e1000e_update_rdt_wa           ## TAILCALL
LBB0_17:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	8(%r14), %esi
	movl	%ebx, %edi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_FLAG2_PCIM2PCI_ARBITER_WA,4,2  ## @FLAG2_PCIM2PCI_ARBITER_WA
	.no_dead_strip	_e1000_alloc_jumbo_rx_buffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_alloc_jumbo_rx_buffers
_e1000_alloc_jumbo_rx_buffers:          ; @e1000_alloc_jumbo_rx_buffers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldr	x26, [x0, #24]
	ldr	w20, [x0]
	cbz	w1, LBB0_11
; %bb.1:
	mov	x21, x2
	mov	x22, x1
	ldr	x8, [x19, #16]
	mov	w27, #24
	madd	x28, x20, x27, x8
	ldp	x24, x23, [x26, #8]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w22, w22, #1
	ldp	q0, q1, [x19]
	stp	q0, q1, [sp]
	mov	x0, sp
	mov	x1, x20
	bl	_E1000_RX_DESC_EXT
	mov	x25, x0
	ldr	x0, [x28]
	bl	_cpu_to_le64
	str	w0, [x25]
	add	w8, w20, #1
	ldr	w9, [x19, #4]
	cmp	w8, w9
	cset	w0, eq
	bl	_unlikely
	cmp	x0, #0
	csinc	w20, wzr, w20, ne
	ldr	x8, [x19, #16]
	umaddl	x28, w20, w27, x8
	cbz	w22, LBB0_11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x28, #16]
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w1, #0
	bl	_skb_trim
	ldr	x8, [x28, #8]
	cbnz	x8, LBB0_8
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	w1, #240
	mov	x2, x21
	bl	___netdev_alloc_skb_ip_align
	mov	x25, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x25, [x28, #16]
	ldr	x8, [x28, #8]
	cbnz	x8, LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_alloc_page
	str	x0, [x28, #8]
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x28]
	cbnz	x8, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x28, #8]
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x24
	mov	w2, #0
	bl	_dma_map_page
	mov	x1, x0
	str	x0, [x28]
	mov	x0, x24
	bl	_dma_mapping_error
	cbz	x0, LBB0_2
LBB0_10:
	ldr	w8, [x26, #4]
	add	w8, w8, #1
	str	w8, [x26, #4]
LBB0_11:
	ldr	w8, [x19]
	cmp	w8, w20
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_17
; %bb.12:
	str	w20, [x19]
	cmp	w20, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_14
; %bb.13:
	ldr	w20, [x19, #4]
LBB0_14:
	sub	w20, w20, #1
	bl	_wmb
	ldr	w8, [x26]
Lloh6:
	adrp	x9, _FLAG2_PCIM2PCI_ARBITER_WA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FLAG2_PCIM2PCI_ARBITER_WA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x19
	mov	x1, x20
	bl	_e1000e_update_rdt_wa
	b	LBB0_17
LBB0_16:
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_writel
LBB0_17:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_FLAG2_PCIM2PCI_ARBITER_WA,4,2  ; @FLAG2_PCIM2PCI_ARBITER_WA
	.no_dead_strip	_e1000_alloc_jumbo_rx_buffers
.subsections_via_symbols
