	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_free_txqsq_descs         ## -- Begin function mlx5e_free_txqsq_descs
	.p2align	4, 0x90
_mlx5e_free_txqsq_descs:                ## @mlx5e_free_txqsq_descs
	.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
	movq	(%rdi), %r14
	movq	16(%rdi), %rax
	movq	%rax, -48(%rbp)
	cmpq	8(%rdi), %r14
	je	LBB0_10
## %bb.1:
	leaq	40(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	leaq	-48(%rbp), %rdx
	callq	_mlx5e_ktls_tx_handle_resync_dump_comp
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	(%r15), %r14
	cmpq	8(%rbx), %r14
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_mlx5_wq_cyc_ctr2ix
	movq	32(%rbx), %rcx
	leaq	(%rax,%rax,2), %rax
	leaq	(%rcx,%rax,8), %r15
	movq	16(%rcx,%rax,8), %r12
	testq	%r12, %r12
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, 8(%rcx,%rax,8)
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rcx,%rax,8), %r15
	addq	$8, %r15
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-48(%rbp), %rsi
	leaq	1(%rsi), %rax
	movq	%rax, -48(%rbp)
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_mlx5e_dma_get
	movl	24(%rbx), %edi
	movq	%rax, %rsi
	callq	_mlx5e_tx_dma_unmap
	incl	%r13d
	cmpl	(%r15), %r13d
	jl	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_dev_kfree_skb_any
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_9:
	movq	-48(%rbp), %rax
LBB0_10:
	movq	%rax, 16(%rbx)
	movq	%r14, (%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_free_txqsq_descs         ; -- Begin function mlx5e_free_txqsq_descs
	.p2align	2
_mlx5e_free_txqsq_descs:                ; @mlx5e_free_txqsq_descs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldp	x9, x8, [x0, #8]
	str	x8, [sp, #8]
	ldr	x20, [x0]
	cmp	x20, x9
	b.eq	LBB0_10
; %bb.1:
	add	x21, x19, #40
	mov	w24, #24
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x22
	bl	_mlx5e_ktls_tx_handle_resync_dump_comp
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	ldr	x9, [x19, #8]
	add	x20, x8, x20
	cmp	x20, x9
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	x0, x21
	mov	x1, x20
	bl	_mlx5_wq_cyc_ctr2ix
	ldr	x8, [x19, #32]
	madd	x22, x0, x24, x8
	ldr	x23, [x22, #16]
	cbz	x23, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	madd	x25, x0, x24, x8
	ldr	w8, [x25, #8]!
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [sp, #8]
	add	x8, x1, #1
	str	x8, [sp, #8]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_mlx5e_dma_get
	mov	x1, x0
	ldr	w0, [x19, #24]
	bl	_mlx5e_tx_dma_unmap
	add	w26, w26, #1
	ldr	w8, [x25]
	cmp	w26, w8
	b.lt	LBB0_7
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_dev_kfree_skb_any
	b	LBB0_3
LBB0_9:
	ldr	x8, [sp, #8]
LBB0_10:
	str	x8, [x19, #16]
	str	x20, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
