	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_check_vf
_qlcnic_check_vf:                       ## @qlcnic_check_vf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_QLCNIC_FW_API@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_QLC_SHARED_REG_RD32
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	%rbx, %rdi
	callq	_qlcnic_get_func_no
	movq	_QLCNIC_DRV_OP_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_QLC_SHARED_REG_RD32
	movq	_QLC_DEV_DRV_DEFAULT@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_QLCNIC_MGMT_FUNC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_3
LBB0_2:
	movq	8(%rbx), %rcx
	movl	16(%rcx), %esi
	movq	%rax, %rdi
	callq	_QLC_DEV_GET_DRV
LBB0_3:
	movq	_QLCNIC_NON_PRIV_FUNC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	16(%rbx), %rdi
	movq	(%rcx), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	_qlcnic_vf_ops@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_qlcnic_ops@GOTPCREL(%rip), %rax
LBB0_6:
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_FW_API,4,2              ## @QLCNIC_FW_API
	.comm	_QLCNIC_DRV_OP_MODE,4,2         ## @QLCNIC_DRV_OP_MODE
	.comm	_QLC_DEV_DRV_DEFAULT,8,3        ## @QLC_DEV_DRV_DEFAULT
	.comm	_QLCNIC_MGMT_FUNC,8,3           ## @QLCNIC_MGMT_FUNC
	.comm	_QLCNIC_NON_PRIV_FUNC,8,3       ## @QLCNIC_NON_PRIV_FUNC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HAL Version: %d Non Privileged function\n"

	.comm	_qlcnic_vf_ops,4,2              ## @qlcnic_vf_ops
	.comm	_qlcnic_ops,4,2                 ## @qlcnic_ops
	.no_dead_strip	_qlcnic_check_vf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_check_vf
_qlcnic_check_vf:                       ; @qlcnic_check_vf
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _QLCNIC_FW_API@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_FW_API@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_QLC_SHARED_REG_RD32
	ldr	x8, [x19, #8]
	str	x0, [x8]
	mov	x0, x19
	bl	_qlcnic_get_func_no
Lloh3:
	adrp	x8, _QLCNIC_DRV_OP_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_DRV_OP_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_QLC_SHARED_REG_RD32
Lloh6:
	adrp	x8, _QLC_DEV_DRV_DEFAULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLC_DEV_DRV_DEFAULT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _QLCNIC_MGMT_FUNC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QLCNIC_MGMT_FUNC@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #16]
	bl	_QLC_DEV_GET_DRV
LBB0_3:
Lloh12:
	adrp	x8, _QLCNIC_NON_PRIV_FUNC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QLCNIC_NON_PRIV_FUNC@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x9, x8, [x19, #8]
	str	x0, [x9, #8]
	ldr	x2, [x9]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_dev_info
Lloh17:
	adrp	x8, _qlcnic_vf_ops@GOTPAGE
Lloh18:
	ldr	x8, [x8, _qlcnic_vf_ops@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh19:
	adrp	x8, _qlcnic_ops@GOTPAGE
Lloh20:
	ldr	x8, [x8, _qlcnic_ops@GOTPAGEOFF]
LBB0_6:
	str	x8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_FW_API,4,2              ; @QLCNIC_FW_API
	.comm	_QLCNIC_DRV_OP_MODE,4,2         ; @QLCNIC_DRV_OP_MODE
	.comm	_QLC_DEV_DRV_DEFAULT,8,3        ; @QLC_DEV_DRV_DEFAULT
	.comm	_QLCNIC_MGMT_FUNC,8,3           ; @QLCNIC_MGMT_FUNC
	.comm	_QLCNIC_NON_PRIV_FUNC,8,3       ; @QLCNIC_NON_PRIV_FUNC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HAL Version: %d Non Privileged function\n"

	.comm	_qlcnic_vf_ops,4,2              ; @qlcnic_vf_ops
	.comm	_qlcnic_ops,4,2                 ; @qlcnic_ops
	.no_dead_strip	_qlcnic_check_vf
.subsections_via_symbols
