	.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
	cmpl	$15, %esi
	ja	LBB0_6
## %bb.1:
	movl	$41120, %eax                    ## imm = 0xA0A0
	btl	%esi, %eax
	jae	LBB0_2
## %bb.5:
	movq	_BNX2X_FLOW_CTRL_BOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
LBB0_6:
	testb	$1, %sil
	jne	LBB0_7
## %bb.8:
	testb	$2, %sil
	jne	LBB0_9
LBB0_10:
	popq	%rbp
	retq
LBB0_2:
	cmpl	$11, %esi
	je	LBB0_11
## %bb.3:
	cmpl	$14, %esi
	jne	LBB0_6
## %bb.4:
	movq	_BNX2X_FLOW_CTRL_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	jmp	LBB0_9
LBB0_11:
	movq	_BNX2X_FLOW_CTRL_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
LBB0_7:
	movq	_LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rdi)
	testb	$2, %sil
	je	LBB0_10
LBB0_9:
	movq	_LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_FLOW_CTRL_TX,4,2         ## @BNX2X_FLOW_CTRL_TX
	.comm	_BNX2X_FLOW_CTRL_RX,4,2         ## @BNX2X_FLOW_CTRL_RX
	.comm	_BNX2X_FLOW_CTRL_BOTH,4,2       ## @BNX2X_FLOW_CTRL_BOTH
	.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:
	cmp	w1, #15
	b.hi	LBB0_3
; %bb.1:
	mov	w8, #1
	lsl	w8, w8, w1
	mov	w9, #41120
	tst	w8, w9
	b.eq	LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _BNX2X_FLOW_CTRL_BOTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_FLOW_CTRL_BOTH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #4]
LBB0_3:
	tbnz	w1, #0, LBB0_10
; %bb.4:
	tbnz	w1, #1, LBB0_11
LBB0_5:
	ret
LBB0_6:
	cmp	w1, #11
	b.eq	LBB0_9
; %bb.7:
	cmp	w1, #14
	b.ne	LBB0_3
; %bb.8:
Lloh3:
	adrp	x8, _BNX2X_FLOW_CTRL_RX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2X_FLOW_CTRL_RX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	b	LBB0_11
LBB0_9:
Lloh6:
	adrp	x8, _BNX2X_FLOW_CTRL_TX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_FLOW_CTRL_TX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x0, #4]
LBB0_10:
Lloh9:
	adrp	x8, _LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	tbz	w1, #1, LBB0_5
LBB0_11:
Lloh12:
	adrp	x8, _LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_FLOW_CTRL_TX,4,2         ; @BNX2X_FLOW_CTRL_TX
	.comm	_BNX2X_FLOW_CTRL_RX,4,2         ; @BNX2X_FLOW_CTRL_RX
	.comm	_BNX2X_FLOW_CTRL_BOTH,4,2       ; @BNX2X_FLOW_CTRL_BOTH
	.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
