	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkmatches
_checkmatches:                          ## @checkmatches
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	callq	_strlen
	incl	%eax
	cltq
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_strdup
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_ATF_REQUIRE
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%eax, %r8
	movq	%r14, %rsi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%eax, %r15
	xorl	%edi, %edi
	cmpq	%r15, %r14
	seta	%dil
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	movq	%r14, %r8
	callq	_ATF_REQUIRE_MSG
	addq	%r15, %r13
	incq	%r12
	cmpq	%r12, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax,%r12,8), %rcx
	leal	(%rbx,%r13), %edi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	subq	%r13, %r14
	movl	4(%rax,%r12,8), %eax
	cmpq	$-1, %rcx
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rsi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_6
LBB0_7:
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_ATF_CHECK_STREQ_MSG
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(?,?)"

L_.str.1:                               ## @.str.1
	.asciz	"(%lld,%lld)"

L_.str.2:                               ## @.str.2
	.asciz	"String too long %s cur=%d, max=%zu"

L_.str.3:                               ## @.str.3
	.asciz	" at line %zu"

	.no_dead_strip	_checkmatches
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkmatches
_checkmatches:                          ; @checkmatches
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_7
; %bb.1:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x2
	mov	x21, x1
	mov	x19, x0
	str	x3, [sp, #24]                   ; 8-byte Folded Spill
	bl	_strlen
	add	w8, w0, #1
	sxtw	x27, w8
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	mov	x0, x19
	bl	_strdup
	mov	x22, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_ATF_REQUIRE
	mov	x28, #0
	add	x19, x23, #4
Lloh0:
	adrp	x23, l_.str.1@PAGE
Lloh1:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh2:
	adrp	x24, l_.str.2@PAGE
Lloh3:
	add	x24, x24, l_.str.2@PAGEOFF
Lloh4:
	adrp	x25, l_.str@PAGE
Lloh5:
	add	x25, x25, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x9, w9
	stp	x8, x9, [sp]
	mov	x1, x26
	mov	x2, x23
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_snprintf
	mov	x3, x0
	sxtw	x20, w3
	cmp	x26, x20
	cset	w0, hi
	mov	x1, x24
	mov	x2, x22
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	x4, x26
	bl	_ATF_REQUIRE_MSG
	add	x28, x28, x20
	add	x19, x19, #8
	subs	x21, x21, #1
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldursw	x8, [x19, #-4]
	ldr	w9, [x19]
	add	w0, w22, w28
	sub	x26, x27, x28
	cmn	w8, #1
	ccmn	w9, #1, #0, eq
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x26
	mov	x2, x25
	b	LBB0_3
LBB0_6:
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x22
	ldp	x1, x3, [sp, #16]               ; 16-byte Folded Reload
	bl	_ATF_CHECK_STREQ_MSG
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_free
LBB0_7:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	.cfi_same_value w25
	.cfi_same_value w26
	.cfi_same_value w27
	.cfi_same_value w28
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(?,?)"

l_.str.1:                               ; @.str.1
	.asciz	"(%lld,%lld)"

l_.str.2:                               ; @.str.2
	.asciz	"String too long %s cur=%d, max=%zu"

l_.str.3:                               ; @.str.3
	.asciz	" at line %zu"

	.no_dead_strip	_checkmatches
.subsections_via_symbols
