	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_verify_eeprom
_i40e_verify_eeprom:                    ## @i40e_verify_eeprom
	.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
	leaq	16(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_i40e_diag_eeprom_test
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_i40e_diag_eeprom_test
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_info
	movq	___I40E_BAD_EEPROM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
LBB0_2:
	movq	___I40E_BAD_EEPROM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	(%r14), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	8(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movl	(%rbx), %edi
	movl	(%r14), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"eeprom check failed (%d), Tx/Rx traffic disabled\n"

	.comm	___I40E_BAD_EEPROM,4,2          ## @__I40E_BAD_EEPROM
L_.str.1:                               ## @.str.1
	.asciz	"eeprom check passed, Tx/Rx traffic enabled\n"

	.no_dead_strip	_i40e_verify_eeprom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_verify_eeprom
_i40e_verify_eeprom:                    ; @i40e_verify_eeprom
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x20, x0, #16
	mov	x0, x20
	bl	_i40e_diag_eeprom_test
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_i40e_diag_eeprom_test
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	str	x0, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_dev_info
Lloh2:
	adrp	x8, ___I40E_BAD_EEPROM@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___I40E_BAD_EEPROM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_set_bit
LBB0_3:
Lloh5:
	adrp	x20, ___I40E_BAD_EEPROM@GOTPAGE
Lloh6:
	ldr	x20, [x20, ___I40E_BAD_EEPROM@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x0, [x19, #8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_info
	ldr	w0, [x20]
	ldr	w1, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_clear_bit
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"eeprom check failed (%d), Tx/Rx traffic disabled\n"

	.comm	___I40E_BAD_EEPROM,4,2          ; @__I40E_BAD_EEPROM
l_.str.1:                               ; @.str.1
	.asciz	"eeprom check passed, Tx/Rx traffic enabled\n"

	.no_dead_strip	_i40e_verify_eeprom
.subsections_via_symbols
