	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_findfunc                       ## -- Begin function findfunc
	.p2align	4, 0x90
_findfunc:                              ## @findfunc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_findfunc.cursor(%rip), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	%rsi, (%rax)
	je	LBB0_4
LBB0_2:
	movq	%rsi, %rdi
	callq	_findfile
	movq	%rax, _findfunc.cursor(%rip)
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	movq	8(%rax), %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	je	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, (%rcx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_6
	jmp	LBB0_9
LBB0_3:
	movl	$-1, %eax
	jmp	LBB0_9
LBB0_8:
	movl	8(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_findfunc.cursor,8,3 ## @findfunc.cursor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_findfunc                       ; -- Begin function findfunc
	.p2align	2
_findfunc:                              ; @findfunc
	.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
	mov	x19, x0
	adrp	x20, _findfunc.cursor@PAGE
	ldr	x0, [x20, _findfunc.cursor@PAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x0]
	cmp	x8, x1
	b.eq	LBB0_3
LBB0_2:
	mov	x0, x1
	bl	_findfile
	str	x0, [x20, _findfunc.cursor@PAGEOFF]
	cbz	x0, LBB0_6
LBB0_3:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8]
	cmp	x9, x19
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_4
LBB0_6:
	mov	w0, #-1
	b	LBB0_8
LBB0_7:
	ldr	w0, [x8, #8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_findfunc.cursor,8,3 ; @findfunc.cursor
.subsections_via_symbols
