	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plan_b
_plan_b:                                ## @plan_b
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_revision@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpq	$0, (%rax)
	movq	%rdi, %rbx
	sete	%r14b
	movq	_using_plan_a@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_pfatal
LBB0_2:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	_TMPINNAME@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_unlink
	movq	_O_EXCL@GOTPCREL(%rip), %rax
	movq	_O_CREAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	(%rbx), %rdi
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	$438, %edx                      ## imm = 0x1B6
	xorl	%eax, %eax
	callq	_open
	movq	_tifd@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pfatal
LBB0_4:
	movb	%r14b, %r15b
	leaq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_fgetln
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %rbx
	movl	$1, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rax
	cmpq	%r12, %rax
	cmovaq	%rax, %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	-56(%rbp), %rsi
	callq	_fgetln
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_16
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %r13
	cmpb	$10, -1(%r13,%rbx)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movb	$0, -1(%rbx,%r13)
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	leaq	1(%r13), %rdi
	callq	_malloc
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
	movq	-56(%rbp), %r13
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	movq	-56(%rbp), %rax
	movb	$0, (%r14,%rax)
	movq	_last_line_missing_eol@GOTPCREL(%rip), %rcx
	movl	$1, (%rcx)
	incq	%rax
	movq	%rax, -56(%rbp)
	movq	%r14, %rbx
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_revision@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	testl	%r15d, %r15d
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_rev_in_string
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
	jmp	LBB0_15
LBB0_5:
	movl	$1, %r12d
	xorl	%r14d, %r14d
