	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PasswordPrompt                 ## -- Begin function PasswordPrompt
	.p2align	4, 0x90
_PasswordPrompt:                        ## @PasswordPrompt
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	cmpl	$1, %r13d
	jle	LBB0_2
## %bb.4:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, %esi
	callq	_Zero
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_SetConsoleRaw
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_stdin@GOTPCREL(%rip), %rbx
	leaq	LJTI0_0(%rip), %r15
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	leal	1(%r14), %r12d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=2
	cmpl	%r13d, %r12d
	jl	LBB0_8
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %edi
	callq	_getc
                                        ## kill: def $eax killed $eax def $rax
	leal	-32(%rax), %ecx
	cmpl	$94, %ecx
	jbe	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	leal	-3(%rax), %ecx
	cmpl	$23, %ecx
	ja	LBB0_10
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=2
	movslq	(%r15,%rcx,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=2
	testl	%r14d, %r14d
	jle	LBB0_6
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	cmpl	$224, %eax
	jne	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	(%rbx), %edi
	callq	_getc
	cmpl	$83, %eax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=2
	cmpl	$75, %eax
	je	LBB0_13
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movslq	%r14d, %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movb	%al, (%rdx,%rcx)
	movl	$42, %edi
	movq	_stdout@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	decl	%r14d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%rax,%r14)
	movq	_stdout@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	$8, %edi
	callq	_putc
	movl	(%r12), %esi
	movl	$32, %edi
	callq	_putc
	movq	%r12, %rax
	movl	$8, %edi
	movl	%r14d, %r12d
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rax), %esi
	callq	_putc
	movl	%r12d, %r14d
	jmp	LBB0_5
LBB0_2:
	xorl	%r12d, %r12d
	testl	%r13d, %r13d
	jle	LBB0_21
## %bb.3:
	movb	$0, (%rdi)
	jmp	LBB0_21
LBB0_18:
	xorl	%r12d, %r12d
	jmp	LBB0_20
LBB0_19:
	movl	$1, %r12d
LBB0_20:
	leaq	L_.str(%rip), %rdi
	callq	_Print
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_RestoreConsole
LBB0_21:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_13
	.long	L0_0_set_6
	.long	L0_0_set_19
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_19
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_stdin,4,2                      ## @stdin
	.comm	_stdout,4,2                     ## @stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PasswordPrompt                 ; -- Begin function PasswordPrompt
	.p2align	2
_PasswordPrompt:                        ; @PasswordPrompt
	.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
	mov	x20, x1
	mov	x19, x0
	cbz	x0, LBB0_15
; %bb.1:
	cmp	w20, #1
	b.le	LBB0_15
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_Zero
	bl	_SetConsoleRaw
	mov	x21, x0
	mov	w22, #0
Lloh0:
	adrp	x23, _stdin@GOTPAGE
Lloh1:
	ldr	x23, [x23, _stdin@GOTPAGEOFF]
Lloh2:
	adrp	x24, _stdout@GOTPAGE
Lloh3:
	ldr	x24, [x24, _stdout@GOTPAGEOFF]
Lloh4:
	adrp	x25, lJTI0_0@PAGE
Lloh5:
	add	x25, x25, lJTI0_0@PAGEOFF
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	add	w26, w22, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	cmp	w26, w20
	b.lt	LBB0_12
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x23]
	bl	_getc
	sub	w8, w0, #32
	cmp	w8, #94
	b.ls	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	sub	w8, w0, #3
	cmp	w8, #23
	b.hi	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	adr	x9, LBB0_5
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=2
	subs	w27, w22, #1
	b.lt	LBB0_5
	b	LBB0_13
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=2
	cmp	w0, #224
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=2
	ldr	w0, [x23]
	bl	_getc
	cmp	w0, #83
	b.eq	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=2
	cmp	w0, #75
	b.eq	LBB0_8
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	w0, [x19, w22, sxtw]
	mov	w22, #42
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	wzr, [x19, w27, uxtw]
	ldr	w1, [x24]
	mov	w22, #8
	mov	w0, #8
	bl	_putc
	ldr	w1, [x24]
	mov	w0, #32
	bl	_putc
	mov	x26, x27
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x24]
	mov	x0, x22
	bl	_putc
	mov	x22, x26
	b	LBB0_3
LBB0_15:
	cmp	w20, #1
	b.lt	LBB0_20
; %bb.16:
	mov	w20, #0
	strb	wzr, [x19]
	b	LBB0_21
LBB0_17:
	mov	w20, #0
	b	LBB0_19
LBB0_18:
	mov	w20, #1
LBB0_19:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Print
	mov	x0, x21
	bl	_RestoreConsole
	b	LBB0_21
LBB0_20:
	mov	w20, #0
LBB0_21:
	mov	x0, x20
	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_22:
	mov	w0, #0
	bl	_exit
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_22-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_18-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_18-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
                                        ; -- End function
	.comm	_stdin,4,2                      ; @stdin
	.comm	_stdout,4,2                     ; @stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

.subsections_via_symbols
