	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function auth2_challenge_start
_auth2_challenge_start:                 ## @auth2_challenge_start
	.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
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	8(%r15), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rsi
	cmovneq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_debug2
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_kbdint_next_device
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	8(%rbx), %rax
	movl	8(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_debug
	movq	8(%rbx), %rax
	movq	%r15, %rdi
	callq	*(%rax)
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%r14, %rdi
	callq	_send_userauth_info_request
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	_SSH2_MSG_USERAUTH_INFO_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_input_userauth_info_response@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	callq	_ssh_dispatch_set
	movl	$1, (%r15)
	jmp	LBB0_5
LBB0_1:
	movq	%r14, %rdi
	callq	_auth2_challenge_stop
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auth2_challenge_start: devices %s"

L_.str.1:                               ## @.str.1
	.asciz	"<empty>"

L_.str.2:                               ## @.str.2
	.asciz	"auth2_challenge_start: trying authentication method '%s'"

	.comm	_SSH2_MSG_USERAUTH_INFO_RESPONSE,4,2 ## @SSH2_MSG_USERAUTH_INFO_RESPONSE
	.comm	_input_userauth_info_response,4,2 ## @input_userauth_info_response
	.no_dead_strip	_auth2_challenge_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function auth2_challenge_start
_auth2_challenge_start:                 ; @auth2_challenge_start
	.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
	mov	x19, x0
	ldr	x20, [x0]
	ldr	x21, [x20, #8]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, l_.str.1@PAGE
Lloh1:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x1, x9, x8, eq
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug2
	mov	x0, x20
	mov	x1, x21
	bl	_kbdint_next_device
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x21, #8]
	ldr	w1, [x8, #8]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_debug
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	str	x0, [x21, #16]
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_send_userauth_info_request
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _SSH2_MSG_USERAUTH_INFO_RESPONSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSH2_MSG_USERAUTH_INFO_RESPONSE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, _input_userauth_info_response@GOTPAGE
Lloh10:
	ldr	x2, [x2, _input_userauth_info_response@GOTPAGEOFF]
	mov	x0, x19
	bl	_ssh_dispatch_set
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_auth2_challenge_stop
LBB0_5:
	mov	w0, #0
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auth2_challenge_start: devices %s"

l_.str.1:                               ; @.str.1
	.asciz	"<empty>"

l_.str.2:                               ; @.str.2
	.asciz	"auth2_challenge_start: trying authentication method '%s'"

	.comm	_SSH2_MSG_USERAUTH_INFO_RESPONSE,4,2 ; @SSH2_MSG_USERAUTH_INFO_RESPONSE
	.comm	_input_userauth_info_response,4,2 ; @input_userauth_info_response
	.no_dead_strip	_auth2_challenge_start
.subsections_via_symbols
