	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_phy_sfp_verify_eeprom
_xgbe_phy_sfp_verify_eeprom:            ## @xgbe_phy_sfp_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
                                        ## kill: def $edx killed $edx def $rdx
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	leal	-1(%rdx), %r9d
	cmpl	$3, %r9d
	jae	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	jmp	LBB0_13
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_15
LBB0_4:
	incq	%r9
	movq	%r9, %r8
	andq	$-4, %r8
	leaq	-4(%r8), %rax
	movq	%rax, %rcx
	shrq	$2, %rcx
	incq	%rcx
	movl	%ecx, %r10d
	andl	$3, %r10d
	cmpq	$12, %rax
	jae	LBB0_6
## %bb.5:
	pxor	%xmm0, %xmm0
	xorl	%eax, %eax
	pxor	%xmm1, %xmm1
	jmp	LBB0_8
LBB0_6:
	andq	$-4, %rcx
	pxor	%xmm0, %xmm0
	xorl	%eax, %eax
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rsi,%rax,8), %xmm2
	paddq	%xmm0, %xmm2
	movdqu	16(%rsi,%rax,8), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	32(%rsi,%rax,8), %xmm1
	movdqu	48(%rsi,%rax,8), %xmm3
	movdqu	64(%rsi,%rax,8), %xmm4
	paddq	%xmm1, %xmm4
	paddq	%xmm2, %xmm4
	movdqu	80(%rsi,%rax,8), %xmm2
	paddq	%xmm3, %xmm2
	paddq	%xmm0, %xmm2
	movdqu	96(%rsi,%rax,8), %xmm0
	paddq	%xmm4, %xmm0
	movdqu	112(%rsi,%rax,8), %xmm1
	paddq	%xmm2, %xmm1
	addq	$16, %rax
	addq	$-4, %rcx
	jne	LBB0_7
LBB0_8:
	testq	%r10, %r10
	je	LBB0_11
## %bb.9:
	leaq	(%rsi,%rax,8), %rax
	addq	$16, %rax
	shlq	$5, %r10
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rax,%rcx), %xmm2
	paddq	%xmm2, %xmm0
	movdqu	(%rax,%rcx), %xmm2
	paddq	%xmm2, %xmm1
	addq	$32, %rcx
	cmpq	%rcx, %r10
	jne	LBB0_10
LBB0_11:
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rcx
	cmpq	%r8, %r9
	je	LBB0_15
## %bb.12:
	subl	%r8d, %edx
	leaq	(%rsi,%r8,8), %rsi
LBB0_13:
	movl	%edx, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	addq	(%rsi,%rdx,8), %rcx
	incq	%rdx
	cmpl	%edx, %eax
	jne	LBB0_14
LBB0_15:
	xorl	%eax, %eax
	cmpq	%rdi, %rcx
	sete	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xgbe_phy_sfp_verify_eeprom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_phy_sfp_verify_eeprom
_xgbe_phy_sfp_verify_eeprom:            ; @xgbe_phy_sfp_verify_eeprom
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_3
; %bb.1:
	sub	w8, w2, #1
	cmp	w8, #7
	b.hs	LBB0_4
; %bb.2:
	mov	x11, #0
	mov	x8, x1
	b	LBB0_7
LBB0_3:
	mov	x11, #0
	b	LBB0_8
LBB0_4:
	add	x9, x8, #1
	and	x10, x9, #0x1fffffff8
	sub	w2, w2, w10
	add	x8, x1, x10, lsl #3
	add	x11, x1, #32
	movi.2d	v0, #0000000000000000
	mov	x12, x10
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11], #64
	add.2d	v0, v4, v0
	add.2d	v1, v5, v1
	add.2d	v2, v6, v2
	add.2d	v3, v7, v3
	subs	x12, x12, #8
	b.ne	LBB0_5
; %bb.6:
	add.2d	v0, v1, v0
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x11, d0
	cmp	x9, x10
	b.eq	LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8], #8
	add	x11, x9, x11
	subs	w2, w2, #1
	b.ne	LBB0_7
LBB0_8:
	cmp	x11, x0
	cset	w0, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xgbe_phy_sfp_verify_eeprom
.subsections_via_symbols
