	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ena_com_rx_set_flags
_ena_com_rx_set_flags:                  ## @ena_com_rx_set_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %r9
	movl	(%rsi), %r11d
	movq	_ENA_ETH_IO_RX_CDESC_BASE_L3_PROTO_IDX_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	%r11d, %esi
	movl	%esi, (%rdi)
	movq	_ENA_ETH_IO_RX_CDESC_BASE_L4_PROTO_IDX_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%r11d, %edx
	movq	_ENA_ETH_IO_RX_CDESC_BASE_L4_PROTO_IDX_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	movl	%edx, 4(%rdi)
	movq	_ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM_ERR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	andl	%r11d, %eax
	movq	_ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM_ERR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	xorl	%r10d, %r10d
	testl	%eax, %eax
	setne	%r10b
	movl	%r10d, 8(%rdi)
	movq	_ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_ERR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r11d, %eax
	movq	_ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_ERR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	xorl	%r8d, %r8d
	testl	%eax, %eax
	setne	%r8b
	movl	%r8d, 12(%rdi)
	movq	_ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_CHECKED_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r11d, %eax
	movq	_ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_CHECKED_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, 16(%rdi)
	movl	4(%r9), %r9d
	movl	%r9d, 24(%rdi)
	movq	_ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r11d, %eax
	movq	_ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, 20(%rdi)
	leaq	L_.str(%rip), %rdi
	movl	%r10d, %ecx
	pushq	%r11
	pushq	%rax
	callq	_pr_debug
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L3_PROTO_IDX_MASK,4,2 ## @ENA_ETH_IO_RX_CDESC_BASE_L3_PROTO_IDX_MASK
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L4_PROTO_IDX_MASK,4,2 ## @ENA_ETH_IO_RX_CDESC_BASE_L4_PROTO_IDX_MASK
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L4_PROTO_IDX_SHIFT,4,2 ## @ENA_ETH_IO_RX_CDESC_BASE_L4_PROTO_IDX_SHIFT
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM_ERR_MASK,4,2 ## @ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM_ERR_MASK
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM_ERR_SHIFT,4,2 ## @ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM_ERR_SHIFT
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_ERR_MASK,4,2 ## @ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_ERR_MASK
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_ERR_SHIFT,4,2 ## @ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_ERR_SHIFT
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_CHECKED_MASK,4,2 ## @ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_CHECKED_MASK
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_CHECKED_SHIFT,4,2 ## @ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_CHECKED_SHIFT
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_MASK,4,2 ## @ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_MASK
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_SHIFT,4,2 ## @ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ena_rx_ctx->l3_proto %d ena_rx_ctx->l4_proto %d\nena_rx_ctx->l3_csum_err %d ena_rx_ctx->l4_csum_err %d\nhash frag %d frag: %d cdesc_status: %x\n"

	.no_dead_strip	_ena_com_rx_set_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ena_com_rx_set_flags
_ena_com_rx_set_flags:                  ; @ena_com_rx_set_flags
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ENA_ETH_IO_RX_CDESC_BASE_L3_PROTO_IDX_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENA_ETH_IO_RX_CDESC_BASE_L3_PROTO_IDX_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w7, w5, [x1]
	and	w1, w8, w7
	str	w1,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loh20:
	ldr	w9, [x9]
	asr	w8, w8, w9
	cmp	w8, #0
	cset	w4, ne
Lloh21:
	adrp	x8, _ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_CHECKED_MASK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_CHECKED_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	and	w8, w8, w7
Lloh24:
	adrp	x9, _ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_CHECKED_SHIFT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_CHECKED_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	asr	w8, w8, w9
	cmp	w8, #0
	cset	w8, ne
	stp	w4, w8, [x0, #12]
Lloh27:
	adrp	x8, _ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	and	w8, w8, w7
Lloh30:
	adrp	x9, _ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_SHIFT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_SHIFT@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	asr	w6, w8, w9
	stp	w6, w5, [x0, #20]
Lloh33:
	adrp	x0, l_.str@PAGE
Lloh34:
	add	x0, x0, l_.str@PAGEOFF
	b	_pr_debug
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L3_PROTO_IDX_MASK,4,2 ; @ENA_ETH_IO_RX_CDESC_BASE_L3_PROTO_IDX_MASK
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L4_PROTO_IDX_MASK,4,2 ; @ENA_ETH_IO_RX_CDESC_BASE_L4_PROTO_IDX_MASK
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L4_PROTO_IDX_SHIFT,4,2 ; @ENA_ETH_IO_RX_CDESC_BASE_L4_PROTO_IDX_SHIFT
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM_ERR_MASK,4,2 ; @ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM_ERR_MASK
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM_ERR_SHIFT,4,2 ; @ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM_ERR_SHIFT
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_ERR_MASK,4,2 ; @ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_ERR_MASK
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_ERR_SHIFT,4,2 ; @ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_ERR_SHIFT
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_CHECKED_MASK,4,2 ; @ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_CHECKED_MASK
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_CHECKED_SHIFT,4,2 ; @ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_CHECKED_SHIFT
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_MASK,4,2 ; @ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_MASK
	.comm	_ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_SHIFT,4,2 ; @ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ena_rx_ctx->l3_proto %d ena_rx_ctx->l4_proto %d\nena_rx_ctx->l3_csum_err %d ena_rx_ctx->l4_csum_err %d\nhash frag %d frag: %d cdesc_status: %x\n"

	.no_dead_strip	_ena_com_rx_set_flags
.subsections_via_symbols
