	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_dbgfs_indirection_tbl_write
_iwl_dbgfs_indirection_tbl_write:       ## @iwl_dbgfs_indirection_tbl_write
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_IWL_RSS_HASH_TYPE_IPV4_TCP@GOTPCREL(%rip), %rax
	movq	_IWL_RSS_HASH_TYPE_IPV4_UDP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IWL_RSS_HASH_TYPE_IPV4_PAYLOAD@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_IWL_RSS_HASH_TYPE_IPV6_TCP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_IWL_RSS_HASH_TYPE_IPV6_UDP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_IWL_RSS_HASH_TYPE_IPV6_PAYLOAD@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -80(%rbp)
	movl	$0, -76(%rbp)
	movq	$0, -72(%rbp)
	movq	_IWL_RSS_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, -64(%rbp)
	movq	%r14, %r13
	shrq	%r13
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_hex2bin
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	xorl	%edi, %edi
	callq	_ARRAY_SIZE
	cltd
	idivl	%r13d
	movl	%eax, %r12d
	movl	$1, %eax
	cmpl	$2, %r12d
	jl	LBB0_5
## %bb.2:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %r14d
	movslq	%r13d, %r15
	shlq	$2, %r15
	decq	%r14
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memcpy
	addq	%r15, %rbx
	decq	%r14
	jne	LBB0_3
## %bb.4:
	movl	%r12d, %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_5:
	imull	%r13d, %eax
	movslq	%eax, %rbx
	shlq	$2, %rbx
	xorl	%edi, %edi
	callq	_ARRAY_SIZE
	cltd
	idivl	%r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memcpy
	xorl	%edi, %edi
	movl	$4, %esi
	callq	_netdev_rss_key_fill
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	%r15, %rdi
	callq	_iwl_mvm_firmware_running
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	_RSS_CONFIG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %r8
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$24, %ecx
	callq	_iwl_mvm_send_cmd_pdu
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.8:
	movl	%ebx, %r14d
	jmp	LBB0_9
LBB0_6:
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_9:
	movl	%r14d, %eax
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_RSS_HASH_TYPE_IPV4_TCP,4,2 ## @IWL_RSS_HASH_TYPE_IPV4_TCP
	.comm	_IWL_RSS_HASH_TYPE_IPV4_UDP,4,2 ## @IWL_RSS_HASH_TYPE_IPV4_UDP
	.comm	_IWL_RSS_HASH_TYPE_IPV4_PAYLOAD,4,2 ## @IWL_RSS_HASH_TYPE_IPV4_PAYLOAD
	.comm	_IWL_RSS_HASH_TYPE_IPV6_TCP,4,2 ## @IWL_RSS_HASH_TYPE_IPV6_TCP
	.comm	_IWL_RSS_HASH_TYPE_IPV6_UDP,4,2 ## @IWL_RSS_HASH_TYPE_IPV6_UDP
	.comm	_IWL_RSS_HASH_TYPE_IPV6_PAYLOAD,4,2 ## @IWL_RSS_HASH_TYPE_IPV6_PAYLOAD
	.comm	_IWL_RSS_ENABLE,4,2             ## @IWL_RSS_ENABLE
	.comm	_RSS_CONFIG_CMD,4,2             ## @RSS_CONFIG_CMD
	.no_dead_strip	_iwl_dbgfs_indirection_tbl_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_dbgfs_indirection_tbl_write
_iwl_dbgfs_indirection_tbl_write:       ; @iwl_dbgfs_indirection_tbl_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _IWL_RSS_HASH_TYPE_IPV4_TCP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_RSS_HASH_TYPE_IPV4_TCP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IWL_RSS_HASH_TYPE_IPV4_UDP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IWL_RSS_HASH_TYPE_IPV4_UDP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _IWL_RSS_HASH_TYPE_IPV4_PAYLOAD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IWL_RSS_HASH_TYPE_IPV4_PAYLOAD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _IWL_RSS_HASH_TYPE_IPV6_TCP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IWL_RSS_HASH_TYPE_IPV6_TCP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _IWL_RSS_HASH_TYPE_IPV6_UDP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IWL_RSS_HASH_TYPE_IPV6_UDP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _IWL_RSS_HASH_TYPE_IPV6_PAYLOAD@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IWL_RSS_HASH_TYPE_IPV6_PAYLOAD@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
	stp	w8, wzr, [sp, #8]
	str	xzr, [sp, #16]
Lloh18:
	adrp	x8, _IWL_RSS_ENABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IWL_RSS_ENABLE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	w0, [sp, #24]
	lsr	x21, x19, #1
	mov	x0, #0
	mov	x1, x22
	mov	x2, x21
	bl	_hex2bin
	cbnz	w0, LBB0_10
; %bb.1:
	mov	x0, #0
	bl	_ARRAY_SIZE
	sdiv	w23, w0, w21
	cmp	w23, #2
	b.lt	LBB0_4
; %bb.2:
	sbfiz	x24, x21, #2, #32
	sub	x25, x23, #1
	mov	x22, x24
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, #0
	mov	x2, x21
	bl	_memcpy
	add	x22, x22, x24
	subs	x25, x25, #1
	b.ne	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	w23, #1
LBB0_5:
	mul	w8, w23, w21
	sbfiz	x22, x8, #2, #32
	mov	x0, #0
	bl	_ARRAY_SIZE
	sdiv	w8, w0, w21
	msub	w2, w8, w21, w0
	mov	x0, x22
	mov	x1, #0
	bl	_memcpy
	mov	w0, #0
	mov	w1, #4
	bl	_netdev_rss_key_fill
	mov	x0, x20
	bl	_mutex_lock
	mov	x0, x20
	bl	_iwl_mvm_firmware_running
	cbz	x0, LBB0_8
; %bb.6:
Lloh21:
	adrp	x8, _RSS_CONFIG_CMD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RSS_CONFIG_CMD@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	add	x4, sp, #8
	mov	x0, x20
	mov	w2, #0
	mov	w3, #24
	bl	_iwl_mvm_send_cmd_pdu
	mov	x21, x0
	mov	x0, x20
	bl	_mutex_unlock
	cbz	w21, LBB0_9
; %bb.7:
	mov	w19, w21
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_mutex_unlock
LBB0_9:
	mov	x0, x19
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_RSS_HASH_TYPE_IPV4_TCP,4,2 ; @IWL_RSS_HASH_TYPE_IPV4_TCP
	.comm	_IWL_RSS_HASH_TYPE_IPV4_UDP,4,2 ; @IWL_RSS_HASH_TYPE_IPV4_UDP
	.comm	_IWL_RSS_HASH_TYPE_IPV4_PAYLOAD,4,2 ; @IWL_RSS_HASH_TYPE_IPV4_PAYLOAD
	.comm	_IWL_RSS_HASH_TYPE_IPV6_TCP,4,2 ; @IWL_RSS_HASH_TYPE_IPV6_TCP
	.comm	_IWL_RSS_HASH_TYPE_IPV6_UDP,4,2 ; @IWL_RSS_HASH_TYPE_IPV6_UDP
	.comm	_IWL_RSS_HASH_TYPE_IPV6_PAYLOAD,4,2 ; @IWL_RSS_HASH_TYPE_IPV6_PAYLOAD
	.comm	_IWL_RSS_ENABLE,4,2             ; @IWL_RSS_ENABLE
	.comm	_RSS_CONFIG_CMD,4,2             ; @RSS_CONFIG_CMD
	.no_dead_strip	_iwl_dbgfs_indirection_tbl_write
.subsections_via_symbols
