	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_ext_phy_resolve_fc
_bnx2x_ext_phy_resolve_fc:              ## @bnx2x_ext_phy_resolve_fc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	_BNX2X_FLOW_CTRL_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	_BNX2X_FLOW_CTRL_AUTO@GOTPCREL(%rip), %rdi
	movq	_SPEED_AUTO_NEG@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	(%rdi), %rax
	jne	LBB0_4
## %bb.1:
	cmpq	%rdx, %rcx
	jne	LBB0_6
## %bb.2:
	movq	_LINK_STATUS_AUTO_NEGOTIATE_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r14)
	je	LBB0_8
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_bnx2x_ext_phy_update_adv_fc
	movl	$1, %eax
	jmp	LBB0_9
LBB0_4:
	cmpq	%rdx, %rcx
	jne	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_bnx2x_ext_phy_update_adv_fc
	movq	(%rbx), %rax
	jmp	LBB0_7
LBB0_6:
	movq	(%rsi), %rax
LBB0_7:
	movq	%rax, (%r14)
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_FLOW_CTRL_NONE,8,3       ## @BNX2X_FLOW_CTRL_NONE
	.comm	_BNX2X_FLOW_CTRL_AUTO,8,3       ## @BNX2X_FLOW_CTRL_AUTO
	.comm	_SPEED_AUTO_NEG,8,3             ## @SPEED_AUTO_NEG
	.comm	_LINK_STATUS_AUTO_NEGOTIATE_COMPLETE,4,2 ## @LINK_STATUS_AUTO_NEGOTIATE_COMPLETE
	.no_dead_strip	_bnx2x_ext_phy_resolve_fc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_ext_phy_resolve_fc
_bnx2x_ext_phy_resolve_fc:              ; @bnx2x_ext_phy_resolve_fc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _BNX2X_FLOW_CTRL_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_FLOW_CTRL_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x2]
Lloh3:
	adrp	x8, _BNX2X_FLOW_CTRL_AUTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2X_FLOW_CTRL_AUTO@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x8]
	ldp	x8, x9, [x0]
Lloh6:
	adrp	x10, _SPEED_AUTO_NEG@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SPEED_AUTO_NEG@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x11
	b.ne	LBB0_4
; %bb.1:
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.2:
	ldr	w8, [x19, #8]
Lloh9:
	adrp	x9, _LINK_STATUS_AUTO_NEGOTIATE_COMPLETE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _LINK_STATUS_AUTO_NEGOTIATE_COMPLETE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.3:
	mov	x0, x20
	mov	x2, x19
	bl	_bnx2x_ext_phy_update_adv_fc
	mov	w0, #1
	b	LBB0_9
LBB0_4:
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x2, x19
	bl	_bnx2x_ext_phy_update_adv_fc
	ldr	x8, [x20]
LBB0_6:
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_9
LBB0_7:
	mov	w0, #0
	ldr	x8, [x1]
	str	x8, [x19]
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_FLOW_CTRL_NONE,8,3       ; @BNX2X_FLOW_CTRL_NONE
	.comm	_BNX2X_FLOW_CTRL_AUTO,8,3       ; @BNX2X_FLOW_CTRL_AUTO
	.comm	_SPEED_AUTO_NEG,8,3             ; @SPEED_AUTO_NEG
	.comm	_LINK_STATUS_AUTO_NEGOTIATE_COMPLETE,4,2 ; @LINK_STATUS_AUTO_NEGOTIATE_COMPLETE
	.no_dead_strip	_bnx2x_ext_phy_resolve_fc
.subsections_via_symbols
