	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_generate_ttc_table_rules
_mlx5e_generate_ttc_table_rules:        ## @mlx5e_generate_ttc_table_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	8(%rdx), %r14
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rdx), %r15
	movq	_MLX5_FLOW_DESTINATION_TYPE_TIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_MLX5E_NUM_TT@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.1:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	16(%rax), %r13
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MLX5E_TT_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rax
	cmpq	%rcx, %r12
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(,%r12,4), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	8(%rcx), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_ttc_rules@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r12,8), %r8d
	movl	4(%rax,%r12,8), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	leaq	-56(%rbp), %rdx
	callq	_mlx5e_generate_ttc_rule
	movq	%rax, (%r14,%r12,8)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movq	_MLX5E_NUM_TT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r12
	jl	LBB0_2
LBB0_6:
	xorl	%r13d, %r13d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.7:
	movl	(%rbx), %edi
	callq	_mlx5e_tunnel_inner_ft_supported
	testl	%eax, %eax
	je	LBB0_15
## %bb.8:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	_MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_MLX5E_NUM_TUNNEL_TT@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_15
## %bb.9:
	xorl	%r12d, %r12d
	movq	_ttc_tunnel_rules@GOTPCREL(%rip), %r13
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r12
	movq	_MLX5E_NUM_TUNNEL_TT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r12
	jge	LBB0_13
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	(%r13), %rax
	movl	(%rax,%r12,8), %esi
	callq	_mlx5e_tunnel_proto_supported
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r13), %rax
	movl	(%rax,%r12,8), %r8d
	movl	4(%rax,%r12,8), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	leaq	-56(%rbp), %rdx
	callq	_mlx5e_generate_ttc_rule
	movq	%rax, (%r14,%r12,8)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
LBB0_14:
	movl	%r12d, %ebx
	movq	(%r14,%rbx,8), %rdi
	callq	_PTR_ERR
	movl	%eax, %r13d
	movq	$0, (%r14,%rbx,8)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_mlx5e_cleanup_ttc_rules
LBB0_15:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	xorl	%r13d, %r13d
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_FLOW_DESTINATION_TYPE_TIR,4,2 ## @MLX5_FLOW_DESTINATION_TYPE_TIR
	.comm	_MLX5E_NUM_TT,4,2               ## @MLX5E_NUM_TT
	.comm	_MLX5E_TT_ANY,4,2               ## @MLX5E_TT_ANY
	.comm	_ttc_rules,8,3                  ## @ttc_rules
	.comm	_MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE,4,2 ## @MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE
	.comm	_MLX5E_NUM_TUNNEL_TT,4,2        ## @MLX5E_NUM_TUNNEL_TT
	.comm	_ttc_tunnel_rules,8,3           ## @ttc_tunnel_rules
	.no_dead_strip	_mlx5e_generate_ttc_table_rules
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_generate_ttc_table_rules
_mlx5e_generate_ttc_table_rules:        ; @mlx5e_generate_ttc_table_rules
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x20, x0
	stp	x2, xzr, [sp, #8]               ; 8-byte Folded Spill
	ldp	x23, x21, [x2, #8]
Lloh0:
	adrp	x8, _MLX5_FLOW_DESTINATION_TYPE_TIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_FLOW_DESTINATION_TYPE_TIR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, wzr, [sp, #20]
Lloh3:
	adrp	x8, _MLX5E_NUM_TT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5E_NUM_TT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x26, #0
	mov	x27, #0
	mov	x24, #0
	add	x28, x22, #16
Lloh6:
	adrp	x19, _MLX5E_TT_ANY@GOTPAGE
Lloh7:
	ldr	x19, [x19, _MLX5E_TT_ANY@GOTPAGEOFF]
Lloh8:
	adrp	x25, _ttc_rules@GOTPAGE
Lloh9:
	ldr	x25, [x25, _ttc_rules@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19]
	mov	x8, x28
	cmp	x24, x9
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22, #8]
	add	x8, x8, x27
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	x8, [x25]
	add	x8, x8, x26
	ldp	w4, w3, [x8]
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x21
	bl	_mlx5e_generate_ttc_rule
	str	x0, [x23, x24, lsl #3]
	bl	_IS_ERR
	cbnz	x0, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #1
Lloh10:
	adrp	x8, _MLX5E_NUM_TT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MLX5E_NUM_TT@GOTPAGEOFF]
Lloh12:
	ldrsw	x8, [x8]
	add	x27, x27, #4
	add	x26, x26, #8
	cmp	x24, x8
	b.lt	LBB0_2
LBB0_6:
	ldr	x8, [x22]
	cbz	x8, LBB0_13
; %bb.7:
	ldr	w0, [x20]
	bl	_mlx5e_tunnel_inner_ft_supported
	cbz	w0, LBB0_13
; %bb.8:
	ldr	x26, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x23, [x26]
Lloh13:
	adrp	x8, _MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	x9, [x22]
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
Lloh16:
	adrp	x19, _MLX5E_NUM_TUNNEL_TT@GOTPAGE
Lloh17:
	ldr	x19, [x19, _MLX5E_NUM_TUNNEL_TT@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.9:
	mov	x22, #0
	mov	x24, #0
Lloh18:
	adrp	x25, _ttc_tunnel_rules@GOTPAGE
Lloh19:
	ldr	x25, [x25, _ttc_tunnel_rules@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x19]
	add	x22, x22, #8
	cmp	x24, x8
	b.ge	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldr	x8, [x25]
	ldr	w1, [x8, x22]
	bl	_mlx5e_tunnel_proto_supported
	cbz	w0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x25]
	add	x8, x8, x22
	ldp	w4, w3, [x8]
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x21
	bl	_mlx5e_generate_ttc_rule
	str	x0, [x23, x24, lsl #3]
	bl	_IS_ERR
	cbz	x0, LBB0_10
	b	LBB0_15
LBB0_13:
	mov	w20, #0
	b	LBB0_16
LBB0_14:
	ldr	x26, [sp, #8]                   ; 8-byte Folded Reload
LBB0_15:
	and	x8, x24, #0xffffffff
	lsl	x19, x8, #3
	ldr	x0, [x23, x19]
	bl	_PTR_ERR
	mov	x20, x0
	str	xzr, [x23, x19]
	mov	x0, x26
	bl	_mlx5e_cleanup_ttc_rules
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_FLOW_DESTINATION_TYPE_TIR,4,2 ; @MLX5_FLOW_DESTINATION_TYPE_TIR
	.comm	_MLX5E_NUM_TT,4,2               ; @MLX5E_NUM_TT
	.comm	_MLX5E_TT_ANY,4,2               ; @MLX5E_TT_ANY
	.comm	_ttc_rules,8,3                  ; @ttc_rules
	.comm	_MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE,4,2 ; @MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE
	.comm	_MLX5E_NUM_TUNNEL_TT,4,2        ; @MLX5E_NUM_TUNNEL_TT
	.comm	_ttc_tunnel_rules,8,3           ; @ttc_tunnel_rules
	.no_dead_strip	_mlx5e_generate_ttc_table_rules
.subsections_via_symbols
