	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function back_lines
_back_lines:                            ## @back_lines
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_begin_reached@GOTPCREL(%rip), %r8
	movl	$0, (%r8)
	testl	%edi, %edi
	jle	LBB0_12
## %bb.1:
	movq	_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_page@GOTPCREL(%rip), %r11
	movq	(%r11), %rdx
	movq	_end_reached@GOTPCREL(%rip), %r9
	movq	(%r9), %r10
	xorl	%eax, %eax
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	cmpb	$0, (%rdx)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r10, %r10
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, (%r9)
	xorl	%r10d, %r10d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rcx, %rdx
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-1(%rdx), %rsi
	movq	%rsi, (%r11)
	addq	$-2, %rdx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	1(%rdx), %rsi
	cmpq	%rcx, %rsi
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	%rdx, (%r11)
	leaq	-1(%rdx), %rsi
	cmpb	$10, (%rdx)
	movq	%rsi, %rdx
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$2, %rsi
	movq	%rsi, (%r11)
	movq	%rsi, %rdx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%eax
	cmpl	%edi, %eax
	jne	LBB0_2
	jmp	LBB0_12
LBB0_11:
	movl	$1, (%r8)
LBB0_12:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_begin_reached,4,2              ## @begin_reached
	.comm	_page,8,3                       ## @page
	.comm	_end_reached,8,3                ## @end_reached
	.comm	_buf,8,3                        ## @buf
	.no_dead_strip	_back_lines
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function back_lines
_back_lines:                            ; @back_lines
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _begin_reached@GOTPAGE
Lloh1:
	ldr	x8, [x8, _begin_reached@GOTPAGEOFF]
	str	wzr, [x8]
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.1:
	mov	w9, #0
Lloh2:
	adrp	x10, _buf@GOTPAGE
Lloh3:
	ldr	x10, [x10, _buf@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
Lloh5:
	adrp	x11, _page@GOTPAGE
Lloh6:
	ldr	x11, [x11, _page@GOTPAGEOFF]
	ldr	x14, [x11]
Lloh7:
	adrp	x12, _end_reached@GOTPAGE
Lloh8:
	ldr	x12, [x12, _end_reached@GOTPAGEOFF]
	ldr	x13, [x12]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldrb	w15, [x14]
	cmp	w15, #0
	ccmp	x13, #0, #4, eq
	b.ne	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x14, x10
	b.eq	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x15, x14, #1
	str	x15, [x11]
	sub	x14, x14, #2
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x15, x14, #1
	cmp	x15, x10
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	str	x14, [x11]
	ldrb	w15, [x14], #-1
	cmp	w15, #10
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x14, x14, #2
	str	x14, [x11]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x13, #0
	str	xzr, [x12]
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w9, w9, #1
	cmp	w9, w0
	b.ne	LBB0_2
	b	LBB0_11
LBB0_10:
	mov	w9, #1
	str	w9, [x8]
LBB0_11:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_begin_reached,4,2              ; @begin_reached
	.comm	_page,8,3                       ; @page
	.comm	_end_reached,8,3                ; @end_reached
	.comm	_buf,8,3                        ; @buf
	.no_dead_strip	_back_lines
.subsections_via_symbols
