	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2_phy_event_is_set
_bnx2_phy_event_is_set:                 ## @bnx2_phy_event_is_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movl	(%rax), %ecx
	andl	%edx, %ecx
	movl	4(%rax), %esi
	andl	%edx, %esi
	xorl	%eax, %eax
	cmpl	%esi, %ecx
	je	LBB0_5
## %bb.1:
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.3:
	movq	_BNX2_PCICFG_STATUS_BIT_CLEAR_CMD@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_BNX2_PCICFG_STATUS_BIT_SET_CMD@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	callq	_BNX2_WR
	movl	$1, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2_PCICFG_STATUS_BIT_SET_CMD,4,2 ## @BNX2_PCICFG_STATUS_BIT_SET_CMD
	.comm	_BNX2_PCICFG_STATUS_BIT_CLEAR_CMD,4,2 ## @BNX2_PCICFG_STATUS_BIT_CLEAR_CMD
	.no_dead_strip	_bnx2_phy_event_is_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2_phy_event_is_set
_bnx2_phy_event_is_set:                 ; @bnx2_phy_event_is_set
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1]
	ldp	w9, w10, [x8]
	and	w8, w9, w2
	and	w9, w10, w2
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x9, _BNX2_PCICFG_STATUS_BIT_CLEAR_CMD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNX2_PCICFG_STATUS_BIT_CLEAR_CMD@GOTPAGEOFF]
Lloh2:
	adrp	x10, _BNX2_PCICFG_STATUS_BIT_SET_CMD@GOTPAGE
Lloh3:
	ldr	x10, [x10, _BNX2_PCICFG_STATUS_BIT_SET_CMD@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x9, x10, eq
	ldr	w1, [x8]
	bl	_BNX2_WR
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2_PCICFG_STATUS_BIT_SET_CMD,4,2 ; @BNX2_PCICFG_STATUS_BIT_SET_CMD
	.comm	_BNX2_PCICFG_STATUS_BIT_CLEAR_CMD,4,2 ; @BNX2_PCICFG_STATUS_BIT_CLEAR_CMD
	.no_dead_strip	_bnx2_phy_event_is_set
.subsections_via_symbols
