	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_rss_write_indir_tbl
_tg3_rss_write_indir_tbl:               ## @tg3_rss_write_indir_tbl
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_TG3_RSS_INDIR_TBL_SIZE@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_12
## %bb.1:
	movq	%rdi, %r14
	movq	_MAC_RSS_INDIR_TBL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %edi
	callq	_tw32
	addl	$4, %r12d
	cmpl	(%r15), %ebx
	jge	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movslq	%ebx, %rbx
	movl	(%rax,%rbx,4), %esi
	incl	%ebx
	testb	$7, %bl
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ebx, %rcx
	shll	$4, %esi
	orl	(%rax,%rcx,4), %esi
	leaq	1(%rcx), %rbx
	testb	$7, %bl
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	shll	$4, %esi
	orl	4(%rax,%rcx,4), %esi
	leaq	2(%rcx), %rbx
	testb	$7, %bl
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	shll	$4, %esi
	orl	8(%rax,%rcx,4), %esi
	leaq	3(%rcx), %rbx
	testb	$7, %bl
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	shll	$4, %esi
	orl	12(%rax,%rcx,4), %esi
	leaq	4(%rcx), %rbx
	testb	$7, %bl
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	shll	$4, %esi
	orl	16(%rax,%rcx,4), %esi
	leaq	5(%rcx), %rbx
	testb	$7, %bl
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	shll	$4, %esi
	orl	20(%rax,%rcx,4), %esi
	leaq	6(%rcx), %rbx
	testb	$7, %bl
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	shll	$4, %esi
	orl	24(%rax,%rcx,4), %esi
	leaq	7(%rcx), %rbx
	testb	$7, %bl
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	shll	$4, %esi
	orl	28(%rax,%rcx,4), %esi
	addq	$8, %rcx
	movq	%rcx, %rbx
	jmp	LBB0_11
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_RSS_INDIR_TBL_0,4,2        ## @MAC_RSS_INDIR_TBL_0
	.comm	_TG3_RSS_INDIR_TBL_SIZE,4,2     ## @TG3_RSS_INDIR_TBL_SIZE
	.no_dead_strip	_tg3_rss_write_indir_tbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_rss_write_indir_tbl
_tg3_rss_write_indir_tbl:               ; @tg3_rss_write_indir_tbl
	.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
Lloh0:
	adrp	x21, _TG3_RSS_INDIR_TBL_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TG3_RSS_INDIR_TBL_SIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x19, x0
	mov	w8, #0
Lloh2:
	adrp	x9, _MAC_RSS_INDIR_TBL_0@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAC_RSS_INDIR_TBL_0@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x9]
	mov	w22, #6
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	w9, w9, #0x7
	add	w8, w8, w9
	add	w23, w8, #2
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_tw32
	add	w20, w20, #4
	ldr	w9, [x21]
	mov	x8, x23
	cmp	w23, w9
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x19]
	sxtw	x9, w8
	ldr	w1, [x10, w8, sxtw #2]
	add	x23, x9, #1
	tst	w23, #0x7
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w9, w22, w8
	ldr	w11, [x10, x23, lsl #2]
	orr	w1, w11, w1, lsl #4
	add	x11, x23, #1
	tst	x11, #0x7
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x10, x11, lsl #2]
	orr	w1, w11, w1, lsl #4
	add	x11, x23, #2
	tst	x11, #0x7
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x10, x11, lsl #2]
	orr	w1, w11, w1, lsl #4
	add	x11, x23, #3
	tst	x11, #0x7
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x10, x11, lsl #2]
	orr	w1, w11, w1, lsl #4
	add	x11, x23, #4
	tst	x11, #0x7
	b.eq	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x10, x11, lsl #2]
	orr	w1, w11, w1, lsl #4
	add	x11, x23, #5
	tst	x11, #0x7
	b.eq	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x10, x11, lsl #2]
	orr	w1, w11, w1, lsl #4
	add	x11, x23, #6
	tst	x11, #0x7
	b.eq	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x10, x11, lsl #2]
	orr	w1, w11, w1, lsl #4
	add	x11, x23, #7
	tst	x11, #0x7
	b.eq	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x10, x11, lsl #2]
	orr	w1, w10, w1, lsl #4
	b	LBB0_2
LBB0_13:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_RSS_INDIR_TBL_0,4,2        ; @MAC_RSS_INDIR_TBL_0
	.comm	_TG3_RSS_INDIR_TBL_SIZE,4,2     ; @TG3_RSS_INDIR_TBL_SIZE
	.no_dead_strip	_tg3_rss_write_indir_tbl
.subsections_via_symbols
