	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_map_pf_queues_to_vsi
_i40e_map_pf_queues_to_vsi:             ## @i40e_map_pf_queues_to_vsi
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rdi), %rax
	movq	40(%rdi), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jg	LBB0_3
LBB0_13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$1, %ecx
LBB0_3:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	$8, %rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	leaq	16(%rdi), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%ecx, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	testq	%rax, %rax
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%rdi), %rcx
	leaq	(%rcx,%rdx,8), %rax
	leaq	(%rcx,%rdx,8), %rcx
	addq	$4, %rcx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	8(%rdi), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax), %r12d
	movl	(%rcx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	%ebx, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_I40E_VSILAN_QTABLE
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_i40e_write_rx_ctl
	incl	%ebx
	addl	$2, %r13d
	cmpl	$7, %ebx
	je	LBB0_11
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$134154239, %r14d               ## imm = 0x7FF07FF
	cmpl	%r12d, %r13d
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	movl	%r13d, %edx
	callq	_i40e_vc_get_pf_queue_id
	movl	%eax, %r12d
	leal	1(%r13), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_i40e_vc_get_pf_queue_id
	movl	%eax, %r14d
	shll	$16, %r14d
	orl	%r12d, %r14d
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	cmpq	-80(%rbp), %rdx                 ## 8-byte Folded Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	32(%rdi), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_i40e_map_pf_queues_to_vsi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_map_pf_queues_to_vsi
_i40e_map_pf_queues_to_vsi:             ; @i40e_map_pf_queues_to_vsi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x0
	ldr	x8, [x0, #40]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w9, [x19]
	cmp	w9, #1
	b.ge	LBB0_4
LBB0_2:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_3:
	mov	w9, #1
LBB0_4:
	mov	x26, #0
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	add	x20, x10, #8
	add	x27, x19, #16
	mov	w28, w9
	cbz	x8, LBB0_6
LBB0_5:
	ldr	x8, [x19, #24]
	add	x8, x8, x26, lsl #3
	add	x9, x8, #4
	b	LBB0_7
LBB0_6:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	mov	x9, x27
LBB0_7:
	mov	w21, #0
	mov	w22, #0
	ldr	w25, [x8]
	ldr	w23, [x9]
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_i40e_vc_get_pf_queue_id
	mov	x24, x0
	add	w2, w21, #1
	mov	x0, x19
	mov	x1, x23
	bl	_i40e_vc_get_pf_queue_id
	orr	w24, w24, w0, lsl #16
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_I40E_VSILAN_QTABLE
	mov	x1, x0
	mov	x0, x20
	mov	x2, x24
	bl	_i40e_write_rx_ctl
	add	w22, w22, #1
	add	w21, w21, #2
	cmp	w22, #7
	b.eq	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	cmp	w21, w25
	b.lt	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w24, #134154239
	b	LBB0_9
LBB0_12:
	add	x26, x26, #1
	cmp	x26, x28
	b.eq	LBB0_2
; %bb.13:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_5
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_i40e_map_pf_queues_to_vsi
.subsections_via_symbols
