	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_aq_get_vsi_params         ## -- Begin function i40e_aq_get_vsi_params
	.p2align	4, 0x90
_i40e_aq_get_vsi_params:                ## @i40e_aq_get_vsi_params
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_i40e_aqc_opc_get_vsi_parameters@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	callq	_i40e_fill_default_direct_cmd_desc
	movq	24(%r14), %rdi
	callq	_cpu_to_le16
	movl	%eax, -28(%rbp)
	movq	_I40E_AQ_FLAG_BUF@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_cpu_to_le16
	orl	%eax, -32(%rbp)
	leaq	32(%r14), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %ecx
	xorl	%r8d, %r8d
	callq	_i40e_asq_send_command
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	-16(%rbp), %edi
	callq	_le16_to_cpu
	movq	%rax, 24(%r14)
	movl	-20(%rbp), %edi
	callq	_le16_to_cpu
	movq	%rax, 16(%r14)
	movl	-24(%rbp), %edi
	callq	_le16_to_cpu
	movq	%rax, 8(%r14)
	movl	-28(%rbp), %edi
	callq	_le16_to_cpu
	movq	%rax, (%r14)
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_i40e_aqc_opc_get_vsi_parameters,4,2 ## @i40e_aqc_opc_get_vsi_parameters
	.comm	_I40E_AQ_FLAG_BUF,8,3           ## @I40E_AQ_FLAG_BUF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_aq_get_vsi_params         ; -- Begin function i40e_aq_get_vsi_params
	.p2align	2
_i40e_aq_get_vsi_params:                ; @i40e_aq_get_vsi_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _i40e_aqc_opc_get_vsi_parameters@GOTPAGE
Lloh1:
	ldr	x8, [x8, _i40e_aqc_opc_get_vsi_parameters@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_i40e_fill_default_direct_cmd_desc
	ldr	x0, [x19, #24]
	bl	_cpu_to_le16
	str	w0, [sp, #12]
Lloh3:
	adrp	x8, _I40E_AQ_FLAG_BUF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_AQ_FLAG_BUF@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	bl	_cpu_to_le16
	ldr	w8, [sp, #8]
	orr	w8, w8, w0
	str	w8, [sp, #8]
	add	x2, x19, #32
	add	x1, sp, #8
	mov	x0, x20
	mov	w3, #4
	mov	x4, #0
	bl	_i40e_asq_send_command
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #24]
	bl	_le16_to_cpu
	str	x0, [x19, #24]
	ldr	w0, [sp, #20]
	bl	_le16_to_cpu
	str	x0, [x19, #16]
	ldr	w0, [sp, #16]
	bl	_le16_to_cpu
	str	x0, [x19, #8]
	ldr	w0, [sp, #12]
	bl	_le16_to_cpu
	str	x0, [x19]
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_i40e_aqc_opc_get_vsi_parameters,4,2 ; @i40e_aqc_opc_get_vsi_parameters
	.comm	_I40E_AQ_FLAG_BUF,8,3           ; @I40E_AQ_FLAG_BUF
.subsections_via_symbols
