	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p_count
_p_count:                               ## @p_count
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_MORE
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_DUPMAX@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_PEEK
	movl	%eax, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%r15), %r14d
	jg	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	(%r14,%r14,4), %r14d
	xorl	%eax, %eax
	callq	_GETNEXT
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r14,2), %r14d
	addl	$-48, %r14d
	incl	%ebx
	xorl	%eax, %eax
	callq	_MORE
	testq	%rax, %rax
	jne	LBB0_2
## %bb.5:
	movl	$1, %ebx
LBB0_6:
	testl	%ebx, %ebx
	setne	%al
	movq	_DUPMAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	setle	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	movq	_REG_BADBR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_REQUIRE
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DUPMAX,4,2                     ## @DUPMAX
	.comm	_REG_BADBR,4,2                  ## @REG_BADBR
	.no_dead_strip	_p_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p_count
_p_count:                               ; @p_count
	.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
	bl	_MORE
Lloh0:
	adrp	x20, _DUPMAX@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DUPMAX@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.1:
	mov	w21, #0
	mov	w19, #0
	mov	w22, #10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_PEEK
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_isdigit
	cbz	x0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
	cmp	w19, w8
	b.gt	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_GETNEXT
	madd	w8, w19, w22, w0
	sub	w19, w8, #48
	add	w21, w21, #1
	bl	_MORE
	cbnz	x0, LBB0_2
; %bb.5:
	mov	w21, #1
	b	LBB0_7
LBB0_6:
	mov	w19, #0
	mov	w21, #0
LBB0_7:
	cmp	w21, #0
	ldr	w8, [x20]
	ccmp	w19, w8, #0, ne
	cset	w0, le
Lloh2:
	adrp	x8, _REG_BADBR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REG_BADBR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_REQUIRE
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DUPMAX,4,2                     ; @DUPMAX
	.comm	_REG_BADBR,4,2                  ; @REG_BADBR
	.no_dead_strip	_p_count
.subsections_via_symbols
