	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_plan
_find_plan:                             ## @find_plan
	.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
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rdx)
	jle	LBB0_8
## %bb.1:
	movl	$16, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%r14), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r15), %r12
	addq	$24, %r14
	cmpq	%r12, %rbx
	jl	LBB0_2
	jmp	LBB0_5
LBB0_8:
	movl	$24, %edi
	callq	_malloc
	movq	%rax, %r12
	movq	%rax, (%r13)
	movl	$0, (%r15)
	jmp	LBB0_9
LBB0_3:
	movl	(%r15), %r12d
LBB0_5:
	movq	(%r13), %rdi
	cmpl	%ebx, %r12d
	jne	LBB0_6
## %bb.7:
	leal	(%r12,%r12,2), %eax
	leal	24(,%rax,8), %esi
	callq	_realloc
	movq	%rax, (%r13)
	movl	%r12d, %ecx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,8), %r12
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_strdup
	movl	%eax, 16(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12)
	incl	(%r15)
	jmp	LBB0_10
LBB0_6:
	movl	%ebx, %eax
	leaq	(%rax,%rax,2), %rax
	leaq	(%rdi,%rax,8), %r12
LBB0_10:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_plan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_plan
_find_plan:                             ; @find_plan
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w8, [x2]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
	mov	w24, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8, x24]
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldrsw	x23, [x19]
	add	x24, x24, #24
	cmp	x22, x23
	b.lt	LBB0_2
	b	LBB0_6
LBB0_4:
	mov	w0, #24
	bl	_malloc
	mov	x22, x0
	str	x0, [x21]
	str	wzr, [x19]
	b	LBB0_8
LBB0_5:
	ldr	w23, [x19]
LBB0_6:
	ldr	x0, [x21]
	cmp	w23, w22
	b.ne	LBB0_9
; %bb.7:
	mov	w22, #24
	orr	w8, wzr, #0x18
	madd	w1, w23, w22, w8
	bl	_realloc
	str	x0, [x21]
	umaddl	x22, w23, w22, x0
LBB0_8:
	mov	x0, x20
	bl	_strdup
	str	w0, [x22, #16]
	stp	xzr, xzr, [x22]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_10
LBB0_9:
	and	x8, x22, #0xffffffff
	mov	w9, #24
	madd	x22, x8, x9, x0
LBB0_10:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_plan
.subsections_via_symbols
