	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_get_fw_version     ## -- Begin function qlcnic_83xx_get_fw_version
	.p2align	4, 0x90
_qlcnic_83xx_get_fw_version:            ## @qlcnic_83xx_get_fw_version
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	_QLCNIC_FW_VERSION_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_QLC_SHARED_REG_RD32
	movl	%eax, %r15d
	movq	_QLCNIC_FW_VERSION_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_QLC_SHARED_REG_RD32
	movl	%eax, %r12d
	movq	_QLCNIC_FW_VERSION_SUB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_QLC_SHARED_REG_RD32
	movl	%eax, %r13d
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_QLCNIC_VERSION_CODE
	movl	%eax, (%rbx)
	movq	_QLCNIC_LINUX_VERSIONID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	movl	%r13d, %r9d
	callq	_dev_info
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_FW_VERSION_MAJOR,4,2    ## @QLCNIC_FW_VERSION_MAJOR
	.comm	_QLCNIC_FW_VERSION_MINOR,4,2    ## @QLCNIC_FW_VERSION_MINOR
	.comm	_QLCNIC_FW_VERSION_SUB,4,2      ## @QLCNIC_FW_VERSION_SUB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Driver v%s, firmware version %d.%d.%d\n"

	.comm	_QLCNIC_LINUX_VERSIONID,4,2     ## @QLCNIC_LINUX_VERSIONID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_83xx_get_fw_version     ; -- Begin function qlcnic_83xx_get_fw_version
	.p2align	2
_qlcnic_83xx_get_fw_version:            ; @qlcnic_83xx_get_fw_version
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x8, _QLCNIC_FW_VERSION_MAJOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_FW_VERSION_MAJOR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_QLC_SHARED_REG_RD32
	mov	x21, x0
Lloh3:
	adrp	x8, _QLCNIC_FW_VERSION_MINOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_FW_VERSION_MINOR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_QLC_SHARED_REG_RD32
	mov	x22, x0
Lloh6:
	adrp	x8, _QLCNIC_FW_VERSION_SUB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLCNIC_FW_VERSION_SUB@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_QLC_SHARED_REG_RD32
	mov	x23, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_QLCNIC_VERSION_CODE
	str	w0, [x19]
Lloh9:
	adrp	x8, _QLCNIC_LINUX_VERSIONID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QLCNIC_LINUX_VERSIONID@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x21
	mov	x4, x22
	mov	x5, x23
	bl	_dev_info
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_FW_VERSION_MAJOR,4,2    ; @QLCNIC_FW_VERSION_MAJOR
	.comm	_QLCNIC_FW_VERSION_MINOR,4,2    ; @QLCNIC_FW_VERSION_MINOR
	.comm	_QLCNIC_FW_VERSION_SUB,4,2      ; @QLCNIC_FW_VERSION_SUB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Driver v%s, firmware version %d.%d.%d\n"

	.comm	_QLCNIC_LINUX_VERSIONID,4,2     ; @QLCNIC_LINUX_VERSIONID
.subsections_via_symbols
