	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_init_eeprom_params_X550
_ixgbe_init_eeprom_params_X550:         ## @ixgbe_init_eeprom_params_X550
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	_ixgbe_eeprom_uninitialized@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movl	$10, 8(%rdi)
	movq	_ixgbe_flash@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdi)
	callq	_IXGBE_EEC
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_EEC_SIZE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_IXGBE_EEC_SIZE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movslq	%eax, %rdi
	movq	_IXGBE_EEPROM_WORD_SIZE_SHIFT@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_BIT
	movl	%eax, 12(%rbx)
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %ecx
	callq	_hw_dbg
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ixgbe_eeprom_uninitialized,8,3 ## @ixgbe_eeprom_uninitialized
	.comm	_ixgbe_flash,8,3                ## @ixgbe_flash
	.comm	_IXGBE_EEC_SIZE,4,2             ## @IXGBE_EEC_SIZE
	.comm	_IXGBE_EEC_SIZE_SHIFT,4,2       ## @IXGBE_EEC_SIZE_SHIFT
	.comm	_IXGBE_EEPROM_WORD_SIZE_SHIFT,8,3 ## @IXGBE_EEPROM_WORD_SIZE_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Eeprom params: type = %d, size = %d\n"

	.no_dead_strip	_ixgbe_init_eeprom_params_X550
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_init_eeprom_params_X550
_ixgbe_init_eeprom_params_X550:         ; @ixgbe_init_eeprom_params_X550
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ixgbe_eeprom_uninitialized@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ixgbe_eeprom_uninitialized@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
	mov	w8, #10
	str	w8, [x0, #8]
Lloh3:
	adrp	x8, _ixgbe_flash@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ixgbe_flash@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x0]
	bl	_IXGBE_EEC
	mov	x1, x0
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh6:
	adrp	x8, _IXGBE_EEC_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IXGBE_EEC_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh9:
	adrp	x9, _IXGBE_EEC_SIZE_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IXGBE_EEC_SIZE_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh12:
	adrp	x9, _IXGBE_EEPROM_WORD_SIZE_SHIFT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IXGBE_EEPROM_WORD_SIZE_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x0, x9, w8, sxtw
	bl	_BIT
	mov	x3, x0
	str	w0, [x19, #12]
	ldr	x2, [x19]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ixgbe_eeprom_uninitialized,8,3 ; @ixgbe_eeprom_uninitialized
	.comm	_ixgbe_flash,8,3                ; @ixgbe_flash
	.comm	_IXGBE_EEC_SIZE,4,2             ; @IXGBE_EEC_SIZE
	.comm	_IXGBE_EEC_SIZE_SHIFT,4,2       ; @IXGBE_EEC_SIZE_SHIFT
	.comm	_IXGBE_EEPROM_WORD_SIZE_SHIFT,8,3 ; @IXGBE_EEPROM_WORD_SIZE_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Eeprom params: type = %d, size = %d\n"

	.no_dead_strip	_ixgbe_init_eeprom_params_X550
.subsections_via_symbols
