	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2_phy_get_pause_adv
_bnx2_phy_get_pause_adv:                ## @bnx2_phy_get_pause_adv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	movq	_FLOW_CTRL_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_FLOW_CTRL_TX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	orl	%ecx, %esi
	movl	%r8d, %eax
	notl	%eax
	testl	%eax, %esi
	jne	LBB0_4
## %bb.1:
	movq	_BNX2_PHY_FLAG_SERDES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rdi)
	je	LBB0_7
## %bb.2:
	movq	_ADVERTISE_1000XPAUSE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	testl	%r8d, %edx
	je	LBB0_8
## %bb.5:
	movq	_BNX2_PHY_FLAG_SERDES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rdi)
	je	LBB0_11
## %bb.6:
	movq	_ADVERTISE_1000XPSE_ASYM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	_ADVERTISE_PAUSE_CAP@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_8:
	testl	%r8d, %ecx
	je	LBB0_12
## %bb.9:
	movq	_BNX2_PHY_FLAG_SERDES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rdi)
	je	LBB0_13
## %bb.10:
	movq	_ADVERTISE_1000XPAUSE@GOTPCREL(%rip), %rcx
	movq	_ADVERTISE_1000XPSE_ASYM@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	movq	_ADVERTISE_PAUSE_ASYM@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_12:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_13:
	movq	_ADVERTISE_PAUSE_CAP@GOTPCREL(%rip), %rcx
	movq	_ADVERTISE_PAUSE_ASYM@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	orl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLOW_CTRL_RX,4,2               ## @FLOW_CTRL_RX
	.comm	_FLOW_CTRL_TX,4,2               ## @FLOW_CTRL_TX
	.comm	_BNX2_PHY_FLAG_SERDES,4,2       ## @BNX2_PHY_FLAG_SERDES
	.comm	_ADVERTISE_1000XPAUSE,4,2       ## @ADVERTISE_1000XPAUSE
	.comm	_ADVERTISE_PAUSE_CAP,4,2        ## @ADVERTISE_PAUSE_CAP
	.comm	_ADVERTISE_1000XPSE_ASYM,4,2    ## @ADVERTISE_1000XPSE_ASYM
	.comm	_ADVERTISE_PAUSE_ASYM,4,2       ## @ADVERTISE_PAUSE_ASYM
	.no_dead_strip	_bnx2_phy_get_pause_adv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2_phy_get_pause_adv
_bnx2_phy_get_pause_adv:                ; @bnx2_phy_get_pause_adv
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FLOW_CTRL_RX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLOW_CTRL_RX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _FLOW_CTRL_TX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FLOW_CTRL_TX@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w11, w10, w9
	bics	wzr, w11, w8
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x0, #4]
Lloh6:
	adrp	x9, _BNX2_PHY_FLAG_SERDES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BNX2_PHY_FLAG_SERDES@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
Lloh9:
	adrp	x8, _ADVERTISE_1000XPAUSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADVERTISE_1000XPAUSE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
LBB0_3:
	tst	w10, w8
	b.eq	LBB0_7
; %bb.4:
	ldr	w8, [x0, #4]
Lloh12:
	adrp	x9, _BNX2_PHY_FLAG_SERDES@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BNX2_PHY_FLAG_SERDES@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.5:
Lloh15:
	adrp	x8, _ADVERTISE_1000XPSE_ASYM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ADVERTISE_1000XPSE_ASYM@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh18:
	adrp	x8, _ADVERTISE_PAUSE_CAP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ADVERTISE_PAUSE_CAP@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ret
LBB0_7:
	tst	w9, w8
	b.eq	LBB0_11
; %bb.8:
	ldr	w8, [x0, #4]
Lloh21:
	adrp	x9, _BNX2_PHY_FLAG_SERDES@GOTPAGE
Lloh22:
	ldr	x9, [x9, _BNX2_PHY_FLAG_SERDES@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.9:
Lloh24:
	adrp	x8, _ADVERTISE_1000XPAUSE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ADVERTISE_1000XPAUSE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _ADVERTISE_1000XPSE_ASYM@GOTPAGE
Lloh28:
	ldr	x9, [x9, _ADVERTISE_1000XPSE_ASYM@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh29:
	adrp	x8, _ADVERTISE_PAUSE_ASYM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ADVERTISE_PAUSE_ASYM@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ret
LBB0_11:
	mov	w0, #0
	ret
LBB0_12:
Lloh32:
	adrp	x8, _ADVERTISE_PAUSE_CAP@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ADVERTISE_PAUSE_CAP@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _ADVERTISE_PAUSE_ASYM@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ADVERTISE_PAUSE_ASYM@GOTPAGEOFF]
LBB0_13:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_FLOW_CTRL_RX,4,2               ; @FLOW_CTRL_RX
	.comm	_FLOW_CTRL_TX,4,2               ; @FLOW_CTRL_TX
	.comm	_BNX2_PHY_FLAG_SERDES,4,2       ; @BNX2_PHY_FLAG_SERDES
	.comm	_ADVERTISE_1000XPAUSE,4,2       ; @ADVERTISE_1000XPAUSE
	.comm	_ADVERTISE_PAUSE_CAP,4,2        ; @ADVERTISE_PAUSE_CAP
	.comm	_ADVERTISE_1000XPSE_ASYM,4,2    ; @ADVERTISE_1000XPSE_ASYM
	.comm	_ADVERTISE_PAUSE_ASYM,4,2       ; @ADVERTISE_PAUSE_ASYM
	.no_dead_strip	_bnx2_phy_get_pause_adv
.subsections_via_symbols
