	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esw_create_vport_rx_group
_esw_create_vport_rx_group:             ## @esw_create_vport_rx_group
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_create_flow_group_in@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_MLX5_ST_SZ_BYTES
	movq	_MLX5_ESW_MISS_FLOWS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_kvzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_esw_set_flow_group_source_port
	movl	(%r13), %edi
	movq	_start_flow_index@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %r13
	xorl	%r15d, %r15d
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_MLX5_SET
	movq	_create_flow_group_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_end_flow_index@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leal	(%r12,%r13), %ecx
	decl	%ecx
	movq	%rbx, %rsi
	callq	_MLX5_SET
	movl	8(%r14), %edi
	movq	%rbx, %rsi
	callq	_mlx5_create_flow_group
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_PTR_ERR
	movl	%eax, %r15d
	movl	16(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_mlx5_core_warn
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_6
LBB0_4:
	movq	%r12, (%r14)
LBB0_5:
	movq	%rbx, %rdi
	callq	_kvfree
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_create_flow_group_in,4,2       ## @create_flow_group_in
	.comm	_MLX5_ESW_MISS_FLOWS,4,2        ## @MLX5_ESW_MISS_FLOWS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_start_flow_index,4,2           ## @start_flow_index
	.comm	_end_flow_index,4,2             ## @end_flow_index
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to create vport rx group err %d\n"

	.no_dead_strip	_esw_create_vport_rx_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esw_create_vport_rx_group
_esw_create_vport_rx_group:             ; @esw_create_vport_rx_group
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _create_flow_group_in@GOTPAGE
Lloh1:
	ldr	x22, [x22, _create_flow_group_in@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_MLX5_ST_SZ_BYTES
Lloh2:
	adrp	x8, _MLX5_ESW_MISS_FLOWS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MLX5_ESW_MISS_FLOWS@GOTPAGEOFF]
Lloh4:
	ldr	w23, [x8]
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_kvzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_esw_set_flow_group_source_port
	ldr	w0, [x22]
Lloh8:
	adrp	x8, _start_flow_index@GOTPAGE
Lloh9:
	ldr	x8, [x8, _start_flow_index@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x1, x20
	mov	w3, #0
	bl	_MLX5_SET
	ldr	w0, [x22]
Lloh11:
	adrp	x8, _end_flow_index@GOTPAGE
Lloh12:
	ldr	x8, [x8, _end_flow_index@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	w8, w21, w23
	sub	w3, w8, #1
	mov	x1, x20
	bl	_MLX5_SET
	ldr	w0, [x19, #8]
	mov	x1, x20
	bl	_mlx5_create_flow_group
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_PTR_ERR
	mov	x21, x0
	ldr	w0, [x19, #16]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_mlx5_core_warn
	b	LBB0_5
LBB0_3:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_6
LBB0_4:
	mov	w21, #0
	str	x22, [x19]
LBB0_5:
	mov	x0, x20
	bl	_kvfree
LBB0_6:
	mov	x0, x21
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_create_flow_group_in,4,2       ; @create_flow_group_in
	.comm	_MLX5_ESW_MISS_FLOWS,4,2        ; @MLX5_ESW_MISS_FLOWS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_start_flow_index,4,2           ; @start_flow_index
	.comm	_end_flow_index,4,2             ; @end_flow_index
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to create vport rx group err %d\n"

	.no_dead_strip	_esw_create_vport_rx_group
.subsections_via_symbols
