	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sscr_matchprompt
_sscr_matchprompt:                      ## @sscr_matchprompt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	movq	(%rdi), %r8
	xorl	%eax, %eax
	cmpq	%rdx, %r8
	ja	LBB0_15
## %bb.1:
	testq	%r8, %r8
	je	LBB0_12
## %bb.2:
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.3:
	movq	8(%rdi), %rdi
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_7 Depth 2
	movb	(%rdi), %r9b
	testb	%r9b, %r9b
	je	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	(%rsi), %r9b
	jne	LBB0_15
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	decq	%rdx
	decq	%r8
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	incq	%rsi
	incq	%rdi
	testq	%rdx, %rdx
	jne	LBB0_4
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$1, %r8
	je	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movzbl	1(%rdi), %r9d
	incq	%rdi
	decq	%r8
	testb	%r9b, %r9b
	je	LBB0_5
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=2
	incq	%rsi
	decq	%rdx
	je	LBB0_15
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	%r9b, (%rsi)
	jne	LBB0_8
	jmp	LBB0_10
LBB0_12:
	testq	%r8, %r8
	je	LBB0_13
LBB0_15:
	popq	%rbp
	retq
LBB0_13:
	movl	$1, %eax
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.14:
	movq	%rdx, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sscr_matchprompt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sscr_matchprompt
_sscr_matchprompt:                      ; @sscr_matchprompt
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldr	x8, [x9]
	cmp	x8, x2
	b.hi	LBB0_3
; %bb.1:
	cmp	x8, #0
	ccmp	x2, #0, #4, ne
	b.ne	LBB0_4
LBB0_2:
	cbz	x8, LBB0_13
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	ldr	x9, [x9, #8]
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	ldrb	w10, [x9]
	cbz	w10, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w11, [x1]
	cmp	w10, w11
	b.ne	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	x2, x2, #1
	sub	x8, x8, #1
	cbz	x8, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, x1, #1
	add	x9, x9, #1
	cbnz	x2, LBB0_5
	b	LBB0_2
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	subs	x8, x8, #1
	b.eq	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldrb	w10, [x9, #1]!
	cbz	w10, LBB0_9
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x1, x1, #1
	subs	x2, x2, #1
	b.eq	LBB0_3
LBB0_12:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w11, [x1]
	cmp	w11, w10
	b.ne	LBB0_11
	b	LBB0_7
LBB0_13:
	cbz	x3, LBB0_15
; %bb.14:
	str	x2, [x3]
LBB0_15:
	mov	w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sscr_matchprompt
.subsections_via_symbols
