	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _i40e_read_lldp_cfg
__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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	_I40E_RESOURCE_READ@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_i40e_acquire_nvm
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	leal	(%r12,%r12), %edx
	movq	$0, (%rsp)
	leaq	-48(%rbp), %r8
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$4, %ecx
	movl	$1, %r9d
	callq	_i40e_aq_read_nvm
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_i40e_release_nvm
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.2:
	movl	-48(%rbp), %edi
	callq	_le16_to_cpu
	movq	_I40E_PTR_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%eax, %edx
	shll	$12, %edx
	andl	$134213632, %edx                ## imm = 0x7FFF000
	addl	%eax, %eax
	testl	%ecx, %ecx
	movzwl	%ax, %eax
	cmovnel	%edx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_i40e_acquire_nvm
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	leal	(%r15,%r15), %edx
	movq	$0, (%rsp)
	leaq	-48(%rbp), %r8
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	$4, %ecx
	movl	$1, %r9d
	callq	_i40e_aq_read_nvm
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_i40e_release_nvm
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.4:
	movl	-48(%rbp), %edi
	callq	_le16_to_cpu
	movl	%eax, %r12d
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_i40e_acquire_nvm
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	addl	%r15d, %r12d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r12,2), %edx
	movq	$0, (%rsp)
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$4, %ecx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	$1, %r9d
	callq	_i40e_aq_read_nvm
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_i40e_release_nvm
LBB0_6:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_RESOURCE_READ,4,2         ## @I40E_RESOURCE_READ
	.comm	_I40E_PTR_TYPE,4,2              ## @I40E_PTR_TYPE
	.no_dead_strip	__i40e_read_lldp_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _i40e_read_lldp_cfg
__i40e_read_lldp_cfg:                   ; @_i40e_read_lldp_cfg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _I40E_RESOURCE_READ@GOTPAGE
Lloh1:
	ldr	x24, [x24, _I40E_RESOURCE_READ@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_i40e_acquire_nvm
	mov	x23, x0
	cbnz	x0, LBB0_6
; %bb.1:
	lsl	w2, w22, #1
	add	x4, sp, #8
	mov	x0, x19
	mov	w1, #0
	mov	w3, #4
	mov	w5, #1
	mov	x6, #0
	bl	_i40e_aq_read_nvm
	mov	x23, x0
	mov	x0, x19
	bl	_i40e_release_nvm
	cbnz	x23, LBB0_6
; %bb.2:
	ldr	w0, [sp, #8]
	bl	_le16_to_cpu
Lloh2:
	adrp	x8, _I40E_PTR_TYPE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I40E_PTR_TYPE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ubfiz	w9, w0, #12, #15
	ubfiz	w10, w0, #1, #15
	tst	w8, w0
	csel	w25, w10, w9, eq
	ldr	w1, [x24]
	mov	x0, x19
	bl	_i40e_acquire_nvm
	mov	x23, x0
	cbnz	x0, LBB0_6
; %bb.3:
	lsl	w2, w21, #1
	add	x4, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	w3, #4
	mov	w5, #1
	mov	x6, #0
	bl	_i40e_aq_read_nvm
	mov	x23, x0
	mov	x0, x19
	bl	_i40e_release_nvm
	cbnz	x23, LBB0_6
; %bb.4:
	ldr	w0, [sp, #8]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	w1, [x24]
	mov	x0, x19
	bl	_i40e_acquire_nvm
	mov	x23, x0
	cbnz	x0, LBB0_6
; %bb.5:
	add	w8, w22, w21
	add	w2, w25, w8, lsl #1
	mov	x0, x19
	mov	w1, #0
	mov	w3, #4
	mov	x4, x20
	mov	w5, #1
	mov	x6, #0
	bl	_i40e_aq_read_nvm
	mov	x23, x0
	mov	x0, x19
	bl	_i40e_release_nvm
LBB0_6:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_RESOURCE_READ,4,2         ; @I40E_RESOURCE_READ
	.comm	_I40E_PTR_TYPE,4,2              ; @I40E_PTR_TYPE
	.no_dead_strip	__i40e_read_lldp_cfg
.subsections_via_symbols
