	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_evq_find                    ## -- Begin function pt_evq_find
	.p2align	4, 0x90
_pt_evq_find:                           ## @pt_evq_find
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	_evb_max@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jbe	LBB0_8
## %bb.2:
	movq	%rdi, %rbx
	movl	%esi, %r12d
	movq	(%rdi), %rax
	movq	(%rax,%r12,8), %rax
	movq	_evq_max@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%r14d, %r14d
	cmpq	%rax, %rcx
	jle	LBB0_8
## %bb.3:
	movl	%edx, %r15d
	movq	8(%rbx), %rdx
	movq	(%rdx,%r12,8), %r13
	cmpq	%r13, %rcx
	jle	LBB0_8
## %bb.4:
	xorl	%r14d, %r14d
	cmpq	%r13, %rax
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rcx
	movq	(%rcx,%r12,8), %rcx
	cmpl	%r15d, (%rcx,%rax,4)
	je	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rdi
	callq	_pt_evq_inc
	cmpq	%r13, %rax
	jne	LBB0_6
	jmp	LBB0_8
LBB0_7:
	leaq	(%rcx,%rax,4), %r14
LBB0_8:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_evb_max,4,2                    ## @evb_max
	.comm	_evq_max,8,3                    ## @evq_max
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_evq_find                    ; -- Begin function pt_evq_find
	.p2align	2
_pt_evq_find:                           ; @pt_evq_find
	.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	x8, #0
	cbz	x0, LBB0_8
; %bb.1:
Lloh0:
	adrp	x9, _evb_max@GOTPAGE
Lloh1:
	ldr	x9, [x9, _evb_max@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w1
	b.ls	LBB0_8
; %bb.2:
	mov	x20, x0
	mov	w21, w1
	lsl	x8, x21, #3
	ldp	x9, x10, [x0]
	ldr	x0, [x9, x8]
	ldr	x22, [x10, x8]
Lloh3:
	adrp	x8, _evq_max@GOTPAGE
Lloh4:
	ldr	x8, [x8, _evq_max@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x0
	ccmp	x8, x22, #4, gt
	b.le	LBB0_7
; %bb.3:
	cmp	x0, x22
	b.eq	LBB0_7
; %bb.4:
	mov	x19, x2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x21, lsl #3]
	add	x8, x8, x0, lsl #2
	ldr	w9, [x8]
	cmp	w9, w19
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_pt_evq_inc
	cmp	x0, x22
	b.ne	LBB0_5
LBB0_7:
	mov	x8, #0
LBB0_8:
	mov	x0, x8
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_evb_max,4,2                    ; @evb_max
	.comm	_evq_max,8,3                    ; @evq_max
.subsections_via_symbols
