	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_filter_fix_linedirs            ## -- Begin function filter_fix_linedirs
	.p2align	4, 0x90
_filter_fix_linedirs:                   ## @filter_fix_linedirs
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_31
## %bb.1:
	movl	$512, %edi                      ## imm = 0x200
	callq	_flex_alloc
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_flexerror
LBB0_3:
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$512, %esi                      ## imm = 0x200
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_26
## %bb.4:
	xorl	%ebx, %ebx
	movl	$1, %r13d
	movl	$1, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r12d, %r12d
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_fputs
	incl	%r13d
LBB0_25:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$512, %esi                      ## imm = 0x200
	callq	_fgets
	movl	%r15d, %ebx
	testq	%rax, %rax
	je	LBB0_26
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	cmpb	$35, (%r14)
	jne	LBB0_20
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_regex_linedir@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	movl	$3, %edx
	leaq	-96(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_regexec
	testq	%rax, %rax
	je	LBB0_7
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r15d, %r15d
	testl	%r12d, %r12d
	je	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_regex_blank_line@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_regexec
	testq	%rax, %rax
	jne	LBB0_19
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %r15d
	movl	$1, %r12d
	testl	%ebx, %ebx
	je	LBB0_19
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %r12d
	jmp	LBB0_25
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	-92(%rbp), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_regmatch_strtol
	leaq	-88(%rbp), %rdi
	movq	%r14, %rsi
	callq	_regmatch_dup
	movq	%rax, %r15
	movq	_outfilename@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rax, %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_headerfilename@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rax, %rsi
	movq	%r15, %rdi
	callq	_strcmp
	xorl	%r12d, %r12d
	testq	%rax, %rax
	jne	LBB0_18
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	_MAXLINE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r8
	cmpl	$2, (%rbx)
	movq	%r8, %rax
	jl	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r8, %rax
	movq	%r15, %rcx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=2
	incq	%rcx
	movb	%dl, (%rax)
	incq	%rax
	movq	%rax, %rdx
	subq	%r8, %rdx
	movslq	(%rbx), %rsi
	decq	%rsi
	cmpq	%rsi, %rdx
	jge	LBB0_17
LBB0_11:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rcx), %edx
	cmpb	$92, %dl
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	testb	%dl, %dl
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$34, %dl
	jne	LBB0_16
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	movb	$92, (%rax)
	incq	%rax
	movzbl	(%rcx), %edx
	cmpb	$34, %dl
	jne	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=2
	movb	$92, (%rax)
	incq	%rax
	movzbl	(%rcx), %edx
	jmp	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$0, (%rax)
	leal	1(%r13), %ecx
	movq	%r14, %rdi
	movl	$512, %esi                      ## imm = 0x200
	leaq	L_.str.2(%rip), %rdx
	callq	_snprintf
	movl	$1, %r12d
	movq	-104(%rbp), %rsp                ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_free
	xorl	%r15d, %r15d
	jmp	LBB0_19
LBB0_26:
	movq	_stdout@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_fflush
	movl	(%rbx), %edi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_30
LBB0_28:
	movl	(%rbx), %edi
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_31
## %bb.29:
	leaq	L_.str.4(%rip), %rdi
LBB0_30:
	callq	__
	movq	_outfilename@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	leaq	L_.str.1(%rip), %rsi
	cmovneq	%rcx, %rsi
	movl	%eax, %edi
	callq	_lerrsf
LBB0_31:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_33
## %bb.32:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"flex_alloc failed in filter_fix_linedirs"

	.comm	_stdin,4,2                      ## @stdin
	.comm	_regex_linedir,4,2              ## @regex_linedir
	.comm	_outfilename,8,3                ## @outfilename
L_.str.1:                               ## @.str.1
	.asciz	"<stdout>"

	.comm	_headerfilename,8,3             ## @headerfilename
	.comm	_MAXLINE,4,2                    ## @MAXLINE
L_.str.2:                               ## @.str.2
	.asciz	"#line %d \"%s\"\n"

	.comm	_regex_blank_line,4,2           ## @regex_blank_line
	.comm	_stdout,4,2                     ## @stdout
L_.str.3:                               ## @.str.3
	.asciz	"error writing output file %s"

L_.str.4:                               ## @.str.4
	.asciz	"error closing output file %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_filter_fix_linedirs            ; -- Begin function filter_fix_linedirs
	.p2align	2
_filter_fix_linedirs:                   ; @filter_fix_linedirs
	.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, #64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	cbz	x0, LBB0_32
; %bb.1:
	mov	w0, #512
	bl	_flex_alloc
	mov	x19, x0
	cbnz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_flexerror
LBB0_3:
Lloh5:
	adrp	x24, _stdin@GOTPAGE
