	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function att_test
_att_test:                              ## @att_test
	.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	$120, %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, %r15
	movq	%rsp, -152(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	$0, -56(%rbp)
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_atf_tc_get_config_var
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%rax, %rcx
	movq	%r14, %r8
	callq	_snprintf
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_fopen
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rsi
	callq	_atf_tc_fail
LBB0_2:
	movq	_delim@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-160(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	_fparseln
	testq	%rax, %rax
	je	LBB0_57
## %bb.3:
	movq	%rax, %r13
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r14d, %r14d
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_free
	movq	_delim@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	leaq	-160(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	xorl	%r8d, %r8d
	callq	_fparseln
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_57
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_49 Depth 2
	movq	_sep@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r12
	movb	(%rax), %al
	cmpb	$125, %al
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%r14d, %r14d
	je	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %r14d
	jmp	LBB0_5
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$35, %al
	je	LBB0_4
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$59, %al
	je	LBB0_4
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$58, (%r12)
	jne	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	incq	%r12
	movq	%r12, %rax
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rax), %ecx
	incq	%rax
	cmpb	$58, %cl
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	testb	%cl, %cl
	jne	LBB0_17
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	-1(%rax), %r12
	testb	%cl, %cl
	cmovneq	%rax, %r12
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_sep@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	xorl	%edi, %edi
	callq	_strtok
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	movl	-56(%rbp), %edx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_ATF_REQUIRE_MSG
	movl	(%r14), %esi
	xorl	%edi, %edi
	callq	_strtok
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	movl	-56(%rbp), %edx
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_ATF_REQUIRE_MSG
	movq	%r12, %rdi
	movl	$36, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_strunvis
	xorl	%edi, %edi
	cmpl	$-1, %eax
	setne	%dil
	callq	_ATF_REQUIRE
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_strunvis
	xorl	%edi, %edi
	cmpl	$-1, %eax
	setne	%dil
	callq	_ATF_REQUIRE
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	$0, (%r14)
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_free
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_strdup
	jmp	LBB0_28
LBB0_27:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
LBB0_28:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edi, %edi
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	setne	%dil
	callq	_ATF_REQUIRE
	movq	_sep@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_strtok
	xorl	%edi, %edi
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	setne	%dil
	movl	-56(%rbp), %edx
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_ATF_REQUIRE_MSG
	movl	(%r15), %esi
	xorl	%edi, %edi
	callq	_strtok
	movsbl	(%r12), %ecx
	cmpl	$122, %ecx
	jg	LBB0_33
## %bb.29:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$35, %ecx
	je	LBB0_5
## %bb.30:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$59, %ecx
	je	LBB0_5
## %bb.31:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$63, %ecx
	je	LBB0_38
	jmp	LBB0_40
LBB0_33:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$125, %ecx
	je	LBB0_5
## %bb.34:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$124, %ecx
	je	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$123, %ecx
	jne	LBB0_40
## %bb.36:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_optional
	testl	%eax, %eax
	jne	LBB0_9
	jmp	LBB0_39
LBB0_38:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_unsupported
	testl	%eax, %eax
	jne	LBB0_5
LBB0_39:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	incq	%r12
	jmp	LBB0_41
LBB0_40:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_41:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	callq	_bug
	testq	%rax, %rax
	jne	LBB0_5
## %bb.42:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	cmpb	$40, (%rdi)
	jne	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$0, -68(%rbp)
	movl	$0, -72(%rbp)
	callq	_getmatches
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_calloc
	xorl	%edi, %edi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	setne	%dil
	callq	_ATF_REQUIRE
	jmp	LBB0_45
LBB0_44:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	-72(%rbp), %rsi
	leaq	-68(%rbp), %rdx
	callq	_geterror
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
LBB0_45:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_getflags
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movb	(%r12), %al
	testb	%al, %al
	je	LBB0_56
## %bb.46:                              ##   in Loop: Header=BB0_6 Depth=1
	incq	%r12
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_49 Depth=2
	xorl	%edi, %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_ATF_REQUIRE_MSG
LBB0_48:                                ##   in Loop: Header=BB0_49 Depth=2
	movzbl	(%r12), %eax
	incq	%r12
	testb	%al, %al
	je	LBB0_56
LBB0_49:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %edx
	movq	_REG_BASIC@GOTPCREL(%rip), %rax
	cmpl	$66, %edx
	je	LBB0_54
## %bb.50:                              ##   in Loop: Header=BB0_49 Depth=2
	cmpl	$76, %edx
	je	LBB0_53
## %bb.51:                              ##   in Loop: Header=BB0_49 Depth=2
	cmpl	$69, %edx
	jne	LBB0_47
## %bb.52:                              ##   in Loop: Header=BB0_49 Depth=2
	movq	_REG_EXTENDED@GOTPCREL(%rip), %rax
	jmp	LBB0_54
	.p2align	4, 0x90
LBB0_53:                                ##   in Loop: Header=BB0_49 Depth=2
	movq	_REG_NOSPEC@GOTPCREL(%rip), %rax
LBB0_54:                                ##   in Loop: Header=BB0_49 Depth=2
	movl	(%rax), %edx
	orl	-108(%rbp), %edx                ## 4-byte Folded Reload
	leaq	-76(%rbp), %rdi
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_regcomp
	movl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	-72(%rbp), %eax
	sete	%dil
	movq	-56(%rbp), %r8
	leaq	L_.str.11(%rip), %rsi
	movl	%eax, %edx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_ATF_REQUIRE_MSG
	testl	%ebx, %ebx
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_48
## %bb.55:                              ##   in Loop: Header=BB0_49 Depth=2
	leaq	-76(%rbp), %rdi
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r8d, %r8d
	callq	_regexec
	movl	-68(%rbp), %edx
	xorl	%edi, %edi
	cmpl	%edx, %eax
	sete	%dil
	movq	-56(%rbp), %r8
	leaq	L_.str.12(%rip), %rsi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ATF_REQUIRE_MSG
	movq	-56(%rbp), %rcx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_checkmatches
	movq	-56(%rbp), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_checkcomment
	leaq	-76(%rbp), %rdi
	callq	_regfree
	jmp	LBB0_48
LBB0_56:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	jmp	LBB0_5
LBB0_57:
	movq	%rbx, %rdi
	callq	_fclose
	movq	-152(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_59
## %bb.58:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_59:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/data/%s.dat"

L_.str.1:                               ## @.str.1
	.asciz	"srcdir"

L_.str.2:                               ## @.str.2
	.asciz	"r"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to open input file %s"

	.comm	_delim,4,2                      ## @delim
	.comm	_sep,4,2                        ## @sep
L_.str.4:                               ## @.str.4
	.asciz	"NOTE"

L_.str.5:                               ## @.str.5
	.asciz	"Missing pattern at line %zu"

L_.str.6:                               ## @.str.6
	.asciz	"Missing input at line %zu"

L_.str.7:                               ## @.str.7
	.asciz	"NULL"

L_.str.8:                               ## @.str.8
	.asciz	"SAME"

L_.str.9:                               ## @.str.9
	.asciz	"Missing matches at line %zu"

	.comm	_REG_BASIC,4,2                  ## @REG_BASIC
	.comm	_REG_EXTENDED,4,2               ## @REG_EXTENDED
	.comm	_REG_NOSPEC,4,2                 ## @REG_NOSPEC
L_.str.10:                              ## @.str.10
	.asciz	"Bad name %c"

L_.str.11:                              ## @.str.11
	.asciz	"regcomp returned %d for pattern %s at line %zu"

L_.str.12:                              ## @.str.12
	.asciz	"Expected error %d, got %d at line %zu"

	.comm	_stderr,4,2                     ## @stderr
	.no_dead_strip	_att_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function att_test
_att_test:                              ; @att_test
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #96
	mov	x19, x1
	mov	x28, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	stur	xzr, [x29, #-112]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_atf_tc_get_config_var
	mov	x3, x0
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x4, x19
	bl	_snprintf
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_fopen
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_atf_tc_fail
LBB0_2:
Lloh16:
	adrp	x27, _delim@GOTPAGE
Lloh17:
	ldr	x27, [x27, _delim@GOTPAGEOFF]
	ldr	w3, [x27]
	sub	x1, x29, #104
	sub	x2, x29, #112
	mov	x0, x19
	mov	w4, #0
	bl	_fparseln
	cbz	x0, LBB0_55
; %bb.3:
	mov	x23, x0
	mov	x26, #0
	mov	w22, #0
Lloh18:
	adrp	x21, _sep@GOTPAGE
Lloh19:
	ldr	x21, [x21, _sep@GOTPAGEOFF]
Lloh20:
	adrp	x20, l_.str.4@PAGE
Lloh21:
	add	x20, x20, l_.str.4@PAGEOFF
Lloh22:
	adrp	x24, l_.str.5@PAGE
Lloh23:
	add	x24, x24, l_.str.5@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w22, #0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_free
	ldr	w3, [x27]
	sub	x1, x29, #104
	sub	x2, x29, #112
	mov	x0, x19
	mov	w4, #0
	bl	_fparseln
	mov	x23, x0
	cbz	x0, LBB0_55
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_45 Depth 2
	ldr	w1, [x21]
	mov	x0, x23
	bl	_strtok
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	ldrb	w8, [x0]
	cmp	w8, #125
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w22, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w22, #1
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #35
	b.eq	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #59
	b.eq	LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x25]
	cmp	w8, #58
	b.ne	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x25, #1
LBB0_15:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x8], #1
	cmp	w9, #58
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x10, x8, #1
	cmp	w9, #0
	csel	x25, x10, x8, eq
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x21]
	mov	x0, #0
	bl	_strtok
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	ldur	w2, [x29, #-112]
	mov	x1, x24
	bl	_ATF_REQUIRE_MSG
	ldr	w1, [x21]
	mov	x0, #0
	bl	_strtok
	mov	x24, x0
	cmp	x0, #0
	cset	w0, ne
	ldur	w2, [x29, #-112]
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_ATF_REQUIRE_MSG
	mov	x0, x25
	mov	w1, #36
	bl	_strchr
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x20
	bl	_strunvis
	cmn	w0, #1
	cset	w0, ne
	bl	_ATF_REQUIRE
	mov	x0, x24
	mov	x1, x24
	bl	_strunvis
	cmn	w0, #1
	cset	w0, ne
	bl	_ATF_REQUIRE
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
Lloh26:
	adrp	x1, l_.str.7@PAGE
Lloh27:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	strb	wzr, [x24]
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
Lloh28:
	adrp	x1, l_.str.8@PAGE
Lloh29:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_free
	mov	x0, x20
	bl	_strdup
	mov	x26, x0
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, x26
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	stur	x26, [x29, #-128]               ; 8-byte Folded Spill
	cmp	x26, #0
	cset	w0, ne
	bl	_ATF_REQUIRE
	ldr	w1, [x21]
	mov	x0, #0
	bl	_strtok
	stur	x0, [x29, #-136]                ; 8-byte Folded Spill
	cmp	x0, #0
	cset	w0, ne
	ldur	w2, [x29, #-112]
Lloh30:
	adrp	x1, l_.str.9@PAGE
Lloh31:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_ATF_REQUIRE_MSG
	ldr	w1, [x21]
	mov	x0, #0
	bl	_strtok
	mov	w22, #0
	ldrsb	w8, [x25]
	cmp	w8, #122
	b.gt	LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #35
	b.eq	LBB0_54
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #59
	b.eq	LBB0_54
; %bb.27:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #63
	b.eq	LBB0_33
	b	LBB0_35
LBB0_28:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #125
	b.eq	LBB0_54
; %bb.29:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #124
	b.eq	LBB0_33
; %bb.30:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #123
	b.ne	LBB0_35
; %bb.31:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x0
	bl	_optional
	cbz	w0, LBB0_34
; %bb.32:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w22, #1
	b	LBB0_54
LBB0_33:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x0
	bl	_unsupported
	cbnz	w0, LBB0_37
LBB0_34:                                ;   in Loop: Header=BB0_6 Depth=1
	stur	x22, [x29, #-144]               ; 8-byte Folded Spill
	add	x25, x25, #1
	b	LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_6 Depth=1
	stur	x0, [x29, #-144]                ; 8-byte Folded Spill
LBB0_36:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x2, [x29, #-112]
	mov	x0, x20
	mov	x1, x24
	bl	_bug
	cbz	x0, LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w22, #0
	b	LBB0_54
LBB0_38:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x0, [x29, #-136]                ; 8-byte Folded Reload
	ldrb	w8, [x0]
	cmp	w8, #40
	stur	x28, [x29, #-168]               ; 8-byte Folded Spill
	b.ne	LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_6 Depth=1
	stur	xzr, [x29, #-120]
	bl	_getmatches
	stur	x0, [x29, #-160]                ; 8-byte Folded Spill
	mov	w1, #1
	bl	_calloc
	stur	x0, [x29, #-152]                ; 8-byte Folded Spill
	cmp	x0, #0
	cset	w0, ne
	bl	_ATF_REQUIRE
	b	LBB0_41
LBB0_40:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x1, x29, #116
	sub	x2, x29, #120
	bl	_geterror
	stp	xzr, xzr, [x29, #-160]          ; 16-byte Folded Spill
LBB0_41:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	bl	_getflags
	ldrb	w8, [x25]
	cbz	w8, LBB0_53
; %bb.42:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x0
	add	x28, x25, #1
	b	LBB0_45
LBB0_43:                                ;   in Loop: Header=BB0_45 Depth=2
	mov	w0, #0
Lloh32:
	adrp	x1, l_.str.10@PAGE
Lloh33:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_ATF_REQUIRE_MSG
LBB0_44:                                ;   in Loop: Header=BB0_45 Depth=2
	ldrb	w8, [x28], #1
	cbz	w8, LBB0_53
LBB0_45:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w9, w8, #0xff
	cmp	w9, #66
	b.eq	LBB0_49
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=2
	sxtb	w2, w8
	cmp	w2, #76
	b.eq	LBB0_50
; %bb.47:                               ;   in Loop: Header=BB0_45 Depth=2
	cmp	w2, #69
	b.ne	LBB0_43
; %bb.48:                               ;   in Loop: Header=BB0_45 Depth=2
Lloh34:
	adrp	x8, _REG_EXTENDED@GOTPAGE
Lloh35:
	ldr	x8, [x8, _REG_EXTENDED@GOTPAGEOFF]
	b	LBB0_51
LBB0_49:                                ;   in Loop: Header=BB0_45 Depth=2
Lloh36:
	adrp	x8, _REG_BASIC@GOTPAGE
Lloh37:
	ldr	x8, [x8, _REG_BASIC@GOTPAGEOFF]
	b	LBB0_51
LBB0_50:                                ;   in Loop: Header=BB0_45 Depth=2
Lloh38:
	adrp	x8, _REG_NOSPEC@GOTPAGE
Lloh39:
	ldr	x8, [x8, _REG_NOSPEC@GOTPAGEOFF]
LBB0_51:                                ;   in Loop: Header=BB0_45 Depth=2
	ldr	w8, [x8]
	orr	w2, w8, w22
	sub	x0, x29, #92
	mov	x1, x20
	bl	_regcomp
	mov	x25, x0
	ldur	w8, [x29, #-116]
	cmp	w0, w8
	cset	w0, eq
	ldur	x8, [x29, #-112]
	stp	x20, x8, [sp, #-16]!
Lloh40:
	adrp	x1, l_.str.11@PAGE
Lloh41:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x2, x25
	bl	_ATF_REQUIRE_MSG
	add	sp, sp, #16
	cbnz	w25, LBB0_44
; %bb.52:                               ;   in Loop: Header=BB0_45 Depth=2
	sub	x0, x29, #92
	mov	x1, x24
	ldp	x25, x26, [x29, #-160]          ; 16-byte Folded Reload
	mov	x2, x25
	mov	x3, x26
	mov	w4, #0
	bl	_regexec
                                        ; kill: def $w0 killed $w0 def $x0
	ldur	w2, [x29, #-120]
	cmp	w0, w2
	cset	w8, eq
	ldur	x9, [x29, #-112]
	stp	x0, x9, [sp, #-16]!
	mov	x0, x8
Lloh42:
	adrp	x1, l_.str.12@PAGE
Lloh43:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_ATF_REQUIRE_MSG
	add	sp, sp, #16
	ldur	x3, [x29, #-112]
	ldur	x0, [x29, #-136]                ; 8-byte Folded Reload
	mov	x1, x25
	mov	x2, x26
	bl	_checkmatches
	ldur	x1, [x29, #-112]
	ldur	x0, [x29, #-144]                ; 8-byte Folded Reload
	bl	_checkcomment
	sub	x0, x29, #92
	bl	_regfree
	b	LBB0_44
LBB0_53:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x0, [x29, #-152]                ; 8-byte Folded Reload
	bl	_free
	mov	w22, #0
	ldur	x28, [x29, #-168]               ; 8-byte Folded Reload
LBB0_54:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x26, [x29, #-128]               ; 8-byte Folded Reload
Lloh44:
	adrp	x20, l_.str.4@PAGE
Lloh45:
	add	x20, x20, l_.str.4@PAGEOFF
Lloh46:
	adrp	x24, l_.str.5@PAGE
Lloh47:
	add	x24, x24, l_.str.5@PAGEOFF
	b	LBB0_5
LBB0_55:
	mov	x0, x19
	bl	_fclose
	mov	sp, x28
	ldur	x8, [x29, #-88]
Lloh48:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh49:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_57
; %bb.56:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_57:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/data/%s.dat"

l_.str.1:                               ; @.str.1
	.asciz	"srcdir"

l_.str.2:                               ; @.str.2
	.asciz	"r"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to open input file %s"

	.comm	_delim,4,2                      ; @delim
	.comm	_sep,4,2                        ; @sep
l_.str.4:                               ; @.str.4
	.asciz	"NOTE"

l_.str.5:                               ; @.str.5
	.asciz	"Missing pattern at line %zu"

l_.str.6:                               ; @.str.6
	.asciz	"Missing input at line %zu"

l_.str.7:                               ; @.str.7
	.asciz	"NULL"

l_.str.8:                               ; @.str.8
	.asciz	"SAME"

l_.str.9:                               ; @.str.9
	.asciz	"Missing matches at line %zu"

	.comm	_REG_BASIC,4,2                  ; @REG_BASIC
	.comm	_REG_EXTENDED,4,2               ; @REG_EXTENDED
	.comm	_REG_NOSPEC,4,2                 ; @REG_NOSPEC
l_.str.10:                              ; @.str.10
	.asciz	"Bad name %c"

l_.str.11:                              ; @.str.11
	.asciz	"regcomp returned %d for pattern %s at line %zu"

l_.str.12:                              ; @.str.12
	.asciz	"Expected error %d, got %d at line %zu"

	.comm	_stderr,4,2                     ; @stderr
	.no_dead_strip	_att_test
.subsections_via_symbols
