	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_get_bootld_offs
_qlcnic_get_bootld_offs:                ## @qlcnic_get_bootld_offs
	.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, %r14
	movq	_QLCNIC_BOOTLD_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_QLCNIC_UNI_DIR_SECT_BOOTLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_QLCNIC_UNI_BOOTLD_IDX_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_qlcnic_get_data_desc
	movq	8(%r14), %rcx
	movq	(%rcx), %rcx
	movq	_QLCNIC_UNIFIED_ROMIMAGE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, %rbx
LBB0_2:
	movq	(%r14), %rax
	shlq	$2, %rbx
	addq	(%rax), %rbx
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_BOOTLD_START,8,3        ## @QLCNIC_BOOTLD_START
	.comm	_QLCNIC_UNI_DIR_SECT_BOOTLD,4,2 ## @QLCNIC_UNI_DIR_SECT_BOOTLD
	.comm	_QLCNIC_UNI_BOOTLD_IDX_OFF,4,2  ## @QLCNIC_UNI_BOOTLD_IDX_OFF
	.comm	_QLCNIC_UNIFIED_ROMIMAGE,8,3    ## @QLCNIC_UNIFIED_ROMIMAGE
	.no_dead_strip	_qlcnic_get_bootld_offs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_get_bootld_offs
_qlcnic_get_bootld_offs:                ; @qlcnic_get_bootld_offs
	.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_BOOTLD_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_BOOTLD_START@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x8, _QLCNIC_UNI_DIR_SECT_BOOTLD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QLCNIC_UNI_DIR_SECT_BOOTLD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _QLCNIC_UNI_BOOTLD_IDX_OFF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QLCNIC_UNI_BOOTLD_IDX_OFF@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_qlcnic_get_data_desc
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _QLCNIC_UNIFIED_ROMIMAGE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QLCNIC_UNIFIED_ROMIMAGE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x0]
	bl	_le32_to_cpu
	mov	x20, x0
LBB0_2:
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x0, x8, x20, lsl #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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_BOOTLD_START,8,3        ; @QLCNIC_BOOTLD_START
	.comm	_QLCNIC_UNI_DIR_SECT_BOOTLD,4,2 ; @QLCNIC_UNI_DIR_SECT_BOOTLD
	.comm	_QLCNIC_UNI_BOOTLD_IDX_OFF,4,2  ; @QLCNIC_UNI_BOOTLD_IDX_OFF
	.comm	_QLCNIC_UNIFIED_ROMIMAGE,8,3    ; @QLCNIC_UNIFIED_ROMIMAGE
	.no_dead_strip	_qlcnic_get_bootld_offs
.subsections_via_symbols