Lloh6:
	ldr	x24, [x24, _stdin@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x19
	mov	w1, #512
	bl	_fgets
Lloh7:
	adrp	x28, _stdout@GOTPAGE
Lloh8:
	ldr	x28, [x28, _stdout@GOTPAGEOFF]
	cbz	x0, LBB0_27
; %bb.4:
	mov	w22, #0
	sub	x8, x29, #128
	add	x9, x8, #4
	add	x8, x8, #8
	stp	x8, x9, [x29, #-144]            ; 16-byte Folded Spill
	mov	w27, #1
Lloh9:
	adrp	x26, _MAXLINE@GOTPAGE
Lloh10:
	ldr	x26, [x26, _MAXLINE@GOTPAGEOFF]
	mov	w20, #92
Lloh11:
	adrp	x23, _regex_blank_line@GOTPAGE
Lloh12:
	ldr	x23, [x23, _regex_blank_line@GOTPAGEOFF]
	mov	w21, #1
	b	LBB0_10
LBB0_5:                                 ;   in Loop: Header=BB0_10 Depth=1
	strb	wzr, [x8]
	add	w3, w27, #1
	mov	x0, x19
	mov	w1, #512
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_snprintf
	mov	w21, #1
	mov	sp, x22
LBB0_6:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x25
	bl	_free
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	w25, #0
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x28]
	mov	x0, x19
	bl	_fputs
	add	w27, w27, #1
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w2, [x24]
	mov	x0, x19
	mov	w1, #512
	bl	_fgets
	mov	x22, x25
	cbz	x0, LBB0_27
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
	ldrb	w8, [x19]
	cmp	w8, #35
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sub	x3, x29, #128
Lloh15:
	adrp	x0, _regex_linedir@GOTPAGE
Lloh16:
	ldr	x0, [x0, _regex_linedir@GOTPAGEOFF]
	mov	x1, x19
	mov	w2, #3
	mov	w4, #0
	bl	_regexec
	cbz	x0, LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	cbz	w21, LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x23
	mov	x1, x19
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_regexec
	mov	w25, #0
	cbnz	x0, LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w25, #1
	mov	w21, #1
	cbz	w22, LBB0_8
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w21, #1
	b	LBB0_9
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
	ldur	x0, [x29, #-136]                ; 8-byte Folded Reload
	mov	x1, x19
	mov	x2, #0
	mov	w3, #0
	bl	_regmatch_strtol
	ldur	x0, [x29, #-144]                ; 8-byte Folded Reload
	mov	x1, x19
	bl	_regmatch_dup
	mov	x25, x0
Lloh17:
	adrp	x8, _outfilename@GOTPAGE
Lloh18:
	ldr	x8, [x8, _outfilename@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x8, #0
Lloh20:
	adrp	x21, l_.str.1@PAGE
Lloh21:
	add	x21, x21, l_.str.1@PAGEOFF
	csel	x1, x21, x8, eq
	bl	_strcmp
	cbz	x0, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh22:
	adrp	x8, _headerfilename@GOTPAGE
Lloh23:
	ldr	x8, [x8, _headerfilename@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x8, #0
	csel	x1, x21, x8, eq
	mov	x0, x25
	bl	_strcmp
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w21, #0
	b	LBB0_6
LBB0_19:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x22, sp
	ldr	w8, [x26]
	mov	x9, x8
Lloh25:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh26:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x4, x9, x8
	mov	sp, x4
	ldr	w9, [x26]
	mov	x8, x4
	cmp	w9, #2
	b.lt	LBB0_5
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x8, x4
	mov	x9, x25
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=2
	add	x9, x9, #1
	strb	w10, [x8], #1
	ldrsw	x10, [x26]
	sub	x10, x10, #1
	sub	x11, x8, x4
	cmp	x11, x10
	b.ge	LBB0_5
LBB0_22:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x9]
	cmp	w10, #92
	b.eq	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=2
	cbz	w10, LBB0_5
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=2
	cmp	w10, #34
	b.ne	LBB0_21
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_22 Depth=2
	strb	w20, [x8], #1
	ldrb	w10, [x9]
	cmp	w10, #34
	b.ne	LBB0_21
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=2
	strb	w20, [x8], #1
	ldrb	w10, [x9]
	b	LBB0_21
LBB0_27:
	ldr	w0, [x28]
	bl	_fflush
	ldr	w0, [x28]
	bl	_ferror
	cbz	x0, LBB0_29
; %bb.28:
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_31
LBB0_29:
	ldr	w0, [x28]
	bl	_fclose
	cbz	x0, LBB0_32
; %bb.30:
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_31:
	bl	__
Lloh31:
	adrp	x8, _outfilename@GOTPAGE
Lloh32:
	ldr	x8, [x8, _outfilename@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x8, #0
Lloh34:
	adrp	x9, l_.str.1@PAGE
Lloh35:
	add	x9, x9, l_.str.1@PAGEOFF
	csel	x1, x9, x8, eq
	bl	_lerrsf
LBB0_32:
	ldur	x8, [x29, #-88]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	mov	w0, #0
	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_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"flex_alloc failed in filter_fix_linedirs"

	.comm	_stdin,4,2                      ; @stdin
	.comm	_regex_linedir,4,2              ; @regex_linedir
	.comm	_outfilename,8,3                ; @outfilename
l_.str.1:                               ; @.str.1
	.asciz	"<stdout>"

	.comm	_headerfilename,8,3             ; @headerfilename
	.comm	_MAXLINE,4,2                    ; @MAXLINE
l_.str.2:                               ; @.str.2
	.asciz	"#line %d \"%s\"\n"

	.comm	_regex_blank_line,4,2           ; @regex_blank_line
	.comm	_stdout,4,2                     ; @stdout
l_.str.3:                               ; @.str.3
	.asciz	"error writing output file %s"

l_.str.4:                               ; @.str.4
	.asciz	"error closing output file %s"

.subsections_via_symbols
