	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgb_alloc_rx_buffers
_ixgb_alloc_rx_buffers:                 ## @ixgb_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
	movl	%esi, %ebx
	movq	%rdi, %r15
	addq	$32, %rdi
	movq	16(%r15), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	24(%r15), %r13
	movl	32(%r15), %r12d
	movq	40(%r15), %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_IXGB_DESC_UNUSED
	cmpq	$4, %rax
	jl	LBB0_10
## %bb.1:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rcx
	shlq	$4, %rcx
	addq	%rcx, %r14
	incq	%rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	subl	$1, %ebx
	jb	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r14), %r13
	testq	%r13, %r13
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_skb_trim
	movl	8(%r15), %edx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r15), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_netdev_alloc_skb_ip_align
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, 8(%r14)
	movl	8(%r15), %edx
	movl	%edx, 4(%r14)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %esi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_dma_map_single
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%r15), %rdi
	movq	40(%r15), %rsi
	movl	%r12d, %edx
	callq	_IXGB_RX_DESC
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_cpu_to_le64
	movl	%eax, 8(%rbx)
	movq	$0, (%rbx)
	incl	%r12d
	cmpl	36(%r15), %r12d
	movl	$0, %eax
	cmovel	%eax, %r12d
	movq	%r12, %r14
	shlq	$4, %r14
	addq	40(%r15), %r14
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	decq	%rax
	cmpq	$4, %rax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	ja	LBB0_2
	jmp	LBB0_10
LBB0_9:
	incl	4(%r15)
LBB0_10:
	xorl	%edi, %edi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	cmpl	%r12d, (%r14)
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movl	%r12d, (%r14)
	xorl	%edi, %edi
	testl	%r12d, %r12d
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	36(%r15), %r12d
LBB0_13:
	decl	%r12d
	xorl	%eax, %eax
	callq	_wmb
	movq	_RDT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IXGB_WRITE_REG                 ## TAILCALL
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_RDT,4,2                        ## @RDT
	.no_dead_strip	_ixgb_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 ixgb_alloc_rx_buffers
_ixgb_alloc_rx_buffers:                 ; @ixgb_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	x22, x1
	mov	x19, x0
	mov	x21, x0
	ldr	w20, [x21, #32]!
	ldp	x24, x23, [x21, #-16]
	ldr	x25, [x21, #8]
	mov	x0, x21
	bl	_IXGB_DESC_UNUSED
	cmp	x0, #4
	b.lt	LBB0_10
; %bb.1:
	add	x28, x25, x20, lsl #4
	add	x26, x0, #1
Lloh0:
	adrp	x27, _DMA_FROM_DEVICE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _DMA_FROM_DEVICE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w22, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x25, [x28, #8]
	cbz	x25, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x25
	mov	w1, #0
	bl	_skb_trim
	ldr	w2, [x19, #8]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x19, #8]
	mov	x0, x23
	bl	_netdev_alloc_skb_ip_align
	mov	x25, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x25, [x28, #8]
	ldr	w2, [x19, #8]
	str	w2, [x28, #4]
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x25]
	ldr	w3, [x27]
	mov	x0, x24
	bl	_dma_map_single
	mov	x1, x0
	str	w0, [x28]
	mov	x0, x24
	bl	_dma_mapping_error
	cbnz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x0, x1, [x19, #32]
	mov	x2, x20
	bl	_IXGB_RX_DESC
	mov	x25, x0
	ldr	w0, [x28]
	bl	_cpu_to_le64
	str	w0, [x25, #8]
	str	xzr, [x25]
	add	w8, w20, #1
	ldr	w9, [x19, #36]
	cmp	w8, w9
	csinc	w20, wzr, w20, eq
	ldr	x8, [x19, #40]
	add	x28, x8, w20, uxtw #4
	sub	x26, x26, #1
	sub	w22, w22, #1
	cmp	x26, #4
	b.hi	LBB0_2
	b	LBB0_10
LBB0_9:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_10:
	ldr	w8, [x21]
	cmp	w8, w20
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_14
; %bb.11:
	str	w20, [x21]
	cmp	w20, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_13
; %bb.12:
	ldr	w20, [x19, #36]
LBB0_13:
	sub	w20, w20, #1
	bl	_wmb
Lloh2:
	adrp	x8, _RDT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RDT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, 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	_IXGB_WRITE_REG
LBB0_14:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_RDT,4,2                        ; @RDT
	.no_dead_strip	_ixgb_alloc_rx_buffers
.subsections_via_symbols
