	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _create_flow_rule
__create_flow_rule:                     ## @_create_flow_rule
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -144(%rbp)                 ## 8-byte Spill
	movl	%r8d, -108(%rbp)                ## 4-byte Spill
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rsi), %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -64(%rbp)
	movq	_IB_FLOW_ATTR_FLAGS_EGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	(%rdx), %ebx
	movl	(%rdi), %edi
	movq	%rdx, %rsi
	callq	_is_valid_attr
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	cmpq	$0, 16(%r15)
	je	LBB0_5
## %bb.4:
	testl	%ebx, %ebx
	je	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_54
## %bb.2:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_5:
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	$16, %edi
	callq	_kvzalloc
	movq	%rax, %r12
	movl	(%r14), %esi
	movl	$32, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	testq	%r12, %r12
	je	LBB0_7
## %bb.8:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %r15
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	leaq	28(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	xorl	%r14d, %r14d
	movl	$0, %eax
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:
	leaq	-64(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	movl	$1, %eax
LBB0_10:
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	cmpl	$0, 4(%r13)
	je	LBB0_15
## %bb.11:
	leaq	16(%r13), %rbx
	xorl	%r9d, %r9d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	leaq	-96(%rbp), %r8
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_parse_flow_attr
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movslq	(%rbx), %r9
	addq	%r9, %rbx
	incl	%r12d
	cmpl	4(%r13), %r12d
	jb	LBB0_12
LBB0_15:
	movq	%r13, %rdi
	callq	_flow_is_multicast_only
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	-108(%rbp), %edx                ## 4-byte Reload
	callq	_set_underlay_qp
LBB0_17:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	cmpq	$0, 16(%rdi)
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movl	-76(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_20
## %bb.18:
	movq	8(%rdi), %rax
	movslq	8(%r13), %rcx
	movq	-8(%rax,%rcx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_39
## %bb.19:
	movq	%r15, %rsi
	callq	_mlx5_ib_set_rule_source_port
LBB0_20:
	movl	8(%r15), %edi
	callq	_get_match_criteria_enable
	movl	%eax, 12(%r15)
	testl	%r12d, %r12d
	je	LBB0_22
## %bb.21:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	-96(%rbp), %rdx
	movq	%r15, %rsi
	movl	%r12d, %ecx
	callq	_is_valid_spec
	testl	%eax, %eax
	je	LBB0_39
LBB0_22:
	movl	-96(%rbp), %eax
	movq	_MLX5_FLOW_CONTEXT_ACTION_COUNT@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_23
## %bb.24:
	movq	-88(%rbp), %rdi
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	callq	_flow_counters_set_data
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_44
## %bb.25:
	movq	-88(%rbp), %rdi
	callq	_to_mcounters
	movq	-88(%rbp), %rcx
	movq	%rcx, (%rbx)
	movq	_MLX5_FLOW_DESTINATION_TYPE_COUNTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	-104(%rbp), %r12d               ## 4-byte Reload
	movl	%r12d, %r14d
	movl	%ecx, -60(%rbp,%r14,8)
	movl	(%rax), %edi
	callq	_mlx5_fc_id
	movl	%r12d, %r8d
	movl	-76(%rbp), %r12d                ## 4-byte Reload
	movl	%eax, -64(%rbp,%r14,8)
	incl	%r8d
	xorl	%r14d, %r14d
	movl	-96(%rbp), %eax
	movq	_MLX5_FLOW_CONTEXT_ACTION_COUNT@GOTPCREL(%rip), %rsi
	jmp	LBB0_26
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_43:
	movq	%r12, %r15
	jmp	LBB0_44
LBB0_13:
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_44
LBB0_23:
	movl	-104(%rbp), %r8d                ## 4-byte Reload
LBB0_26:
	movq	_MLX5_FLOW_CONTEXT_ACTION_DROP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_28
## %bb.27:
	xorl	%edx, %edx
	andl	(%rsi), %eax
	cmovel	%eax, %r8d
	leaq	-64(%rbp), %rcx
	cmoveq	%rdx, %rcx
	jmp	LBB0_35
LBB0_28:
	testl	%r12d, %r12d
	je	LBB0_30
## %bb.29:
	leaq	-64(%rbp), %rcx
	movq	_MLX5_FLOW_CONTEXT_ACTION_ALLOW@GOTPCREL(%rip), %rdx
	jmp	LBB0_34
LBB0_30:
	testl	%r8d, %r8d
	jne	LBB0_31
## %bb.32:
	movq	_MLX5_FLOW_CONTEXT_ACTION_FWD_NEXT_PRIO@GOTPCREL(%rip), %rdx
	jmp	LBB0_33
LBB0_31:
	movq	_MLX5_FLOW_CONTEXT_ACTION_FWD_DEST@GOTPCREL(%rip), %rdx
LBB0_33:
	leaq	-64(%rbp), %rcx
LBB0_34:
	orl	(%rdx), %eax
	movl	%eax, -96(%rbp)
LBB0_35:
	movq	_FLOW_CONTEXT_HAS_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_40
## %bb.36:
	movl	12(%r13), %eax
	movq	_IB_FLOW_ATTR_ALL_DEFAULT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_38
## %bb.37:
	movq	_IB_FLOW_ATTR_MC_DEFAULT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_38
LBB0_40:
	leaq	-96(%rbp), %rdx
	movq	%r15, %rsi
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rsi, %r12
	callq	_mlx5_add_flow_rules
	movl	%eax, 24(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_42
## %bb.41:
	movl	24(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r14d
	jmp	LBB0_43
LBB0_38:
	movl	4(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_mlx5_ib_warn
LBB0_39:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_44:
	testl	%r14d, %r14d
	je	LBB0_50
## %bb.45:
	testq	%rbx, %rbx
	je	LBB0_50
## %bb.46:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_49
## %bb.47:
	callq	_atomic_read
	cmpl	$1, %eax
	jne	LBB0_49
## %bb.48:
	movq	(%rbx), %rdi
	callq	_counters_clear_description
LBB0_49:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_50:
	movq	%r15, %rdi
	callq	_kvfree
	testl	%r14d, %r14d
	je	LBB0_52
## %bb.51:
	movl	%r14d, %edi
	callq	_ERR_PTR
	movq	%rax, %rbx
LBB0_52:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_54
## %bb.53:
	movq	%rbx, %rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	incl	8(%rcx)
	movq	%rcx, 16(%rbx)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movq	%r15, (%rcx)
	jmp	LBB0_43
LBB0_54:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_FLOW_ATTR_FLAGS_EGRESS,4,2  ## @IB_FLOW_ATTR_FLAGS_EGRESS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MLX5_FLOW_CONTEXT_ACTION_COUNT,4,2 ## @MLX5_FLOW_CONTEXT_ACTION_COUNT
	.comm	_MLX5_FLOW_DESTINATION_TYPE_COUNTER,4,2 ## @MLX5_FLOW_DESTINATION_TYPE_COUNTER
	.comm	_MLX5_FLOW_CONTEXT_ACTION_DROP,4,2 ## @MLX5_FLOW_CONTEXT_ACTION_DROP
	.comm	_MLX5_FLOW_CONTEXT_ACTION_ALLOW,4,2 ## @MLX5_FLOW_CONTEXT_ACTION_ALLOW
	.comm	_MLX5_FLOW_CONTEXT_ACTION_FWD_DEST,4,2 ## @MLX5_FLOW_CONTEXT_ACTION_FWD_DEST
	.comm	_MLX5_FLOW_CONTEXT_ACTION_FWD_NEXT_PRIO,4,2 ## @MLX5_FLOW_CONTEXT_ACTION_FWD_NEXT_PRIO
	.comm	_FLOW_CONTEXT_HAS_TAG,4,2       ## @FLOW_CONTEXT_HAS_TAG
	.comm	_IB_FLOW_ATTR_ALL_DEFAULT,4,2   ## @IB_FLOW_ATTR_ALL_DEFAULT
	.comm	_IB_FLOW_ATTR_MC_DEFAULT,4,2    ## @IB_FLOW_ATTR_MC_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Flow tag %u and attribute type %x isn't allowed in leftovers\n"

	.no_dead_strip	__create_flow_rule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _create_flow_rule
__create_flow_rule:                     ; @_create_flow_rule
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x27, x5
	mov	x26, x4
	mov	x25, x3
	mov	x23, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	x28, [x1]
	stp	xzr, xzr, [sp, #24]
	stp	xzr, xzr, [sp, #40]
	mov	x24, x2
	ldr	w19, [x24], #16
Lloh3:
	adrp	x8, _IB_FLOW_ATTR_FLAGS_EGRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_FLOW_ATTR_FLAGS_EGRESS@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	ldr	w0, [x0]
	mov	x1, x2
	bl	_is_valid_attr
	cbz	w0, LBB0_3
; %bb.1:
	str	x27, [sp, #16]                  ; 8-byte Folded Spill
	and	w27, w20, w19
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_5
; %bb.2:
	cbz	w27, LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x9, [sp, #56]
Lloh9:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_50
; %bb.4:
	neg	w0, w8
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_ERR_PTR
LBB0_5:
Lloh12:
	adrp	x19, _GFP_KERNEL@GOTPAGE
Lloh13:
	ldr	x19, [x19, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x19]
	mov	w0, #16
	bl	_kvzalloc
	mov	x20, x0
	ldr	w1, [x19]
	mov	w0, #32
	bl	_kzalloc
	mov	x19, x0
	cmp	x0, #0
	ccmp	x20, #0, #4, ne
	b.ne	LBB0_7
; %bb.6:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_39
LBB0_7:
	add	x0, x19, #28
	bl	_INIT_LIST_HEAD
	cbz	x25, LBB0_9
; %bb.8:
	add	x0, sp, #40
	mov	x1, x25
	mov	w2, #8
	bl	_memcpy
	mov	w8, #1
	b	LBB0_10
LBB0_9:
	mov	w8, #0
LBB0_10:
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	str	x28, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w8, [x23, #4]
	cbz	w8, LBB0_14
; %bb.11:
	mov	w5, #0
	mov	w28, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	add	x4, sp, #24
	mov	x1, x20
	mov	x2, x24
	mov	x3, x23
                                        ; kill: def $w5 killed $w5 killed $x5
	bl	_parse_flow_attr
	mov	x25, x0
	tbnz	w0, #31, LBB0_40
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldrsw	x5, [x24]
	add	x24, x24, x5
	add	w28, w28, #1
	ldr	w8, [x23, #4]
	cmp	w28, w8
	b.lo	LBB0_12
	b	LBB0_15
LBB0_14:
	mov	w25, #0
LBB0_15:
	mov	x0, x23
	bl	_flow_is_multicast_only
	cbnz	w0, LBB0_17
; %bb.16:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x26
	bl	_set_underlay_qp
LBB0_17:
	ldr	x8, [x21, #16]
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_20
; %bb.18:
	ldr	x8, [x21, #8]
	ldrsw	x9, [x23, #8]
	add	x8, x8, x9, lsl #3
	ldur	x2, [x8, #-8]
	cbz	x2, LBB0_38
; %bb.19:
	mov	x0, x21
	mov	x1, x20
	bl	_mlx5_ib_set_rule_source_port
LBB0_20:
	ldr	w0, [x20, #8]
	bl	_get_match_criteria_enable
	str	w0, [x20, #12]
	cbz	w27, LBB0_22
; %bb.21:
	ldr	w0, [x21]
	add	x2, sp, #24
	mov	x1, x20
	mov	x3, x27
	bl	_is_valid_spec
	cbz	w0, LBB0_38
LBB0_22:
	ldr	w8, [sp, #24]
Lloh16:
	adrp	x24, _MLX5_FLOW_CONTEXT_ACTION_COUNT@GOTPAGE
Lloh17:
	ldr	x24, [x24, _MLX5_FLOW_CONTEXT_ACTION_COUNT@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.23:
	ldr	x0, [sp, #32]
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_flow_counters_set_data
	mov	x25, x0
	cbnz	w0, LBB0_40
; %bb.24:
	ldr	x0, [sp, #32]
	bl	_to_mcounters
	ldr	x8, [sp, #32]
Lloh18:
	adrp	x9, _MLX5_FLOW_DESTINATION_TYPE_COUNTER@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MLX5_FLOW_DESTINATION_TYPE_COUNTER@GOTPAGEOFF]
	str	x8, [x19]
Lloh20:
	ldr	w8, [x9]
	add	x9, sp, #40
	ldr	w25, [sp, #4]                   ; 4-byte Folded Reload
	add	x26, x9, w25, uxtw #3
	str	w8, [x26, #4]
	ldr	w0, [x0]
	bl	_mlx5_fc_id
	mov	x4, x25
	mov	w25, #0
	str	w0, [x26]
	add	w4, w4, #1
	ldr	w8, [sp, #24]
	b	LBB0_26
LBB0_25:
	ldr	w4, [sp, #4]                    ; 4-byte Folded Reload
LBB0_26:
Lloh21:
	adrp	x9, _MLX5_FLOW_CONTEXT_ACTION_DROP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MLX5_FLOW_CONTEXT_ACTION_DROP@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.27:
	ldr	w9, [x24]
	tst	w9, w8
	csel	w4, wzr, w4, eq
	add	x8, sp, #40
	csel	x3, xzr, x8, eq
	b	LBB0_32
LBB0_28:
	cbz	w27, LBB0_30
; %bb.29:
	add	x3, sp, #40
Lloh24:
	adrp	x9, _MLX5_FLOW_CONTEXT_ACTION_ALLOW@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MLX5_FLOW_CONTEXT_ACTION_ALLOW@GOTPAGEOFF]
	b	LBB0_31
LBB0_30:
Lloh26:
	adrp	x9, _MLX5_FLOW_CONTEXT_ACTION_FWD_DEST@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MLX5_FLOW_CONTEXT_ACTION_FWD_DEST@GOTPAGEOFF]
Lloh28:
	adrp	x10, _MLX5_FLOW_CONTEXT_ACTION_FWD_NEXT_PRIO@GOTPAGE
Lloh29:
	ldr	x10, [x10, _MLX5_FLOW_CONTEXT_ACTION_FWD_NEXT_PRIO@GOTPAGEOFF]
	add	x3, sp, #40
	cmp	w4, #0
	csel	x9, x10, x9, eq
LBB0_31:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #24]
LBB0_32:
	ldr	w8, [x20]
Lloh30:
	adrp	x9, _FLOW_CONTEXT_HAS_TAG@GOTPAGE
Lloh31:
	ldr	x9, [x9, _FLOW_CONTEXT_HAS_TAG@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.33:
	ldr	w8, [x23, #12]
Lloh33:
	adrp	x9, _IB_FLOW_ATTR_ALL_DEFAULT@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IB_FLOW_ATTR_ALL_DEFAULT@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_37
; %bb.34:
Lloh36:
	adrp	x9, _IB_FLOW_ATTR_MC_DEFAULT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _IB_FLOW_ATTR_MC_DEFAULT@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_37
LBB0_35:
	add	x2, sp, #24
	mov	x0, x28
	mov	x1, x20
	bl	_mlx5_add_flow_rules
	str	w0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_49
; %bb.36:
	ldr	w0, [x19, #24]
	bl	_PTR_ERR
	mov	x25, x0
	b	LBB0_40
LBB0_37:
	ldr	w2, [x20, #4]
Lloh39:
	adrp	x1, l_.str@PAGE
Lloh40:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x3, x8
	bl	_mlx5_ib_warn
LBB0_38:
Lloh41:
	adrp	x8, _EINVAL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_39:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_40:
	cmp	w25, #0
	ccmp	x19, #0, #4, ne
	b.eq	LBB0_45
; %bb.41:
	ldr	x0, [x19]
	cbz	x0, LBB0_44
; %bb.42:
	bl	_atomic_read
	cmp	w0, #1
	b.ne	LBB0_44
; %bb.43:
	ldr	x0, [x19]
	bl	_counters_clear_description
LBB0_44:
	mov	x0, x19
	bl	_kfree
LBB0_45:
	mov	x0, x20
	bl	_kvfree
	cbz	w25, LBB0_47
; %bb.46:
	mov	x0, x25
	bl	_ERR_PTR
	mov	x19, x0
LBB0_47:
	ldr	x8, [sp, #56]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_50
; %bb.48:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_49:
	ldr	w8, [x22, #8]
	add	w8, w8, #1
	str	w8, [x22, #8]
	stp	x21, x22, [x19, #8]
	str	x28, [x22]
	b	LBB0_40
LBB0_50:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_FLOW_ATTR_FLAGS_EGRESS,4,2  ; @IB_FLOW_ATTR_FLAGS_EGRESS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MLX5_FLOW_CONTEXT_ACTION_COUNT,4,2 ; @MLX5_FLOW_CONTEXT_ACTION_COUNT
	.comm	_MLX5_FLOW_DESTINATION_TYPE_COUNTER,4,2 ; @MLX5_FLOW_DESTINATION_TYPE_COUNTER
	.comm	_MLX5_FLOW_CONTEXT_ACTION_DROP,4,2 ; @MLX5_FLOW_CONTEXT_ACTION_DROP
	.comm	_MLX5_FLOW_CONTEXT_ACTION_ALLOW,4,2 ; @MLX5_FLOW_CONTEXT_ACTION_ALLOW
	.comm	_MLX5_FLOW_CONTEXT_ACTION_FWD_DEST,4,2 ; @MLX5_FLOW_CONTEXT_ACTION_FWD_DEST
	.comm	_MLX5_FLOW_CONTEXT_ACTION_FWD_NEXT_PRIO,4,2 ; @MLX5_FLOW_CONTEXT_ACTION_FWD_NEXT_PRIO
	.comm	_FLOW_CONTEXT_HAS_TAG,4,2       ; @FLOW_CONTEXT_HAS_TAG
	.comm	_IB_FLOW_ATTR_ALL_DEFAULT,4,2   ; @IB_FLOW_ATTR_ALL_DEFAULT
	.comm	_IB_FLOW_ATTR_MC_DEFAULT,4,2    ; @IB_FLOW_ATTR_MC_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Flow tag %u and attribute type %x isn't allowed in leftovers\n"

	.no_dead_strip	__create_flow_rule
.subsections_via_symbols
