	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_en_fold_software_stats    ## -- Begin function mlx4_en_fold_software_stats
	.p2align	4, 0x90
_mlx4_en_fold_software_stats:           ## @mlx4_en_fold_software_stats
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	cmpl	$0, 32(%rax)
	je	LBB0_11
## %bb.1:
	movq	%rax, %r12
	movq	40(%rax), %rax
	movl	(%rax), %edi
	callq	_mlx4_is_master
	testq	%rax, %rax
	jne	LBB0_11
## %bb.2:
	cmpl	$0, (%r12)
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_3
## %bb.4:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	movq	(%rax,%rbx,8), %r13
	movl	4(%r13), %edi
	callq	_READ_ONCE
	addq	%rax, %r15
	movl	(%r13), %edi
	callq	_READ_ONCE
	addq	%rax, %r14
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
	jmp	LBB0_6
LBB0_3:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	movq	%r14, 8(%rax)
	movq	8(%r12), %rcx
	movq	_TX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
	cmpl	$0, (%rcx,%rax,4)
	jle	LBB0_7
## %bb.8:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax,%r14,8), %r15
	movl	4(%r15), %edi
	movq	%rdx, %r12
	callq	_READ_ONCE
	addq	%rax, %rbx
	movl	(%r15), %edi
	callq	_READ_ONCE
	movq	%r12, %rdx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	addq	%rax, %r13
	incq	%r14
	movq	8(%r12), %rcx
	movq	(%rdx), %rax
	movslq	(%rcx,%rax,4), %rcx
	cmpq	%rcx, %r14
	jl	LBB0_9
	jmp	LBB0_10
LBB0_7:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, 16(%rax)
	movq	%r13, 24(%rax)
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX,8,3                         ## @TX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_en_fold_software_stats    ; -- Begin function mlx4_en_fold_software_stats
	.p2align	2
_mlx4_en_fold_software_stats:           ; @mlx4_en_fold_software_stats
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_netdev_priv
	ldr	w8, [x0, #32]
	cbz	w8, LBB0_11
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #40]
	ldr	w0, [x8]
	bl	_mlx4_is_master
	cbnz	x0, LBB0_11
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x23, #0
	mov	x22, #0
	mov	x21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	ldr	x24, [x8, x23, lsl #3]
	ldr	w0, [x24, #4]
	bl	_READ_ONCE
	add	x22, x0, x22
	ldr	w0, [x24]
	bl	_READ_ONCE
	add	x21, x0, x21
	add	x23, x23, #1
	ldrsw	x8, [x20]
	cmp	x23, x8
	b.lt	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	x21, #0
	mov	x22, #0
LBB0_6:
	stp	x22, x21, [x19]
	ldr	x9, [x20, #8]
Lloh0:
	adrp	x21, _TX@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TX@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w9, [x9, x8, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x24, #0
	mov	x23, #0
	mov	x22, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #16]
	ldr	x8, [x9, x8, lsl #3]
	ldr	x25, [x8, x24, lsl #3]
	ldr	w0, [x25, #4]
	bl	_READ_ONCE
	add	x23, x0, x23
	ldr	w0, [x25]
	bl	_READ_ONCE
	add	x22, x0, x22
	add	x24, x24, #1
	ldr	x9, [x20, #8]
	ldr	x8, [x21]
	ldrsw	x9, [x9, x8, lsl #2]
	cmp	x24, x9
	b.lt	LBB0_8
	b	LBB0_10
LBB0_9:
	mov	x22, #0
	mov	x23, #0
LBB0_10:
	stp	x23, x22, [x19, #16]
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TX,8,3                         ; @TX
.subsections_via_symbols
