	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_wait_sp_comp
_bnx2x_wait_sp_comp:                    ## @bnx2x_wait_sp_comp
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	$-5000, %r15d                   ## imm = 0xEC78
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_smp_mb
	movl	8(%r12), %edi
	callq	_netif_addr_lock_bh
	movq	(%r12), %rbx
	andq	%r14, %rbx
	movl	8(%r12), %edi
	callq	_netif_addr_unlock_bh
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	incl	%r15d
	jne	LBB0_1
## %bb.4:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_smp_mb
	movl	8(%r12), %edi
	callq	_netif_addr_lock_bh
	movq	(%r12), %rsi
	testq	%r14, %rsi
	je	LBB0_5
## %bb.6:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rdx
	callq	_BNX2X_ERR
	jmp	LBB0_7
LBB0_2:
	movl	$1, %r15d
	jmp	LBB0_8
LBB0_5:
	movl	$1, %r15d
LBB0_7:
	movl	8(%r12), %edi
	callq	_netif_addr_unlock_bh
LBB0_8:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Filtering completion timed out. sp_state 0x%lx, mask 0x%lx\n"

	.no_dead_strip	_bnx2x_wait_sp_comp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_wait_sp_comp
_bnx2x_wait_sp_comp:                    ; @bnx2x_wait_sp_comp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	mov	w21, #-5000
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_smp_mb
	ldr	w0, [x19, #8]
	bl	_netif_addr_lock_bh
	ldr	x8, [x19]
	and	x22, x8, x20
	ldr	w0, [x19, #8]
	bl	_netif_addr_unlock_bh
	cbz	x22, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	adds	w21, w21, #1
	b.lo	LBB0_1
; %bb.3:
	bl	_smp_mb
	ldr	w0, [x19, #8]
	bl	_netif_addr_lock_bh
	ldr	x1, [x19]
	tst	x1, x20
	b.eq	LBB0_6
; %bb.4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_BNX2X_ERR
	mov	w20, #0
	b	LBB0_7
LBB0_5:
	mov	w20, #1
	b	LBB0_8
LBB0_6:
	mov	w20, #1
LBB0_7:
	ldr	w0, [x19, #8]
	bl	_netif_addr_unlock_bh
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Filtering completion timed out. sp_state 0x%lx, mask 0x%lx\n"

	.no_dead_strip	_bnx2x_wait_sp_comp
.subsections_via_symbols
