	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_till
_copy_till:                             ## @copy_till
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_last_frozen_line@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	cmpq	%rbx, %rdi
	jle	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_fatal
	movq	(%r15), %rdi
LBB0_2:
	cmpq	%rbx, %rdi
	jge	LBB0_9
## %bb.3:
	movq	_last_line_missing_eol@GOTPCREL(%rip), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %esi
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	callq	_dump_line
	movq	(%r15), %rdi
	cmpq	%rbx, %rdi
	jge	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rdi
	movq	%rdi, (%r15)
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rbx, %rdi
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%esi, %esi
	cmpl	$0, (%r12)
	sete	%sil
	movq	%rbx, %rdi
	jmp	LBB0_8
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_last_frozen_line,8,3           ## @last_frozen_line
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"misordered hunks! output would be garbled\n"

	.comm	_last_line_missing_eol,4,2      ## @last_line_missing_eol
	.no_dead_strip	_copy_till
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_till
_copy_till:                             ; @copy_till
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _last_frozen_line@GOTPAGE
Lloh1:
	ldr	x21, [x21, _last_frozen_line@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, x0
	b.le	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
	ldr	x8, [x21]
LBB0_2:
	cmp	x8, x20
	b.ge	LBB0_9
; %bb.3:
Lloh4:
	adrp	x22, _last_line_missing_eol@GOTPAGE
Lloh5:
	ldr	x22, [x22, _last_line_missing_eol@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w1, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_dump_line
	ldr	x8, [x21]
	cmp	x8, x20
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x8, #1
	str	x0, [x21]
	cbz	w19, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x0, x20
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x22]
	cmp	w8, #0
	cset	w1, eq
	mov	x0, x20
	b	LBB0_5
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_last_frozen_line,8,3           ; @last_frozen_line
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"misordered hunks! output would be garbled\n"

	.comm	_last_line_missing_eol,4,2      ; @last_line_missing_eol
	.no_dead_strip	_copy_till
.subsections_via_symbols
