	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_flow_ctrl_resolve
_bnx2x_flow_ctrl_resolve:               ## @bnx2x_flow_ctrl_resolve
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_BNX2X_FLOW_CTRL_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rdx, (%r15)
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	_BNX2X_FLOW_CTRL_AUTO@GOTPCREL(%rip), %rdi
	movq	_SPEED_AUTO_NEG@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpq	(%rdi), %rax
	jne	LBB0_1
## %bb.4:
	cmpq	%rsi, %rcx
	jne	LBB0_5
## %bb.6:
	movq	_MDIO_AN_CL73_OR_37_COMPLETE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_10
## %bb.7:
	movq	_PHY_SGMII_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	jne	LBB0_10
## %bb.8:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_direct_parallel_detect_used
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:
	movq	(%r12), %rax
	movq	%rax, (%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpq	%rsi, %rcx
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_bnx2x_update_adv_fc
	movq	(%rbx), %rax
LBB0_3:
	movq	%rax, (%r15)
	movq	%rax, %rdx
	jmp	LBB0_10
LBB0_5:
	movq	(%r12), %rdx
	movq	%rdx, (%r15)
LBB0_10:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DP                             ## TAILCALL
LBB0_9:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_bnx2x_update_adv_fc
	movq	(%r15), %rdx
	jmp	LBB0_10
	.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	_MDIO_AN_CL73_OR_37_COMPLETE,4,2 ## @MDIO_AN_CL73_OR_37_COMPLETE
	.comm	_PHY_SGMII_FLAG,4,2             ## @PHY_SGMII_FLAG
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"flow_ctrl 0x%x\n"

	.no_dead_strip	_bnx2x_flow_ctrl_resolve
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_flow_ctrl_resolve
_bnx2x_flow_ctrl_resolve:               ; @bnx2x_flow_ctrl_resolve
	.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	x20, x3
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _BNX2X_FLOW_CTRL_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_FLOW_CTRL_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x2, [x8]
	str	x2, [x19]
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_6
; %bb.1:
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.2:
Lloh9:
	adrp	x8, _MDIO_AN_CL73_OR_37_COMPLETE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MDIO_AN_CL73_OR_37_COMPLETE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.3:
	ldr	w8, [x19, #8]
Lloh12:
	adrp	x9, _PHY_SGMII_FLAG@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PHY_SGMII_FLAG@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_10
; %bb.4:
	mov	x0, x21
	mov	x1, x22
	bl	_bnx2x_direct_parallel_detect_used
	cbz	x0, LBB0_11
; %bb.5:
	ldr	x8, [x22]
	str	x8, [x19]
	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
	ret
LBB0_6:
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	mov	x3, x20
	bl	_bnx2x_update_adv_fc
	ldr	x8, [x21]
LBB0_8:
	str	x8, [x19]
	mov	x2, x8
	b	LBB0_10
LBB0_9:
	ldr	x2, [x22]
	str	x2, [x19]
LBB0_10:
Lloh15:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	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	_DP
LBB0_11:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	mov	x3, x20
	bl	_bnx2x_update_adv_fc
	ldr	x2, [x19]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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	_MDIO_AN_CL73_OR_37_COMPLETE,4,2 ; @MDIO_AN_CL73_OR_37_COMPLETE
	.comm	_PHY_SGMII_FLAG,4,2             ; @PHY_SGMII_FLAG
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"flow_ctrl 0x%x\n"

	.no_dead_strip	_bnx2x_flow_ctrl_resolve
.subsections_via_symbols
