	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_create_l2_table_groups
_mlx5e_create_l2_table_groups:          ## @mlx5e_create_l2_table_groups
	.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
	movq	%rdi, %r13
	movq	_create_flow_group_in@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_MLX5_ST_SZ_BYTES
	movl	%eax, %ebx
	movq	_MLX5E_NUM_L2_GROUPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r14), %esi
	movl	%ebx, %edi
	callq	_kvzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movl	(%r15), %edi
	movq	_match_criteria@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_MLX5_ADDR_OF
	movq	_fte_match_param@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_outer_headers@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rsi
	callq	_MLX5_ADDR_OF
	movq	%rax, %r12
	movq	_start_flow_index@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_MLX5_SET_CFG
	movq	_MLX5E_L2_GROUP1_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_end_flow_index@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leal	-1(%r15), %edx
	movq	%r14, %rdi
	callq	_MLX5_SET_CFG
	movl	16(%r13), %edi
	movq	%r14, %rsi
	callq	_mlx5_create_flow_group
	movq	(%r13), %rcx
	movq	8(%r13), %rdx
	movq	%rax, (%rdx,%rcx,8)
	movq	8(%r13), %rax
	movq	(%rax,%rcx,8), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	incq	(%r13)
	movq	%r12, %rdi
	callq	_eth_broadcast_addr
	movq	_match_criteria_enable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MLX5_MATCH_OUTER_HEADERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_MLX5_SET_CFG
	movq	_start_flow_index@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_MLX5_SET_CFG
	movq	_MLX5E_L2_GROUP2_SIZE@GOTPCREL(%rip), %rax
	addq	(%rax), %r15
	movl	(%rbx), %esi
	leal	-1(%r15), %edx
	movq	%r14, %rdi
	callq	_MLX5_SET_CFG
	movl	16(%r13), %edi
	movq	%r14, %rsi
	callq	_mlx5_create_flow_group
	movq	(%r13), %rcx
	movq	8(%r13), %rdx
	movq	%rax, (%rdx,%rcx,8)
	movq	8(%r13), %rax
	movq	(%rax,%rcx,8), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	incq	(%r13)
	movq	%r12, %rdi
	callq	_eth_zero_addr
	movl	$1, (%r12)
	movq	_start_flow_index@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_MLX5_SET_CFG
	movq	_MLX5E_L2_GROUP3_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rbx), %esi
	leal	(%rax,%r15), %edx
	decl	%edx
	movq	%r14, %rdi
	callq	_MLX5_SET_CFG
	movl	16(%r13), %edi
	movq	%r14, %rsi
	callq	_mlx5_create_flow_group
	movq	(%r13), %rcx
	movq	8(%r13), %rdx
	movq	%rax, (%rdx,%rcx,8)
	movq	8(%r13), %rax
	movq	(%rax,%rcx,8), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
LBB0_8:
	movq	(%r13), %rax
	movq	8(%r13), %rcx
	movq	(%rcx,%rax,8), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	(%r13), %rax
	movq	8(%r13), %rcx
	movq	$0, (%rcx,%rax,8)
	movq	%r13, %rdi
	callq	_mlx5e_destroy_groups
	movq	%r14, %rdi
	callq	_kvfree
	movl	%ebx, %eax
	jmp	LBB0_9
LBB0_3:
	movq	8(%r13), %rdi
	callq	_kfree
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	incq	(%r13)
	movq	%r14, %rdi
	callq	_kvfree
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_create_flow_group_in,4,2       ## @create_flow_group_in
	.comm	_MLX5E_NUM_L2_GROUPS,4,2        ## @MLX5E_NUM_L2_GROUPS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_match_criteria,4,2             ## @match_criteria
	.comm	_fte_match_param,4,2            ## @fte_match_param
	.comm	_outer_headers,4,2              ## @outer_headers
	.comm	_start_flow_index,4,2           ## @start_flow_index
	.comm	_MLX5E_L2_GROUP1_SIZE,8,3       ## @MLX5E_L2_GROUP1_SIZE
	.comm	_end_flow_index,4,2             ## @end_flow_index
	.comm	_match_criteria_enable,4,2      ## @match_criteria_enable
	.comm	_MLX5_MATCH_OUTER_HEADERS,4,2   ## @MLX5_MATCH_OUTER_HEADERS
	.comm	_MLX5E_L2_GROUP2_SIZE,8,3       ## @MLX5E_L2_GROUP2_SIZE
	.comm	_MLX5E_L2_GROUP3_SIZE,8,3       ## @MLX5E_L2_GROUP3_SIZE
	.no_dead_strip	_mlx5e_create_l2_table_groups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_create_l2_table_groups
_mlx5e_create_l2_table_groups:          ; @mlx5e_create_l2_table_groups
	.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
Lloh0:
	adrp	x21, _create_flow_group_in@GOTPAGE
