	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __set_rss_rxfh
___set_rss_rxfh:                        ## @__set_rss_rxfh
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.2:
	movq	_HINIC_RSS_INDIR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$2, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, %rdi
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	movq	_HINIC_RSS_INDIR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	movq	%rbx, %rsi
	callq	_memcpy
	movl	(%r15), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_hinic_rss_set_indir_tbl
	testl	%eax, %eax
	jne	LBB0_9
LBB0_5:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	je	LBB0_11
## %bb.6:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	jne	LBB0_8
## %bb.7:
	movq	_HINIC_RSS_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%edi, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, %rdi
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_3
LBB0_8:
	movq	_HINIC_RSS_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_memcpy
	movl	(%r15), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_hinic_rss_set_template_tbl
	testl	%eax, %eax
	je	LBB0_11
LBB0_9:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HINIC_RSS_INDIR_SIZE,4,2       ## @HINIC_RSS_INDIR_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_HINIC_RSS_KEY_SIZE,4,2         ## @HINIC_RSS_KEY_SIZE
	.no_dead_strip	___set_rss_rxfh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __set_rss_rxfh
___set_rss_rxfh:                        ; @__set_rss_rxfh
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x20, x0
	cbz	x21, LBB0_4
; %bb.1:
	ldr	x0, [x20, #16]
Lloh0:
	adrp	x22, _HINIC_RSS_INDIR_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HINIC_RSS_INDIR_SIZE@GOTPAGEOFF]
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w8, [x22]
	lsl	w0, w8, #2
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kzalloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_10
LBB0_3:
	ldr	w8, [x22]
	lsl	w2, w8, #2
	mov	x1, x21
	bl	_memcpy
	ldr	w1, [x20]
	mov	x0, x20
	mov	x2, x21
	bl	_hinic_rss_set_indir_tbl
	cbnz	w0, LBB0_8
LBB0_4:
	cbz	x19, LBB0_9
; %bb.5:
	ldr	x0, [x20, #8]
Lloh5:
	adrp	x21, _HINIC_RSS_KEY_SIZE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _HINIC_RSS_KEY_SIZE@GOTPAGEOFF]
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x21]
	lsl	w0, w8, #1
Lloh7:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_kzalloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_10
LBB0_7:
	ldr	w2, [x21]
	mov	x1, x19
	bl	_memcpy
	ldr	w1, [x20]
	mov	x0, x20
	mov	x2, x19
	bl	_hinic_rss_set_template_tbl
	cbz	w0, LBB0_12
LBB0_8:
Lloh10:
	adrp	x8, _EFAULT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	mov	w0, #0
	b	LBB0_12
LBB0_10:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_HINIC_RSS_INDIR_SIZE,4,2       ; @HINIC_RSS_INDIR_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_HINIC_RSS_KEY_SIZE,4,2         ; @HINIC_RSS_KEY_SIZE
	.no_dead_strip	___set_rss_rxfh
.subsections_via_symbols
