	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_flower_compile_flow_match  ## -- Begin function nfp_flower_compile_flow_match
	.p2align	4, 0x90
_nfp_flower_compile_flow_match:         ## @nfp_flower_compile_flow_match
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -56(%rbp)                 ## 4-byte Spill
	movq	%r8, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rsi
	callq	_nfp_flower_get_port_id_from_netdev
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	16(%rbx), %rdi
	movl	8(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	8(%rbx), %rdi
	movl	8(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	8(%rbx), %r12
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %r13
	movl	(%r15), %ecx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdx
	movq	%r15, %rbx
	callq	_nfp_flower_compile_meta_tci
	leaq	16(%r13), %r14
	leaq	16(%r12), %r15
	movq	_NFP_FLOWER_LAYER_EXT_META@GOTPCREL(%rip), %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_nfp_flower_compile_ext_meta
	movl	4(%rbx), %esi
	movq	%r15, %rdi
	callq	_nfp_flower_compile_ext_meta
	addq	$32, %r13
	addq	$32, %r12
	movq	%r13, %r14
	movq	%r12, %r15
LBB0_2:
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	movq	16(%rbp), %r12
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	%r13d, %ecx
	movq	%r12, %r8
	callq	_nfp_flower_compile_port
	testl	%eax, %eax
	jne	LBB0_20
## %bb.3:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	movl	%r13d, %ecx
	movq	%r12, %r8
	callq	_nfp_flower_compile_port
	testl	%eax, %eax
	jne	LBB0_20
## %bb.4:
	leaq	16(%r14), %r12
	leaq	16(%r15), %r13
	movq	_NFP_FLOWER_LAYER_MAC@GOTPCREL(%rip), %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_nfp_flower_compile_mac
	addq	$32, %r14
	addq	$32, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	%r14, %r12
	movq	%r15, %r13
LBB0_6:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	_NFP_FLOWER_LAYER_TP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.8:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_nfp_flower_compile_tport
	addq	$16, %r12
	addq	$16, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_7:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_9:
	movq	_NFP_FLOWER_LAYER_IPV4@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_nfp_flower_compile_ipv4
	addq	$16, %r12
	addq	$16, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
LBB0_11:
	movq	_NFP_FLOWER_LAYER_IPV6@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_nfp_flower_compile_ipv6
	addq	$16, %r12
	addq	$16, %r13
LBB0_13:
	movq	_NFP_FLOWER_LAYER2_GRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, 4(%rcx)
	je	LBB0_15
## %bb.14:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_nfp_flower_compile_ipv4_gre_tun
	movq	(%r12), %rsi
	addq	$32, %r12
	addq	$32, %r13
	movq	%rsi, (%r15)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_nfp_tunnel_add_ipv4_off
LBB0_15:
	movq	_NFP_FLOWER_LAYER_VXLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	jne	LBB0_17
## %bb.16:
	movq	_NFP_FLOWER_LAYER2_GENEVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, 4(%rcx)
	je	LBB0_19
LBB0_17:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_nfp_flower_compile_ipv4_udp_tun
	movq	(%r12), %rsi
	movq	%rsi, (%r15)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_nfp_tunnel_add_ipv4_off
	movq	_NFP_FLOWER_LAYER2_GENEVE_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, 4(%rcx)
	je	LBB0_19
## %bb.18:
	addq	$32, %r13
	addq	$32, %r12
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_nfp_flower_compile_geneve_opt
	testl	%eax, %eax
	jne	LBB0_20
LBB0_19:
	xorl	%eax, %eax
LBB0_20:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_FLOWER_LAYER_EXT_META,4,2  ## @NFP_FLOWER_LAYER_EXT_META
	.comm	_NFP_FLOWER_LAYER_MAC,4,2       ## @NFP_FLOWER_LAYER_MAC
	.comm	_NFP_FLOWER_LAYER_TP,4,2        ## @NFP_FLOWER_LAYER_TP
	.comm	_NFP_FLOWER_LAYER_IPV4,4,2      ## @NFP_FLOWER_LAYER_IPV4
	.comm	_NFP_FLOWER_LAYER_IPV6,4,2      ## @NFP_FLOWER_LAYER_IPV6
	.comm	_NFP_FLOWER_LAYER2_GRE,4,2      ## @NFP_FLOWER_LAYER2_GRE
	.comm	_NFP_FLOWER_LAYER_VXLAN,4,2     ## @NFP_FLOWER_LAYER_VXLAN
	.comm	_NFP_FLOWER_LAYER2_GENEVE,4,2   ## @NFP_FLOWER_LAYER2_GENEVE
	.comm	_NFP_FLOWER_LAYER2_GENEVE_OP,4,2 ## @NFP_FLOWER_LAYER2_GENEVE_OP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_flower_compile_flow_match  ; -- Begin function nfp_flower_compile_flow_match
	.p2align	2
_nfp_flower_compile_flow_match:         ; @nfp_flower_compile_flow_match
	.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	x23, x6
	mov	x24, x5
	mov	x21, x4
	mov	x20, x2
	mov	x19, x1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x1, x3
	bl	_nfp_flower_get_port_id_from_netdev
	mov	x25, x0
	ldr	x0, [x21, #16]
	ldr	w2, [x20, #8]
	mov	w1, #0
	bl	_memset
	ldr	x0, [x21, #8]
	ldr	w2, [x20, #8]
	mov	w1, #0
	bl	_memset
	ldp	x28, x22, [x21, #8]
	ldr	w3, [x20]
	mov	x0, x22
	mov	x1, x28
	mov	x2, x19
	bl	_nfp_flower_compile_meta_tci
	add	x27, x22, #16
	add	x26, x28, #16
Lloh0:
	adrp	x8, _NFP_FLOWER_LAYER_EXT_META@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NFP_FLOWER_LAYER_EXT_META@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x20, #4]
	mov	x0, x27
	bl	_nfp_flower_compile_ext_meta
	ldr	w1, [x20, #4]
	mov	x0, x26
	bl	_nfp_flower_compile_ext_meta
	add	x27, x22, #32
	add	x26, x28, #32
LBB0_2:
	mov	x0, x27
	mov	x1, x25
	mov	w2, #0
	mov	x3, x24
	mov	x4, x23
	bl	_nfp_flower_compile_port
	cbnz	w0, LBB0_19
; %bb.3:
	mov	x0, x26
	mov	x1, x25
	mov	w2, #1
	mov	x3, x24
	mov	x4, x23
	bl	_nfp_flower_compile_port
	cbnz	w0, LBB0_19
; %bb.4:
	add	x23, x27, #16
	add	x24, x26, #16
Lloh3:
	adrp	x8, _NFP_FLOWER_LAYER_MAC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NFP_FLOWER_LAYER_MAC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
	ldr	w8, [x20]
	tst	w8, w9
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x23
	mov	x1, x24
	mov	x2, x19
	bl	_nfp_flower_compile_mac
	add	x23, x27, #32
	add	x24, x26, #32
	ldr	w8, [x20]
LBB0_6:
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
Lloh6:
	adrp	x9, _NFP_FLOWER_LAYER_TP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NFP_FLOWER_LAYER_TP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x23
	mov	x1, x24
	mov	x2, x19
	bl	_nfp_flower_compile_tport
	add	x23, x23, #16
	add	x24, x24, #16
	ldr	w8, [x20]
LBB0_8:
Lloh9:
	adrp	x9, _NFP_FLOWER_LAYER_IPV4@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NFP_FLOWER_LAYER_IPV4@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x23
	mov	x1, x24
	mov	x2, x19
	bl	_nfp_flower_compile_ipv4
	add	x23, x23, #16
	add	x24, x24, #16
	ldr	w8, [x20]
LBB0_10:
Lloh12:
	adrp	x9, _NFP_FLOWER_LAYER_IPV6@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NFP_FLOWER_LAYER_IPV6@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x23
	mov	x1, x24
	mov	x2, x19
	bl	_nfp_flower_compile_ipv6
	add	x23, x23, #16
	add	x24, x24, #16
LBB0_12:
	ldr	w8, [x20, #4]
Lloh15:
	adrp	x9, _NFP_FLOWER_LAYER2_GRE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NFP_FLOWER_LAYER2_GRE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x23
	mov	x1, x24
	mov	x2, x19
	bl	_nfp_flower_compile_ipv4_gre_tun
	ldr	x1, [x23], #32
	add	x24, x24, #32
	str	x1, [x21]
	mov	x0, x22
	bl	_nfp_tunnel_add_ipv4_off
LBB0_14:
	ldr	w8, [x20]
Lloh18:
	adrp	x9, _NFP_FLOWER_LAYER_VXLAN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NFP_FLOWER_LAYER_VXLAN@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.15:
	ldr	w8, [x20, #4]
Lloh21:
	adrp	x9, _NFP_FLOWER_LAYER2_GENEVE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _NFP_FLOWER_LAYER2_GENEVE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
LBB0_16:
	mov	x0, x23
	mov	x1, x24
	mov	x2, x19
	bl	_nfp_flower_compile_ipv4_udp_tun
	ldr	x1, [x23]
	str	x1, [x21]
	mov	x0, x22
	bl	_nfp_tunnel_add_ipv4_off
	ldr	w8, [x20, #4]
Lloh24:
	adrp	x9, _NFP_FLOWER_LAYER2_GENEVE_OP@GOTPAGE
Lloh25:
	ldr	x9, [x9, _NFP_FLOWER_LAYER2_GENEVE_OP@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	add	x1, x24, #32
	add	x0, x23, #32
	mov	x2, x19
	bl	_nfp_flower_compile_geneve_opt
	cbnz	w0, LBB0_19
LBB0_18:
	mov	w0, #0
LBB0_19:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_FLOWER_LAYER_EXT_META,4,2  ; @NFP_FLOWER_LAYER_EXT_META
	.comm	_NFP_FLOWER_LAYER_MAC,4,2       ; @NFP_FLOWER_LAYER_MAC
	.comm	_NFP_FLOWER_LAYER_TP,4,2        ; @NFP_FLOWER_LAYER_TP
	.comm	_NFP_FLOWER_LAYER_IPV4,4,2      ; @NFP_FLOWER_LAYER_IPV4
	.comm	_NFP_FLOWER_LAYER_IPV6,4,2      ; @NFP_FLOWER_LAYER_IPV6
	.comm	_NFP_FLOWER_LAYER2_GRE,4,2      ; @NFP_FLOWER_LAYER2_GRE
	.comm	_NFP_FLOWER_LAYER_VXLAN,4,2     ; @NFP_FLOWER_LAYER_VXLAN
	.comm	_NFP_FLOWER_LAYER2_GENEVE,4,2   ; @NFP_FLOWER_LAYER2_GENEVE
	.comm	_NFP_FLOWER_LAYER2_GENEVE_OP,4,2 ; @NFP_FLOWER_LAYER2_GENEVE_OP
.subsections_via_symbols