LBB0_16:
	movq	%r14, %rdi
	callq	_free
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	L_.str.3(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_pfatal
LBB0_18:
	movq	_revision@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_30
## %bb.19:
	testl	%r15d, %r15d
	je	LBB0_20
## %bb.27:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_30
## %bb.28:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_29
LBB0_20:
	movq	_force@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_23
## %bb.21:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_30
## %bb.22:
	leaq	L_.str.4(%rip), %rdi
LBB0_29:
	callq	_say
LBB0_30:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_fseek
	movq	_tireclen@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
	movq	_BUFFERSIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	%rbx, %r12
	cmovaq	%r12, %rbx
	movq	_tibuflen@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	%rbx, %rax
	orq	%r12, %rax
	shrq	$32, %rax
	je	LBB0_31
## %bb.32:
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%r12
	jmp	LBB0_33
LBB0_31:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%r12d
                                        ## kill: def $eax killed $eax def $rax
LBB0_33:
	movq	_lines_per_buf@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	incq	%rbx
	movq	%rbx, %rdi
	callq	_malloc
	movq	_tibuf@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	movq	%rax, (%rcx)
	movq	(%rdx), %r14
	cmpq	$0, (%r14)
	jne	LBB0_35
## %bb.34:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
	movq	_tibuflen@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_tibuf@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	incq	%rbx
LBB0_35:
	movq	%rbx, %rdi
	callq	_malloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	jne	LBB0_37
## %bb.36:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_37:
	leaq	1(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	_tibuf@GOTPCREL(%rip), %r14
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_56:                                ##   in Loop: Header=BB0_38 Depth=1
	movb	$10, (%r15,%rax)
LBB0_57:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	%rbx, %r13
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%r13), %rbx
	movq	(%r14), %rax
	movq	(%rax), %rsi
	movq	_lines_per_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rbx, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_39
## %bb.40:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_38 Depth=1
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_41:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	%rdx, %r15
	imulq	%r12, %r15
	addq	%rsi, %r15
	testq	%rdx, %rdx
	jne	LBB0_44
## %bb.42:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	_tifd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_tibuflen@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	callq	_write
	cmpq	(%r14), %rax
	movq	_tibuf@GOTPCREL(%rip), %r14
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_38 Depth=1
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_pfatal
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_45
## %bb.54:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	%r15, %rdi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_38 Depth=1
	cmpb	$10, -1(%rax,%r15)
	jne	LBB0_56
	jmp	LBB0_57
LBB0_45:
	movq	_input_lines@GOTPCREL(%rip), %rax
	movq	%r13, (%rax)
	movq	_lines_per_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	incq	%r13
	movq	%r13, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_46
## %bb.47:
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_48
LBB0_46:
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_48:
	movq	_TMPINNAME@GOTPCREL(%rip), %r14
	testq	%rdx, %rdx
	je	LBB0_51
## %bb.49:
	movq	_tifd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_tibuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rsi
	movq	_tibuflen@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	callq	_write
	cmpq	(%rbx), %rax
	je	LBB0_51
## %bb.50:
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_pfatal
LBB0_51:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_fclose
	movq	_tifd@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_close
	movq	(%r14), %rdi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%eax, %eax
	callq	_open
	movl	%eax, (%rbx)
	testl	%eax, %eax
	jns	LBB0_53
## %bb.52:
	movq	(%r14), %rsi
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_pfatal
LBB0_53:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	_batch@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_25
## %bb.24:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
	jmp	LBB0_30
LBB0_25:
	leaq	L_.str.6(%rip), %rdi
	callq	_ask
	movq	_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpb	$121, (%rax)
	je	LBB0_30
## %bb.26:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_revision,8,3                   ## @revision
	.comm	_using_plan_a,4,2               ## @using_plan_a
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"can't open file %s"

	.comm	_TMPINNAME,8,3                  ## @TMPINNAME
	.comm	_O_EXCL,4,2                     ## @O_EXCL
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_tifd,4,2                       ## @tifd
L_.str.2:                               ## @.str.2
	.asciz	"out of memory\n"

	.comm	_last_line_missing_eol,4,2      ## @last_line_missing_eol
L_.str.3:                               ## @.str.3
	.asciz	"can't read file %s"

	.comm	_force,8,3                      ## @force
	.comm	_verbose,8,3                    ## @verbose
L_.str.4:                               ## @.str.4
	.asciz	"Warning: this file doesn't appear to be the %s version--patching anyway.\n"

	.comm	_batch,8,3                      ## @batch
L_.str.5:                               ## @.str.5
	.asciz	"this file doesn't appear to be the %s version--aborting.\n"

L_.str.6:                               ## @.str.6
	.asciz	"This file doesn't appear to be the %s version--patch anyway? [n] "

	.comm	_buf,8,3                        ## @buf
L_.str.7:                               ## @.str.7
	.asciz	"aborted\n"

L_.str.8:                               ## @.str.8
	.asciz	"Good.  This file appears to be the %s version.\n"

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_tireclen,8,3                   ## @tireclen
	.comm	_BUFFERSIZE,8,3                 ## @BUFFERSIZE
	.comm	_tibuflen,8,3                   ## @tibuflen
	.comm	_lines_per_buf,8,3              ## @lines_per_buf
	.comm	_tibuf,8,3                      ## @tibuf
L_.str.9:                               ## @.str.9
	.asciz	"can't write temp file"

	.comm	_input_lines,8,3                ## @input_lines
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.10:                              ## @.str.10
	.asciz	"can't reopen file %s"

	.no_dead_strip	_plan_b
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function plan_b
_plan_b:                                ; @plan_b
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x26, x0
Lloh0:
	adrp	x28, _revision@GOTPAGE
Lloh1:
	ldr	x28, [x28, _revision@GOTPAGEOFF]
	ldr	x8, [x28]
	cmp	x8, #0
	cset	w25, eq
Lloh2:
	adrp	x8, _using_plan_a@GOTPAGE
Lloh3:
	ldr	x8, [x8, _using_plan_a@GOTPAGEOFF]
Lloh4:
	str	wzr, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
	str	x26, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pfatal
LBB0_2:
Lloh9:
	adrp	x20, _TMPINNAME@GOTPAGE
Lloh10:
	ldr	x20, [x20, _TMPINNAME@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_unlink
	ldr	x0, [x20]
Lloh11:
	adrp	x8, _O_EXCL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _O_EXCL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh17:
	adrp	x9, _O_WRONLY@GOTPAGE
Lloh18:
	ldr	x9, [x9, _O_WRONLY@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	w8, #438
	str	x8, [sp]
	bl	_open
Lloh20:
	adrp	x8, _tifd@GOTPAGE
Lloh21:
	ldr	x8, [x8, _tifd@GOTPAGEOFF]
Lloh22:
	str	w0, [x8]
	tbz	w0, #31, LBB0_4
; %bb.3:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pfatal
LBB0_4:
	add	x1, sp, #8
	mov	x0, x19
	bl	_fgetln
	mov	w20, #1
	cbz	x0, LBB0_14
; %bb.5:
	mov	x23, x0
	mov	x21, #0
Lloh25:
	adrp	x22, _last_line_missing_eol@GOTPAGE
Lloh26:
	ldr	x22, [x22, _last_line_missing_eol@GOTPAGEOFF]
	mov	w27, #1
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #8]
	cmp	x8, x27
	csel	x27, x8, x27, hi
	add	x1, sp, #8
	mov	x0, x19
	bl	_fgetln
	mov	x23, x0
	cbz	x0, LBB0_15
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [sp, #8]
	sub	x8, x24, #1
	ldrb	w9, [x23, x8]
	cmp	w9, #10
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	wzr, [x23, x8]
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x0, x24, #1
	bl	_malloc
	mov	x21, x0
	cbnz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_fatal
	ldr	x24, [sp, #8]
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	x2, x24
	bl	_memcpy
	ldr	x8, [sp, #8]
	strb	wzr, [x21, x8]
	str	w20, [x22]
	add	x8, x8, #1
	str	x8, [sp, #8]
	mov	x23, x21
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x28]
	cmp	x8, #0
	ccmp	w25, #0, #0, ne
	b.ne	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
	bl	_rev_in_string
	cmp	x0, #0
	cset	w25, ne
	b	LBB0_6
LBB0_14:
	mov	x21, #0
	mov	w27, #1
LBB0_15:
	mov	x0, x21
	bl	_free
	mov	x0, x19
	bl	_ferror
	cbz	x0, LBB0_17
; %bb.16:
	str	x26, [sp]
Lloh29:
	adrp	x0, l_.str.3@PAGE
Lloh30:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pfatal
LBB0_17:
	ldr	x1, [x28]
	cbz	x1, LBB0_25
; %bb.18:
	cbz	w25, LBB0_21
; %bb.19:
Lloh31:
	adrp	x8, _verbose@GOTPAGE
Lloh32:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cbz	x8, LBB0_25
; %bb.20:
Lloh34:
	adrp	x0, l_.str.8@PAGE
Lloh35:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_24
LBB0_21:
Lloh36:
	adrp	x8, _force@GOTPAGE
Lloh37:
	ldr	x8, [x8, _force@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cbz	x8, LBB0_44
; %bb.22:
Lloh39:
	adrp	x8, _verbose@GOTPAGE
Lloh40:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cbz	x8, LBB0_25
; %bb.23:
Lloh42:
	adrp	x0, l_.str.4@PAGE
Lloh43:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_24:
	bl	_say
LBB0_25:
Lloh44:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	bl	_fseek
Lloh47:
	adrp	x8, _tireclen@GOTPAGE
Lloh48:
	ldr	x8, [x8, _tireclen@GOTPAGEOFF]
Lloh49:
	adrp	x9, _BUFFERSIZE@GOTPAGE
Lloh50:
	ldr	x9, [x9, _BUFFERSIZE@GOTPAGEOFF]
Lloh51:
	str	x27, [x8]
Lloh52:
	ldr	x8, [x9]
	cmp	x27, x8
	csel	x8, x27, x8, hi
Lloh53:
	adrp	x23, _tibuflen@GOTPAGE
Lloh54:
	ldr	x23, [x23, _tibuflen@GOTPAGEOFF]
	str	x8, [x23]
	udiv	x9, x8, x27
Lloh55:
	adrp	x24, _lines_per_buf@GOTPAGE
Lloh56:
	ldr	x24, [x24, _lines_per_buf@GOTPAGEOFF]
	str	x9, [x24]
	add	x20, x8, #1
	mov	x0, x20
	bl	_malloc
Lloh57:
	adrp	x25, _tibuf@GOTPAGE
Lloh58:
	ldr	x25, [x25, _tibuf@GOTPAGEOFF]
	ldr	x8, [x25]
	str	x0, [x8]
	ldr	x21, [x25]
	ldr	x8, [x21]
	cbnz	x8, LBB0_27
; %bb.26:
Lloh59:
	adrp	x0, l_.str.2@PAGE
Lloh60:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_fatal
	ldr	x8, [x23]
	ldr	x21, [x25]
	add	x20, x8, #1
LBB0_27:
	mov	x0, x20
	bl	_malloc
	str	x0, [x21, #8]
	cbnz	x0, LBB0_29
; %bb.28:
Lloh61:
	adrp	x0, l_.str.2@PAGE
Lloh62:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_fatal
LBB0_29:
	mov	x28, #0
	add	x20, x27, #1
	mov	w26, #10
	b	LBB0_32
LBB0_30:                                ;   in Loop: Header=BB0_32 Depth=1
	strb	w26, [x22, x0]
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	add	x28, x28, #1
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x28, #1
	ldr	x9, [x25]
	ldr	x22, [x9]
	ldr	x9, [x24]
	udiv	x10, x8, x9
	msub	x21, x10, x9, x8
	cbnz	x21, LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
Lloh63:
	adrp	x8, _tifd@GOTPAGE
Lloh64:
	ldr	x8, [x8, _tifd@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
	ldr	x2, [x23]
	mov	x1, x22
	bl	_write
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_32 Depth=1
Lloh66:
	adrp	x0, l_.str.9@PAGE
Lloh67:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pfatal
LBB0_35:                                ;   in Loop: Header=BB0_32 Depth=1
	madd	x22, x21, x27, x22
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_38
; %bb.36:                               ;   in Loop: Header=BB0_32 Depth=1
	mov	x0, x22
	bl	_strlen
	cbz	x0, LBB0_30
; %bb.37:                               ;   in Loop: Header=BB0_32 Depth=1
	add	x8, x0, x22
	ldurb	w8, [x8, #-1]
	cmp	w8, #10
	b.ne	LBB0_30
	b	LBB0_31
LBB0_38:
Lloh68:
	adrp	x8, _input_lines@GOTPAGE
Lloh69:
	ldr	x8, [x8, _input_lines@GOTPAGEOFF]
Lloh70:
	str	x28, [x8]
	ldr	x8, [x24]
	add	x9, x28, #1
	udiv	x10, x9, x8
	msub	x8, x10, x8, x9
	cbz	x8, LBB0_41
; %bb.39:
Lloh71:
	adrp	x8, _tifd@GOTPAGE
Lloh72:
	ldr	x8, [x8, _tifd@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
	ldr	x8, [x25]
	ldr	x1, [x8]
	ldr	x2, [x23]
	bl	_write
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_41
; %bb.40:
Lloh74:
	adrp	x0, l_.str.9@PAGE
Lloh75:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pfatal
LBB0_41:
	mov	x0, x19
	bl	_fclose
Lloh76:
	adrp	x20, _tifd@GOTPAGE
Lloh77:
	ldr	x20, [x20, _tifd@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_close
Lloh78:
	adrp	x19, _TMPINNAME@GOTPAGE
Lloh79:
	ldr	x19, [x19, _TMPINNAME@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh80:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh81:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh82:
	ldr	w1, [x8]
	bl	_open
	str	w0, [x20]
	tbz	w0, #31, LBB0_43
; %bb.42:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh83:
	adrp	x0, l_.str.10@PAGE
Lloh84:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_pfatal
LBB0_43:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_44:
Lloh85:
	adrp	x8, _batch@GOTPAGE
Lloh86:
	ldr	x8, [x8, _batch@GOTPAGEOFF]
Lloh87:
	ldr	x8, [x8]
	cbz	x8, LBB0_46
; %bb.45:
	str	x1, [sp]
Lloh88:
	adrp	x0, l_.str.5@PAGE
Lloh89:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_fatal
	b	LBB0_25
LBB0_46:
Lloh90:
	adrp	x0, l_.str.6@PAGE
Lloh91:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_ask
Lloh92:
	adrp	x8, _buf@GOTPAGE
Lloh93:
	ldr	x8, [x8, _buf@GOTPAGEOFF]
Lloh94:
	ldr	x8, [x8]
	ldrb	w8, [x8]
	cmp	w8, #121
	b.eq	LBB0_25
; %bb.47:
Lloh95:
	adrp	x0, l_.str.7@PAGE
Lloh96:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_fatal
	b	LBB0_25
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh52
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh51
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotStr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh95, Lloh96
	.cfi_endproc
                                        ; -- End function
	.comm	_revision,8,3                   ; @revision
	.comm	_using_plan_a,4,2               ; @using_plan_a
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"can't open file %s"

	.comm	_TMPINNAME,8,3                  ; @TMPINNAME
	.comm	_O_EXCL,4,2                     ; @O_EXCL
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_tifd,4,2                       ; @tifd
l_.str.2:                               ; @.str.2
	.asciz	"out of memory\n"

	.comm	_last_line_missing_eol,4,2      ; @last_line_missing_eol
l_.str.3:                               ; @.str.3
	.asciz	"can't read file %s"

	.comm	_force,8,3                      ; @force
	.comm	_verbose,8,3                    ; @verbose
l_.str.4:                               ; @.str.4
	.asciz	"Warning: this file doesn't appear to be the %s version--patching anyway.\n"

	.comm	_batch,8,3                      ; @batch
l_.str.5:                               ; @.str.5
	.asciz	"this file doesn't appear to be the %s version--aborting.\n"

l_.str.6:                               ; @.str.6
	.asciz	"This file doesn't appear to be the %s version--patch anyway? [n] "

	.comm	_buf,8,3                        ; @buf
l_.str.7:                               ; @.str.7
	.asciz	"aborted\n"

l_.str.8:                               ; @.str.8
	.asciz	"Good.  This file appears to be the %s version.\n"

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_tireclen,8,3                   ; @tireclen
	.comm	_BUFFERSIZE,8,3                 ; @BUFFERSIZE
	.comm	_tibuflen,8,3                   ; @tibuflen
	.comm	_lines_per_buf,8,3              ; @lines_per_buf
	.comm	_tibuf,8,3                      ; @tibuf
l_.str.9:                               ; @.str.9
	.asciz	"can't write temp file"

	.comm	_input_lines,8,3                ; @input_lines
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.10:                              ; @.str.10
	.asciz	"can't reopen file %s"

	.no_dead_strip	_plan_b
.subsections_via_symbols
