	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_warpcore_enable_AN_KR2
_bnx2x_warpcore_enable_AN_KR2:          ## @bnx2x_warpcore_enable_AN_KR2
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %r13
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	_MDIO_WC_REG_CL49_USERB0_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$143, %edx
	movl	$192, %r8d
	callq	_bnx2x_cl45_read_or_write
	leaq	_bnx2x_warpcore_enable_AN_KR2.reg_set(%rip), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	_bnx2x_warpcore_enable_AN_KR2.reg_set+12(%rip), %rbx
	xorl	%r14d, %r14d
	leaq	_bnx2x_warpcore_enable_AN_KR2.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	%r13, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_cl45_write
	incq	%r14
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	addq	$24, %rbx
	cmpq	%rax, %r14
	jb	LBB0_2
LBB0_3:
	movq	_LINK_ATTR_SYNC_KR2_ENABLE@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %esi
	orl	(%rax), %esi
	movl	%esi, (%rdi)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_update_link_attr         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @bnx2x_warpcore_enable_AN_KR2.reg_set
_bnx2x_warpcore_enable_AN_KR2.reg_set:
	.long	143                             ## 0x8f
	.long	136                             ## 0x88
	.long	41303                           ## 0xa157
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	134                             ## 0x86
	.long	52194                           ## 0xcbe2
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	135                             ## 0x87
	.long	30007                           ## 0x7537
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	133                             ## 0x85
	.long	41303                           ## 0xa157
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	137                             ## 0x89
	.long	52194                           ## 0xcbe2
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	138                             ## 0x8a
	.long	30007                           ## 0x7537
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	139                             ## 0x8b
	.long	10                              ## 0xa
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	141                             ## 0x8d
	.long	25600                           ## 0x6400
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	140                             ## 0x8c
	.long	1568                            ## 0x620
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	142                             ## 0x8e
	.long	343                             ## 0x157
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	130                             ## 0x82
	.long	25700                           ## 0x6464
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	129                             ## 0x81
	.long	12624                           ## 0x3150
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	128                             ## 0x80
	.long	12624                           ## 0x3150
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	132                             ## 0x84
	.long	343                             ## 0x157
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	143                             ## 0x8f
	.long	131                             ## 0x83
	.long	1568                            ## 0x620
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enabling 20G-KR2\n"

	.comm	_MDIO_WC_REG_CL49_USERB0_CTRL,4,2 ## @MDIO_WC_REG_CL49_USERB0_CTRL
	.comm	_LINK_ATTR_SYNC_KR2_ENABLE,4,2  ## @LINK_ATTR_SYNC_KR2_ENABLE
	.no_dead_strip	_bnx2x_warpcore_enable_AN_KR2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_warpcore_enable_AN_KR2
_bnx2x_warpcore_enable_AN_KR2:          ; @bnx2x_warpcore_enable_AN_KR2
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #8]
Lloh0:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
Lloh5:
	adrp	x8, _MDIO_WC_REG_CL49_USERB0_CTRL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MDIO_WC_REG_CL49_USERB0_CTRL@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #143
	mov	w4, #192
	bl	_bnx2x_cl45_read_or_write
Lloh8:
	adrp	x0, _bnx2x_warpcore_enable_AN_KR2.reg_set@PAGE
Lloh9:
	add	x0, x0, _bnx2x_warpcore_enable_AN_KR2.reg_set@PAGEOFF
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, #0
Lloh10:
	adrp	x24, _bnx2x_warpcore_enable_AN_KR2.reg_set@PAGE+12
Lloh11:
	add	x24, x24, _bnx2x_warpcore_enable_AN_KR2.reg_set@PAGEOFF+12
Lloh12:
	adrp	x22, _bnx2x_warpcore_enable_AN_KR2.reg_set@PAGE
Lloh13:
	add	x22, x22, _bnx2x_warpcore_enable_AN_KR2.reg_set@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w3, w2, [x24, #-4]
	ldur	w4, [x24, #-8]
	mov	x0, x21
	mov	x1, x20
	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:
Lloh14:
	adrp	x8, _LINK_ATTR_SYNC_KR2_ENABLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LINK_ATTR_SYNC_KR2_ENABLE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w1, w9, w8
	str	w1, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2x_update_link_attr
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @bnx2x_warpcore_enable_AN_KR2.reg_set
_bnx2x_warpcore_enable_AN_KR2.reg_set:
	.long	143                             ; 0x8f
	.long	136                             ; 0x88
	.long	41303                           ; 0xa157
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	134                             ; 0x86
	.long	52194                           ; 0xcbe2
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	135                             ; 0x87
	.long	30007                           ; 0x7537
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	133                             ; 0x85
	.long	41303                           ; 0xa157
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	137                             ; 0x89
	.long	52194                           ; 0xcbe2
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	138                             ; 0x8a
	.long	30007                           ; 0x7537
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	139                             ; 0x8b
	.long	10                              ; 0xa
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	141                             ; 0x8d
	.long	25600                           ; 0x6400
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	140                             ; 0x8c
	.long	1568                            ; 0x620
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	142                             ; 0x8e
	.long	343                             ; 0x157
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	130                             ; 0x82
	.long	25700                           ; 0x6464
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	129                             ; 0x81
	.long	12624                           ; 0x3150
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	128                             ; 0x80
	.long	12624                           ; 0x3150
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	132                             ; 0x84
	.long	343                             ; 0x157
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	143                             ; 0x8f
	.long	131                             ; 0x83
	.long	1568                            ; 0x620
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enabling 20G-KR2\n"

	.comm	_MDIO_WC_REG_CL49_USERB0_CTRL,4,2 ; @MDIO_WC_REG_CL49_USERB0_CTRL
	.comm	_LINK_ATTR_SYNC_KR2_ENABLE,4,2  ; @LINK_ATTR_SYNC_KR2_ENABLE
	.no_dead_strip	_bnx2x_warpcore_enable_AN_KR2
.subsections_via_symbols
