	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%rsi, %r14
	movl	%edi, %ebx
	movq	_LC_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_setlocale
	movq	_sflag@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_kflag@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	leaq	L_.str.1(%rip), %rax
	movq	_prefix@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_sufflen@GOTPCREL(%rip), %rax
	movq	$2, (%rax)
	leaq	L_.str.2(%rip), %rdx
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.1:
	leaq	L_.str.2(%rip), %r15
	leaq	LJTI0_0(%rip), %r12
	movq	_optarg@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_usage
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	addl	$-102, %eax
	cmpl	$13, %eax
	ja	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r12,%rax,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rax
	movq	_prefix@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_kflag@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	(%r13), %rdi
	leaq	-56(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movq	_sufflen@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax
	cmpb	$0, (%rax)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdx
	movl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_sflag@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_12
LBB0_13:
	movq	_sufflen@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_prefix@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strlen
	addq	%rbx, %rax
	movq	_PATH_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_15
## %bb.14:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_15:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%r14,%r13,8), %rdi
	movq	_infn@GOTPCREL(%rip), %rbx
	movq	%rdi, (%rbx)
	testq	%rdi, %rdi
	jne	LBB0_17
## %bb.16:
	xorl	%eax, %eax
	callq	_usage
	movq	(%rbx), %rdi
LBB0_17:
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	movq	(%rbx), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_fopen
	movq	_infile@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:
	movq	(%rbx), %rdx
	leaq	L_.str.8(%rip), %rsi
	movl	$1, %edi
	callq	_err
	jmp	LBB0_21
LBB0_18:
	movq	_stdin@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_infile@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str.6(%rip), %rax
	movq	%rax, (%rbx)
LBB0_21:
	movq	_kflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_23
## %bb.22:
	movq	_doclean@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_atexit
	movq	$0, -64(%rbp)
	movq	_handlesig@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sigemptyset
	movq	_SIGHUP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_SIGINT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movl	(%r15), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movl	(%r12), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
LBB0_23:
	movq	_lineno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_nfiles@GOTPCREL(%rip), %r15
	movl	$0, (%r15)
	movq	_truncofs@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_overfile@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_maxfiles@GOTPCREL(%rip), %r12
	movl	$1, (%r12)
	movq	_sufflen@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	jle	LBB0_47
## %bb.24:
	leaq	(%r14,%r13,8), %rax
	addq	$8, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %eax
	movq	_LONG_MAX@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	movq	_sufflen@GOTPCREL(%rip), %r13
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_25 Depth=1
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, (%r12)
	incq	%rbx
	cmpq	%rdx, %rbx
	jge	LBB0_28
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%r14), %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rsi
	shrq	$63, %rsi
	sarq	$34, %rcx
	addl	%esi, %ecx
	cmpl	%ecx, %eax
	jle	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	$1, %edi
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_errx
	movl	(%r12), %eax
	movq	(%r13), %rdx
	jmp	LBB0_27
LBB0_28:
	decl	%eax
	cmpl	%eax, (%r15)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jge	LBB0_47
## %bb.29:
	movq	_reps@GOTPCREL(%rip), %r14
	jmp	LBB0_30
LBB0_45:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	$1, %edi
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_errx
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	(%r12), %eax
	decl	%eax
	cmpl	%eax, (%r15)
	jge	LBB0_47
