	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_flower_compile_ipv4_gre_tun
_nfp_flower_compile_ipv4_gre_tun:       ## @nfp_flower_compile_ipv4_gre_tun
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_flow_cls_offload_flow_rule
	movq	%rax, %r12
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_ETH_P_TEB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	movq	%rax, 24(%rbx)
	movl	$-1, %edi
	callq	_cpu_to_be16
	movq	%rax, 24(%r15)
	movq	_FLOW_DISSECTOR_KEY_ENC_KEYID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_flow_rule_match_key
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_flow_rule_match_enc_keyid
	movq	-40(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	-48(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_NFP_FL_GRE_FLAG_KEY@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_cpu_to_be16
	movq	%rax, 8(%rbx)
	movl	(%r12), %edi
	callq	_cpu_to_be16
	movq	%rax, 8(%r15)
LBB0_2:
	leaq	4(%rbx), %rdi
	leaq	4(%r15), %rsi
	movq	%r14, %rdx
	callq	_nfp_flower_compile_tun_ipv4_addrs
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_nfp_flower_compile_tun_ip_ext
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_TEB,4,2                  ## @ETH_P_TEB
	.comm	_FLOW_DISSECTOR_KEY_ENC_KEYID,4,2 ## @FLOW_DISSECTOR_KEY_ENC_KEYID
	.comm	_NFP_FL_GRE_FLAG_KEY,4,2        ## @NFP_FL_GRE_FLAG_KEY
	.no_dead_strip	_nfp_flower_compile_ipv4_gre_tun
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_flower_compile_ipv4_gre_tun
_nfp_flower_compile_ipv4_gre_tun:       ; @nfp_flower_compile_ipv4_gre_tun
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_flow_cls_offload_flow_rule
	mov	x22, x0
	mov	x0, x21
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	x0, x20
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x8, _ETH_P_TEB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_TEB@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_be16
	str	x0, [x21, #24]
	mov	w0, #-1
	bl	_cpu_to_be16
	str	x0, [x20, #24]
Lloh3:
	adrp	x8, _FLOW_DISSECTOR_KEY_ENC_KEYID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FLOW_DISSECTOR_KEY_ENC_KEYID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_flow_rule_match_key
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, sp
	mov	x0, x22
	bl	_flow_rule_match_enc_keyid
	ldp	x9, x8, [sp]
	ldr	w8, [x8]
	str	w8, [x21, #16]
	ldr	w8, [x9]
	str	w8, [x20, #16]
Lloh6:
	adrp	x22, _NFP_FL_GRE_FLAG_KEY@GOTPAGE
Lloh7:
	ldr	x22, [x22, _NFP_FL_GRE_FLAG_KEY@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_cpu_to_be16
	str	x0, [x21, #8]
	ldr	w0, [x22]
	bl	_cpu_to_be16
	str	x0, [x20, #8]
LBB0_2:
	add	x0, x21, #4
	add	x1, x20, #4
	mov	x2, x19
	bl	_nfp_flower_compile_tun_ipv4_addrs
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_nfp_flower_compile_tun_ip_ext
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_TEB,4,2                  ; @ETH_P_TEB
	.comm	_FLOW_DISSECTOR_KEY_ENC_KEYID,4,2 ; @FLOW_DISSECTOR_KEY_ENC_KEYID
	.comm	_NFP_FL_GRE_FLAG_KEY,4,2        ; @NFP_FL_GRE_FLAG_KEY
	.no_dead_strip	_nfp_flower_compile_ipv4_gre_tun
.subsections_via_symbols
