	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_connection_consume_login_prompt ## -- Begin function connection_consume_login_prompt
	.p2align	4, 0x90
_connection_consume_login_prompt:       ## @connection_consume_login_prompt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	movq	8(%rdi), %rdi
	testl	%esi, %esi
	js	LBB0_5
## %bb.1:
	movabsq	$4899916635097268224, %rcx      ## imm = 0x4400003800000000
	movq	%rsi, %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-1(%rax), %rdx
	testq	%rax, %rax
	movq	%rdx, %rax
	jle	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rax), %edx
	cmpq	$62, %rdx
	ja	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	btq	%rdx, %rcx
	jae	LBB0_4
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str(%rip), %rdx
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$4, %ecx
	callq	_util_memsearch
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.6:
	movq	8(%rbx), %rdi
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	$5, %ecx
	callq	_util_memsearch
                                        ## kill: def $eax killed $eax def $rax
LBB0_7:
	xorl	%ecx, %ecx
	cmpl	$-1, %eax
	cmovnel	%eax, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ogin"

L_.str.1:                               ## @.str.1
	.asciz	"enter"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_connection_consume_login_prompt ; -- Begin function connection_consume_login_prompt
	.p2align	2
_connection_consume_login_prompt:       ; @connection_consume_login_prompt
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w1, [x0]
	ldr	x8, [x0, #8]
	tbnz	w1, #31, LBB0_4
; %bb.1:
	mov	w9, #1
	mov	x10, #240518168576
	movk	x10, #17408, lsl #48
	mov	x0, x1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x8, x0]
	cmp	w11, #62
	lsl	x11, x9, x11
	and	x11, x11, x10
	ccmp	x11, #0, #4, ls
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x11, x0, #1
	cmp	x0, #0
	mov	x0, x11
	b.gt	LBB0_2
LBB0_4:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x8
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w3, #4
	bl	_util_memsearch
                                        ; kill: def $w0 killed $w0 def $x0
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:
	ldr	x0, [x19, #8]
	ldr	w1, [x19]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w3, #5
	bl	_util_memsearch
                                        ; kill: def $w0 killed $w0 def $x0
LBB0_6:
	cmn	w0, #1
	csel	w0, wzr, w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ogin"

l_.str.1:                               ; @.str.1
	.asciz	"enter"

.subsections_via_symbols
