	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_ftm_responder_stats    ## -- Begin function iwl_mvm_ftm_responder_stats
	.p2align	4, 0x90
_iwl_mvm_ftm_responder_stats:           ## @iwl_mvm_ftm_responder_stats
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	(%rax), %r15
	movl	12(%r15), %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movl	(%r15), %eax
	cmpl	4(%r15), %eax
	jne	LBB0_2
## %bb.1:
	leaq	32(%r14), %rax
	jmp	LBB0_5
LBB0_2:
	cmpl	$2, %eax
	jl	LBB0_4
## %bb.3:
	leaq	28(%r14), %rax
	jmp	LBB0_5
LBB0_4:
	leaq	24(%r14), %rax
LBB0_5:
	incl	(%rax)
	movq	_FTM_RESP_STAT_ASAP_REQ@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.6:
	movq	_FTM_RESP_STAT_ASAP_RESP@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	incl	20(%r14)
LBB0_8:
	movq	_FTM_RESP_STAT_NON_ASAP_RESP@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.9:
	incl	16(%r14)
LBB0_10:
	movl	8(%r15), %edi
	callq	_le32_to_cpu
	movq	_USEC_PER_MSEC@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	addl	%eax, (%r14)
	movq	_FTM_RESP_STAT_TRIGGER_UNKNOWN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.11:
	incl	12(%r14)
LBB0_12:
	movq	_FTM_RESP_STAT_DUP@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_14
## %bb.13:
	incl	8(%r14)
LBB0_14:
	movq	_FTM_RESP_STAT_NON_ASAP_OUT_WIN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_16
## %bb.15:
	incl	4(%r14)
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FTM_RESP_STAT_ASAP_REQ,4,2     ## @FTM_RESP_STAT_ASAP_REQ
	.comm	_FTM_RESP_STAT_ASAP_RESP,4,2    ## @FTM_RESP_STAT_ASAP_RESP
	.comm	_FTM_RESP_STAT_NON_ASAP_RESP,4,2 ## @FTM_RESP_STAT_NON_ASAP_RESP
	.comm	_USEC_PER_MSEC,4,2              ## @USEC_PER_MSEC
	.comm	_FTM_RESP_STAT_TRIGGER_UNKNOWN,4,2 ## @FTM_RESP_STAT_TRIGGER_UNKNOWN
	.comm	_FTM_RESP_STAT_DUP,4,2          ## @FTM_RESP_STAT_DUP
	.comm	_FTM_RESP_STAT_NON_ASAP_OUT_WIN,4,2 ## @FTM_RESP_STAT_NON_ASAP_OUT_WIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_ftm_responder_stats    ; -- Begin function iwl_mvm_ftm_responder_stats
	.p2align	2
_iwl_mvm_ftm_responder_stats:           ; @iwl_mvm_ftm_responder_stats
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	mov	x0, x1
	bl	_rxb_addr
	ldr	x21, [x0]
	ldr	w0, [x21, #12]
	bl	_le32_to_cpu
	mov	x20, x0
	ldp	w8, w9, [x21]
	cmp	w8, #2
	add	x10, x19, #24
	add	x11, x19, #28
	csel	x10, x10, x11, lt
	add	x11, x19, #32
	cmp	w8, w9
	csel	x8, x10, x11, ne
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh0:
	adrp	x8, _FTM_RESP_STAT_ASAP_REQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FTM_RESP_STAT_ASAP_REQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _FTM_RESP_STAT_ASAP_RESP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FTM_RESP_STAT_ASAP_RESP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x19, #20]
	add	w8, w8, #1
	str	w8, [x19, #20]
LBB0_3:
Lloh6:
	adrp	x8, _FTM_RESP_STAT_NON_ASAP_RESP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FTM_RESP_STAT_NON_ASAP_RESP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
LBB0_5:
	ldr	w0, [x21, #8]
	bl	_le32_to_cpu
Lloh9:
	adrp	x8, _USEC_PER_MSEC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _USEC_PER_MSEC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	sdiv	w8, w0, w8
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
Lloh12:
	adrp	x8, _FTM_RESP_STAT_TRIGGER_UNKNOWN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FTM_RESP_STAT_TRIGGER_UNKNOWN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
LBB0_7:
Lloh15:
	adrp	x8, _FTM_RESP_STAT_DUP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FTM_RESP_STAT_DUP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_9
; %bb.8:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_9:
Lloh18:
	adrp	x8, _FTM_RESP_STAT_NON_ASAP_OUT_WIN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FTM_RESP_STAT_NON_ASAP_OUT_WIN@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.10:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_FTM_RESP_STAT_ASAP_REQ,4,2     ; @FTM_RESP_STAT_ASAP_REQ
	.comm	_FTM_RESP_STAT_ASAP_RESP,4,2    ; @FTM_RESP_STAT_ASAP_RESP
	.comm	_FTM_RESP_STAT_NON_ASAP_RESP,4,2 ; @FTM_RESP_STAT_NON_ASAP_RESP
	.comm	_USEC_PER_MSEC,4,2              ; @USEC_PER_MSEC
	.comm	_FTM_RESP_STAT_TRIGGER_UNKNOWN,4,2 ; @FTM_RESP_STAT_TRIGGER_UNKNOWN
	.comm	_FTM_RESP_STAT_DUP,4,2          ; @FTM_RESP_STAT_DUP
	.comm	_FTM_RESP_STAT_NON_ASAP_OUT_WIN,4,2 ; @FTM_RESP_STAT_NON_ASAP_OUT_WIN
.subsections_via_symbols
