	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_rule_create_rule
_dr_rule_create_rule:                   ## @dr_rule_create_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, %r15
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movl	$0, -48(%rbp)
	leaq	-48(%rbp), %rdx
	callq	_dr_rule_verify
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	%rax, %r13
	movq	%rbx, 24(%rax)
	leaq	16(%rax), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_dr_rule_add_action_members
	testl	%eax, %eax
	jne	LBB0_13
## %bb.3:
	movl	(%r14), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.4:
	cmpl	$130, %eax
	je	LBB0_9
## %bb.5:
	cmpl	$129, %eax
	jne	LBB0_10
## %bb.6:
	addq	$4, %rbx
	movq	%r13, %rsi
	addq	$8, %rsi
	movq	%rbx, 8(%r13)
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	jmp	LBB0_8
LBB0_7:
	movq	%rbx, (%r13)
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r13, %rsi
LBB0_8:
	movq	%r12, %rcx
	movq	%r15, %r8
	callq	_dr_rule_create_rule_nic
	jmp	LBB0_11
LBB0_9:
	leaq	4(%rbx), %rax
	movq	%rax, 8(%r13)
	movq	%rbx, (%r13)
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_dr_rule_create_rule_fdb
	jmp	LBB0_11
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	testl	%eax, %eax
	je	LBB0_15
## %bb.12:
	movq	%r13, %rdi
	callq	_dr_rule_remove_action_members
LBB0_13:
	movq	%r13, %rdi
	callq	_kfree
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_mlx5dr_info
LBB0_14:
	xorl	%r13d, %r13d
LBB0_15:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed creating rule\n"

	.no_dead_strip	_dr_rule_create_rule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dr_rule_create_rule
_dr_rule_create_rule:                   ; @dr_rule_create_rule
	.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	x21, x3
	mov	x22, x2
	mov	x23, x0
	ldr	x8, [x0, #8]
	ldr	x19, [x8]
	str	wzr, [sp, #8]
	add	x2, sp, #8
	bl	_dr_rule_verify
	cbz	w0, LBB0_14
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_15
; %bb.2:
	str	x23, [x20, #24]
	add	x0, x20, #16
	bl	_INIT_LIST_HEAD
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_dr_rule_add_action_members
	cbnz	w0, LBB0_13
; %bb.3:
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.4:
	cmp	w8, #130
	b.eq	LBB0_9
; %bb.5:
	cmp	w8, #129
	b.ne	LBB0_10
; %bb.6:
	add	x8, x23, #4
	mov	x1, x20
	str	x8, [x1, #8]!
	add	x2, sp, #8
	mov	x0, x20
	b	LBB0_8
LBB0_7:
	str	x23, [x20]
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x20
LBB0_8:
	mov	x3, x22
	mov	x4, x21
	bl	_dr_rule_create_rule_nic
	b	LBB0_11
LBB0_9:
	add	x8, x23, #4
	stp	x23, x8, [x20]
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	bl	_dr_rule_create_rule_fdb
	b	LBB0_11
LBB0_10:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	cbz	w0, LBB0_15
; %bb.12:
	mov	x0, x20
	bl	_dr_rule_remove_action_members
LBB0_13:
	mov	x0, x20
	bl	_kfree
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mlx5dr_info
LBB0_14:
	mov	x20, #0
LBB0_15:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed creating rule\n"

	.no_dead_strip	_dr_rule_create_rule
.subsections_via_symbols
