	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_be_cmd_rss_config              ## -- Begin function be_cmd_rss_config
	.p2align	4, 0x90
_be_cmd_rss_config:                     ## @be_cmd_rss_config
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	l___const.be_cmd_rss_config.myhash+32(%rip), %rax
	movq	%rax, -64(%rbp)
	movaps	l___const.be_cmd_rss_config.myhash+16(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	l___const.be_cmd_rss_config.myhash(%rip), %xmm0
	movaps	%xmm0, -96(%rbp)
	callq	_mutex_lock_interruptible
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	callq	_wrb_from_mbox
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_embedded_payload
	movq	%rax, %rbx
	leaq	8(%rax), %rdi
	movq	_CMD_SUBSYSTEM_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OPCODE_ETH_RSS_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movl	$40, %ecx
	movq	%r13, %r8
	xorl	%r9d, %r9d
	callq	_be_wrb_cmd_hdr_prepare
	movl	4(%r12), %edi
	callq	_cpu_to_le32
	movl	%eax, 32(%rbx)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%rbx)
	movl	%r14d, %edi
	callq	_fls
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx)
	movq	%r12, %rdi
	callq	_lancer_chip
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	_skyhawk_chip
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	$1, (%rax)
LBB0_4:
	movl	4(%rbx), %edi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	%r14d, %edx
	callq	_memcpy
	movl	(%rbx), %edi
	leaq	-96(%rbp), %rsi
	movl	$40, %edx
	callq	_memcpy
	movl	(%rbx), %edi
	movl	$4, %esi
	callq	_be_dws_cpu_to_le
	movq	%r12, %rdi
	callq	_be_mbox_notify_wait
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_mutex_unlock
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.be_cmd_rss_config.myhash
l___const.be_cmd_rss_config.myhash:
	.long	366231461                       ## 0x15d43fa5
	.long	624191578                       ## 0x2534685a
	.long	1602709818                      ## 0x5f87693a
	.long	1449675086                      ## 0x5668494e
	.long	869231187                       ## 0x33cf6a53
	.long	942879942                       ## 0x383334c6
	.long	1991000663                      ## 0x76ac4257
	.long	1504854706                      ## 0x59b242b2
	.long	1051212802                      ## 0x3ea83c02
	.long	1242628868                      ## 0x4a110304

	.comm	_CMD_SUBSYSTEM_ETH,4,2          ## @CMD_SUBSYSTEM_ETH
	.comm	_OPCODE_ETH_RSS_CONFIG,4,2      ## @OPCODE_ETH_RSS_CONFIG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_be_cmd_rss_config              ; -- Begin function be_cmd_rss_config
	.p2align	2
_be_cmd_rss_config:                     ; @be_cmd_rss_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x24, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, l___const.be_cmd_rss_config.myhash@PAGE
Lloh4:
	add	x8, x8, l___const.be_cmd_rss_config.myhash@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp]
	ldr	x8, [x8, #32]
	str	x8, [sp, #32]
	bl	_mutex_lock_interruptible
	cbz	x0, LBB0_2
; %bb.1:
	mov	w20, #-1
	b	LBB0_6
LBB0_2:
	mov	x0, x19
	bl	_wrb_from_mbox
	mov	x25, x0
	bl	_embedded_payload
	mov	x22, x0
	add	x23, x0, #8
Lloh5:
	adrp	x8, _CMD_SUBSYSTEM_ETH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CMD_SUBSYSTEM_ETH@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _OPCODE_ETH_RSS_CONFIG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OPCODE_ETH_RSS_CONFIG@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x23
	mov	w3, #40
	mov	x4, x25
	mov	x5, #0
	bl	_be_wrb_cmd_hdr_prepare
	ldr	w0, [x19, #4]
	bl	_cpu_to_le32
	str	w0, [x22, #32]
	mov	x0, x24
	bl	_cpu_to_le16
	str	x0, [x22, #24]
	mov	x0, x20
	bl	_fls
	sub	w0, w0, #1
	bl	_cpu_to_le16
	str	x0, [x22, #16]
	mov	x0, x19
	bl	_lancer_chip
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_skyhawk_chip
	cbz	x0, LBB0_5
LBB0_4:
	mov	w8, #1
	str	w8, [x23]
LBB0_5:
	ldr	w0, [x22, #4]
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
	ldr	w0, [x22]
	mov	x1, sp
	mov	w2, #40
	bl	_memcpy
	ldr	w0, [x22]
	mov	w1, #4
	bl	_be_dws_cpu_to_le
	mov	x0, x19
	bl	_be_mbox_notify_wait
	mov	x20, x0
	mov	x0, x19
	bl	_mutex_unlock
LBB0_6:
	ldr	x8, [sp, #40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.be_cmd_rss_config.myhash
l___const.be_cmd_rss_config.myhash:
	.long	366231461                       ; 0x15d43fa5
	.long	624191578                       ; 0x2534685a
	.long	1602709818                      ; 0x5f87693a
	.long	1449675086                      ; 0x5668494e
	.long	869231187                       ; 0x33cf6a53
	.long	942879942                       ; 0x383334c6
	.long	1991000663                      ; 0x76ac4257
	.long	1504854706                      ; 0x59b242b2
	.long	1051212802                      ; 0x3ea83c02
	.long	1242628868                      ; 0x4a110304

	.comm	_CMD_SUBSYSTEM_ETH,4,2          ; @CMD_SUBSYSTEM_ETH
	.comm	_OPCODE_ETH_RSS_CONFIG,4,2      ; @OPCODE_ETH_RSS_CONFIG
.subsections_via_symbols
