	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_rule_fg
_add_rule_fg:                           ## @add_rule_fg
	.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	%r9, %r14
	movl	%r8d, %r15d
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rdi, %r13
	movq	%r9, %rdi
	callq	_check_conflicting_ftes
	testl	%eax, %eax
	je	LBB0_1
## %bb.9:
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_1:
	movl	4(%r14), %ecx
	movl	(%rbx), %eax
	movl	%ecx, %ebx
	movl	%eax, %ecx
	orl	%ebx, %ecx
	movl	%ecx, 4(%r14)
	xorl	%r8d, %r8d
	cmpl	%eax, %ebx
	setne	%r8b
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_add_rule_fte
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%ebx, 4(%r14)
LBB0_8:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_trace_mlx5_fs_set_fte
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_refcount_read
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	%r14, %rsi
	callq	_tree_add_node
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_trace_mlx5_fs_add_rule
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_rule_fg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_rule_fg
_add_rule_fg:                           ; @add_rule_fg
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x0
	mov	x0, x5
	bl	_check_conflicting_ftes
	cbz	w0, LBB0_2
; %bb.1:
	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
	b	_ERR_PTR
LBB0_2:
	ldr	w24, [x19, #4]
	ldr	w8, [x23]
	orr	w9, w8, w24
	str	w9, [x19, #4]
	cmp	w24, w8
	cset	w4, ne
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_add_rule_fte
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	str	w24, [x19, #4]
LBB0_4:
	mov	x0, x20
	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_5:
	mov	x0, x19
	mov	w1, #0
	bl	_trace_mlx5_fs_set_fte
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.6:
	mov	x21, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.ge	LBB0_4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x21, lsl #3]
	bl	_refcount_read
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20, #8]
	lsl	x22, x21, #3
	ldr	x0, [x8, x22]
	mov	x1, x19
	bl	_tree_add_node
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x22]
	bl	_trace_mlx5_fs_add_rule
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_rule_fg
.subsections_via_symbols
