	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hinic_get_rss_hash_opts
_hinic_get_rss_hash_opts:               ## @hinic_get_rss_hash_opts
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -32(%rbp)
	movl	$0, -16(%rbp)
	movl	$0, (%rsi)
	movq	_HINIC_RSS_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	movl	4(%rdi), %esi
	leaq	-32(%rbp), %rdx
	callq	_hinic_get_rss_type
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movq	_RXH_IP_SRC@GOTPCREL(%rip), %rax
	movq	_RXH_IP_DST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movl	4(%rbx), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_8
## %bb.3:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rsi
	addq	%rdx, %rsi
	xorl	%eax, %eax
	jmpq	*%rsi
LBB0_4:
	cmpl	$0, -32(%rbp)
	jne	LBB0_14
	jmp	LBB0_6
LBB0_8:
	movl	$0, (%rbx)
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_9:
	cmpl	$0, -28(%rbp)
	jne	LBB0_14
	jmp	LBB0_6
LBB0_11:
	cmpl	$0, -24(%rbp)
	jne	LBB0_14
	jmp	LBB0_6
LBB0_13:
	cmpl	$0, -20(%rbp)
	je	LBB0_6
LBB0_14:
	movq	_RXH_L4_B_0_1@GOTPCREL(%rip), %rax
	movq	_RXH_L4_B_2_3@GOTPCREL(%rip), %rdx
	orl	(%rax), %ecx
	orl	(%rdx), %ecx
	movl	%ecx, (%rbx)
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_7
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_HINIC_RSS_ENABLE,4,2           ## @HINIC_RSS_ENABLE
	.comm	_RXH_IP_SRC,4,2                 ## @RXH_IP_SRC
	.comm	_RXH_IP_DST,4,2                 ## @RXH_IP_DST
	.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	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_hinic_get_rss_hash_opts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hinic_get_rss_hash_opts
_hinic_get_rss_hash_opts:               ; @hinic_get_rss_hash_opts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	stp	xzr, xzr, [sp, #8]
	str	wzr, [sp, #24]
	str	wzr, [x1]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _HINIC_RSS_ENABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HINIC_RSS_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x1
	ldr	w1, [x0, #4]
	add	x2, sp, #8
	bl	_hinic_get_rss_type
	cbnz	w0, LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _RXH_IP_SRC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RXH_IP_SRC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _RXH_IP_DST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RXH_IP_DST@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w9, [x19, #4]
	sub	w9, w9, #128
	cmp	w9, #5
	b.hi	LBB0_7
; %bb.3:
	mov	w0, #0
Lloh9:
	adrp	x10, lJTI0_0@PAGE
Lloh10:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_4
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_4:
	ldr	w9, [sp, #8]
	cbnz	w9, LBB0_11
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	str	wzr, [x19]
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_8:
	ldr	w9, [sp, #12]
	cbnz	w9, LBB0_11
	b	LBB0_5
LBB0_9:
	ldr	w9, [sp, #16]
	cbnz	w9, LBB0_11
	b	LBB0_5
LBB0_10:
	ldr	w9, [sp, #20]
	cbz	w9, LBB0_5
LBB0_11:
	mov	w0, #0
Lloh14:
	adrp	x9, _RXH_L4_B_0_1@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RXH_L4_B_0_1@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _RXH_L4_B_2_3@GOTPAGE
Lloh18:
	ldr	x10, [x10, _RXH_L4_B_2_3@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	orr	w8, w9, w8
	orr	w8, w8, w10
	str	w8, [x19]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
                                        ; -- End function
	.comm	_HINIC_RSS_ENABLE,4,2           ; @HINIC_RSS_ENABLE
	.comm	_RXH_IP_SRC,4,2                 ; @RXH_IP_SRC
	.comm	_RXH_IP_DST,4,2                 ; @RXH_IP_DST
	.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	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_hinic_get_rss_hash_opts
.subsections_via_symbols
