	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_ftm_abort              ## -- Begin function iwl_mvm_ftm_abort
	.p2align	4, 0x90
_iwl_mvm_ftm_abort:                     ## @iwl_mvm_ftm_abort
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %eax
	movl	%eax, -24(%rbp)
	addq	$8, %rdi
	callq	_lockdep_assert_held
	cmpq	%rbx, (%r14)
	jne	LBB0_3
## %bb.1:
	movq	_TOF_RANGE_ABORT_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LOCATION_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_iwl_cmd_id
	leaq	-24(%rbp), %r8
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movl	$4, %ecx
	callq	_iwl_mvm_send_cmd_pdu
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_IWL_ERR
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOF_RANGE_ABORT_CMD,4,2        ## @TOF_RANGE_ABORT_CMD
	.comm	_LOCATION_GROUP,4,2             ## @LOCATION_GROUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to abort FTM process\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_ftm_abort              ; -- Begin function iwl_mvm_ftm_abort
	.p2align	2
_iwl_mvm_ftm_abort:                     ; @iwl_mvm_ftm_abort
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
	str	w8, [sp, #8]
	add	x0, x0, #8
	bl	_lockdep_assert_held
	ldr	x8, [x19]
	cmp	x8, x20
	b.ne	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _TOF_RANGE_ABORT_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOF_RANGE_ABORT_CMD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _LOCATION_GROUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LOCATION_GROUP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_iwl_cmd_id
	mov	x1, x0
	add	x4, sp, #8
	mov	x0, x19
	mov	w2, #0
	mov	w3, #4
	bl	_iwl_mvm_send_cmd_pdu
	cbz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_ERR
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TOF_RANGE_ABORT_CMD,4,2        ; @TOF_RANGE_ABORT_CMD
	.comm	_LOCATION_GROUP,4,2             ; @LOCATION_GROUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to abort FTM process\n"

.subsections_via_symbols
