	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_ftm_responder_cmd
_iwl_mvm_ftm_responder_cmd:             ## @iwl_mvm_ftm_responder_cmd
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	_IWL_TOF_RESPONDER_CMD_VALID_CHAN_INFO@GOTPCREL(%rip), %rcx
	movq	_IWL_TOF_RESPONDER_CMD_VALID_BSSID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	movl	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_IWL_TOF_RESPONDER_CMD_VALID_STA_ID@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, -32(%rbp)
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	%r14, %rdi
	callq	_lockdep_assert_held
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	_IWL_TOF_BW_80@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_9:
	movl	$1, %edi
	callq	_WARN_ON
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_5:
	movq	_IWL_TOF_BW_40@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	%rbx, %rdi
	callq	_iwl_mvm_get_ctrl_pos
	movq	%rax, -48(%rbp)
	jmp	LBB0_7
LBB0_2:
	movq	_IWL_TOF_BW_20_LEGACY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_IWL_TOF_BW_20_HT@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
LBB0_7:
	movl	(%r15), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	callq	_memcpy
	movq	_TOF_RESPONDER_CONFIG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LOCATION_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_iwl_cmd_id
	leaq	-56(%rbp), %r8
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movl	$32, %ecx
	callq	_iwl_mvm_send_cmd_pdu
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_IWL_TOF_RESPONDER_CMD_VALID_CHAN_INFO,4,2 ## @IWL_TOF_RESPONDER_CMD_VALID_CHAN_INFO
	.comm	_IWL_TOF_RESPONDER_CMD_VALID_BSSID,4,2 ## @IWL_TOF_RESPONDER_CMD_VALID_BSSID
	.comm	_IWL_TOF_RESPONDER_CMD_VALID_STA_ID,4,2 ## @IWL_TOF_RESPONDER_CMD_VALID_STA_ID
	.comm	_IWL_TOF_BW_20_LEGACY,4,2       ## @IWL_TOF_BW_20_LEGACY
	.comm	_IWL_TOF_BW_20_HT,4,2           ## @IWL_TOF_BW_20_HT
	.comm	_IWL_TOF_BW_40,4,2              ## @IWL_TOF_BW_40
	.comm	_IWL_TOF_BW_80,4,2              ## @IWL_TOF_BW_80
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_TOF_RESPONDER_CONFIG_CMD,4,2   ## @TOF_RESPONDER_CONFIG_CMD
	.comm	_LOCATION_GROUP,4,2             ## @LOCATION_GROUP
	.no_dead_strip	_iwl_mvm_ftm_responder_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_ftm_responder_cmd
_iwl_mvm_ftm_responder_cmd:             ; @iwl_mvm_ftm_responder_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_iwl_mvm_vif_from_mac80211
	str	wzr, [sp]
	str	xzr, [sp, #8]
	ldr	w8, [x0]
	str	w8, [sp, #20]
Lloh0:
	adrp	x8, _IWL_TOF_RESPONDER_CMD_VALID_CHAN_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_TOF_RESPONDER_CMD_VALID_CHAN_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IWL_TOF_RESPONDER_CMD_VALID_BSSID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IWL_TOF_RESPONDER_CMD_VALID_BSSID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _IWL_TOF_RESPONDER_CMD_VALID_STA_ID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IWL_TOF_RESPONDER_CMD_VALID_STA_ID@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_cpu_to_le32
	str	w0, [sp, #24]
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	str	w8, [sp, #28]
	mov	x0, x19
	bl	_lockdep_assert_held
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh11:
	adrp	x8, _IWL_TOF_BW_80@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IWL_TOF_BW_80@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	mov	w0, #1
	bl	_WARN_ON
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_4:
Lloh16:
	adrp	x8, _IWL_TOF_BW_40@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IWL_TOF_BW_40@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	mov	x0, x21
	bl	_iwl_mvm_get_ctrl_pos
	str	x0, [sp, #8]
	b	LBB0_9
LBB0_6:
Lloh18:
	adrp	x8, _IWL_TOF_BW_20_LEGACY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IWL_TOF_BW_20_LEGACY@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh20:
	adrp	x8, _IWL_TOF_BW_20_HT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IWL_TOF_BW_20_HT@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	str	w8, [sp, #16]
LBB0_9:
	ldr	w1, [x20]
Lloh22:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	w0, #0
	bl	_memcpy
Lloh25:
	adrp	x8, _TOF_RESPONDER_CONFIG_CMD@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TOF_RESPONDER_CONFIG_CMD@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x8, _LOCATION_GROUP@GOTPAGE
Lloh29:
	ldr	x8, [x8, _LOCATION_GROUP@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_iwl_cmd_id
	mov	x1, x0
	mov	x4, sp
	mov	x0, x19
	mov	w2, #0
	mov	w3, #32
	bl	_iwl_mvm_send_cmd_pdu
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_IWL_TOF_RESPONDER_CMD_VALID_CHAN_INFO,4,2 ; @IWL_TOF_RESPONDER_CMD_VALID_CHAN_INFO
	.comm	_IWL_TOF_RESPONDER_CMD_VALID_BSSID,4,2 ; @IWL_TOF_RESPONDER_CMD_VALID_BSSID
	.comm	_IWL_TOF_RESPONDER_CMD_VALID_STA_ID,4,2 ; @IWL_TOF_RESPONDER_CMD_VALID_STA_ID
	.comm	_IWL_TOF_BW_20_LEGACY,4,2       ; @IWL_TOF_BW_20_LEGACY
	.comm	_IWL_TOF_BW_20_HT,4,2           ; @IWL_TOF_BW_20_HT
	.comm	_IWL_TOF_BW_40,4,2              ; @IWL_TOF_BW_40
	.comm	_IWL_TOF_BW_80,4,2              ; @IWL_TOF_BW_80
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_TOF_RESPONDER_CONFIG_CMD,4,2   ; @TOF_RESPONDER_CONFIG_CMD
	.comm	_LOCATION_GROUP,4,2             ; @LOCATION_GROUP
	.no_dead_strip	_iwl_mvm_ftm_responder_cmd
.subsections_via_symbols
