	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_get_bios_version
_qlcnic_get_bios_version:               ## @qlcnic_get_bios_version
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movq	16(%rdi), %rax
	movq	(%rcx), %rcx
	movq	_QLCNIC_UNIFIED_ROMIMAGE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	(%rdi), %rcx
	shlq	$2, %rcx
	addq	(%rax), %rcx
	movq	_QLCNIC_UNI_BIOS_VERSION_OFF@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	(%rcx,%rax,4), %edi
	callq	_le32_to_cpu
	movq	%rax, %rcx
	shlq	$16, %rcx
	movq	%rax, %rdx
	shrq	$8, %rdx
	andl	$65280, %edx                    ## imm = 0xFF00
	shrq	$24, %rax
	addq	%rcx, %rax
	addq	%rdx, %rax
	popq	%rbp
	retq
LBB0_2:
	movq	(%rax), %rax
	movq	_QLCNIC_BIOS_VERSION_OFFSET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	popq	%rbp
	jmp	_le32_to_cpu                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_UNIFIED_ROMIMAGE,8,3    ## @QLCNIC_UNIFIED_ROMIMAGE
	.comm	_QLCNIC_BIOS_VERSION_OFFSET,8,3 ## @QLCNIC_BIOS_VERSION_OFFSET
	.comm	_QLCNIC_UNI_BIOS_VERSION_OFF,4,2 ## @QLCNIC_UNI_BIOS_VERSION_OFF
	.no_dead_strip	_qlcnic_get_bios_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_get_bios_version
_qlcnic_get_bios_version:               ; @qlcnic_get_bios_version
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldp	x9, x8, [x0, #8]
	ldr	x9, [x9]
Lloh0:
	adrp	x10, _QLCNIC_UNIFIED_ROMIMAGE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _QLCNIC_UNIFIED_ROMIMAGE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [x0]
	ldr	x8, [x8]
	add	x8, x8, x9, lsl #2
Lloh3:
	adrp	x9, _QLCNIC_UNI_BIOS_VERSION_OFF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QLCNIC_UNI_BIOS_VERSION_OFF@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_le32_to_cpu
	lsr	x8, x0, #8
	and	x8, x8, #0xff00
	lsr	x9, x0, #24
	add	x9, x9, x0, lsl #16
	add	x0, x9, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _QLCNIC_BIOS_VERSION_OFFSET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QLCNIC_BIOS_VERSION_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_le32_to_cpu
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_UNIFIED_ROMIMAGE,8,3    ; @QLCNIC_UNIFIED_ROMIMAGE
	.comm	_QLCNIC_BIOS_VERSION_OFFSET,8,3 ; @QLCNIC_BIOS_VERSION_OFFSET
	.comm	_QLCNIC_UNI_BIOS_VERSION_OFF,4,2 ; @QLCNIC_UNI_BIOS_VERSION_OFF
	.no_dead_strip	_qlcnic_get_bios_version
.subsections_via_symbols
