	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_sriov_get_vf_vport_info ## -- Begin function qlcnic_sriov_get_vf_vport_info
	.p2align	4, 0x90
_qlcnic_sriov_get_vf_vport_info:        ## @qlcnic_sriov_get_vf_vport_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdi), %r14
	movq	_QLCNIC_CMD_GET_NIC_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_qlcnic_alloc_mbx_args
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_25
## %bb.1:
	shll	$16, %r13d
	orl	$1, %r13d
	movq	-48(%rbp), %rax
	movl	%r13d, 4(%rax)
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_qlcnic_issue_cmd
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	movq	(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_24
LBB0_3:
	movq	-56(%rbp), %rax
	movl	8(%rax), %edi
	movzwl	%di, %ebx
	movq	_BIT_0@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.4:
	callq	_MSW
	movq	%rax, 104(%r15)
LBB0_5:
	movq	_BIT_1@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.6:
	movq	-56(%rbp), %rax
	movl	12(%rax), %edi
	callq	_LSW
	movq	%rax, 96(%r15)
LBB0_7:
	movq	_BIT_2@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.8:
	movq	-56(%rbp), %rax
	movl	12(%rax), %edi
	callq	_MSW
	movq	%rax, 88(%r15)
LBB0_9:
	movq	_BIT_3@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.10:
	movq	-56(%rbp), %rax
	movl	16(%rax), %edi
	callq	_LSW
	movq	%rax, 80(%r15)
LBB0_11:
	movq	_BIT_4@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_13
## %bb.12:
	movq	-56(%rbp), %rax
	movl	16(%rax), %edi
	callq	_MSW
	movq	%rax, 72(%r15)
LBB0_13:
	movq	_BIT_5@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_15
## %bb.14:
	movq	-56(%rbp), %rax
	movl	20(%rax), %edi
	callq	_LSW
	movq	%rax, 64(%r15)
LBB0_15:
	movq	_BIT_6@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_17
## %bb.16:
	movq	-56(%rbp), %rax
	movl	20(%rax), %edi
	callq	_MSW
	movq	%rax, 56(%r15)
LBB0_17:
	movq	_BIT_7@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_19
## %bb.18:
	movq	-56(%rbp), %rax
	movl	24(%rax), %edi
	callq	_LSW
	movq	%rax, 48(%r15)
LBB0_19:
	movq	_BIT_8@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_21
## %bb.20:
	movq	-56(%rbp), %rax
	movl	24(%rax), %edi
	callq	_MSW
	movq	%rax, 40(%r15)
LBB0_21:
	movq	_BIT_9@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_23
## %bb.22:
	movq	-56(%rbp), %rax
	movl	28(%rax), %edi
	callq	_LSW
	movq	%rax, 32(%r15)
LBB0_23:
	movq	-56(%rbp), %rax
	movl	28(%rax), %edi
	callq	_MSW
	movq	%rax, 24(%r15)
	movq	-56(%rbp), %rax
	movl	32(%rax), %edi
	callq	_LSW
	movq	%rax, 16(%r15)
	movq	-56(%rbp), %rax
	movl	32(%rax), %edi
	callq	_MSW
	movq	%rax, 8(%r15)
	movq	-56(%rbp), %rax
	movl	36(%rax), %edi
	callq	_LSW
	movq	%rax, (%r15)
	movq	104(%r15), %rdx
	movq	96(%r15), %rcx
	movq	88(%r15), %r8
	movq	80(%r15), %r9
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	pushq	%rax
	pushq	8(%r15)
	pushq	16(%r15)
	pushq	24(%r15)
	pushq	32(%r15)
	pushq	40(%r15)
	pushq	48(%r15)
	pushq	56(%r15)
	pushq	64(%r15)
	pushq	72(%r15)
	callq	_dev_info
	addq	$80, %rsp
	xorl	%ebx, %ebx
LBB0_24:
	leaq	-56(%rbp), %rdi
	callq	_qlcnic_free_mbx_args
LBB0_25:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_CMD_GET_NIC_INFO,4,2    ## @QLCNIC_CMD_GET_NIC_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get vport info, err=%d\n"

	.comm	_BIT_0,4,2                      ## @BIT_0
	.comm	_BIT_1,4,2                      ## @BIT_1
	.comm	_BIT_2,4,2                      ## @BIT_2
	.comm	_BIT_3,4,2                      ## @BIT_3
	.comm	_BIT_4,4,2                      ## @BIT_4
	.comm	_BIT_5,4,2                      ## @BIT_5
	.comm	_BIT_6,4,2                      ## @BIT_6
	.comm	_BIT_7,4,2                      ## @BIT_7
	.comm	_BIT_8,4,2                      ## @BIT_8
	.comm	_BIT_9,4,2                      ## @BIT_9
L_.str.1:                               ## @.str.1
	.asciz	"\n\tmin_tx_bw: %d, max_tx_bw: %d max_tx_ques: %d,\n\tmax_tx_mac_filters: %d max_rx_mcast_mac_filters: %d,\n\tmax_rx_ucast_mac_filters: 0x%x, max_rx_ip_addr: %d,\n\tmax_rx_lro_flow: %d max_rx_status_rings: %d,\n\tmax_rx_buf_rings: %d, max_rx_ques: %d, max_tx_vlan_keys %d\n\tlocal_ipv6_addr: %d, remote_ipv6_addr: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_sriov_get_vf_vport_info ; -- Begin function qlcnic_sriov_get_vf_vport_info
	.p2align	2
_qlcnic_sriov_get_vf_vport_info:        ; @qlcnic_sriov_get_vf_vport_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _QLCNIC_CMD_GET_NIC_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_CMD_GET_NIC_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #64
	mov	x1, x21
	bl	_qlcnic_alloc_mbx_args
	mov	x22, x0
	cbnz	w0, LBB0_25
; %bb.1:
	mov	w8, #1
	bfi	w8, w23, #16, #16
	ldr	x9, [sp, #72]
	str	w8, [x9, #4]
	add	x1, sp, #64
	mov	x0, x21
	bl	_qlcnic_issue_cmd
	cbz	w0, LBB0_3
; %bb.2:
	mov	x22, x0
	ldr	x0, [x21]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_dev_err
	b	LBB0_24
LBB0_3:
	ldr	x8, [sp, #64]
	ldr	w0, [x8, #8]
	and	w21, w0, #0xffff
Lloh5:
	adrp	x8, _BIT_0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BIT_0@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w21, w8
	b.eq	LBB0_5
; %bb.4:
	bl	_MSW
	str	x0, [x20, #104]
LBB0_5:
Lloh8:
	adrp	x8, _BIT_1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BIT_1@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_7
; %bb.6:
	ldr	x8, [sp, #64]
	ldr	w0, [x8, #12]
	bl	_LSW
	str	x0, [x20, #96]
LBB0_7:
Lloh11:
	adrp	x8, _BIT_2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BIT_2@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_9
; %bb.8:
	ldr	x8, [sp, #64]
	ldr	w0, [x8, #12]
	bl	_MSW
	str	x0, [x20, #88]
LBB0_9:
Lloh14:
	adrp	x8, _BIT_3@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BIT_3@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_11
; %bb.10:
	ldr	x8, [sp, #64]
	ldr	w0, [x8, #16]
	bl	_LSW
	str	x0, [x20, #80]
LBB0_11:
Lloh17:
	adrp	x8, _BIT_4@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BIT_4@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
; %bb.12:
	ldr	x8, [sp, #64]
	ldr	w0, [x8, #16]
	bl	_MSW
	str	x0, [x20, #72]
LBB0_13:
Lloh20:
	adrp	x8, _BIT_5@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BIT_5@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_15
; %bb.14:
	ldr	x8, [sp, #64]
	ldr	w0, [x8, #20]
	bl	_LSW
	str	x0, [x20, #64]
LBB0_15:
Lloh23:
	adrp	x8, _BIT_6@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BIT_6@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_17
; %bb.16:
	ldr	x8, [sp, #64]
	ldr	w0, [x8, #20]
	bl	_MSW
	str	x0, [x20, #56]
LBB0_17:
Lloh26:
	adrp	x8, _BIT_7@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BIT_7@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_19
; %bb.18:
	ldr	x8, [sp, #64]
	ldr	w0, [x8, #24]
	bl	_LSW
	str	x0, [x20, #48]
LBB0_19:
Lloh29:
	adrp	x8, _BIT_8@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BIT_8@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_21
; %bb.20:
	ldr	x8, [sp, #64]
	ldr	w0, [x8, #24]
	bl	_MSW
	str	x0, [x20, #40]
LBB0_21:
Lloh32:
	adrp	x8, _BIT_9@GOTPAGE
Lloh33:
	ldr	x8, [x8, _BIT_9@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_23
; %bb.22:
	ldr	x8, [sp, #64]
	ldr	w0, [x8, #28]
	bl	_LSW
	str	x0, [x20, #32]
LBB0_23:
	ldr	x8, [sp, #64]
	ldr	w0, [x8, #28]
	bl	_MSW
	str	x0, [x20, #24]
	ldr	x8, [sp, #64]
	ldr	w0, [x8, #32]
	bl	_LSW
	str	x0, [x20, #16]
	ldr	x8, [sp, #64]
	ldr	w0, [x8, #32]
	bl	_MSW
	str	x0, [x20, #8]
	ldr	x8, [sp, #64]
	ldr	w0, [x8, #36]
	bl	_LSW
	str	x0, [x20]
	ldp	x3, x2, [x20, #96]
	ldp	x5, x4, [x20, #80]
	ldp	x7, x6, [x20, #64]
	ldp	x9, x8, [x20, #48]
	ldp	x11, x10, [x20, #32]
	ldp	x13, x12, [x20, #16]
	ldr	x14, [x20, #8]
	stp	x14, x0, [sp, #48]
	stp	x12, x13, [sp, #32]
	stp	x10, x11, [sp, #16]
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
	stp	x8, x9, [sp]
	mov	x0, x19
	bl	_dev_info
	mov	w22, #0
LBB0_24:
	add	x0, sp, #64
	bl	_qlcnic_free_mbx_args
LBB0_25:
	mov	x0, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_CMD_GET_NIC_INFO,4,2    ; @QLCNIC_CMD_GET_NIC_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get vport info, err=%d\n"

	.comm	_BIT_0,4,2                      ; @BIT_0
	.comm	_BIT_1,4,2                      ; @BIT_1
	.comm	_BIT_2,4,2                      ; @BIT_2
	.comm	_BIT_3,4,2                      ; @BIT_3
	.comm	_BIT_4,4,2                      ; @BIT_4
	.comm	_BIT_5,4,2                      ; @BIT_5
	.comm	_BIT_6,4,2                      ; @BIT_6
	.comm	_BIT_7,4,2                      ; @BIT_7
	.comm	_BIT_8,4,2                      ; @BIT_8
	.comm	_BIT_9,4,2                      ; @BIT_9
l_.str.1:                               ; @.str.1
	.asciz	"\n\tmin_tx_bw: %d, max_tx_bw: %d max_tx_ques: %d,\n\tmax_tx_mac_filters: %d max_rx_mcast_mac_filters: %d,\n\tmax_rx_ucast_mac_filters: 0x%x, max_rx_ip_addr: %d,\n\tmax_rx_lro_flow: %d max_rx_status_rings: %d,\n\tmax_rx_buf_rings: %d, max_rx_ques: %d, max_tx_vlan_keys %d\n\tlocal_ipv6_addr: %d, remote_ipv6_addr: %d\n"

.subsections_via_symbols
