	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_warpcore_set_10G_KR
_bnx2x_warpcore_set_10G_KR:             ## @bnx2x_warpcore_set_10G_KR
	.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	%rdi, %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %r14
	leaq	_bnx2x_warpcore_set_10G_KR.reg_set(%rip), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	_bnx2x_warpcore_set_10G_KR.reg_set+12(%rip), %rbx
	xorl	%r15d, %r15d
	leaq	_bnx2x_warpcore_set_10G_KR.reg_set(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	movl	-8(%rbx), %r8d
	movl	-4(%rbx), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_bnx2x_cl45_write
	incq	%r15
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	addq	$24, %rbx
	cmpq	%rax, %r15
	jb	LBB0_2
LBB0_3:
	movq	%r13, %rdi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_bnx2x_get_warpcore_lane
	movq	%rax, %r12
	movq	_MDIO_REG_BANK_AER_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_AER_BLOCK_AER_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%r8d, %r8d
	callq	_CL22_WR_OVER_CL45
	movq	_MDIO_WC_REG_XGXSBLK1_LANECTRL0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	leaq	-48(%rbp), %r8
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$135, %edx
	callq	_bnx2x_cl45_read
	movl	$17, %eax
	movl	%r12d, %ecx
	shll	%cl, %eax
	notl	%eax
	movslq	%eax, %r8
	andq	-48(%rbp), %r8
	movq	%r8, -48(%rbp)
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$135, %edx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_bnx2x_cl45_write
	movq	_MDIO_WC_REG_XGXSBLK1_LANECTRL1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$135, %edx
	leaq	-48(%rbp), %r8
	callq	_bnx2x_cl45_read
	leal	(%r12,%r12), %ecx
	movl	$771, %eax                      ## imm = 0x303
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movslq	%eax, %r8
	orq	-48(%rbp), %r8
	movq	%r8, -48(%rbp)
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$135, %edx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_bnx2x_cl45_write
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_bnx2x_set_aer_mmd
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$136, %edx
	movl	$130, %ecx
	movl	$8256, %r8d                     ## imm = 0x2040
	callq	_bnx2x_cl45_write
	movq	_MDIO_WC_REG_IEEE0BLK_AUTONEGNP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$136, %edx
	movl	$11, %r8d
	callq	_bnx2x_cl45_write
	movq	_MDIO_WC_REG_SERDESDIGITAL_MISC2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$135, %edx
	movl	$48, %r8d
	callq	_bnx2x_cl45_write
	movq	_MDIO_WC_REG_TX66_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$135, %edx
	movl	$9, %r8d
	callq	_bnx2x_cl45_write
	movq	_MDIO_WC_REG_RX66_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$135, %edx
	movl	$249, %r8d
	callq	_bnx2x_cl45_read_or_write
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$135, %edx
	movl	$130, %ecx
	movl	$16384, %r8d                    ## imm = 0x4000
	callq	_bnx2x_cl45_write
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$135, %edx
	movl	$130, %ecx
	xorl	%r8d, %r8d
	callq	_bnx2x_cl45_write
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @bnx2x_warpcore_set_10G_KR.reg_set
_bnx2x_warpcore_set_10G_KR.reg_set:
	.long	135                             ## 0x87
	.long	128                             ## 0x80
	.long	7                               ## 0x7
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	135                             ## 0x87
	.long	133                             ## 0x85
	.long	16128                           ## 0x3f00
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	137                             ## 0x89
	.long	134                             ## 0x86
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	137                             ## 0x89
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	135                             ## 0x87
	.long	132                             ## 0x84
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	135                             ## 0x87
	.long	131                             ## 0x83
	.long	10                              ## 0xa
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	136                             ## 0x88
	.long	129                             ## 0x81
	.long	2                               ## 0x2
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.comm	_MDIO_REG_BANK_AER_BLOCK,4,2    ## @MDIO_REG_BANK_AER_BLOCK
	.comm	_MDIO_AER_BLOCK_AER_REG,4,2     ## @MDIO_AER_BLOCK_AER_REG
	.comm	_MDIO_WC_REG_XGXSBLK1_LANECTRL0,4,2 ## @MDIO_WC_REG_XGXSBLK1_LANECTRL0
	.comm	_MDIO_WC_REG_XGXSBLK1_LANECTRL1,4,2 ## @MDIO_WC_REG_XGXSBLK1_LANECTRL1
	.comm	_MDIO_WC_REG_IEEE0BLK_AUTONEGNP,4,2 ## @MDIO_WC_REG_IEEE0BLK_AUTONEGNP
	.comm	_MDIO_WC_REG_SERDESDIGITAL_MISC2,4,2 ## @MDIO_WC_REG_SERDESDIGITAL_MISC2
	.comm	_MDIO_WC_REG_TX66_CONTROL,4,2   ## @MDIO_WC_REG_TX66_CONTROL
	.comm	_MDIO_WC_REG_RX66_CONTROL,4,2   ## @MDIO_WC_REG_RX66_CONTROL
	.no_dead_strip	_bnx2x_warpcore_set_10G_KR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_warpcore_set_10G_KR
_bnx2x_warpcore_set_10G_KR:             ; @bnx2x_warpcore_set_10G_KR
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x1]
Lloh0:
	adrp	x0, _bnx2x_warpcore_set_10G_KR.reg_set@PAGE
Lloh1:
	add	x0, x0, _bnx2x_warpcore_set_10G_KR.reg_set@PAGEOFF
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, #0
Lloh2:
	adrp	x24, _bnx2x_warpcore_set_10G_KR.reg_set@PAGE+12
Lloh3:
	add	x24, x24, _bnx2x_warpcore_set_10G_KR.reg_set@PAGEOFF+12
