	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_checksum_ptr_x550
_ixgbe_checksum_ptr_x550:               ## @ixgbe_checksum_ptr_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$2088, %rsp                     ## imm = 0x828
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r14
	movq	%rcx, -2128(%rbp)               ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-2096(%rbp), %rdi
	callq	_ARRAY_SIZE
	testq	%r14, %r14
	movq	%r14, -2120(%rbp)               ## 8-byte Spill
	movq	%r12, -2112(%rbp)               ## 8-byte Spill
	je	LBB0_1
## %bb.3:
	cmpq	%r13, %r15
	jl	LBB0_4
## %bb.5:
	movq	%r15, %rdx
	movq	%rax, %r12
	leaq	(%r14,%r13,8), %rax
	movq	%rax, -2104(%rbp)               ## 8-byte Spill
	jmp	LBB0_6
LBB0_1:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rax, %r12
	movq	%rax, %rdx
	leaq	-2096(%rbp), %rax
	movq	%rax, -2104(%rbp)               ## 8-byte Spill
	leaq	-2096(%rbp), %rcx
	callq	_ixgbe_read_ee_hostif_buffer_X550
	testq	%rax, %rax
	movq	%r15, %rdx
	je	LBB0_6
LBB0_2:
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	-2112(%rbp), %rdi               ## 8-byte Reload
	callq	_hw_dbg
	jmp	LBB0_19
LBB0_6:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	xorl	%r15d, %r15d
	movq	-2104(%rbp), %rsi               ## 8-byte Reload
	movq	%r12, %rdi
LBB0_11:
	movq	-2120(%rbp), %rcx               ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.12:
	leaq	(%r15,%rbx), %rax
	cmpq	%rdx, %rax
	jle	LBB0_13
LBB0_4:
	movq	_IXGBE_ERR_PARAM@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	(%rsi,%r15,8), %rax
	movq	-2128(%rbp), %rdx               ## 8-byte Reload
	addq	%rax, (%rdx)
	incq	%r15
	decq	%rbx
	je	LBB0_18
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	testq	%rcx, %rcx
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpq	%rdi, %r15
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	addq	%r15, %r13
	cmpq	%r15, %rbx
	cmovlq	%rbx, %r15
	leaq	-2096(%rbp), %rcx
	movq	-2112(%rbp), %rdi               ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_ixgbe_read_ee_hostif_buffer_X550
	testq	%rax, %rax
	jne	LBB0_2
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r15, %rdi
	xorl	%r15d, %r15d
	movq	-2120(%rbp), %rcx               ## 8-byte Reload
	movq	-2104(%rbp), %rsi               ## 8-byte Reload
	jmp	LBB0_17
LBB0_8:
	movq	-2104(%rbp), %rsi               ## 8-byte Reload
	movq	(%rsi), %rbx
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	movq	-2112(%rbp), %rcx               ## 8-byte Reload
	je	LBB0_19
## %bb.9:
	cmpq	$65535, %rbx                    ## imm = 0xFFFF
	je	LBB0_19
## %bb.10:
	movq	%r12, %rdi
	leaq	(%rbx,%r13), %rax
	movl	$1, %r15d
	cmpq	(%rcx), %rax
	jl	LBB0_11
LBB0_18:
	xorl	%r14d, %r14d
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movq	%r14, %rax
	addq	$2088, %rsp                     ## imm = 0x828
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to read EEPROM image\n"

	.comm	_IXGBE_ERR_PARAM,8,3            ## @IXGBE_ERR_PARAM
	.no_dead_strip	_ixgbe_checksum_ptr_x550
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_checksum_ptr_x550
_ixgbe_checksum_ptr_x550:               ; @ixgbe_checksum_ptr_x550
	.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
	sub	sp, sp, #2064
	mov	x25, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	mov	x24, x0
	cbz	x20, LBB0_3
; %bb.1:
	cmp	x25, x22
	b.lt	LBB0_8
; %bb.2:
	add	x27, x20, x22, lsl #3
	b	LBB0_5
LBB0_3:
	add	x27, sp, #8
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	bl	_ixgbe_read_ee_hostif_buffer_X550
	cbz	x0, LBB0_5
LBB0_4:
	mov	x26, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hw_dbg
	b	LBB0_19
LBB0_5:
	cbz	x23, LBB0_9
; %bb.6:
	mov	x8, #0
	cbz	x20, LBB0_14
LBB0_7:
	add	x9, x8, x23
	cmp	x9, x25
	b.le	LBB0_14
LBB0_8:
Lloh5:
	adrp	x8, _IXGBE_ERR_PARAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_ERR_PARAM@GOTPAGEOFF]
Lloh7:
	ldr	x26, [x8]
	b	LBB0_19
LBB0_9:
	mov	x26, #0
	ldr	x23, [x27]
	cbz	x23, LBB0_19
; %bb.10:
	mov	w8, #65535
	cmp	x23, x8
	b.eq	LBB0_19
; %bb.11:
	ldr	x8, [x19]
	add	x9, x23, x22
	cmp	x9, x8
	b.ge	LBB0_18
; %bb.12:
	mov	w8, #1
	cbnz	x20, LBB0_7
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x9, [x27, x8, lsl #3]
	ldr	x10, [x21]
	add	x9, x10, x9
	str	x9, [x21]
	add	x8, x8, #1
	subs	x23, x23, #1
	b.eq	LBB0_18
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	cbnz	x20, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	x8, x24
	b.ne	LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x22, x8, x22
	cmp	x23, x8
	csel	x24, x23, x8, lt
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	bl	_ixgbe_read_ee_hostif_buffer_X550
	cbnz	x0, LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x8, #0
	b	LBB0_13
LBB0_18:
	mov	x26, #0
LBB0_19:
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x26
	add	sp, sp, #2064
	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_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to read EEPROM image\n"

	.comm	_IXGBE_ERR_PARAM,8,3            ; @IXGBE_ERR_PARAM
	.no_dead_strip	_ixgbe_checksum_ptr_x550
.subsections_via_symbols
