	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enic_get_rx_flow_hash
_enic_get_rx_flow_hash:                 ## @enic_get_rx_flow_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$0, -20(%rbp)
	movl	$0, (%rsi)
	callq	_spin_lock_bh
	movl	4(%rbx), %edi
	leaq	-20(%rbp), %rsi
	callq	_vnic_dev_capable_rss_hash_type
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movl	4(%r14), %eax
	leal	-132(%rax), %ecx
	cmpl	$10, %ecx
	jae	LBB0_1
## %bb.9:
	movq	_RXH_IP_SRC@GOTPCREL(%rip), %rax
	movq	_RXH_IP_DST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_10:
	orl	(%rax), %ecx
	orl	%ecx, (%r14)
	xorl	%eax, %eax
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	leal	-130(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_5
## %bb.2:
	cmpl	$128, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_11
## %bb.4:
	movq	_RXH_IP_SRC@GOTPCREL(%rip), %rax
	movq	_RXH_IP_DST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	(%r14), %ecx
	movl	%ecx, (%r14)
	movq	_NIC_CFG_RSS_HASH_TYPE_UDP_IPV4@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_RXH_L4_B_0_1@GOTPCREL(%rip), %rax
	movq	_RXH_L4_B_2_3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_RXH_IP_SRC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_RXH_IP_DST@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_6:
	movq	_RXH_IP_SRC@GOTPCREL(%rip), %rax
	movq	_RXH_IP_DST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	(%r14), %ecx
	movl	%ecx, (%r14)
	movq	_NIC_CFG_RSS_HASH_TYPE_UDP_IPV6@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, -20(%rbp)
	je	LBB0_12
## %bb.8:
	movq	_RXH_L4_B_0_1@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_RXH_L4_B_2_3@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_12
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_RXH_L4_B_0_1,4,2               ## @RXH_L4_B_0_1
	.comm	_RXH_L4_B_2_3,4,2               ## @RXH_L4_B_2_3
	.comm	_RXH_IP_SRC,4,2                 ## @RXH_IP_SRC
	.comm	_RXH_IP_DST,4,2                 ## @RXH_IP_DST
	.comm	_NIC_CFG_RSS_HASH_TYPE_UDP_IPV6,4,2 ## @NIC_CFG_RSS_HASH_TYPE_UDP_IPV6
	.comm	_NIC_CFG_RSS_HASH_TYPE_UDP_IPV4,4,2 ## @NIC_CFG_RSS_HASH_TYPE_UDP_IPV4
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_enic_get_rx_flow_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enic_get_rx_flow_hash
_enic_get_rx_flow_hash:                 ; @enic_get_rx_flow_hash
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #12]
	str	wzr, [x1]
	bl	_spin_lock_bh
	ldr	w0, [x20, #4]
	add	x1, sp, #12
	bl	_vnic_dev_capable_rss_hash_type
	mov	x0, x20
	bl	_spin_unlock_bh
	ldr	w8, [x19, #4]
	sub	w9, w8, #132
	cmp	w9, #10
	b.hs	LBB0_5
; %bb.1:
	mov	w0, #0
Lloh0:
	adrp	x8, _RXH_IP_SRC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RXH_IP_SRC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _RXH_IP_DST@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RXH_IP_DST@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_2:
	ldr	w9, [x19]
	orr	w8, w8, w9
LBB0_3:
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	sub	w9, w8, #130
	cmp	w9, #2
	b.lo	LBB0_9
; %bb.6:
	cmp	w8, #128
	b.eq	LBB0_10
; %bb.7:
	cmp	w8, #129
	b.ne	LBB0_13
; %bb.8:
Lloh6:
	adrp	x8, _RXH_IP_SRC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RXH_IP_SRC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _RXH_IP_DST@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RXH_IP_DST@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	ldr	w9, [sp, #12]
Lloh12:
	adrp	x10, _NIC_CFG_RSS_HASH_TYPE_UDP_IPV4@GOTPAGE
Lloh13:
	ldr	x10, [x10, _NIC_CFG_RSS_HASH_TYPE_UDP_IPV4@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	mov	w0, #0
Lloh14:
	adrp	x8, _RXH_L4_B_0_1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RXH_L4_B_0_1@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _RXH_L4_B_2_3@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RXH_L4_B_2_3@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh20:
	adrp	x9, _RXH_IP_SRC@GOTPAGE
Lloh21:
	ldr	x9, [x9, _RXH_IP_SRC@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _RXH_IP_DST@GOTPAGE
Lloh24:
	ldr	x10, [x10, _RXH_IP_DST@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh25:
	ldr	w9, [x10]
	orr	w8, w8, w9
	b	LBB0_2
LBB0_10:
Lloh26:
	adrp	x8, _RXH_IP_SRC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RXH_IP_SRC@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _RXH_IP_DST@GOTPAGE
Lloh30:
	ldr	x9, [x9, _RXH_IP_DST@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	ldr	w9, [sp, #12]
Lloh32:
	adrp	x10, _NIC_CFG_RSS_HASH_TYPE_UDP_IPV6@GOTPAGE
Lloh33:
	ldr	x10, [x10, _NIC_CFG_RSS_HASH_TYPE_UDP_IPV6@GOTPAGEOFF]
LBB0_11:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_14
; %bb.12:
	mov	w0, #0
Lloh34:
	adrp	x9, _RXH_L4_B_0_1@GOTPAGE
Lloh35:
	ldr	x9, [x9, _RXH_L4_B_0_1@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
Lloh37:
	adrp	x10, _RXH_L4_B_2_3@GOTPAGE
Lloh38:
	ldr	x10, [x10, _RXH_L4_B_2_3@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
	orr	w8, w9, w8
	orr	w8, w8, w10
	b	LBB0_3
LBB0_13:
Lloh40:
	adrp	x8, _EINVAL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_14:
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_RXH_L4_B_0_1,4,2               ; @RXH_L4_B_0_1
	.comm	_RXH_L4_B_2_3,4,2               ; @RXH_L4_B_2_3
	.comm	_RXH_IP_SRC,4,2                 ; @RXH_IP_SRC
	.comm	_RXH_IP_DST,4,2                 ; @RXH_IP_DST
	.comm	_NIC_CFG_RSS_HASH_TYPE_UDP_IPV6,4,2 ; @NIC_CFG_RSS_HASH_TYPE_UDP_IPV6
	.comm	_NIC_CFG_RSS_HASH_TYPE_UDP_IPV4,4,2 ; @NIC_CFG_RSS_HASH_TYPE_UDP_IPV4
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_enic_get_rx_flow_hash
.subsections_via_symbols
