	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_add_sqs_fwd_rules        ## -- Begin function mlx5e_add_sqs_fwd_rules
	.p2align	4, 0x90
_mlx5e_add_sqs_fwd_rules:               ## @mlx5e_add_sqs_fwd_rules
	.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, %r12
	movq	40(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	32(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	movl	24(%rdi), %edi
	imull	8(%r12), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_kcalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r13
	movl	8(%r12), %edx
	testl	%edx, %edx
	jle	LBB0_8
## %bb.2:
	movq	16(%r12), %r8
	xorl	%ecx, %ecx
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	movslq	%edx, %rax
	cmpq	%rax, %rcx
	jge	LBB0_8
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	(%r8,%rcx,8), %rsi
	cmpl	$0, (%rsi)
	jle	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rsi), %rdx
	movslq	%r15d, %rax
	leaq	(,%rax,4), %rax
	addq	%r13, %rax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdx,%rdi,4), %ebx
	movl	%ebx, (%rax,%rdi,4)
	incq	%rdi
	movslq	(%rsi), %rbx
	cmpq	%rbx, %rdi
	jl	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	%edi, %r15d
	movl	8(%r12), %edx
	jmp	LBB0_7
LBB0_8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	%r15d, %ecx
	callq	_mlx5e_sqs2vport_start
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_kfree
LBB0_9:
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.10:
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_netdev_warn
LBB0_11:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to add SQs FWD rules %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_add_sqs_fwd_rules        ; -- Begin function mlx5e_add_sqs_fwd_rules
	.p2align	2
_mlx5e_add_sqs_fwd_rules:               ; @mlx5e_add_sqs_fwd_rules
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldp	x9, x8, [x0, #32]
	ldr	x21, [x8]
	ldr	x20, [x9]
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	ldr	w8, [x0, #8]
	ldr	w9, [x0, #24]
	mul	w0, w9, w8
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #4
	bl	_kcalloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x22, x0
	ldr	w10, [x19, #8]
	cmp	w10, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x8, #0
	mov	w3, #0
	ldr	x9, [x19, #16]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	cmp	x8, w10, sxtw
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x11, [x9, x8, lsl #3]
	ldr	w12, [x11]
	cmp	w12, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, #0
	ldr	x12, [x11, #8]
	add	x13, x22, w3, sxtw #2
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x14, x10, #2
	ldr	w15, [x12, x14]
	str	w15, [x13, x14]
	add	x10, x10, #1
	ldrsw	x14, [x11]
	cmp	x10, x14
	b.lt	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w3, w3, w10
	ldr	w10, [x19, #8]
	b	LBB0_3
LBB0_8:
	neg	w20, w23
	cbnz	w20, LBB0_11
	b	LBB0_12
LBB0_9:
	mov	w3, #0
LBB0_10:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_mlx5e_sqs2vport_start
	mov	x20, x0
	mov	x0, x22
	bl	_kfree
	cbz	w20, LBB0_12
LBB0_11:
	ldr	w0, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_netdev_warn
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to add SQs FWD rules %d\n"

.subsections_via_symbols