Lloh4:
	adrp	x22, _bnx2x_warpcore_set_10G_KR.reg_set@PAGE
Lloh5:
	add	x22, x22, _bnx2x_warpcore_set_10G_KR.reg_set@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w3, w2, [x24, #-4]
	ldur	w4, [x24, #-8]
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_write
	add	x23, x23, #1
	mov	x0, x22
	bl	_ARRAY_SIZE
	add	x24, x24, #24
	cmp	x23, x0
	b.lo	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_get_warpcore_lane
	mov	x22, x0
Lloh6:
	adrp	x8, _MDIO_REG_BANK_AER_BLOCK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIO_REG_BANK_AER_BLOCK@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _MDIO_AER_BLOCK_AER_REG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MDIO_AER_BLOCK_AER_REG@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w4, #0
	bl	_CL22_WR_OVER_CL45
Lloh12:
	adrp	x23, _MDIO_WC_REG_XGXSBLK1_LANECTRL0@GOTPAGE
Lloh13:
	ldr	x23, [x23, _MDIO_WC_REG_XGXSBLK1_LANECTRL0@GOTPAGEOFF]
	ldr	w3, [x23]
	add	x4, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	w2, #135
	bl	_bnx2x_cl45_read
	mov	w8, #17
	lsl	w8, w8, w22
	mvn	w8, w8
	sxtw	x8, w8
	ldr	x9, [sp, #8]
	and	x4, x9, x8
	str	x4, [sp, #8]
	ldr	w3, [x23]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #135
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_bnx2x_cl45_write
Lloh14:
	adrp	x23, _MDIO_WC_REG_XGXSBLK1_LANECTRL1@GOTPAGE
Lloh15:
	ldr	x23, [x23, _MDIO_WC_REG_XGXSBLK1_LANECTRL1@GOTPAGEOFF]
	ldr	w3, [x23]
	add	x4, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	w2, #135
	bl	_bnx2x_cl45_read
	lsl	w8, w22, #1
	mov	w9, #771
	lsl	w8, w9, w8
	sxtw	x8, w8
	ldr	x9, [sp, #8]
	orr	x4, x9, x8
	str	x4, [sp, #8]
	ldr	w3, [x23]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #135
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_bnx2x_cl45_write
	mov	x0, x21
	mov	x1, x19
	bl	_bnx2x_set_aer_mmd
	mov	x0, x20
	mov	x1, x19
	mov	w2, #136
	mov	w3, #130
	mov	w4, #8256
	bl	_bnx2x_cl45_write
Lloh16:
	adrp	x8, _MDIO_WC_REG_IEEE0BLK_AUTONEGNP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MDIO_WC_REG_IEEE0BLK_AUTONEGNP@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #136
	mov	w4, #11
	bl	_bnx2x_cl45_write
Lloh19:
	adrp	x8, _MDIO_WC_REG_SERDESDIGITAL_MISC2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MDIO_WC_REG_SERDESDIGITAL_MISC2@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #135
	mov	w4, #48
	bl	_bnx2x_cl45_write
Lloh22:
	adrp	x8, _MDIO_WC_REG_TX66_CONTROL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MDIO_WC_REG_TX66_CONTROL@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #135
	mov	w4, #9
	bl	_bnx2x_cl45_write
Lloh25:
	adrp	x8, _MDIO_WC_REG_RX66_CONTROL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MDIO_WC_REG_RX66_CONTROL@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #135
	mov	w4, #249
	bl	_bnx2x_cl45_read_or_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #135
	mov	w3, #130
	mov	w4, #16384
	bl	_bnx2x_cl45_write
	mov	x0, x20
	mov	x1, x19
	mov	w2, #135
	mov	w3, #130
	mov	w4, #0
	bl	_bnx2x_cl45_write
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @bnx2x_warpcore_set_10G_KR.reg_set
_bnx2x_warpcore_set_10G_KR.reg_set:
	.long	135                             ; 0x87
	.long	128                             ; 0x80
	.long	7                               ; 0x7
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	135                             ; 0x87
	.long	133                             ; 0x85
	.long	16128                           ; 0x3f00
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	137                             ; 0x89
	.long	134                             ; 0x86
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	137                             ; 0x89
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	135                             ; 0x87
	.long	132                             ; 0x84
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	135                             ; 0x87
	.long	131                             ; 0x83
	.long	10                              ; 0xa
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	136                             ; 0x88
	.long	129                             ; 0x81
	.long	2                               ; 0x2
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.comm	_MDIO_REG_BANK_AER_BLOCK,4,2    ; @MDIO_REG_BANK_AER_BLOCK
	.comm	_MDIO_AER_BLOCK_AER_REG,4,2     ; @MDIO_AER_BLOCK_AER_REG
	.comm	_MDIO_WC_REG_XGXSBLK1_LANECTRL0,4,2 ; @MDIO_WC_REG_XGXSBLK1_LANECTRL0
	.comm	_MDIO_WC_REG_XGXSBLK1_LANECTRL1,4,2 ; @MDIO_WC_REG_XGXSBLK1_LANECTRL1
	.comm	_MDIO_WC_REG_IEEE0BLK_AUTONEGNP,4,2 ; @MDIO_WC_REG_IEEE0BLK_AUTONEGNP
	.comm	_MDIO_WC_REG_SERDESDIGITAL_MISC2,4,2 ; @MDIO_WC_REG_SERDESDIGITAL_MISC2
	.comm	_MDIO_WC_REG_TX66_CONTROL,4,2   ; @MDIO_WC_REG_TX66_CONTROL
	.comm	_MDIO_WC_REG_RX66_CONTROL,4,2   ; @MDIO_WC_REG_RX66_CONTROL
	.no_dead_strip	_bnx2x_warpcore_set_10G_KR
.subsections_via_symbols
