	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_ed_hunk
_print_ed_hunk:                         ## @print_ed_hunk
	.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
	leaq	-72(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	leaq	-48(%rbp), %r8
	callq	_analyze_hunk
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_begin_output
	movq	_files@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	-72(%rbp), %rdx
	movq	-64(%rbp), %rcx
	movl	$44, %edi
	callq	_print_number_range
	movq	_outfile@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_change_letter@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	movl	(%rax,%rcx,4), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_OLD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_10
## %bb.2:
	movq	-56(%rbp), %rbx
	cmpq	-48(%rbp), %rbx
	jbe	LBB0_3
LBB0_9:
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	(,%rbx,8), %r14
	leaq	L_.str.2(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	%r14, %rsi
	movq	%r13, %rdi
	callq	_print_1_line
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	addq	$8, %r14
	cmpq	-48(%rbp), %rbx
	ja	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	8(%rax), %rsi
	movq	(%rsi,%r14), %rax
	cmpb	$46, (%rax)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$10, 1(%rax)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_files,8,3                      ## @files
	.comm	_outfile,4,2                    ## @outfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%c\n"

	.comm	_change_letter,8,3              ## @change_letter
	.comm	_OLD,4,2                        ## @OLD
L_.str.1:                               ## @.str.1
	.asciz	"..\n.\ns/.//\na\n"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	".\n"

	.no_dead_strip	_print_ed_hunk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_ed_hunk
_print_ed_hunk:                         ; @print_ed_hunk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	add	x1, sp, #40
	add	x2, sp, #32
	add	x3, sp, #24
	add	x4, sp, #16
	bl	_analyze_hunk
	cbz	w0, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_begin_output
Lloh0:
	adrp	x21, _files@GOTPAGE
Lloh1:
	ldr	x21, [x21, _files@GOTPAGEOFF]
	ldr	x1, [x21]
	ldp	x3, x2, [sp, #32]
	mov	w0, #44
	bl	_print_number_range
Lloh2:
	adrp	x22, _outfile@GOTPAGE
Lloh3:
	ldr	x22, [x22, _outfile@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh4:
	adrp	x8, _change_letter@GOTPAGE
Lloh5:
	ldr	x8, [x8, _change_letter@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	w8, [x8, w19, uxtw #2]
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
Lloh9:
	adrp	x8, _OLD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OLD@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w19, w8
	b.eq	LBB0_4
; %bb.2:
	ldp	x8, x23, [sp, #16]
	cmp	x23, x8
	b.ls	LBB0_5
LBB0_3:
	ldr	w0, [x22]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
LBB0_4:
	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
	add	sp, sp, #112
	ret
LBB0_5:
	lsl	x24, x23, #3
Lloh14:
	adrp	x19, l_.str.1@PAGE
Lloh15:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh16:
	adrp	x20, l_.str.2@PAGE
Lloh17:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	bl	_print_1_line
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	ldr	x8, [sp, #16]
	add	x24, x24, #8
	cmp	x23, x8
	b.hi	LBB0_3
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	add	x1, x8, x24
	ldr	x8, [x1]
	ldrb	w9, [x8]
	cmp	w9, #46
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x8, #1]
	cmp	w8, #10
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x22]
	mov	x1, x19
	bl	_fprintf
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_files,8,3                      ; @files
	.comm	_outfile,4,2                    ; @outfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%c\n"

	.comm	_change_letter,8,3              ; @change_letter
	.comm	_OLD,4,2                        ; @OLD
l_.str.1:                               ; @.str.1
	.asciz	"..\n.\ns/.//\na\n"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	".\n"

	.no_dead_strip	_print_ed_hunk
.subsections_via_symbols
