	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_sniffer_rule
_create_sniffer_rule:                   ## @create_sniffer_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	_create_sniffer_rule.flow_attr(%rip), %rdx
	callq	_create_flow_rule
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_4
LBB0_2:
	leaq	_create_sniffer_rule.flow_attr(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rcx
	callq	_create_flow_rule
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_mlx5_del_flow_rules
	decl	(%r14)
	movq	%r15, %rdi
	callq	_kfree
LBB0_4:
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_5:
	addq	$4, %rbx
	movq	%r15, %rsi
	addq	$4, %rsi
	movq	%rbx, %rdi
	callq	_list_add
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @create_sniffer_rule.flow_attr
_create_sniffer_rule.flow_attr:
	.long	8                               ## 0x8
	.long	0                               ## 0x0

	.no_dead_strip	_create_sniffer_rule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_sniffer_rule
_create_sniffer_rule:                   ; @create_sniffer_rule
	.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	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
Lloh0:
	adrp	x2, _create_sniffer_rule.flow_attr@PAGE
Lloh1:
	add	x2, x2, _create_sniffer_rule.flow_attr@PAGEOFF
	bl	_create_flow_rule
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_4
LBB0_2:
Lloh2:
	adrp	x2, _create_sniffer_rule.flow_attr@PAGE
Lloh3:
	add	x2, x2, _create_sniffer_rule.flow_attr@PAGEOFF
	mov	x0, x23
	mov	x1, x22
	mov	x3, x21
	bl	_create_flow_rule
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_PTR_ERR
	mov	x21, x0
	ldr	w0, [x19]
	bl	_mlx5_del_flow_rules
	ldr	w8, [x20]
	sub	w8, w8, #1
	str	w8, [x20]
	mov	x0, x19
	bl	_kfree
LBB0_4:
	mov	x0, x21
	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_5:
	add	x0, x21, #4
	add	x1, x19, #4
	bl	_list_add
	mov	x0, x19
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @create_sniffer_rule.flow_attr
_create_sniffer_rule.flow_attr:
	.long	8                               ; 0x8
	.long	0                               ; 0x0

	.no_dead_strip	_create_sniffer_rule
.subsections_via_symbols
