	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_verify_fw_version_82599
_ixgbe_verify_fw_version_82599:         ## @ixgbe_verify_fw_version_82599
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_IXGBE_ERR_EEPROM_VERSION@GOTPCREL(%rip), %r12
	movq	(%r12), %r14
	movl	$0, -36(%rbp)
	movq	8(%rdi), %rax
	movq	_ixgbe_media_type_fiber@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_IXGBE_FW_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-44(%rbp), %rdx
	movl	%r15d, %esi
	callq	*(%rdi)
	testq	%rax, %rax
	je	LBB0_3
LBB0_10:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_hw_err
LBB0_11:
	movq	(%r12), %r14
	jmp	LBB0_12
LBB0_1:
	xorl	%r14d, %r14d
LBB0_12:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	-44(%rbp), %r15d
	cmpl	$65535, %r15d                   ## imm = 0xFFFF
	je	LBB0_11
## %bb.4:
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.5:
	movq	_IXGBE_FW_PASSTHROUGH_PATCH_CONFIG_PTR@GOTPCREL(%rip), %rax
	addl	(%rax), %r15d
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	*(%rbx)
	testq	%rax, %rax
	jne	LBB0_10
## %bb.6:
	movl	-40(%rbp), %r15d
	cmpl	$65535, %r15d                   ## imm = 0xFFFF
	je	LBB0_11
## %bb.7:
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.8:
	movq	_IXGBE_FW_PATCH_VERSION_4@GOTPCREL(%rip), %rax
	addl	(%rax), %r15d
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	*(%rbx)
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	cmpl	$6, -36(%rbp)
	cmovgeq	%rax, %r14
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_ERR_EEPROM_VERSION,8,3   ## @IXGBE_ERR_EEPROM_VERSION
	.comm	_ixgbe_media_type_fiber,8,3     ## @ixgbe_media_type_fiber
	.comm	_IXGBE_FW_PTR,4,2               ## @IXGBE_FW_PTR
	.comm	_IXGBE_FW_PASSTHROUGH_PATCH_CONFIG_PTR,4,2 ## @IXGBE_FW_PASSTHROUGH_PATCH_CONFIG_PTR
	.comm	_IXGBE_FW_PATCH_VERSION_4,4,2   ## @IXGBE_FW_PATCH_VERSION_4
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"eeprom read at offset %d failed\n"

	.no_dead_strip	_ixgbe_verify_fw_version_82599
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_verify_fw_version_82599
_ixgbe_verify_fw_version_82599:         ; @ixgbe_verify_fw_version_82599
	.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
Lloh0:
	adrp	x21, _IXGBE_ERR_EEPROM_VERSION@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IXGBE_ERR_EEPROM_VERSION@GOTPAGEOFF]
	ldr	x22, [x21]
	str	wzr, [sp, #4]
	ldr	x8, [x0, #8]
Lloh2:
	adrp	x9, _ixgbe_media_type_fiber@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ixgbe_media_type_fiber@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x8, _IXGBE_FW_PTR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_FW_PTR@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	ldr	x8, [x0]
	add	x2, sp, #12
	mov	x1, x20
	blr	x8
	cbz	x0, LBB0_4
LBB0_2:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_hw_err
	b	LBB0_5
LBB0_3:
	mov	x0, #0
	b	LBB0_6
LBB0_4:
	ldr	w8, [sp, #12]
	mov	w9, #65535
	cmp	w8, w9
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_7
LBB0_5:
	ldr	x0, [x21]
LBB0_6:
	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:
Lloh10:
	adrp	x9, _IXGBE_FW_PASSTHROUGH_PATCH_CONFIG_PTR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IXGBE_FW_PASSTHROUGH_PATCH_CONFIG_PTR@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	add	w20, w9, w8
	ldr	x8, [x19]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	blr	x8
	cbnz	x0, LBB0_2
; %bb.8:
	ldr	w8, [sp, #8]
	mov	w9, #65535
	cmp	w8, w9
	b.eq	LBB0_5
; %bb.9:
	cbz	w8, LBB0_5
; %bb.10:
Lloh13:
	adrp	x9, _IXGBE_FW_PATCH_VERSION_4@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IXGBE_FW_PATCH_VERSION_4@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	add	w20, w9, w8
	ldr	x8, [x19]
	add	x2, sp, #4
	mov	x0, x19
	mov	x1, x20
	blr	x8
	cbnz	x0, LBB0_2
; %bb.11:
	ldr	w8, [sp, #4]
	cmp	w8, #5
	csel	x0, xzr, x22, gt
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_ERR_EEPROM_VERSION,8,3   ; @IXGBE_ERR_EEPROM_VERSION
	.comm	_ixgbe_media_type_fiber,8,3     ; @ixgbe_media_type_fiber
	.comm	_IXGBE_FW_PTR,4,2               ; @IXGBE_FW_PTR
	.comm	_IXGBE_FW_PASSTHROUGH_PATCH_CONFIG_PTR,4,2 ; @IXGBE_FW_PASSTHROUGH_PATCH_CONFIG_PTR
	.comm	_IXGBE_FW_PATCH_VERSION_4,4,2   ; @IXGBE_FW_PATCH_VERSION_4
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"eeprom read at offset %d failed\n"

	.no_dead_strip	_ixgbe_verify_fw_version_82599
.subsections_via_symbols
