	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_read_lldp_cfg             ## -- Begin function i40e_read_lldp_cfg
	.p2align	4, 0x90
_i40e_read_lldp_cfg:                    ## @i40e_read_lldp_cfg
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_I40E_RESOURCE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i40e_acquire_nvm
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	_I40E_SR_NVM_CONTROL_WORD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	$0, (%rsp)
	leaq	-28(%rbp), %r8
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$4, %ecx
	movl	$1, %r9d
	callq	_i40e_aq_read_nvm
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_i40e_release_nvm
	testq	%rbx, %rbx
	jne	LBB0_8
## %bb.4:
	movq	_I40E_SR_NVM_MAP_STRUCTURE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -28(%rbp)
	je	LBB0_6
## %bb.5:
	movq	_I40E_SR_EMP_MODULE_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_I40E_SR_LLDP_CFG_PTR@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_I40E_ERR_PARAM@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_8:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_I40E_EMP_MODULE_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_I40E_NVM_LLDP_CFG_PTR@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	__i40e_read_lldp_cfg
	movq	%rax, %rbx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_ERR_PARAM,8,3             ## @I40E_ERR_PARAM
	.comm	_I40E_RESOURCE_READ,4,2         ## @I40E_RESOURCE_READ
	.comm	_I40E_SR_NVM_CONTROL_WORD,4,2   ## @I40E_SR_NVM_CONTROL_WORD
	.comm	_I40E_SR_NVM_MAP_STRUCTURE_TYPE,4,2 ## @I40E_SR_NVM_MAP_STRUCTURE_TYPE
	.comm	_I40E_SR_EMP_MODULE_PTR,4,2     ## @I40E_SR_EMP_MODULE_PTR
	.comm	_I40E_SR_LLDP_CFG_PTR,4,2       ## @I40E_SR_LLDP_CFG_PTR
	.comm	_I40E_EMP_MODULE_PTR,4,2        ## @I40E_EMP_MODULE_PTR
	.comm	_I40E_NVM_LLDP_CFG_PTR,4,2      ## @I40E_NVM_LLDP_CFG_PTR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_read_lldp_cfg             ; -- Begin function i40e_read_lldp_cfg
	.p2align	2
_i40e_read_lldp_cfg:                    ; @i40e_read_lldp_cfg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	cbz	x1, LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _I40E_RESOURCE_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_RESOURCE_READ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i40e_acquire_nvm
	mov	x21, x0
	cbnz	x0, LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _I40E_SR_NVM_CONTROL_WORD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_SR_NVM_CONTROL_WORD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x4, sp, #12
	mov	x0, x20
	mov	w2, #0
	mov	w3, #4
	mov	w5, #1
	mov	x6, #0
	bl	_i40e_aq_read_nvm
	mov	x21, x0
	mov	x0, x20
	bl	_i40e_release_nvm
	cbnz	x21, LBB0_6
; %bb.3:
	ldr	w8, [sp, #12]
Lloh6:
	adrp	x9, _I40E_SR_NVM_MAP_STRUCTURE_TYPE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I40E_SR_NVM_MAP_STRUCTURE_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.4:
Lloh9:
	adrp	x8, _I40E_SR_EMP_MODULE_PTR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I40E_SR_EMP_MODULE_PTR@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _I40E_SR_LLDP_CFG_PTR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _I40E_SR_LLDP_CFG_PTR@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh14:
	adrp	x8, _I40E_ERR_PARAM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _I40E_ERR_PARAM@GOTPAGEOFF]
Lloh16:
	ldr	x21, [x8]
LBB0_6:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
LBB0_7:
Lloh17:
	adrp	x8, _I40E_EMP_MODULE_PTR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _I40E_EMP_MODULE_PTR@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x8, _I40E_NVM_LLDP_CFG_PTR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _I40E_NVM_LLDP_CFG_PTR@GOTPAGEOFF]
LBB0_8:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	__i40e_read_lldp_cfg
	mov	x21, x0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_ERR_PARAM,8,3             ; @I40E_ERR_PARAM
	.comm	_I40E_RESOURCE_READ,4,2         ; @I40E_RESOURCE_READ
	.comm	_I40E_SR_NVM_CONTROL_WORD,4,2   ; @I40E_SR_NVM_CONTROL_WORD
	.comm	_I40E_SR_NVM_MAP_STRUCTURE_TYPE,4,2 ; @I40E_SR_NVM_MAP_STRUCTURE_TYPE
	.comm	_I40E_SR_EMP_MODULE_PTR,4,2     ; @I40E_SR_EMP_MODULE_PTR
	.comm	_I40E_SR_LLDP_CFG_PTR,4,2       ; @I40E_SR_LLDP_CFG_PTR
	.comm	_I40E_EMP_MODULE_PTR,4,2        ; @I40E_EMP_MODULE_PTR
	.comm	_I40E_NVM_LLDP_CFG_PTR,4,2      ; @I40E_NVM_LLDP_CFG_PTR
.subsections_via_symbols
