	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pri_detector_add_pulse
_pri_detector_add_pulse:                ## @pri_detector_add_pulse
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rsi), %rcx
	movq	8(%rdi), %rax
	cmpq	%rcx, (%rax)
	jg	LBB0_9
## %bb.1:
	cmpq	%rcx, 8(%rax)
	jl	LBB0_9
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rsi), %r14
	movq	%r14, %rcx
	subq	(%rdi), %rcx
	cmpq	16(%rax), %rcx
	jl	LBB0_9
## %bb.3:
	movq	24(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	cmpq	16(%rsi), %rax
	jne	LBB0_9
LBB0_5:
	movq	%r14, (%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_pseq_handler_add_to_existing_seqs
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_pseq_handler_create_sequences
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	callq	_pseq_handler_check_detection
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_pulse_queue_enqueue
	jmp	LBB0_9
LBB0_6:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_pri_detector_reset
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pri_detector_add_pulse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pri_detector_add_pulse
_pri_detector_add_pulse:                ; @pri_detector_add_pulse
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	ldr	x10, [x8]
	ldr	x9, [x1, #8]
	cmp	x10, x9
	b.gt	LBB0_9
; %bb.1:
	ldr	x10, [x8, #8]
	cmp	x10, x9
	b.lt	LBB0_9
; %bb.2:
	mov	x19, x0
	ldr	x20, [x1]
	ldr	x9, [x0]
	ldr	x10, [x8, #16]
	sub	x9, x20, x9
	cmp	x9, x10
	b.lt	LBB0_9
; %bb.3:
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x9, [x1, #16]
	cmp	x8, x9
	b.ne	LBB0_9
LBB0_5:
	str	x20, [x19]
	mov	x0, x19
	mov	x1, x20
	bl	_pseq_handler_add_to_existing_seqs
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_pseq_handler_create_sequences
	cbz	w0, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_pseq_handler_check_detection
	cbnz	x0, LBB0_10
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	bl	_pulse_queue_enqueue
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	bl	_pri_detector_reset
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pri_detector_add_pulse
.subsections_via_symbols
