	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function bnx2_set_coalesce
LCPI0_0:
	.long	1023                            ## 0x3ff
	.long	255                             ## 0xff
	.long	1023                            ## 0x3ff
	.long	255                             ## 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_bnx2_set_coalesce:                     ## @bnx2_set_coalesce
	.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, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movups	40(%rbx), %xmm0
	movups	56(%rbx), %xmm1
	shufps	$34, %xmm0, %xmm1               ## xmm1 = xmm1[2,0],xmm0[2,0]
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [1023,255,1023,255]
	pminsd	%xmm0, %xmm1
	movdqu	%xmm1, (%rax)
	movups	8(%rbx), %xmm1
	movups	24(%rbx), %xmm2
	shufps	$34, %xmm1, %xmm2               ## xmm2 = xmm2[2,0],xmm1[2,0]
	pminsd	%xmm0, %xmm2
	movdqu	%xmm2, 16(%rax)
	movl	(%rbx), %eax
	movq	_BNX2_FLAG_BROKEN_STATS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	32(%r14), %edx
	movl	%eax, %ecx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_USEC_PER_SEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	testl	%edx, %edx
	cmovel	%eax, %ecx
	movq	_BNX2_HC_STATS_TICKS_HC_STAT_TICKS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	cmovgel	%eax, %ecx
	andl	%eax, %ecx
	movl	%ecx, 40(%r14)
	movl	36(%r14), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_bnx2_netif_stop
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_bnx2_init_nic
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_bnx2_netif_start
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2_FLAG_BROKEN_STATS,4,2     ## @BNX2_FLAG_BROKEN_STATS
	.comm	_USEC_PER_SEC,4,2               ## @USEC_PER_SEC
	.comm	_BNX2_HC_STATS_TICKS_HC_STAT_TICKS,4,2 ## @BNX2_HC_STATS_TICKS_HC_STAT_TICKS
	.no_dead_strip	_bnx2_set_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function bnx2_set_coalesce
lCPI0_0:
	.long	255                             ; 0xff
	.long	1023                            ; 0x3ff
	.long	255                             ; 0xff
	.long	1023                            ; 0x3ff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_bnx2_set_coalesce:                     ; @bnx2_set_coalesce
	.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
	mov	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	ldur	q0, [x20, #56]
	ldur	q1, [x20, #40]
	uzp1.4s	v0, v1, v0
	ldur	q1, [x20, #24]
	ldur	q2, [x20, #8]
	uzp1.4s	v1, v2, v1
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q2, [x8, lCPI0_0@PAGEOFF]
	smin.4s	v0, v0, v2
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	smin.4s	v1, v1, v2
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x0]
Lloh2:
	adrp	x8, _BNX2_FLAG_BROKEN_STATS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BNX2_FLAG_BROKEN_STATS@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh4:
	ldr	w8, [x8]
	ldp	w10, w0, [x0, #32]
	and	w8, w8, w10
	cmp	w9, #0
	ccmp	w8, #0, #4, ne
Lloh5:
	adrp	x8, _USEC_PER_SEC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _USEC_PER_SEC@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x10, _BNX2_HC_STATS_TICKS_HC_STAT_TICKS@GOTPAGE
Lloh9:
	ldr	x10, [x10, _BNX2_HC_STATS_TICKS_HC_STAT_TICKS@GOTPAGEOFF]
	csel	w8, w9, w8, eq
Lloh10:
	ldr	w9, [x10]
	cmp	w8, w9
	csel	w8, w8, w9, lt
	and	w8, w8, w9
	str	w8, [x19, #40]
	bl	_netif_running
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_bnx2_netif_stop
	mov	x0, x19
	mov	w1, #0
	bl	_bnx2_init_nic
	mov	x0, x19
	mov	w1, #1
	bl	_bnx2_netif_start
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2_FLAG_BROKEN_STATS,4,2     ; @BNX2_FLAG_BROKEN_STATS
	.comm	_USEC_PER_SEC,4,2               ; @USEC_PER_SEC
	.comm	_BNX2_HC_STATS_TICKS_HC_STAT_TICKS,4,2 ; @BNX2_HC_STATS_TICKS_HC_STAT_TICKS
	.no_dead_strip	_bnx2_set_coalesce
.subsections_via_symbols
