	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2_poll_link
_bnx2_poll_link:                        ## @bnx2_poll_link
	.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	(%rsi), %rax
	movl	4(%rax), %ecx
	movq	_STATUS_ATTN_EVENTS@GOTPCREL(%rip), %rdx
	xorl	(%rax), %ecx
	testl	%ecx, (%rdx)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	callq	_bnx2_phy_int
	movq	_BNX2_HC_COMMAND@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_BNX2_HC_COMMAND_COAL_NOW_WO_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_BNX2_WR
	movl	(%r14), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_BNX2_RD                        ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_ATTN_EVENTS,4,2         ## @STATUS_ATTN_EVENTS
	.comm	_BNX2_HC_COMMAND,4,2            ## @BNX2_HC_COMMAND
	.comm	_BNX2_HC_COMMAND_COAL_NOW_WO_INT,4,2 ## @BNX2_HC_COMMAND_COAL_NOW_WO_INT
	.no_dead_strip	_bnx2_poll_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2_poll_link
_bnx2_poll_link:                        ; @bnx2_poll_link
	.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
	ldr	x8, [x1]
	ldp	w9, w8, [x8]
Lloh0:
	adrp	x10, _STATUS_ATTN_EVENTS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _STATUS_ATTN_EVENTS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	eor	w8, w8, w9
	tst	w8, w10
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x0
	bl	_bnx2_phy_int
Lloh3:
	adrp	x20, _BNX2_HC_COMMAND@GOTPAGE
Lloh4:
	ldr	x20, [x20, _BNX2_HC_COMMAND@GOTPAGEOFF]
	ldr	w1, [x20]
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _BNX2_HC_COMMAND_COAL_NOW_WO_INT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BNX2_HC_COMMAND_COAL_NOW_WO_INT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_BNX2_WR
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_BNX2_RD
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_ATTN_EVENTS,4,2         ; @STATUS_ATTN_EVENTS
	.comm	_BNX2_HC_COMMAND,4,2            ; @BNX2_HC_COMMAND
	.comm	_BNX2_HC_COMMAND_COAL_NOW_WO_INT,4,2 ; @BNX2_HC_COMMAND_COAL_NOW_WO_INT
	.no_dead_strip	_bnx2_poll_link
.subsections_via_symbols
