	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_rule_fte
_add_rule_fte:                          ## @add_rule_fte
	.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	%r8d, %r13d
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	leaq	-44(%rbp), %rax
	leaq	-48(%rbp), %r8
	movq	%rdx, %rsi
	movl	%ecx, %edx
	movq	%rax, %rcx
	callq	_create_flow_handle
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	cmpl	$0, -48(%rbp)
	je	LBB0_10
## %bb.2:
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.3:
	movq	_MLX5_SET_FTE_MODIFY_ENABLE_MASK_ACTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, -44(%rbp)
LBB0_4:
	movl	(%r12), %esi
	callq	_fs_get_obj
	movq	%r12, %rdi
	callq	_find_root
	movq	_FS_FTE_STATUS_EXISTING@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	(%rax), %rsi
	testl	%ecx, (%rbx)
	je	LBB0_5
## %bb.6:
	movl	-44(%rbp), %ecx
	movq	%rax, %rdi
	movq	%r12, %rdx
	movq	%rbx, %r8
	callq	*8(%rsi)
	jmp	LBB0_7
LBB0_5:
	movq	%rax, %rdi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	*(%rsi)
LBB0_7:
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	(%r14), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_destroy_flow_handle
	movl	%r12d, %edi
	callq	_ERR_PTR
	movq	%rax, %r14
	jmp	LBB0_10
LBB0_8:
	movl	$1, 4(%rbx)
	movl	(%r13), %eax
	orl	%eax, (%rbx)
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_atomic_inc
LBB0_10:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_SET_FTE_MODIFY_ENABLE_MASK_ACTION,4,2 ## @MLX5_SET_FTE_MODIFY_ENABLE_MASK_ACTION
	.comm	_FS_FTE_STATUS_EXISTING,4,2     ## @FS_FTE_STATUS_EXISTING
	.no_dead_strip	_add_rule_fte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_rule_fte
_add_rule_fte:                          ; @add_rule_fte
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x4
	mov	x8, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	str	xzr, [sp, #8]
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x1, x2
	mov	x2, x8
	bl	_create_flow_handle
	mov	x19, x0
	bl	_IS_ERR
	ldr	w8, [sp, #8]
	cmp	x0, #0
	ccmp	w8, #0, #4, eq
	b.eq	LBB0_8
; %bb.1:
	cbz	w23, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _MLX5_SET_FTE_MODIFY_ENABLE_MASK_ACTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_SET_FTE_MODIFY_ENABLE_MASK_ACTION@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BIT
	ldr	w8, [sp, #12]
	orr	w8, w8, w0
	str	w8, [sp, #12]
LBB0_3:
	ldr	w1, [x22]
	bl	_fs_get_obj
	mov	x0, x22
	bl	_find_root
	ldr	w9, [x20]
Lloh3:
	adrp	x23, _FS_FTE_STATUS_EXISTING@GOTPAGE
Lloh4:
	ldr	x23, [x23, _FS_FTE_STATUS_EXISTING@GOTPAGEOFF]
	ldr	w10, [x23]
	ldr	x8, [x0]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.4:
	ldr	x8, [x8, #8]
	ldr	w3, [sp, #12]
	mov	x2, x22
	mov	x4, x20
	blr	x8
	mov	x22, x0
	cbz	w0, LBB0_7
LBB0_5:
	ldr	w3, [x19]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_destroy_flow_handle
	mov	x0, x22
	bl	_ERR_PTR
	mov	x19, x0
	b	LBB0_8
LBB0_6:
	ldr	x8, [x8]
	mov	x2, x22
	mov	x3, x20
	blr	x8
	mov	x22, x0
	cbnz	w0, LBB0_5
LBB0_7:
	mov	w8, #1
	ldr	w9, [x23]
	ldr	w10, [x20]
	orr	w9, w10, w9
	stp	w9, w8, [x20]
	add	x0, x20, #8
	bl	_atomic_inc
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_SET_FTE_MODIFY_ENABLE_MASK_ACTION,4,2 ; @MLX5_SET_FTE_MODIFY_ENABLE_MASK_ACTION
	.comm	_FS_FTE_STATUS_EXISTING,4,2     ; @FS_FTE_STATUS_EXISTING
	.no_dead_strip	_add_rule_fte
.subsections_via_symbols
