	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function octeon_create_recv_info
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_octeon_create_recv_info:               ## @octeon_create_recv_info
	.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	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	16(%rsi), %rax
	shlq	$5, %rcx
	movq	24(%rax,%rcx), %r14
	movl	$4, %edi
	callq	_octeon_alloc_recv_info
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r15, %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movl	8(%r14), %eax
	movl	%eax, 40(%rdx)
	movq	(%r14), %r15
	movq	%r15, (%rdx)
	movq	%rbx, 32(%rdx)
	movq	8(%r13), %rax
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, 24(%rdx)
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.2:
	xorl	%r14d, %r14d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	16(%r12), %rbx
	movl	(%r13), %edi
	movq	%r12, %r13
	movq	%rcx, %r12
	shlq	$5, %r12
	movl	8(%rbx,%r12), %esi
	callq	_lio_unmap_ring
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx,%r12)
	movq	(%r13), %rax
	cmpq	%rax, %r15
	cmovbq	%r15, %rax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rcx
	movq	%rax, (%rcx,%r14,8)
	movq	16(%r13), %rax
	movq	(%rax,%r12), %rax
	movq	16(%rdx), %rcx
	movq	%rax, (%rcx,%r14,8)
	movq	16(%r13), %rax
	movq	$0, (%rax,%r12)
	movq	%r13, %r12
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%r12), %edx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_incr_index
	movq	%rax, %rcx
	subq	(%r12), %r15
	incq	%r14
	cmpq	%r14, %rbx
	jne	LBB0_3
LBB0_4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_octeon_create_recv_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function octeon_create_recv_info
_octeon_create_recv_info:               ; @octeon_create_recv_info
	.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, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x1, #16]
	add	x8, x8, x3, lsl #5
	ldr	x25, [x8, #24]
	mov	w0, #4
	bl	_octeon_alloc_recv_info
	mov	x23, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x24, [x23]
	ldr	w8, [x25, #8]
	str	w8, [x24, #40]
	ldr	x25, [x25]
	str	x25, [x24]
	ldr	x8, [x21, #8]
	stp	x8, x19, [x24, #24]
	cbz	x19, LBB0_4
; %bb.2:
	mov	x26, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	w0, [x21]
	lsl	x27, x22, #5
	add	x28, x8, x27
	ldr	w1, [x28, #8]
	bl	_lio_unmap_ring
	stp	xzr, xzr, [x28, #8]
	ldr	x8, [x20]
	cmp	x25, x8
	csel	x8, x25, x8, lo
	lsl	x9, x26, #3
	ldp	x10, x11, [x24, #8]
	str	x8, [x10, x9]
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x27]
	str	x8, [x11, x9]
	ldr	x8, [x20, #16]
	str	xzr, [x8, x27]
	ldr	w2, [x20, #8]
	mov	x0, x22
	mov	w1, #1
	bl	_incr_index
	mov	x22, x0
	ldr	x8, [x20]
	sub	x25, x25, x8
	add	x26, x26, #1
	cmp	x19, x26
	b.ne	LBB0_3
LBB0_4:
	mov	x0, x23
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_octeon_create_recv_info
.subsections_via_symbols
