	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_convert_from_ssh2
_do_convert_from_ssh2:                  ## @do_convert_from_ssh2
	.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
	pushq	%rax
	movl	$41528, %eax                    ## imm = 0xA238
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -41568(%rbp)              ## 8-byte Spill
	movq	%rsi, -41560(%rbp)              ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_identity_file@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	___progname@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rbx), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_fatal
LBB0_2:
	movb	$0, -41552(%rbp)
	leaq	-1072(%rbp), %rsi
	movq	%r13, %rdi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_get_line
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.3:
	xorl	%r15d, %r15d
	leaq	L_.str.2(%rip), %r12
	leaq	-1072(%rbp), %rbx
	leaq	L_.str.4(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_get_line
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$-1, %eax
	je	LBB0_14
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	decl	%eax
	xorl	%ecx, %ecx
	cmpb	$92, -1072(%rbp,%rax)
	sete	%cl
	addl	%ecx, %r15d
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_SSH_COM_PRIVATE_BEGIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-41568(%rbp), %rax              ## 8-byte Reload
	movl	$1, (%rax)
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%r15d, %r15d
	je	LBB0_27
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	decl	%r15d
	jmp	LBB0_13
LBB0_27:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	-41552(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$8096, %edx                     ## imm = 0x1FA0
	callq	_strlcat
	xorl	%r15d, %r15d
	jmp	LBB0_13
LBB0_14:
	leaq	-41552(%rbp), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	andl	$-2147483645, %ecx              ## imm = 0x80000003
	cmpl	$3, %ecx
	jne	LBB0_19
## %bb.15:
	leal	-1(%rax), %ecx
	cmpb	$61, -41552(%rbp,%rcx)
	jne	LBB0_19
## %bb.16:
	leal	-2(%rax), %ecx
	cmpb	$61, -41552(%rbp,%rcx)
	jne	LBB0_19
## %bb.17:
	addl	$-3, %eax
	cmpb	$61, -41552(%rbp,%rax)
	jne	LBB0_19
## %bb.18:
	movb	$0, -41552(%rbp,%rax)
LBB0_19:
	leaq	-41552(%rbp), %rdi
	leaq	-33456(%rbp), %rsi
	movl	$32384, %edx                    ## imm = 0x7E80
	callq	_uudecode
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_21
## %bb.20:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_21:
	movq	-41568(%rbp), %rax              ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_23
## %bb.22:
	leaq	-33456(%rbp), %rdi
	movl	%ebx, %esi
	callq	_do_convert_private_ssh2_from_blob
	movq	-41560(%rbp), %rcx              ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_25
LBB0_23:
	leaq	-33456(%rbp), %rdi
	movl	%ebx, %esi
	movq	-41560(%rbp), %rdx              ## 8-byte Reload
	callq	_sshkey_from_blob
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:
	movl	%eax, %edi
	callq	_ssh_err
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_fatal
LBB0_25:
	movq	%r13, %rdi
	callq	_fclose
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.26:
	addq	$41528, %rsp                    ## imm = 0xA238
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_identity_file,4,2              ## @identity_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

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

	.comm	___progname,4,2                 ## @__progname
	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"----"

L_.str.3:                               ## @.str.3
	.asciz	": "

	.comm	_SSH_COM_PRIVATE_BEGIN,8,3      ## @SSH_COM_PRIVATE_BEGIN
L_.str.4:                               ## @.str.4
	.asciz	" END "

L_.str.5:                               ## @.str.5
	.asciz	"uudecode failed."

L_.str.6:                               ## @.str.6
	.asciz	"decode blob failed: %s"

	.no_dead_strip	_do_convert_from_ssh2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_convert_from_ssh2
_do_convert_from_ssh2:                  ; @do_convert_from_ssh2
	.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	w9, #41552
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #10, lsl #12            ; =40960
	sub	sp, sp, #592
	mov	x21, x2
	mov	x20, x1
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh5:
	adrp	x22, _identity_file@GOTPAGE
Lloh6:
	ldr	x22, [x22, _identity_file@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, ___progname@GOTPAGE
Lloh10:
	ldr	x8, [x8, ___progname@GOTPAGEOFF]
Lloh11:
	adrp	x9, _errno@GOTPAGE
Lloh12:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x9]
Lloh14:
	ldr	w23, [x8]
	ldr	w22, [x22]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp, #8]
	str	x23, [sp]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_2:
	strb	wzr, [sp, #32]
	add	x25, sp, #9, lsl #12            ; =36864
	add	x25, x25, #3648
	add	x1, sp, #9, lsl #12             ; =36864
	add	x1, x1, #3648
	mov	x0, x19
	mov	w2, #1024
	bl	_get_line
	cmn	w0, #1
	b.eq	LBB0_15
; %bb.3:
	mov	w28, #0
Lloh17:
	adrp	x22, l_.str.2@PAGE
Lloh18:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh19:
	adrp	x26, _SSH_COM_PRIVATE_BEGIN@GOTPAGE
Lloh20:
	ldr	x26, [x26, _SSH_COM_PRIVATE_BEGIN@GOTPAGEOFF]
Lloh21:
	adrp	x23, l_.str.4@PAGE
Lloh22:
	add	x23, x23, l_.str.4@PAGEOFF
	mov	w27, #1
Lloh23:
	adrp	x24, l_.str.3@PAGE
Lloh24:
	add	x24, x24, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #9, lsl #12             ; =36864
	add	x0, x0, #3648
	mov	x1, x23
	bl	_strstr
	cbnz	x0, LBB0_15
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x1, sp, #9, lsl #12             ; =36864
	add	x1, x1, #3648
	mov	x0, x19
	mov	w2, #1024
	bl	_get_line
	cmn	w0, #1
	b.eq	LBB0_15
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	subs	w8, w0, #1
	b.lt	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x25, w8, uxtw]
	cmp	w8, #92
	cinc	w28, w28, eq
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #9, lsl #12             ; =36864
	add	x0, x0, #3648
	mov	x1, x22
	mov	w2, #4
	bl	_strncmp
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #9, lsl #12             ; =36864
	add	x0, x0, #3648
	mov	x1, x24
	bl	_strstr
	cbz	x0, LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [x26]
	add	x0, sp, #9, lsl #12             ; =36864
	add	x0, x0, #3648
	bl	_strstr
	cbz	x0, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	str	w27, [x21]
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w28, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	w28, w28, #1
	b	LBB0_5
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #32
	add	x1, sp, #9, lsl #12             ; =36864
	add	x1, x1, #3648
	mov	w2, #8096
	bl	_strlcat
	b	LBB0_5
LBB0_15:
	add	x22, sp, #32
	add	x0, sp, #32
	bl	_strlen
	and	w8, w0, #0x80000003
	cmp	w8, #3
	b.ne	LBB0_20
; %bb.16:
	sub	w8, w0, #1
	ldrb	w8, [x22, w8, uxtw]
	cmp	w8, #61
	b.ne	LBB0_20
; %bb.17:
	sub	w8, w0, #2
	add	x9, sp, #32
	ldrb	w8, [x9, w8, uxtw]
	cmp	w8, #61
	b.ne	LBB0_20
; %bb.18:
	sub	w8, w0, #3
	ldrb	w9, [x9, x8]
	cmp	w9, #61
	b.ne	LBB0_20
; %bb.19:
	add	x9, sp, #32
	strb	wzr, [x9, x8]
LBB0_20:
	add	x0, sp, #32
	add	x1, sp, #1, lsl #12             ; =4096
	add	x1, x1, #4032
	mov	w2, #32384
	bl	_uudecode
	mov	x22, x0
	tbnz	w0, #31, LBB0_23
; %bb.21:
	ldr	w8, [x21]
	cbz	w8, LBB0_24
LBB0_22:
	add	x0, sp, #1, lsl #12             ; =4096
	add	x0, x0, #4032
	mov	x1, x22
	bl	_do_convert_private_ssh2_from_blob
	str	x0, [x20]
	b	LBB0_26
LBB0_23:
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_fatal
	ldr	w8, [x21]
	cbnz	w8, LBB0_22
LBB0_24:
	add	x0, sp, #1, lsl #12             ; =4096
	add	x0, x0, #4032
	mov	x1, x22
	mov	x2, x20
	bl	_sshkey_from_blob
	cbz	w0, LBB0_26
; %bb.25:
	bl	_ssh_err
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh27:
	adrp	x0, l_.str.6@PAGE
Lloh28:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_fatal
LBB0_26:
	mov	x0, x19
	bl	_fclose
	ldur	x8, [x29, #-96]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	add	sp, sp, #10, lsl #12            ; =40960
	add	sp, sp, #592
	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_28:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh14
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_identity_file,4,2              ; @identity_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

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

	.comm	___progname,4,2                 ; @__progname
	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"----"

l_.str.3:                               ; @.str.3
	.asciz	": "

	.comm	_SSH_COM_PRIVATE_BEGIN,8,3      ; @SSH_COM_PRIVATE_BEGIN
l_.str.4:                               ; @.str.4
	.asciz	" END "

l_.str.5:                               ; @.str.5
	.asciz	"uudecode failed."

l_.str.6:                               ; @.str.6
	.asciz	"decode blob failed: %s"

	.no_dead_strip	_do_convert_from_ssh2
.subsections_via_symbols
