	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_tdls_config
_iwl_mvm_tdls_config:                   ## @iwl_mvm_tdls_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
	movq	%rdi, %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -64(%rbp)
	movl	$40, -56(%rbp)
	leaq	-112(%rbp), %rax
	movl	%eax, -52(%rbp)
	movq	_CMD_WANT_SKB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_TDLS_CONFIG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	%rsi, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_lockdep_assert_held
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_FW_CMD_ID_AND_COLOR
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, -80(%rbp)
	movq	_IWL_MVM_TDLS_FW_TID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_cpu_to_le16
	movq	%rax, -96(%rbp)
	movq	8(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	8(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %r13d
	movq	%r15, %rdi
	callq	_lockdep_is_held
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_rcu_dereference_protected
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 8(%r13)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rax
	movslq	%r12d, %r12
	movq	%r12, %r14
	shlq	$5, %r14
	movl	%ebx, (%rax,%r14)
	movq	_IWL_MVM_TDLS_FW_TID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rax,%r14)
	xorl	%edi, %edi
	callq	_cpu_to_le16
	movq	-104(%rbp), %rcx
	movq	%rax, 16(%rcx,%r14)
	xorl	%edi, %edi
	cmpq	$0, (%r13)
	setne	%dil
	callq	_cpu_to_le32
	movq	-104(%rbp), %rcx
	movq	%rax, 8(%rcx,%r14)
	incl	%r12d
	jmp	LBB0_5
LBB0_6:
	movl	%r12d, -112(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_IWL_DEBUG_TDLS
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_iwl_mvm_send_cmd
	movl	%eax, %edi
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	-64(%rbp), %rdi
	callq	_iwl_rx_packet_payload_len
	xorl	%edi, %edi
	cmpl	$4, %eax
	setne	%dil
	callq	_WARN_ON_ONCE
	leaq	-64(%rbp), %rdi
	callq	_iwl_free_resp
LBB0_8:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_WANT_SKB,4,2               ## @CMD_WANT_SKB
	.comm	_TDLS_CONFIG_CMD,4,2            ## @TDLS_CONFIG_CMD
	.comm	_IWL_MVM_TDLS_FW_TID,8,3        ## @IWL_MVM_TDLS_FW_TID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"send TDLS config to FW for %d peers\n"

	.no_dead_strip	_iwl_mvm_tdls_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_tdls_config
_iwl_mvm_tdls_config:                   ; @iwl_mvm_tdls_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x19, x0
	str	xzr, [sp, #64]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #32]
	str	xzr, [sp, #8]
	mov	w8, #40
	add	x9, sp, #32
	stp	w8, w9, [sp, #16]
Lloh0:
	adrp	x8, _CMD_WANT_SKB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_WANT_SKB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TDLS_CONFIG_CMD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TDLS_CONFIG_CMD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #24]
	mov	x0, x1
	bl	_iwl_mvm_vif_from_mac80211
	mov	x20, x0
	mov	x0, x19
	bl	_lockdep_assert_held
	ldp	w1, w0, [x20]
	bl	_FW_CMD_ID_AND_COLOR
	bl	_cpu_to_le32
Lloh6:
	adrp	x22, _IWL_MVM_TDLS_FW_TID@GOTPAGE
Lloh7:
	ldr	x22, [x22, _IWL_MVM_TDLS_FW_TID@GOTPAGEOFF]
	ldr	x8, [x22]
	stp	x8, x0, [sp, #56]
	mov	w0, #0
	bl	_cpu_to_le16
	str	x0, [sp, #48]
	ldr	x0, [x19, #8]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x23, #0
	mov	w20, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldr	x0, [x19, #8]
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w21, [x8, x23, lsl #2]
	mov	x0, x19
	bl	_lockdep_is_held
	mov	x1, x0
	mov	x0, x21
	bl	_rcu_dereference_protected
	mov	x21, x0
	bl	_IS_ERR_OR_NULL
	cbnz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #40]
	sbfiz	x24, x20, #5, #32
	add	x8, x8, x24
	str	w23, [x8]
	ldr	x9, [x22]
	str	x9, [x8, #24]
	mov	w0, #0
	bl	_cpu_to_le16
	ldr	x8, [sp, #40]
	add	x8, x8, x24
	str	x0, [x8, #16]
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, ne
	bl	_cpu_to_le32
	ldr	x8, [sp, #40]
	add	x8, x8, x24
	str	x0, [x8, #8]
	add	w20, w20, #1
	b	LBB0_2
LBB0_6:
	mov	w20, #0
LBB0_7:
	str	w20, [sp, #32]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_IWL_DEBUG_TDLS
	add	x1, sp, #8
	mov	x0, x19
	bl	_iwl_mvm_send_cmd
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_9
; %bb.8:
	ldr	x0, [sp, #8]
	bl	_iwl_rx_packet_payload_len
	cmp	w0, #4
	cset	w0, ne
	bl	_WARN_ON_ONCE
	add	x0, sp, #8
	bl	_iwl_free_resp
LBB0_9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_WANT_SKB,4,2               ; @CMD_WANT_SKB
	.comm	_TDLS_CONFIG_CMD,4,2            ; @TDLS_CONFIG_CMD
	.comm	_IWL_MVM_TDLS_FW_TID,8,3        ; @IWL_MVM_TDLS_FW_TID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"send TDLS config to FW for %d peers\n"

	.no_dead_strip	_iwl_mvm_tdls_config
.subsections_via_symbols
