	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_flow_parse_v4_common
_qede_flow_parse_v4_common:             ## @qede_flow_parse_v4_common
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_FLOW_DISSECTOR_KEY_IPV4_ADDRS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_flow_rule_match_key
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_flow_rule_match_ipv4_addrs
	movq	-40(%rbp), %rcx
	movq	8(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	-32(%rbp), %rdx
	movq	(%rdx), %rdx
	movq	_U32_MAX@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_10
LBB0_3:
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	-32(%rbp), %rdx
	movq	8(%rdx), %rdx
	movq	_U32_MAX@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_10
LBB0_5:
	movq	%rax, 8(%r15)
	movq	%rcx, (%r15)
LBB0_6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_qede_flow_parse_ports
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qede_set_v4_tuple_to_profile
	jmp	LBB0_9
LBB0_10:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_DP_NOTICE
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLOW_DISSECTOR_KEY_IPV4_ADDRS,4,2 ## @FLOW_DISSECTOR_KEY_IPV4_ADDRS
	.comm	_U32_MAX,8,3                    ## @U32_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Do not support ipv4 prefix/masks\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_qede_flow_parse_v4_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_flow_parse_v4_common
_qede_flow_parse_v4_common:             ; @qede_flow_parse_v4_common
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _FLOW_DISSECTOR_KEY_IPV4_ADDRS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLOW_DISSECTOR_KEY_IPV4_ADDRS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_flow_rule_match_key
	cbz	x0, LBB0_6
; %bb.1:
	mov	x1, sp
	mov	x0, x21
	bl	_flow_rule_match_ipv4_addrs
	ldr	x10, [sp]
	ldr	x8, [x10, #8]
Lloh3:
	adrp	x9, _U32_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _U32_MAX@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x11, [sp, #8]
	ldr	x11, [x11]
	ldr	x12, [x9]
	cmp	x11, x12
	b.ne	LBB0_8
LBB0_3:
	ldr	x10, [x10]
	cbz	x10, LBB0_5
; %bb.4:
	ldr	x11, [sp, #8]
	ldr	x11, [x11, #8]
	ldr	x9, [x9]
	cmp	x11, x9
	b.ne	LBB0_8
LBB0_5:
	stp	x10, x8, [x20]
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_qede_flow_parse_ports
	cbnz	x0, LBB0_9
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	bl	_qede_set_v4_tuple_to_profile
	b	LBB0_10
LBB0_8:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
LBB0_9:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FLOW_DISSECTOR_KEY_IPV4_ADDRS,4,2 ; @FLOW_DISSECTOR_KEY_IPV4_ADDRS
	.comm	_U32_MAX,8,3                    ; @U32_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Do not support ipv4 prefix/masks\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_qede_flow_parse_v4_common
.subsections_via_symbols
