	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_page
_print_page:                            ## @print_page
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r13d
	movq	%rdi, %r15
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	movq	%rcx, %r12
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	testl	%r13d, %r13d
	jle	LBB0_4
## %bb.2:
	movl	%r13d, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_get_line
	decl	%ebx
	jne	LBB0_3
LBB0_4:
	movq	_page@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r13d, %edi
	callq	_back_lines
	movq	_buf@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	movq	_page@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	subq	%rdi, %rsi
	subq	%rdi, %rbx
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%rbx, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	*%r12
LBB0_5:
	movq	_page_length@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	testl	%r13d, %r13d
	jle	LBB0_12
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_end_reached@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	cmovnel	%eax, %r12d
	incl	%ebx
	cmpl	%ebx, %r13d
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_print_line
	testl	%r12d, %r12d
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_page_length@GOTPCREL(%rip), %rax
	incq	(%rax)
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%r12d, %eax
	testl	%r12d, %r12d
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %eax
	jmp	LBB0_11
LBB0_12:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wnoutrefresh                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_page,8,3                       ## @page
	.comm	_buf,4,2                        ## @buf
	.comm	_page_length,8,3                ## @page_length
	.comm	_end_reached,8,3                ## @end_reached
	.no_dead_strip	_print_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_page
_print_page:                            ; @print_page
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	cbz	x3, LBB0_5
; %bb.1:
	mov	x23, x4
	mov	x22, x3
	cmp	w21, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x24, x21
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_get_line
	subs	w24, w24, #1
	b.ne	LBB0_3
LBB0_4:
Lloh0:
	adrp	x24, _page@GOTPAGE
Lloh1:
	ldr	x24, [x24, _page@GOTPAGEOFF]
	ldr	x25, [x24]
	mov	x0, x21
	bl	_back_lines
Lloh2:
	adrp	x8, _buf@GOTPAGE
Lloh3:
	ldr	x8, [x8, _buf@GOTPAGEOFF]
Lloh4:
	ldrsw	x0, [x8]
	ldr	x8, [x24]
	sub	x1, x8, x0
	sub	x2, x25, x0
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x3, x23
	blr	x22
LBB0_5:
Lloh5:
	adrp	x23, _page_length@GOTPAGE
Lloh6:
	ldr	x23, [x23, _page_length@GOTPAGEOFF]
	str	xzr, [x23]
	cmp	w21, #1
	b.lt	LBB0_10
; %bb.6:
	mov	w22, #0
	mov	w24, #0
Lloh7:
	adrp	x25, _end_reached@GOTPAGE
Lloh8:
	ldr	x25, [x25, _end_reached@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	cmp	w24, #0
	ldr	x8, [x25]
	ccmp	x8, #0, #4, eq
	csinc	w24, w24, wzr, eq
	add	w22, w22, #1
	cmp	w21, w22
	b.eq	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_print_line
	cbnz	w24, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x23]
	add	x8, x8, #1
	str	x8, [x23]
	b	LBB0_7
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_wnoutrefresh
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_page,8,3                       ; @page
	.comm	_buf,4,2                        ; @buf
	.comm	_page_length,8,3                ; @page_length
	.comm	_end_reached,8,3                ; @end_reached
	.no_dead_strip	_print_page
.subsections_via_symbols
