	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_open_sqs
_mlx5e_open_sqs:                        ## @mlx5e_open_sqs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rsi)
	jle	LBB0_1
## %bb.3:
	movq	%rsi, %r12
	movq	24(%rdi), %rdx
	movl	$1, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	$-4, %rbx
	xorl	%r15d, %r15d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx), %edx
	imull	%r15d, %edx
	addl	(%rdi), %edx
	movq	8(%rax), %rax
	movq	8(%rdi), %rsi
	movq	(%rax,%rsi,8), %rax
	leaq	(,%r15,4), %r9
	movl	(%rax,%r15,4), %esi
	addq	16(%rdi), %r9
	movl	%r15d, (%rsp)
	movq	%rdi, %r13
	movq	%r12, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_mlx5e_open_txqsq
	testl	%eax, %eax
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	movslq	(%r12), %rax
	cmpq	%rax, %r15
	jge	LBB0_1
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	24(%r13), %rax
	incq	-48(%rbp)                       ## 8-byte Folded Spill
	addq	$4, %rbx
	jmp	LBB0_4
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_2
LBB0_5:
	movl	%eax, %r14d
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.6:
	movq	%rbx, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rdi
	addq	%r15, %rdi
	callq	_mlx5e_close_txqsq
	decq	%rbx
	addq	$-4, %r15
	cmpq	$1, %rbx
	jg	LBB0_7
LBB0_2:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mlx5e_open_sqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_open_sqs
_mlx5e_open_sqs:                        ; @mlx5e_open_sqs
	.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
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x24, #0
	ldr	x25, [x0, #24]
	mov	w23, #1
	mov	x8, x25
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19]
	ldr	w10, [x25]
	sub	w6, w23, #1
	madd	w2, w10, w6, w9
	ldr	x8, [x8, #8]
	ldp	x9, x10, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w1, [x8, x24]
	add	x5, x10, x24
	mov	x0, x19
	mov	x3, x21
	mov	x4, x20
	bl	_mlx5e_open_txqsq
	cbnz	w0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.ge	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #24]
	add	x23, x23, #1
	add	x24, x24, #4
	b	LBB0_2
LBB0_5:
	mov	w22, #0
	b	LBB0_9
LBB0_6:
	mov	x22, x0
	cmp	w23, #1
	b.eq	LBB0_9
; %bb.7:
	sub	x20, x24, #4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x0, x8, x20
	bl	_mlx5e_close_txqsq
	sub	x23, x23, #1
	sub	x20, x20, #4
	cmp	x23, #1
	b.gt	LBB0_8
LBB0_9:
	mov	x0, x22
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mlx5e_open_sqs
.subsections_via_symbols
