	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_userauth_info_req        ## -- Begin function input_userauth_info_req
	.p2align	4, 0x90
_input_userauth_info_req:               ## @input_userauth_info_req
	.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
	movq	%rdx, %r14
	movq	(%rdx), %rbx
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -80(%rbp)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug2
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_fatal
LBB0_2:
	movl	$1, (%rbx)
	leaq	-72(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_sshpkt_get_cstring
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.3:
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_sshpkt_get_cstring
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.4:
	leaq	-88(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_sshpkt_get_cstring
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.5:
	movq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	testq	%rax, %rax
	jle	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_logit
LBB0_7:
	movq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	testq	%rax, %rax
	jle	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_logit
LBB0_9:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_sshpkt_get_u32
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:
	movq	_SSH2_MSG_USERAUTH_INFO_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sshpkt_start
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_sshpkt_put_u32
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_13
LBB0_12:
	movq	-48(%rbp), %rdi
	callq	_free
	movq	-72(%rbp), %rdi
	callq	_free
	movq	-64(%rbp), %rdi
	callq	_free
	movq	-88(%rbp), %rdi
	callq	_free
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	-56(%rbp), %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug2
	cmpq	$0, -56(%rbp)
	jle	LBB0_21
## %bb.14:
	xorl	%r12d, %r12d
	leaq	-48(%rbp), %r15
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_sshpkt_get_cstring
	testl	%eax, %eax
	jne	LBB0_25
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r14, %rdi
	leaq	-80(%rbp), %rsi
	callq	_sshpkt_get_u8
	testl	%eax, %eax
	jne	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%esi, %esi
	cmpq	$0, -80(%rbp)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_RP_ECHO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-48(%rbp), %rdi
	callq	_read_passphrase
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_sshpkt_put_cstring
	testl	%eax, %eax
	jne	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r13, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_freezero
	movq	-48(%rbp), %rdi
	callq	_free
	movq	$0, -48(%rbp)
	incq	%r12
	cmpq	-56(%rbp), %r12
	jl	LBB0_15
LBB0_21:
	movq	%r14, %rdi
	callq	_sshpkt_get_end
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.22:
	movq	%r14, %rdi
	movl	$64, %esi
	callq	_sshpkt_add_padding
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.23:
	movq	%r14, %rdi
	callq	_sshpkt_send
LBB0_25:
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_26:
	movl	%eax, %ebx
	testq	%r13, %r13
	je	LBB0_12
## %bb.27:
	movq	%r13, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_freezero
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"input_userauth_info_req"

L_.str.1:                               ## @.str.1
	.asciz	"input_userauth_info_req: no authentication context"

L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.comm	_SSH2_MSG_USERAUTH_INFO_RESPONSE,4,2 ## @SSH2_MSG_USERAUTH_INFO_RESPONSE
L_.str.3:                               ## @.str.3
	.asciz	"input_userauth_info_req: num_prompts %d"

	.comm	_RP_ECHO,4,2                    ## @RP_ECHO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_userauth_info_req        ; -- Begin function input_userauth_info_req
	.p2align	2
_input_userauth_info_req:               ; @input_userauth_info_req
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x2
	ldr	x20, [x2]
	stp	xzr, xzr, [sp, #48]
	stp	xzr, xzr, [sp, #32]
	str	xzr, [sp, #24]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug2
	cbnz	x20, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_2:
	mov	w8, #1
	str	w8, [x20]
	add	x1, sp, #56
	mov	x0, x19
	mov	x2, #0
	bl	_sshpkt_get_cstring
	mov	x20, x0
	cbnz	w0, LBB0_12
; %bb.3:
	add	x1, sp, #48
	mov	x0, x19
	mov	x2, #0
	bl	_sshpkt_get_cstring
	mov	x20, x0
	cbnz	w0, LBB0_12
; %bb.4:
	add	x1, sp, #40
	mov	x0, x19
	mov	x2, #0
	bl	_sshpkt_get_cstring
	mov	x20, x0
	cbnz	w0, LBB0_12
; %bb.5:
	ldr	x20, [sp, #56]
	mov	x0, x20
	bl	_strlen
	cmp	x0, #1
	b.lt	LBB0_7
; %bb.6:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_logit
LBB0_7:
	ldr	x20, [sp, #48]
	mov	x0, x20
	bl	_strlen
	cmp	x0, #1
	b.lt	LBB0_9
; %bb.8:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_logit
LBB0_9:
	add	x1, sp, #16
	mov	x0, x19
	bl	_sshpkt_get_u32
	mov	x20, x0
	cbnz	w0, LBB0_12
; %bb.10:
Lloh8:
	adrp	x8, _SSH2_MSG_USERAUTH_INFO_RESPONSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SSH2_MSG_USERAUTH_INFO_RESPONSE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sshpkt_start
	mov	x20, x0
	cbnz	w0, LBB0_12
; %bb.11:
	ldr	x1, [sp, #16]
	mov	x0, x19
	bl	_sshpkt_put_u32
	mov	x20, x0
	cbz	w0, LBB0_13
LBB0_12:
	ldr	x0, [sp, #32]
	bl	_free
	ldr	x0, [sp, #56]
	bl	_free
	ldr	x0, [sp, #48]
	bl	_free
	ldr	x0, [sp, #40]
	bl	_free
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_13:
	ldr	x8, [sp, #16]
	str	x8, [sp]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_debug2
	ldr	x8, [sp, #16]
	cmp	x8, #1
	b.lt	LBB0_19
; %bb.14:
	mov	x22, #0
Lloh13:
	adrp	x23, _RP_ECHO@GOTPAGE
Lloh14:
	ldr	x23, [x23, _RP_ECHO@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #32
	mov	x0, x19
	mov	x2, #0
	bl	_sshpkt_get_cstring
	cbnz	w0, LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x1, sp, #24
	mov	x0, x19
	bl	_sshpkt_get_u8
	cbnz	w0, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldp	x8, x0, [sp, #24]
	ldr	w9, [x23]
	cmp	x8, #0
	csel	w1, wzr, w9, eq
	bl	_read_passphrase
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_sshpkt_put_cstring
	cbnz	w0, LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x21
	bl	_strlen
	mov	x1, x0
	mov	x0, x21
	bl	_freezero
	ldr	x0, [sp, #32]
	bl	_free
	str	xzr, [sp, #32]
	add	x22, x22, #1
	ldr	x8, [sp, #16]
	cmp	x22, x8
	b.lt	LBB0_15
LBB0_19:
	mov	x0, x19
	bl	_sshpkt_get_end
	mov	x20, x0
	cbnz	w0, LBB0_12
; %bb.20:
	mov	x0, x19
	mov	w1, #64
	bl	_sshpkt_add_padding
	mov	x20, x0
	cbnz	w0, LBB0_12
; %bb.21:
	mov	x0, x19
	bl	_sshpkt_send
LBB0_22:
	mov	x20, x0
	b	LBB0_12
LBB0_23:
	mov	x20, x0
	cbz	x21, LBB0_12
; %bb.24:
	mov	x0, x21
	bl	_strlen
	mov	x1, x0
	mov	x0, x21
	bl	_freezero
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"input_userauth_info_req"

l_.str.1:                               ; @.str.1
	.asciz	"input_userauth_info_req: no authentication context"

l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.comm	_SSH2_MSG_USERAUTH_INFO_RESPONSE,4,2 ; @SSH2_MSG_USERAUTH_INFO_RESPONSE
l_.str.3:                               ; @.str.3
	.asciz	"input_userauth_info_req: num_prompts %d"

	.comm	_RP_ECHO,4,2                    ; @RP_ECHO
.subsections_via_symbols
