	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_table
_check_table:                           ## @check_table
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, %r15d
	testq	%rdi, %rdi
	je	LBB0_31
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_31
## %bb.2:
	movq	%rdi, %r12
	movq	(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_31
## %bb.3:
	addq	$4, %rsi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	$-1, %ebx
	xorl	%r15d, %r15d
	movq	%r12, %rcx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	shlq	$4, %r15
	movq	8(%r12,%r15), %r13
	testq	%r13, %r13
	je	LBB0_33
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movzbl	(%r14), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_30
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%r13), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_30
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movsbl	(%r14), %eax
	movsbl	(%r13), %esi
	testl	%eax, %eax
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	testb	%sil, %sil
	je	LBB0_30
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	$1, %r12d
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
                                        ## kill: def $al killed $al killed $eax
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movzbl	-1(%r13,%r12), %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=2
	cmpb	$45, -1(%r14,%r12)
	jne	LBB0_29
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpb	$45, -1(%r13,%r12)
	jne	LBB0_29
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=2
	movzbl	(%r14,%r12), %eax
	movzbl	(%r13,%r12), %ecx
	testb	%al, %al
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=2
	incq	%r12
	testb	%cl, %cl
	jne	LBB0_10
	jmp	LBB0_29
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%esi, %ecx
	testb	%cl, %cl
	je	LBB0_18
	jmp	LBB0_30
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	testb	%cl, %cl
	jne	LBB0_30
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	addl	$-48, %eax
	cmpl	%ebx, %eax
	jle	LBB0_25
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%edi, %ebx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	jg	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%r9d, %r10d
	subl	%r8d, %r10d
	movslq	%ebx, %rcx
	incl	%edi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,8), %rcx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%r8d, -4(%rcx)
	jne	LBB0_32
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	cmpl	%r10d, (%rcx)
	jne	LBB0_32
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=2
	incl	%ebx
	addq	$8, %rcx
	cmpl	%ebx, %edi
	jne	LBB0_21
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r9d, %ecx
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	addl	$-48, %esi
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %esi
	jl	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	incq	%r15
	movq	%r15, %rax
	shlq	$4, %rax
	leaq	(%r12,%rax), %rcx
	movq	(%r12,%rax), %r14
	movl	%esi, %ebx
	testq	%r14, %r14
	jne	LBB0_4
LBB0_33:
	movl	$1, %r15d
	jmp	LBB0_31
LBB0_29:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_30:
	leaq	(%r12,%r15), %rax
	addq	$8, %rax
	movq	_DEBUG1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rdx
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	-56(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_elog
LBB0_31:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movq	_DEBUG1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_elog
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG1,4,2                     ## @DEBUG1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid table near {\"%s\", \"%s\"} (pos: %d)"

L_.str.1:                               ## @.str.1
	.asciz	"index %d is invalid"

	.no_dead_strip	_check_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_table
_check_table:                           ; @check_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x0
	mov	w0, #1
	cbz	x19, LBB0_29
; %bb.1:
	cbz	x1, LBB0_29
; %bb.2:
	ldr	x23, [x19]
	cbz	x23, LBB0_28
; %bb.3:
	mov	x20, #0
	str	wzr, [sp, #44]                  ; 4-byte Folded Spill
	mov	w21, #0
	add	x8, x1, #4
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	mov	w26, #-1
	mov	x24, x19
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
	add	x25, x19, x20, lsl #4
	ldr	x28, [x25, #8]!
	cbz	x28, LBB0_28
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w0, [x23]
	bl	_isdigit
	cbz	x0, LBB0_26
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w0, [x28]
	bl	_isdigit
	cbz	x0, LBB0_26
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w22, [x23]
	ldrsb	w27, [x28]
	and	w9, w27, #0xff
	cbz	w22, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w9, LBB0_26
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w8, w22, #0xff
	add	x23, x23, #1
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w0, w8, #0xff
	bl	_isdigit
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldrb	w0, [x28]
	bl	_isdigit
	cbnz	x0, LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=2
	ldurb	w8, [x23, #-1]
	cmp	w8, #45
	b.ne	LBB0_26
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	ldrb	w8, [x28]
	cmp	w8, #45
	b.ne	LBB0_26
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=2
	ldrb	w9, [x28, #1]!
	ldrb	w8, [x23]
	cbz	w8, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x23, x23, #1
	cbnz	w9, LBB0_10
	b	LBB0_26
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w9, LBB0_26
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w22, #48
	cmp	w8, w26
	b.le	LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w21, w26
	b.gt	LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [sp, #44]                  ; 4-byte Folded Reload
	sub	w9, w20, w13
	add	w10, w26, #1
	ldr	x11, [sp, #32]                  ; 8-byte Folded Reload
	add	x11, x11, w21, sxtw #3
LBB0_20:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w12, [x11, #-4]
	cmp	w12, w13
	b.ne	LBB0_30
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	w12, [x11]
	cmp	w12, w9
	b.ne	LBB0_30
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=2
	add	w21, w21, #1
	add	x11, x11, #8
	cmp	w10, w21
	b.ne	LBB0_20
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x8
	mov	x8, x20
	str	w20, [sp, #44]                  ; 4-byte Folded Spill
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w26, w27, #48
	cmp	w26, w21
	b.lt	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	add	x24, x19, x20, lsl #4
	ldr	x23, [x24]
	mov	w0, #1
	cbnz	x23, LBB0_4
	b	LBB0_29
LBB0_26:
Lloh0:
	adrp	x8, _DEBUG1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEBUG1@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x24]
	ldr	x9, [x25]
	stp	x9, x20, [sp, #8]
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_27:
	bl	_elog
	mov	w0, #0
	b	LBB0_29
LBB0_28:
	mov	w0, #1
LBB0_29:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_30:
Lloh5:
	adrp	x8, _DEBUG1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DEBUG1@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_27
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG1,4,2                     ; @DEBUG1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid table near {\"%s\", \"%s\"} (pos: %d)"

l_.str.1:                               ; @.str.1
	.asciz	"index %d is invalid"

	.no_dead_strip	_check_table
.subsections_via_symbols
