	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phpdbg_output_pager
_phpdbg_output_pager:                   ## @phpdbg_output_pager
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	movl	$10, %esi
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %r14
	movl	%r15d, -76(%rbp)                ## 4-byte Spill
	movslq	%r15d, %rax
	addq	%r12, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	$1, %eax
	movq	_lines@GOTPCREL(%rip), %r13
	xorl	%ecx, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r15d
	subl	%r14d, %r15d
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movl	$10, %esi
	movl	%r15d, %edx
	callq	_memchr
	movq	%rax, %r14
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leal	1(%rbx), %eax
	testq	%r14, %r14
	je	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ebx
	incq	%r14
	movl	(%r13), %edi
	callq	_PHPDBG_G
	movl	%eax, %ecx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	-64(%rbp), %rbx                 ## 4-byte Folded Reload
	leaq	(%r12,%rbx), %rsi
	movl	%r14d, %edx
	subl	%ebx, %edx
	subl	%r12d, %edx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_write
	addl	%ebx, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r15d
	subl	%r14d, %r15d
	movq	%r14, %rdi
	movl	$10, %esi
	movl	%r15d, %edx
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movq	%rsp, %rbx
	movq	_PHPDBG_MAX_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leaq	L_.str(%rip), %rdi
	callq	_ZEND_STRL
	movslq	%eax, %rsi
	movl	%r13d, %edi
	xorl	%eax, %eax
	callq	_zend_quiet_write
	movq	%r12, %rdi
	callq	_phpdbg_consume_stdin_line
	cmpb	$113, (%r12)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r13d, %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_zend_quiet_write
	movq	%rbx, %rsp
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	_lines@GOTPCREL(%rip), %r13
	jmp	LBB0_3
LBB0_9:
	movq	%rbx, %rsp
	movq	-88(%rbp), %r12                 ## 8-byte Reload
LBB0_10:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_11:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	testl	%r14d, %r14d
	movl	-76(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_14
## %bb.12:
	movq	_lines@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PHPDBG_G
	movl	%eax, %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	je	LBB0_15
## %bb.13:
	movslq	%r14d, %rax
	addq	%rax, %r12
	subl	%r14d, %r15d
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_write
	addl	%r14d, %eax
	movl	%eax, %r14d
	jmp	LBB0_15
LBB0_14:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_write
	movq	%rax, %r14
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_lines,4,2                      ## @lines
	.comm	_PHPDBG_MAX_CMD,4,2             ## @PHPDBG_MAX_CMD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\r---Type <return> to continue or q <return> to quit---"

L_.str.1:                               ## @.str.1
	.asciz	"\r"

	.no_dead_strip	_phpdbg_output_pager
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phpdbg_output_pager
_phpdbg_output_pager:                   ; @phpdbg_output_pager
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	x0, x1
	mov	w1, #10
	bl	_memchr
	cbz	x0, LBB0_12
; %bb.1:
	mov	w19, #0
	stur	w20, [x29, #-92]                ; 4-byte Folded Spill
	add	x23, x22, w20, sxtw
Lloh3:
	adrp	x28, _lines@GOTPAGE
Lloh4:
	ldr	x28, [x28, _lines@GOTPAGEOFF]
	mov	w8, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w26, w23, w25
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	mov	w1, #10
	mov	x2, x26
	bl	_memchr
	add	w8, w24, #1
	cbz	x0, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, x8
	add	x25, x0, #1
	ldr	w0, [x28]
	bl	_PHPDBG_G
	sdiv	w8, w24, w0
	msub	w8, w8, w0, w24
	cbnz	w8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x22, w19, sxtw
	add	w8, w19, w22
	sub	w2, w25, w8
	mov	x0, x21
	bl	_write
	add	w19, w19, w0
	sub	w26, w23, w25
	mov	x0, x25
	mov	w1, #10
	mov	x2, x26
	bl	_memchr
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, sp
Lloh5:
	adrp	x8, _PHPDBG_MAX_CMD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PHPDBG_MAX_CMD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x27, x9, x8
	mov	sp, x27
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ZEND_STRL
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
	mov	x0, x21
	bl	_zend_quiet_write
	mov	x0, x27
	bl	_phpdbg_consume_stdin_line
	ldrb	w8, [x27]
	cmp	w8, #113
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	str	x8, [sp, #-16]!
	mov	x0, x21
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_zend_quiet_write
	add	sp, sp, #16
	mov	sp, x20
	b	LBB0_3
LBB0_8:
	mov	sp, x20
LBB0_9:
	ldur	w20, [x29, #-92]                ; 4-byte Folded Reload
	cbz	w19, LBB0_12
; %bb.10:
	ldr	w0, [x28]
	bl	_PHPDBG_G
	sdiv	w8, w24, w0
	msub	w8, w8, w0, w24
	cbz	w8, LBB0_13
; %bb.11:
	add	x1, x22, w19, sxtw
	sub	w2, w20, w19
	mov	x0, x21
	bl	_write
	add	w19, w19, w0
	b	LBB0_13
LBB0_12:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_write
	mov	x19, x0
LBB0_13:
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_lines,4,2                      ; @lines
	.comm	_PHPDBG_MAX_CMD,4,2             ; @PHPDBG_MAX_CMD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\r---Type <return> to continue or q <return> to quit---"

l_.str.1:                               ; @.str.1
	.asciz	"\r"

	.no_dead_strip	_phpdbg_output_pager
.subsections_via_symbols
