	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotLoadMatchPieces             ## -- Begin function BotLoadMatchPieces
	.p2align	4, 0x90
_BotLoadMatchPieces:                    ## @BotLoadMatchPieces
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_qfalse@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	-88(%rbp), %r13
	xorl	%r15d, %r15d
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_PC_ReadToken
	testq	%rax, %rax
	je	LBB0_26
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-88(%rbp), %rax
	movq	_TT_NUMBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_TT_INTEGER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, -80(%rbp)
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rax
	movq	_MAX_MATCHVARIABLES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	testq	%rax, %rax
	js	LBB0_29
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rdx, %rax
	jge	LBB0_29
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_31
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$32, %edi
	callq	_GetClearedHunkMemory
	movq	_MT_VARIABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	-72(%rbp), %rcx
	movq	%rcx, (%rax)
	movq	$0, 16(%rax)
	testq	%r15, %r15
	je	LBB0_22
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, 16(%r15)
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_TT_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$32, %edi
	callq	_GetClearedHunkMemory
	movq	%rax, %r14
	movq	$0, 8(%rax)
	movq	_MT_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	$0, (%r14)
	movq	$0, 16(%r14)
	testq	%r15, %r15
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, 16(%r15)
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	addq	$8, %r14
	movl	(%r12), %r13d
	xorl	%eax, %eax
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_TT_STRING@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	leaq	-88(%rbp), %rcx
	callq	_PC_ExpectTokenType
	testl	%eax, %eax
	je	LBB0_32
LBB0_15:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-64(%rbp), %rdi
	callq	_StripDoubleQuotes
	movq	-64(%rbp), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	17(%rax), %edi
	callq	_GetClearedHunkMemory
	movq	%rax, %r15
	leaq	16(%rax), %rdi
	movq	%rdi, (%rax)
	movq	-64(%rbp), %rsi
	callq	_strcpy
	movq	-64(%rbp), %rdi
	callq	_strlen
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	$0, 8(%r15)
	leaq	8(%r12), %rax
	testq	%r12, %r12
	cmoveq	%r14, %rax
	movq	%r15, (%rax)
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_PC_CheckTokenString
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	(%r14), %rax
	movq	%r15, %r12
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, %r13d
	movq	_qfalse@GOTPCREL(%rip), %r12
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	leaq	-88(%rbp), %r13
	jmp	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_23:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r15
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_PC_CheckTokenString
	testq	%rax, %rax
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_PC_ExpectTokenString
	testl	%eax, %eax
	jne	LBB0_1
	jmp	LBB0_32
LBB0_26:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_27:
	movq	-64(%rbp), %rdx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_30
LBB0_29:
	leaq	L_.str(%rip), %rsi
LBB0_30:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_SourceError
	jmp	LBB0_32
LBB0_31:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_SourceError
LBB0_32:
	movq	%rbx, %rdi
	callq	_FreeSource
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_BotFreeMatchPieces
	xorl	%eax, %eax
LBB0_33:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_TT_NUMBER,8,3                  ## @TT_NUMBER
	.comm	_TT_INTEGER,4,2                 ## @TT_INTEGER
	.comm	_MAX_MATCHVARIABLES,8,3         ## @MAX_MATCHVARIABLES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't have more than %d match variables\n"

L_.str.1:                               ## @.str.1
	.asciz	"not allowed to have adjacent variables\n"

	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_MT_VARIABLE,4,2                ## @MT_VARIABLE
	.comm	_TT_STRING,8,3                  ## @TT_STRING
	.comm	_MT_STRING,4,2                  ## @MT_STRING
L_.str.2:                               ## @.str.2
	.asciz	"|"

L_.str.3:                               ## @.str.3
	.asciz	"invalid token %s\n"

L_.str.4:                               ## @.str.4
	.asciz	","

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotLoadMatchPieces             ; -- Begin function BotLoadMatchPieces
	.p2align	2