Lloh1:
	ldr	x21, [x21, _create_flow_group_in@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_MLX5_ST_SZ_BYTES
	mov	x20, x0
Lloh2:
	adrp	x8, _MLX5E_NUM_L2_GROUPS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MLX5E_NUM_L2_GROUPS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_kvzalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	ldr	w0, [x21]
Lloh7:
	adrp	x8, _match_criteria@GOTPAGE
Lloh8:
	ldr	x8, [x8, _match_criteria@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_MLX5_ADDR_OF
	mov	x1, x0
Lloh10:
	adrp	x8, _fte_match_param@GOTPAGE
Lloh11:
	ldr	x8, [x8, _fte_match_param@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _outer_headers@GOTPAGE
Lloh14:
	ldr	x8, [x8, _outer_headers@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	bl	_MLX5_ADDR_OF
	mov	x21, x0
Lloh16:
	adrp	x23, _start_flow_index@GOTPAGE
Lloh17:
	ldr	x23, [x23, _start_flow_index@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x20
	mov	w2, #0
	bl	_MLX5_SET_CFG
Lloh18:
	adrp	x8, _MLX5E_L2_GROUP1_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MLX5E_L2_GROUP1_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	x22, [x8]
Lloh21:
	adrp	x24, _end_flow_index@GOTPAGE
Lloh22:
	ldr	x24, [x24, _end_flow_index@GOTPAGEOFF]
	ldr	w1, [x24]
	sub	w2, w22, #1
	mov	x0, x20
	bl	_MLX5_SET_CFG
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_mlx5_create_flow_group
	ldp	x9, x8, [x19]
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x9]
	bl	_IS_ERR
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	mov	x0, x21
	bl	_eth_broadcast_addr
Lloh23:
	adrp	x8, _match_criteria_enable@GOTPAGE
Lloh24:
	ldr	x8, [x8, _match_criteria_enable@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _MLX5_MATCH_OUTER_HEADERS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MLX5_MATCH_OUTER_HEADERS@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_MLX5_SET_CFG
	ldr	w1, [x23]
	mov	x0, x20
	mov	x2, x22
	bl	_MLX5_SET_CFG
Lloh29:
	adrp	x8, _MLX5E_L2_GROUP2_SIZE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MLX5E_L2_GROUP2_SIZE@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	add	x22, x8, x22
	ldr	w1, [x24]
	sub	w2, w22, #1
	mov	x0, x20
	bl	_MLX5_SET_CFG
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_mlx5_create_flow_group
	ldp	x9, x8, [x19]
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x9]
	bl	_IS_ERR
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	mov	x0, x21
	bl	_eth_zero_addr
	mov	w8, #1
	str	w8, [x21]
	ldr	w1, [x23]
	mov	x0, x20
	mov	x2, x22
	bl	_MLX5_SET_CFG
Lloh32:
	adrp	x8, _MLX5E_L2_GROUP3_SIZE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MLX5E_L2_GROUP3_SIZE@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	add	w8, w8, w22
	ldr	w1, [x24]
	sub	w2, w8, #1
	mov	x0, x20
	bl	_MLX5_SET_CFG
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_mlx5_create_flow_group
	ldp	x9, x8, [x19]
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x9]
	bl	_IS_ERR
	cbz	x0, LBB0_9
LBB0_5:
	ldp	x9, x8, [x19]
	ldr	x0, [x8, x9, lsl #3]
	bl	_PTR_ERR
	mov	x21, x0
	ldp	x9, x8, [x19]
	str	xzr, [x8, x9, lsl #3]
	mov	x0, x19
	bl	_mlx5e_destroy_groups
	mov	x0, x20
	bl	_kvfree
	mov	x0, x21
	b	LBB0_8
LBB0_6:
	ldr	x0, [x19, #8]
	bl	_kfree
LBB0_7:
Lloh35:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
LBB0_9:
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	mov	x0, x20
	bl	_kvfree
	mov	w0, #0
	b	LBB0_8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_create_flow_group_in,4,2       ; @create_flow_group_in
	.comm	_MLX5E_NUM_L2_GROUPS,4,2        ; @MLX5E_NUM_L2_GROUPS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_match_criteria,4,2             ; @match_criteria
	.comm	_fte_match_param,4,2            ; @fte_match_param
	.comm	_outer_headers,4,2              ; @outer_headers
	.comm	_start_flow_index,4,2           ; @start_flow_index
	.comm	_MLX5E_L2_GROUP1_SIZE,8,3       ; @MLX5E_L2_GROUP1_SIZE
	.comm	_end_flow_index,4,2             ; @end_flow_index
	.comm	_match_criteria_enable,4,2      ; @match_criteria_enable
	.comm	_MLX5_MATCH_OUTER_HEADERS,4,2   ; @MLX5_MATCH_OUTER_HEADERS
	.comm	_MLX5E_L2_GROUP2_SIZE,8,3       ; @MLX5E_L2_GROUP2_SIZE
	.comm	_MLX5E_L2_GROUP3_SIZE,8,3       ; @MLX5E_L2_GROUP3_SIZE
	.no_dead_strip	_mlx5e_create_l2_table_groups
.subsections_via_symbols
