	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgene_cle_set_rss_sband
_xgene_cle_set_rss_sband:               ## @xgene_cle_set_rss_sband
	.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, -64(%rbp)                 ## 8-byte Spill
	movq	_CLE_PKTRAM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	sarl	$2, %r15d
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$0, -44(%rbp)
	shll	$5, %ebx
	leal	5(%rbx), %r12d
	movq	_XGENE_CLE_IPV4@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_XGENE_CLE_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %r8
	xorl	%edi, %edi
	movl	%r12d, %ecx
	callq	_xgene_cle_sband_to_hw
	movl	-44(%rbp), %r14d
	movl	(%r13), %esi
	movq	_XGENE_CLE_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %edi
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	%r12d, %ecx
	leaq	-44(%rbp), %r8
	callq	_xgene_cle_sband_to_hw
	movl	-44(%rbp), %eax
	shll	$16, %eax
	orl	%r14d, %eax
	movl	%eax, -48(%rbp)
	movq	_PKT_RAM@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_CLE_CMD_WR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-48(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %r14
	movl	$1, %edx
	movl	%r15d, %ecx
	callq	_xgene_cle_dram_wr
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_XGENE_CLE_IPV4@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_XGENE_CLE_OTHER@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	-44(%rbp), %r8
	xorl	%edi, %edi
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_xgene_cle_sband_to_hw
	movl	-44(%rbp), %eax
	movl	%eax, -48(%rbp)
	movl	(%r12), %esi
	movl	(%r13), %edx
	xorl	%edi, %edi
	movl	%ebx, %ecx
	leaq	-44(%rbp), %r8
	callq	_xgene_cle_sband_to_hw
	movl	-44(%rbp), %eax
	shll	$16, %eax
	orl	%eax, -48(%rbp)
	incl	%r15d
	movq	_PKT_RAM@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_CLE_CMD_WR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	movl	%r15d, %ecx
	callq	_xgene_cle_dram_wr
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLE_PKTRAM_SIZE,4,2            ## @CLE_PKTRAM_SIZE
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_XGENE_CLE_IPV4,4,2             ## @XGENE_CLE_IPV4
	.comm	_XGENE_CLE_TCP,4,2              ## @XGENE_CLE_TCP
	.comm	_XGENE_CLE_UDP,4,2              ## @XGENE_CLE_UDP
	.comm	_PKT_RAM,4,2                    ## @PKT_RAM
	.comm	_CLE_CMD_WR,4,2                 ## @CLE_CMD_WR
	.comm	_XGENE_CLE_OTHER,4,2            ## @XGENE_CLE_OTHER
	.no_dead_strip	_xgene_cle_set_rss_sband
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgene_cle_set_rss_sband
_xgene_cle_set_rss_sband:               ; @xgene_cle_set_rss_sband
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
Lloh0:
	adrp	x8, _CLE_PKTRAM_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLE_PKTRAM_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	asr	w20, w8, #2
Lloh3:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	str	wzr, [sp, #8]
	mov	w21, #5
	bfi	w21, w22, #5, #27
Lloh6:
	adrp	x23, _XGENE_CLE_IPV4@GOTPAGE
Lloh7:
	ldr	x23, [x23, _XGENE_CLE_IPV4@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh8:
	adrp	x8, _XGENE_CLE_TCP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XGENE_CLE_TCP@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	w0, #0
	mov	x3, x21
	bl	_xgene_cle_sband_to_hw
	ldr	w24, [sp, #8]
	ldr	w1, [x23]
Lloh11:
	adrp	x8, _XGENE_CLE_UDP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _XGENE_CLE_UDP@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	w0, #1
	mov	x3, x21
	bl	_xgene_cle_sband_to_hw
	ldr	w8, [sp, #8]
	orr	w8, w24, w8, lsl #16
	str	w8, [sp, #12]
Lloh14:
	adrp	x24, _PKT_RAM@GOTPAGE
Lloh15:
	ldr	x24, [x24, _PKT_RAM@GOTPAGEOFF]
	ldr	w4, [x24]
Lloh16:
	adrp	x25, _CLE_CMD_WR@GOTPAGE
Lloh17:
	ldr	x25, [x25, _CLE_CMD_WR@GOTPAGEOFF]
	ldr	w5, [x25]
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #1
	mov	x3, x20
	bl	_xgene_cle_dram_wr
	cbnz	w0, LBB0_2
; %bb.1:
	lsl	w22, w22, #5
	ldr	w1, [x23]
Lloh18:
	adrp	x26, _XGENE_CLE_OTHER@GOTPAGE
Lloh19:
	ldr	x26, [x26, _XGENE_CLE_OTHER@GOTPAGEOFF]
	ldr	w2, [x26]
	add	x4, sp, #8
	mov	x3, x21
	bl	_xgene_cle_sband_to_hw
	ldr	w8, [sp, #8]
	str	w8, [sp, #12]
	ldr	w1, [x23]
	ldr	w2, [x26]
	add	x4, sp, #8
	mov	w0, #0
	mov	x3, x22
	bl	_xgene_cle_sband_to_hw
	ldp	w8, w9, [sp, #8]
	orr	w8, w9, w8, lsl #16
	str	w8, [sp, #12]
	add	w3, w20, #1
	ldr	w4, [x24]
	ldr	w5, [x25]
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #1
	bl	_xgene_cle_dram_wr
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_CLE_PKTRAM_SIZE,4,2            ; @CLE_PKTRAM_SIZE
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_XGENE_CLE_IPV4,4,2             ; @XGENE_CLE_IPV4
	.comm	_XGENE_CLE_TCP,4,2              ; @XGENE_CLE_TCP
	.comm	_XGENE_CLE_UDP,4,2              ; @XGENE_CLE_UDP
	.comm	_PKT_RAM,4,2                    ; @PKT_RAM
	.comm	_CLE_CMD_WR,4,2                 ; @CLE_CMD_WR
	.comm	_XGENE_CLE_OTHER,4,2            ; @XGENE_CLE_OTHER
	.no_dead_strip	_xgene_cle_set_rss_sband
.subsections_via_symbols
