	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_fl_commit_mangle
_nfp_fl_commit_mangle:                  ## @nfp_fl_commit_mangle
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %r12
	callq	_flow_cls_offload_flow_rule
	movq	%rax, %rbx
	movq	_FLOW_DISSECTOR_KEY_BASIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_flow_rule_match_key
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_flow_rule_match_basic
	movq	-64(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpq	$0, 48(%r13)
	je	LBB0_4
LBB0_5:
	leaq	48(%r13), %rsi
	movl	$8, %ebx
	movl	$8, %edx
	movq	%r12, %rdi
	callq	_memcpy
	addl	$8, (%r15)
	jmp	LBB0_6
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpq	$0, 48(%r13)
	jne	LBB0_5
LBB0_4:
	xorl	%ebx, %ebx
LBB0_6:
	cmpq	$0, 40(%r13)
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.7:
	leaq	40(%r13), %rsi
	addq	%rbx, %r12
	movl	$8, %ebx
	movl	$8, %edx
	movq	%r12, %rdi
	callq	_memcpy
	addl	$8, (%r15)
	movq	_TCA_CSUM_UPDATE_FLAG_IPV4HDR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_nfp_fl_csum_l4_to_flag
	orl	%r14d, %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	orl	%eax, (%r14)
LBB0_8:
	cmpq	$0, 32(%r13)
	je	LBB0_10
## %bb.9:
	leaq	32(%r13), %rsi
	addq	%rbx, %r12
	movl	$8, %ebx
	movl	$8, %edx
	movq	%r12, %rdi
	callq	_memcpy
	addl	$8, (%r15)
	movq	_TCA_CSUM_UPDATE_FLAG_IPV4HDR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_nfp_fl_csum_l4_to_flag
	orl	%r14d, %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	orl	%eax, (%r14)
LBB0_10:
	cmpq	$0, 24(%r13)
	je	LBB0_12
## %bb.11:
	leaq	24(%r13), %rsi
	addq	%rbx, %r12
	movl	$8, %ebx
	movl	$8, %edx
	movq	%r12, %rdi
	callq	_memcpy
	addl	$8, (%r15)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_nfp_fl_csum_l4_to_flag
	orl	%eax, (%r14)
LBB0_12:
	leaq	8(%r13), %rsi
	cmpq	$0, 16(%r13)
	movq	8(%r13), %rax
	je	LBB0_16
## %bb.13:
	leaq	16(%r13), %r14
	addq	%rbx, %r12
	movl	$8, %edx
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	callq	_memcpy
	addl	$8, (%r15)
	leaq	8(%r12), %rdi
	movl	$8, %edx
LBB0_15:
	movq	%r14, %rsi
	callq	_memcpy
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_16:
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	addq	%rbx, %r12
	movl	$8, %edx
	movq	%r12, %rdi
	callq	_memcpy
LBB0_18:
	addl	$8, (%r15)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_nfp_fl_csum_l4_to_flag
	orl	%eax, (%r14)
	movl	$8, %ebx
LBB0_19:
	cmpq	$0, (%r13)
	je	LBB0_21
## %bb.20:
	addq	%rbx, %r12
	movl	$8, %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_memcpy
	addl	$8, (%r15)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_nfp_fl_csum_l4_to_flag
	orl	%eax, (%r14)
LBB0_21:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLOW_DISSECTOR_KEY_BASIC,4,2   ## @FLOW_DISSECTOR_KEY_BASIC
	.comm	_TCA_CSUM_UPDATE_FLAG_IPV4HDR,4,2 ## @TCA_CSUM_UPDATE_FLAG_IPV4HDR
	.no_dead_strip	_nfp_fl_commit_mangle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_fl_commit_mangle
_nfp_fl_commit_mangle:                  ; @nfp_fl_commit_mangle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	bl	_flow_cls_offload_flow_rule
	mov	x23, x0
Lloh0:
	adrp	x8, _FLOW_DISSECTOR_KEY_BASIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLOW_DISSECTOR_KEY_BASIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_flow_rule_match_key
	cbz	x0, LBB0_2
; %bb.1:
	add	x1, sp, #8
	mov	x0, x23
	bl	_flow_rule_match_basic
	ldr	x8, [sp, #8]
	ldr	w23, [x8]
	b	LBB0_3
LBB0_2:
	mov	w23, #0
LBB0_3:
	mov	x1, x21
	ldr	x8, [x1, #48]!
	cbz	x8, LBB0_5
; %bb.4:
	mov	w25, #8
	mov	x0, x22
	mov	w2, #8
	bl	_memcpy
	ldr	w8, [x20]
	add	w8, w8, #8
	str	w8, [x20]
	b	LBB0_6
LBB0_5:
	mov	x25, #0
LBB0_6:
	mov	x1, x21
	ldr	x8, [x1, #40]!
Lloh3:
	adrp	x24, _TCA_CSUM_UPDATE_FLAG_IPV4HDR@GOTPAGE
Lloh4:
	ldr	x24, [x24, _TCA_CSUM_UPDATE_FLAG_IPV4HDR@GOTPAGEOFF]
	cbz	x8, LBB0_8
; %bb.7:
	add	x22, x22, x25
	mov	w25, #8
	mov	x0, x22
	mov	w2, #8
	bl	_memcpy
	ldr	w8, [x20]
	add	w8, w8, #8
	str	w8, [x20]
	ldr	w26, [x24]
	mov	x0, x23
	bl	_nfp_fl_csum_l4_to_flag
	orr	w8, w0, w26
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_8:
	mov	x1, x21
	ldr	x8, [x1, #32]!
	cbz	x8, LBB0_10
; %bb.9:
	add	x22, x22, x25
	mov	w25, #8
	mov	x0, x22
	mov	w2, #8
	bl	_memcpy
	ldr	w8, [x20]
	add	w8, w8, #8
	str	w8, [x20]
	ldr	w24, [x24]
	mov	x0, x23
	bl	_nfp_fl_csum_l4_to_flag
	orr	w8, w0, w24
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_10:
	mov	x1, x21
	ldr	x8, [x1, #24]!
	cbz	x8, LBB0_12
; %bb.11:
	add	x22, x22, x25
	mov	w25, #8
	mov	x0, x22
	mov	w2, #8
	bl	_memcpy
	ldr	w8, [x20]
	add	w8, w8, #8
	str	w8, [x20]
	mov	x0, x23
	bl	_nfp_fl_csum_l4_to_flag
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
LBB0_12:
	mov	x24, x21
	ldr	x9, [x24, #16]!
	mov	x1, x24
	ldr	x8, [x1, #-8]!
	cbz	x9, LBB0_16
; %bb.13:
	add	x22, x22, x25
	mov	x0, x22
	cbz	x8, LBB0_15
; %bb.14:
	mov	w2, #8
	bl	_memcpy
	ldr	w8, [x20]
	add	w8, w8, #8
	str	w8, [x20]
	add	x0, x22, #8
LBB0_15:
	mov	x1, x24
	b	LBB0_18
LBB0_16:
	cbz	x8, LBB0_19
; %bb.17:
	add	x22, x22, x25
	mov	x0, x22
LBB0_18:
	mov	w2, #8
	bl	_memcpy
	ldr	w8, [x20]
	add	w8, w8, #8
	str	w8, [x20]
	mov	x0, x23
	bl	_nfp_fl_csum_l4_to_flag
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	mov	w25, #8
LBB0_19:
	ldr	x8, [x21]
	cbz	x8, LBB0_21
; %bb.20:
	add	x0, x22, x25
	mov	x1, x21
	mov	w2, #8
	bl	_memcpy
	ldr	w8, [x20]
	add	w8, w8, #8
	str	w8, [x20]
	mov	x0, x23
	bl	_nfp_fl_csum_l4_to_flag
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
LBB0_21:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FLOW_DISSECTOR_KEY_BASIC,4,2   ; @FLOW_DISSECTOR_KEY_BASIC
	.comm	_TCA_CSUM_UPDATE_FLAG_IPV4HDR,4,2 ; @TCA_CSUM_UPDATE_FLAG_IPV4HDR
	.no_dead_strip	_nfp_fl_commit_mangle
.subsections_via_symbols