LBB0_30:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_41 Depth 2
	movq	(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_47
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	addq	$8, %r13
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_38
## %bb.32:                              ##   in Loop: Header=BB0_30 Depth=1
	cmpb	$123, (%rdi)
	jne	LBB0_38
## %bb.33:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	incq	%rdi
	leaq	-56(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movq	%rax, (%r14)
	testq	%rax, %rax
	jns	LBB0_34
LBB0_36:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	(%r13), %rdx
	incq	%rdx
	movl	$1, %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	$0, (%r14)
	jmp	LBB0_39
LBB0_34:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-56(%rbp), %rax
	cmpb	$125, (%rax)
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_36
LBB0_37:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	addq	$16, %r13
LBB0_39:                                ##   in Loop: Header=BB0_30 Depth=1
	movb	(%rbx), %al
	cmpb	$47, %al
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_30 Depth=1
	cmpb	$37, %al
	jne	LBB0_43
	.p2align	4, 0x90
LBB0_41:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_do_rexp
	movl	(%r12), %eax
	addq	$-1, (%r14)
	jae	LBB0_46
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=2
	decl	%eax
	cmpl	%eax, (%r15)
	jl	LBB0_41
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_30 Depth=1
	movzbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	%rbx, %rdi
	callq	_do_lineno
	jmp	LBB0_46
LBB0_47:
	movq	_infile@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_feof
	testl	%eax, %eax
	jne	LBB0_55
## %bb.48:
	xorl	%eax, %eax
	callq	_newfile
	movq	%rax, %rbx
	movq	_EOF@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_49:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_get_line
	testq	%rax, %rax
	je	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_49 Depth=1
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_fputs
	cmpq	(%r14), %rax
	jne	LBB0_49
LBB0_51:
	movq	_sflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_53
## %bb.52:
	movq	%rbx, %rdi
	callq	_ftello
	leaq	L_.str.12(%rip), %rdi
	movl	%eax, %esi
	callq	_printf
LBB0_53:
	movq	%rbx, %rdi
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_55
## %bb.54:
	movq	_currfile@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.8(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_55:
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_toomuch
	movq	_doclean@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_5
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_LC_ALL,4,2                     ## @LC_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_sflag,4,2                      ## @sflag
	.comm	_kflag,4,2                      ## @kflag
L_.str.1:                               ## @.str.1
	.asciz	"xx"

	.comm	_prefix,8,3                     ## @prefix
	.comm	_sufflen,8,3                    ## @sufflen
L_.str.2:                               ## @.str.2
	.asciz	"ksf:n:"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_errno,8,3                      ## @errno
L_.str.3:                               ## @.str.3
	.asciz	"%s: bad suffix length"

	.comm	_PATH_MAX,8,3                   ## @PATH_MAX
L_.str.4:                               ## @.str.4
	.asciz	"name too long"

	.comm	_optind,8,3                     ## @optind
	.comm	_infn,8,3                       ## @infn
L_.str.5:                               ## @.str.5
	.asciz	"-"

	.comm	_stdin,8,3                      ## @stdin
	.comm	_infile,8,3                     ## @infile
L_.str.6:                               ## @.str.6
	.asciz	"stdin"

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

L_.str.8:                               ## @.str.8
	.asciz	"%s"

	.comm	_doclean,4,2                    ## @doclean
	.comm	_cleanup,4,2                    ## @cleanup
	.comm	_handlesig,4,2                  ## @handlesig
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_lineno,8,3                     ## @lineno
	.comm	_nfiles,4,2                     ## @nfiles
	.comm	_truncofs,8,3                   ## @truncofs
	.comm	_overfile,8,3                   ## @overfile
	.comm	_maxfiles,4,2                   ## @maxfiles
	.comm	_LONG_MAX,4,2                   ## @LONG_MAX
L_.str.9:                               ## @.str.9
	.asciz	"%ld: suffix too long (limit %ld)"

	.comm	_reps,8,3                       ## @reps
L_.str.10:                              ## @.str.10
	.asciz	"%s: bad repetition count"

L_.str.11:                              ## @.str.11
	.asciz	"%s: unrecognised pattern"

	.comm	_EOF,8,3                        ## @EOF
L_.str.12:                              ## @.str.12
	.asciz	"%jd\n"

	.comm	_currfile,8,3                   ## @currfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _LC_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LC_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_setlocale
Lloh5:
	adrp	x8, _sflag@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sflag@GOTPAGEOFF]
Lloh7:
	str	wzr, [x8]
Lloh8:
	adrp	x9, _kflag@GOTPAGE
Lloh9:
	ldr	x9, [x9, _kflag@GOTPAGEOFF]
Lloh10:
	adrp	x24, _prefix@GOTPAGE
Lloh11:
	ldr	x24, [x24, _prefix@GOTPAGEOFF]
Lloh12:
	adrp	x8, l_.str.1@PAGE
Lloh13:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh14:
	str	wzr, [x9]
	str	x8, [x24]
Lloh15:
	adrp	x25, _sufflen@GOTPAGE
Lloh16:
	ldr	x25, [x25, _sufflen@GOTPAGEOFF]
	mov	w8, #2
	str	x8, [x25]
Lloh17:
	adrp	x2, l_.str.2@PAGE
Lloh18:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_getopt
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.1:
Lloh19:
	adrp	x21, l_.str.2@PAGE
Lloh20:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh21:
	adrp	x26, lJTI0_0@PAGE
Lloh22:
	add	x26, x26, lJTI0_0@PAGEOFF
Lloh23:
	adrp	x28, _optarg@GOTPAGE
Lloh24:
	ldr	x28, [x28, _optarg@GOTPAGEOFF]
	mov	w23, #1
Lloh25:
	adrp	x27, _errno@GOTPAGE
Lloh26:
	ldr	x27, [x27, _errno@GOTPAGEOFF]
Lloh27:
	adrp	x22, l_.str.3@PAGE
Lloh28:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_usage
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmp	w0, #0
	b.le	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w0, #102
	cmp	w8, #13
	b.hi	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	str	x8, [x24]
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh29:
	adrp	x8, _kflag@GOTPAGE
Lloh30:
	ldr	x8, [x8, _kflag@GOTPAGEOFF]
Lloh31:
	str	w23, [x8]
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x27]
	ldr	x0, [x28]
	add	x1, sp, #24
	mov	w2, #10
	bl	_strtol
	str	x0, [x25]
	cmp	x0, #1
	b.lt	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #24]
	ldrb	w8, [x8]
	ldr	x9, [x27]
	cmp	w8, #0
	ccmp	x9, #0, #0, eq
	b.eq	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	str	x8, [sp]
	mov	w0, #1
	mov	x1, x22
	bl	_errx
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh32:
	adrp	x8, _sflag@GOTPAGE
Lloh33:
	ldr	x8, [x8, _sflag@GOTPAGEOFF]
Lloh34:
	str	w23, [x8]
	b	LBB0_3
LBB0_12:
	ldr	x20, [x25]
	ldr	x0, [x24]
	bl	_strlen
Lloh35:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	add	x9, x0, x20
	cmp	x9, x8
	b.lt	LBB0_14
; %bb.13:
Lloh38:
	adrp	x1, l_.str.4@PAGE
Lloh39:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_14:
Lloh40:
	adrp	x8, _optind@GOTPAGE
Lloh41:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	add	x24, x19, x8, lsl #3
	ldr	x0, [x24], #8
Lloh43:
	adrp	x19, _infn@GOTPAGE
Lloh44:
	ldr	x19, [x19, _infn@GOTPAGEOFF]
	str	x0, [x19]
	cbnz	x0, LBB0_16
; %bb.15:
	bl	_usage
	ldr	x0, [x19]
LBB0_16:
Lloh45:
	adrp	x1, l_.str.5@PAGE
Lloh46:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
Lloh47:
	adrp	x26, _infile@GOTPAGE
Lloh48:
	ldr	x26, [x26, _infile@GOTPAGEOFF]
	cbz	x0, LBB0_19
; %bb.17:
	ldr	x0, [x19]
Lloh49:
	adrp	x1, l_.str.7@PAGE
Lloh50:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fopen
	str	x0, [x26]
	cbnz	x0, LBB0_20
; %bb.18:
	ldr	x2, [x19]
Lloh51:
	adrp	x1, l_.str.8@PAGE
Lloh52:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w0, #1
	bl	_err
	b	LBB0_20
LBB0_19:
Lloh53:
	adrp	x8, _stdin@GOTPAGE
Lloh54:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	str	x8, [x26]
Lloh56:
	adrp	x8, l_.str.6@PAGE
Lloh57:
	add	x8, x8, l_.str.6@PAGEOFF
	str	x8, [x19]
LBB0_20:
Lloh58:
	adrp	x8, _kflag@GOTPAGE
Lloh59:
	ldr	x8, [x8, _kflag@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
Lloh61:
	adrp	x22, _doclean@GOTPAGE
Lloh62:
	ldr	x22, [x22, _doclean@GOTPAGEOFF]
	cbnz	w8, LBB0_22
; %bb.21:
	mov	w8, #1
	str	w8, [x22]
Lloh63:
	adrp	x8, _cleanup@GOTPAGE
Lloh64:
	ldr	x8, [x8, _cleanup@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
	bl	_atexit
	str	xzr, [sp, #40]
Lloh66:
	adrp	x8, _handlesig@GOTPAGE
Lloh67:
	ldr	x8, [x8, _handlesig@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	str	w8, [sp, #36]
	add	x0, sp, #32
	bl	_sigemptyset
Lloh69:
	adrp	x19, _SIGHUP@GOTPAGE
Lloh70:
	ldr	x19, [x19, _SIGHUP@GOTPAGEOFF]
	ldr	w1, [x19]
	add	x0, sp, #32
	bl	_sigaddset
Lloh71:
	adrp	x20, _SIGINT@GOTPAGE
Lloh72:
	ldr	x20, [x20, _SIGINT@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x0, sp, #32
	bl	_sigaddset
Lloh73:
	adrp	x21, _SIGTERM@GOTPAGE
Lloh74:
	ldr	x21, [x21, _SIGTERM@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x0, sp, #32
	bl	_sigaddset
	ldr	w0, [x19]
	add	x1, sp, #32
	mov	x2, #0
	bl	_sigaction
	ldr	w0, [x20]
	add	x1, sp, #32
	mov	x2, #0
	bl	_sigaction
	ldr	w0, [x21]
	add	x1, sp, #32
	mov	x2, #0
	bl	_sigaction
LBB0_22:
Lloh75:
	adrp	x8, _lineno@GOTPAGE
Lloh76:
	ldr	x8, [x8, _lineno@GOTPAGEOFF]
Lloh77:
	str	xzr, [x8]
Lloh78:
	adrp	x27, _nfiles@GOTPAGE
Lloh79:
	ldr	x27, [x27, _nfiles@GOTPAGEOFF]
	str	wzr, [x27]
Lloh80:
	adrp	x8, _truncofs@GOTPAGE
Lloh81:
	ldr	x8, [x8, _truncofs@GOTPAGEOFF]
Lloh82:
	str	xzr, [x8]
Lloh83:
	adrp	x8, _overfile@GOTPAGE
Lloh84:
	ldr	x8, [x8, _overfile@GOTPAGEOFF]
Lloh85:
	str	xzr, [x8]
Lloh86:
	adrp	x28, _maxfiles@GOTPAGE
Lloh87:
	ldr	x28, [x28, _maxfiles@GOTPAGEOFF]
	mov	w8, #1
	str	w8, [x28]
	ldr	x8, [x25]
	cmp	x8, #1
	b.lt	LBB0_44
; %bb.23:
	mov	x20, #0
	mov	w9, #1
Lloh88:
	adrp	x21, _LONG_MAX@GOTPAGE
Lloh89:
	ldr	x21, [x21, _LONG_MAX@GOTPAGEOFF]
	mov	w23, #26215
	movk	w23, #26214, lsl #16
Lloh90:
	adrp	x19, l_.str.9@PAGE
Lloh91:
	add	x19, x19, l_.str.9@PAGEOFF
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	w9, w9, w9, lsl #2
	lsl	w9, w9, #1
	str	w9, [x28]
	add	x20, x20, #1
	cmp	x20, x8
	b.ge	LBB0_27
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x10, [x21]
	mul	x10, x10, x23
	lsr	x11, x10, #63
	asr	x10, x10, #34
	add	w10, w10, w11
	cmp	w9, w10
	b.le	LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	stp	x8, x20, [sp]
	mov	w0, #1
	mov	x1, x19
	bl	_errx
	ldr	w9, [x28]
	ldr	x8, [x25]
	b	LBB0_24
LBB0_27:
	ldr	w8, [x27]
	sub	w9, w9, #1
	cmp	w8, w9
	b.ge	LBB0_44
; %bb.28:
Lloh92:
	adrp	x25, _reps@GOTPAGE
Lloh93:
	ldr	x25, [x25, _reps@GOTPAGEOFF]
Lloh94:
	adrp	x19, _errno@GOTPAGE
Lloh95:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
Lloh96:
	adrp	x20, l_.str.10@PAGE
Lloh97:
	add	x20, x20, l_.str.10@PAGEOFF
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_31 Depth=1
	str	x21, [sp]
	mov	w0, #1
Lloh98:
	adrp	x1, l_.str.11@PAGE
Lloh99:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_errx
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	ldr	w8, [x27]
	ldr	w9, [x28]
	sub	w9, w9, #1
	cmp	w8, w9
	b.ge	LBB0_44
LBB0_31:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_41 Depth 2
	mov	x23, x24
	ldr	x21, [x23], #8
	cbz	x21, LBB0_44
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	x8, [x23]
	cbz	x8, LBB0_38
; %bb.33:                               ;   in Loop: Header=BB0_31 Depth=1
	ldrb	w9, [x8]
	cmp	w9, #123
	b.ne	LBB0_38
; %bb.34:                               ;   in Loop: Header=BB0_31 Depth=1
	str	xzr, [x19]
	add	x0, x8, #1
	add	x1, sp, #24
	mov	w2, #10
	bl	_strtol
	str	x0, [x25]
	tbnz	x0, #63, LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	x8, [sp, #24]
	ldrb	w8, [x8]
	ldr	x9, [x19]
	cmp	w8, #125
	ccmp	x9, #0, #0, eq
	b.eq	LBB0_37
LBB0_36:                                ;   in Loop: Header=BB0_31 Depth=1
	ldr	x8, [x23]
	add	x8, x8, #1
	str	x8, [sp]
	mov	w0, #1
	mov	x1, x20
	bl	_errx
LBB0_37:                                ;   in Loop: Header=BB0_31 Depth=1
	add	x24, x24, #16
	b	LBB0_39
LBB0_38:                                ;   in Loop: Header=BB0_31 Depth=1
	str	xzr, [x25]
	mov	x24, x23
LBB0_39:                                ;   in Loop: Header=BB0_31 Depth=1
	ldrb	w0, [x21]
	cmp	w0, #47
	b.eq	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_31 Depth=1
	cmp	w0, #37
	b.ne	LBB0_42
LBB0_41:                                ;   Parent Loop BB0_31 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	bl	_do_rexp
	ldr	x8, [x25]
	ldr	w9, [x28]
	sub	w9, w9, #1
	subs	x8, x8, #1
	str	x8, [x25]
	ldr	w8, [x27]
	ccmp	w8, w9, #0, hs
	b.lt	LBB0_41
	b	LBB0_30
LBB0_42:                                ;   in Loop: Header=BB0_31 Depth=1
	bl	_isdigit
	cbz	x0, LBB0_29
; %bb.43:                               ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x21
	bl	_do_lineno
	b	LBB0_30
LBB0_44:
	ldr	x0, [x26]
	bl	_feof
	cbnz	w0, LBB0_52
; %bb.45:
	bl	_newfile
	mov	x19, x0
Lloh100:
	adrp	x20, _EOF@GOTPAGE
Lloh101:
	ldr	x20, [x20, _EOF@GOTPAGEOFF]
LBB0_46:                                ; =>This Inner Loop Header: Depth=1
	bl	_get_line
	cbz	x0, LBB0_48
; %bb.47:                               ;   in Loop: Header=BB0_46 Depth=1
	mov	x1, x19
	bl	_fputs
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_46
LBB0_48:
Lloh102:
	adrp	x8, _sflag@GOTPAGE
Lloh103:
	ldr	x8, [x8, _sflag@GOTPAGEOFF]
Lloh104:
	ldr	w8, [x8]
	cbnz	w8, LBB0_50
; %bb.49:
	mov	x0, x19
	bl	_ftello
	mov	x1, x0
Lloh105:
	adrp	x0, l_.str.12@PAGE
Lloh106:
	add	x0, x0, l_.str.12@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_printf
LBB0_50:
	mov	x0, x19
	bl	_fclose
	cbz	x0, LBB0_52
; %bb.51:
Lloh107:
	adrp	x8, _currfile@GOTPAGE
Lloh108:
	ldr	x8, [x8, _currfile@GOTPAGEOFF]
Lloh109:
	ldr	x2, [x8]
Lloh110:
	adrp	x1, l_.str.8@PAGE
Lloh111:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_52:
	mov	x0, #0
	mov	w1, #0
	bl	_toomuch
	str	wzr, [x22]
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh14
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGotStr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotStr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotStr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpAdd	Lloh105, Lloh106
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_LC_ALL,4,2                     ; @LC_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_sflag,4,2                      ; @sflag
	.comm	_kflag,4,2                      ; @kflag
l_.str.1:                               ; @.str.1
	.asciz	"xx"

	.comm	_prefix,8,3                     ; @prefix
	.comm	_sufflen,8,3                    ; @sufflen
l_.str.2:                               ; @.str.2
	.asciz	"ksf:n:"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_errno,8,3                      ; @errno
l_.str.3:                               ; @.str.3
	.asciz	"%s: bad suffix length"

	.comm	_PATH_MAX,8,3                   ; @PATH_MAX
l_.str.4:                               ; @.str.4
	.asciz	"name too long"

	.comm	_optind,8,3                     ; @optind
	.comm	_infn,8,3                       ; @infn
l_.str.5:                               ; @.str.5
	.asciz	"-"

	.comm	_stdin,8,3                      ; @stdin
	.comm	_infile,8,3                     ; @infile
l_.str.6:                               ; @.str.6
	.asciz	"stdin"

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

l_.str.8:                               ; @.str.8
	.asciz	"%s"

	.comm	_doclean,4,2                    ; @doclean
	.comm	_cleanup,4,2                    ; @cleanup
	.comm	_handlesig,4,2                  ; @handlesig
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_lineno,8,3                     ; @lineno
	.comm	_nfiles,4,2                     ; @nfiles
	.comm	_truncofs,8,3                   ; @truncofs
	.comm	_overfile,8,3                   ; @overfile
	.comm	_maxfiles,4,2                   ; @maxfiles
	.comm	_LONG_MAX,4,2                   ; @LONG_MAX
l_.str.9:                               ; @.str.9
	.asciz	"%ld: suffix too long (limit %ld)"

	.comm	_reps,8,3                       ; @reps
l_.str.10:                              ; @.str.10
	.asciz	"%s: bad repetition count"

l_.str.11:                              ; @.str.11
	.asciz	"%s: unrecognised pattern"

	.comm	_EOF,8,3                        ; @EOF
l_.str.12:                              ; @.str.12
	.asciz	"%jd\n"

	.comm	_currfile,8,3                   ; @currfile
.subsections_via_symbols
