	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_parse_flow_attr
_qede_parse_flow_attr:                  ## @qede_parse_flow_attr
	.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
	movl	%esi, -68(%rbp)                 ## 4-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %r15
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	(%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_FLOW_DISSECTOR_KEY_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r14d
	movq	_FLOW_DISSECTOR_KEY_IPV4_ADDRS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r13d
	orl	%r14d, %r13d
	movq	_FLOW_DISSECTOR_KEY_BASIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r14d
	movq	_FLOW_DISSECTOR_KEY_IPV6_ADDRS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	orl	%r14d, %ebx
	orl	%r13d, %ebx
	movq	_FLOW_DISSECTOR_KEY_PORTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%ebx, %eax
	notl	%eax
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_4
## %bb.1:
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_DP_NOTICE
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
LBB0_2:
	subl	(%rax), %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_FLOW_DISSECTOR_KEY_BASIC@GOTPCREL(%rip), %r15
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	_ETH_P_IP@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_htons
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%ebx, %eax
	je	LBB0_6
## %bb.5:
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpl	%ebx, %eax
	jne	LBB0_12
LBB0_6:
	movl	%ebx, %r12d
	movl	(%r15), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_flow_rule_match_key
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	-88(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_flow_rule_match_basic
	movq	-88(%rbp), %rax
	movq	(%rax), %rbx
	jmp	LBB0_9
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	%rax, %rbx
	jne	LBB0_14
## %bb.10:
	movl	(%r14), %edi
	callq	_htons
	movl	%r12d, %ecx
	cmpl	%r12d, %eax
	jne	LBB0_13
## %bb.11:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_qede_flow_parse_tcp_v4
	movl	%eax, %r15d
	jmp	LBB0_3
LBB0_12:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_DP_NOTICE
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_13:
	movq	(%r15), %rax
LBB0_14:
	cmpq	%rax, %rbx
	jne	LBB0_17
## %bb.15:
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpl	%r12d, %eax
	jne	LBB0_17
## %bb.16:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_qede_flow_parse_tcp_v6
	movl	%eax, %r15d
	jmp	LBB0_3
LBB0_17:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	%rax, %rbx
	jne	LBB0_21
## %bb.18:
	movl	(%r14), %edi
	callq	_htons
	movl	%r12d, %ecx
	cmpl	%r12d, %eax
	jne	LBB0_20
## %bb.19:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_qede_flow_parse_udp_v4
	movl	%eax, %r15d
	jmp	LBB0_3
LBB0_20:
	movq	(%r15), %rax
LBB0_21:
	cmpq	%rax, %rbx
	jne	LBB0_24
## %bb.22:
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpl	%r12d, %eax
	jne	LBB0_24
## %bb.23:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_qede_flow_parse_udp_v6
	movl	%eax, %r15d
	jmp	LBB0_3
LBB0_24:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_DP_NOTICE
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_FLOW_DISSECTOR_KEY_CONTROL,4,2 ## @FLOW_DISSECTOR_KEY_CONTROL
	.comm	_FLOW_DISSECTOR_KEY_IPV4_ADDRS,4,2 ## @FLOW_DISSECTOR_KEY_IPV4_ADDRS
	.comm	_FLOW_DISSECTOR_KEY_BASIC,4,2   ## @FLOW_DISSECTOR_KEY_BASIC
	.comm	_FLOW_DISSECTOR_KEY_IPV6_ADDRS,4,2 ## @FLOW_DISSECTOR_KEY_IPV6_ADDRS
	.comm	_FLOW_DISSECTOR_KEY_PORTS,4,2   ## @FLOW_DISSECTOR_KEY_PORTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported key set:0x%x\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported proto=0x%x\n"

	.comm	_EPROTONOSUPPORT,4,2            ## @EPROTONOSUPPORT
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
L_.str.2:                               ## @.str.2
	.asciz	"Invalid protocol request\n"

	.no_dead_strip	_qede_parse_flow_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_parse_flow_attr
_qede_parse_flow_attr:                  ; @qede_parse_flow_attr
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x25, [x2]
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	mov	x0, x3
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w27, [x25]
Lloh3:
	adrp	x8, _FLOW_DISSECTOR_KEY_CONTROL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FLOW_DISSECTOR_KEY_CONTROL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_BIT
	mov	x23, x0
Lloh6:
	adrp	x8, _FLOW_DISSECTOR_KEY_IPV4_ADDRS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FLOW_DISSECTOR_KEY_IPV4_ADDRS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_BIT
	orr	w23, w0, w23
Lloh9:
	adrp	x26, _FLOW_DISSECTOR_KEY_BASIC@GOTPAGE
Lloh10:
	ldr	x26, [x26, _FLOW_DISSECTOR_KEY_BASIC@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_BIT
	orr	w23, w23, w0
Lloh11:
	adrp	x8, _FLOW_DISSECTOR_KEY_IPV6_ADDRS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FLOW_DISSECTOR_KEY_IPV6_ADDRS@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_BIT
	orr	w23, w23, w0
Lloh14:
	adrp	x8, _FLOW_DISSECTOR_KEY_PORTS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FLOW_DISSECTOR_KEY_PORTS@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_BIT
	orr	w8, w23, w0
	bics	wzr, w27, w8
	b.eq	LBB0_4
; %bb.1:
	ldr	w8, [x25]
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
Lloh19:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_3:
	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
LBB0_4:
Lloh21:
	adrp	x23, _ETH_P_IP@GOTPAGE
Lloh22:
	ldr	x23, [x23, _ETH_P_IP@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_htons
	cmp	w0, w22
	b.eq	LBB0_6
; %bb.5:
Lloh23:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_htons
	cmp	w0, w22
	b.ne	LBB0_12
LBB0_6:
	ldr	w1, [x26]
	mov	x0, x21
	bl	_flow_rule_match_key
	cbz	x0, LBB0_8
; %bb.7:
	add	x1, sp, #8
	mov	x0, x21
	bl	_flow_rule_match_basic
	ldr	x8, [sp, #8]
	ldr	x25, [x8]
	b	LBB0_9
LBB0_8:
	mov	x25, #0
LBB0_9:
Lloh26:
	adrp	x26, _IPPROTO_TCP@GOTPAGE
Lloh27:
	ldr	x26, [x26, _IPPROTO_TCP@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x25, x8
	b.ne	LBB0_14
; %bb.10:
	ldr	w0, [x23]
	bl	_htons
	cmp	w0, w22
	b.ne	LBB0_13
; %bb.11:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_qede_flow_parse_tcp_v4
	mov	x20, x0
	b	LBB0_3
LBB0_12:
	str	x22, [sp]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
Lloh30:
	adrp	x8, _EPROTONOSUPPORT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EPROTONOSUPPORT@GOTPAGEOFF]
	b	LBB0_2
LBB0_13:
	ldr	x8, [x26]
LBB0_14:
	cmp	x25, x8
	b.ne	LBB0_17
; %bb.15:
Lloh32:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_htons
	cmp	w0, w22
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_qede_flow_parse_tcp_v6
	mov	x20, x0
	b	LBB0_3
LBB0_17:
Lloh35:
	adrp	x26, _IPPROTO_UDP@GOTPAGE
Lloh36:
	ldr	x26, [x26, _IPPROTO_UDP@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x25, x8
	b.ne	LBB0_21
; %bb.18:
	ldr	w0, [x23]
	bl	_htons
	cmp	w0, w22
	b.ne	LBB0_20
; %bb.19:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_qede_flow_parse_udp_v4
	mov	x20, x0
	b	LBB0_3
LBB0_20:
	ldr	x8, [x26]
LBB0_21:
	cmp	x25, x8
	b.ne	LBB0_24
; %bb.22:
Lloh37:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_htons
	cmp	w0, w22
	b.ne	LBB0_24
; %bb.23:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_qede_flow_parse_udp_v6
	mov	x20, x0
	b	LBB0_3
LBB0_24:
	neg	w20, w24
Lloh40:
	adrp	x1, l_.str.2@PAGE
Lloh41:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_FLOW_DISSECTOR_KEY_CONTROL,4,2 ; @FLOW_DISSECTOR_KEY_CONTROL
	.comm	_FLOW_DISSECTOR_KEY_IPV4_ADDRS,4,2 ; @FLOW_DISSECTOR_KEY_IPV4_ADDRS
	.comm	_FLOW_DISSECTOR_KEY_BASIC,4,2   ; @FLOW_DISSECTOR_KEY_BASIC
	.comm	_FLOW_DISSECTOR_KEY_IPV6_ADDRS,4,2 ; @FLOW_DISSECTOR_KEY_IPV6_ADDRS
	.comm	_FLOW_DISSECTOR_KEY_PORTS,4,2   ; @FLOW_DISSECTOR_KEY_PORTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported key set:0x%x\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported proto=0x%x\n"

	.comm	_EPROTONOSUPPORT,4,2            ; @EPROTONOSUPPORT
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
l_.str.2:                               ; @.str.2
	.asciz	"Invalid protocol request\n"

	.no_dead_strip	_qede_parse_flow_attr
.subsections_via_symbols