_BotLoadMatchPieces:                    ; @BotLoadMatchPieces
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	str	xzr, [sp, #24]                  ; 8-byte Folded Spill
	mov	x25, #0
Lloh0:
	adrp	x8, _qfalse@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
Lloh3:
	adrp	x21, _TT_NUMBER@GOTPAGE
Lloh4:
	ldr	x21, [x21, _TT_NUMBER@GOTPAGEOFF]
Lloh5:
	adrp	x23, _qtrue@GOTPAGE
Lloh6:
	ldr	x23, [x23, _qtrue@GOTPAGEOFF]
Lloh7:
	adrp	x28, _TT_STRING@GOTPAGE
Lloh8:
	ldr	x28, [x28, _TT_STRING@GOTPAGEOFF]
Lloh9:
	adrp	x22, l_.str.2@PAGE
Lloh10:
	add	x22, x22, l_.str.2@PAGEOFF
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	add	x1, sp, #32
	mov	x0, x20
	bl	_PC_ReadToken
	cbz	x0, LBB0_22
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [sp, #32]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [sp, #40]
Lloh11:
	adrp	x10, _TT_INTEGER@GOTPAGE
Lloh12:
	ldr	x10, [x10, _TT_INTEGER@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [sp, #48]
Lloh14:
	adrp	x8, _MAX_MATCHVARIABLES@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_MATCHVARIABLES@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	tbnz	x9, #63, LBB0_24
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	x9, x8
	b.ge	LBB0_24
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	cbnz	w27, LBB0_25
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w27, [x23]
	mov	w0, #32
	bl	_GetClearedHunkMemory
Lloh17:
	adrp	x8, _MT_VARIABLE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MT_VARIABLE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	ldr	x8, [sp, #48]
	str	x8, [x0]
	str	xzr, [x0, #16]
	cbz	x25, LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	str	x0, [x25, #16]
	b	LBB0_19
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #32
	bl	_GetClearedHunkMemory
	mov	x19, x0
	mov	x24, x0
	str	xzr, [x24, #8]!
Lloh20:
	adrp	x8, _MT_STRING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MT_STRING@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	str	xzr, [x0]
	str	xzr, [x0, #16]
	cbz	x25, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	str	x19, [x25, #16]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_1 Depth=1
	str	x19, [sp, #24]                  ; 8-byte Folded Spill
LBB0_13:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x8, #0
	mov	x26, #0
Lloh23:
	adrp	x9, _qfalse@GOTPAGE
Lloh24:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
Lloh25:
	ldr	w21, [x9]
	cbz	x8, LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x1, [x28]
	add	x3, sp, #32
	mov	x0, x20
	mov	w2, #0
	bl	_PC_ExpectTokenType
	cbz	w0, LBB0_27
LBB0_15:                                ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [sp, #56]
	bl	_StripDoubleQuotes
	ldr	x0, [sp, #56]
	bl	_strlen
	add	w0, w0, #17
	bl	_GetClearedHunkMemory
	mov	x25, x0
	add	x0, x0, #16
	str	x0, [x25]
	ldr	x1, [sp, #56]
	bl	_strcpy
	ldr	x0, [sp, #56]
	bl	_strlen
	ldr	w8, [x23]
	cmp	w0, #0
	csel	w21, w8, w21, eq
	str	xzr, [x25, #8]
	add	x8, x26, #8
	cmp	x26, #0
	csel	x8, x24, x8, eq
	str	x25, [x8]
	mov	x0, x20
	mov	x1, x22
	bl	_PC_CheckTokenString
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	x8, [x24]
	mov	x26, x25
	cbnz	x8, LBB0_14
	b	LBB0_15
LBB0_17:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh26:
	adrp	x8, _qfalse@GOTPAGE
Lloh27:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w21, #0
	csel	w27, w8, w27, eq
	mov	x25, x19
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
Lloh29:
	adrp	x21, _TT_NUMBER@GOTPAGE
Lloh30:
	ldr	x21, [x21, _TT_NUMBER@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_1 Depth=1
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
LBB0_19:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x25, x0
LBB0_20:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_PC_CheckTokenString
	cbnz	x0, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
Lloh31:
	adrp	x1, l_.str.4@PAGE
Lloh32:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_PC_ExpectTokenString
	cbnz	w0, LBB0_1
	b	LBB0_27
LBB0_22:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	b	LBB0_28
LBB0_23:
	ldr	x8, [sp, #56]
	str	x8, [sp]
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_26
LBB0_24:
	str	x8, [sp]
Lloh35:
	adrp	x1, l_.str@PAGE
Lloh36:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_26
LBB0_25:
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_26:
	mov	x0, x20
	bl	_SourceError
LBB0_27:
	mov	x0, x20
	bl	_FreeSource
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_BotFreeMatchPieces
	mov	x0, #0
LBB0_28:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_TT_NUMBER,8,3                  ; @TT_NUMBER
	.comm	_TT_INTEGER,4,2                 ; @TT_INTEGER
	.comm	_MAX_MATCHVARIABLES,8,3         ; @MAX_MATCHVARIABLES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't have more than %d match variables\n"

l_.str.1:                               ; @.str.1
	.asciz	"not allowed to have adjacent variables\n"

	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_MT_VARIABLE,4,2                ; @MT_VARIABLE
	.comm	_TT_STRING,8,3                  ; @TT_STRING
	.comm	_MT_STRING,4,2                  ; @MT_STRING
l_.str.2:                               ; @.str.2
	.asciz	"|"

l_.str.3:                               ; @.str.3
	.asciz	"invalid token %s\n"

l_.str.4:                               ; @.str.4
	.asciz	","

.subsections_via_symbols
