	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_net_set_hash
_nfp_net_set_hash:                      ## @nfp_net_set_hash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	addl	$-128, %edx
	cmpl	$3, %edx
	jae	LBB0_2
## %bb.3:
	movq	_PKT_HASH_TYPE_L3@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_PKT_HASH_TYPE_L4@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%rcx, %rdi
	callq	_get_unaligned_be32
	movl	%eax, (%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXHASH,4,2             ## @NETIF_F_RXHASH
	.comm	_PKT_HASH_TYPE_L3,4,2           ## @PKT_HASH_TYPE_L3
	.comm	_PKT_HASH_TYPE_L4,4,2           ## @PKT_HASH_TYPE_L4
	.no_dead_strip	_nfp_net_set_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_net_set_hash
_nfp_net_set_hash:                      ; @nfp_net_set_hash
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _NETIF_F_RXHASH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x1
	sub	w8, w2, #128
Lloh3:
	adrp	x9, _PKT_HASH_TYPE_L3@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PKT_HASH_TYPE_L3@GOTPAGEOFF]
Lloh5:
	adrp	x10, _PKT_HASH_TYPE_L4@GOTPAGE
Lloh6:
	ldr	x10, [x10, _PKT_HASH_TYPE_L4@GOTPAGEOFF]
	cmp	w8, #3
	csel	x8, x9, x10, lo
	ldr	w8, [x8]
	str	w8, [x1, #4]
	mov	x0, x3
	bl	_get_unaligned_be32
	str	w0, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_RXHASH,4,2             ; @NETIF_F_RXHASH
	.comm	_PKT_HASH_TYPE_L3,4,2           ; @PKT_HASH_TYPE_L3
	.comm	_PKT_HASH_TYPE_L4,4,2           ; @PKT_HASH_TYPE_L4
	.no_dead_strip	_nfp_net_set_hash
.subsections_via_symbols
