	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_read_sfp_module_eeprom   ## -- Begin function bnx2x_read_sfp_module_eeprom
	.p2align	4, 0x90
_bnx2x_read_sfp_module_eeprom:          ## @bnx2x_read_sfp_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, %eax
	andl	$-3, %eax
	cmpl	$160, %eax
	jne	LBB0_1
## %bb.2:
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	jae	LBB0_3
## %bb.5:
	movq	%r8, %rbx
	testq	%r8, %r8
	jle	LBB0_6
## %bb.7:
	movq	%r9, %r12
	movq	%rcx, %r14
	cltq
	leaq	l_switch.table.bnx2x_read_sfp_module_eeprom(%rip), %rsi
	movq	(%rsi,%rax,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_SFP_EEPROM_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	cmpq	%r13, %rbx
	cmovlq	%rbx, %r13
	movl	$0, (%rsp)
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%edx, %r15d
	movq	%r14, %rcx
	movl	%r13d, %r8d
	movq	%r12, %r9
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movslq	%r13d, %rcx
	subq	%rcx, %rbx
	leaq	(%r12,%rcx,4), %r12
	addq	%rcx, %r14
	testq	%rbx, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %edx
	jg	LBB0_8
	jmp	LBB0_10
LBB0_1:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_3:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid dev_addr 0x%x\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_SFP_EEPROM_PAGE_SIZE,8,3       ## @SFP_EEPROM_PAGE_SIZE
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.bnx2x_read_sfp_module_eeprom
l_switch.table.bnx2x_read_sfp_module_eeprom:
	.quad	_bnx2x_warpcore_read_sfp_module_eeprom
	.quad	_bnx2x_8727_read_sfp_module_eeprom
	.quad	_bnx2x_8726_read_sfp_module_eeprom
	.quad	_bnx2x_8727_read_sfp_module_eeprom

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_read_sfp_module_eeprom   ; -- Begin function bnx2x_read_sfp_module_eeprom
	.p2align	2
_bnx2x_read_sfp_module_eeprom:          ; @bnx2x_read_sfp_module_eeprom
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	and	w8, w2, #0xfffffffd
	cmp	w8, #160
	b.ne	LBB0_5
; %bb.1:
	mov	x24, x0
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hs	LBB0_6
; %bb.2:
	mov	x21, x4
	cmp	x4, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x20, x5
	mov	x22, x3
	mov	x23, x1
Lloh0:
	adrp	x9, l_switch.table.bnx2x_read_sfp_module_eeprom@PAGE
Lloh1:
	add	x9, x9, l_switch.table.bnx2x_read_sfp_module_eeprom@PAGEOFF
	ldr	x26, [x9, w8, sxtw #3]
Lloh2:
	adrp	x27, _SFP_EEPROM_PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _SFP_EEPROM_PAGE_SIZE@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	cmp	x21, x8
	csel	x25, x21, x8, lt
	mov	x0, x24
	mov	x1, x23
	mov	x2, x19
	mov	x3, x22
	mov	x4, x25
	mov	x5, x20
	mov	w6, #0
	blr	x26
	lsl	x8, x25, #32
	sxtw	x9, w25
	sub	x21, x21, x9
	add	x20, x20, x8, asr #30
	add	x22, x9, x22
	cmp	w0, #0
	ccmp	x21, #0, #4, eq
	b.gt	LBB0_4
	b	LBB0_8
LBB0_5:
Lloh4:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_DP
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w0, #0
	b	LBB0_8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid dev_addr 0x%x\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_SFP_EEPROM_PAGE_SIZE,8,3       ; @SFP_EEPROM_PAGE_SIZE
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.bnx2x_read_sfp_module_eeprom
l_switch.table.bnx2x_read_sfp_module_eeprom:
	.quad	_bnx2x_warpcore_read_sfp_module_eeprom
	.quad	_bnx2x_8727_read_sfp_module_eeprom
	.quad	_bnx2x_8726_read_sfp_module_eeprom
	.quad	_bnx2x_8727_read_sfp_module_eeprom

.subsections_via_symbols
