	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_get_eeprom_len
_i40e_get_eeprom_len:                   ## @i40e_get_eeprom_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rcx
	movq	_I40E_MAC_X722@GOTPCREL(%rip), %rdx
	movl	$6004736, %eax                  ## imm = 0x5BA000
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	movq	_I40E_GLPCI_LBARCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rd32
	movq	_I40E_GLPCI_LBARCTRL_FL_SIZE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_I40E_GLPCI_LBARCTRL_FL_SIZE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, %edi
	callq	_BIT
	shll	$16, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_MAC_X722,8,3              ## @I40E_MAC_X722
	.comm	_I40E_GLPCI_LBARCTRL,4,2        ## @I40E_GLPCI_LBARCTRL
	.comm	_I40E_GLPCI_LBARCTRL_FL_SIZE_MASK,4,2 ## @I40E_GLPCI_LBARCTRL_FL_SIZE_MASK
	.comm	_I40E_GLPCI_LBARCTRL_FL_SIZE_SHIFT,4,2 ## @I40E_GLPCI_LBARCTRL_FL_SIZE_SHIFT
	.comm	_X722_EEPROM_SCOPE_LIMIT,4,2    ## @X722_EEPROM_SCOPE_LIMIT
	.no_dead_strip	_i40e_get_eeprom_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_get_eeprom_len
_i40e_get_eeprom_len:                   ; @i40e_get_eeprom_len
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	x0, [x8]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _I40E_MAC_X722@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40E_MAC_X722@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #40960
	movk	w0, #91, lsl #16
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh3:
	adrp	x8, _I40E_GLPCI_LBARCTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_GLPCI_LBARCTRL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_rd32
Lloh6:
	adrp	x8, _I40E_GLPCI_LBARCTRL_FL_SIZE_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_GLPCI_LBARCTRL_FL_SIZE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh9:
	adrp	x9, _I40E_GLPCI_LBARCTRL_FL_SIZE_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _I40E_GLPCI_LBARCTRL_FL_SIZE_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	asr	w0, w8, w9
	bl	_BIT
	lsl	w0, w0, #16
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_MAC_X722,8,3              ; @I40E_MAC_X722
	.comm	_I40E_GLPCI_LBARCTRL,4,2        ; @I40E_GLPCI_LBARCTRL
	.comm	_I40E_GLPCI_LBARCTRL_FL_SIZE_MASK,4,2 ; @I40E_GLPCI_LBARCTRL_FL_SIZE_MASK
	.comm	_I40E_GLPCI_LBARCTRL_FL_SIZE_SHIFT,4,2 ; @I40E_GLPCI_LBARCTRL_FL_SIZE_SHIFT
	.comm	_X722_EEPROM_SCOPE_LIMIT,4,2    ; @X722_EEPROM_SCOPE_LIMIT
	.no_dead_strip	_i40e_get_eeprom_len
.subsections_via_symbols
