	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	(%rsi), %r13d
	testl	%edx, %edx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.1:
	movl	%edx, %r12d
	movq	%r13, %rbx
	shlq	$4, %rbx
	addq	16(%r15), %rbx
	movq	16(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	decl	%r12d
	movq	16(%r15), %rax
	movq	%rax, 16(%rsp)
	movups	(%r15), %xmm0
	movups	%xmm0, (%rsp)
	movl	%r13d, %edi
	callq	_E1000_RX_DESC
	movq	%rax, %r14
	movq	(%rbx), %rdi
	callq	_cpu_to_le64
	movl	%eax, (%r14)
	incl	%r13d
	xorl	%edi, %edi
	cmpl	4(%r15), %r13d
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	movl	$0, %eax
	cmovnel	%eax, %r13d
	movq	%r13, %rbx
	shlq	$4, %rbx
	addq	16(%r15), %rbx
	testl	%r12d, %r12d
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%rbx)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_alloc_page
	movq	%rax, 8(%rbx)
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_7
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%rbx)
	jne	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rsi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %ecx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_dma_map_page
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	8(%rbx), %rdi
	callq	_put_page
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
LBB0_7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	8(%rax)
LBB0_8:
	xorl	%edi, %edi
	cmpl	%r13d, (%r15)
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movl	%r13d, (%r15)
	xorl	%edi, %edi
	testl	%r13d, %r13d
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	4(%r15), %r13d
LBB0_11:
	decl	%r13d
	xorl	%eax, %eax
	callq	_dma_wmb
	movq	8(%r15), %rsi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	(%rax), %rsi
	movl	%r13d, %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.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, x1
	mov	x20, x0
	ldr	w21, [x1]
	cbz	w2, LBB0_9
; %bb.1:
	mov	x22, x2
	ldr	x8, [x19, #16]
	add	x27, x8, x21, lsl #4
	ldr	x23, [x20, #16]
Lloh0:
	adrp	x25, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x25, [x25, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	adrp	x26, _DMA_FROM_DEVICE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _DMA_FROM_DEVICE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w22, w22, #1
	ldr	q0, [x19]
	str	q0, [sp]
	ldr	x8, [x19, #16]
	str	x8, [sp, #16]
	mov	x0, sp
	mov	x1, x21
	bl	_E1000_RX_DESC
	mov	x24, x0
	ldr	x0, [x27]
	bl	_cpu_to_le64
	str	w0, [x24]
	add	w8, w21, #1
	ldr	w9, [x19, #4]
	cmp	w8, w9
	cset	w0, eq
	bl	_unlikely
	cmp	x0, #0
	csinc	w21, wzr, w21, ne
	ldr	x8, [x19, #16]
	add	x27, x8, w21, uxtw #4
	cbz	w22, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27, #8]
	cbnz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x25]
	bl	_alloc_page
	str	x0, [x27, #8]
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27]
	cbnz	x8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x27, #8]
	ldr	w3, [x20, #12]
	ldr	w4, [x26]
	mov	x0, x23
	mov	w2, #0
	bl	_dma_map_page
	mov	x1, x0
	str	x0, [x27]
	mov	x0, x23
	bl	_dma_mapping_error
	cbz	x0, LBB0_2
; %bb.7:
	ldr	x0, [x27, #8]
	bl	_put_page
	stp	xzr, xzr, [x27]
LBB0_8:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_9:
	ldr	w8, [x19]
	cmp	w8, w21
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_13
; %bb.10:
	str	w21, [x19]
	cmp	w21, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w21, [x19, #4]
LBB0_12:
	sub	w21, w21, #1
	bl	_dma_wmb
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	add	x1, x9, x8
	mov	x0, x21
	bl	_writel
LBB0_13:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.no_dead_strip	_e1000_alloc_jumbo_rx_buffers
.subsections_via_symbols
