	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_process_tx_cq
_mlx4_en_process_tx_cq:                 ## @mlx4_en_process_tx_cq
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, 8(%rax)
	je	LBB0_12
## %bb.1:
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	leaq	24(%r12), %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rbx
	movq	(%r12), %rax
	leaq	(%rax,%rax,2), %r15
	movl	8(%r12), %r8d
	movl	(%rbx,%r15,8), %r14d
	movq	%r12, -136(%rbp)                ## 8-byte Spill
	movq	16(%r12), %rsi
	movl	(%rcx), %ecx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movl	(%rdx), %r12d
	leaq	(%rbx,%r15,8), %rax
	addq	$4, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	%r12d, %eax
	andl	%r14d, %eax
	shll	%cl, %eax
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	addl	%ecx, %eax
	movslq	%eax, %r13
	movq	_MLX4_CQE_OWNER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	andl	(%rsi,%r13,8), %edi
	movl	%r12d, %esi
	movl	%r8d, -72(%rbp)                 ## 4-byte Spill
	andl	%r8d, %esi
	movl	4(%rbx,%r15,8), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_XNOR
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	(%rbx,%r15,8), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	leaq	(%r15,%r13,8), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	andl	%r14d, %eax
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%r14d, -80(%rbp)                ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-76(%rbp), %r12d                ## 4-byte Reload
	incl	%r12d
	movl	%r12d, %eax
	andl	%r14d, %eax
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	shll	%cl, %eax
	addl	%ecx, %eax
	movslq	%eax, %r13
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	leaq	(%r15,%r13,8), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_MLX4_CQE_OWNER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%r15,%r13,8), %edi
	movl	%r12d, %esi
	andl	-72(%rbp), %esi                 ## 4-byte Folded Reload
	callq	_XNOR
	testq	%rax, %rax
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_9
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	%r12d, -76(%rbp)                ## 4-byte Spill
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_rmb
	movl	4(%r15,%r13,8), %edi
	callq	_be16_to_cpu
	andl	%r14d, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r15d
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movl	(%r12), %eax
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	xorl	%ecx, %ecx
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	andl	12(%rbx), %eax
	setne	%cl
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	callq	_mlx4_en_free_tx_desc
	movl	%eax, 8(%rbx)
	addl	(%r12), %r15d
	xorl	%ecx, %ecx
	andl	12(%rbx), %r15d
	setne	%cl
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	callq	_mlx4_en_stamp_wqe
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r15d
	movl	%r13d, %r12d
	cmpl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	movl	-80(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_8
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	8(%rbx), %r13d
	leal	(%r15,%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, -84(%rbp)                ## 4-byte Spill
	addl	%r12d, %r13d
	andl	%r14d, %r13d
	movq	16(%rbx), %rax
	movslq	%r13d, %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_mlx4_en_get_cqe_ts
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_7
LBB0_2:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_9:
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movl	%r12d, 24(%r15)
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_mlx4_cq_set_ci
	xorl	%eax, %eax
	callq	_wmb
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	addl	%ebx, (%rax)
	movq	(%r15), %rsi
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	_netdev_get_tx_queue
	movl	%eax, %edi
	callq	_netif_tx_queue_stopped
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	testl	%ebx, %ebx
	jle	LBB0_12
## %bb.11:
	movq	(%r15), %rsi
	movq	%r14, %rdi
	callq	_netdev_get_tx_queue
	movl	%eax, %edi
	callq	_netif_tx_wake_queue
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	4(%rax)
LBB0_12:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_CQE_OWNER_MASK,4,2        ## @MLX4_CQE_OWNER_MASK
	.no_dead_strip	_mlx4_en_process_tx_cq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_process_tx_cq
_mlx4_en_process_tx_cq:                 ; @mlx4_en_process_tx_cq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x20, x0
	bl	_netdev_priv
	str	x0, [sp, #80]                   ; 8-byte Folded Spill
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_12
; %bb.1:
	stp	x22, x20, [sp, #16]             ; 16-byte Folded Spill
	add	x9, x22, #24
	ldr	x10, [sp, #80]                  ; 8-byte Folded Reload
	ldr	x19, [x10, #16]
	ldr	x21, [x22]
	mov	w8, #24
	madd	x23, x21, x8, x19
	ldr	w11, [x22, #8]
	ldr	w27, [x23]
	ldr	x25, [x22, #16]
	ldr	w12, [x10]
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w10, [x9]
	mov	w8, #24
	madd	x8, x21, x8, x19
	ldr	w22, [x8, #4]!
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	and	w8, w10, w27
	lsl	w8, w8, w12
	str	w12, [sp, #44]                  ; 4-byte Folded Spill
	add	w26, w8, w12
	add	x8, x25, w26, sxtw #3
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _MLX4_CQE_OWNER_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX4_CQE_OWNER_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w0, w9, w8
	stp	w11, w10, [sp, #48]             ; 8-byte Folded Spill
	and	w1, w10, w11
	bl	_XNOR
	cbz	x0, LBB0_8
; %bb.2:
	stur	wzr, [x29, #-84]                ; 4-byte Folded Spill
	mov	w24, #0
	sxtw	x20, w26
	and	w8, w22, w27
	str	w8, [sp, #88]                   ; 4-byte Folded Spill
	mov	w8, #24
	madd	x8, x21, x8, x19
	add	x22, x8, #8
	add	x9, x8, #16
	str	x9, [sp, #64]                   ; 8-byte Folded Spill
	add	x21, x8, #12
	str	x25, [sp, #32]                  ; 8-byte Folded Spill
	ldr	x28, [sp, #80]                  ; 8-byte Folded Reload
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [sp, #52]                  ; 4-byte Folded Reload
	add	w10, w10, #1
	and	w8, w10, w27
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	lsl	w8, w8, w9
	add	w8, w8, w9
	sxtw	x20, w8
	ldr	x25, [sp, #32]                  ; 8-byte Folded Reload
	add	x8, x25, w8, sxtw #3
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MLX4_CQE_OWNER_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX4_CQE_OWNER_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w0, w9, w8
	str	w10, [sp, #52]                  ; 4-byte Folded Spill
	ldr	w8, [sp, #48]                   ; 4-byte Folded Reload
	and	w1, w10, w8
	bl	_XNOR
	cbz	x0, LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	w26, [sp, #88]                  ; 4-byte Folded Reload
	bl	_rmb
	add	x8, x25, x20, lsl #3
	ldr	w0, [x8, #4]
	bl	_be16_to_cpu
	and	w8, w0, w27
	str	w8, [sp, #88]                   ; 4-byte Folded Spill
	mov	x20, x24
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldr	x25, [sp, #72]                  ; 8-byte Folded Reload
	ldr	w8, [x25]
	add	w24, w24, w20
	add	w8, w8, w24
	ldr	w9, [x21]
	tst	w8, w9
	cset	w3, ne
	mov	x0, x28
	mov	x1, x23
	mov	x2, x27
	ldur	w4, [x29, #-84]                 ; 4-byte Folded Reload
	bl	_mlx4_en_free_tx_desc
	str	w0, [x22]
	ldr	w8, [x25]
	add	w8, w8, w20
	ldr	w9, [x21]
	tst	w8, w9
	cset	w3, ne
	mov	x0, x28
	mov	x1, x23
	mov	x2, x26
	bl	_mlx4_en_stamp_wqe
	mov	x20, x24
	mov	x26, x27
	ldr	w8, [sp, #88]                   ; 4-byte Folded Reload
	cmp	w27, w8
	mov	x27, x19
	b.eq	LBB0_3
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w24, [x22]
	add	w8, w24, w26
	mov	x19, x27
	and	w27, w8, w27
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x8, [x8, w27, sxtw #3]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	_mlx4_en_get_cqe_ts
	stur	w0, [x29, #-84]                 ; 4-byte Folded Spill
	b	LBB0_5
LBB0_8:
	mov	w24, #0
LBB0_9:
	ldp	x0, x21, [sp, #8]               ; 16-byte Folded Reload
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	str	w8, [x21, #24]
	bl	_mlx4_cq_set_ci
	bl	_wmb
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	ldr	w8, [x9]
	add	w8, w8, w24
	str	w8, [x9]
	ldr	x1, [x21]
	ldr	x20, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x20
	bl	_netdev_get_tx_queue
	bl	_netif_tx_queue_stopped
	cbz	x0, LBB0_12
; %bb.10:
	cmp	w24, #1
	b.lt	LBB0_12
; %bb.11:
	ldr	x1, [x21]
	mov	x0, x20
	bl	_netdev_get_tx_queue
	bl	_netif_tx_wake_queue
	ldr	x9, [sp, #80]                   ; 8-byte Folded Reload
	ldr	w8, [x9, #4]
	add	w8, w8, #1
	str	w8, [x9, #4]
LBB0_12:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_CQE_OWNER_MASK,4,2        ; @MLX4_CQE_OWNER_MASK
	.no_dead_strip	_mlx4_en_process_tx_cq
.subsections_via_symbols
