	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_warpcore_config_sfi
_bnx2x_warpcore_config_sfi:             ## @bnx2x_warpcore_config_sfi
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_bnx2x_get_warpcore_lane
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_bnx2x_warpcore_clear_regs
	movq	(%rbx), %r15
	movq	_INT_PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LINK_CONFIG_IDX
	movq	(%r15,%rax,8), %rax
	movq	_SPEED_10000@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	(%r14), %rax
	movq	_ETH_PHY_SFP_1G_FIBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_3:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_DP
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_warpcore_set_sgmii_speed ## TAILCALL
LBB0_2:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_warpcore_set_10G_XFI     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_PHY,4,2                    ## @INT_PHY
	.comm	_SPEED_10000,8,3                ## @SPEED_10000
	.comm	_ETH_PHY_SFP_1G_FIBER,8,3       ## @ETH_PHY_SFP_1G_FIBER
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Setting 10G SFI\n"

L_.str.1:                               ## @.str.1
	.asciz	"Setting 1G Fiber\n"

	.no_dead_strip	_bnx2x_warpcore_config_sfi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_warpcore_config_sfi
_bnx2x_warpcore_config_sfi:             ; @bnx2x_warpcore_config_sfi
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_bnx2x_get_warpcore_lane
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_warpcore_clear_regs
	ldr	x21, [x19]
Lloh0:
	adrp	x8, _INT_PHY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_PHY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LINK_CONFIG_IDX
	ldr	x8, [x21, x0, lsl #3]
Lloh3:
	adrp	x9, _SPEED_10000@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SPEED_10000@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _ETH_PHY_SFP_1G_FIBER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ETH_PHY_SFP_1G_FIBER@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	mov	w3, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_bnx2x_warpcore_set_sgmii_speed
LBB0_3:
Lloh14:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_bnx2x_warpcore_set_10G_XFI
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_PHY,4,2                    ; @INT_PHY
	.comm	_SPEED_10000,8,3                ; @SPEED_10000
	.comm	_ETH_PHY_SFP_1G_FIBER,8,3       ; @ETH_PHY_SFP_1G_FIBER
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setting 10G SFI\n"

l_.str.1:                               ; @.str.1
	.asciz	"Setting 1G Fiber\n"

	.no_dead_strip	_bnx2x_warpcore_config_sfi
.subsections_via_symbols
