	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_get_module_eeprom
_ixgbe_get_module_eeprom:               ## @ixgbe_get_module_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r12
	movl	$255, -44(%rbp)
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	leaq	8(%r12), %r13
	movq	(%r13), %rcx
	movq	_ixgbe_phy_fw@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_15:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jle	LBB0_15
## %bb.6:
	movslq	4(%rbx), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	___IXGBE_IN_SFP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_ETH_MODULE_SFF_8079_LEN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jge	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	movl	%r14d, %esi
	leaq	-44(%rbp), %rdx
	callq	*24(%r12)
	testq	%rax, %rax
	je	LBB0_14
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	movl	%r14d, %esi
	leaq	-44(%rbp), %rdx
	callq	*16(%r12)
	testq	%rax, %rax
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	-44(%rbp), %eax
	movslq	4(%rbx), %rcx
	shlq	$2, %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	subq	%rcx, %rdx
	movl	%eax, (%rdx,%r14,4)
	movl	(%rbx), %eax
	addl	4(%rbx), %eax
	incq	%r14
	cmpl	%eax, %r14d
	jl	LBB0_7
	jmp	LBB0_15
LBB0_8:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_13:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_ERR_PHY_ADDR_INVALID,8,3 ## @IXGBE_ERR_PHY_ADDR_INVALID
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ixgbe_phy_fw,8,3               ## @ixgbe_phy_fw
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	___IXGBE_IN_SFP_INIT,4,2        ## @__IXGBE_IN_SFP_INIT
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_ETH_MODULE_SFF_8079_LEN,4,2    ## @ETH_MODULE_SFF_8079_LEN
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_ixgbe_get_module_eeprom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_get_module_eeprom
_ixgbe_get_module_eeprom:               ; @ixgbe_get_module_eeprom
	.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	x19, x2
	mov	x20, x1
	bl	_netdev_priv
	mov	w8, #255
	str	w8, [sp, #12]
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x21, x0
	add	x22, x0, #8
	ldr	x9, [x22]
Lloh0:
	adrp	x10, _ixgbe_phy_fw@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ixgbe_phy_fw@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _ENXIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
LBB0_6:
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.7:
	ldrsw	x23, [x20, #4]
Lloh7:
	adrp	x24, ___IXGBE_IN_SFP_INIT@GOTPAGE
Lloh8:
	ldr	x24, [x24, ___IXGBE_IN_SFP_INIT@GOTPAGEOFF]
Lloh9:
	adrp	x25, _ETH_MODULE_SFF_8079_LEN@GOTPAGE
Lloh10:
	ldr	x25, [x25, _ETH_MODULE_SFF_8079_LEN@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x25]
	cmp	w23, w8
	b.ge	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x21, #24]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x21, #16]
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x23
	blr	x8
	cbnz	x0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #12]
	ldrsw	x9, [x20, #4]
	sub	x9, x19, x9, lsl #2
	str	w8, [x9, x23, lsl #2]
	ldp	w9, w8, [x20]
	add	x23, x23, #1
	add	w8, w9, w8
	cmp	w23, w8
	b.lt	LBB0_8
LBB0_14:
	mov	w0, #0
	b	LBB0_5
LBB0_15:
Lloh11:
	adrp	x8, _EBUSY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_4
LBB0_16:
Lloh13:
	adrp	x8, _EIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_ERR_PHY_ADDR_INVALID,8,3 ; @IXGBE_ERR_PHY_ADDR_INVALID
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ixgbe_phy_fw,8,3               ; @ixgbe_phy_fw
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	___IXGBE_IN_SFP_INIT,4,2        ; @__IXGBE_IN_SFP_INIT
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_ETH_MODULE_SFF_8079_LEN,4,2    ; @ETH_MODULE_SFF_8079_LEN
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_ixgbe_get_module_eeprom
.subsections_via_symbols
