	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_identity_file
_load_identity_file:                    ## @load_identity_file
	.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	$344, %rsp                      ## imm = 0x158
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -360(%rbp)
	movl	$0, -364(%rbp)
	movq	(%rdi), %rdi
	leaq	-384(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	js	LBB0_25
## %bb.1:
	movq	(%r15), %rcx
	leaq	L_.str.1(%rip), %rdx
	leaq	-352(%rbp), %rdi
	movl	$300, %esi                      ## imm = 0x12C
	callq	_snprintf
	movq	_options@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	js	LBB0_27
## %bb.2:
	movl	$-1, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	L_.str.2(%rip), %r13
	cmpl	$-1, %r12d
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	-352(%rbp), %rdi
	xorl	%esi, %esi
	callq	_read_passphrase
	movq	%rax, %r13
	cmpb	$0, (%rax)
	je	LBB0_31
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_KEY_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rsi
	movq	%r13, %rdx
	leaq	-360(%rbp), %rcx
	leaq	-376(%rbp), %r8
	leaq	-364(%rbp), %r9
	callq	_sshkey_load_private_type
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$128, %eax
	je	LBB0_21
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$129, %eax
	jne	LBB0_23
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	$1, %bl
	cmpl	$0, 4(%r14)
	jne	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %r12d
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-360(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, 8(%r15)
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 24(%r15)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 16(%r15)
	jne	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rdi
	movq	-376(%rbp), %rdx
	movq	%r13, %rcx
	callq	_maybe_add_key_to_agent
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %r12d
	je	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_freezero
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-376(%rbp), %rdi
	callq	_free
	movq	-360(%rbp), %rax
	testq	%rax, %rax
	sete	%cl
	notb	%bl
	testb	%cl, %bl
	je	LBB0_32
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	%r12d
	cmpl	(%r14), %r12d
	jl	LBB0_3
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_ENOENT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rbx
	movq	(%r15), %r14
	movl	$128, %edi
	callq	_ssh_err
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %r14
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_debug2
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rbx
	movl	%eax, %edi
	callq	_ssh_err
	leaq	L_.str.5(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_error
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	$1, %bl
	cmpl	$-1, %r12d
	jne	LBB0_18
	jmp	LBB0_19
LBB0_25:
	cmpq	$0, 32(%r15)
	jne	LBB0_28
## %bb.26:
	movq	_debug3@GOTPCREL(%rip), %r14
	jmp	LBB0_29
LBB0_28:
	movq	_logit@GOTPCREL(%rip), %r14
LBB0_29:
	movq	(%r15), %rbx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	*%r14
LBB0_27:
	xorl	%eax, %eax
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_34
## %bb.33:
	addq	$344, %rsp                      ## imm = 0x158
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug2
	movq	%r13, %rdi
	callq	_free
	movq	-360(%rbp), %rax
	jmp	LBB0_32
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no such identity: %s: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"Enter passphrase for key '%.100s': "

	.comm	_options,8,2                    ## @options
L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"no passphrase given, try next key"

	.comm	_KEY_UNSPEC,4,2                 ## @KEY_UNSPEC
L_.str.4:                               ## @.str.4
	.asciz	"bad passphrase given, try again..."

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.5:                               ## @.str.5
	.asciz	"Load key \"%s\": %s"

	.no_dead_strip	_load_identity_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_identity_file
_load_identity_file:                    ; @load_identity_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #464
	.cfi_def_cfa_offset 464
	stp	x28, x27, [sp, #368]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #384]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #400]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #416]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #432]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #448]            ; 16-byte Folded Spill
	add	x29, sp, #448
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	str	xzr, [sp, #40]
	str	wzr, [sp, #28]
	ldr	x0, [x0]
	add	x1, sp, #24
	bl	_stat
	tbnz	x0, #63, LBB0_25
; %bb.1:
	ldr	x3, [x19]
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #52
	mov	w1, #300
	bl	_snprintf
Lloh5:
	adrp	x24, _options@GOTPAGE
Lloh6:
	ldr	x24, [x24, _options@GOTPAGEOFF]
	ldr	w8, [x24]
	tbnz	w8, #31, LBB0_26
; %bb.2:
	mov	w25, #-1
Lloh7:
	adrp	x26, l_.str.2@PAGE
Lloh8:
	add	x26, x26, l_.str.2@PAGEOFF
Lloh9:
	adrp	x27, _KEY_UNSPEC@GOTPAGE
Lloh10:
	ldr	x27, [x27, _KEY_UNSPEC@GOTPAGEOFF]
Lloh11:
	adrp	x28, _errno@GOTPAGE
Lloh12:
	ldr	x28, [x28, _errno@GOTPAGEOFF]
Lloh13:
	adrp	x21, _ENOENT@GOTPAGE
Lloh14:
	ldr	x21, [x21, _ENOENT@GOTPAGEOFF]
Lloh15:
	adrp	x20, l_.str.5@PAGE
Lloh16:
	add	x20, x20, l_.str.5@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmn	w25, #1
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #52
	mov	w1, #0
	bl	_read_passphrase
	mov	x22, x0
	ldrb	w8, [x0]
	cbnz	w8, LBB0_6
	b	LBB0_29
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x26
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x27]
	ldr	x1, [x19]
	add	x3, sp, #40
	add	x4, sp, #32
	add	x5, sp, #28
	mov	x2, x22
	bl	_sshkey_load_private_type
	cbz	w0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #128
	b.eq	LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #129
	b.ne	LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24, #4]
	cbnz	w8, LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	cmn	w25, #1
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_debug2
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #40]
	cbz	x1, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #8]
	cmn	w8, #1
	b.ne	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19]
	ldr	x2, [sp, #32]
	mov	x3, x22
	bl	_maybe_add_key_to_agent
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #0
	cmn	w25, #1
	b.ne	LBB0_22
	b	LBB0_23
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x28]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x19]
	mov	w0, #128
	bl	_ssh_err
	stp	x23, x0, [sp]
	mov	x0, x20
	bl	_debug2
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x19]
	bl	_ssh_err
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	bl	_error
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #1
	cmn	w25, #1
	b.eq	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_strlen
	mov	x1, x0
	mov	x0, x22
	bl	_freezero
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #32]
	bl	_free
	ldr	x0, [sp, #40]
	cmp	x0, #0
	cset	w8, eq
	bic	w8, w8, w23
	tbz	w8, #0, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	add	w25, w25, #1
	cmp	w25, w8
	b.lt	LBB0_3
	b	LBB0_26
LBB0_25:
	ldr	x8, [x19, #32]
Lloh19:
	adrp	x9, _logit@GOTPAGE
Lloh20:
	ldr	x9, [x9, _logit@GOTPAGEOFF]
Lloh21:
	adrp	x10, _debug3@GOTPAGE
Lloh22:
	ldr	x10, [x10, _debug3@GOTPAGEOFF]
	cmp	x8, #0
	csel	x20, x10, x9, eq
	ldr	x19, [x19]
Lloh23:
	adrp	x8, _errno@GOTPAGE
Lloh24:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh26:
	adrp	x0, l_.str@PAGE
Lloh27:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	blr	x20
LBB0_26:
	mov	x0, #0
LBB0_27:
	ldur	x8, [x29, #-96]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.28:
	ldp	x29, x30, [sp, #448]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #432]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #416]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #400]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #384]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #368]            ; 16-byte Folded Reload
	add	sp, sp, #464
	ret
LBB0_29:
Lloh31:
	adrp	x0, l_.str.3@PAGE
Lloh32:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_debug2
	mov	x0, x22
	bl	_free
	ldr	x0, [sp, #40]
	b	LBB0_27
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no such identity: %s: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"Enter passphrase for key '%.100s': "

	.comm	_options,8,2                    ; @options
l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"no passphrase given, try next key"

	.comm	_KEY_UNSPEC,4,2                 ; @KEY_UNSPEC
l_.str.4:                               ; @.str.4
	.asciz	"bad passphrase given, try again..."

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.5:                               ; @.str.5
	.asciz	"Load key \"%s\": %s"

	.no_dead_strip	_load_identity_file
.subsections_via_symbols
