	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_alloc_rx_buffers
_ixgbevf_alloc_rx_buffers:              ## @ixgbevf_alloc_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, %r14
	movl	(%rsi), %r15d
	testl	%edx, %edx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.1:
	movl	%edx, %r12d
	movq	%r15, %rbx
	shlq	$4, %rbx
	addq	8(%r14), %rbx
	movq	8(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	decl	%r12d
	movl	(%rbx), %edi
	callq	_cpu_to_le64
	movl	%eax, (%r13)
	incl	%r15d
	cmpl	4(%r14), %r15d
	movl	$0, %eax
	cmovel	%eax, %r15d
	movq	%r15, %rbx
	shlq	$4, %rbx
	addq	8(%r14), %rbx
	testl	%r12d, %r12d
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_IXGBEVF_RX_DESC
	movq	%rax, %r13
	cmpq	$0, 8(%rbx)
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r14), %esi
	movl	20(%r14), %edi
	callq	_netdev_alloc_skb_ip_align
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, 8(%rbx)
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax), %esi
	movl	16(%r14), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_dma_map_single
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb
	movq	$0, 8(%rbx)
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
LBB0_8:
	cmpl	%r15d, (%r14)
	jne	LBB0_10
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	4(%rax)
	cmpl	%r15d, (%r14)
	je	LBB0_9
LBB0_10:
	movl	%r15d, (%r14)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r15d, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ixgbevf_release_rx_desc        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RX DMA map failed\n"

	.no_dead_strip	_ixgbevf_alloc_rx_buffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_alloc_rx_buffers
_ixgbevf_alloc_rx_buffers:              ; @ixgbevf_alloc_rx_buffers
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x0
	ldr	w20, [x1]
	cbz	w2, LBB0_8
; %bb.1:
	mov	x22, x2
	ldr	x8, [x19, #8]
	add	x27, x8, x20, lsl #4
	ldr	x23, [x21, #8]
Lloh0:
	adrp	x26, _DMA_FROM_DEVICE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _DMA_FROM_DEVICE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w22, w22, #1
	ldr	w0, [x27]
	bl	_cpu_to_le64
	str	w0, [x24]
	add	w8, w20, #1
	ldr	w9, [x19, #4]
	cmp	w8, w9
	csinc	w20, wzr, w20, eq
	ldr	x8, [x19, #8]
	add	x27, x8, w20, uxtw #4
	cbz	w22, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_IXGBEVF_RX_DESC
	mov	x24, x0
	ldr	x8, [x27, #8]
	cbnz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w1, w0, [x19, #16]
	bl	_netdev_alloc_skb_ip_align
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x0
	str	x0, [x27, #8]
	ldr	w1, [x0]
	ldr	w2, [x19, #16]
	ldr	w3, [x26]
	mov	x0, x23
	bl	_dma_map_single
	mov	x1, x0
	str	w0, [x27]
	mov	x0, x23
	bl	_dma_mapping_error
	cbz	x0, LBB0_2
; %bb.6:
	mov	x0, x25
	bl	_dev_kfree_skb
	str	xzr, [x27, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_dev_err
	b	LBB0_8
LBB0_7:
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
LBB0_8:
	ldr	w8, [x19]
	cmp	w8, w20
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	str	w20, [x19]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ixgbevf_release_rx_desc
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RX DMA map failed\n"

	.no_dead_strip	_ixgbevf_alloc_rx_buffers
.subsections_via_symbols
