	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _create_raw_flow_rule
__create_raw_flow_rule:                 ## @_create_raw_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	32(%rbp), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	24(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	16(%rbp), %r12
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$16, %edi
	callq	_kvzalloc
	movq	%rax, %r15
	movl	(%rbx), %esi
	movl	$24, %edi
	callq	_kzalloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	testq	%r15, %r15
	je	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	addq	$20, %rdi
	callq	_INIT_LIST_HEAD
	movl	12(%r15), %edi
	movq	%r12, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	movl	8(%r15), %edi
	movq	8(%r13), %rsi
	movl	(%r13), %edx
	callq	_memcpy
	movl	4(%r13), %eax
	movl	%eax, 4(%r15)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	callq	_mlx5_add_flow_rules
	movl	%eax, 16(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	16(%r14), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	testl	%ebx, %ebx
	jne	LBB0_6
	jmp	LBB0_8
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_8
LBB0_6:
	movq	%r14, %rdi
	callq	_kfree
	movq	%r15, %rdi
	callq	_kvfree
	movl	%ebx, %edi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_7:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	8(%rax)
	movq	%rax, 8(%r14)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%r14)
	movq	%rbx, (%rax)
LBB0_8:
	movq	%r15, %rdi
	callq	_kvfree
	movq	%r14, %rax
	addq	$56, %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	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	__create_raw_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_raw_flow_rule
__create_raw_flow_rule:                 ; @_create_raw_flow_rule
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x7
	mov	x23, x6
	stp	x0, x5, [sp]                    ; 16-byte Folded Spill
	mov	x27, x4
	mov	x28, x3
	mov	x25, x2
	mov	x21, x1
	ldr	w26, [x29, #16]
	ldr	x24, [x1]
Lloh0:
	adrp	x20, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w0, #16
	bl	_kvzalloc
	mov	x19, x0
	ldr	w1, [x20]
	mov	w0, #24
	bl	_kzalloc
	mov	x20, x0
	cmp	x0, #0
	ccmp	x19, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w21, w8
	cbnz	w21, LBB0_4
	b	LBB0_6
LBB0_2:
	add	x0, x20, #20
	bl	_INIT_LIST_HEAD
	ldr	w0, [x19, #12]
	mov	x1, x23
	mov	x2, x22
	bl	_memcpy
	ldr	w0, [x19, #8]
	ldr	x1, [x28, #8]
	ldr	w2, [x28]
	bl	_memcpy
	ldr	w8, [x28, #4]
	str	w8, [x19, #4]
	ldr	w8, [x27]
	str	w8, [x19]
	mov	x0, x24
	mov	x1, x19
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	mov	x3, x25
	mov	x4, x26
	bl	_mlx5_add_flow_rules
	str	w0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x20, #16]
	bl	_PTR_ERR
	mov	x21, x0
	cbz	w21, LBB0_6
LBB0_4:
	mov	x0, x20
	bl	_kfree
	mov	x0, x19
	bl	_kvfree
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_ERR_PTR
LBB0_5:
	ldr	w8, [x21, #8]
	add	w8, w8, #1
	str	w8, [x21, #8]
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	stp	x8, x21, [x20]
	str	x24, [x21]
LBB0_6:
	mov	x0, x19
	bl	_kvfree
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	__create_raw_flow_rule
.subsections_via_symbols
