	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function makesearch
_makesearch:                            ## @makesearch
	.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	8(%rsi), %r12
	movq	16(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_PLAIN@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	sete	%dil
	callq	_assert
	movq	8(%rbx), %rax
	movq	(%r14), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	8(%rcx), %rax
	je	LBB0_4
## %bb.5:
	movl	(%r15), %esi
	movq	(%r13), %rdx
	movq	_COLORLESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r12, %r8
	movq	%r12, %r9
	callq	_rainbow
	movq	(%r13), %rsi
	movq	(%r14), %rax
	movq	(%rax), %rdx
	movq	%r14, %rdi
	movq	%r12, %rcx
	movq	%r12, %r8
	callq	_newarc
	movq	(%r13), %rsi
	movq	(%r14), %rax
	movq	8(%rax), %rdx
	movq	%r14, %rdi
	movq	%r12, %rcx
	movq	%r12, %r8
	callq	_newarc
LBB0_6:
	movq	16(%r12), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, (%rcx)
	je	LBB0_21
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	40(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
	movq	32(%rax), %rcx
	movq	8(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_22
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r12, 16(%rdx)
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_19 Depth=2
	movq	24(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_19
	jmp	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_8 Depth=1
	testq	%rbx, %rbx
	cmoveq	%rcx, %rbx
	movq	%rbx, (%rcx)
	movq	%rcx, %rbx
	jmp	LBB0_22
LBB0_9:
	testq	%rbx, %rbx
	je	LBB0_16
	.p2align	4, 0x90
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	%r14, %rdi
	callq	_newstate
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_NOERR
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_copyouts
	xorl	%eax, %eax
	callq	_NOERR
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_11
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	$0, (%rcx)
	cmpq	%rcx, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	%r15, %rbx
	testq	%r15, %r15
	je	LBB0_14
LBB0_11:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rbx), %rdx
	movq	24(%rbx), %r15
	cmpq	%r12, %rdx
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rcx
	callq	_cparc
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_freearc
	jmp	LBB0_13
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLAIN,8,3                      ## @PLAIN
	.comm	_COLORLESS,4,2                  ## @COLORLESS
	.no_dead_strip	_makesearch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function makesearch
_makesearch:                            ; @makesearch
	.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
	ldr	x20, [x1, #8]
	ldr	x23, [x20, #16]
	cbz	x23, LBB0_15
; %bb.1:
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _PLAIN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PLAIN@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x23, #40]
	cbz	x23, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x22]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	x8, [x23, #8]
	ldr	x9, [x19]
	ldr	x10, [x9]
	cmp	x8, x10
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x9, #8]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.5:
	ldr	w1, [x21]
	ldr	x2, [x22]
Lloh2:
	adrp	x8, _COLORLESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _COLORLESS@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x4, x20
	mov	x5, x20
	bl	_rainbow
	ldr	x1, [x22]
	ldr	x8, [x19]
	ldr	x2, [x8]
	mov	x0, x19
	mov	x3, x20
	mov	x4, x20
	bl	_newarc
	ldr	x1, [x22]
	ldr	x8, [x19]
	ldr	x2, [x8, #8]
	mov	x0, x19
	mov	x3, x20
	mov	x4, x20
	bl	_newarc
LBB0_6:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_15
; %bb.7:
	mov	x21, #0
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x10, [x9]
	cbz	x10, LBB0_13
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x8, #40]
	cbz	x8, LBB0_14
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x9, [x8, #32]
	ldr	x10, [x9, #8]
	cbz	x10, LBB0_9
LBB0_11:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x10, #16]
	cmp	x11, x20
	b.ne	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x10, [x10, #24]
	cbnz	x10, LBB0_11
	b	LBB0_9
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	x21, #0
	csel	x10, x9, x21, eq
	str	x10, [x9]
	mov	x21, x9
	b	LBB0_9
LBB0_14:
	cbnz	x21, LBB0_17
LBB0_15:
	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
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x21]
	str	xzr, [x21]
	cmp	x8, x21
	ccmp	x8, #0, #4, ne
	mov	x21, x8
	b.eq	LBB0_15
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	mov	x0, x19
	bl	_newstate
	mov	x22, x0
	bl	_NOERR
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_copyouts
	bl	_NOERR
	ldr	x23, [x21, #8]
	cbnz	x23, LBB0_19
	b	LBB0_16
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	mov	x23, x24
	cbz	x24, LBB0_16
LBB0_19:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x2, x24, [x23, #16]
	cmp	x2, x20
	b.eq	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	mov	x0, x19
	mov	x1, x23
	mov	x3, x22
	bl	_cparc
	mov	x0, x19
	mov	x1, x23
	bl	_freearc
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PLAIN,8,3                      ; @PLAIN
	.comm	_COLORLESS,4,2                  ; @COLORLESS
	.no_dead_strip	_makesearch
.subsections_via_symbols
