	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vsi_map_rings_to_vectors
_i40e_vsi_map_rings_to_vectors:         ## @i40e_vsi_map_rings_to_vectors
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	4(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.1:
	movq	%rdi, %r15
	movl	(%rdi), %edi
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	cmpq	%rcx, %r12
	je	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	16(%r15), %rax
	movq	(%rax,%r12,8), %r13
	movl	%ecx, %esi
	subl	%r12d, %esi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_DIV_ROUND_UP
	movl	%eax, %r14d
	movl	%eax, (%r13)
	movq	40(%r13), %rax
	movq	8(%r15), %rcx
	leaq	-1(%rax,%rcx), %rax
	movq	%rax, 48(%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r13)
	movups	%xmm0, 8(%r13)
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_i40e_map_vector_to_qp
	incl	%ebx
	decl	%r13d
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	subl	%r14d, %edi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_i40e_vsi_map_rings_to_vectors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_vsi_map_rings_to_vectors
_i40e_vsi_map_rings_to_vectors:         ; @i40e_vsi_map_rings_to_vectors
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w24, [x0, #4]
	cmp	w24, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x0
	mov	x20, #0
	mov	w21, #0
	ldr	w22, [x0]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	cmp	x20, x24
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x8, [x19, #16]
	ldr	x25, [x8, x20, lsl #3]
	sub	w1, w24, w20
	mov	x0, x22
	bl	_DIV_ROUND_UP
	str	w0, [x25]
	ldr	x8, [x25, #40]
	ldr	x9, [x19, #8]
	add	x8, x8, x9
	sub	x8, x8, #1
	str	x8, [x25, #48]
	movi.2d	v0, #0000000000000000
	stur	q0, [x25, #24]
	stur	q0, [x25, #8]
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	mov	x25, x0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w25, w25, #1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_i40e_map_vector_to_qp
	add	w21, w21, #1
	cbnz	w25, LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w22, w22, w23
	b	LBB0_2
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_i40e_vsi_map_rings_to_vectors
.subsections_via_symbols
