	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hinic_rss_init
_hinic_rss_init:                        ## @hinic_rss_init
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_HINIC_RSS_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	(,%r13,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	12(%r15), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_HINIC_RSS_INDIR_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_kcalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	shll	$2, %r13d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_netdev_rss_key_fill
	cmpl	$0, (%r12)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r15), %esi
	movl	%ebx, %edi
	callq	_ethtool_rxfh_indir_default
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_hinic_rss_set_template_tbl
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.6:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_hinic_rss_set_indir_tbl
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movl	4(%r15), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_hinic_set_rss_type
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movl	(%r15), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_hinic_rss_set_hash_engine
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%ebx, %edx
	callq	_hinic_rss_cfg
	movl	%eax, %r12d
LBB0_10:
	movq	%r14, %rdi
	callq	_kfree
	jmp	LBB0_11
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HINIC_RSS_KEY_SIZE,4,2         ## @HINIC_RSS_KEY_SIZE
	.comm	_HINIC_RSS_INDIR_SIZE,4,2       ## @HINIC_RSS_INDIR_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_hinic_rss_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hinic_rss_init
_hinic_rss_init:                        ; @hinic_rss_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _HINIC_RSS_KEY_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HINIC_RSS_KEY_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	lsl	x8, x23, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	w20, [x0, #12]
Lloh8:
	adrp	x24, _HINIC_RSS_INDIR_SIZE@GOTPAGE
Lloh9:
	ldr	x24, [x24, _HINIC_RSS_INDIR_SIZE@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	w1, #4
	bl	_kcalloc
	cbz	x0, LBB0_10
; %bb.1:
	mov	x21, x0
	lsl	w1, w23, #2
	mov	x0, x22
	bl	_netdev_rss_key_fill
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #8]
	mov	x0, x23
	bl	_ethtool_rxfh_indir_default
	str	w0, [x21, x23, lsl #2]
	add	x23, x23, #1
	ldrsw	x8, [x24]
	cmp	x23, x8
	b.lt	LBB0_3
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_hinic_rss_set_template_tbl
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_hinic_rss_set_indir_tbl
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.6:
	ldr	w2, [x19, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_hinic_set_rss_type
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.7:
	ldr	w2, [x19]
	mov	x0, x19
	mov	x1, x20
	bl	_hinic_rss_set_hash_engine
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.8:
	mov	x0, x19
	mov	w1, #1
	mov	x2, x20
	bl	_hinic_rss_cfg
	mov	x22, x0
LBB0_9:
	mov	x0, x21
	bl	_kfree
	b	LBB0_11
LBB0_10:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_11:
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x22
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_HINIC_RSS_KEY_SIZE,4,2         ; @HINIC_RSS_KEY_SIZE
	.comm	_HINIC_RSS_INDIR_SIZE,4,2       ; @HINIC_RSS_INDIR_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_hinic_rss_init
.subsections_via_symbols
