	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_identity
_load_identity:                         ## @load_identity
	.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
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_sshkey_load_private
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movq	_SSH_ERR_KEY_WRONG_PASSPHRASE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %edi
	callq	_ssh_err
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_fatal
LBB0_3:
	movq	_identity_passphrase@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_xstrdup
	jmp	LBB0_6
LBB0_5:
	movq	_RP_ALLOW_STDIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_read_passphrase
LBB0_6:
	movq	%rax, %rbx
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_sshkey_load_private
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_explicit_bzero
	movq	%rbx, %rdi
	callq	_free
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.7:
	movl	%r15d, %edi
	callq	_ssh_err
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_fatal
LBB0_8:
	movq	-32(%rbp), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_SSH_ERR_KEY_WRONG_PASSPHRASE,4,2 ## @SSH_ERR_KEY_WRONG_PASSPHRASE
L_.str.1:                               ## @.str.1
	.asciz	"Load key \"%s\": %s"

	.comm	_identity_passphrase,8,3        ## @identity_passphrase
L_.str.2:                               ## @.str.2
	.asciz	"Enter passphrase: "

	.comm	_RP_ALLOW_STDIN,4,2             ## @RP_ALLOW_STDIN
	.no_dead_strip	_load_identity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_identity
_load_identity:                         ; @load_identity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x3, #0
	bl	_sshkey_load_private
	cbz	w0, LBB0_8
; %bb.1:
Lloh2:
	adrp	x8, _SSH_ERR_KEY_WRONG_PASSPHRASE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SSH_ERR_KEY_WRONG_PASSPHRASE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_3
; %bb.2:
	bl	_ssh_err
	mov	x2, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_fatal
LBB0_3:
Lloh7:
	adrp	x8, _identity_passphrase@GOTPAGE
Lloh8:
	ldr	x8, [x8, _identity_passphrase@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_xstrdup
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _RP_ALLOW_STDIN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RP_ALLOW_STDIN@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_read_passphrase
LBB0_6:
	mov	x20, x0
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_sshkey_load_private
	mov	x21, x0
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
	mov	x0, x20
	bl	_explicit_bzero
	mov	x0, x20
	bl	_free
	cbz	w21, LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_ssh_err
	mov	x2, x0
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_fatal
LBB0_8:
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_SSH_ERR_KEY_WRONG_PASSPHRASE,4,2 ; @SSH_ERR_KEY_WRONG_PASSPHRASE
l_.str.1:                               ; @.str.1
	.asciz	"Load key \"%s\": %s"

	.comm	_identity_passphrase,8,3        ; @identity_passphrase
l_.str.2:                               ; @.str.2
	.asciz	"Enter passphrase: "

	.comm	_RP_ALLOW_STDIN,4,2             ; @RP_ALLOW_STDIN
	.no_dead_strip	_load_identity
.subsections_via_symbols
