	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_get_fw_size
_qlcnic_get_fw_size:                    ## @qlcnic_get_fw_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	_QLCNIC_UNI_DIR_SECT_FW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_QLCNIC_UNI_FIRMWARE_IDX_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_qlcnic_get_data_desc
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	_QLCNIC_UNIFIED_ROMIMAGE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movq	_QLCNIC_FW_SIZE_OFFSET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%r14,%rcx,4), %rcx
	cmoveq	%rax, %rcx
	movl	(%rcx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_le32_to_cpu                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_UNI_DIR_SECT_FW,4,2     ## @QLCNIC_UNI_DIR_SECT_FW
	.comm	_QLCNIC_UNI_FIRMWARE_IDX_OFF,4,2 ## @QLCNIC_UNI_FIRMWARE_IDX_OFF
	.comm	_QLCNIC_UNIFIED_ROMIMAGE,8,3    ## @QLCNIC_UNIFIED_ROMIMAGE
	.comm	_QLCNIC_FW_SIZE_OFFSET,8,3      ## @QLCNIC_FW_SIZE_OFFSET
	.no_dead_strip	_qlcnic_get_fw_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_get_fw_size
_qlcnic_get_fw_size:                    ; @qlcnic_get_fw_size
	.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
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _QLCNIC_UNI_DIR_SECT_FW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_UNI_DIR_SECT_FW@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _QLCNIC_UNI_FIRMWARE_IDX_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_UNI_FIRMWARE_IDX_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_qlcnic_get_data_desc
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _QLCNIC_UNIFIED_ROMIMAGE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QLCNIC_UNIFIED_ROMIMAGE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _QLCNIC_FW_SIZE_OFFSET@GOTPAGE
Lloh10:
	ldr	x10, [x10, _QLCNIC_FW_SIZE_OFFSET@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	add	x10, x20, x10, lsl #2
	cmp	x8, x9
	csel	x8, x0, x10, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_le32_to_cpu
	.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_UNI_DIR_SECT_FW,4,2     ; @QLCNIC_UNI_DIR_SECT_FW
	.comm	_QLCNIC_UNI_FIRMWARE_IDX_OFF,4,2 ; @QLCNIC_UNI_FIRMWARE_IDX_OFF
	.comm	_QLCNIC_UNIFIED_ROMIMAGE,8,3    ; @QLCNIC_UNIFIED_ROMIMAGE
	.comm	_QLCNIC_FW_SIZE_OFFSET,8,3      ; @QLCNIC_FW_SIZE_OFFSET
	.no_dead_strip	_qlcnic_get_fw_size
.subsections_via_symbols
