	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_pause_resolve
_bnx2x_pause_resolve:                   ## @bnx2x_pause_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r14
	cmpl	$15, %ecx
	ja	LBB0_8
## %bb.1:
	movl	$41120, %eax                    ## imm = 0xA0A0
	btl	%r15d, %eax
	jae	LBB0_2
## %bb.5:
	movq	(%rsi), %rax
	movq	_BNX2X_FLOW_CTRL_BOTH@GOTPCREL(%rip), %rbx
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpq	(%rbx), %rax
	je	LBB0_6
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	callq	_DP
	movq	_BNX2X_FLOW_CTRL_RX@GOTPCREL(%rip), %rbx
	jmp	LBB0_9
LBB0_2:
	cmpl	$11, %r15d
	je	LBB0_14
## %bb.3:
	cmpl	$14, %r15d
	jne	LBB0_8
## %bb.4:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_DP
	movq	_BNX2X_FLOW_CTRL_RX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	jmp	LBB0_12
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	callq	_DP
	jmp	LBB0_9
LBB0_14:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	_BNX2X_FLOW_CTRL_TX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	jmp	LBB0_10
LBB0_8:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_DP
	movq	_BNX2X_FLOW_CTRL_NONE@GOTPCREL(%rip), %rbx
LBB0_9:
	movq	(%rbx), %rax
	movq	%rax, 8(%r14)
	testb	$1, %r15b
	je	LBB0_11
LBB0_10:
	movq	_LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_11:
	testb	$2, %r15b
	je	LBB0_13
LBB0_12:
	movq	_LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Flow Control: TX only\n"

	.comm	_BNX2X_FLOW_CTRL_TX,8,3         ## @BNX2X_FLOW_CTRL_TX
L_.str.1:                               ## @.str.1
	.asciz	"Flow Control: RX only\n"

	.comm	_BNX2X_FLOW_CTRL_RX,8,3         ## @BNX2X_FLOW_CTRL_RX
	.comm	_BNX2X_FLOW_CTRL_BOTH,8,3       ## @BNX2X_FLOW_CTRL_BOTH
L_.str.2:                               ## @.str.2
	.asciz	"Flow Control: RX & TX\n"

L_.str.3:                               ## @.str.3
	.asciz	"Flow Control: None\n"

	.comm	_BNX2X_FLOW_CTRL_NONE,8,3       ## @BNX2X_FLOW_CTRL_NONE
	.comm	_LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE,4,2 ## @LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE
	.comm	_LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE,4,2 ## @LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE
	.no_dead_strip	_bnx2x_pause_resolve
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_pause_resolve
_bnx2x_pause_resolve:                   ; @bnx2x_pause_resolve
	.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	x20, x3
	mov	x19, x2
	cmp	w3, #15
	b.hi	LBB0_9
; %bb.1:
	mov	w8, #1
	lsl	w8, w8, w20
	mov	w9, #41120
	tst	w8, w9
	b.eq	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _BNX2X_FLOW_CTRL_BOTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_FLOW_CTRL_BOTH@GOTPAGEOFF]
	ldr	x9, [x1]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x10, _NETIF_MSG_LINK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x10]
	cmp	x9, x8
	b.eq	LBB0_7
; %bb.3:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
Lloh8:
	adrp	x8, _BNX2X_FLOW_CTRL_RX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BNX2X_FLOW_CTRL_RX@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
	cmp	w20, #11
	b.eq	LBB0_8
; %bb.5:
	cmp	w20, #14
	b.ne	LBB0_9
; %bb.6:
Lloh10:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
Lloh15:
	adrp	x8, _BNX2X_FLOW_CTRL_RX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BNX2X_FLOW_CTRL_RX@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	b	LBB0_13
LBB0_7:
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DP
Lloh20:
	adrp	x8, _BNX2X_FLOW_CTRL_BOTH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BNX2X_FLOW_CTRL_BOTH@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh22:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
Lloh27:
	adrp	x8, _BNX2X_FLOW_CTRL_TX@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BNX2X_FLOW_CTRL_TX@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	b	LBB0_11
LBB0_9:
Lloh30:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_DP
Lloh35:
	adrp	x8, _BNX2X_FLOW_CTRL_NONE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _BNX2X_FLOW_CTRL_NONE@GOTPAGEOFF]
LBB0_10:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	tbz	w20, #0, LBB0_12
LBB0_11:
Lloh37:
	adrp	x8, _LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_12:
	tbz	w20, #1, LBB0_14
LBB0_13:
Lloh40:
	adrp	x8, _LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Flow Control: TX only\n"

	.comm	_BNX2X_FLOW_CTRL_TX,8,3         ; @BNX2X_FLOW_CTRL_TX
l_.str.1:                               ; @.str.1
	.asciz	"Flow Control: RX only\n"

	.comm	_BNX2X_FLOW_CTRL_RX,8,3         ; @BNX2X_FLOW_CTRL_RX
	.comm	_BNX2X_FLOW_CTRL_BOTH,8,3       ; @BNX2X_FLOW_CTRL_BOTH
l_.str.2:                               ; @.str.2
	.asciz	"Flow Control: RX & TX\n"

l_.str.3:                               ; @.str.3
	.asciz	"Flow Control: None\n"

	.comm	_BNX2X_FLOW_CTRL_NONE,8,3       ; @BNX2X_FLOW_CTRL_NONE
	.comm	_LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE,4,2 ; @LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE
	.comm	_LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE,4,2 ; @LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE
	.no_dead_strip	_bnx2x_pause_resolve
.subsections_via_symbols
