	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plan_a
_plan_a:                                ## @plan_a
	.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
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_56
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$0, (%rdi)
	je	LBB0_56
## %bb.2:
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_stat
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	movq	_ok_to_create_file@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_8
## %bb.4:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_say
LBB0_6:
	movq	_check_only@GOTPCREL(%rip), %rax
	movl	$1, %r14d
	cmpq	$0, (%rax)
	jne	LBB0_56
## %bb.7:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_makedirs
	movq	%rbx, %rdi
	movl	$438, %esi                      ## imm = 0x1B6
	callq	_creat
	movl	%eax, %edi
	callq	_close
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_stat
LBB0_8:
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_fatal
LBB0_10:
	movl	-64(%rbp), %edi
	movq	_filemode@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	callq	_S_ISREG
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_fatal
LBB0_12:
	movq	-72(%rbp), %rax
	movq	_SIZE_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_14
## %bb.13:
	leaq	L_.str.3(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_say
	jmp	LBB0_56
LBB0_14:
	movq	_i_size@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	movq	_out_of_mem@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_16
## %bb.15:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_set_hunkmax
	movl	$0, (%r15)
LBB0_56:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_open
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_18
## %bb.17:
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	callq	_pfatal
LBB0_18:
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_21
## %bb.19:
	movq	_PROT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MAP_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	movl	%r15d, %r8d
	xorl	%r9d, %r9d
	callq	_mmap
	movq	_i_womp@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_MAP_FAILED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.20:
	movl	%r15d, %edi
	callq	_plan_a.cold.1
	jmp	LBB0_56
LBB0_21:
	movq	_i_womp@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_22:
	movl	%r15d, %edi
	callq	_close
	movq	(%r12), %rsi
	xorl	%r14d, %r14d
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.24:
	movq	_i_womp@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_MADV_SEQUENTIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_madvise
	movq	(%r12), %rcx
	movabsq	$5165088340638674453, %rdx      ## imm = 0x47AE147AE147AE15
	movq	%rcx, %rax
	mulq	%rdx
	subq	%rdx, %rcx
	shrq	%rcx
	addq	%rdx, %rcx
	shrq	$4, %rcx
	jmp	LBB0_25
LBB0_23:
	xorl	%ecx, %ecx
LBB0_25:
	cmpq	$101, %rcx
	movl	$100, %eax
	cmovaeq	%rcx, %rax
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rdi
	callq	_reallocate_lines
	testl	%eax, %eax
	je	LBB0_56
## %bb.26:
	movq	_i_womp@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	movq	_i_ptr@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rax
	movq	%r14, 8(%rax)
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_27
## %bb.29:
	movq	%r14, %r13
	shlq	$32, %r13
	movl	$1, %ebx
	xorl	%r15d, %r15d
	movabsq	$4294967296, %rdi               ## imm = 0x100000000
	jmp	LBB0_30
LBB0_34:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	_i_size@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r12, %rsi
	movq	%r14, %rdi
	movq	%rbx, %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_35:                                ##   in Loop: Header=BB0_30 Depth=1
	leaq	(%r14,%r15), %rcx
	incq	%rcx
	movq	(%rsi), %rdx
	movq	%rcx, 8(%rdx,%rbx,8)
	incq	%rbx
LBB0_36:                                ##   in Loop: Header=BB0_30 Depth=1
	incq	%r15
	addq	%rdi, %r13
	cmpq	%rax, %r15
	jae	LBB0_37
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$10, (%r14,%r15)
	jne	LBB0_36
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	cmpq	-56(%rbp), %rbx
	jne	LBB0_35
## %bb.32:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rbx
	movq	%rdi, %r14
	movq	%rsi, %r12
	leaq	-56(%rbp), %rdi
	callq	_reallocate_lines
	testl	%eax, %eax
	jne	LBB0_34
## %bb.33:
	xorl	%r14d, %r14d
	jmp	LBB0_56
LBB0_37:
	movq	_i_womp@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_28
## %bb.38:
	movq	(%rcx), %rcx
	cmpb	$10, -1(%rax,%rcx)
	jne	LBB0_40
## %bb.39:
	movq	_i_womp@GOTPCREL(%rip), %rcx
	jmp	LBB0_28
LBB0_27:
	movl	$1, %ebx
LBB0_28:
	movq	_last_line_missing_eol@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_43:
	decq	%rbx
	movq	_input_lines@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	_revision@GOTPCREL(%rip), %rbx
	movl	$1, %r14d
	cmpq	$0, (%rbx)
	je	LBB0_56
## %bb.44:
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_46
## %bb.45:
	callq	_rev_in_string
	testl	%eax, %eax
	je	LBB0_46
## %bb.53:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_56
## %bb.54:
	movq	(%rbx), %rsi
	leaq	L_.str.10(%rip), %rdi
	jmp	LBB0_55
LBB0_46:
	movq	_force@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_49
## %bb.47:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_56
## %bb.48:
	movq	(%rbx), %rsi
	leaq	L_.str.6(%rip), %rdi
LBB0_55:
	xorl	%eax, %eax
	callq	_say
	jmp	LBB0_56
LBB0_40:
	movq	_last_line_missing_eol@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	(%rsi), %rax
	movq	(%rax,%rbx,8), %rcx
	movl	%r14d, %eax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	subl	%ecx, %eax
	movq	%rsi, %r12
	leal	(%rax,%r15), %edi
	incl	%edi
	callq	_malloc
	movq	(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_41
## %bb.42:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %ecx
	negl	%ecx
	addq	%rcx, %r14
	addq	%r15, %r14
	movq	(%rdi,%rbx,8), %rsi
	movq	%rax, %rdi
	movl	%r14d, %edx
	movq	%rax, %r14
	callq	_memcpy
	shlq	$32, %r12
	subq	%r12, %r13
	sarq	$32, %r13
	movb	$10, (%r14,%r13)
	movq	_i_ptr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	%r14, (%rax,%rbx,8)
	movq	_empty_line@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rcx), %rcx
	movq	%rax, 8(%rcx,%rbx,8)
	incq	%rbx
	movq	_i_womp@GOTPCREL(%rip), %rcx
	jmp	LBB0_43
LBB0_49:
	movq	_batch@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	(%rbx), %rsi
	je	LBB0_51
## %bb.50:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
	jmp	LBB0_56
LBB0_41:
	callq	_free
	movq	_i_ptr@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_i_womp@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_i_size@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_munmap
	movq	$0, (%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_56
LBB0_51:
	leaq	L_.str.8(%rip), %rdi
	callq	_ask
	movq	_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpb	$121, (%rax)
	je	LBB0_56
## %bb.52:
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
	jmp	LBB0_56
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function plan_a.cold.1
_plan_a.cold.1:                         ## @plan_a.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	leaq	L_.str.5(%rip), %rdi
	callq	_perror
	movq	_i_womp@GOTPCREL(%rip), %rax
	andq	$0, (%rax)
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_close                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ok_to_create_file,8,3          ## @ok_to_create_file
	.comm	_verbose,8,3                    ## @verbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(Creating file %s...)\n"

	.comm	_check_only,8,3                 ## @check_only
L_.str.1:                               ## @.str.1
	.asciz	"can't find %s\n"

	.comm	_filemode,4,2                   ## @filemode
L_.str.2:                               ## @.str.2
	.asciz	"%s is not a normal file--can't patch\n"

	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
L_.str.3:                               ## @.str.3
	.asciz	"block too large to mmap\n"

	.comm	_i_size,8,3                     ## @i_size
	.comm	_out_of_mem,4,2                 ## @out_of_mem
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.4:                               ## @.str.4
	.asciz	"can't open file %s"

	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_MAP_PRIVATE,4,2                ## @MAP_PRIVATE
	.comm	_i_womp,8,3                     ## @i_womp
	.comm	_MAP_FAILED,8,3                 ## @MAP_FAILED
L_.str.5:                               ## @.str.5
	.asciz	"mmap failed"

	.comm	_MADV_SEQUENTIAL,4,2            ## @MADV_SEQUENTIAL
	.comm	_i_ptr,8,3                      ## @i_ptr
	.comm	_last_line_missing_eol,4,2      ## @last_line_missing_eol
	.comm	_empty_line,8,3                 ## @empty_line
	.comm	_input_lines,8,3                ## @input_lines
	.comm	_revision,8,3                   ## @revision
	.comm	_force,8,3                      ## @force
L_.str.6:                               ## @.str.6
	.asciz	"Warning: this file doesn't appear to be the %s version--patching anyway.\n"

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

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

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

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

	.comm	_debug,4,2                      ## @debug
	.no_dead_strip	_plan_a
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function plan_a
_plan_a:                                ; @plan_a
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	cbz	x0, LBB0_18
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_8
; %bb.2:
	add	x1, sp, #16
	mov	x0, x19
	bl	_stat
	cbz	w0, LBB0_10
; %bb.3:
Lloh0:
	adrp	x8, _ok_to_create_file@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ok_to_create_file@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.4:
Lloh3:
	adrp	x8, _verbose@GOTPAGE
Lloh4:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	str	x19, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_say
LBB0_6:
Lloh8:
	adrp	x8, _check_only@GOTPAGE
Lloh9:
	ldr	x8, [x8, _check_only@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
LBB0_7:
	mov	w0, #1
	b	LBB0_18
LBB0_8:
	mov	w0, #0
	b	LBB0_18
LBB0_9:
	mov	x0, x19
	mov	w1, #1
	bl	_makedirs
	mov	x0, x19
	mov	w1, #438
	bl	_creat
	bl	_close
	add	x1, sp, #16
	mov	x0, x19
	bl	_stat
LBB0_10:
	cbz	w0, LBB0_12
; %bb.11:
	str	x19, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_12:
	ldr	w0, [sp, #24]
Lloh13:
	adrp	x8, _filemode@GOTPAGE
Lloh14:
	ldr	x8, [x8, _filemode@GOTPAGEOFF]
Lloh15:
	str	w0, [x8]
	bl	_S_ISREG
	cbnz	w0, LBB0_14
; %bb.13:
	str	x19, [sp]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_fatal
LBB0_14:
	ldr	x8, [sp, #16]
Lloh18:
	adrp	x9, _SIZE_MAX@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_16
; %bb.15:
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_say
	mov	w0, #0
	b	LBB0_18
LBB0_16:
Lloh23:
	adrp	x22, _i_size@GOTPAGE
Lloh24:
	ldr	x22, [x22, _i_size@GOTPAGEOFF]
	str	x8, [x22]
Lloh25:
	adrp	x20, _out_of_mem@GOTPAGE
Lloh26:
	ldr	x20, [x20, _out_of_mem@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_19
; %bb.17:
	bl	_set_hunkmax
	mov	w0, #0
	str	wzr, [x20]
LBB0_18:
	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
	add	sp, sp, #112
	ret
LBB0_19:
Lloh27:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_open
	mov	x20, x0
	tbz	w0, #31, LBB0_21
; %bb.20:
Lloh30:
	adrp	x0, l_.str.4@PAGE
Lloh31:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_pfatal
LBB0_21:
	ldr	x1, [x22]
Lloh32:
	adrp	x21, _i_womp@GOTPAGE
Lloh33:
	ldr	x21, [x21, _i_womp@GOTPAGEOFF]
	cbz	x1, LBB0_24
; %bb.22:
Lloh34:
	adrp	x8, _PROT_READ@GOTPAGE
Lloh35:
	ldr	x8, [x8, _PROT_READ@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
Lloh37:
	adrp	x8, _MAP_PRIVATE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MAP_PRIVATE@GOTPAGEOFF]
Lloh39:
	ldr	w3, [x8]
	mov	x0, #0
	mov	x4, x20
	mov	w5, #0
	bl	_mmap
	str	x0, [x21]
Lloh40:
	adrp	x8, _MAP_FAILED@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MAP_FAILED@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_25
; %bb.23:
	mov	x0, x20
	bl	_plan_a.cold.1
	mov	w0, #0
	b	LBB0_18
LBB0_24:
	str	xzr, [x21]
LBB0_25:
	mov	x0, x20
	bl	_close
	ldr	x1, [x22]
	cbz	x1, LBB0_27
; %bb.26:
	ldr	x0, [x21]
Lloh43:
	adrp	x8, _MADV_SEQUENTIAL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _MADV_SEQUENTIAL@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
	bl	_madvise
	ldr	x8, [x22]
	mov	x9, #44565
	movk	x9, #57671, lsl #16
	movk	x9, #5242, lsl #32
	movk	x9, #18350, lsl #48
	umulh	x9, x8, x9
	sub	x8, x8, x9
	add	x8, x9, x8, lsr #1
	lsr	x8, x8, #4
	b	LBB0_28
LBB0_27:
	mov	x8, #0
LBB0_28:
	mov	w9, #100
	cmp	x8, #100
	csel	x8, x8, x9, hi
	str	x8, [sp, #8]
	add	x0, sp, #8
	bl	_reallocate_lines
	cbz	w0, LBB0_18
; %bb.29:
	ldr	x19, [x21]
Lloh46:
	adrp	x24, _i_ptr@GOTPAGE
Lloh47:
	ldr	x24, [x24, _i_ptr@GOTPAGEOFF]
	ldr	x8, [x24]
	str	x19, [x8, #8]
	ldr	x8, [x22]
	cbz	x8, LBB0_41
; %bb.30:
	mov	x20, #0
	lsl	x25, x19, #32
	mov	w23, #1
	mov	x26, #4294967296
	b	LBB0_34
LBB0_31:                                ;   in Loop: Header=BB0_34 Depth=1
	ldr	x8, [x22]
LBB0_32:                                ;   in Loop: Header=BB0_34 Depth=1
	add	x9, x19, x20
	add	x9, x9, #1
	ldr	x10, [x24]
	add	x23, x23, #1
	str	x9, [x10, x23, lsl #3]
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=1
	add	x20, x20, #1
	add	x25, x25, x26
	cmp	x20, x8
	b.hs	LBB0_37
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x19, x20]
	cmp	w9, #10
	b.ne	LBB0_33
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x9, [sp, #8]
	cmp	x23, x9
	b.ne	LBB0_32
; %bb.36:                               ;   in Loop: Header=BB0_34 Depth=1
	add	x0, sp, #8
	bl	_reallocate_lines
	cbnz	w0, LBB0_31
	b	LBB0_18
LBB0_37:
	cbz	x8, LBB0_42
; %bb.38:
	ldr	x9, [x21]
	add	x8, x8, x9
	ldurb	w8, [x8, #-1]
	cmp	w8, #10
	b.eq	LBB0_42
; %bb.39:
Lloh48:
	adrp	x8, _last_line_missing_eol@GOTPAGE
Lloh49:
	ldr	x8, [x8, _last_line_missing_eol@GOTPAGEOFF]
	mov	w9, #1
Lloh50:
	str	w9, [x8]
	ldr	x8, [x24]
	ldr	x26, [x8, x23, lsl #3]
	neg	w8, w26
	add	x8, x19, x8
	add	x20, x8, x20
	add	w0, w20, #1
	bl	_malloc
	mov	x19, x0
	ldr	x0, [x24]
	cbz	x19, LBB0_54
; %bb.40:
	lsl	x22, x23, #3
	ldr	x1, [x0, x22]
	mov	x0, x19
	mov	x2, x20
	bl	_memcpy
	sub	x8, x25, x26, lsl #32
	asr	x8, x8, #32
	mov	w9, #10
	strb	w9, [x19, x8]
	ldr	x8, [x24]
	str	x19, [x8, x22]
Lloh51:
	adrp	x8, _empty_line@GOTPAGE
Lloh52:
	ldr	x8, [x8, _empty_line@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	ldr	x9, [x24]
	add	x23, x23, #1
	str	x8, [x9, x23, lsl #3]
	b	LBB0_43
LBB0_41:
	mov	w23, #1
LBB0_42:
Lloh54:
	adrp	x8, _last_line_missing_eol@GOTPAGE
Lloh55:
	ldr	x8, [x8, _last_line_missing_eol@GOTPAGEOFF]
Lloh56:
	str	wzr, [x8]
LBB0_43:
	sub	x8, x23, #1
Lloh57:
	adrp	x9, _input_lines@GOTPAGE
Lloh58:
	ldr	x9, [x9, _input_lines@GOTPAGEOFF]
Lloh59:
	str	x8, [x9]
Lloh60:
	adrp	x19, _revision@GOTPAGE
Lloh61:
	ldr	x19, [x19, _revision@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.44:
	ldr	x0, [x21]
	cbz	x0, LBB0_48
; %bb.45:
	bl	_rev_in_string
	cbz	w0, LBB0_48
; %bb.46:
Lloh62:
	adrp	x8, _verbose@GOTPAGE
Lloh63:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.47:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh65:
	adrp	x0, l_.str.10@PAGE
Lloh66:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_51
LBB0_48:
Lloh67:
	adrp	x8, _force@GOTPAGE
Lloh68:
	ldr	x8, [x8, _force@GOTPAGEOFF]
Lloh69:
	ldr	x8, [x8]
	cbz	x8, LBB0_52
; %bb.49:
Lloh70:
	adrp	x8, _verbose@GOTPAGE
Lloh71:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh72:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.50:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh73:
	adrp	x0, l_.str.6@PAGE
Lloh74:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_51:
	bl	_say
	b	LBB0_7
LBB0_52:
Lloh75:
	adrp	x8, _batch@GOTPAGE
Lloh76:
	ldr	x8, [x8, _batch@GOTPAGEOFF]
Lloh77:
	ldr	x8, [x8]
	ldr	x1, [x19]
	cbz	x8, LBB0_55
; %bb.53:
	str	x1, [sp]
Lloh78:
	adrp	x0, l_.str.7@PAGE
Lloh79:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_fatal
	b	LBB0_7
LBB0_54:
	bl	_free
	str	xzr, [x24]
	ldr	x0, [x21]
	ldr	x1, [x22]
	bl	_munmap
	mov	w0, #0
	str	xzr, [x21]
	b	LBB0_18
LBB0_55:
Lloh80:
	adrp	x0, l_.str.8@PAGE
Lloh81:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_ask
Lloh82:
	adrp	x8, _buf@GOTPAGE
Lloh83:
	ldr	x8, [x8, _buf@GOTPAGEOFF]
Lloh84:
	ldr	x8, [x8]
	ldrb	w8, [x8]
	cmp	w8, #121
	b.eq	LBB0_7
; %bb.56:
Lloh85:
	adrp	x0, l_.str.9@PAGE
Lloh86:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_fatal
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotStr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotStr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotStr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh85, Lloh86
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function plan_a.cold.1
_plan_a.cold.1:                         ; @plan_a.cold.1
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh87:
	adrp	x0, l_.str.5@PAGE
Lloh88:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_perror
Lloh89:
	adrp	x8, _i_womp@GOTPAGE
Lloh90:
	ldr	x8, [x8, _i_womp@GOTPAGEOFF]
Lloh91:
	str	xzr, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_close
	.loh AdrpLdrGotStr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh87, Lloh88
	.cfi_endproc
                                        ; -- End function
	.comm	_ok_to_create_file,8,3          ; @ok_to_create_file
	.comm	_verbose,8,3                    ; @verbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(Creating file %s...)\n"

	.comm	_check_only,8,3                 ; @check_only
l_.str.1:                               ; @.str.1
	.asciz	"can't find %s\n"

	.comm	_filemode,4,2                   ; @filemode
l_.str.2:                               ; @.str.2
	.asciz	"%s is not a normal file--can't patch\n"

	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
l_.str.3:                               ; @.str.3
	.asciz	"block too large to mmap\n"

	.comm	_i_size,8,3                     ; @i_size
	.comm	_out_of_mem,4,2                 ; @out_of_mem
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.4:                               ; @.str.4
	.asciz	"can't open file %s"

	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_MAP_PRIVATE,4,2                ; @MAP_PRIVATE
	.comm	_i_womp,8,3                     ; @i_womp
	.comm	_MAP_FAILED,8,3                 ; @MAP_FAILED
l_.str.5:                               ; @.str.5
	.asciz	"mmap failed"

	.comm	_MADV_SEQUENTIAL,4,2            ; @MADV_SEQUENTIAL
	.comm	_i_ptr,8,3                      ; @i_ptr
	.comm	_last_line_missing_eol,4,2      ; @last_line_missing_eol
	.comm	_empty_line,8,3                 ; @empty_line
	.comm	_input_lines,8,3                ; @input_lines
	.comm	_revision,8,3                   ; @revision
	.comm	_force,8,3                      ; @force
l_.str.6:                               ; @.str.6
	.asciz	"Warning: this file doesn't appear to be the %s version--patching anyway.\n"

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

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

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

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

	.comm	_debug,4,2                      ; @debug
	.no_dead_strip	_plan_a
.subsections_via_symbols
